1 2014-08-04 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8 2014-08-04 Roland McGrath <roland@hack.frob.com>
10 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12 (__libc_vfork): Define function under this name.
13 (__vfork): Define as an alias.
14 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17 2014-08-04 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20 that was previously under [RESET_PID].
21 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23 2014-08-04 Andreas Schwab <schwab@suse.de>
25 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27 2014-08-03 Mike Frysinger <vapier@gentoo.org>
29 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32 2014-08-01 Roland McGrath <roland@hack.frob.com>
34 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36 2014-08-01 Richard Henderon <rth@redhat.com>
38 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40 typo in exact zero test.
41 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45 2014-08-01 Roland McGrath <roland@hack.frob.com>
47 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
48 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
49 * sysdeps/arm/sysdep.h: ... here.
50 [!__ASSEMBLER__]: Include <stdint.h>.
52 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
54 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
55 (HAVE_WCTYPE_H): Likewise.
56 (HAVE_ISWCTYPE): Likewise.
57 (ENABLE_NLS): Likewise.
58 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
59 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
61 * posix/regex_internal.c: Check if DEBUG is defined and is
64 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
65 (HAVE_MBSRTOWCS): Likewise.
66 * posix/fnmatch.c: Include string.h unconditionally.
68 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
70 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
73 2014-07-31 Roland McGrath <roland@hack.frob.com>
75 * sysdeps/generic/safe-fatal.h: New file.
76 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
77 * nptl/forward.c: Include it.
78 (__pthread_unwind): Use __safe_fatal as default action, rather
79 than a bogus use of INTERNAL_SYSCALL that could never work.
81 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
82 * configure.ac (libc_cv_builtin_trap): New test.
83 * configure: Regenerated.
84 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
85 (ABORT_INSTRUCTION): Define using __builtin_trap.
87 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
88 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
89 * sysdeps/nptl/nptl-signals.h: New file.
90 * nptl/pthreadP.h: Include <nptl-signals.h>.
92 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
94 * sysdeps/s390/s390-64/utf16-utf32-z9.c
95 (ONE_DIRECTION): Define.
96 * sysdeps/s390/s390-64/utf8-utf16-z9.c
97 (ONE_DIRECTION): Define.
98 * sysdeps/s390/s390-64/utf8-utf32-z9.c
99 (ONE_DIRECTION): Define.
101 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
103 * sysdeps/s390/Makefile: Delete file.
104 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
105 * sysdeps/s390/__longjmp.c: Delete file.
106 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
107 Remove fields __flags and __reserved.
108 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
110 * sysdeps/s390/rtld-__longjmp.c: Delete file.
111 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
112 * sysdeps/s390/rtld-setjmp.S: Likewise.
113 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
114 * sysdeps/s390/s390-32/__longjmp.c: ... here.
115 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
116 * sysdeps/s390/s390-32/setjmp.S: ... here.
118 (__sigsetjmp): Remove setting __flags field.
119 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
120 * sysdeps/s390/s390-64/__longjmp.c: ... here.
121 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
122 * sysdeps/s390/s390-64/setjmp.S: ... here.
124 (__sigsetjmp): Remove setting __flags field.
125 * sysdeps/s390/setjmp.S: Delete file.
126 * sysdeps/s390/sigjmp.c: Likewise.
127 * sysdeps/s390/v1-longjmp.c: Likewise.
128 * sysdeps/s390/v1-setjmp.h: Likewise.
129 * sysdeps/s390/v1-sigjmp.c: Likewise.
130 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
131 Remove v1-longjmp_chk.
132 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
133 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
134 Include debug/longjmp_chk.c and add versioning.
135 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
136 Include nptl/pt-longjmp.c and add versioning.
137 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
138 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
140 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
143 (__getcontext): Remove setting __flags field.
145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
146 Don't restore upper high grps.
147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
149 (__swapcontext): Remove setting uc_flags field.
150 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
152 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
156 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
157 (__getcontext): Remove setting __flags field.
159 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
160 (__swapcontext): Remove setting uc_flags field.
161 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
163 Remove fields uc_high_gprs and __reserved.
164 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
165 New file with reverted content.
166 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
167 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
172 2014-07-31 Andreas Schwab <schwab@suse.de>
174 * config.h.in (HAVE_IFUNC): Define to 0.
175 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
178 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
181 memmove-avx-unaligned, memcpy-avx-unaligned and
182 mempcpy-avx-unaligned.
183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
184 Add tests for AVX memcpy functions.
185 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
186 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
188 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
189 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
191 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
192 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
194 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
195 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
196 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
198 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
204 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
207 * manual/llio.texi: Add section about open file description locks.
208 * manual/examples/ofdlocks.c: Example of open file description
210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
211 F_OFD_SETLK, and F_OFD_SETLKW.
213 2014-07-23 Allan McRae <allan@archlinux.org>
215 * po/es.po: Update Spanish translation from translation project.
217 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
219 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
221 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
224 * sysdeps/arm/dl-machine.h (elf_machine_rela)
225 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
226 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
228 2014-07-17 Joseph Myers <joseph@codesourcery.com>
231 * math/fesetenv.c (__fesetenv)
232 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
233 * math/feupdateenv.c (__feupdateenv)
234 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
236 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
237 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
238 (__ASSUME_SOCKETCALL): Do not define.
240 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
241 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
242 (__ASSUME_SOCKETCALL): Do not define.
243 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
244 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
245 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
246 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
247 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
248 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
249 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
250 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
252 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
253 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
254 (__ASSUME_SOCKETCALL): Do not define.
255 (__ASSUME_IPC64): Define unconditionally.
256 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
257 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
258 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
259 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
260 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
262 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
265 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
266 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
267 (__ASSUME_SOCKETCALL): Do not define.
268 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
269 (__ASSUME_FUTEX_LOCK_PI): Likewise.
270 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
272 (__ASSUME_REQUEUE_PI): Define unconditionally.
273 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
274 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
275 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
276 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
277 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
278 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
280 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
281 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
282 (__ASSUME_SOCKETCALL): Do not define.
283 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
284 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
285 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
286 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
287 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
288 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
291 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
292 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
293 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
294 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
295 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
296 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
297 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
298 (__ASSUME_GETCPU_SYSCALL): Likewise.
300 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
301 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
302 cases for individual architectures.
303 * sysdeps/gnu/configure: Regenerated.
304 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
305 LIBC_SLIBDIR_RTLDDIR.
306 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
307 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
308 LIBC_SLIBDIR_RTLDDIR.
309 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
311 LIBC_SLIBDIR_RTLDDIR.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
314 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
315 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
317 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
318 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
320 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
321 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
322 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
325 * sysdeps/aarch64/shlib-versions: Move to ...
326 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
327 * sysdeps/alpha/shlib-versions: Move to ...
328 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
329 * sysdeps/arm/shlib-versions: Move to ...
330 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
331 * sysdeps/hppa/shlib-versions: Move all contents except for
332 libgcc_s entry to ...
333 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
335 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
336 * sysdeps/ia64/shlib-versions: Move to ...
337 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
339 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
340 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
341 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
342 * sysdeps/microblaze/shlib-versions: Move to ...
343 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
344 * sysdeps/mips/shlib-versions: Move to ...
345 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
347 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
348 * sysdeps/tile/shlib-versions: Move to ...
349 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
352 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
353 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
355 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
357 2014-07-17 Will Newton <will.newton@linaro.org>
359 * sysdeps/arm/bits/atomic.h
360 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
361 (__arch_compare_and_exchange_bool_16_int): Likewise.
362 (__arch_compare_and_exchange_bool_64_int): Likewise.
364 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
367 2014-07-16 Roland McGrath <roland@hack.frob.com>
369 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
370 just Linux configurations. Test empirically that the compiler sets
371 __ARM_EABI__, rather than using the tuple to decide.
372 * sysdeps/arm/preconfigure: Regenerated.
373 * sysdeps/unix/sysv/linux/arm/configure: File removed.
374 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
375 contents appended ...
376 * sysdeps/arm/configure.ac: ... here.
377 * sysdeps/arm/configure: Regenerated.
379 2014-07-15 Roland McGrath <roland@hack.frob.com>
381 * nptl/pthread_kill.c: New file.
382 * nptl/pthread_sigmask.c: New file.
383 * nptl/pthread_sigqueue.c: New file.
385 * sysdeps/nptl/lowlevellock.h: New file.
386 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
387 * sysdeps/nptl/lowlevellock-futex.h: New file.
389 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
390 Remove dead declarations.
392 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
394 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
395 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
397 * sysdeps/x86_64/configure.ac: Likewise.
398 * sysdeps/i386/configure: Regenerated.
399 * sysdeps/x86_64/configure: Likewise.
400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
401 memset-avx2 only if config-cflags-avx2 is yes.
402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
403 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
405 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
406 only if HAVE_AVX2_SUPPORT is defined.
407 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
409 2014-07-14 Alan Modra <amodra@gmail.com>
412 * elf/elf.h (DT_PPC64_NUM): Correct value.
413 * NEWS: Add to fixed bug list.
415 2014-07-13 Jim Meyering <meyering@fb.com>
418 regex: don't deref NULL upon heap allocation failure
419 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
420 failure in one more place.
421 To trigger the segfault, configure grep -with-included-regex,
422 build it, and run these commands:
423 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
425 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
427 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
429 2014-07-11 Richard Henderson <rth@redhat.com>
431 * sysdeps/aarch64/libm-test-ulps: Update.
433 2014-07-10 Florian Weimer <fweimer@redhat.com>
436 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
437 * nptl/allocatestack.c (__nptl_setxid_error): New function.
438 (__nptl_setxid): Initialize error member. Call
440 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
441 * nptl/descr.h (struct xid_command): Add error member.
442 * nptl/tst-setuid3.c: New file.
443 * nptl/Makefile (tests): Add it.
445 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
449 (__lll_trylock): Use __lll_base_trylock.
450 (__lll_cond_trylock): Likewise.
452 2014-07-10 Roland McGrath <roland@hack.frob.com>
454 * nptl/pthread_create.c (start_thread): Use atomic_or and
455 lll_futex_wake directly rather than lll_robust_dead.
456 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
457 (lll_robust_dead): Macro removed.
458 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
459 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
460 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
461 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
462 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
463 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
464 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
465 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
466 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
468 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
469 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
470 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
471 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
474 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
475 Use atomic_compare_and_exchange_val_acq directly rather than
477 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
478 (__lll_robust_trylock, lll_robust_trylock): Removed.
479 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
480 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
481 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
483 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
484 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
485 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
486 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
488 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
489 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
490 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
491 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
494 2014-07-02 Florian Weimer <fweimer@redhat.com>
496 * manual/locale.texi (Locale Names): New section documenting
497 locale name syntax. Adjust menu and node chaining accordingly.
498 (Choosing Locale): Reference Locale Names, Locale Categories.
499 Mention setting LC_ALL=C. Reflect that name syntax is now
501 (Locale Categories): New section title. Reference Locale Names.
502 LC_ALL is an environment variable, but not a category.
503 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
504 description, now in Locale Name. Reference that section. Locale
505 name syntax is now documented.
507 2014-07-02 Florian Weimer <fweimer@redhat.com>
510 * locale/findlocale.c (name_present, valid_locale_name): New
512 (_nl_find_locale): Use the loc_name variable to store name
513 candidates. Call name_present and valid_locale_name to check and
514 validate locale names. Return an error if the locale is invalid.
516 2014-07-02 Florian Weimer <fweimer@redhat.com>
518 * locale/setlocale.c (setlocale): Use strdup for allocating
521 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
524 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
525 [!_LIBC && ENABLE_NLS]: Include gettext.h.
526 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
528 [USE_UNLOCKED_IO]: Include unlocked-io.h.
529 [!_LIBC]: Include code for Windows and Cygwin.
530 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
531 Include prototype for int strerror_r.
532 [!_LIBC] (is_open): New function.
533 (flush_stdout): New function.
534 (print_errno_message): Use it.
536 (error_at_line): Likewise.
537 (error_tail) Add function attribute macros. Use
540 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
542 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
544 * io/ftw.c: Include sys/param.h unconditionally.
546 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
549 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
551 (freecache): New function to free CACHE on exit.
553 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
556 2014-07-09 David S. Miller <davem@davemloft.net>
558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
560 * sysdeps/sparc/nptl/internaltypes.h: Delete.
561 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
562 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
563 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
564 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
565 * sysdeps/sparc/nptl/sem_init.c: Likewise.
566 * sysdeps/sparc/nptl/sem_post.c: Likewise.
567 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
568 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
569 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
570 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
571 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
572 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
574 2014-07-09 Andreas Schwab <schwab@suse.de>
576 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
578 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
581 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
583 2014-07-09 Will Newton <will.newton@linaro.org>
585 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
586 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
587 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
588 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
589 * sysdeps/hppa/start.S (_start): Likewise.
591 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
593 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
595 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
598 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
600 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
601 after checking that it is non-NULL.
603 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
605 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
607 * sysdeps/powerpc/memmove.c: Remove file.
608 * sysdeps/powerpc/powerpc32/power4/memcopy.h
609 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
610 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
611 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
613 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
614 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
615 string memmove instead of removed powerpc one.
617 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
618 [weak_alias]: Fix compiler warning due trailing data.
619 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
620 [weak_alias]: Likewise.
621 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
622 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
625 (__libc_ifunc_impl_list): Add memmove functions.
627 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
629 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
631 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
633 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
635 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
637 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
639 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
641 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
643 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
645 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
647 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
649 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
651 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
653 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
655 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
657 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
659 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
661 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
664 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
667 to avoid alignment traps in non-cacheable memory.
668 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
672 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
673 file: multiarch power7 memmove.
674 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
675 multiarch default memmove.
676 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
677 multiarch memove for powerpc32/power4.
679 * string/bcopy.c: Use full path to include memmove.c.
680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
682 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
684 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
687 and memmove implementations.
688 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
689 optimized multiarch memmove for POWER7/powerpc64.
690 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
691 default multiarch memmove for powerpc64.
692 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
693 multiarch for powerpc64.
694 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
695 for POWER7/powerpc64.
696 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
697 memmove for POWER7/powerpc64.
699 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
702 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
703 __ELF_NATIVE_CLASS equal to 64.
705 2014-07-07 Roland McGrath <roland@hack.frob.com>
707 * sysdeps/nptl/lowlevellock.h: File removed.
709 * NEWS: NPTL is no longer an add-on!
710 * nptl/internaltypes.h: Moved ...
711 * sysdeps/nptl/internaltypes.h: ... here.
712 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
713 * sysdeps/nptl/fork.c: Likewise.
714 * sysdeps/nptl/gai_misc.h: Likewise.
715 * sysdeps/nptl/librt-cancellation.c: Likewise.
716 * sysdeps/nptl/jmp-unwind.c: Likewise.
717 * sysdeps/nptl/setxid.h: Likewise.
718 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
719 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
720 * sysdeps/unix/sysv/linux/arm/Implies: New file.
721 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
722 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
723 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
724 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
725 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
726 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
727 * sysdeps/unix/sysv/linux/mips/Implies: New file.
728 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
729 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
730 * sysdeps/unix/sysv/linux/sh/Implies: New file.
731 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
732 * sysdeps/unix/sysv/linux/tile/Implies: New file.
733 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
734 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
735 * nptl/Makeconfig: Moved ...
736 * sysdeps/nptl/Makeconfig: ... here.
737 * nptl/configure: File removed.
738 * nptl/ANNOUNCE: File removed.
739 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
740 * sysdeps/unix/sysv/linux/configure: Regenerated.
742 * nptl/Makefile (routines): Add libc_pthread_init,
743 libc_multiple_threads, register-atfork and unregister-atfork.
744 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
745 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
746 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
747 pthread-pi-defines.sym, structsem.sym.
748 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
749 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
750 [$(subdir) = nptl] (tests): Add tst-setgetname.
751 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
752 * sysdeps/unix/sysv/linux/sigaction.c: Just include
753 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
754 [!LIBC_SIGACTION]: Remove aliases.
755 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
756 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
757 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
758 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
759 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
763 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
764 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
765 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
766 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
767 __libc_allocate_rtsig_private.
768 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
769 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
770 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
771 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
772 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
773 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
774 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
775 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
776 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
777 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
778 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
779 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
780 * nptl/internaltypes.h: ... here.
781 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
782 * sysdeps/nptl/jmp-unwind.c: ... here.
783 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
784 * nptl/libc-lowlevellock.c: ... here.
785 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
786 * nptl/libc_multiple_threads.c: ... here.
787 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
788 * nptl/libc_pthread_init.c: ... here.
789 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
790 * nptl/lowlevelbarrier.sym: ... here.
791 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
792 * nptl/lowlevelcond.sym: ... here.
793 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
794 * nptl/lowlevellock.c: ... here.
795 * nptl/lowlevellock.h: Moved ...
796 * sysdeps/nptl/lowlevellock.h: ... here.
797 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
798 * nptl/lowlevelrobustlock.c: ... here.
799 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
800 * nptl/lowlevelrobustlock.sym: ... here.
801 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
802 * nptl/lowlevelrwlock.sym: ... here.
803 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
804 * nptl/pt-fork.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
806 * nptl/pthread-pi-defines.sym: ... here.
807 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
808 * nptl/pthread_attr_getaffinity.c: ... here.
809 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
810 * nptl/pthread_attr_setaffinity.c: ... here.
811 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
812 * nptl/pthread_mutex_cond_lock.c: ... here.
813 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
815 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
816 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
817 * nptl/pthread_once.c: ... here, replacing old file.
818 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
819 * nptl/pthread_yield.c: ... here.
820 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
821 * nptl/register-atfork.c: ... here.
822 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
823 * nptl/sem_post.c: ... here.
824 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
825 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
826 * nptl/sem_timedwait.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
828 * nptl/sem_trywait.c: ... here.
829 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
830 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
831 * nptl/sem_wait.c: ... here.
832 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
833 * nptl/structsem.sym: ... here.
834 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
835 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
836 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
837 * nptl/unregister-atfork.c: ... here.
838 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
839 * nptl/unwindbuf.sym: ... here.
840 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
841 * sysdeps/nptl/fork.c: ... here.
842 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
843 * sysdeps/nptl/fork.h: ... here.
844 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
845 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
846 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
847 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
848 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
849 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
850 * sysdeps/unix/sysv/linux/getpid.c: ... here.
851 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
852 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
853 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
854 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
855 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
856 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
857 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
858 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
859 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
860 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
861 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
862 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
863 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
864 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
865 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
866 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
867 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
868 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
869 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
870 * sysdeps/unix/sysv/linux/raise.c: ... here.
871 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
872 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
873 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
874 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
875 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
876 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
877 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
878 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
879 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
880 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
881 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
882 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
883 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
884 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
885 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
887 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
889 * sysdeps/generic/memcopy.h: Add comment for
890 MEMCPY_OK_FOR_FWD_MEMMOVE.
892 2014-07-04 Will Newton <will.newton@linaro.org>
894 * string/memchr.c: Merge from gnulib.
895 [_LIBC]: Remove conditionals.
896 (__ptr_t): Remove define.
897 (LONG_MAX_32_BITS): Likewise.
898 (LONG_MAX): Likewise.
899 (MEMCHR): Use ANSI prototype and optimize algorithm.
901 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
903 2014-07-03 Roland McGrath <roland@hack.frob.com>
905 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
906 (lll_futex_timed_wait_bitset): Fix syscall argument count.
908 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
909 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
910 in a bare environment with no <stdlib.h> installed.
911 * sysdeps/nptl/configure: Regenerated.
913 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
915 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
916 AC_EGREP_CPP for kernel header checks, so they only succeed if
917 including <linux/version.h> actually works right.
918 * sysdeps/unix/sysv/linux/configure: Regenerated.
920 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
921 value so it's not diagnosed as unused.
923 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
924 thing) with "ifeq ($(subdir),rt)".
926 2014-07-03 Richard Henderson <rth@redhat.com>
928 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
929 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
930 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
932 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
933 (math_force_eval): New.
935 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
936 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
938 * sysdeps/alpha/fpu/s_round.c: Remove file.
939 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
941 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
942 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
943 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
944 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
945 (_dl_start, print_statistics): Likewise.
946 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
947 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
949 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
950 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
951 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
952 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
954 (HP_SMALL_TIMING_AVAIL): Define.
955 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
956 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
957 (HP_SMALL_TIMING_AVAIL): Define.
958 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
959 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
961 * sysdeps/aarch64/hp-timing.h: New file.
963 * sysdeps/generic/hp-timing.h: Remove dead comment.
964 * sysdeps/generic/hp-timing-common.h: New file.
965 * sysdeps/alpha/hp-timing.h: Include it.
966 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
967 * sysdeps/i386/i686/hp-timing.h: Likewise.
968 * sysdeps/ia64/hp-timing.h: Likewise.
969 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
970 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
972 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
973 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
974 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
977 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
978 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
979 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
980 * elf/rtld.c (_dl_start_final): Likewise.
981 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
982 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
983 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
984 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
985 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
987 (HP_TIMING_DIFF_INIT): Remove.
988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
990 (HP_TIMING_DIFF_INIT): Remove.
991 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
992 * sysdeps/i386/i686/hp-timing.c: Remove file.
993 * sysdeps/x86_64/hp-timing.c: Remove file.
994 * sysdeps/ia64/hp-timing.c: Remove file.
995 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
996 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
997 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
998 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1000 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1001 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1002 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1003 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1005 (HP_TIMING_ACCUM): Remove.
1006 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1007 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1008 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1010 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1011 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1012 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1013 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1015 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1017 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1019 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1021 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1023 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1025 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1027 Sync up with gettext.
1028 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1029 [_MSC_VER]: Include malloc.h
1030 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1031 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1032 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1033 TEMP_FAILURE_RETRY. Cast return of alloca.
1034 [!_LIBC] Call gl_rwlock_init.
1035 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1037 2014-07-02 Roland McGrath <roland@hack.frob.com>
1039 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1040 before checking its value.
1042 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1044 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1046 * debug/memcpy_chk.c: Don't include pagecopy.h.
1047 * debug/mempcpy_chk.c: Likewise.
1048 * string/memcpy.c: Likewise.
1049 * string/memmove.c: Likewise.
1050 * sysdeps/powerpc/memmove.c: Likewise.
1051 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1052 definition of PAGE_COPY_FWD_MAYBE here...
1053 * sysdeps/generic/pagecopy.h: ... from here.
1054 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1056 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1057 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1063 (__libc_ifunc_impl_list): Likewise.
1064 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1065 multiarch strcat for PPC64.
1066 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1067 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1069 2014-07-02 Roland McGrath <roland@hack.frob.com>
1071 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1073 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1075 * intl/loadmsgcat.c: Remove declaration of
1076 get_sysdep_segment_value.
1077 (get_sysdep_segment_value): Use ISO C style.
1078 (_nl_load_domain): Use ISO C style. Get rid of redundant
1079 semicolon. Fix typo and formatting in comment.
1080 (_nl_unload_domain): Use ISO C style.
1082 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1084 2014-07-02 Will Newton <will.newton@linaro.org>
1086 * malloc/obstack.c: Merge from gnulib master.
1087 [HAVE_CONFIG_H]: Remove conditional code.
1088 [!_LIBC]: Include config.h.
1089 [!ELIDE_CODE]: Don't include inttypes.h, include
1090 stdint.h unconditionally.
1091 (print_and_abort): Mark as _Noreturn.
1092 (_obstack_allocated_p): Mark as __attribute_pure__.
1093 (obstack_free): Rename to __obstack_free.
1094 [!__attribute__]: Remove conditional code.
1095 * malloc/obstack.h: Merge from gnulib master.
1096 [__cplusplus]: Move conditional down.
1097 [!__attribute_pure__]: Define __attribute_pure__ here
1098 if it is not already defined.
1099 (_obstack_memory_used): Mark as __attribute_pure__.
1100 [!__obstack_free]: Define as obstack_free.
1101 [__GNUC__]: Remove check for ancient NeXT gcc.
1103 2014-07-02 Will Newton <will.newton@linaro.org>
1104 Paul Eggert <eggert@cs.ucla.edu>
1106 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1108 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1110 * resolv/gethnamaddr.c: Add comment warning that the file is
1113 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1115 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1118 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1119 entry for aio_cancel and aio_cancel64.
1120 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1121 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1122 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1123 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1124 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1125 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1126 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1127 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1128 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1129 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1130 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1131 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1132 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1134 2014-07-01 Roland McGrath <roland@hack.frob.com>
1136 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1137 * nptl/pthread_mutex_lock.c: Likewise.
1138 * nptl/pthread_mutex_timedlock.c: Likewise.
1139 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1141 2014-07-01 Richard henderson <rth@redhat.com>
1143 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1144 (__isnan, __isnanl): Remove.
1145 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1147 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1149 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1151 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1153 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1155 * resolv/nss_dns/dns-host.c (getanswer_r)
1156 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1158 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1160 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1161 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1163 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1164 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1166 2014-07-01 Roland McGrath <roland@hack.frob.com>
1168 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1169 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1171 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1172 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1174 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1175 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1177 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1178 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1180 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1181 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1182 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1183 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1185 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1186 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1187 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1191 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1193 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1214 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1217 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1218 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1219 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1220 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1221 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1223 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1225 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1226 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1227 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1230 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1234 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1236 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1237 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1239 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1241 * sysdeps/arm/libm-test-ulps: Regenerated.
1243 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1244 Roland McGrath <roland@hack.frob.com>
1246 * test-skeleton.c (signal_handler): Kill the whole process group
1247 before killing the child individually.
1248 (main): Report any failure on `setpgid'.
1250 2014-06-30 Roland McGrath <roland@hack.frob.com>
1252 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1253 from _TLS_H to _ARM_NPTL_TLS_H.
1254 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1255 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1257 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1260 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1261 (__expm1l): Return argument unchanged when small but not
1264 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1266 (_FP_UNPACK_RAW_1_P): Likewise.
1267 (_FP_PACK_RAW_1): Likewise.
1268 (_FP_PACK_RAW_1_P): Likewise.
1269 (_FP_MUL_MEAT_1_wide): Likewise.
1270 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1271 (_FP_MUL_MEAT_1_hard): Likewise.
1272 (_FP_DIV_MEAT_1_imm): Likewise.
1273 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1274 (_FP_DIV_MEAT_1_udiv): Likewise.
1275 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1276 (_FP_UNPACK_RAW_2): Likewise.
1277 (_FP_UNPACK_RAW_2_P): Likewise.
1278 (_FP_PACK_RAW_2): Likewise.
1279 (_FP_PACK_RAW_2_P): Likewise.
1280 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1281 (_FP_MUL_MEAT_2_wide): Likewise.
1282 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1283 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1284 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1285 (_FP_MUL_MEAT_2_gmp): Likewise.
1286 (_FP_DIV_MEAT_2_udiv): Likewise.
1287 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1288 (_FP_FRAC_SRL_4): Likewise.
1289 (_FP_FRAC_SRST_4): Likewise.
1290 (_FP_FRAC_SRS_4): Likewise.
1291 (_FP_UNPACK_RAW_4): Likewise.
1292 (_FP_UNPACK_RAW_4_P): Likewise.
1293 (_FP_PACK_RAW_4): Likewise.
1294 (_FP_PACK_RAW_4_P): Likewise.
1295 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1296 (_FP_MUL_MEAT_4_wide): Likewise.
1297 (_FP_MUL_MEAT_4_gmp): Likewise.
1298 (umul_ppppmnnn): Likewise.
1299 (_FP_DIV_MEAT_4_udiv): Likewise.
1300 (__FP_FRAC_ADD_4): Likewise.
1301 (__FP_FRAC_SUB_3): Likewise.
1302 (__FP_FRAC_SUB_4): Likewise.
1303 (__FP_FRAC_DEC_3): Likewise.
1304 (__FP_FRAC_DEC_4): Likewise.
1305 (__FP_FRAC_ADDI_4): Likewise.
1306 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1307 (_FP_FRAC_SRL_8): Likewise.
1308 (_FP_FRAC_SRS_8): Likewise.
1310 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1312 (FP_UNPACK_RAW_EP): Likewise.
1313 (FP_PACK_RAW_E): Likewise.
1314 (FP_PACK_RAW_EP): Likewise.
1315 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1316 (_FP_ISSIGNAN): Likewise.
1317 (_FP_ADD_INTERNAL): Likewise.
1318 (_FP_FMA): Likewise.
1319 (_FP_CMP): Likewise.
1320 (_FP_SQRT): Likewise.
1321 (_FP_TO_INT): Likewise.
1322 (_FP_FROM_INT): Likewise.
1323 (FP_EXTEND): Likewise.
1324 (_FP_DIV_MEAT_N_loop): Likewise.
1326 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1328 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1331 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1335 result with correct sign in case of exponents that produce
1336 overflow except for X very close to 1.
1338 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1340 mktime: merge #if/#ifdef usage from glibc
1341 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1342 as that works with both Glibc's and Gnulib's style.
1343 See thread starting at Siddhesh Poyarekar's bug report at:
1344 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1346 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1348 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1349 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1350 * sysdeps/tile/tilegx/memmove.c: Remove file.
1352 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1354 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1355 abi-name definition.
1356 * scripts/soversions.awk: Do not handle or generate ABI lines.
1357 * shlib-versions: Remove ABI entries.
1358 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1359 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1361 2014-06-27 Roland McGrath <roland@hack.frob.com>
1363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1364 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1365 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1368 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1371 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1376 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1387 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1394 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1397 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1402 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1406 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1411 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1416 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1417 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1419 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1424 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1426 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1427 Identical file removed.
1428 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1430 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1432 Identical file removed.
1433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1437 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1439 Identical file removed.
1440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1443 Identical file removed.
1444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1447 Identical file removed.
1448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1451 Identical file removed.
1452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1454 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1456 Identical file removed.
1457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1459 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1463 Identical file removed.
1464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1466 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1469 Identical file removed.
1470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1472 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1474 Identical file removed.
1475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1477 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1481 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1484 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1486 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1488 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1489 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1490 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1491 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1492 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1494 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1497 * nscd/nscd.c (monitor_child): Return exit status of child
1498 instead of return value from wait syscall.
1500 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1502 * configure.ac (libc_commonpagesize): Remove variable.
1503 (libc_relro_required): Likewise.
1504 (libc_cv_z_relro): Remove configure test.
1505 * configure: Regenerated.
1506 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1508 (libc_relro_required): Likewise.
1509 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1510 (libc_relro_required): Likewise.
1511 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1512 (libc_relro_required): Likewise.
1513 * sysdeps/arm/preconfigure: Regenerated.
1514 * sysdeps/ia64/preconfigure: Remove file.
1515 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1517 (libc_relro_required): Likewise.
1521 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1522 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1523 recompute overflowing results in original rounding mode.
1524 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1525 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1526 recompute overflowing results in original rounding mode.
1527 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1528 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1529 recompute overflowing results in original rounding mode.
1530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1531 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1532 recompute overflowing results in original rounding mode.
1533 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1534 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1535 recompute overflowing results in original rounding mode.
1536 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1537 (libc_feholdsetround_ctx): New macro.
1538 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1539 * sysdeps/i386/fpu/libm-test-ulps: Update.
1540 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1542 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1544 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1545 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1546 corresponding .cpsetup call.
1548 2014-06-26 Roland McGrath <roland@hack.frob.com>
1550 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1551 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1552 * sysdeps/arm/Makefile [$(subdir) = csu]
1553 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1554 (static-only-routines): Add aeabi_read_tp here.
1555 (shared-only-routines): Add libc-aeabi_read_tp here.
1556 (CFLAGS-libc-start.c): Add -fexceptions here.
1557 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1558 (sysdep_routines, static-only-routines, shared-only-routines):
1559 Don't add to these here.
1560 (CFLAGS-libc-start.c): Likewise.
1562 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1563 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1564 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1565 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1566 * sysdeps/arm/Makefile [$(subdir) = rt]
1567 (librt-sysdep_routines, librt-shared-only-routines):
1568 Append rt-aeabi_unwind_cpp_pr1 here.
1569 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1570 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1571 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1572 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1573 Append nptl-aeabi_unwind_cpp_pr1 here.
1574 (tests): Filter out tst-cleanupx4 here.
1575 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1576 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1577 Don't do those here.
1579 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1581 * scripts/list-sources.sh: Do not handle ports specially.
1583 2014-06-26 Roland McGrath <roland@hack.frob.com>
1585 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1586 * sysdeps/arm/feupdateenv.c: Likewise.
1588 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1590 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1592 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1593 trailing whitespace removed.
1594 * scripts/config.guess: Update to version 2014-03-23.
1595 * scripts/config.sub: Update to version 2014-05-01
1596 * scripts/install-sh: Update to version 2013-12-25.23.
1597 * scripts/move-if-change: Update from gnulib.
1599 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 * debug/memmove_chk.c: Remove pagecopy.h include.
1603 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1605 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1606 identical to gnulib mktime.
1608 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1610 * configure.ac: Do not test for machine being rs6000. Do not test
1612 * configure: Regenerated.
1614 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1616 * configure: Regenerated.
1617 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1618 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1619 Remove configure test.
1620 * sysdeps/arm/configure: Regenerated.
1621 * sysdeps/nptl/configure.ac: Do not check
1622 libc_cv_asm_cfi_directives.
1623 * sysdeps/nptl/configure: Regenerated.
1624 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1625 * sysdeps/x86_64/nptl/configure: Remove generated file.
1626 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1628 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1630 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1633 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1634 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1637 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1638 instead of whether it is defined.
1639 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1640 * sysdeps/hppa/dl-machine.h: Likewise.
1641 * sysdeps/ia64/dl-machine.h: Likewise.
1642 * sysdeps/m68k/dl-machine.h: Likewise.
1643 * sysdeps/microblaze/dl-machine.h: Likewise.
1644 * sysdeps/mips/dl-machine.: Likewise.
1645 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1646 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1647 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1648 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1649 * sysdeps/sh/dl-machine.h: Likewise.
1650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1652 * sysdeps/tile/dl-machine.h: Likewise.
1653 * sysdeps/x86_64/dl-machine.h: Likewise.
1655 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1657 (verify_persistent_db): Likewise.
1659 2014-06-26 Roland McGrath <roland@hack.frob.com>
1661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1662 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1667 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1672 Identical file removed.
1673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1685 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1692 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1696 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1698 Identical file removed.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1700 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1705 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1708 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1710 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1712 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1714 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1716 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1719 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1722 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1724 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1727 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1733 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1734 * sysdeps/unix/sysv/linux/s390/Versions
1735 (libpthread: GLIBC_2.19): New version set.
1736 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1737 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1738 (librt: GLIBC_2.3.3): New version set.
1739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1740 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1741 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1743 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1744 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1745 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1747 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1749 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1751 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1753 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1755 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1757 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1759 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1761 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1762 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1763 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1764 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1765 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1767 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1769 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1775 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1777 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1779 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1781 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1783 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1785 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1786 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1787 (__libc_vfork): Define the function under this name.
1788 [!NOT_IN_libc] (__vfork): Make this an alias.
1789 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1790 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1791 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1792 (__libc_vfork): Define the function under this name.
1793 [!NOT_IN_libc] (__vfork): Make this an alias.
1794 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1795 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1796 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1801 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1802 code that was previously under [RESET_PID].
1803 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1804 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1805 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1807 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1808 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1809 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1810 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1811 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1812 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1813 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1814 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1815 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1819 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1843 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1844 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1845 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1846 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1847 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1849 2014-06-25 Roland McGrath <roland@hack.frob.com>
1851 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1852 that was previously under [RESET_PID].
1853 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1855 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1857 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1858 not undefine and redefine.
1859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1860 [O_CLOEXEC]: Make code unconditional.
1861 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1862 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1863 <kernel-features.h>.
1864 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1865 conditional variable definition.
1866 (shm_open) [O_CLOEXEC]: Make code unconditional.
1867 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1870 * configure.ac (USE_REGPARMS): Don't define here.
1871 * configure: Regenerated.
1872 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1873 * sysdeps/i386/configure: Regenerated.
1875 * nptl/createthread.c: Don't include kernel-features.h.
1876 * nptl/pthread_cancel.c: Likewise.
1877 * nptl/pthread_condattr_setclock.c: Likewise.
1878 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1879 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1880 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1881 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1882 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1887 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1888 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1889 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1890 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1891 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1892 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1893 * nscd/gai.c: Likewise.
1894 * nss/nss_db/db-open.c: Likewise.
1895 * sysdeps/generic/ldsodefs.h: Likewise.
1896 * sysdeps/sh/nptl/tls.h: Likewise.
1897 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1898 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1899 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1900 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1901 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1902 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1903 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1904 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1906 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1907 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1908 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1909 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1910 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1911 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1912 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1913 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1914 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1915 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1916 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1917 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1918 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1919 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1920 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1921 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1924 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1925 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1926 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1927 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1928 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1929 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1930 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1931 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1932 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1933 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1934 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1935 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1936 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1937 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1938 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1939 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1940 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1941 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1942 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1943 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1944 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1945 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1946 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1947 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1948 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1949 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1950 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1951 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1952 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1977 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1978 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1979 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1980 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1981 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1982 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1984 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1985 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1986 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1987 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1988 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1989 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1990 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1991 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1992 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1993 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1994 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1995 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1996 * sysdeps/unix/sysv/linux/system.c: Likewise.
1997 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1998 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1999 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2000 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2001 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2002 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2003 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2005 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2006 * configure: Regenerated.
2007 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2009 * configure.ac (base_machine): Do not set specially for particular
2011 * configure: Regenerated.
2012 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2013 settings from configure.ac.
2014 * sysdeps/i386/preconfigure: New file.
2015 * sysdeps/s390/preconfigure: Likewise.
2016 * sysdeps/sh/preconfigure: Likewise.
2017 * sysdeps/sparc/preconfigure: Likewise.
2019 2014-06-25 Roland McGrath <roland@hack.frob.com>
2021 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2022 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2023 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2024 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2025 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2026 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2027 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2028 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2029 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2030 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2031 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2032 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2033 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2034 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2036 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2038 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2039 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2041 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2042 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2043 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2044 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2045 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2046 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2047 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2048 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2049 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2050 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2051 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2052 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2053 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2054 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2055 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2056 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2057 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2058 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2059 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2060 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2062 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2064 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2065 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2066 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2068 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2069 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2072 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2073 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2074 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2076 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2077 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2078 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2106 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2108 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2113 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2115 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2117 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2130 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2139 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2144 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2149 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2151 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2153 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2155 * timezone/checktab.awk: Update from tzcode 2014e.
2156 * timezone/private.h: Likewise.
2157 * timezone/tzfile.h: Likewise.
2158 * timezone/zdump.c: Likewise.
2159 * timezone/zic.c: Likewise.
2161 * sysdeps/unix/sysv/linux/kernel-features.h
2162 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2164 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2165 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2166 Remove conditional code.
2168 2014-06-25 Will Newton <will.newton@linaro.org>
2170 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2171 (_dl_arm_cap_flags): Add HWCAP2 values.
2172 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2173 (_DL_HWCAP_COUNT): Increase to 37.
2174 (_DL_HWCAP_LAST): New define.
2175 (_DL_HWCAP2_LAST): New define.
2176 (_dl_procinfo): Add support for printing
2178 (_dl_string_hwcap): Use _dl_hwcap_string.
2180 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2184 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2186 * README: Do not mention ports directory.
2188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2190 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2191 <kernel-features.h>.
2192 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2193 conditional variable definition.
2194 (__futimes): Update comment.
2195 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2196 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2199 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2200 arguments close to 0.
2201 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2203 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2205 * math/auto-libm-test-in: Add more tests of exp10.
2206 * math/auto-libm-test-out: Regenerated.
2207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2209 * sysdeps/unix/sysv/linux/kernel-features.h
2210 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2211 * sysdeps/unix/sysv/linux/readv.c: Do not include
2212 <kernel-features.h>.
2213 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2214 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2215 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2217 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2219 * sysdeps/unix/sysv/linux/writev.c: Do not include
2220 <kernel-features.h>.
2221 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2222 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2223 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2225 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2228 2014-06-25 Will Newton <will.newton@linaro.org>
2230 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2231 comment changes throughout the file. Remove checks
2232 for HAVE_*_H definitions that are not required.
2233 (__gen_tempname): Call abort if an unknown kind value is
2236 2014-06-25 Andreas Schwab <schwab@suse.de>
2239 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2240 scalbln, scalblnf, scalblnl in libc.
2242 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2245 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2246 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2247 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2249 2014-06-24 Roland McGrath <roland@hack.frob.com>
2251 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2252 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2253 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2254 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2256 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2257 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2259 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2260 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2261 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2262 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2263 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2264 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2265 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2266 * sysdeps/x86/bits/semaphore.h: ... here.
2267 * sysdeps/x86/nptl/elide.h: Moved ...
2268 * sysdeps/x86/elide.h: ... here.
2269 * sysdeps/x86_64/nptl/Implies: File removed.
2270 * sysdeps/i386/nptl/Implies: File removed.
2272 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2276 return the argument for normal arguments with exponent below -64.
2277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2279 * math/auto-libm-test-in: Add another test of expm1.
2280 * math/auto-libm-test-out: Regenerated.
2283 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2284 calling __erfcl for arguments at least 16.
2285 * math/auto-libm-test-in: Add more tests of erf.
2286 * math/auto-libm-test-out: Regenerated.
2288 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2289 individual architectures.
2290 * sysdeps/unix/sysv/linux/configure: Regenerated.
2291 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2292 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2293 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2294 (ldd_rewrite_script): Define variable.
2295 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2300 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2301 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2302 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2303 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2304 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2305 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2306 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2307 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2309 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2312 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2313 Rename member __data.d to __data.__elision_data.
2315 2014-06-24 Wilco <wdijkstr@arm.com>
2317 * NEWS: Add 16918 to fixed bug list.
2319 2014-06-24 Wilco <wdijkstr@arm.com>
2321 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2323 2014-06-24 Wilco <wdijkstr@arm.com>
2325 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2326 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2327 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2328 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2329 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2330 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2331 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2334 2014-06-24 Wilco <wdijkstr@arm.com>
2336 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2338 2014-06-24 Wilco <wdijkstr@arm.com>
2340 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2341 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2342 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2343 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2345 2014-06-24 Wilco <wdijkstr@arm.com>
2348 * sysdeps/arm/feupdateenv.c (feupdateenv):
2349 Rewrite to reduce FPSCR accesses and fix return value.
2351 2014-06-24 Wilco <wdijkstr@arm.com>
2353 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2354 Optimize to avoid unnecessary FPSCR writes.
2355 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2356 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2357 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2358 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2360 2014-06-24 Wilco <wdijkstr@arm.com>
2362 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2363 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2364 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2365 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2366 Call libc_fetestexcept_vfp.
2367 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2368 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2369 __SOFTFP__ ifdef so that they can be built for softfp.
2371 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2373 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2374 argument type signed char.
2376 * Makerules (check-abi): Dump diff of symlist if the test
2379 2014-06-23 Roland McGrath <roland@hack.frob.com>
2381 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2384 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2385 Remove unused variable ST.
2387 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2391 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2392 small arguments before calling __expm1.
2393 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2394 small arguments before calling __expm1f.
2395 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2396 small arguments before calling __expm1l.
2397 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2399 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2400 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2401 spurious underflow for some cosh tests.
2402 * math/auto-libm-test-out: Regenerated.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2406 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2407 (__ieee754_y1): Set errno if return value overflows.
2408 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2409 (__ieee754_y1f): Set errno if return value overflows.
2410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2411 (__ieee754_y1l): Set errno if return value overflows.
2412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2413 (__ieee754_y1l): Set errno if return value overflows.
2414 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2415 * math/auto-libm-test-out: Regenerated.
2417 * math/gen-auto-libm-tests.c: Document use of
2418 ignore-zero-inf-sign.
2419 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2420 (input_flags): Add ignore-zero-inf-sign.
2421 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2422 * math/gen-libm-test.pl (generate_testfile): Handle
2423 ignore-zero-inf-sign.
2424 * math/auto-libm-test-in: Mark some cpow tests with
2425 ignore-zero-inf-sign and some with xfail-rounding.
2426 * math/auto-libm-test-out: Regenerated.
2427 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2428 * sysdeps/i386/fpu/libm-test-ulps: Update.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2432 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2433 overflowing or underflowing operations take place with sign of
2435 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2436 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2437 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2438 (__ieee754_pow): Recompute overflowing and underflowing results in
2439 original rounding mode.
2440 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2441 (__powl_helper): Allow negative argument X and scale negated value
2442 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2443 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2444 overflowing or underflowing operations take place with sign of
2446 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2448 * math/auto-libm-test-in: Add more tests of pow.
2449 * math/auto-libm-test-out: Regenerated.
2450 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2451 (pow_tonearest_test_data): Remove.
2452 (pow_test_tonearest): Likewise.
2453 (pow_towardzero_test_data): Likewise.
2454 (pow_test_towardzero): Likewise.
2455 (pow_downward_test_data): Likewise.
2456 (pow_test_downward): Likewise.
2457 (pow_upward_test_data): Likewise.
2458 (pow_test_upward): Likewise.
2459 (main): Don't call removed functions.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463 2014-06-23 Roland McGrath <roland@hack.frob.com>
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2639 2014-06-23 Will Newton <will.newton@linaro.org>
2640 Wilco <wdijkstr@arm.com>
2642 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2643 implementation. Include get-rounding-mode.h.
2644 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2645 [!libc_feholdsetround_noex_ctx]: Define
2646 libc_feholdsetround_noex_ctx.
2647 [!libc_feholdsetround_noexf_ctx]: Define
2648 libc_feholdsetround_noexf_ctx.
2649 [!libc_feholdsetround_noexl_ctx]: Define
2650 libc_feholdsetround_noexl_ctx.
2651 (libc_feholdsetround_ctx): New function.
2652 (libc_feresetround_ctx): New function.
2653 (libc_feholdsetround_noex_ctx): New function.
2654 (libc_feresetround_noex_ctx): New function.
2656 2014-06-23 Roland McGrath <roland@hack.frob.com>
2658 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2659 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2660 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2661 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2662 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2663 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2665 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2666 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2668 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2669 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2670 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2672 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2677 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2685 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2694 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2697 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2702 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2706 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2707 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2708 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2713 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2720 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2722 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2725 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2726 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2729 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2736 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2740 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2742 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2743 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2745 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2746 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2749 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2751 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2753 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2757 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2759 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2763 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2771 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2774 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2775 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2776 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2777 (IPV6_PMTUDISC_INTERFACE): Likewise.
2778 (IPV6_PMTUDISC_OMIT): Likewise.
2780 2014-06-23 Andreas Schwab <schwab@suse.de>
2782 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2783 Remove unused errout label.
2785 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2788 macro: hardware supports Vector Crypto instructions.
2790 2014-06-23 Will Newton <will.newton@linaro.org>
2792 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2793 rather than __builtin_expect.
2795 * elf/dl-lookup.c (undefined_msg): Remove variable.
2796 (_dl_lookup_symbol_x): Replace undefined_msg with string
2799 * elf/dl-lookup.c (do_lookup_unique): New function.
2800 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2801 to a separate function.
2803 2014-06-23 Andreas Schwab <schwab@suse.de>
2806 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2807 before reading the next line.
2809 2014-06-23 Will Newton <will.newton@linaro.org>
2811 * test-skeleton.c (signal_handler): Use printf and %m
2812 rather than perror. Use printf rather than fprintf to
2813 stderr. Use puts rather than fputs to stderr.
2816 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2818 * nscd/nscd.c (thread_info_t): Remove typedef.
2819 (thread_info): Remove variable.
2821 2014-06-21 Allan McRae <allan@archlinux.org>
2823 * NEWS: Mention CVE-2014-4043.
2825 2014-06-20 Roland McGrath <roland@hack.frob.com>
2827 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2828 * nptl/smp.h: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2832 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2833 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2834 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2835 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2837 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2838 * nptl/stack-aliasing.h: New file.
2839 * sysdeps/i386/i686/stack-aliasing.h: New file.
2840 * sysdeps/i386/i686/nptl/Makefile: File removed.
2841 * sysdeps/x86_64/stack-aliasing.h: New file.
2842 * sysdeps/x86_64/nptl/Makefile
2843 (CFLAGS-pthread_create.c): Variable removed.
2845 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2846 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2848 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2849 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2852 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2854 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2855 (__ASSUME_SIGFRAME_V2): Remove macro.
2856 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2857 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2858 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2859 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2860 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2861 Declare as function. Remove conditional macro definitions.
2862 (__default_rt_sa_restorer): Likewise.
2863 (__default_sa_restorer_v1): Remove declaration.
2864 (__default_sa_restorer_v2): Likewise.
2865 (__default_rt_sa_restorer_v1): Likewise.
2866 (__default_rt_sa_restorer_v2): Likewise.
2867 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2868 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2869 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2871 2014-06-20 Roland McGrath <roland@hack.frob.com>
2873 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2874 (libpthread-routines): Add sysdep.
2875 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2876 * sysdeps/unix/sysv/linux/sparc/Versions
2877 (libpthread: GLIBC_2.3.3): New version set.
2878 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2879 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2880 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2882 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2883 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2885 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2887 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2889 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2890 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2891 * sysdeps/sparc/nptl/sem_init.c: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2893 * sysdeps/sparc/nptl/sem_post.c: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2895 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2897 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2899 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2900 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2901 (libpthread-routines): Add cpu_relax.
2902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2905 (librt: GLIBC_2.3.3): New version set.
2906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2907 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2908 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2909 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2912 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2915 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2917 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2919 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2921 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2923 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2926 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2930 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2934 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2938 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2942 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2946 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2949 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2957 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2966 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2968 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2969 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2970 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2971 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2972 * nscd/nscd.c: Likewise.
2973 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2974 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2975 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2976 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2978 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2979 <kernel-features.h>.
2980 (init_mq_netlink): Remove conditional have_sock_cloexec
2981 definitions. Remove code conditional on have_sock_cloexec < 0.
2982 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2983 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2984 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2985 <kernel-features.h>.
2986 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2987 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2989 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2992 Add tests for memset_chk and memset.
2994 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2997 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3000 * elf/tst-dl-iter-static.c: New file.
3001 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3003 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3006 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3008 * sysdeps/unix/sysv/linux/kernel-features.h
3009 (__ASSUME_F_GETOWN_EX): Remove macro.
3010 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3011 <kernel-features.h>.
3012 (miss_F_GETOWN_EX): Remove variable or macro.
3013 (do_fcntl): Do not check miss_F_GETOWN_EX.
3014 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3016 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3019 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3020 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3022 * sysdeps/unix/sysv/linux/kernel-features.h
3023 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3024 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3025 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3026 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3028 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3031 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3032 Fix calculation of the symbol's value.
3033 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3034 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3035 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3036 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3037 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3038 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3039 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3040 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3041 (modules-names): Add `tst-armtlsdescmod',
3042 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3043 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3044 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3045 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3046 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3047 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3048 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3049 ($(objpfx)tst-armtlsdescloc): New dependency.
3050 ($(objpfx)tst-armtlsdescextnow): Likewise.
3051 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3052 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3054 * sysdeps/arm/configure: Regenerate.
3056 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3058 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3059 (__atfct_seterrno_2): Likewise.
3060 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3061 <kernel-features.h>.
3062 (__ASSUME_ATFCTS): Do not undefine and redefine.
3063 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3064 (__have_atfcts): Remove conditional definition.
3065 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3066 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3067 unreachable if [__ASSUME_ATFCTS].
3068 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3069 not undefine and redefine.
3070 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3071 <kernel-features.h>.
3072 (faccessat) [__NR_faccessat]: Make code unconditional.
3073 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3075 <kernel-features.h>.
3076 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3077 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3078 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3079 <kernel-features.h>.
3080 (fchownat) [__NR_fchownat]: Make code unconditional.
3081 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3083 <kernel-features.h>.
3084 (futimesat) [__NR_futimesat]: Make code unconditional.
3085 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3087 <kernel-features.h>.
3088 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3089 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3090 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3091 <kernel-features.h>.
3092 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3093 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3094 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3095 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3096 <kernel-features.h>.
3097 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3098 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3099 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3100 <kernel-features.h>.
3101 (linkat) [__NR_linkat]: Make code unconditional.
3102 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3103 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3104 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3105 <kernel-features.h>.
3106 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3107 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3108 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3109 <kernel-features.h>.
3110 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3111 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3112 * sysdeps/unix/sysv/linux/openat.c: Do not include
3113 <kernel-features.h>.
3114 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3115 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3116 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3117 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3118 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3119 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3120 <kernel-features.h>.
3121 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3122 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3123 result of INLINE_SYSCALL directly, not via int variable.
3124 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3125 <kernel-features.h>.
3126 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3127 (renameat) [__NR_renameat]: Make code unconditional.
3128 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3129 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3130 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3131 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3133 (__ASSUME_ATFCTS): Do not undefine and redefine.
3134 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3135 <kernel-features.h>.
3136 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3137 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3138 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3139 <kernel-features.h>.
3140 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3141 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3142 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3143 (__ASSUME_ATFCTS): Do not undefine and redefine.
3144 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3145 <kernel-features.h>.
3146 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3147 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3148 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3149 <kernel-features.h>.
3150 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3151 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3153 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3155 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3157 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3160 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3161 constructed tree before returning error.
3162 * posix/bug-regexp36.c: Expand test case.
3164 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3167 * math/libm-test.inc (scalbln_test_date):
3168 Add errno expectations.
3169 * math/w_scalblnf.c: New File.
3170 Add wrapper which checks for setting errno to ERANGE.
3171 Add weak_alias for corresponding scalbln function.
3172 * math/w_scalbln.c: Likewise.
3173 * math/w_scalblnl.c: Likewise.
3174 * math/Makefile (libm-calls): Add w_scalbln.
3175 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3176 Remove weak_alias for corresponding scalbln function.
3177 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3181 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3182 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3183 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3184 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3185 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3186 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3187 Remove long_double_symbol for scalblnl function in libm, libc.
3188 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3189 Add wrapper which checks for setting errno to ERANGE.
3190 Add long_double_symbol for scalblnl function in libm, libc.
3191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3192 Remove long_double_symbol for scalblnl in libm.
3193 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3194 Add wrapper which checks for setting errno to ERANGE.
3195 Add long_double_symbol for scalblnl function in libm.
3196 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3197 Do not use wrapper because of own implementation.
3199 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3201 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3202 3 bytes for __pad1 for x32.
3203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3205 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3206 H.J. Lu <hongjiu.lu@intel.com>
3208 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3209 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3210 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3212 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3214 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3217 * posix/regcomp.c (parse_expression): Deallocate partially
3218 constructed tree before returning error.
3219 * posix/Makefile.c (tests): Add bug-regex36.
3220 (generated): Add bug-regex36.mtrace.
3221 (tests-special): Add $(objpfx)bug-regex36-mem.out
3222 (bug-regex36-ENV): New variable.
3223 ($(objpfx)bug-regex36-mem.out): New rule.
3224 * posix/bug-regex36.c: New file.
3226 2014-06-19 Will Newton <will.newton@linaro.org>
3228 * malloc/malloc.c (systrim): If extra is zero then return
3231 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3235 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3237 * sysdeps/aarch64/strchr.S: New file.
3239 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3242 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3243 from arguments -2 or below.
3244 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3245 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3247 2014-06-18 Andreas Schwab <schwab@suse.de>
3250 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3251 of a bracket expr not to run off the end of the string.
3252 * posix/Makefile (tests): Add tst-fnmatch3.
3253 * posix/tst-fnmatch3.c: New file.
3255 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3257 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3258 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3259 [$(cross-compiling) = no]: Likewise.
3260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3261 [$(cross-compiling) = no]: Likewise.
3263 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3266 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3267 double, adjusted for any remainder from the high double.
3268 * math/libm-test.inc (nearbyint): Add tests.
3271 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273 * nptl/sysdeps/powerpc/Makefile: Moved ...
3274 * sysdeps/powerpc/nptl/Makefile: ... here.
3275 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3276 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3277 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3278 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3279 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3280 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3281 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3282 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3283 * nptl/sysdeps/powerpc/tls.h: Moved ...
3284 * sysdeps/powerpc/nptl/tls.h: ... here.
3286 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3289 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3290 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3291 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3292 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3293 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3294 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3295 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3296 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3297 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3299 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3301 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3303 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3305 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3308 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3311 2014-06-16 Florian Weimer <fweimer@redhat.com>
3314 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3315 non-executed part of the test.
3317 2014-06-16 Andreas Schwab <schwab@suse.de>
3319 * string/bits/string2.h (strdup, strndup): Update feature guard.
3321 2014-06-14 David S. Miller <davem@davemloft.net>
3323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3325 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3327 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3328 that was previously under [RESET_PID].
3329 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3331 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3332 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3333 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3334 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3335 (__libc_vfork): New strong alias.
3336 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3338 2014-06-14 Andi Kleen <ak@linux.intel.com>
3340 * sysdeps/generic/elide.h: New file.
3342 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3344 * Makefile (installed-headers): Adjust path of pthread.h header.
3346 2014-06-13 Roland McGrath <roland@hack.frob.com>
3348 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3349 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3351 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3353 * nptl/sysdeps/s390/Makefile: Moved ...
3354 * sysdeps/s390/nptl/Makefile: ... here.
3355 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3356 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3357 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3358 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3359 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3360 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3361 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3362 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3363 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3364 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3365 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3366 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3367 * nptl/sysdeps/s390/tls.h: Moved ...
3368 * sysdeps/s390/nptl/tls.h: ... here.
3370 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3371 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3373 2014-06-13 David S. Miller <davem@davemloft.net>
3375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3378 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3382 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3383 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3384 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3385 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3386 Remove RESET_PID cpp guards.
3387 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3388 Remove RESET_PID cpp guards.
3389 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3391 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3393 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3396 2014-06-13 Andi Kleen <ak@linux.intel.com>
3398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3403 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3407 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3412 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3419 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3420 (pthread_rwlock_rdlock): Add elision.
3421 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3422 (pthread_rwlock_wrlock): Add elision.
3423 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3424 (pthread_rwlock_trywrlock): Add elision.
3425 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3426 (pthread_rwlock_tryrdlock): Add elision.
3427 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3428 (pthread_rwlock_tryrdlock): Add elision unlock.
3429 * nptl/sysdeps/pthread/pthread.h:
3430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3431 (PTHREAD_RWLOCK_INITIALIZER,
3432 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3433 Handle new elision field.
3434 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3435 * sysdeps/arm/nptl/bits/pthreadtypes.h
3436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3437 * sysdeps/sh/nptl/bits/pthreadtypes.h
3438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3439 * sysdeps/tile/nptl/bits/pthreadtypes.h
3440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3441 * sysdeps/a/nptl/bits/pthreadtypes.h
3442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3443 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3445 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3447 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3449 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3451 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3453 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3455 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3457 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3458 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3459 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3460 (elision_init): Set try_xbegin to zero when no RTM.
3461 * sysdeps/x86/nptl/bits/pthreadtypes.h
3462 (pthread_rwlock_t): Change __pad1 to __rwelision.
3463 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3465 2014-06-13 Andi Kleen <ak@linux.intel.com>
3467 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3468 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3469 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3470 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3472 2014-06-13 Meador Inge <meadori@codesourcery.com>
3475 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3476 that the cached result has been set before returning it.
3478 2014-06-12 Roland McGrath <roland@hack.frob.com>
3480 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3481 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3483 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3484 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3485 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3487 * nptl/sysdeps/sparc/Makefile: Moved ...
3488 * sysdeps/sparc/nptl/Makefile: ... here.
3489 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3490 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3491 * nptl/sysdeps/sparc/tls.h: Moved ...
3492 * sysdeps/sparc/nptl/tls.h: ... here.
3493 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3494 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3495 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3496 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3497 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3498 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3499 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3500 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3501 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3502 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3503 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3504 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3505 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3506 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3507 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3508 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3509 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3510 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3512 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3515 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3516 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3518 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3519 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3522 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3524 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3525 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3527 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3528 (struct list_links): Type removed.
3529 (struct thread_node, struct timer_node): Replace struct list_links
3530 with struct list_head.
3531 (list_unlink_ip): Likewise.
3532 * sysdeps/pthread/timer_routines.c
3533 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3534 (list_append, list_insbefore): Likewise.
3535 (list_init): Function removed.
3536 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3537 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3538 * sysdeps/pthread/Makefile: ... here, new file.
3540 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3541 * sysdeps/nptl/Implies: ... here.
3542 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3543 * nptl/sysdeps/pthread/list.h: Moved ...
3544 * include/list.h: ... here.
3545 * nptl/sysdeps/pthread/createthread.c: Moved ...
3546 * nptl/createthread.c: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3548 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3549 * nptl/pt-longjmp.c: ... here.
3550 * nptl/sysdeps/pthread/Makefile: Moved ...
3551 * sysdeps/nptl/Makefile: ... here.
3552 * nptl/sysdeps/pthread/Subdirs: Moved ...
3553 * sysdeps/nptl/Subdirs: ... here.
3554 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3555 * sysdeps/nptl/aio_misc.h: ... here.
3556 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3557 * sysdeps/nptl/bits/libc-lock.h: ... here.
3558 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3559 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3560 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3561 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3562 * nptl/sysdeps/pthread/configure: Moved ...
3563 * sysdeps/nptl/configure: ... here.
3564 * nptl/sysdeps/pthread/configure.ac: Moved ...
3565 * sysdeps/nptl/configure.ac: ... here.
3566 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3567 * sysdeps/nptl/gai_misc.h: ... here.
3568 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3569 * sysdeps/nptl/librt-cancellation.c: ... here.
3570 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3571 * sysdeps/nptl/malloc-machine.h: ... here.
3572 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3573 * sysdeps/nptl/pthread-functions.h: ... here.
3574 * nptl/sysdeps/pthread/pthread.h: Moved ...
3575 * sysdeps/nptl/pthread.h: ... here.
3576 * nptl/sysdeps/pthread/setxid.h: Moved ...
3577 * sysdeps/nptl/setxid.h: ... here.
3578 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3579 * sysdeps/nptl/sigfillset.c: ... here.
3580 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3581 * sysdeps/nptl/tcb-offsets.h: ... here.
3582 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3583 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3584 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3585 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3586 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3587 * sysdeps/pthread/allocalim.h: ... here.
3588 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3589 * sysdeps/pthread/bits/sigthread.h: ... here.
3590 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3591 * sysdeps/pthread/flockfile.c: ... here.
3592 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3593 * sysdeps/pthread/ftrylockfile.c: ... here.
3594 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3595 * sysdeps/pthread/funlockfile.c: ... here.
3596 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3597 * sysdeps/pthread/posix-timer.h: ... here.
3598 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3599 * sysdeps/pthread/timer_create.c: ... here.
3600 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3601 * sysdeps/pthread/timer_delete.c: ... here.
3602 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3603 * sysdeps/pthread/timer_getoverr.c: ... here.
3604 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3605 * sysdeps/pthread/timer_gettime.c: ... here.
3606 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3607 * sysdeps/pthread/timer_routines.c: ... here.
3608 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3609 * sysdeps/pthread/timer_settime.c: ... here.
3610 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3611 * sysdeps/pthread/tst-timer.c: ... here.
3612 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3613 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3615 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3616 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3618 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3619 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3620 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3621 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3622 Update #include target.
3623 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3624 * sysdeps/i386/i686/nptl/Makefile: ... here.
3625 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3626 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3627 Update #include target.
3628 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3629 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3630 * nptl/sysdeps/i386/Makefile: Moved ...
3631 * sysdeps/i386/nptl/Makefile: ... here.
3632 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3633 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3634 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3635 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3636 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3637 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3638 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3639 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3640 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3641 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3642 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3643 * nptl/sysdeps/i386/tls.h: Moved ...
3644 * sysdeps/i386/nptl/tls.h: ... here.
3646 * sysdeps/sh/Makefile [$(subdir) = csu]
3647 (gen-as-const-headers): Add tcb-offsets.sym.
3648 * nptl/sysdeps/sh/Makefile: File removed.
3649 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3650 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3651 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3652 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3653 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3654 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3655 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3656 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3657 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3658 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3659 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3660 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3661 * nptl/sysdeps/sh/tls.h: Moved ...
3662 * sysdeps/sh/nptl/tls.h: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3666 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3667 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3668 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3670 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3671 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3672 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3674 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3676 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3678 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3680 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3682 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3684 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3686 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3689 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3690 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3692 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3693 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3696 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3698 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3699 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3700 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3701 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3702 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3704 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3706 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3708 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3710 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3712 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3714 * posix/spawn_faction_addopen.c: Include string.h.
3716 2014-06-11 Roland McGrath <roland@hack.frob.com>
3718 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3719 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3720 * nptl/sysdeps/x86_64/Makefile: Moved ...
3721 * sysdeps/x86_64/nptl/Makefile: ... here.
3722 * nptl/sysdeps/x86_64/configure: Moved ...
3723 * sysdeps/x86_64/nptl/configure: ... here.
3724 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3725 * sysdeps/x86_64/nptl/configure.ac: ... here.
3726 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3727 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3728 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3729 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3730 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3731 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3732 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3733 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3734 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3735 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3736 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3737 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3738 * nptl/sysdeps/x86_64/tls.h: Moved ...
3739 * sysdeps/x86_64/nptl/tls.h: ... here.
3740 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3741 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3742 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3743 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3745 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3747 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3751 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3753 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3755 [POSIX] (off_t): Likewise.
3756 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3757 [POSIX] (S_ISBLK): Require macro.
3758 [POSIX] (S_ISCHR): Likewise.
3759 [POSIX] (S_ISDIR): Likewise.
3760 [POSIX] (S_ISFIFO): Likewise.
3761 [POSIX] (S_ISREG): Likewise.
3762 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3764 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3766 [POSIX] (time_t): Likewise.
3767 [POSIX] (timer_t): Likewise.
3769 2014-06-11 Florian Weimer <fweimer@redhat.com>
3772 * posix/spawn_int.h (struct __spawn_action): Make the path string
3773 non-const to support deallocation.
3774 * posix/spawn_faction_addopen.c
3775 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3776 * posix/spawn_faction_destroy.c
3777 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3778 path in all spawn_do_open actions.
3779 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3780 posix_spawn_file_actions_addopen.
3782 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3784 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3785 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3786 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3787 conditional code always true.
3788 (__libc_vfork): New alias.
3790 2014-06-11 Roland McGrath <roland@hack.frob.com>
3792 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3793 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3795 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3797 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3798 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3800 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3801 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3803 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3804 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3806 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3808 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3809 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3810 multiarch strcmp for PPC64.
3811 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3812 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3814 multiarch optimizations.
3815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3816 (__libc_ifunc_impl_list): Likewise.
3818 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3820 * benchtests/scripts/validate_benchout.py: New script.
3821 * benchtests/Makefile (bench-func): Call it.
3822 * benchtests/scripts/benchout.schema.json: New file.
3824 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3826 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3827 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3828 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3829 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3830 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3831 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3832 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3833 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3834 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3835 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3836 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3837 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3838 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3839 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3840 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3841 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3946 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3948 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3951 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3954 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3956 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3958 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3960 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3961 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3962 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3967 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3968 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3970 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3972 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3975 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3979 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3980 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3981 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3983 2014-06-10 Wilco <wdijkstr@arm.com>
3985 * math/test-fenv-return.c: New file.
3986 * math/Makefile: Add new test test-fenv-return.
3988 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3991 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3993 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3994 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3995 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3996 0.0L for an argument of 1.0L.
3997 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3999 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4000 value when x - 1 is zero.
4001 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4008 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4010 2014-06-09 Roland McGrath <roland@hack.frob.com>
4012 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4013 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4015 2014-06-09 Roland McGrath <roland@hack.frob.com>
4017 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4018 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4020 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4021 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4023 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4024 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4026 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4027 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4029 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4030 if not already defined.
4031 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4032 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4033 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4034 (TLS_INIT_TP): Use it.
4035 (TLS_DEFINE_INIT_TP): New macro.
4036 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4038 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4040 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4042 [POSIX] (IXANY): Likewise.
4043 [POSIX] (OLCUC): Likewise.
4044 [POSIX || POSIX2008] (CBAUD): Do not allow.
4045 [POSIX || POSIX2008] (DEFECHO): Likewise.
4046 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4047 [POSIX || POSIX2008] (ECHOKE): Likewise.
4048 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4049 [POSIX || POSIX2008] (EXTA): Likewise.
4050 [POSIX || POSIX2008] (EXTB): Likewise.
4051 [POSIX || POSIX2008] (FLUSHO): Likewise.
4052 [POSIX || POSIX2008] (LOBLK): Likewise.
4053 [POSIX || POSIX2008] (PENDIN): Likewise.
4054 [POSIX || POSIX2008] (SWTCH): Likewise.
4055 [POSIX || POSIX2008] (VDISCARD): Likewise.
4056 [POSIX || POSIX2008] (VDSUSP): Likewise.
4057 [POSIX || POSIX2008] (VLNEXT): Likewise.
4058 [POSIX || POSIX2008] (VREPRINT): Likewise.
4059 [POSIX || POSIX2008] (VSTATUS): Likewise.
4060 [POSIX || POSIX2008] (VWERASE): Likewise.
4061 (B*): Change to B[0123456789]*.
4062 * conform/data/time.h-data [POSIX || UNIX98]
4063 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4064 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4065 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4066 [POSIX] (tm_*): Do not allow.
4068 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4070 * Makefile (install): Don't set LANGUAGE.
4071 * Makefile.in (install): Likewise.
4072 * assert/Makefile (test-assert-ENV): Remove variable.
4073 (test-assert-perr-ENV): Likewise.
4074 * elf/Makefile (neededtest4-ENV): Likewise.
4075 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4076 [$(cross-compiling) = no]: Don't set LANGUAGE.
4077 * io/ftwtest-sh (LANG): Remove variable.
4078 * libio/Makefile (tst-widetext-ENV): Likewise.
4079 * manual/install.texi (Running make install): Don't refer to
4080 environment settings for make install.
4081 * INSTALL: Regenerated.
4082 * nptl/tst-tls6.sh: Don't set LANG.
4083 * posix/globtest.sh (LANG): Remove variable.
4084 * string/Makefile (tester-ENV): Likewise.
4085 (inl-tester-ENV): Likewise.
4086 (noinl-tester-ENV): Likewise.
4087 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4088 [$(cross-compiling) = no]: Don't set LANGUAGE.
4089 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4090 without explicit environment settings.
4092 2014-06-06 Roland McGrath <roland@hack.frob.com>
4094 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4095 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4097 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4099 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4101 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4102 other files in the crypt directory.
4103 * crypt/crypt.c: Remove duplicate includes.
4104 * crypt/crypt-entry.c: Likewise.
4105 * crypt/crypt_util.c: Likewise.
4107 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4109 * Makeconfig (run-program-env): New variable.
4110 (run-program-prefix-before-env): Likewise.
4111 (run-program-prefix-after-env): Likewise.
4112 (run-program-prefix): Define in terms of new variables.
4113 (built-program-cmd-before-env): New variable.
4114 (built-program-cmd-after-env): Likewise.
4115 (built-program-cmd): Define in terms of new variables.
4116 (test-program-prefix-before-env): New variable.
4117 (test-program-prefix-after-env): Likewise.
4118 (test-program-prefix): Define in terms of new variables.
4119 (test-program-cmd-before-env): New variable.
4120 (test-program-cmd-after-env): Likewise.
4121 (test-program-cmd): Define in terms of new variables.
4122 * Rules (make-test-out): Use $(run-program-env).
4123 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4124 (help): Do not mention environment variables. Mention
4125 --timeoutfactor option.
4126 (timeoutfactor): New variable.
4127 (blacklist_exports): Remove function.
4128 (exports): Remove variable.
4129 (command): Do not include ${exports}.
4130 * manual/install.texi (Configuring and compiling): Do not mention
4131 test wrappers preserving environment variables. Mention that last
4132 assignment to a variable must take precedence.
4133 * INSTALL: Regenerated.
4134 * benchtests/Makefile (run-bench): Use $(run-program-env).
4135 * catgets/Makefile ($(objpfx)test1.cat): Use
4136 $(built-program-cmd-before-env), $(run-program-env) and
4137 $(built-program-cmd-after-env).
4138 ($(objpfx)test2.cat): Do not specify environment variables
4140 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4141 $(run-program-env) and $(built-program-cmd-after-env).
4142 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4143 $(run-program-env) and $(test-program-cmd-after-env).
4144 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4146 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4147 run_program_env and test_program_cmd_after_env arguments.
4148 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4149 * elf/tst-pathopt.sh: Use run_program_env argument.
4150 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4151 $(test-wrapper-env) and $(run-program-env).
4152 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4153 run_program_env arguments.
4154 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4155 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4156 $(test-program-prefix-before-env), $(run-program-env) and
4157 $(test-program-prefix-after-env).
4158 ($(objpfx)tst-gettext2.out): Likewise.
4159 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4160 run_program_env and test_program_prefix_after_env arguments.
4161 * intl/tst-gettext2.sh: Likewise.
4162 * intl/tst-gettext4.sh: Do not set environment variables
4164 * intl/tst-gettext6.sh: Likewise.
4165 * intl/tst-translit.sh: Likewise.
4166 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4167 $(test-program-prefix-before-env), $(run-program-env) and
4168 $(test-program-prefix-after-env).
4169 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4170 run_program_env and test_program_prefix_after_env arguments.
4171 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4172 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4173 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4174 explicitly with each use of ${test_wrapper_env}.
4175 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4176 $(test-program-prefix-before-env), $(run-program-env) and
4177 $(test-program-prefix-after-env).
4178 * posix/tst-getconf.sh: Do not set environment variables
4180 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4181 run_program_env and test_program_prefix_after_env arguments.
4182 * stdio-common/tst-printf.sh: Do not set environment variables
4184 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4185 $(test-program-prefix-before-env), $(run-program-env) and
4186 $(test-program-prefix-after-env).
4187 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4188 run_program_env and test_program_prefix_after_env arguments.
4189 Split $test calls into $test_pre and $test.
4190 * timezone/Makefile (build-testdata): Use
4191 $(built-program-cmd-before-env), $(run-program-env) and
4192 $(built-program-cmd-after-env).
4194 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4197 strlen for non SHARED builds.
4199 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4201 * nptl/allocatestack.c (check_list): Inlined function...
4202 (__reclaim_stacks): ... here.
4204 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4207 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4210 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4212 * Rules (make-test-out): Include
4213 LOCPATH=$(common-objpfx)localedata in default environment.
4214 * debug/Makefile (tst-chk1-ENV): Remove variable.
4215 (tst-chk2-ENV): Likewise.
4216 (tst-chk3-ENV): Likewise.
4217 (tst-chk4-ENV): Likewise.
4218 (tst-chk5-ENV): Likewise.
4219 (tst-chk6-ENV): Likewise.
4220 (tst-lfschk1-ENV): Likewise.
4221 (tst-lfschk2-ENV): Likewise.
4222 (tst-lfschk3-ENV): Likewise.
4223 (tst-lfschk4-ENV): Likewise.
4224 (tst-lfschk5-ENV): Likewise.
4225 (tst-lfschk6-ENV): Likewise.
4226 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4227 (tst-iconv7-ENV): Likewise.
4228 * intl/Makefile (LOCPATH-ENV): Likewise.
4229 (tst-codeset-ENV): Likewise.
4230 (tst-gettext3-ENV): Likewise.
4231 (tst-gettext5-ENV): Likewise.
4232 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4233 (tst-fopenloc-ENV): Likewise.
4234 (tst-fgetws-ENV): Remove variable.
4235 (tst-ungetwc1-ENV): Likewise.
4236 (tst-ungetwc2-ENV): Likewise.
4237 (bug-ungetwc2-ENV): Likewise.
4238 (tst-swscanf-ENV): Likewise.
4239 (bug-ftell-ENV): Likewise.
4240 (tst-fgetwc-ENV): Likewise.
4241 (tst-fseek-ENV): Likewise.
4242 (tst-ftell-partial-wide-ENV): Likewise.
4243 (tst-ftell-active-handler-ENV): Likewise.
4244 (tst-ftell-append-ENV): Likewise.
4245 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4246 (tst-regexloc-ENV): Likewise.
4247 (bug-regex1-ENV): Likewise.
4248 (tst-regex-ENV): Likewise.
4249 (tst-regex2-ENV): Likewise.
4250 (bug-regex5-ENV): Likewise.
4251 (bug-regex6-ENV): Likewise.
4252 (bug-regex17-ENV): Likewise.
4253 (bug-regex18-ENV): Likewise.
4254 (bug-regex19-ENV): Likewise.
4255 (bug-regex20-ENV): Likewise.
4256 (bug-regex22-ENV): Likewise.
4257 (bug-regex23-ENV): Likewise.
4258 (bug-regex25-ENV): Likewise.
4259 (bug-regex26-ENV): Likewise.
4260 (bug-regex30-ENV): Likewise.
4261 (bug-regex32-ENV): Likewise.
4262 (bug-regex33-ENV): Likewise.
4263 (bug-regex34-ENV): Likewise.
4264 (bug-regex35-ENV): Likewise.
4265 (tst-rxspencer-ENV): Likewise.
4266 (tst-rxspencer-no-utf8-ENV): Likewise.
4267 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4268 (tst-sscanf-ENV): Likewise.
4269 (tst-swprintf-ENV): Likewise.
4270 (tst-swscanf-ENV): Likewise.
4271 (test-vfprintf-ENV): Likewise.
4272 (scanf13-ENV): Likewise.
4273 (bug14-ENV): Likewise.
4274 (tst-grouping-ENV): Likewise.
4275 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4276 (tst-strtod3-ENV): Likewise.
4277 (tst-strtod4-ENV): Likewise.
4278 (tst-strtod5-ENV): Likewise.
4279 (testmb2-ENV): Likewise./
4280 * string/Makefile (tst-strxfrm-ENV): Likewise.
4281 (tst-strxfrm2-ENV): Likewise.
4282 (bug-strcoll1-ENV): Likewise.
4283 (test-strcasecmp-ENV): Likewise.
4284 (test-strncasecmp-ENV): Likewise.
4285 * time/Makefile (tst-strptime-ENV): Likewise.
4286 (tst-ftime_l-ENV): Likewise.
4287 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4288 (tst-mbrtowc-ENV): Likewise.
4289 (tst-wcrtomb-ENV): Likewise.
4290 (tst-mbrtowc2-ENV): Likewise.
4291 (tst-c16c32-1-ENV): Likewise.
4292 (tst-mbsnrtowcs-ENV): Likewise.
4294 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4296 * manual/resource.texi (How to get information about the memory
4297 subsystem?): Fix typo.
4298 Reported by Peon de la Parra Ivan <peon@keba.com>
4300 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4303 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4304 (pthread_spin_lock): Branch out of spin loop to proper location.
4305 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4306 (pthread_spin_lock): Likewise.
4308 * nptl/tst-spin4.c: New test.
4309 * nptl/Makefile (tests): Add tst-spin4.
4311 2014-06-03 Andreas Schwab <schwab@suse.de>
4314 * resolv/res_send.c (send_dg): Reload file descriptor after
4317 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4319 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4321 2014-06-03 Richard Henderson <rth@redhat.com>
4323 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4324 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4325 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4326 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4327 in the SAVE_PID block.
4328 (__libc_vfork): New alias.
4329 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4331 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4332 child in registers, not on the stack. Remove RESET_PID conditionals.
4333 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4335 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4337 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4339 2014-06-03 Wilco <wdijkstr@arm.com>
4341 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4342 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4343 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4344 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4345 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4348 2014-06-03 Wilco <wdijkstr@arm.com>
4350 * sysdeps/aarch64/fpu/math_private.h
4351 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4352 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4353 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4354 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4357 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4359 * crypt/crypt-private.h: Include ufc-crypt.h.
4360 (__b64_from_24bit): Declare extern.
4361 * crypt/crypt_util.c(__b64_from_24bit): New function.
4362 (b64t): New static const variable.
4363 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4364 (b64t): Remove variable.
4365 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4366 * crypt/sha256-crypt.c: Include crypt-private.h.
4367 (b64t): Remove variable.
4368 (__sha256_crypt_r): Remove b64_from_24bit and replace
4369 with __b64_from_24bit.
4370 * crypt/sha512-crypt.c: Likewise.
4372 2014-06-02 Roland McGrath <roland@hack.frob.com>
4374 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4375 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4376 Label the code __libc_vfork rather than __vfork.
4377 [!NOT_IN_libc] (vfork): Define as weak alias.
4378 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4379 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4380 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4382 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4384 * malloc/malloc.c (malloc_info): Fix format specifier for
4387 2014-06-02 Wilco <wdijkstr@arm.com>
4389 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4392 2014-06-02 Wilco <wdijkstr@arm.com>
4395 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4396 Rewrite to reduce FPCR/FPSR accesses.
4398 2014-06-01 David S. Miller <davem@davemloft.net>
4400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4402 2014-05-31 David S. Miller <davem@davemloft.net>
4404 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4405 to occur in round to nearest mode when |x| >= 2.0
4407 2014-05-30 Richard Henderson <rth@twiddle.net>
4409 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4410 (PSEUDO_RET_NOERRNO): Remove.
4411 (ret): Don't redefine.
4412 (ret_NOERRNO): Define in terms of ret.
4413 (ret_ERRVAL): Likewise.
4415 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4416 use of PSEUDO_RET; perform the error check directly.
4418 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4420 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4423 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 * malloc/malloc (malloc_info): Fix formatting.
4427 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4428 Roland McGrath <roland@hack.frob.com>
4430 * malloc/malloc (malloc_info): Also print mmapped statistics.
4432 2014-05-30 Roland McGrath <roland@hack.frob.com>
4434 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4435 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4437 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4439 * malloc/malloc.c (malloc_info): Inline mi_arena.
4441 2014-05-29 Richard Henderson <rth@twiddle.net>
4443 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4444 Remove comma before expanding ASM_ARGS_##nr.
4445 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4446 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4448 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4449 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4450 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4451 (ASM_ARGS_1): Add leading comma.
4453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4454 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4455 to __errno_location.
4456 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4457 Remove the expected plt for __errno_location.
4459 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4460 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4463 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4464 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4465 it and break it down.
4466 (DOCARGS_0, DOCARGS_1): Do nothing.
4467 (DOCARGS_2): Update to store into the new stack frame.
4468 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4469 (UNDOCARGS_1): Update to restore from the new stack frame.
4470 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4471 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4474 (SINGLE_THREAD_P): New parameter for result regno.
4475 (PSEUDO): Update to match; use cbz instead of beq.
4477 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4478 Use ENTRY to define the _nocancel entry point. Share the syscall
4479 and syscall error check paths with the cancel path.
4482 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4483 whitespace; tabs before and after asm mnemonics.
4485 2014-05-29 Eric Wong <normalperson@yhbt.net>
4488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4489 Call fstat64 or stat64 internally, depending on arguments passed.
4490 Replace stat buffer argument with file descriptor argument.
4491 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4492 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4493 Pass fd to __internal_statvfs instead of calling fstat64.
4494 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4495 Pass fd to __internal_statvfs64 instead of calling fstat64.
4496 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4497 Pass -1 to __internal_statvfs instead of calling stat64.
4498 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4499 Pass -1 to __internal_statvfs64 instead of calling stat64.
4501 2014-05-28 Roland McGrath <roland@hack.frob.com>
4503 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4504 that was previously under [RESET_PID].
4505 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4507 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4508 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4510 2014-05-27 Roland McGrath <roland@hack.frob.com>
4512 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4514 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4515 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4517 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4519 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4521 2014-05-27 Andreas Schwab <schwab@suse.de>
4523 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4525 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4526 * elf/rtld.c (init_tls, dl_main): Likewise.
4527 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4528 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4529 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4530 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4531 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4532 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4533 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4534 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4535 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4536 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4537 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4538 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4539 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4540 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4541 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4542 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4543 * sysdeps/generic/tls.h: Update description.
4545 2014-05-27 Will Newton <will.newton@linaro.org>
4548 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4549 and restore r2 rather than just restoring.
4551 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4554 * libio/tst-ftell-append.c: New test case.
4555 * libio/Makefile (tests): Add test case.
4556 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4558 * libio/wfileops.c (do_ftell_wide): Likewise.
4560 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4564 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4568 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4569 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4571 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4573 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4581 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4582 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4583 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4586 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4587 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4589 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4591 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4593 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4594 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4595 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4597 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4598 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4599 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4600 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4623 conditional [RESET_PID].
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4633 (__libc_vfork): New strong alias.
4634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4641 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4642 (__libc_vfork): New strong alias.
4643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4648 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4650 * malloc/malloc.c (mi_arena): New function.
4651 (malloc_info): Remove nested function mi_arena. Call non-nosted
4654 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4656 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4658 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4659 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4660 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4661 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4662 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4663 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4666 2014-05-26 Andreas Schwab <schwab@suse.de>
4669 * locale/programs/repertoire.c (repertoire_read): Add slash
4670 between I18NPATH element and file name.
4671 * locale/programs/locfile.c (locfile_read): Likewise.
4673 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4675 * nptl/pthread_mutexattr_settype.c
4676 (__pthread_mutexattr_settype):
4677 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4679 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4681 * nptl/tst-mutex5 (do_test):
4682 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4684 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4686 * benchtests/README: Document 'init' directive.
4687 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4689 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4690 (parse_file): Recognize 'init' directive.
4692 2014-05-26 Kyle McMartin <kyle@redhat.com>
4695 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4696 alignment of struct pthread.
4698 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4701 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4702 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4703 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4704 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4706 2014-05-25 Richard Henderson <rth@twiddle.net>
4708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4709 (SINGLE_THREAD_P_PIC): Remove.
4710 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4711 (SINGLE_THREAD_P_PIC): Remove.
4713 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4714 branch to syscall error ...
4716 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4717 from __local_syscall_error to .Lsyscall_error.
4718 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4719 (SYSCALL_ERROR): Update label name.
4721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4722 Do not use DOARGS/UNDOARGS.
4723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4724 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4725 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4726 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4727 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4729 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4732 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4733 define if !NOT_IN_libc.
4734 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4735 define with non-default symbol versions.
4737 2014-05-23 Richard Henderson <rth@twiddle.net>
4739 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4740 (vfork, __vfork): Define via compat_symbol.
4742 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4743 [!HAVE_IFUNC] (vfork_compat): Remove.
4744 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4746 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4749 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4750 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4753 2014-05-23 Richard Henderson <rth@twiddle.net>
4755 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4756 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4757 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4758 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4760 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4761 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4762 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4763 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4764 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4765 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4766 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4767 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4768 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4769 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4770 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4771 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4772 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4773 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4775 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4777 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4778 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4779 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4780 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4781 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4782 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4783 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4791 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4793 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4795 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4796 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4797 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4799 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4800 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4801 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4802 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4803 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4804 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4805 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4807 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4809 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4810 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4811 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4812 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4813 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4814 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4815 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4817 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4818 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4819 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4820 before exiting on error.
4821 (__libc_vfork): New strong alias.
4822 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4823 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4825 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4826 that was previously under [RESET_PID].
4827 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4829 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4831 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4834 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4835 value when x - 1 is zero.
4836 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4837 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4838 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4839 0.0L for an argument of 1.0L.
4840 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4842 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4843 value when x - 1 is zero.
4844 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4845 * sysdeps/i386/fpu/libm-test-ulps: Update.
4846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4850 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4851 alphasort and versionsort.
4853 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4857 [copysignf]: Likewise.
4859 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4861 * crypt/md5-crypt.c: Fix formatting.
4863 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4865 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4866 (b64_from_24bit): New function.
4868 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4871 libc_hidden_builtin_def to ifunc.
4872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4873 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4875 2014-05-21 Roland McGrath <roland@hack.frob.com>
4877 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4878 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4880 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4882 * nscd/Depend (linuxthreads): Remove.
4884 * resolv/Depend (linuxthreads): Remove.
4885 * rt/Depend (linuxthreads): Remove.
4887 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4888 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4889 $(common-objpfx)elf/.
4890 (link-libc-before-gnulib): Likewise.
4891 (elfobjdir): Remove variable.
4892 * Makefile (install): Use $(elf-objpfx) instead of
4893 $(common-objpfx)elf/.
4894 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4896 (link-libc-deps): Likewise.
4897 ($(common-objpfx)libc.so): Likewise.
4898 ($(common-objpfx)linkobj/libc.so): Likewise.
4899 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4900 instead of $(common-objpfx)elf/.
4901 (symbolic-link-list): Likewise.
4902 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4903 [$(cross-compiling) = no]: Likewise.
4904 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4906 (static-gnulib-arch): Likewise.
4907 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4908 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4909 $(common-objpfx)elf/.
4911 2014-05-21 Richard Henderson <rth@redhat.com>
4913 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4914 (SINGLE_THREAD_P): Use the correct width load. Fold
4915 into the ldr offset.
4917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4918 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4920 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4923 (libgcc_s_resume): Use __attribute_used__.
4924 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4927 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4929 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4930 optimization when used with float constants.
4932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4934 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4937 * locale/nl_langinfo_l.c: Make direct reference to every
4938 _nl_current_CATEGORY symbol.
4939 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4940 (tests-static): Add tst-langinfo-static.
4941 (tests-special): Add tst-langinfo-static.out.
4942 ($(objpfx)tst-langinfo.out): Redirect output.
4943 ($(objpfx)tst-langinfo-static.out): New.
4944 * localedata/tst-langinfo.sh: Send output to stdout.
4945 * localedata/tst-langinfo-static.c: New file.
4948 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4949 when the shift amount is modulo the limb size.
4951 2014-05-20 Richard Henderson <rth@redhat.com>
4954 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4955 Change type of sa_flags from unsigned int to int.
4958 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4960 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4962 2014-05-20 Will Newton <will.newton@linaro.org>
4964 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4965 Test the return value of the system call in the nocancel case.
4967 2014-05-20 Will Newton <will.newton@linaro.org>
4968 Yvan Roux <yvan.roux@linaro.org>
4970 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4971 #include of asm/ptrace.h.
4972 (PTRACE_GET_THREAD_AREA): Remove #undef.
4973 (PTRACE_GETHBPREGS): Likewise.
4974 (PTRACE_SETHBPREGS): Likewise.
4975 (struct user_regs_struct): New structure.
4976 (struct user_fpsimd_struct): New structure.
4977 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4978 #include of asm/ptrace.h and second #include of sys/user.h.
4979 (PTRACE_GET_THREAD_AREA): Remove #undef.
4980 (PTRACE_GETHBPREGS): Likewise.
4981 (PTRACE_SETHBPREGS): Likewise.
4982 (ELF_NGREG): Use new struct user_regs_struct.
4983 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4985 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4990 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4994 membar to avoid block loads/stores to overlap previous stores.
4996 2014-05-17 Richard Henderson <rth@redhat.com>
4998 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4999 Create the __##syscall_name##_nocancel entry point.
5000 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5001 Remove; let the sysdep-cancel.h code create it.
5003 2014-05-17 David S. Miller <davem@davemloft.net>
5005 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5006 Protect with __USE_GNU.
5007 (TIOCSET_TEMPT): Likewise.
5008 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5009 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5010 these are already provided in bits/ioctl-types.h
5012 2014-05-16 Roland McGrath <roland@hack.frob.com>
5014 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5015 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5017 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5018 Use wait4 regardless of [__NR_waitpid].
5020 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5023 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5024 (_FP_NANSIGN_Q): Set the quiet bit.
5026 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5028 * benchtests/Makefile
5029 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5030 not $(common-objpfx)math/libm.so.
5031 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5032 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5033 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5034 $(common-objpfx)dlfcn/libdl.so.
5035 ($(objpfx)tst-audit8): Depend on $(libm), not
5036 $(common-objpfx)math/libm.so.
5037 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5038 not $(common-objpfx)dlfcn/libdl.so.
5040 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5041 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5042 [$(build-shared) = yes].
5043 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5044 $(common-objpfx)nptl/libpthread.so.
5045 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5046 $(common-objpfx)math/libm.so$(libm.so-version) or
5047 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5048 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5049 $(common-objpfx)dlfcn/libdl.so.
5050 * setjmp/Makefile (link-libm): Remove variable.
5051 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5052 * stdio-common/Makefile (link-libm): Remove variable.
5053 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5054 * stdlib/Makefile (link-libm): Remove variable.
5055 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5056 ($(objpfx)tst-strtod-round): Likewise.
5057 ($(objpfx)tst-tininess): Likewise.
5058 ($(objpfx)tst-strtod-underflow): Likewise.
5059 ($(objpfx)tst-strtod6): Likewise.
5060 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5061 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5062 $(common-objpfx)dlfcn/libdl.so.
5064 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5067 BSD terminal modes definitions.
5069 2014-05-16 Roland McGrath <roland@hack.frob.com>
5071 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5072 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5074 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5075 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5077 Don't do #include_next.
5078 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5079 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5080 Don't do #include_next.
5081 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5082 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5083 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5084 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5086 2014-05-16 Allan McRae <allan@archlinux.org>
5088 * po/sv.po: Update Swedish translation from translation project.
5090 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5093 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5096 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5097 errno if the TIOCGPTN ioctl fails with an error different than
5099 * login/tst-ptsname.c: New file.
5100 * login/Makefile (tests): Add tst-ptsname.
5103 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5106 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5110 herrno to return EAI_AGAIN.
5112 2014-05-14 Roland McGrath <roland@hack.frob.com>
5114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5115 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5116 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5121 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5125 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5127 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5129 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5139 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5140 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5141 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5143 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5145 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5150 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5152 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5156 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5158 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5160 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5164 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5166 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5168 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5170 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5172 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5174 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5176 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5179 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5181 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5185 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5187 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5191 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5193 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5195 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5197 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5200 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5202 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5205 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5206 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5207 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5208 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5210 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5212 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5213 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5214 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5216 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5217 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5218 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5219 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5220 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5222 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5224 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5226 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5227 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5228 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5229 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5230 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5232 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5234 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5236 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5237 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5239 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5240 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5241 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5242 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5243 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5249 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5252 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5257 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5260 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5261 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5262 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5269 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5274 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5275 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5277 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5280 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5284 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5286 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5288 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5294 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5297 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5302 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5305 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5307 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5309 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5311 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5314 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5317 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5319 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5320 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5322 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5325 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5329 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5330 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5331 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5332 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5333 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5335 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5337 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5346 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5353 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5358 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5360 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5362 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5365 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5366 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5370 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5371 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5373 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5376 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5380 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5382 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5384 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5386 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5388 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5390 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5392 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5393 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5395 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5396 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5398 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5399 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5405 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5411 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5417 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5419 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5422 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5424 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5426 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5431 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5434 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5436 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5438 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5440 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5442 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5444 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5446 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5448 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5450 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5453 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5454 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5455 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5456 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5458 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5459 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5460 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5461 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5462 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5463 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5464 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5465 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5466 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5467 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5472 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5473 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5475 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5477 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5479 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5480 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5481 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5482 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5483 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5484 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5485 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5520 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5522 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5523 that was previously under [RESET_PID].
5524 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5525 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5526 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5528 * sysdeps/i386/nptl/Implies: New file.
5529 * sysdeps/x86_64/nptl/Implies: New file.
5530 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5531 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5533 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5535 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5536 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5537 (__libc_vfork): New strong alias.
5538 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5539 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5541 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5543 (__libc_vfork): New strong alias.
5544 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5545 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5547 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5548 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5549 (__libc_vfork): New strong alias.
5550 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5551 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5552 * nptl/pt-vfork.c: New file.
5553 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5554 (libpthread: GLIBC_2.20): New version set (empty).
5556 2014-05-14 Will Newton <will.newton@linaro.org>
5558 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5561 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5565 arguments with exponent 65 or above.
5566 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5567 arguments 0x1p113L or above.
5568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5569 to arguments 0x1p107L or above.
5570 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5571 positive arguments with exponent 65 or above.
5572 * math/auto-libm-test-in: Add more tests of log1p.
5573 * math/auto-libm-test-out: Regenerated.
5576 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5577 non-finite arguments is +0.
5578 * math/s_cacosf.c (__cacosf): Likewise.
5579 * math/s_cacosl.c (__cacosl): Likewise.
5580 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5581 * sysdeps/i386/fpu/libm-test-ulps: Update.
5582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5587 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5588 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5589 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5590 for explicit high bit of mantissa when testing for argument equal
5592 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5593 * sysdeps/i386/fpu/libm-test-ulps: Update.
5594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5597 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5598 (__erf): Scale by 16 instead of 8 in potentially underflowing
5599 case. Ensure exception if result actually underflows.
5600 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5601 (__erff): Scale by 16 instead of 8 in potentially underflowing
5602 case. Ensure exception if result actually underflows.
5603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5604 (efx8): Remove variable.
5605 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5606 case. Ensure exception if result actually underflows.
5607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5608 (efx8): Remove variable.
5609 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5610 case. Ensure exception if result actually underflows.
5611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5612 (efx8): Remove variable.
5613 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5614 case. Ensure exception if result actually underflows.
5615 * math/auto-libm-test-in: Add more tests of erf.
5616 * math/auto-libm-test-out: Regenerated.
5618 2014-05-14 Andreas Schwab <schwab@suse.de>
5620 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5621 Remove code conditionalized on USE___THREAD.
5623 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5624 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5627 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5630 Define unconditionally.
5631 (__ASSUME_O_CLOEXEC): Likewise.
5632 (__ASSUME_SOCK_CLOEXEC): Likewise.
5633 (__ASSUME_IN_NONBLOCK): Likewise.
5634 (__ASSUME_PIPE2): Likewise.
5635 (__ASSUME_EVENTFD2): Likewise.
5636 (__ASSUME_SIGNALFD4): Likewise.
5637 (__ASSUME_DUP3): Likewise.
5638 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5639 (__ASSUME_DUP3): Do not define.
5640 (__ASSUME_EVENTFD2): Likewise.
5641 (__ASSUME_IN_NONBLOCK): Likewise.
5642 (__ASSUME_O_CLOEXEC): Likewise.
5643 (__ASSUME_PIPE2): Likewise.
5644 (__ASSUME_SIGNALFD4): Likewise.
5645 (__ASSUME_SOCK_CLOEXEC): Likewise.
5646 (__ASSUME_UTIMES): Undefine.
5647 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5648 (__ASSUME_UTIMES): Do not define.
5649 (__ASSUME_O_CLOEXEC): Likewise.
5650 (__ASSUME_SOCK_CLOEXEC): Likewise.
5651 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5652 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5654 (__ASSUME_PIPE2): Likewise.
5655 (__ASSUME_EVENTFD2): Likewise.
5656 (__ASSUME_SIGNALFD4): Likewise.
5657 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5658 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5660 (__ASSUME_EVENTFD2): Likewise.
5661 (__ASSUME_SIGNALFD4): Likewise.
5662 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5663 (__ASSUME_32BITUIDS): Likewise.
5664 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5665 (__ASSUME_IPC64): Likewise.
5666 (__ASSUME_ST_INO_64_BIT): Likewise.
5667 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5668 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5669 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5670 (__ASSUME_UTIMES): Do not define.
5671 (__ASSUME_PSELECT): Likewise.
5672 (__ASSUME_PPOLL): Likewise.
5673 (__ASSUME_O_CLOEXEC): Likewise.
5674 (__ASSUME_SOCK_CLOEXEC): Likewise.
5675 (__ASSUME_IN_NONBLOCK): Likewise.
5676 (__ASSUME_PIPE2): Likewise.
5677 (__ASSUME_EVENTFD2): Likewise.
5678 (__ASSUME_SIGNALFD4): Likewise.
5679 (__ASSUME_DUP3): Likewise.
5680 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5681 (__ASSUME_UTIMES): Likewise.
5682 (__ASSUME_O_CLOEXEC): Likewise.
5683 (__ASSUME_SOCK_CLOEXEC): Likewise.
5684 (__ASSUME_IN_NONBLOCK): Likewise.
5685 (__ASSUME_PIPE2): Likewise.
5686 (__ASSUME_EVENTFD2): Likewise.
5687 (__ASSUME_SIGNALFD4): Likewise.
5688 (__ASSUME_DUP3): Likewise.
5689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5690 (__ASSUME_UTIMES): Likewise.
5691 (__ASSUME_O_CLOEXEC): Likewise.
5692 (__ASSUME_SOCK_CLOEXEC): Likewise.
5693 (__ASSUME_IN_NONBLOCK): Likewise.
5694 (__ASSUME_PIPE2): Likewise.
5695 (__ASSUME_EVENTFD2): Likewise.
5696 (__ASSUME_SIGNALFD4): Likewise.
5697 (__ASSUME_DUP3): Likewise.
5698 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5700 (__ASSUME_UTIMES): Likewise.
5701 (__ASSUME_EVENTFD2): Likewise.
5702 (__ASSUME_SIGNALFD4): Likewise.
5703 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5704 (__ASSUME_O_CLOEXEC): Likewise.
5705 (__ASSUME_SOCK_CLOEXEC): Likewise.
5706 (__ASSUME_IN_NONBLOCK): Likewise.
5707 (__ASSUME_PIPE2): Likewise.
5708 (__ASSUME_EVENTFD2): Likewise.
5709 (__ASSUME_SIGNALFD4): Likewise.
5710 (__ASSUME_DUP3): Likewise.
5711 (__ASSUME_UTIMES): Undefine.
5713 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5714 feclearexcept. Remove symbol versioning code.
5715 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5716 symbol versioning code.
5717 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5718 symbol versioning code.
5719 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5720 feupdateenv. Remove symbol versioning code.
5721 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5722 fegetexceptflag. Remove symbol versioning code.
5723 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5724 fesetexceptflag. Remove symbol versioning code.
5725 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5726 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5727 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5728 (__posix_fadvise64_l32): Remove prototype.
5729 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5732 2014-05-13 Roland McGrath <roland@hack.frob.com>
5734 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5735 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5736 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5737 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5739 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5741 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5742 current working directory
5744 2014-05-13 Roland McGrath <roland@hack.frob.com>
5746 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5747 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5748 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5749 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5750 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5751 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5752 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5757 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5758 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5765 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5766 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5767 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5769 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5771 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5773 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5774 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5779 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5780 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5781 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5782 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5783 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5784 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5785 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5786 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5787 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5789 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5790 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5792 * sysdeps/unix/sysv/linux/arm/Makefile
5793 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5794 Add rt-aeabi_unwind_cpp_pr1.
5795 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5796 Add nptl-aeabi_unwind_cpp_pr1.
5797 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5798 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5799 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5800 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5801 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5802 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5804 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5805 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5806 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5807 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5809 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5810 Deconditionalize the code that was previously under [RESET_PID].
5811 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5813 * sysdeps/generic/exit-thread.h: New file.
5814 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5815 * include/unistd.h (__exit_thread): Remove declaration.
5816 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5817 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5818 * csu/libc-start.c: Include <exit-thread.h>.
5819 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5820 * nptl/pthread_create.c: Include <exit-thread.h>.
5821 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5822 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5823 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5824 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5825 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5826 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5827 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5828 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5829 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5830 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5831 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5832 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5833 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5834 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5835 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5836 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5837 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5839 2014-05-13 Andreas Schwab <schwab@suse.de>
5841 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5843 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5845 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5846 (__ASSUME_UTIMES): Do not condition on kernel version.
5847 (__ASSUME_PSELECT): Define unconditionally.
5848 (__ASSUME_PPOLL): Likewise.
5849 (__ASSUME_ATFCTS): Likewise.
5850 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5851 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5852 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5853 (__ASSUME_UTIMENSAT): Define unconditionally.
5854 (__ASSUME_PRIVATE_FUTEX): Likewise.
5855 (__ASSUME_FALLOCATE): Likewise.
5856 (__ASSUME_O_CLOEXEC): Likewise.
5857 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5858 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5859 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5860 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5861 (__ASSUME_IN_NONBLOCK): Likewise.
5862 (__ASSUME_PIPE2): Likewise.
5863 (__ASSUME_EVENTFD2): Likewise.
5864 (__ASSUME_SIGNALFD4): Likewise.
5865 (__ASSUME_DUP3): Likewise.
5866 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5867 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5868 (__ASSUME_AT_RANDOM): Likewise.
5869 (__ASSUME_PREADV): Likewise.
5870 (__ASSUME_PWRITEV): Likewise.
5871 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5872 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5873 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5874 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5875 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5876 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5877 (__ASSUME_O_CLOEXEC): Define unconditionally.
5878 (__ASSUME_PSELECT): Do not undefine conditionally.
5879 (__ASSUME_PPOLL): Likewise.
5880 (__ASSUME_ATFCTS): Likewise.
5881 (__ASSUME_SET_ROBUST_LIST): Likewise.
5882 (__ASSUME_UTIMENSAT): Likewise.
5883 (__ASSUME_FDATASYNC): Define unconditionally.
5884 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5885 (__ASSUME_SIGFRAME_V2): Likewise.
5886 )__ASSUME_EVENTFD2): Likewise.
5887 (__ASSUME_SIGNALFD4): Likewise.
5888 (__ASSUME_PSELECT): Do not undefine conditionally.
5889 (__ASSUME_PPOLL): Likewise.
5890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5891 (__ASSUME_PSELECT): Define unconditionally.
5892 (__ASSUME_PPOLL): Likewise.
5893 (__ASSUME_O_CLOEXEC): Likewise.
5894 (__ASSUME_SOCK_CLOEXEC): Likewise.
5895 (__ASSUME_IN_NONBLOCK): Likewise.
5896 (__ASSUME_PIPE2): Likewise.
5897 (__ASSUME_EVENTFD2): Likewise.
5898 (__ASSUME_SIGNALFD4): Likewise.
5899 (__ASSUME_DUP3): Likewise.
5900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5901 (__ASSUME_O_CLOEXEC): Likewise.
5902 (__ASSUME_SOCK_CLOEXEC): Likewise.
5903 (__ASSUME_IN_NONBLOCK): Likewise.
5904 (__ASSUME_PIPE2): Likewise.
5905 (__ASSUME_EVENTFD2): Likewise.
5906 (__ASSUME_SIGNALFD4): Likewise.
5907 (__ASSUME_DUP3): Likewise.
5908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5909 (__ASSUME_EVENTFD2): Likewise.
5910 (__ASSUME_SIGNALFD4): Likewise.
5911 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5913 2014-05-12 Andreas Schwab <schwab@suse.de>
5916 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5917 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5918 than maximum RPC packet size.
5919 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5920 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5921 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5922 (_nss_nis_getservbyport_r): Likewise.
5924 2014-05-12 Will Newton <will.newton@linaro.org>
5926 * malloc/Makefile (tests): Add tst-mallopt.
5927 * malloc/tst-mallopt.c: New file.
5929 2014-05-09 Roland McGrath <roland@hack.frob.com>
5931 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5932 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5934 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5937 (tst-tlsmod6.so): Likewise.
5939 2014-05-09 Roland McGrath <roland@hack.frob.com>
5941 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5943 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5947 and <dl-procinfo.h>.
5948 (__fegetenv): Save SSE state in envp->__eip if supported.
5949 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5950 envp->__eip if supported.
5951 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5952 and <dl-procinfo.h>.
5953 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5954 __data_offset and __data_selector in environment to 0. Set SSE
5956 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5958 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5960 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5962 2014-05-09 Will Newton <will.newton@linaro.org>
5964 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5965 and libc_relro_required for ARM.
5966 * sysdeps/arm/preconfigure: Regenerate.
5968 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5969 Stefan Liebler <stli@linux.vnet.ibm.com>
5971 * config.make.in (enable-lock-elision): New Makefile variable.
5972 * configure.ac: Likewise.
5973 * configure: Regenerate.
5974 * sysdeps/s390/configure.ac:
5975 Add check for gcc transactions support.
5976 * sysdeps/s390/configure: Regenerate.
5977 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5978 Build elision files if enabled.
5979 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5980 Add lock elision support for s390.
5981 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5982 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5983 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5984 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5985 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5986 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5993 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5995 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5996 (__lll_timedlock_elision, __lll_lock_elision)
5997 (__lll_unlock_elision, __lll_trylock_elision)
5998 (lll_timedlock_elision, lll_lock_elision)
5999 (lll_unlock_elision, lll_trylock_elision): Add.
6000 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6001 (pthread_mutex_t): Add lock elision support for s390.
6003 2014-05-14 Wilco <wdijkstr@arm.com>
6005 * sysdeps/arm/fclrexcpt.c: Cleanup.
6006 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6007 * sysdeps/arm/feenablxcpt.c: Cleanup.
6008 * sysdeps/arm/fegetenv.c: Cleanup.
6009 * sysdeps/arm/fegetexcept.c: Cleanup.
6010 * sysdeps/arm/fegetround.c: Cleanup.
6011 * sysdeps/arm/feholdexcpt.c: Cleanup.
6012 * sysdeps/arm/fesetenv.c: Cleanup.
6013 * sysdeps/arm/fesetround.c: Cleanup.
6014 * sysdeps/arm/feupdateenv.c: Cleanup.
6015 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6016 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6017 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6018 * sysdeps/arm/ftestexcept.c: Cleanup.
6019 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6020 * sysdeps/arm/setfpucw.c: Cleanup.
6022 2014-05-09 Will Newton <will.newton@linaro.org>
6024 * sysdeps/arm/armv7/strcmp.S: New file.
6025 * NEWS: Mention addition of ARMv7 optimized strcmp.
6027 2014-05-08 Roland McGrath <roland@hack.frob.com>
6029 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6030 look for %.ac rather than %.in.
6032 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6033 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6034 * sysdeps/mach/hurd/configure: Regenerated.
6035 * sysdeps/unix/sysv/linux/configure: Regenerated.
6037 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6039 2014-05-07 Steve Ellcey <sellcey@mips.com>
6042 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6046 2014-05-07 Andreas Schwab <schwab@suse.de>
6048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6049 when skipping over non-matching result from nscd.
6051 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6054 * nptl/sockperf.c (client): Check socket return value.
6057 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6058 nscd security class.
6060 2014-05-06 Roland McGrath <roland@hack.frob.com>
6062 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6063 * sysdeps/arm/unwind.h: ... here.
6065 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6068 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6071 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6073 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6074 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6075 multiarch strncpy for PPC64.
6076 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6077 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6079 multiarch optimizations.
6080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6081 (__libc_ifunc_impl_list): Likewise.
6082 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6083 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6084 multiarch stpncpy for PPC64.
6085 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6086 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6088 2014-05-06 Andreas Schwab <schwab@suse.de>
6091 * gmon/mcount.c (_MCOUNT_DECL): Use
6092 atomic_compare_and_exchange_bool_acq instead of
6093 catomic_compare_and_exchange_bool_acq.
6095 2014-05-05 Roland McGrath <roland@hack.frob.com>
6097 * elf/Makefile (others, install-bin): Remove pldd.
6098 (pldd-modules): Variable removed.
6099 ($(objpfx)pldd): Target removed.
6100 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6101 (others, install-bin): Append pldd here.
6102 ($(objpfx)pldd): New target.
6104 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6105 to 0, so the first #if test emitted later doesn't see it undefined.
6106 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6107 * sysdeps/gnu/errlist.c: Regenerated.
6109 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6112 [libc_hidden_builtin_def]: Define to empty value.
6113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6114 [libc_hidden_builtin_def]: Likewise.
6115 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6116 [libc_hidden_builtin_def]: Likewise.
6117 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6118 [libc_hidden_builtin_def]: Likewise.
6119 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6120 __redirect_memcpy and define ifunc as default hidden symbol.
6121 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6122 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6124 2014-05-04 Adam Conrad <adconrad@0c3.net>
6126 * locale/iso-4217.def: Reintroduce XDR currency.
6128 2014-05-04 Allan McRae <allan@archlinux.org>
6130 * po/eo.po: Update Esperanto translation from translation project.
6132 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6134 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6135 and FEATURE_INDEX_MAX to 1.
6136 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6138 2014-05-01 Steve Ellcey <sellcey@mips.com>
6140 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6141 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6142 * iconvdata/big5.c (ONE_DIRECTION): Define.
6143 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6144 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6145 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6146 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6147 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6148 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6149 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6150 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6151 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6152 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6153 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6154 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6155 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6156 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6157 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6158 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6159 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6160 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6161 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6162 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6163 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6164 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6165 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6166 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6167 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6168 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6169 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6170 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6171 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6172 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6173 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6174 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6175 * iconvdata/johab.c (ONE_DIRECTION): Define.
6176 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6177 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6178 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6179 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6180 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6181 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6182 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6183 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6184 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6185 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6187 2014-05-01 Roland McGrath <roland@hack.frob.com>
6189 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6190 (_IO_JUMPS_OFFSET): Define to 0.
6192 * nptl/sysdeps/pthread/bits/libc-lock.h
6193 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6194 (__libc_lock_define_initialized_recursive): Always define using
6195 initializer. Modern compilers treat uninitialized (implicit zero) and
6196 explicit zero initializers the same (i.e. put the datum in bss).
6198 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6200 * nscd/nscd-client.h: Include <string.h>.
6202 2014-05-01 David S. Miller <davem@davemloft.net>
6205 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6206 multiple zero bytes exist at the end of a string.
6207 Reported by Aurelien Jarno <aurelien@aurel32.net>
6209 * string/test-strcmp.c (check): Add explicit test for situations where
6210 there are multiple zero bytes after the first.
6212 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6215 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6216 when compiling wprintf.
6217 * stdio-common/tstdiomisc.c (t3): New function.
6220 2014-05-01 Steve Ellcey <sellcey@mips.com>
6222 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6223 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6224 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6225 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6227 2014-05-01 Steve Ellcey <sellcey@mips.com>
6229 * stdlib/longlong.h: Updated from GCC.
6231 2014-05-01 Will Newton <will.newton@linaro.org>
6232 Bernard Ogden <bernie.ogden@linaro.org>
6234 * NEWS: Update fixed bug list.
6237 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6239 2014-04-30 David S. Miller <davem@davemloft.net>
6241 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6242 (libc_feholdexcept_setround_sparc_ctx): New function.
6243 (libc_fesetenv_sparc_ctx): Likewise.
6244 (libc_feupdateenv_sparc_ctx): Likewise.
6245 (libc_feholdsetround_sparc_ctx): Likewise.
6246 (libc_feholdexcept_setround_ctx): Define.
6247 (libc_feholdexcept_setroundf_ctx): Likewise.
6248 (libc_feholdexcept_setroundl_ctx): Likewise.
6249 (libc_fesetenv_ctx): Likewise.
6250 (libc_fesetenvf_ctx): Likewise.
6251 (libc_fesetenvl_ctx): Likewise.
6252 (libc_feupdateenv_ctx): Likewise.
6253 (libc_feupdateenvf_ctx): Likewise.
6254 (libc_feupdateenvl_ctx): Likewise.
6255 (libc_feresetround_ctx): Likewise.
6256 (libc_feresetroundf_ctx): Likewise.
6257 (libc_feresetroundl_ctx): Likewise.
6258 (libc_feholdsetround_ctx): Likewise.
6259 (libc_feholdsetroundf_ctx): Likewise.
6260 (libc_feholdsetroundl_ctx): Likewise.
6262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6263 with __USE_GNU instead of XOPEN cpp guards.
6265 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6269 with XOPEN cpp guards.
6271 2014-04-30 Julian Brown <julian@codesourcery.com>
6274 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6277 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6282 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6283 * sysdeps/unix/sysv/linux/configure: Regenerated.
6284 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6285 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6286 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6287 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6288 * README: Update reference to required Linux kernel version.
6289 * manual/install.texi (Linux): Update reference to required Linux
6290 kernel headers version.
6291 * INSTALL: Regenerated.
6293 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6295 [POSIX] (limits.h): Likewise.
6296 [POSIX] (math.h): Likewise.
6297 [POSIX] (sys/wait.h): Likewise.
6298 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6300 [POSIX] (stddef.h): Do not allow header inclusion.
6302 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6306 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6308 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6309 Return immediately after lll_futex_wake.
6311 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6314 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6316 (datahead_init_pos): Call datahead_init_common early.
6317 (datahead_init_neg): Likewise.
6319 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6320 datahead_init_neg): New functions.
6321 * nscd/aicache.c (addhstaiX): Use them.
6322 * nscd/grpcache.c (cache_addgr): Likewise.
6323 * nscd/hstcache.c (cache_addhst): Likewise.
6324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6325 * nscd/netgroupcache.c (do_notfound): Likewise.
6326 (addgetnetgrentX): Likewise.
6327 (addinnetgrX): Likewise.
6328 * nscd/pwdcache.c (cache_addpw): Likewise.
6329 * nscd/servicescache.c (cache_addserv): Likewise.
6331 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6332 Atsushi Onoe <atsushi@onoe.org>
6337 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6338 one response is valid.
6339 * resolv/res_send.c (send_dg): Check for validity of other
6340 response if the current response is a referral.
6342 2014-04-29 Steve Ellcey <sellcey@mips.com>
6344 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6346 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6349 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6350 Always divide by positive zero when computing -Inf result.
6351 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6352 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6354 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6357 FPSCR if value do not change.
6358 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6359 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6360 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6361 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6362 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6363 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6366 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6368 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6369 * sysdeps/unix/sysv/linux/hppa: Move directory from
6370 ports/systeps/unix/sysv/linux/hppa.
6371 * README: Update listing for hppa-*-linux-gnu.
6373 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6376 * manual/stdio.texi (Hook functions): Fix types of stream hook
6379 * socket/sys/socket.h: Fix typo in comment.
6381 2014-04-28 Wilco <wdijkstr@arm.com>
6383 * sysdeps/arm/fenv_private.h: New file.
6384 * sysdeps/arm/math_private.h: New file.
6385 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6387 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6389 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6391 (La_x86_64_retval): Likewise.
6393 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6395 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6396 fpsr if value didn't change.
6397 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6398 to fpcr if value didn't change.
6399 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6400 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6401 fpsr or fpcr if value didn't change.
6402 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6403 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6404 fpcr if value didn't change.
6405 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6406 to fpsr if value didn't change.
6408 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6410 * nptl/tst-sem3.c: Use test-skeleton.c
6411 (main): Rename to do_test. Use return instead of
6413 * nptl/tst-sem4.c: Use test-skeleton.c
6414 (main): Rename to do_test.
6416 2014-04-22 David S. Miller <davem@davemloft.net>
6418 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6419 (struct sigaction): New struct member __glibc_reserved0, change
6420 type of sa_flags to int.
6422 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6424 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6425 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6427 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6429 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6430 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6432 2014-04-22 Will Newton <will.newton@linaro.org>
6433 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6435 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6436 (__longjmp): Add longjmp and longjmp_target SystemTap
6438 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6439 (__sigsetjmp): Add setjmp SystemTap probe.
6441 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6443 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6446 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6448 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6450 * sysdeps/powerpc/fpu/fenv_private.h
6451 (libc_feholdexcept_setroundl_ctx): Define to
6452 libc_feholdexcept_setround_ppc_ctx.
6453 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6454 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6455 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6456 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6458 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6460 * sysdeps/aarch64/math-tests.h: New file.
6462 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6464 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6467 Check and set bit_AVX2_Usable.
6468 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6470 (bit_AVX2): Likewise.
6471 (index_AVX2_Usable): Likewise.
6472 (CPUID_AVX2): Likewise.
6473 (HAS_AVX2): Likewise.
6475 2014-04-17 Will Newton <will.newton@linaro.org>
6477 * manual/setjmp.texi (System V contexts): Add note that
6478 calling setcontext on a context created by a call to a
6479 signal handler is undefined. Update text to note that
6480 setcontext from a signal handler is possible but not
6484 * stdlib/tst-setcontext.c: Include signal.h.
6485 (main): Check that the signal stack before and
6486 after swapcontext is the same.
6488 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6489 Re-implement to restore registers in user code and avoid
6490 rt_sigreturn system call.
6492 2014-04-17 Wilco <wdijkstr@arm.com>
6494 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6495 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6496 * math/test-fenv.c: Skip exception trap tests on targets which only
6497 support non-stop mode.
6499 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6500 Wilco Dijkstra <wilco.dijkstra@arm.com>
6502 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6503 (libc_feholdsetround_aarch64_ctx)
6504 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6505 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6506 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6507 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6508 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6509 (libc_feresetround_noexl_ctx): Define.
6511 2014-04-16 Richard Henderson <rth@redhat.com>
6513 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6515 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6518 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6519 const from the non-libc, non-ldso copy.
6521 * sysdeps/alpha/libm-test-ulps: Regenerate.
6523 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6524 Wilco Dijkstra <wilco.dijkstra@arm.com>
6526 * sysdeps/aarch64/fpu/math_private.h: New file.
6528 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6530 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6532 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6534 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6535 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6537 Intel MPX bound registers before _dl_profile_fixup.
6538 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6539 registers after _dl_profile_fixup. Save and restore bound
6540 registers bnd0/bnd1 when calling _dl_call_pltexit.
6541 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6542 (LR_BND_OFFSET): Likewise.
6543 (LRV_BND0_OFFSET): Likewise.
6544 (LRV_BND1_OFFSET): Likewise.
6546 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6548 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6550 * sysdeps/mach/hurd/i386/tls.h: ... here.
6551 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6552 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6555 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6557 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6559 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6561 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6563 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6566 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6567 * sysdeps/s390/configure: Regenerate.
6570 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6571 Set round-to-nearest internally to reduce error accumulation.
6573 2014-04-16 Alan Modra <amodra@gmail.com>
6577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6578 * math/libm-test.inc (frexp_test_data): Add tests.
6579 * NEWS: Update fixed bug list.
6581 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6583 * benchtests/Makefile: Depend on libraries in build directory.
6584 (bench-math): Separate out math tests.
6585 (bench-pthread): Separate out pthread tests.
6586 (bench): Include math and pthread tests.
6588 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6591 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6592 _dl_debug_initialize.
6594 * configure.ac: Remove SELinux header check.
6595 * configure: Regenerate.
6596 * nscd/selinux.c (perms): Array of const char* to permission names.
6597 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6598 default policy. Call string_to_security_class and string_to_av_perm to
6599 translate strings. Enforce default policy and call avs_has_perm with
6600 results of translated strings.
6602 2014-04-13 David S. Miller <davem@davemloft.net>
6604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6606 2014-04-12 Allan McRae <allan@archlinux.org>
6609 * manual/string.texi (Collation Functions): Fix qsort argument
6611 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6613 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6615 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6616 Make the test a no-op if there are no exceptions defined.
6618 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6620 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6621 enable-hardcoded-path-in-tests
6623 2014-04-11 Will Newton <will.newton@linaro.org>
6625 * benchtests/Makefile (extra-objs): Add json-lib.o.
6626 (bench-func): Tidy up JSON output.
6627 * benchtests/bench-skeleton.c: Include json-lib.h.
6628 (main): Use JSON library functions to do output of
6630 * benchtests/bench-timing-type.c (main): Output the
6631 timing type simply, leaving formatting to the user.
6632 * benchtests/json-lib.c: New file.
6633 * benchtests/json-lib.h: Likewise.
6635 2014-04-11 Torvald Riegel <triegel@redhat.com>
6638 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6639 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6640 memory barriers. Add comments.
6641 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6642 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6643 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6644 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6645 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6646 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6648 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6650 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6651 * sysdeps/s390/s390-64/configure.ac: ... this ...
6652 * sysdeps/s390/configure.ac: ... to here.
6653 * sysdeps/s390/s390-32/configure: Delete file.
6654 * sysdeps/s390/s390-64/configure: Delete file.
6655 * sysdeps/s390/configure: Regenerate.
6657 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6659 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6661 2014-04-11 Will Newton <will.newton@linaro.org>
6663 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6664 to zero if it is not defined elsewhere. (mtrim): Test
6665 the value of MALLOC_DEBUG with #if rather than #ifdef.
6667 2014-04-10 Torvald Riegel <triegel@redhat.com>
6669 * benchtests/pthread_once-inputs: New file.
6670 * benchtests/pthread_once-source.c: New file.
6671 * benchtests/README: Update documentation.
6673 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6674 H.J. Lu <hongjiu.lu@intel.com>
6676 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6677 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6678 * sysdeps/x86_64/configure: Regenerated.
6679 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6681 (REGISTER_SAVE_RAX): Likewise.
6682 (REGISTER_SAVE_RCX): Likewise.
6683 (REGISTER_SAVE_RDX): Likewise.
6684 (REGISTER_SAVE_RSI): Likewise.
6685 (REGISTER_SAVE_RDI): Likewise.
6686 (REGISTER_SAVE_R8): Likewise.
6687 (REGISTER_SAVE_R9): Likewise.
6688 (REGISTER_SAVE_BND0): Likewise.
6689 (REGISTER_SAVE_BND1): Likewise.
6690 (REGISTER_SAVE_BND2): Likewise.
6691 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6692 bound registers when calling _dl_fixup.
6694 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6696 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6697 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6699 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6700 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6701 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6702 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6703 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6704 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6705 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6707 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6710 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6711 pathconf(_PC_NAME_MAX).
6713 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6717 (__PTHREAD_SPINS): Move definition to ...
6718 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6719 (__PTHREAD_SPINS): ... here.
6720 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6721 (__PTHREAD_SPIN): Likewise.
6722 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6723 (__PTHREAD_SPIN): Likewise.
6724 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6725 (__PTHREAD_SPIN): Likewise.
6726 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6727 (__PTHREAD_SPIN): Likewise.
6728 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6729 (__PTHREAD_SPIN): Likewise.
6730 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6731 (__PTHREAD_SPIN): Likewise.
6732 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6733 (__PTHREAD_SPIN): Likewise.
6734 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6735 (__PTHREAD_SPIN): Likewise.
6736 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6737 (__PTHREAD_SPIN): Likewise.
6738 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6739 (__PTHREAD_SPIN): Likewise.
6740 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6741 (__PTHREAD_SPIN): Likewise.
6742 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6743 (__PTHREAD_SPIN): Likewise.
6745 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6746 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6747 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6748 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6750 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6751 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6752 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6753 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6755 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6756 strlen symbol for non multi-arch builds.
6757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6758 missing hidden_def and weak_alias.
6760 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6762 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6764 2014-04-07 Will Newton <will.newton@linaro.org>
6766 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6767 and contents. [!_LIBC] Remove #ifndef and contents.
6768 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6769 * string/memccpy.c (__memccpy): Use ANSI prototype.
6770 * string/memfrob.c (memfrob): Likewise.
6771 * string/strcoll.c (STRCOLL): Likewise.
6772 * string/strlen.c (strlen): Likewise.
6773 * string/strtok.c (STRTOK): Likewise.
6774 * string/strcat.c: Remove unused #include of memcopy.h.
6775 (strcat): Use ANSI prototype.
6776 * string/strchr.c: Remove unused #include of memcopy.h.
6777 (strchr): Use ANSI prototype.
6778 * string/strcmp.c: Remove unused #include of memcopy.h.
6779 (strcmp): Use ANSI prototype.
6780 * string/strcpy.c: Remove unused #include of memcopy.h.
6781 (strcpy): Use ANSI prototype.
6783 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6786 * config.make.in (config-extra-cppflags): Set it from
6787 libc_extra_cppflags.
6788 * configure.ac (libc_extra_cflags): Make it accumulate over
6789 configure fragments.
6790 (libc_extra_cppflags): New flag.
6791 * configure. Regenerate.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6793 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6794 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6799 result for FE_DOWNWARD rounding mode.
6800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6804 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6806 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6807 in function argument name.
6809 2014-04-03 David Svoboda <svoboda@cert.org>
6812 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6815 2014-04-03 Roland McGrath <roland@hack.frob.com>
6817 * elf/dl-unmap-segments.h: New file.
6818 * sysdeps/generic/ldsodefs.h
6819 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6820 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6821 * elf/dl-fptr.c: Likewise.
6822 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6823 * sysdeps/aarch64/tlsdesc.c: Likewise.
6824 * sysdeps/arm/tlsdesc.c: Likewise.
6825 * sysdeps/i386/tlsdesc.c: Likewise.
6826 * sysdeps/tile/dl-runtime.c: Likewise.
6827 * sysdeps/x86_64/tlsdesc.c: Likewise.
6828 * elf/dl-load.h: New file.
6829 * elf/dl-load.c: Include it.
6830 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6831 Macros moved to dl-load.h.
6832 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6833 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6834 Use _dl_unmap_segments in place of __munmap.
6835 Break out segment-mapping loop into ...
6836 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6838 2014-04-03 Will Newton <will.newton@linaro.org>
6840 * elf/dl-lookup.c (do_lookup_x): Remove comment
6841 referring to nested function and move variable
6842 declarations down to before first use.
6844 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6848 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6850 * math/s_catanf.c (__catanf): Likewise.
6851 * math/s_catanh.c (__catanh): Likewise.
6852 * math/s_catanhf.c (__catanhf): Likewise.
6853 * math/s_catanhl.c (__catanhl): Likewise.
6854 * math/s_catanl.c (__catanl): Likewise.
6855 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6856 by positive zero when computing -Inf result.
6857 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6858 (catanh_test): Likewise.
6859 * sysdeps/i386/fpu/libm-test-ulps: Update.
6860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6864 instead of using underflowing value in computing result.
6865 * math/s_clog10.c (__clog10): Likewise.
6866 * math/s_clog10f.c (__clog10f): Likewise.
6867 * math/s_clog10l.c (__clog10l): Likewise.
6868 * math/s_clogf.c (__clogf): Likewise.
6869 * math/s_clogl.c (__clogl): Likewise.
6870 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6871 (clog10_test): Likewise.
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6875 2014-04-02 Alan Modra <amodra@gmail.com>
6878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6879 output when value is near a power of two. Use int64_t for lx and
6880 remove casts. Use decimal rather than hex exponent constants.
6881 Don't use long double multiplication when double will suffice.
6882 * math/libm-test.inc (nextafter_test_data): Add tests.
6883 * NEWS: Add 16739 and 16786 to bug list.
6885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6887 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6889 2014-04-01 Will Newton <will.newton@linaro.org>
6891 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6892 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6894 2014-04-01 Florian Weimer <fweimer@redhat.com>
6897 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6898 * nptl/tst-setuid2.c: New file.
6899 * nptl/Makefile (xtests): Add tst-setuid2.
6901 2014-04-01 Alan Modra <amodra@gmail.com>
6904 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6906 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6910 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6911 set errno as appropriate.
6912 * math/w_scalbf.c (__scalbf): Likewise.
6913 * math/w_scalbl.c (__scalbl): Likewise.
6914 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6915 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6916 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6920 * math/w_atan2.c: Include <errno.h>.
6921 (__atan2): Set errno for result underflowing to zero.
6922 * math/w_atan2f.c: Include <errno.h>.
6923 (__atan2f): Set errno for result underflowing to zero.
6924 * math/w_atan2l.c: Include <errno.h>.
6925 (__atan2l): Set errno for result underflowing to zero.
6926 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6928 * math/auto-libm-test-out: Regenerated.
6930 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6932 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6933 Encode instruction correctly in little endian.
6934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6936 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6938 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6940 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6943 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6946 * sysdeps/unix/sysv/linux/kernel-features.h
6947 [__sparc__ && !__arch64__ && !__sparc_v9__]
6948 (__ASSUME_SET_ROBUST_LIST): Do not define.
6949 [__sparc__ && !__arch64__ && !__sparc_v9__]
6950 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6951 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6953 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6954 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6955 (__ASSUME_REQUEUE_PI): Likewise.
6956 (__ASSUME_SET_ROBUST_LIST): Likewise.
6957 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6958 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6961 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6963 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6965 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6968 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6970 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6971 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6975 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6976 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6977 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6979 2014-03-31 Will Newton <will.newton@linaro.org>
6981 * benchtests/Makefile (bench): Add ffs and ffsll to list
6983 * benchtests/ffs-inputs: New file.
6984 * benchtests/ffsll-inputs: Likewise.
6986 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6989 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6990 too large before casting to int.
6991 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6992 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6993 * math/libm-test.inc (scalb_test_data): Add more tests.
6995 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6997 * benchtests/Makefile (DETAILED_OPT): New make option.
6998 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7000 * benchtests/bench-skeleton.c: Include stdbool.h.
7001 (main): Store and print timings per input.
7002 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7003 member to each argument value.
7004 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7005 (_print_arg_data): Initialize per-input timing to 0.
7007 * benchtests/Makefile (timing-type): New binary.
7008 (bench-clean): Also remove bench-timing-type.
7009 (bench): New target for timing-type.
7010 (bench-func): Print output in JSON format.
7011 * benchtests/bench-skeleton.c (main): Print output in JSON
7013 * benchtests/bench-timing-type.c: New file.
7014 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7015 (TIMING_PRINT_STATS): Remove.
7016 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7019 * benchtests/bench-modf.c: Remove.
7020 * benchtests/modf-inputs: New inputs file.
7022 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7025 * math/s_clog10.c (M_PI_LOG10E): New macro.
7026 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7027 imaginary parts are 0.
7028 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7029 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7030 imaginary parts are 0.
7031 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7032 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7033 imaginary parts are 0.
7034 * math/libm-test.inc (clog10_test_data): Update expected results
7035 for when real and imaginary parts are 0.
7037 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7039 * elf/dl-load.c: Finish conversion of __builtin_expect into
7042 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7046 1+x for argument with exponent below -67.
7047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7049 * math/auto-libm-test-in: Add more tests of exp.
7050 * math/auto-libm-test-out: Regenerated.
7052 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7055 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7056 (nscd_getnetgrent): Use it.
7059 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7062 2014-03-27 Andi Kleen <ak@linux.intel.com>
7064 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7065 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7066 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7067 (lll_robust_unlock): Remove out of line section. Use cfi
7069 (LLL_STUB_UNWIND_INFO*): Remove.
7070 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7071 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7072 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7073 (lll_robust_unlock): Remove out of line section. Use cfi
7075 (LLL_STUB_UNWIND_INFO*): Remove.
7077 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7080 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7083 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7085 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7087 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7090 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7092 * math/test-fenv-preserve.c: New file.
7093 * math/Makefile (tests): Add test-fenv-preserve.
7095 2014-03-26 Will Newton <will.newton@linaro.org>
7097 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7099 2014-03-25 Roland McGrath <roland@hack.frob.com>
7101 * scripts/versionlist.awk: Partition the version sets and emit all
7102 GLIBC_* (sorted) before all others (sorted).
7104 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7106 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7107 GLIBC_2.2.5 version.
7109 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7111 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7114 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7119 2014-03-25 Andreas Schwab <schwab@suse.de>
7121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7122 label to be used after in6ailist is initialized.
7124 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7126 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7127 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7129 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7133 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7135 (fp_formats): Update initializers.
7136 (init_fp_formats): Initialize new field.
7137 (output_for_one_input_case): Allow underflow for results up to
7139 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7140 * math/auto-libm-test-in: Don't mark some underflows from asin and
7142 * math/auto-libm-test-out: Regenerated.
7143 * sysdeps/i386/fpu/libm-test-ulps: Update.
7144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7146 2014-03-25 Andreas Schwab <schwab@suse.de>
7148 * libio/Makefile (tst-ftell-partial-wide-ENV)
7149 (tst-ftell-active-handler-ENV): Define.
7151 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7153 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7155 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7157 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7159 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7162 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7163 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7165 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7168 * elf/dl-load.c (open_verify): Add mode parameter.
7169 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7170 (open_path): Change from boolean 'secure' to complete flag 'mode'
7171 (_dl_map_object): Adjust.
7172 * elf/Makefile (tests): Add tst-dlopen-aout.
7173 * elf/tst-dlopen-aout.c: New test.
7175 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7178 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7179 (struct stat): Rename member pad0 to __glibc_reserved0.
7182 * sysdeps/s390/s390-32/bits/wordsize.h
7183 (__WORDSIZE32_SIZE_ULONG): New define.
7184 * sysdeps/s390/s390-64/bits/wordsize.h
7185 (__WORDSIZE32_SIZE_ULONG): Likewise.
7186 * sysdeps/generic/stdint.h (SIZE_MAX):
7187 Define as UL if __WORDSIZE32_SIZE_ULONG.
7190 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7191 (__glibc_reserved0): New variable.
7192 (sa_flags): Change type to int.
7194 * posix/Makefile (before-compile): Use += before-compile instead
7197 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7198 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7200 2014-03-20 Andreas Schwab <schwab@suse.de>
7203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7204 non-matching result from nscd.
7206 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7208 * scripts/bench.py: Moved to ...
7209 * benchtests/scripts/bench.py: ... here.
7210 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7212 2014-03-24 Andreas Schwab <schwab@suse.de>
7215 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7216 alloca_account and account alloca use for struct in6ailist.
7218 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7221 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7222 rounding mode to recompute results that overflow to infinity or
7224 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7226 * math/auto-libm-test-out: Regenerated.
7227 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7228 (ccosh_test): Likewise.
7229 (csin_test_data): Use plus_oflow.
7230 (csin_test): Use ALL_RM_TEST.
7231 (csinh_test_data): Use plus_oflow.
7232 (csinh_test): Use ALL_RM_TEST.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7238 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7239 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7240 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7243 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7245 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7246 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7247 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7250 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7251 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7253 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7254 * sysdeps/i386/fpu/libm-test-ulps: Update.
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7257 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7259 * scripts/bench.pl: Remove file.
7260 * scripts/bench.py: New benchmark script.
7261 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7262 * benchtests/README: Mention python dependency.
7263 * scripts/pylintrc: New file.
7264 * scripts/pylint: New file.
7266 * bits/mathdef.h: Use #ifdef instead of #if.
7267 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7268 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7269 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7270 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7271 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7272 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7274 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7275 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7277 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7279 and strpbrk-ppc64 objects.
7280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7281 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7282 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7283 multiarch strpbrk for POWER7.
7284 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7285 multiarch strpbrk for PPC64.
7286 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7288 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7291 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7293 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7294 (atan_test): Likewise.
7295 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7296 (atanh_test): Use ALL_RM_TEST.
7297 (atan2_test_data): Likewise.
7298 (cabs_test): Likewise.
7299 (cacosh_test): Likewise.
7300 (carg_test): Likewise.
7301 (casin_test): Likewise.
7302 (casinh_test): Likewise.
7303 (cbrt_test): Likewise.
7304 (csqrt_test): Likewise.
7305 (erf_test): Likewise.
7306 (erfc_test): Likewise.
7307 (pow10_test): Likewise.
7308 (exp2_test): Likewise.
7309 (hypot_test): Likewise.
7310 (j0_test): Likewise.
7311 (j1_test): Likewise.
7312 (lgamma_test): Likewise.
7313 (gamma_test): Likewise.
7314 (sincos_test): Likewise.
7315 (tanh_test): Likewise.
7316 (y0_test): Likewise.
7317 (y1_test): Likewise.
7318 * sysdeps/i386/fpu/libm-test-ulps: Update.
7319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7321 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7325 and strcspn-ppc64 objects.
7326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7327 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7328 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7329 multiarch strcspn for POWER7.
7330 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7331 multiarch strcspn for PPC64.
7332 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7334 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7337 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7339 * math/gen-libm-test.pl (generate_testfile): Expect only function
7340 name as argument to AUTO_TESTS_* and pass results for all rounding
7341 modes to parse_args.
7342 (parse_auto_input): Separate inputs of automatic tests from
7343 outputs before storing in %auto_tests.
7344 * math/libm-test.inc (acos_test_data): Update call to
7346 (acos_test): Use ALL_RM_TEST.
7347 (acos_tonearest_test_data): Remove.
7348 (acos_test_tonearest): Likewise.
7349 (acos_towardzero_test_data): Likewise.
7350 (acos_test_towardzero): Likewise.
7351 (acos_downward_test_data): Likewise.
7352 (acos_test_downward): Likewise.
7353 (acos_upward_test_data): Likewise.
7354 (acos_test_upward): Likewise.
7355 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7356 (asin_test_data): Likewise.
7357 (asin_test): Use ALL_RM_TEST.
7358 (asin_tonearest_test_data): Remove.
7359 (asin_test_tonearest): Likewise.
7360 (asin_towardzero_test_data): Likewise.
7361 (asin_test_towardzero): Likewise.
7362 (asin_downward_test_data): Likewise.
7363 (asin_test_downward): Likewise.
7364 (asin_upward_test_data): Likewise.
7365 (asin_test_upward): Likewise.
7366 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7367 (atan_test_data): Likewise.
7368 (atanh_test_data): Likewise.
7369 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7370 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7371 (carg_test_data): Likewise.
7372 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7373 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7374 (ccosh_test_data): Likewise.
7375 (cexp_test_data): Likewise.
7376 (clog_test_data): Likewise.
7377 (clog10_test_data): Likewise.
7378 (cos_test_data): Update call to AUTO_TESTS_f_f.
7379 (cos_test): Use ALL_RM_TEST.
7380 (cos_tonearest_test_data): Remove.
7381 (cos_test_tonearest): Likewise.
7382 (cos_towardzero_test_data): Likewise.
7383 (cos_test_towardzero): Likewise.
7384 (cos_downward_test_data): Likewise.
7385 (cos_test_downward): Likewise.
7386 (cos_upward_test_data): Likewise.
7387 (cos_test_upward): Likewise.
7388 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7389 (cosh_test): Use ALL_RM_TEST.
7390 (cosh_tonearest_test_data): Remove.
7391 (cosh_test_tonearest): Likewise.
7392 (cosh_towardzero_test_data): Likewise.
7393 (cosh_test_towardzero): Likewise.
7394 (cosh_downward_test_data): Likewise.
7395 (cosh_test_downward): Likewise.
7396 (cosh_upward_test_data): Likewise.
7397 (cosh_test_upward): Likewise.
7398 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7399 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7400 (ctan_test_data): Likewise.
7401 (ctan_test): Use ALL_RM_TEST.
7402 (ctan_tonearest_test_data): Remove.
7403 (ctan_test_tonearest): Likewise.
7404 (ctan_towardzero_test_data): Likewise.
7405 (ctan_test_towardzero): Likewise.
7406 (ctan_downward_test_data): Likewise.
7407 (ctan_test_downward): Likewise.
7408 (ctan_upward_test_data): Likewise.
7409 (ctan_test_upward): Likewise.
7410 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7411 (ctanh_test): Use ALL_RM_TEST.
7412 (ctanh_tonearest_test_data): Remove.
7413 (ctanh_test_tonearest): Likewise.
7414 (ctanh_towardzero_test_data): Likewise.
7415 (ctanh_test_towardzero): Likewise.
7416 (ctanh_downward_test_data): Likewise.
7417 (ctanh_test_downward): Likewise.
7418 (ctanh_upward_test_data): Likewise.
7419 (ctanh_test_upward): Likewise.
7420 (erf_test_data): Update call to AUTO_TESTS_f_f.
7421 (erfc_test_data): Likewise.
7422 (exp_test_data): Likewise.
7423 (exp_test): Use ALL_RM_TEST.
7424 (exp_tonearest_test_data): Remove.
7425 (exp_test_tonearest): Likewise.
7426 (exp_towardzero_test_data): Likewise.
7427 (exp_test_towardzero): Likewise.
7428 (exp_downward_test_data): Likewise.
7429 (exp_test_downward): Likewise.
7430 (exp_upward_test_data): Likewise.
7431 (exp_test_upward): Likewise.
7432 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7433 (exp10_test): Use ALL_RM_TEST.
7434 (exp10_tonearest_test_data): Remove.
7435 (exp10_test_tonearest): Likewise.
7436 (exp10_towardzero_test_data): Likewise.
7437 (exp10_test_towardzero): Likewise.
7438 (exp10_downward_test_data): Likewise.
7439 (exp10_test_downward): Likewise.
7440 (exp10_upward_test_data): Likewise.
7441 (exp10_test_upward): Likewise.
7442 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7443 (expm1_test_data): Likewise.
7444 (expm1_test): Use ALL_RM_TEST.
7445 (expm1_tonearest_test_data): Remove.
7446 (expm1_test_tonearest): Likewise.
7447 (expm1_towardzero_test_data): Likewise.
7448 (expm1_test_towardzero): Likewise.
7449 (expm1_downward_test_data): Likewise.
7450 (expm1_test_downward): Likewise.
7451 (expm1_upward_test_data): Likewise.
7452 (expm1_test_upward): Likewise.
7453 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7454 (fma_test): Use ALL_RM_TEST.
7455 (fma_towardzero_test_data): Remove.
7456 (fma_test_towardzero): Likewise.
7457 (fma_downward_test_data): Likewise.
7458 (fma_test_downward): Likewise.
7459 (fma_upward_test_data): Likewise.
7460 (fma_test_upward): Likewise.
7461 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7462 (j0_test_data): Update call to AUTO_TESTS_f_f.
7463 (j1_test_data): Likewise.
7464 (jn_test_data): Update call to AUTO_TESTS_if_f.
7465 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7466 (log_test_data): Update call to AUTO_TESTS_f_f.
7467 (log10_test_data): Likewise.
7468 (log1p_test_data): Likewise.
7469 (log2_test_data): Likewise.
7470 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7471 (pow_tonearest_test_data): Likewise.
7472 (sin_test_data): Update call to AUTO_TESTS_f_f.
7473 (sin_test): Use ALL_RM_TEST.
7474 (sin_tonearest_test_data): Remove.
7475 (sin_test_tonearest): Likewise.
7476 (sin_towardzero_test_data): Likewise.
7477 (sin_test_towardzero): Likewise.
7478 (sin_downward_test_data): Likewise.
7479 (sin_test_downward): Likewise.
7480 (sin_upward_test_data): Likewise.
7481 (sin_test_upward): Likewise.
7482 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7483 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7484 (sinh_test): Use ALL_RM_TEST.
7485 (sinh_tonearest_test_data): Remove.
7486 (sinh_test_tonearest): Likewise.
7487 (sinh_towardzero_test_data): Likewise.
7488 (sinh_test_towardzero): Likewise.
7489 (sinh_downward_test_data): Likewise.
7490 (sinh_test_downward): Likewise.
7491 (sinh_upward_test_data): Likewise.
7492 (sinh_test_upward): Likewise.
7493 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7494 (sqrt_test): Use ALL_RM_TEST.
7495 (sqrt_tonearest_test_data): Remove.
7496 (sqrt_test_tonearest): Likewise.
7497 (sqrt_towardzero_test_data): Likewise.
7498 (sqrt_test_towardzero): Likewise.
7499 (sqrt_downward_test_data): Likewise.
7500 (sqrt_test_downward): Likewise.
7501 (sqrt_upward_test_data): Likewise.
7502 (sqrt_test_upward): Likewise.
7503 (tan_test_data): Update call to AUTO_TESTS_f_f.
7504 (tan_test): Use ALL_RM_TEST.
7505 (tan_tonearest_test_data): Remove.
7506 (tan_test_tonearest): Likewise.
7507 (tan_towardzero_test_data): Likewise.
7508 (tan_test_towardzero): Likewise.
7509 (tan_downward_test_data): Likewise.
7510 (tan_test_downward): Likewise.
7511 (tan_upward_test_data): Likewise.
7512 (tan_test_upward): Likewise.
7513 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7514 (tgamma_test_data): Likewise.
7515 (y0_test_data): Likewise.
7516 (y1_test_data): Likewise.
7517 (yn_test_data): Update call to AUTO_TESTS_if_f.
7518 (main): Do not call removed functions.
7520 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7522 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7523 (ldexp_test_data): Remove.
7524 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7526 (scalb_test): Use ALL_RM_TEST.
7528 2014-03-19 Andreas Schwab <schwab@suse.de>
7530 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7532 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7536 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7539 (__ASSUME_PREADV): Undefine.
7540 (__ASSUME_PWRITEV): Likewise.
7542 2014-03-18 Roland McGrath <roland@hack.frob.com>
7544 * bits/mman-linux.h: Add comment about non-Linux use.
7545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7546 bits/mman-linux.h resting place.
7548 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7549 * bits/mman-linux.h: ... here.
7551 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7553 * conform/conformtest.pl: Add standard definition when calling C
7554 preprocessor on data files.
7555 (checknamespace): Remove unused variable.
7557 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7559 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7560 minus_oflow, plus_uflow and minus_uflow in expected results.
7561 * math/libm-test.inc (scalbn_test_data): Add more tests of
7562 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7564 (scalbn_test): Use ALL_RM_TEST.
7565 (scalbln_test_data): Add more tests of negative arguments. Use
7566 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7567 (scalbln_test): Use ALL_RM_TEST.
7569 2014-03-18 Roland McGrath <roland@hack.frob.com>
7571 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7573 2014-03-18 Will Newton <will.newton@linaro.org>
7575 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7578 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7580 * Makerules [!subdir] (check-abi): Exit with error status if a
7583 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7585 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7586 for rint. Include results for all rounding modes.
7587 (nearbyint_test): Use ALL_RM_TEST.
7588 (rint_test_data): Include all tests used for nearbyint.
7590 2014-03-17 Will Newton <will.newton@linaro.org>
7592 * nptl/sysdeps/pthread/pthread.h: Revert previous
7595 * sysdeps/generic/ldsodefs.h: Revert previous
7598 * libio/genops.c: Revert previous change.
7599 * libio/libioP.h: Likewise.
7600 * stdio-common/vfprintf.c: Likewise.
7602 * sysdeps/generic/math_private.h: Revert previous
7605 * sysdeps/generic/math_private.h: Check whether
7606 HAVE_RM_CTX is defined with #ifdef rather
7609 * argp/argp-fmtstream.h: Check whether
7610 __STRICT_ANSI__ is defined with #ifdef rather
7612 * argp/argp.h: Likewise.
7614 * libio/genops.c: Check whether
7615 _IO_JUMPS_OFFSET is defined with #ifdef rather
7617 * libio/libioP.h: Likewise.
7618 * stdio-common/vfprintf.c: Likewise.
7620 * sysdeps/generic/ldsodefs.h: Check whether
7621 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7624 * nptl/sysdeps/pthread/pthread.h: Check
7625 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7628 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7630 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7632 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7636 * libio/fileops.c (_IO_file_open): Seek to end of file but
7637 don't cache the offset.
7638 (get_file_offset): Remove function.
7639 (do_ftell): Use cached offset when available.
7640 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7641 don't cache the offset.
7642 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7644 (do_one_test): Call it.
7645 (do_ftell_test): Fix up expected old offset for a+ mode.
7646 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7649 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7650 up test status with function return status.
7651 (do_write_test): Likewise.
7652 (do_append_test): Likewise.
7654 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7655 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7658 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7660 * math/gen-libm-test.pl (parse_args): Handle results specified for
7661 each rounding mode separately.
7662 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7663 tests and results from lrint_tonearest_test_data,
7664 lrint_towardzero_test_data, lrint_downward_test_data and
7665 lrint_upward_test_data.
7666 (lrint_test): Use ALL_RM_TEST.
7667 (lrint_tonearest_test_data): Remove.
7668 (lrint_test_tonearest): Likewise.
7669 (lrint_towardzero_test_data): Likewise.
7670 (lrint_test_towardzero): Likewise.
7671 (lrint_downward_test_data): Likewise.
7672 (lrint_test_downward): Likewise.
7673 (lrint_upward_test_data): Likewise.
7674 (lrint_test_upward): Likewise.
7675 (llrint_test_data): Merge in per-rounding-mode tests and results
7676 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7677 llrint_downward_test_data and llrint_upward_test_data.
7678 (llrint_test): Use ALL_RM_TEST.
7679 (llrint_tonearest_test_data): Remove.
7680 (llrint_test_tonearest): Likewise.
7681 (llrint_towardzero_test_data): Likewise.
7682 (llrint_test_towardzero): Likewise.
7683 (llrint_downward_test_data): Likewise.
7684 (llrint_test_downward): Likewise.
7685 (llrint_upward_test_data): Likewise.
7686 (llrint_test_upward): Likewise.
7687 (rint_test_data): Merge in per-rounding-mode tests and results
7688 from rint_tonearest_test_data, rint_towardzero_test_data,
7689 rint_downward_test_data and rint_upward_test_data. Add
7690 per-rounding-mode results for tests not in those arrays.
7691 (rint_test): Use ALL_RM_TEST.
7692 (rint_tonearest_test_data): Remove.
7693 (rint_test_tonearest): Likewise.
7694 (rint_towardzero_test_data): Likewise.
7695 (rint_test_towardzero): Likewise.
7696 (rint_downward_test_data): Likewise.
7697 (rint_test_downward): Likewise.
7698 (rint_upward_test_data): Likewise.
7699 (rint_test_upward): Likewise.
7700 (main): Don't call removed functions.
7702 2014-03-14 Roland McGrath <roland@hack.frob.com>
7704 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7705 "Compiled on ..." crapola. It is anti-useful.
7707 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7709 * scripts/evaluate-test.sh: Handle fourth argument to determine
7710 whether test run should stop on failure.
7711 * Makeconfig (stop-on-test-failure): New variable.
7712 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7713 $(stop-on-test-failure).
7714 * Makefile (tests): Give a summary of results from testing and
7715 exit with failure status if they include an ERROR or FAIL.
7717 * manual/install.texi (Configuring and compiling): Mention
7718 stop-on-test-failure=y.
7719 * INSTALL: Regenerated.
7721 2014-03-14 Roland McGrath <roland@hack.frob.com>
7723 * scripts/versionlist.awk: New file.
7724 * Makerules [$(build-shared) = yes]
7725 (postclean-generated): Add Versions.def, not Versions.def.v and
7727 ($(common-objpfx)Versions.def.v.i): Target removed.
7728 ($(common-objpfx)Versions.def): New target.
7729 ($(common-objpfx)Versions.all): Depend on that rather that
7730 $(common-objpfx)Versions.def.v.
7731 * Versions.def: File removed.
7733 * Makeconfig (+gccwarn): Add -Wundef.
7734 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7735 a dl-sysdep.h breaking its contract.
7736 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7737 * include/stackinfo.h: New file.
7738 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7739 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7740 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7741 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7742 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7743 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7744 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7745 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7746 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7747 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7748 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7749 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7750 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7751 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7752 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7754 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7757 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7759 * math/libm-test.inc (round_test_data): Add more tests.
7762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7764 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7767 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7769 * math/libm-test.inc (ceil_test_data): Add more tests.
7771 * math/libm-test.inc (trunc_test_data): Add more tests related to
7774 2014-03-14 Roland McGrath <roland@hack.frob.com>
7776 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7777 with #if rather than #ifdef.
7778 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7780 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7782 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7783 first. Disable AVX-512 GCC support if assembler doesn't support
7785 * sysdeps/x86_64/configure: Regenerated.
7787 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7789 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7790 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7791 (__old_pthread_attr_setstack): Likewise.
7792 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7793 [!_STACK_GROWS_DOWN]: Likewise.
7795 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7797 * config.make.in (have-bash2): Delete.
7798 * configure.ac (libc_cv_have_bash2): Delete.
7799 * configure: Regenerate.
7800 * elf/Makefile (common-ldd-rewrite): Rename to ...
7801 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7802 (sh-ldd-rewrite): Delete.
7803 (bash-ldd-rewrite): Delete.
7804 (have-bash2): Delete checks.
7805 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7808 * config.make.in (have-ksh): Delete.
7810 * configure.ac (libc_cv_have_ksh): Delete.
7811 * configure: Regenerate.
7813 * elf/Makefile: Delete $(have-ksh) check.
7814 ($(objpfx)sotruss): Change KSH to BASH.
7815 * elf/sotruss.ksh: Rename to ...
7816 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7817 function style to match POSIX. Drop ksh vim mode setting.
7819 * manual/time.texi (Specifying the Time Zone with TZ): Change
7820 Tuesday to Thursday.
7822 * debug/tst-longjmp_chk2.c: Update header comment.
7823 (stackoverflow_handler): Add comment. Call assert on pass value.
7825 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7827 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7828 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7829 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7830 (La_x86_64_vector): Add zmm.
7831 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7832 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7833 ($(objpfx)tst-audit10): New target.
7834 ($(objpfx)tst-audit10.out): Likewise.
7835 (tst-audit10-ENV): New.
7836 (AVX512-CFLAGS): Likewise.
7837 (CFLAGS-tst-audit10.c): Likewise.
7838 (CFLAGS-tst-auditmod10a.c): Likewise.
7839 (CFLAGS-tst-auditmod10b.c): Likewise.
7840 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7841 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7842 * sysdeps/x86_64/configure: Regenerated.
7843 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7844 AVX-512 zmm register support.
7845 (_dl_x86_64_save_sse): Likewise.
7846 (_dl_x86_64_restore_sse): Likewise.
7847 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7848 size vector registers.
7849 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7850 (ZMM_SIZE): Likewise.
7851 * sysdeps/x86_64/tst-audit10.c: New file.
7852 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7853 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7855 2014-03-13 Roland McGrath <roland@hack.frob.com>
7857 * configure.ac (HAVE_EHDR_START): New check.
7858 * configure: Regenerated.
7859 * config.h.in (HAVE_EHDR_START): New #undef.
7860 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7861 assuming the lowest-addressed segment maps the start of the file.
7863 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7865 * INSTALL: Regenerated.
7867 2014-03-13 Will Newton <will.newton@linaro.org>
7869 * manual/setjmp.texi (System V contexts): Improve
7870 clarity and grammar of documentation.
7872 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7875 * elf/Makefile (tests): Add tst-pie2.
7876 (tests-pie): Add tst-pie2.
7877 * elf/tst-pie2.c: New file.
7878 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7880 * elf/rtld.c (map_doit): Load executable as lt_executable.
7881 (dl_main): Likewise.
7883 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7886 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7887 (__ASSUME_PSELECT): Undefine.
7889 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7893 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7895 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7896 selector for static builds.
7898 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7901 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7904 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7906 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7907 IFUNC selector for static builds.
7909 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7911 * sysdeps/mips/math_private.h [__mips_hard_float]
7912 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7913 libc_feresetround_mips_ctx.
7914 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7915 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7916 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7919 * math/s_nextafter.c (__nextafter): Do not return value from
7920 overflowing computation.
7921 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7922 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7923 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7927 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7928 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7930 2014-03-11 Roland McGrath <roland@hack.frob.com>
7932 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7933 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7934 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7935 the new mov targetting sp.
7937 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7940 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7941 Define it for static builds as well.
7942 (NO_BZERO_IMPL): Likewise.
7944 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7946 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7947 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7948 multiarch strspn for PPC64.
7949 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7950 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7952 (__libc_ifunc_impl_list): Likewise.
7953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7954 multiarch optimizations
7955 * string/strspn.c (strspn): Using macro to redefine symbol name.
7957 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7958 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7960 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7961 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7962 multiarch strncat for PPC64.
7963 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7964 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7966 (__libc_ifunc_impl_list): Likewise.
7967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7968 multiarch optimizations
7970 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7973 * nscd/nscd.service: Make service type forking.
7975 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7978 sign in non default rounding modes.
7979 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7981 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7983 * math/libm-test.inc (ALL_RM_TEST): New macro.
7984 (ceil_test): Use ALL_RM_TEST.
7985 (cimag_test): Likewise.
7986 (conj_test): Likewise.
7987 (copysign_test): Likewise.
7988 (cproj_test): Likewise.
7989 (creal_test): Likewise.
7990 (fabs_test): Likewise.
7991 (floor_test): Likewise.
7992 (fmax_test): Likewise.
7993 (fmin_test): Likewise.
7994 (fmod_test): Likewise.
7995 (fpclassify_test): Likewise.
7996 (frexp_test): Likewise.
7997 (ilogb_test): Likewise.
7998 (isfinite_test): Likewise.
7999 (finite_test): Likewise.
8000 (isgreater_test): Likewise.
8001 (isgreaterequal_test): Likewise.
8002 (isinf_test): Likewise.
8003 (isless_test): Likewise.
8004 (islessequal_test): Likewise.
8005 (islessgreater_test): Likewise.
8006 (isnan_test): Likewise.
8007 (isnormal_test): Likewise.
8008 (issignaling_test): Likewise.
8009 (isunordered_test): Likewise.
8010 (logb_test): Likewise.
8011 (logb_downward_test_data): Remove.
8012 (logb_test_downward): Likewise.
8013 (lround_test): Use ALL_RM_TEST.
8014 (llround_test): Likewise.
8015 (modf_test): Likewise.
8016 (nexttoward_test): Likewise.
8017 (remainder_test): Likewise.
8018 (drem_test): Likewise.
8019 (remainder_tonearest_test_data): Likewise.
8020 (remainder_test_tonearest): Likewise.
8021 (drem_test_tonearest): Likewise.
8022 (remainder_towardzero_test_data): Likewise.
8023 (remainder_test_towardzero): Likewise.
8024 (drem_test_towardzero): Likewise.
8025 (remainder_downward_test_data): Likewise.
8026 (remainder_test_downward): Likewise.
8027 (drem_test_downward): Likewise.
8028 (remainder_upward_test_data): Likewise.
8029 (remainder_test_upward): Likewise.
8030 (drem_test_upward): Likewise.
8031 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8032 (round_test): Use ALL_RM_TEST.
8033 (signbit_test): Likewise.
8034 (trunc_test): Likewise.
8035 (significand_test): Likewise.
8036 (main): Don't call removed functions.
8038 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8041 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8043 (ILL_ILLOPN): Likewise.
8044 (ILL_ILLADR): Likewise.
8045 (ILL_ILLTRP): Likewise.
8046 (ILL_PRVOPC): Likewise.
8047 (ILL_PRVREG): Likewise.
8048 (ILL_COPROC): Likewise.
8049 (ILL_BADSTK): Likewise.
8050 (FPE_INTDIV): Likewise.
8051 (FPE_INTOVF): Likewise.
8052 (FPE_FLTDIV): Likewise.
8053 (FPE_FLTOVF): Likewise.
8054 (FPE_FLTUND): Likewise.
8055 (FPE_FLTRES): Likewise.
8056 (FPE_FLTINV): Likewise.
8057 (FPE_FLTSUB): Likewise.
8058 (SEGV_MAPERR): Likewise.
8059 (SEGV_ACCERR): Likewise.
8060 (BUS_ADRALN): Likewise.
8061 (BUS_ADRERR): Likewise.
8062 (BUS_OBJERR): Likewise.
8063 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8064 (TRAP_TRACE): Likewise.
8065 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8067 (CLD_KILLED): Likewise.
8068 (CLD_DUMPED): Likewise.
8069 (CLD_TRAPPED): Likewise.
8070 (CLD_STOPPED): Likewise.
8071 (CLD_CONTINUED): Likewise.
8072 (POLL_IN): Likewise.
8073 (POLL_OUT): Likewise.
8074 (POLL_MSG): Likewise.
8075 (POLL_ERR): Likewise.
8076 (POLL_PRI): Likewise.
8077 (POLL_HUP): Likewise.
8078 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8080 (ILL_ILLOPN): Likewise.
8081 (ILL_ILLADR): Likewise.
8082 (ILL_ILLTRP): Likewise.
8083 (ILL_PRVOPC): Likewise.
8084 (ILL_PRVREG): Likewise.
8085 (ILL_COPROC): Likewise.
8086 (ILL_BADSTK): Likewise.
8087 (FPE_INTDIV): Likewise.
8088 (FPE_INTOVF): Likewise.
8089 (FPE_FLTDIV): Likewise.
8090 (FPE_FLTOVF): Likewise.
8091 (FPE_FLTUND): Likewise.
8092 (FPE_FLTRES): Likewise.
8093 (FPE_FLTINV): Likewise.
8094 (FPE_FLTSUB): Likewise.
8095 (SEGV_MAPERR): Likewise.
8096 (SEGV_ACCERR): Likewise.
8097 (BUS_ADRALN): Likewise.
8098 (BUS_ADRERR): Likewise.
8099 (BUS_OBJERR): Likewise.
8100 (BUS_MCEERR_AR): Likewise.
8101 (BUS_MCEERR_AO): Likewise.
8102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8103 (TRAP_TRACE): Likewise.
8104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8106 (CLD_KILLED): Likewise.
8107 (CLD_DUMPED): Likewise.
8108 (CLD_TRAPPED): Likewise.
8109 (CLD_STOPPED): Likewise.
8110 (CLD_CONTINUED): Likewise.
8111 (POLL_IN): Likewise.
8112 (POLL_OUT): Likewise.
8113 (POLL_MSG): Likewise.
8114 (POLL_ERR): Likewise.
8115 (POLL_PRI): Likewise.
8116 (POLL_HUP): Likewise.
8117 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8118 (ILL_ILLOPN): Likewise.
8119 (ILL_ILLADR): Likewise.
8120 (ILL_ILLTRP): Likewise.
8121 (ILL_PRVOPC): Likewise.
8122 (ILL_PRVREG): Likewise.
8123 (ILL_COPROC): Likewise.
8124 (ILL_BADSTK): Likewise.
8125 (FPE_INTDIV): Likewise.
8126 (FPE_INTOVF): Likewise.
8127 (FPE_FLTDIV): Likewise.
8128 (FPE_FLTOVF): Likewise.
8129 (FPE_FLTUND): Likewise.
8130 (FPE_FLTRES): Likewise.
8131 (FPE_FLTINV): Likewise.
8132 (FPE_FLTSUB): Likewise.
8133 (SEGV_MAPERR): Likewise.
8134 (SEGV_ACCERR): Likewise.
8135 (BUS_ADRALN): Likewise.
8136 (BUS_ADRERR): Likewise.
8137 (BUS_OBJERR): Likewise.
8138 (BUS_MCEERR_AR): Likewise.
8139 (BUS_MCEERR_AO): Likewise.
8140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8141 (TRAP_TRACE): Likewise.
8142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8144 (CLD_KILLED): Likewise.
8145 (CLD_DUMPED): Likewise.
8146 (CLD_TRAPPED): Likewise.
8147 (CLD_STOPPED): Likewise.
8148 (CLD_CONTINUED): Likewise.
8149 (POLL_IN): Likewise.
8150 (POLL_OUT): Likewise.
8151 (POLL_MSG): Likewise.
8152 (POLL_ERR): Likewise.
8153 (POLL_PRI): Likewise.
8154 (POLL_HUP): Likewise.
8155 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8157 (ILL_ILLOPN): Likewise.
8158 (ILL_ILLADR): Likewise.
8159 (ILL_ILLTRP): Likewise.
8160 (ILL_PRVOPC): Likewise.
8161 (ILL_PRVREG): Likewise.
8162 (ILL_COPROC): Likewise.
8163 (ILL_BADSTK): Likewise.
8164 (ILL_BADIADDR): Likewise.
8165 (ILL_BREAK): Likewise.
8166 (FPE_INTDIV): Likewise.
8167 (FPE_INTOVF): Likewise.
8168 (FPE_FLTDIV): Likewise.
8169 (FPE_FLTOVF): Likewise.
8170 (FPE_FLTUND): Likewise.
8171 (FPE_FLTRES): Likewise.
8172 (FPE_FLTINV): Likewise.
8173 (FPE_FLTSUB): Likewise.
8174 (FPE_DECOVF): Likewise.
8175 (FPE_DECDIV): Likewise.
8176 (FPE_DECERR): Likewise.
8177 (FPE_INVASC): Likewise.
8178 (FPE_INVDEC): Likewise.
8179 (SEGV_MAPERR): Likewise.
8180 (SEGV_ACCERR): Likewise.
8181 (SEGV_PSTKOVF): Likewise.
8182 (BUS_ADRALN): Likewise.
8183 (BUS_ADRERR): Likewise.
8184 (BUS_OBJERR): Likewise.
8185 (BUS_MCEERR_AR): Likewise.
8186 (BUS_MCEERR_AO): Likewise.
8187 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8188 (TRAP_TRACE): Likewise.
8189 (TRAP_BRANCH): Likewise.
8190 (TRAP_HWBKPT): Likewise.
8191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8193 (CLD_KILLED): Likewise.
8194 (CLD_DUMPED): Likewise.
8195 (CLD_TRAPPED): Likewise.
8196 (CLD_STOPPED): Likewise.
8197 (CLD_CONTINUED): Likewise.
8198 (POLL_IN): Likewise.
8199 (POLL_OUT): Likewise.
8200 (POLL_MSG): Likewise.
8201 (POLL_ERR): Likewise.
8202 (POLL_PRI): Likewise.
8203 (POLL_HUP): Likewise.
8204 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8205 (ILL_ILLOPN): Likewise.
8206 (ILL_ILLADR): Likewise.
8207 (ILL_ILLTRP): Likewise.
8208 (ILL_PRVOPC): Likewise.
8209 (ILL_PRVREG): Likewise.
8210 (ILL_COPROC): Likewise.
8211 (ILL_BADSTK): Likewise.
8212 (FPE_INTDIV): Likewise.
8213 (FPE_INTOVF): Likewise.
8214 (FPE_FLTDIV): Likewise.
8215 (FPE_FLTOVF): Likewise.
8216 (FPE_FLTUND): Likewise.
8217 (FPE_FLTRES): Likewise.
8218 (FPE_FLTINV): Likewise.
8219 (FPE_FLTSUB): Likewise.
8220 (SEGV_MAPERR): Likewise.
8221 (SEGV_ACCERR): Likewise.
8222 (BUS_ADRALN): Likewise.
8223 (BUS_ADRERR): Likewise.
8224 (BUS_OBJERR): Likewise.
8225 (BUS_MCEERR_AR): Likewise.
8226 (BUS_MCEERR_AO): Likewise.
8227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8228 (TRAP_TRACE): Likewise.
8229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8231 (CLD_KILLED): Likewise.
8232 (CLD_DUMPED): Likewise.
8233 (CLD_TRAPPED): Likewise.
8234 (CLD_STOPPED): Likewise.
8235 (CLD_CONTINUED): Likewise.
8236 (POLL_IN): Likewise.
8237 (POLL_OUT): Likewise.
8238 (POLL_MSG): Likewise.
8239 (POLL_ERR): Likewise.
8240 (POLL_PRI): Likewise.
8241 (POLL_HUP): Likewise.
8242 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8243 (ILL_ILLOPN): Likewise.
8244 (ILL_ILLADR): Likewise.
8245 (ILL_ILLTRP): Likewise.
8246 (ILL_PRVOPC): Likewise.
8247 (ILL_PRVREG): Likewise.
8248 (ILL_COPROC): Likewise.
8249 (ILL_BADSTK): Likewise.
8250 (FPE_INTDIV): Likewise.
8251 (FPE_INTOVF): Likewise.
8252 (FPE_FLTDIV): Likewise.
8253 (FPE_FLTOVF): Likewise.
8254 (FPE_FLTUND): Likewise.
8255 (FPE_FLTRES): Likewise.
8256 (FPE_FLTINV): Likewise.
8257 (FPE_FLTSUB): Likewise.
8258 (SEGV_MAPERR): Likewise.
8259 (SEGV_ACCERR): Likewise.
8260 (BUS_ADRALN): Likewise.
8261 (BUS_ADRERR): Likewise.
8262 (BUS_OBJERR): Likewise.
8263 (BUS_MCEERR_AR): Likewise.
8264 (BUS_MCEERR_AO): Likewise.
8265 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8266 (TRAP_TRACE): Likewise.
8267 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8269 (CLD_KILLED): Likewise.
8270 (CLD_DUMPED): Likewise.
8271 (CLD_TRAPPED): Likewise.
8272 (CLD_STOPPED): Likewise.
8273 (CLD_CONTINUED): Likewise.
8274 (POLL_IN): Likewise.
8275 (POLL_OUT): Likewise.
8276 (POLL_MSG): Likewise.
8277 (POLL_ERR): Likewise.
8278 (POLL_PRI): Likewise.
8279 (POLL_HUP): Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8281 (ILL_ILLOPN): Likewise.
8282 (ILL_ILLADR): Likewise.
8283 (ILL_ILLTRP): Likewise.
8284 (ILL_PRVOPC): Likewise.
8285 (ILL_PRVREG): Likewise.
8286 (ILL_COPROC): Likewise.
8287 (ILL_BADSTK): Likewise.
8288 (FPE_INTDIV): Likewise.
8289 (FPE_INTOVF): Likewise.
8290 (FPE_FLTDIV): Likewise.
8291 (FPE_FLTOVF): Likewise.
8292 (FPE_FLTUND): Likewise.
8293 (FPE_FLTRES): Likewise.
8294 (FPE_FLTINV): Likewise.
8295 (FPE_FLTSUB): Likewise.
8296 (SEGV_MAPERR): Likewise.
8297 (SEGV_ACCERR): Likewise.
8298 (BUS_ADRALN): Likewise.
8299 (BUS_ADRERR): Likewise.
8300 (BUS_OBJERR): Likewise.
8301 (BUS_MCEERR_AR): Likewise.
8302 (BUS_MCEERR_AO): Likewise.
8303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8304 (TRAP_TRACE): Likewise.
8305 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8307 (CLD_KILLED): Likewise.
8308 (CLD_DUMPED): Likewise.
8309 (CLD_TRAPPED): Likewise.
8310 (CLD_STOPPED): Likewise.
8311 (CLD_CONTINUED): Likewise.
8312 (POLL_IN): Likewise.
8313 (POLL_OUT): Likewise.
8314 (POLL_MSG): Likewise.
8315 (POLL_ERR): Likewise.
8316 (POLL_PRI): Likewise.
8317 (POLL_HUP): Likewise.
8318 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8319 (ILL_ILLOPN): Likewise.
8320 (ILL_ILLADR): Likewise.
8321 (ILL_ILLTRP): Likewise.
8322 (ILL_PRVOPC): Likewise.
8323 (ILL_PRVREG): Likewise.
8324 (ILL_COPROC): Likewise.
8325 (ILL_BADSTK): Likewise.
8326 (ILL_DBLFLT): Likewise.
8327 (ILL_HARDWALL): Likewise.
8328 (FPE_INTDIV): Likewise.
8329 (FPE_INTOVF): Likewise.
8330 (FPE_FLTDIV): Likewise.
8331 (FPE_FLTOVF): Likewise.
8332 (FPE_FLTUND): Likewise.
8333 (FPE_FLTRES): Likewise.
8334 (FPE_FLTINV): Likewise.
8335 (FPE_FLTSUB): Likewise.
8336 (SEGV_MAPERR): Likewise.
8337 (SEGV_ACCERR): Likewise.
8338 (BUS_ADRALN): Likewise.
8339 (BUS_ADRERR): Likewise.
8340 (BUS_OBJERR): Likewise.
8341 (BUS_MCEERR_AR): Likewise.
8342 (BUS_MCEERR_AO): Likewise.
8343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8344 (TRAP_TRACE): Likewise.
8345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8347 (CLD_KILLED): Likewise.
8348 (CLD_DUMPED): Likewise.
8349 (CLD_TRAPPED): Likewise.
8350 (CLD_STOPPED): Likewise.
8351 (CLD_CONTINUED): Likewise.
8352 (POLL_IN): Likewise.
8353 (POLL_OUT): Likewise.
8354 (POLL_MSG): Likewise.
8355 (POLL_ERR): Likewise.
8356 (POLL_PRI): Likewise.
8357 (POLL_HUP): Likewise.
8358 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8359 (ILL_ILLOPN): Likewise.
8360 (ILL_ILLADR): Likewise.
8361 (ILL_ILLTRP): Likewise.
8362 (ILL_PRVOPC): Likewise.
8363 (ILL_PRVREG): Likewise.
8364 (ILL_COPROC): Likewise.
8365 (ILL_BADSTK): Likewise.
8366 (FPE_INTDIV): Likewise.
8367 (FPE_INTOVF): Likewise.
8368 (FPE_FLTDIV): Likewise.
8369 (FPE_FLTOVF): Likewise.
8370 (FPE_FLTUND): Likewise.
8371 (FPE_FLTRES): Likewise.
8372 (FPE_FLTINV): Likewise.
8373 (FPE_FLTSUB): Likewise.
8374 (SEGV_MAPERR): Likewise.
8375 (SEGV_ACCERR): Likewise.
8376 (BUS_ADRALN): Likewise.
8377 (BUS_ADRERR): Likewise.
8378 (BUS_OBJERR): Likewise.
8379 (BUS_MCEERR_AR): Likewise.
8380 (BUS_MCEERR_AO): Likewise.
8381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8382 (TRAP_TRACE): Likewise.
8383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8385 (CLD_KILLED): Likewise.
8386 (CLD_DUMPED): Likewise.
8387 (CLD_TRAPPED): Likewise.
8388 (CLD_STOPPED): Likewise.
8389 (CLD_CONTINUED): Likewise.
8390 (POLL_IN): Likewise.
8391 (POLL_OUT): Likewise.
8392 (POLL_MSG): Likewise.
8393 (POLL_ERR): Likewise.
8394 (POLL_PRI): Likewise.
8395 (POLL_HUP): Likewise.
8396 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8397 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8400 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8401 before #include of <time.h>.
8402 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8403 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8404 (test-xfail-UNIX98/sched.h/conform): Likewise.
8406 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8408 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8409 error absence of trapping exception support.
8410 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8412 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8414 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8415 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8416 * timezone/Makefile (testdata): Move definition above include of
8418 (test-zones): New variable.
8419 (tests-special): Add zone files.
8420 (build-testdata): Use $(evaluate-test).
8422 * elf/Makefile (tests-special): Rename tests to end with .out.
8423 ($(objpfx)noload-mem): Likewise.
8424 ($(objpfx)tst-leaks1-mem): Likewise.
8425 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8426 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8427 $(objpfx)test-iconvconfig.out.
8428 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8429 set -e inside subshell and redirect output to file.
8430 * iconvdata/Makefile (generated): Rename tests to end with .out.
8432 (tests-special): Rename tests to end with .out.
8433 ($(objpfx)mtrace-tst-loading): Likewise.
8434 * intl/Makefile (generated): Likewise.
8435 (tests-special): Likewise.
8436 ($(objpfx)mtrace-tst-gettext): Likewise.
8437 * misc/Makefile (generated): Likewise.
8438 (tests-special): Likewise.
8439 ($(objpfx)tst-error1-mem): Likewise.
8440 * nptl/Makefile (tests-special): Likewise.
8441 ($(objpfx)tst-stack3-mem): Likewise.
8442 (generated): Likewise.
8443 * posix/Makefile (generated): Likewise.
8444 (tests-special): Likewise.
8445 (xtests-special): Likewise.
8446 ($(objpfx)tst-fnmatch-mem): Likewise.
8447 ($(objpfx)bug-regex2-mem): Likewise.
8448 ($(objpfx)bug-regex14-mem): Likewise.
8449 ($(objpfx)bug-regex21-mem): Likewise.
8450 ($(objpfx)bug-regex31-mem): Likewise.
8451 ($(objpfx)tst-vfork3-mem): Likewise.
8452 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8453 ($(objpfx)tst-pcre-mem): Likewise.
8454 ($(objpfx)tst-boost-mem): Likewise.
8455 ($(objpfx)bug-ga2-mem): Likewise.
8456 ($(objpfx)bug-glob2-mem): Likewise.
8457 * resolv/Makefile (generate): Likewise.
8458 (tests-special): Likewise.
8459 (xtests-special): Likewise.
8460 (generated): Likewise.
8461 ($(objpfx)mtrace-tst-leaks): Likewise.
8462 ($(objpfx)mtrace-tst-leaks2): Likewise.
8464 * scripts/merge-test-results.sh: New file.
8465 * Makefile (tests-special-notdir): New variable.
8466 (tests): Run merge-test-results.sh.
8468 * Rules (tests-special-notdir): New variable.
8469 (xtests-special-notdir): Likewise.
8470 (tests): Run merge-test-results.sh
8473 * Makeconfig (test-xfail-name): New variable.
8474 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8475 compute variable name for expected failures.
8476 * conform/Makefile (conformtest-headers-data): New variable.
8477 (conformtest-standards): Likewise.
8478 (conformtest-headers-ISO): Likewise.
8479 (conformtest-headers-ISO99): Likewise.
8480 (conformtest-headers-ISO11): Likewise.
8481 (conformtest-headers-POSIX): Likewise.
8482 (conformtest-headers-XPG3): Likewise.
8483 (conformtest-headers-XPG4): Likewise.
8484 (conformtest-headers-UNIX98): Likewise.
8485 (conformtest-headers-XOPEN2K): Likewise.
8486 (conformtest-headers-POSIX2008): Likewise.
8487 (conformtest-headers-XOPEN2K8): Likewise.
8488 (conformtest-header-list-base): Likewise.
8489 (conformtest-header-list-tests): Likewise.
8490 (conformtest-header-base): Likewise.
8491 (conformtest-header-tests): Likewise.
8492 (tests-special): Add $(conformtest-header-list-tests). If
8493 [$(fast-check) && !$(cross-compiling)], add
8494 $(conformtest-header-tests) instead of
8495 $(objpfx)run-conformtest.out.
8496 (generated): Add $(conformtest-header-list-base). If
8497 [$(fast-check) && !$(cross-compiling)], add
8498 $(conformtest-header-base). Remove previous setting.
8499 ($(conformtest-header-list-tests)): New target.
8500 (test-xfail-run-conformtest): Remove variable.
8501 ($(objpfx)run-conformtest.out): Remove target.
8502 (test-xfail-ISO11/complex.h/conform): New variable.
8503 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8504 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8505 (test-xfail-XPG3/varargs.h/conform): Likewise.
8506 (test-xfail-XPG4/varargs.h/conform): Likewise.
8507 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8508 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8509 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8510 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8511 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8512 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8513 (test-xfail-XPG3/ftw.h/conform): Likewise.
8514 (test-xfail-XPG3/grp.h/conform): Likewise.
8515 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8516 (test-xfail-XPG3/limits.h/conform): Likewise.
8517 (test-xfail-XPG3/pwd.h/conform): Likewise.
8518 (test-xfail-XPG3/search.h/conform): Likewise.
8519 (test-xfail-XPG3/signal.h/conform): Likewise.
8520 (test-xfail-XPG3/stdio.h/conform): Likewise.
8521 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8522 (test-xfail-XPG3/string.h/conform): Likewise.
8523 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8524 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8525 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8526 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8527 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8528 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8529 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8530 (test-xfail-XPG3/termios.h/conform): Likewise.
8531 (test-xfail-XPG3/time.h/conform): Likewise.
8532 (test-xfail-XPG3/unistd.h/conform): Likewise.
8533 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8534 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8535 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8536 (test-xfail-XPG4/netdb.h/conform): Likewise.
8537 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8538 (test-xfail-XPG4/signal.h/conform): Likewise.
8539 (test-xfail-XPG4/stdio.h/conform): Likewise.
8540 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8541 (test-xfail-XPG4/stropts.h/conform): Likewise.
8542 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8543 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8544 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8545 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8546 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8547 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8548 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8549 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8550 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8551 (test-xfail-XPG4/termios.h/conform): Likewise.
8552 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8553 (test-xfail-XPG4/unistd.h/conform): Likewise.
8554 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8555 (test-xfail-POSIX/sched.h/conform): Likewise.
8556 (test-xfail-POSIX/signal.h/conform): Likewise.
8557 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8558 (test-xfail-POSIX/tar.h/conform): Likewise.
8559 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8560 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8561 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8562 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8563 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8564 (test-xfail-UNIX98/sched.h/conform): Likewise.
8565 (test-xfail-UNIX98/signal.h/conform): Likewise.
8566 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8567 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8568 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8569 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8570 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8571 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8572 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8573 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8574 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8575 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8576 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8577 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8578 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8579 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8580 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8581 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8582 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8583 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8584 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8585 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8586 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8587 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8588 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8589 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8590 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8591 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8592 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8593 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8594 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8595 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8596 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8597 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8598 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8599 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8600 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8601 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8602 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8603 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8604 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8605 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8606 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8607 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8608 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8609 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8610 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8611 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8612 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8613 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8614 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8615 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8616 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8617 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8618 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8619 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8620 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8621 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8622 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8623 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8624 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8625 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8626 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8627 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8628 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8629 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8630 (conformtest-cc-flags): Likewise.
8631 ($(conformtest-header-tests): New target.
8632 * conform/check-header-lists.sh: New file.
8633 * conform/run-conformtest.sh: Remove.
8635 * conform/conformtest.pl: Allow ' and \ in values given for
8637 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8639 [POSIX] (sys/types.h): Likewise.
8640 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8642 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8644 * conform/data/signal.h-data (SIGIO): Remove expectation.
8645 [XPG3] (SIGBUS): Do not expect.
8646 [POSIX || XPG3] (SIGPOLL): Likewise.
8647 [POSIX || XPG3] (SIGPROF): Likewise.
8648 [POSIX || XPG3] (SIGSYS): Likewise.
8649 [XPG3] (SIGTRAP): Likewise.
8650 [POSIX || XPG3] (SIGURG): Likewise.
8651 [POSIX || XPG3] (SIGVTALRM): Likewise.
8652 [POSIX || XPG3] (SIGXCPU): Likewise.
8653 [POSIX || XPG3] (SIGXFSZ): Likewise.
8654 [POSIX] (SA_SIGINFO): Expect.
8655 [XPG3] (siginfo_t): Do not expect type or contents.
8656 [POSIX] (si_pid): Do not expect element.
8657 [POSIX] (si_uid): Likewise.
8658 [POSIX] (si_addr): Likewise.
8659 [POSIX] (si_status): Likewise.
8660 [POSIX] (si_band): Likewise.
8661 [XPG4] (si_value): Likewise.
8662 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8663 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8664 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8665 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8666 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8667 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8668 [POSIX || XPG3] (ILL_COPROC): Likewise.
8669 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8670 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8671 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8672 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8673 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8674 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8675 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8676 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8677 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8678 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8679 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8680 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8681 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8682 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8683 [POSIX || XPG3] (CLD_EXITED): Likewise.
8684 [POSIX || XPG3] (CLD_KILLED): Likewise.
8685 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8686 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8687 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8688 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8689 [POSIX || XPG3] (POLL_IN): Likewise.
8690 [POSIX || XPG3] (POLL_OUT): Likewise.
8691 [POSIX || XPG3] (POLL_MSG): Likewise.
8692 [POSIX || XPG3] (POLL_ERR): Likewise.
8693 [POSIX || XPG3] (POLL_PRI): Likewise.
8694 [POSIX || XPG3] (POLL_HUP): Likewise.
8695 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8696 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8697 (SIG*): Do not allow.
8698 [XPG3] (si_*): Likewise.
8699 [XPG3] (SI_*): Likewise.
8700 [XPG3 || XPG4] (sigev_*): Likewise.
8701 [XPG3 || XPG4] (SIGEV_*): Likewise.
8702 [XPG3 || XPG4] (sival_*): Likewise.
8703 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8704 [POSIX || XPG3] (BUS_*): Likewise.
8705 [POSIX || XPG3] (CLD_*): Likewise.
8706 [POSIX || XPG3] (FPE_*): Likewise.
8707 [POSIX || XPG3] (ILL_*): Likewise.
8708 [POSIX || XPG3] (POLL_*): Likewise.
8709 [POSIX || XPG3] (SEGV_*): Likewise.
8710 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8711 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8712 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8713 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8714 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8715 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8716 Specify type and value.
8717 (TVERSLEN): Likewise.
8718 (REGTYPE): Likewise.
8719 (AREGTYPE): Likewise.
8720 (LNKTYPE): Likewise.
8721 (SYMTYPE): Likewise.
8722 (CHRTYPE): Likewise.
8723 (BLKTYPE): Likewise.
8724 (DIRTYPE): Likewise.
8725 (FIFOTYPE): Likewise.
8726 (CONTTYPE): Likewise.
8731 (TUWRITE): Likewise.
8734 (TGWRITE): Likewise.
8737 (TOWRITE): Likewise.
8739 [POSIX] (TSVTX): Expect constant.
8741 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8743 * Makefile (tests): Change dependencies to ....
8744 (tests-special): ... additions to this variable.
8745 (tests): Depend on $(tests-special).
8746 * Makerules (check-abi-list): New variable.
8747 (check-abi): Depend on $(check-abi-list).
8748 [$(subdir) = elf] (tests-special): Add
8749 $(objpfx)check-abi-libc.out.
8750 [$(build-shared) = yes && subdir] (tests-special): Add
8752 [$(build-shared) = yes && subdir] (tests): Do not depend on
8754 * Rules (tests): Depend on $(tests-special).
8755 (xtests): Depend on $(xtests-special).
8756 * catgets/Makefile (tests): Change dependencies to ....
8757 (tests-special): ... additions to this variable.
8758 * conform/Makefile (tests): Change dependencies to ....
8759 (tests-special): ... additions to this variable.
8760 * elf/Makefile (tests): Change dependencies to ....
8761 (tests-special): ... additions to this variable.
8762 * grp/Makefile (tests): Change dependencies to ....
8763 (tests-special): ... additions to this variable.
8764 * iconv/Makefile (xtests): Change dependencies to ....
8765 (xtests-special): ... additions to this variable.
8766 * iconvdata/Makefile (tests): Change dependencies to ....
8767 (tests-special): ... additions to this variable.
8768 * intl/Makefile (tests): Change dependencies to ....
8769 (tests-special): ... additions to this variable. Also add
8770 $(objpfx)tst-gettext.out.
8771 * io/Makefile (tests): Change dependencies to ....
8772 (tests-special): ... additions to this variable.
8773 * libio/Makefile (tests): Change dependencies to ....
8774 (tests-special): ... additions to this variable.
8775 * malloc/Makefile (tests): Change dependencies to ....
8776 (tests-special): ... additions to this variable.
8777 * misc/Makefile (tests): Change dependencies to ....
8778 (tests-special): ... additions to this variable.
8779 * nptl/Makefile (tests): Change dependencies to ....
8780 (tests-special): ... additions to this variable.
8781 * nptl_db/Makefile (tests): Change dependencies to ....
8782 (tests-special): ... additions to this variable.
8783 * posix/Makefile (tests): Change dependencies to ....
8784 (tests-special): ... additions to this variable.
8785 (xtests): Change dependencies to ....
8786 (xtests-special): ... additions to this variable.
8787 * resolv/Makefile (tests): Change dependencies to ....
8788 (tests-special): ... additions to this variable.
8789 (xtests): Change dependencies to ....
8790 (xtests-special): ... additions to this variable.
8791 * stdio-common/Makefile (tests): Change dependencies to ....
8792 (tests-special): ... additions to this variable.
8793 (do-tst-unbputc): Remove target.
8794 (do-tst-printf): Likewise.
8795 * stdlib/Makefile (tests): Change dependencies to ....
8796 (tests-special): ... additions to this variable.
8797 * string/Makefile (tests): Change dependencies to ....
8798 (tests-special): ... additions to this variable.
8799 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8800 (tests-special): ... additions to this variable.
8802 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8804 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8806 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8807 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8809 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8810 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8811 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8812 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8813 * conform/data/libgen.h-data [XPG3]: Likewise.
8814 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8815 * conform/data/ndbm.h-data [XPG3]: Likewise.
8816 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8817 * conform/data/netdb.h-data [XPG3]: Likewise.
8818 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8819 * conform/data/poll.h-data [XPG3]: Likewise.
8820 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8821 * conform/data/strings.h-data [XPG3]: Likewise.
8822 * conform/data/stropts.h-data [XPG3]: Likewise.
8823 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8824 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8825 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8827 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8828 * conform/data/sys/time.h-data [XPG3]: Likewise.
8829 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8830 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8831 * conform/data/sys/un.h-data [XPG3]: Likewise.
8832 * conform/data/syslog.h-data [XPG3]: Likewise.
8833 * conform/data/ucontext.h-data [XPG3]: Likewise.
8834 * conform/data/utmpx.h-data [XPG3]: Likewise.
8835 * conform/data/varargs.h-data [UNIX98]: Enable file.
8837 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8839 * math/libm-test.inc (struct test_f_f_data): Move expected results
8840 into structure for each rounding mode.
8841 (struct test_ff_f_data): Likewise.
8842 (struct test_ff_f_data_nexttoward): Likewise.
8843 (struct test_fi_f_data): Likewise.
8844 (struct test_fl_f_data): Likewise.
8845 (struct test_if_f_data): Likewise.
8846 (struct test_fff_f_data): Likewise.
8847 (struct test_c_f_data): Likewise.
8848 (struct test_f_f1_data): Likewise.
8849 (struct test_fF_f1_data): Likewise.
8850 (struct test_ffI_f1_data): Likewise.
8851 (struct test_c_c_data): Likewise.
8852 (struct test_cc_c_data): Likewise.
8853 (struct test_f_i_data): Likewise.
8854 (struct test_ff_i_data): Likewise.
8855 (struct test_f_l_data): Likewise.
8856 (struct test_f_L_data): Likewise.
8857 (struct test_fFF_11_data): Likewise.
8859 (RM_FE_DOWNWARD): Likewise.
8860 (RM_FE_TONEAREST): Likewise.
8861 (RM_FE_TOWARDZERO): Likewise.
8862 (RM_FE_UPWARD): Likewise.
8863 (RUN_TEST_LOOP_f_f): Update references to expected results.
8864 (RUN_TEST_LOOP_2_f): Likewise.
8865 (RUN_TEST_LOOP_fff_f): Likewise.
8866 (RUN_TEST_LOOP_c_f): Likewise.
8867 (RUN_TEST_LOOP_f_f1): Likewise.
8868 (RUN_TEST_LOOP_fF_f1): Likewise.
8869 (RUN_TEST_LOOP_fI_f1): Likewise.
8870 (RUN_TEST_LOOP_ffI_f1): Likewise.
8871 (RUN_TEST_LOOP_c_c): Likewise.
8872 (RUN_TEST_LOOP_cc_c): Likewise.
8873 (RUN_TEST_LOOP_f_i): Likewise.
8874 (RUN_TEST_LOOP_f_i_tg): Likewise.
8875 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8876 (RUN_TEST_LOOP_f_b): Likewise.
8877 (RUN_TEST_LOOP_f_b_tg): Likewise.
8878 (RUN_TEST_LOOP_f_l): Likewise.
8879 (RUN_TEST_LOOP_f_L): Likewise.
8880 (RUN_TEST_LOOP_fFF_11): Likewise.
8881 * math/gen-libm-test.pl (parse_args): Output four copies of
8882 expected results for each test.
8884 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8885 (__ASSUME_UTIMES): Remove.
8886 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8887 (__ASSUME_UTIMES): Likewise.
8889 * math/gen-auto-libm-tests.c: Update comment on output format.
8890 (output_for_one_input_case): Generate before-rounding and
8891 after-rounding information as conditions on output flags not
8892 floating-point format.
8893 * math/auto-libm-test-out: Regenerated.
8894 * math/gen-libm-test.pl (cond_value): New function.
8895 (or_cond_value): Use cond_value.
8896 (generate_testfile): Handle conditional exceptions.
8898 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8900 * math/libm-test.inc (max_valid_error): New variable.
8901 (init_max_error): Take new argument specifying whether function
8902 results are exactly determined. Set max_valid_error and bound
8903 other variables for errors based on this argument.
8904 (set_max_error): Do not record results above max_valid_error.
8905 (check_float_internal): Only accept errors of up to 0.5ulps if
8906 also at most max_valid_error.
8907 (START): Take new argument EXACT and pass it to init_max_error.
8908 (acos_test): Update call to START.
8909 (acos_test_tonearest): Likewise.
8910 (acos_test_towardzero): Likewise.
8911 (acos_test_downward): Likewise.
8912 (acos_test_upward): Likewise.
8913 (acosh_test): Likewise.
8914 (asin_test): Likewise.
8915 (asin_test_tonearest): Likewise.
8916 (asin_test_towardzero): Likewise.
8917 (asin_test_downward): Likewise.
8918 (asin_test_upward): Likewise.
8919 (asinh_test): Likewise.
8920 (atan_test): Likewise.
8921 (atanh_test): Likewise.
8922 (atan2_test): Likewise.
8923 (cabs_test): Likewise.
8924 (cacos_test): Likewise.
8925 (cacosh_test): Likewise.
8926 (carg_test): Likewise.
8927 (casin_test): Likewise.
8928 (casinh_test): Likewise.
8929 (catan_test): Likewise.
8930 (catanh_test): Likewise.
8931 (cbrt_test): Likewise.
8932 (ccos_test): Likewise.
8933 (ccosh_test): Likewise.
8934 (ceil_test): Likewise.
8935 (cexp_test): Likewise.
8936 (cimag_test): Likewise.
8937 (clog_test): Likewise.
8938 (clog10_test): Likewise.
8939 (conj_test): Likewise.
8940 (copysign_test): Likewise.
8941 (cos_test): Likewise.
8942 (cos_test_tonearest): Likewise.
8943 (cos_test_towardzero): Likewise.
8944 (cos_test_downward): Likewise.
8945 (cos_test_upward): Likewise.
8946 (cosh_test): Likewise.
8947 (cosh_test_tonearest): Likewise.
8948 (cosh_test_towardzero): Likewise.
8949 (cosh_test_downward): Likewise.
8950 (cosh_test_upward): Likewise.
8951 (cpow_test): Likewise.
8952 (cproj_test): Likewise.
8953 (creal_test): Likewise.
8954 (csin_test): Likewise.
8955 (csinh_test): Likewise.
8956 (csqrt_test): Likewise.
8957 (ctan_test): Likewise.
8958 (ctan_test_tonearest): Likewise.
8959 (ctan_test_towardzero): Likewise.
8960 (ctan_test_downward): Likewise.
8961 (ctan_test_upward): Likewise.
8962 (ctanh_test): Likewise.
8963 (ctanh_test_tonearest): Likewise.
8964 (ctanh_test_towardzero): Likewise.
8965 (ctanh_test_downward): Likewise.
8966 (ctanh_test_upward): Likewise.
8967 (erf_test): Likewise.
8968 (erfc_test): Likewise.
8969 (exp_test): Likewise.
8970 (exp_test_tonearest): Likewise.
8971 (exp_test_towardzero): Likewise.
8972 (exp_test_downward): Likewise.
8973 (exp_test_upward): Likewise.
8974 (exp10_test): Likewise.
8975 (exp10_test_tonearest): Likewise.
8976 (exp10_test_towardzero): Likewise.
8977 (exp10_test_downward): Likewise.
8978 (exp10_test_upward): Likewise.
8979 (pow10_test): Likewise.
8980 (exp2_test): Likewise.
8981 (expm1_test): Likewise.
8982 (expm1_test_tonearest): Likewise.
8983 (expm1_test_towardzero): Likewise.
8984 (expm1_test_downward): Likewise.
8985 (expm1_test_upward): Likewise.
8986 (fabs_test): Likewise.
8987 (fdim_test): Likewise.
8988 (floor_test): Likewise.
8989 (fma_test): Likewise.
8990 (fma_test_towardzero): Likewise.
8991 (fma_test_downward): Likewise.
8992 (fma_test_upward): Likewise.
8993 (fmax_test): Likewise.
8994 (fmin_test): Likewise.
8995 (fmod_test): Likewise.
8996 (fpclassify_test): Likewise.
8997 (frexp_test): Likewise.
8998 (hypot_test): Likewise.
8999 (ilogb_test): Likewise.
9000 (isfinite_test): Likewise.
9001 (finite_test): Likewise.
9002 (isgreater_test): Likewise.
9003 (isgreaterequal_test): Likewise.
9004 (isinf_test): Likewise.
9005 (isless_test): Likewise.
9006 (islessequal_test): Likewise.
9007 (islessgreater_test): Likewise.
9008 (isnan_test): Likewise.
9009 (isnormal_test): Likewise.
9010 (issignaling_test): Likewise.
9011 (isunordered_test): Likewise.
9012 (j0_test): Likewise.
9013 (j1_test): Likewise.
9014 (jn_test): Likewise.
9015 (ldexp_test): Likewise.
9016 (lgamma_test): Likewise.
9017 (gamma_test): Likewise.
9018 (lrint_test): Likewise.
9019 (lrint_test_tonearest): Likewise.
9020 (lrint_test_towardzero): Likewise.
9021 (lrint_test_downward): Likewise.
9022 (lrint_test_upward): Likewise.
9023 (llrint_test): Likewise.
9024 (llrint_test_tonearest): Likewise.
9025 (llrint_test_towardzero): Likewise.
9026 (llrint_test_downward): Likewise.
9027 (llrint_test_upward): Likewise.
9028 (log_test): Likewise.
9029 (log10_test): Likewise.
9030 (log1p_test): Likewise.
9031 (log2_test): Likewise.
9032 (logb_test): Likewise.
9033 (logb_test_downward): Likewise.
9034 (lround_test): Likewise.
9035 (llround_test): Likewise.
9036 (modf_test): Likewise.
9037 (nearbyint_test): Likewise.
9038 (nextafter_test): Likewise.
9039 (nexttoward_test): Likewise.
9040 (pow_test): Likewise.
9041 (pow_test_tonearest): Likewise.
9042 (pow_test_towardzero): Likewise.
9043 (pow_test_downward): Likewise.
9044 (pow_test_upward): Likewise.
9045 (remainder_test): Likewise.
9046 (drem_test): Likewise.
9047 (remainder_test_tonearest): Likewise.
9048 (drem_test_tonearest): Likewise.
9049 (remainder_test_towardzero): Likewise.
9050 (drem_test_towardzero): Likewise.
9051 (remainder_test_downward): Likewise.
9052 (drem_test_downward): Likewise.
9053 (remainder_test_upward): Likewise.
9054 (drem_test_upward): Likewise.
9055 (remquo_test): Likewise.
9056 (rint_test): Likewise.
9057 (rint_test_tonearest): Likewise.
9058 (rint_test_towardzero): Likewise.
9059 (rint_test_downward): Likewise.
9060 (rint_test_upward): Likewise.
9061 (round_test): Likewise.
9062 (scalb_test): Likewise.
9063 (scalbn_test): Likewise.
9064 (scalbln_test): Likewise.
9065 (signbit_test): Likewise.
9066 (sin_test): Likewise.
9067 (sin_test_tonearest): Likewise.
9068 (sin_test_towardzero): Likewise.
9069 (sin_test_downward): Likewise.
9070 (sin_test_upward): Likewise.
9071 (sincos_test): Likewise.
9072 (sinh_test): Likewise.
9073 (sinh_test_tonearest): Likewise.
9074 (sinh_test_towardzero): Likewise.
9075 (sinh_test_downward): Likewise.
9076 (sinh_test_upward): Likewise.
9077 (sqrt_test): Likewise.
9078 (sqrt_test_tonearest): Likewise.
9079 (sqrt_test_towardzero): Likewise.
9080 (sqrt_test_downward): Likewise.
9081 (sqrt_test_upward): Likewise.
9082 (tan_test): Likewise.
9083 (tan_test_tonearest): Likewise.
9084 (tan_test_towardzero): Likewise.
9085 (tan_test_downward): Likewise.
9086 (tan_test_upward): Likewise.
9087 (tanh_test): Likewise.
9088 (tgamma_test): Likewise.
9089 (trunc_test): Likewise.
9090 (y0_test): Likewise.
9091 (y1_test): Likewise.
9092 (yn_test): Likewise.
9093 (significand_test): Likewise.
9095 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9096 individual tests in comment.
9097 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9098 (prev_max_error): New variable.
9099 (prev_real_max_error): Likewise.
9100 (prev_imag_max_error): Likewise.
9101 (compare_ulp_data): Don't refer to test names in comment.
9102 (find_test_ulps): Remove function.
9103 (find_function_ulps): Likewise.
9104 (find_complex_function_ulps): Likewise.
9105 (init_max_error): Take function name as argument. Look up ulps
9107 (print_ulps): Remove function.
9108 (print_max_error): Use prev_max_error instead of calling
9110 (print_complex_max_error): Use prev_real_max_error and
9111 prev_imag_max_error instead of calling find_complex_function_ulps.
9112 (check_float_internal): Take max_ulp parameter instead of calling
9113 find_test_ulps. Don't call print_ulps.
9114 (check_float): Update call to check_float_internal.
9115 (check_complex): Update calls to check_float_internal.
9116 (START): Pass argument to init_max_error.
9117 * math/gen-libm-test.pl (%results): Don't include "kind"
9119 (parse_ulps): Don't handle ulps of individual tests.
9120 (print_ulps_file): Likewise.
9121 (output_ulps): Likewise.
9122 * math/README.libm-test: Update.
9123 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9125 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9126 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9127 * sysdeps/arm/libm-test-ulps: Likewise.
9128 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9129 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9130 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9131 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9132 * sysdeps/microblaze/libm-test-ulps: Likewise.
9133 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9134 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9136 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9137 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9138 * sysdeps/sh/libm-test-ulps: Likewise.
9139 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9140 * sysdeps/tile/libm-test-ulps: Likewise.
9141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9143 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9145 * math/libm-test.inc (print_complex_max_error): Check separately
9146 whether real and imaginary errors are within allowed range and
9147 pass 0 to print_complex_function_ulps instead of value within
9150 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9152 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9154 (get_handles_fopen): Likewise.
9155 (do_write_test): Likewise.
9157 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9159 * libio/fileops.c (do_ftell): Use cached offset when
9161 * libio/iofwide.c (do_ftell_wide): Likewise.
9162 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9164 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9167 * libio/libioP.h (get_file_offset): New function.
9168 * libio/fileops.c (get_file_offset): Likewise.
9169 (do_ftell): Likewise.
9170 (_IO_new_file_seekoff): Split out ftell logic.
9171 * libio/wfileops.c (do_ftell_wide): Likewise.
9172 (_IO_wfile_seekoff): Split out ftell logic.
9173 * libio/tst-ftell-active-handler.c: New test case.
9174 * libio/Makefile (tests): Add it.
9176 2014-03-03 Roland McGrath <roland@hack.frob.com>
9178 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9179 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9181 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9184 * nscd/connections.c (nscd_init): Call do_exit.
9185 (start_threads): Call do_exit and notify_parent.
9186 (begin_drop_privileges): Call do_exit.
9187 (finish_drop_privileges): Likewise.
9188 * nscd/selinux.c (preserve_capabilities): Likewise.
9189 (install_real_capabilities): Likewise.
9190 (nscd_selinux_enabled): Likewise.
9191 (avc_create_thread): Likewise.
9192 (avc_alloc_lock): Likewise.
9193 (nscd_avc_init): Likewise.
9194 * nscd/nscd.c (parent_fd): New static variable.
9195 (main): Create a pipe between parent and child processes.
9196 Skip closing parent_fd.
9197 (monitor_child): New function.
9198 (do_exit): Likewise.
9199 (notify_parent): Likewise.
9200 * nscd/nscd.h (notify_parent): Likewise.
9201 (do_exit): Likewise.
9203 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9205 * malloc/malloc.c (__libc_calloc): Revert last change.
9207 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9211 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9213 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9217 (__libc_ifunc_impl_list): Likewise.
9218 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9219 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9220 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9221 * string/strrchr.c: Define STRRCHR.
9223 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9225 * benchtest/bench-strtok.c (simple_strtok): Delete.
9226 (strtok_string): Use as benchmark.
9227 * string/strtok (STRTOK): New macro.
9229 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9231 * manual/threads.texi: Add header and standard comments to all
9234 * elf/dl-lookup.c (check_match): New function.
9235 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9236 (do_lookup_x): Remove nested function check_match. Use non-nested
9237 function check_match.
9239 2014-02-28 Roland McGrath <roland@hack.frob.com>
9241 * csu/Makefile (generated, before-compile): Use += rather than =.
9242 * catgets/Makefile (generated, generated-dirs): Likewise.
9243 * debug/Makefile (generated): Likewise.
9244 * dlfcn/Makefile (generated): Likewise.
9245 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9246 * iconvdata/Makefile (before-compile, generated): Likewise.
9247 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9248 * libio/Makefile (generated): Likewise.
9249 * malloc/Makefile (generated): Likewise.
9250 * manual/Makefile (generated, generated-dirs): Likewise.
9251 * misc/Makefile (generated): Likewise.
9252 * posix/Makefile (generated): Likewise.
9253 * resolv/Makefile (generated): Likewise.
9254 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9255 * timezone/Makefile (generated, generated-dirs): Likewise.
9257 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9259 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9262 power8 implementation.
9263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9264 file: POWER8 llround ifunc implementation.
9265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9266 (__lllround): Add POWER8 implementation.
9267 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9268 POWER8 llround implementation.
9270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9271 power8 implementation.
9272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9273 file: POWER8 llrint ifunc implementation.
9274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9275 Add POWER8 implementation.
9276 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9277 POWER8 llrint implementation.
9279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9280 power8 implementation.
9281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9282 file: POWER8 finite ifunc implementation.
9283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9284 Add POWER8 implementation.
9285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9287 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9288 POWER8 finite implementation.
9289 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9292 power8 implementation.
9293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9294 file: POWER8 isinf ifunc implementation.
9295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9296 POWER8 implementation.
9297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9299 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9300 isinf implementation.
9301 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9303 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9304 (INIT_ARCH): Add hwcap2 initialization.
9305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9306 power8 implementation.
9307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9308 file: POWER8 isnan ifunc implementation.
9309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9310 POWER8 implementation.
9311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9314 isnan implementation.
9315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9317 2014-02-27 Joey Ye <joey.ye@arm.com>
9319 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9320 (_FP_NANFRAC_Q): Set to zero.
9322 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9325 * math/auto-libm-test-in: New test inputs.
9326 * math/auto-libm-test-out: Regenerate.
9327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9330 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9332 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9334 * scripts/evaluate-test.sh: Take new argument indicating whether
9335 failure is expected.
9336 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9337 indicating whether failure is expected.
9338 * conform/Makefile (test-xfail-run-conformtest): New variable.
9339 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9341 * posix/Makefile (test-xfail-annexc): New variable.
9342 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9344 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9346 * argp/Makefile: Include Makeconfig immediately after defining
9348 * assert/Makefile: Likewise.
9349 * benchtests/Makefile: Likewise.
9350 * catgets/Makefile: Likewise.
9351 * conform/Makefile: Likewise.
9352 * crypt/Makefile: Likewise.
9353 * csu/Makefile: Likewise.
9354 (all): Remove target.
9355 * ctype/Makefile: Include Makeconfig immediately after defining
9357 * debug/Makefile: Likewise.
9358 * dirent/Makefile: Likewise.
9359 * dlfcn/Makefile: Likewise.
9360 * gmon/Makefile: Likewise.
9361 * gnulib/Makefile: Likewise.
9362 * grp/Makefile: Likewise.
9363 * gshadow/Makefile: Likewise.
9364 * hesiod/Makefile: Likewise.
9365 * hurd/Makefile: Likewise.
9366 (all): Remove target.
9367 * iconvdata/Makefile: Include Makeconfig immediately after
9369 * inet/Makefile: Likewise.
9370 * intl/Makefile: Likewise.
9371 * io/Makefile: Likewise.
9372 * libio/Makefile: Likewise.
9373 (all): Remove target.
9374 * locale/Makefile: Include Makeconfig immediately after defining
9376 * login/Makefile: Likewise.
9377 * mach/Makefile: Likewise.
9378 (all): Remove target.
9379 * malloc/Makefile: Include Makeconfig immediately after defining
9381 (all): Remove target.
9382 * manual/Makefile: Include Makeconfig immediately after defining
9384 * math/Makefile: Likewise.
9385 * misc/Makefile: Likewise.
9386 * nis/Makefile: Likewise.
9387 * nss/Makefile: Likewise.
9388 * po/Makefile: Likewise.
9389 (all): Remove target.
9390 * posix/Makefile: Include Makeconfig immediately after defining
9392 * pwd/Makefile: Likewise.
9393 * resolv/Makefile: Likewise.
9394 * resource/Makefile: Likewise.
9395 * rt/Makefile: Likewise.
9396 * setjmp/Makefile: Likewise.
9397 * shadow/Makefile: Likewise.
9398 * signal/Makefile: Likewise.
9399 * socket/Makefile: Likewise.
9400 * soft-fp/Makefile: Likewise.
9401 * stdio-common/Makefile: Likewise.
9402 * stdlib/Makefile: Likewise.
9403 * streams/Makefile: Likewise.
9404 * string/Makefile: Likewise.
9405 * sunrpc/Makefile: Likewise.
9406 (all): Remove target.
9407 * sysvipc/Makefile: Include Makeconfig immediately after defining
9409 * termios/Makefile: Likewise.
9410 * time/Makefile: Likewise.
9411 * timezone/Makefile: Likewise.
9412 (all): Remove target.
9413 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9415 * wctype/Makefile: Likewise.
9417 2014-02-26 Steve Ellcey <sellcey@mips.com>
9419 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9420 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9421 (libc_feholdexcept_setround_mips): Ditto.
9422 (libc_feholdsetround): New.
9423 (libc_feholdsetroundf): New.
9424 (libc_feholdsetroundl): New.
9425 (libc_feupdateenv_test_mips): New.
9426 (libc_feupdateenv_test): New.
9427 (libc_feupdateenv_testf): New.
9428 (libc_feupdateenv_testl): New.
9429 (libc_feresetround): New.
9430 (libc_feresetroundf): New.
9431 (libc_feresetroundl): New.
9432 (libc_fetestexcept_mips): New.
9433 (libc_fetestexcept): New.
9434 (libc_fetestexceptf): New.
9435 (libc_fetestexceptl): New.
9437 (libc_feholdexcept_setround_mips_ctx): New.
9438 (libc_feholdexcept_setround_ctx): New.
9439 (libc_feholdexcept_setroundf_ctx): New.
9440 (libc_feholdexcept_setroundl_ctx): New.
9441 (libc_fesetenv_mips_ctx): New.
9442 (libc_fesetenv_ctx): New.
9443 (libc_fesetenv_ctxf): New.
9444 (libc_fesetenv_ctxl): New.
9445 (libc_feupdateenv_mips_ctx): New.
9446 (libc_feupdateenv_ctx): New.
9447 (libc_feupdateenvf_ctx): New.
9448 (libc_feupdateenvl_ctx): New.
9449 (libc_feholdsetround_mips_ctx): New.
9450 (libc_feholdsetround_ctx): New.
9451 (libc_feholdsetroundf_ctx): New.
9452 (libc_feholdsetroundl_ctx): New.
9453 (libc_feresetround_mips_ctx): New.
9454 (libc_feresetround_ctx): New.
9455 (libc_feresetroundf_ctx): New.
9456 (libc_feresetroundl_ctx): New.
9458 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9460 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9462 * manual/ipc.texi: New file.
9463 * manual/Makefile (chapters): Add ipc.
9464 * manual/job.texi: Add "Inter-Process Communication" to next.
9465 * manual/process.texi: Add "Inter-Process Communication" to prev.
9467 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9471 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9473 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9475 * manual/arith.texi: Fix spaces after sentences.
9476 * manual/charset.texi: Likewise.
9477 * manual/errno.texi: Likewise.
9478 * manual/install.texi: Likewise.
9479 * manual/llio.texi: Likewise.
9480 * manual/locale.texi: Likewise.
9481 * manual/maint.texi: Likewise.
9482 * manual/math.texi: Likewise.
9483 * manual/memory.texi: Likewise.
9484 * manual/message.texi: Likewise.
9485 * manual/probes.texi: Likewise.
9486 * manual/resource.texi: Likewise.
9487 * manual/signal.texi: Likewise.
9488 * manual/socket.texi: Likewise.
9489 * manual/stdio.texi: Likewise.
9490 * manual/string.texi: Likewise.
9491 * manual/time.texi: Likewise.
9492 * manual/users.texi: Likewise.
9494 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9497 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9498 _DEFAULT_SOURCE is defined.
9500 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9501 Carlos O'Donell <carlos@redhat.com>
9504 * elf/dl-tls.c (_dl_count_modids): New function.
9505 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9506 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9507 audit library and increment generation counter.
9508 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9509 * elf/tst-audit9.c: New file.
9510 * elf/tst-auditmod9a.c: New file.
9511 * elf/tst-auditmod9b.c: New file.
9512 * elf/Makefile: Add rules to build and run tst-audit9.
9514 2014-02-25 Florian Weimer <fweimer@redhat.com>
9517 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9519 2014-02-25 Will Newton <will.newton@linaro.org>
9521 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9522 (__longjmp): Restore sp and lr before restoring callee
9523 saved registers. Add longjmp and longjmp_target
9524 SystemTap probe point.
9525 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9526 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9527 Define to zero to match jmpbuf layout.
9528 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9529 (__sigsetjmp): Save sp and lr before saving callee
9530 saved registers. Add setjmp SystemTap probe point.
9532 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9534 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9536 2014-02-24 Andreas Schwab <schwab@suse.de>
9539 * elf/pldd.c (wait_for_ptrace_stop): New function.
9540 (main): Call it after attaching.
9542 2014-02-22 Roland McGrath <roland@hack.frob.com>
9544 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9545 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9546 Versions files is now verboten.
9547 * hurd/Versions (libc: GLIBC_2.0):
9548 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9549 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9550 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9551 * mach/Versions: Likewise.
9553 * csu/Versions: Remove unused %include.
9554 * resolv/Versions: Likewise.
9556 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9558 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9559 ($(objpfx)check-local-headers.out): Likewise.
9560 ($(objpfx)begin-end-check.out): Likewise.
9561 * Makerules (check-abi-%.out): Likewise.
9562 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9563 ($(objpfx)test2.cat): Likewise.
9564 ($(objpfx)de/libc.cat): Likewise.
9565 ($(objpfx)test-gencat.out): Likewise.
9566 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9567 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9568 ($(objpfx)noload-mem): Likewise.
9569 ($(objpfx)tst-pathopt.out): Likewise.
9570 ($(objpfx)tst-rtld-load-self.out): Likewise.
9571 ($(objpfx)tst-array1-cmp.out): Likewise.
9572 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9573 ($(objpfx)tst-array2-cmp.out): Likewise.
9574 ($(objpfx)tst-array3-cmp.out): Likewise.
9575 ($(objpfx)tst-array4-cmp.out): Likewise.
9576 ($(objpfx)tst-array5-cmp.out): Likewise.
9577 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9578 ($(objpfx)check-textrel.out): Likewise.
9579 ($(objpfx)check-execstack.out): Likewise.
9580 ($(objpfx)check-localplt.out): Likewise.
9581 ($(objpfx)order2-cmp.out): Likewise.
9582 ($(objpfx)tst-leaks1-mem): Likewise.
9583 ($(objpfx)tst-leaks1-static-mem): Likewise.
9584 ($(objpfx)tst-initorder-cmp.out): Likewise.
9585 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9586 ($(objpfx)tst-unused-dep.out): Likewise.
9587 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9588 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9589 * iconv/Makefile (test-iconvconfig): Likewise.
9590 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9591 ($(objpfx)iconv-test.out): Likewise.
9592 ($(objpfx)tst-tables.out): Likewise.
9593 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9594 ($(objpfx)tst-gettext.out): Likewise.
9595 ($(objpfx)tst-translit.out): Likewise.
9596 ($(objpfx)tst-gettext2.out): Likewise.
9597 ($(objpfx)tst-gettext4.out): Likewise.
9598 ($(objpfx)tst-gettext6.out): Likewise.
9599 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9600 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9601 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9602 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9604 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9605 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9606 ($(objpfx)wordexp-tst.out): Likewise.
9607 ($(objpfx)annexc.out): Likewise.
9608 ($(objpfx)tst-fnmatch-mem): Likewise.
9609 ($(objpfx)bug-regex2-mem): Likewise.
9610 ($(objpfx)bug-regex14-mem): Likewise.
9611 ($(objpfx)bug-regex21-mem): Likewise.
9612 ($(objpfx)bug-regex31-mem): Likewise.
9613 ($(objpfx)tst-vfork3-mem): Likewise.
9614 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9615 ($(objpfx)tst-pcre-mem): Likewise.
9616 ($(objpfx)tst-boost-mem): Likewise.
9617 ($(objpfx)tst-getconf.out): Likewise.
9618 ($(objpfx)bug-ga2-mem): Likewise.
9619 ($(objpfx)bug-glob2-mem): Likewise.
9620 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9621 ($(objpfx)mtrace-tst-leaks2): Likewise.
9622 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9623 ($(objpfx)tst-printf.out): Likewise.
9624 ($(objpfx)tst-setvbuf1.out): Likewise.
9625 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9626 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9627 ($(objpfx)tst-fmtmsg.out): Likewise.
9628 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9629 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9631 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9632 * bits/sigaction.h [__USE_MISC]: Likewise.
9633 * bits/waitstatus.h: Update #endif comments.
9634 * ctype/ctype.h: Likewise.
9635 * dirent/dirent.h: Likewise.
9636 [__USE_MISC]: Remove redundant conditionals.
9637 * grp/grp.h: Update #endif comments.
9638 [__USE_GNU]: Remove redundant conditionals.
9639 [__USE_MISC]: Likewise.
9640 * inet/netinet/in.h [__USE_GNU]: Likewise.
9641 * io/sys/stat.h [__USE_MISC]: Likewise.
9642 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9643 * libio/bits/stdio.h: Update #endif comments.
9644 [__USE_MISC]: Remove redundant conditionals.
9645 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9646 * libio/stdio.h: Update #endif comments.
9647 [__USE_MISC]: Remove redundant conditionals.
9648 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9649 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9650 * math/math.h: Update #else and #endif comments.
9651 [__USE_MISC]: Remove redundant conditionals.
9652 * misc/sys/uio.h: Update #endif comments.
9653 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9654 * posix/glob.h [__USE_MISC]: Likewise.
9655 * posix/sys/types.h: Update #endif comments.
9656 [__USE_MISC]: Remove redundant conditionals.
9657 * posix/sys/wait.h: Update #endif comments.
9658 [__USE_MISC]: Remove redundant conditionals.
9659 * posix/unistd.h: Update #endif comments.
9660 [__USE_MISC]: Remove redundant conditionals.
9661 * pwd/pwd.h [__USE_GNU]: Likewise.
9662 [__USE_MISC]: Likewise.
9663 * resolv/netdb.h [__USE_GNU]: Likewise.
9664 * signal/signal.h: Update #endif comments.
9665 [__USE_MISC]: Remove redundant conditionals.
9666 * stdlib/stdlib.h: Update #else and #endif comments.
9667 [__USE_MISC]: Remove redundant conditionals.
9668 [__USE_GNU]: Likewise.
9669 * string/bits/string2.h [__USE_MISC]: Likewise.
9670 * string/string.h: Update #endif comments.
9671 [__USE_MISC]: Remove redundant conditionals.
9672 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9674 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9675 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9676 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9678 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9682 [__USE_MISC]: Remove redundant conditionals.
9683 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9684 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9685 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9686 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9687 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9689 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9690 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9692 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9693 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9695 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9697 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9700 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9702 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9703 * sysdeps/x86/bits/string.h: Update #endif comments.
9704 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9706 * time/sys/time.h: Update #endif comments.
9707 * time/time.h: Likewise.
9708 [__USE_MISC]: Remove redundant conditionals.
9710 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9713 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9715 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9717 * Versions.def (librt): Add GLIBC_2.17.
9719 2014-02-21 Adam Conrad <adconrad@0c3.net>
9721 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9722 synonym for _SYS_AUXV_H to allow direct inclusion.
9723 * sysdeps/sparc/bits/hwcap.h: Likewise.
9724 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9725 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9726 * sysdeps/sparc/sysdep.h: Likewise.
9728 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9730 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9732 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9734 * benchtests/bench-strrchr.c: Print length instead of position.
9736 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/sysv/linux/kernel-features.h
9740 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9741 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9742 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9743 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9745 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9746 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9747 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9748 (__ASSUME_SENDMMSG): Define instead of using previous
9749 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9750 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9751 (__ASSUME_SENDMMSG_SYSCALL): Define.
9752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9753 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9755 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9756 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9758 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9759 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9761 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9762 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9763 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9764 [__ASSUME_SENDMMSG]: Change conditionals to
9765 [__ASSUME_SENDMMSG_SOCKETCALL].
9766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9767 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9770 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9772 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9773 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9774 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9775 [!__ASSUME_SENDMMSG]: Change conditional to
9776 [!__ASSUME_SENDMMSG_SOCKETCALL].
9777 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9778 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9782 * sysdeps/unix/sysv/linux/kernel-features.h
9783 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9784 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9785 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9786 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9787 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9788 [__i386__ || __sparc__]
9789 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9790 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9791 (__ASSUME_RECVMMSG): Define instead of using previous
9792 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9793 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9794 (__ASSUME_RECVMMSG_SYSCALL): Define.
9795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9802 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9804 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9805 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9806 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9807 [__ASSUME_RECVMMSG]: Change condition to
9808 [__ASSUME_RECVMMSG_SOCKETCALL].
9809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9810 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9812 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9813 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9816 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9817 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9818 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9819 [!__ASSUME_RECVMMSG]: Change condition to
9820 [!__ASSUME_RECVMMSG_SOCKETCALL].
9821 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9822 (__ASSUME_RECVMMSG_SYSCALL): Define.
9825 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9826 __powerpc__ || __s390__ || __sh__ || __sparc__]
9827 (__ASSUME_SOCKETCALL): Define.
9828 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9829 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9830 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9831 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9832 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9833 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9834 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9835 (__ASSUME_ACCEPT4): Define instead of using previous
9836 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9837 __powerpc__ || __sparc__ || __s390__)] condition.
9838 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9839 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9840 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9841 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9842 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9843 [!__ASSUME_ACCEPT4]: Change condition to
9844 [!__ASSUME_ACCEPT4_SOCKETCALL].
9845 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9846 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9847 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9849 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9850 __ASSUME_ACCEPT4_SYSCALL.
9851 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9852 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9853 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9854 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9855 __ASSUME_ACCEPT4_SYSCALL.
9856 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9857 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9858 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9859 [__ASSUME_ACCEPT4]: Change condition to
9860 [__ASSUME_ACCEPT4_SOCKETCALL].
9861 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9862 (__ASSUME_SOCKETCALL): Define.
9863 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9865 (__ASSUME_SOCKETCALL): Define.
9866 (__ASSUME_ACCEPT4): Remove.
9867 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9869 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9870 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9872 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9873 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9875 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9877 (HWCAP_ARM_LPAE): Likewise.
9878 (HWCAP_ARM_EVTSTRM): Likewise.
9879 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9880 Add vpfd32, lpae and evtstrm.
9881 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9884 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9886 * math/auto-libm-test-in: Add tests of clog10.
9887 * math/auto-libm-test-out: Regenerated.
9888 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9889 * sysdeps/i386/fpu/libm-test-ulps: Update.
9890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9892 2014-02-18 Andreas Schwab <schwab@suse.de>
9895 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9896 Store non-zero if the second buffer was newly allocated.
9897 (send_dg): Likewise.
9898 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9899 to send_vc and send_dg.
9900 (res_nsend): Pass NULL for ansp2_malloced.
9901 * resolv/res_query.c (__libc_res_nquery): Add parameter
9902 answerp2_malloced and pass it down to __libc_res_nsend.
9903 (res_nquery): Pass additional NULL to __libc_res_nquery.
9904 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9905 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9906 second answer buffer if answerp2_malloced was set.
9907 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9908 (__libc_res_nquerydomain): Add parameter
9909 answerp2_malloced and pass it down to __libc_res_nquery.
9910 (res_nquerydomain): Pass additional NULL to
9911 __libc_res_nquerydomain.
9912 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9913 additional NULL to __libc_res_nsend and __libc_res_nquery.
9914 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9915 additional NULL to __libc_res_nsearch.
9916 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9917 parameter of __libc_res_nsearch to check for separately allocated
9919 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9921 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9922 additional NULL to __libc_res_nquery.
9923 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9925 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9926 * include/resolv.h: Update prototypes of __libc_res_nquery,
9927 __libc_res_nsearch, __libc_res_nsend.
9929 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9931 * math/auto-libm-test-in: Add tests of fma.
9932 * math/auto-libm-test-out: Regenerated.
9933 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9934 (fma_towardzero_test_data): Likewise.
9935 (fma_downward_test_data): Likewise.
9936 (fma_upward_test_data): Likewise.
9937 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9939 (rounding_modes): Add values for new field.
9940 (func_calc_method): Add value mpfr_fff_f.
9941 (func_calc_desc): Add mpfr_fff_f union field.
9942 (test_function): Add field exact_args.
9943 (FUNC): Add macro argument EXACT_ARGS.
9944 (FUNC_mpfr_f_f): Update call to FUNC.
9945 (FUNC_mpfr_f_f): Likewise.
9946 (FUNC_mpfr_ff_f): Likewise.
9947 (FUNC_mpfr_if_f): Likewise.
9948 (FUNC_mpc_c_f): Likewise.
9949 (FUNC_mpc_c_c): Likewise.
9950 (test_functions): Add fma. Update calls to FUNC.
9951 (handle_input_arg): Add argument exact_args.
9952 (add_test): Update call to handle_input_arg.
9953 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9954 (output_for_one_input_case): Update call to calc_generic_results.
9955 Recalculate exact zero results in each rounding mode.
9957 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9958 non-negative before setting low bit.
9959 * math/auto-libm-test-in: Mark one asin test possibly having
9961 * math/auto-libm-test-out: Regenerated.
9962 * sysdeps/i386/fpu/libm-test-ulps: Update.
9963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9965 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9967 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9968 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9969 ports/sysdeps/unix/sysv/linux/microblaze.
9970 * README: Add missing listing for microblaze*-*-linux-gnu.
9972 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9977 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9979 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9980 * sysdeps/unix/sysv/linux/ia64: Move directory from
9981 ports/sysdeps/unix/sysv/linux/ia64.
9982 * README: Update listing for ia64-*-linux-gnu.
9984 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9985 Joseph Myers <joseph@codesourcery.com>
9987 * Makeconfig (test-name): New variable.
9988 (evaluate-test): Likewise.
9989 * Makerules (do-test-clean): Remove .test-result files.
9990 (common-mostlyclean): Likewise.
9991 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9992 * scripts/evaluate-test.sh: New file.
9994 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9996 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9997 separate $(objpfx)tst-fopenloc-cmp.out and
9998 $(objpfx)tst-fopenloc-mem.out targets.
9999 (tests): Update dependencies.
10000 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10001 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10002 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10003 (tst-rxspencer-no-utf8-ARGS): New variable.
10004 (tst-rxspencer-no-utf8-ENV): Likewise.
10005 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10006 instead of $(objpfx)tst-rxspencer-mem.
10007 ($(objpfx)tst-rxspencer-mem): Change target to
10008 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10009 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10010 * posix/tst-rxspencer-no-utf8.c: New file.
10012 * elf/Makefile ($(objpfx)order.out): Remove rule.
10013 [$(run-built-tests) = yes] (tests): Depend on
10014 $(objpfx)order-cmp.out.
10015 ($(objpfx)order-cmp.out): New rule.
10016 [$(run-built-tests) = yes] (tests): Depend on
10017 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10018 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10019 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10020 $(objpfx)tst-array5-static-cmp.out.
10021 ($(objpfx)tst-array1.out): Remove rule.
10022 ($(objpfx)tst-array1-cmp.out): New rule.
10023 ($(objpfx)tst-array1-static.out): Remove rule.
10024 ($(objpfx)tst-array1-static-cmp.out): New rule.
10025 ($(objpfx)tst-array2.out): Remove rule.
10026 ($(objpfx)tst-array2-cmp.out): New rule.
10027 ($(objpfx)tst-array3.out): Remove rule.
10028 ($(objpfx)tst-array3-cmp.out): New rule.
10029 ($(objpfx)tst-array4.out): Remove rule.
10030 ($(objpfx)tst-array4-cmp.out): New rule.
10031 ($(objpfx)tst-array5.out): Remove rule.
10032 ($(objpfx)tst-array5-cmp.out): New rule.
10033 ($(objpfx)tst-array5-static.out): Remove rule.
10034 ($(objpfx)tst-array5-static-cmp.out): New rule.
10035 [$(run-built-tests) = yes] (tests): Depend on
10036 $(objpfx)order2-cmp.out.
10037 ($(objpfx)order2.out): Remove rule.
10038 ($(objpfx)order2-cmp.out): New rule.
10039 ($(objpfx)tst-initorder.out): Remove rule.
10040 [$(run-built-tests) = yes] (tests): Depend on
10041 $(objpfx)tst-initorder-cmp.out.
10042 ($(objpfx)tst-initorder-cmp.out): New rule.
10043 ($(objpfx)tst-initorder2.out): Remove rule.
10044 [$(run-built-tests) = yes] (tests): Depend on
10045 $(objpfx)tst-initorder2-cmp.out.
10046 ($(objpfx)tst-initorder2-cmp.out): New rule.
10047 [$(run-built-tests) = yes] (tests): Depend on
10048 $(objpfx)tst-unused-dep-cmp.out.
10049 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10050 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10051 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10052 on $(objpfx)tst-setvbuf1-cmp.out.
10053 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10054 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10055 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10056 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10057 ($(objpfx)tst-svc.out): Remove rule.
10058 ($(objpfx)tst-svc-cmp.out): New rule.
10060 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10062 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10063 * ctype/ctype.h [__USE_MISC]: Likewise.
10064 * dirent/dirent.h [__USE_MISC]: Likewise.
10065 * grp/grp.h [__USE_MISC]: Likewise.
10066 * io/fcntl.h [__USE_MISC]: Likewise.
10067 * io/sys/stat.h [__USE_MISC]: Likewise.
10068 * libio/stdio.h [__USE_MISC]: Likewise.
10069 * posix/unistd.h [__USE_MISC]: Likewise.
10070 * pwd/pwd.h [__USE_MISC]: Likewise.
10071 * stdlib.h [__USE_MISC]: Likewise.
10072 * string/bits/string2.h [__USE_MISC]: Likewise.
10073 * string/string.h [__USE_MISC]: Likewise.
10074 * time/time.h [__USE_MISC]: Likewise.
10076 2014-02-13 Andreas Schwab <schwab@suse.de>
10079 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10080 second answer buffer if it was separately allocated.
10082 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/mips/math-tests.h: Include <features.h>.
10085 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10086 (ROUNDING_TESTS_long_double): Do not define.
10087 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10088 (EXCEPTION_TESTS_long_double): Likewise.
10089 * sysdeps/mips/mips64/libm-test-ulps: Update.
10091 * include/features.h (__USE_BSD): Remove macro definitions.
10092 (__USE_SVID): Likewise.
10093 (_BSD_SOURCE): Likewise.
10094 (_SVID_SOURCE): Likewise.
10095 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10096 from definition of _DEFAULT_SOURCE.
10097 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10099 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10100 * bits/mman.h [__USE_BSD]: Likewise.
10101 * bits/termios.h [__USE_BSD]: Likewise.
10102 * bits/waitstatus.h [__USE_BSD]: Likewise.
10103 * ctype/ctype.h [__USE_SVID]: Likewise.
10104 * dirent/dirent.h [__USE_BSD]: Likewise.
10105 * grp/grp.h [__USE_SVID]: Likewise.
10106 [__USE_BSD]: Likewise.
10107 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10108 * io/fcntl.h [__USE_BSD]: Likewise.
10109 * io/ftw.h [__USE_BSD]: Likewise.
10110 * io/sys/stat.h [__USE_BSD]: Likewise.
10111 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10112 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10113 * libio/stdio.h [__USE_SVID]: Likewise.
10114 [__USE_BSD]: Likewise.
10115 * math/math.h [__USE_SVID]: Likewise.
10116 [__USE_BSD]: Likewise.
10117 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10118 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10119 * misc/search.h [__USE_SVID]: Likewise.
10120 * misc/sys/mman.h [__USE_BSD]: Likewise.
10121 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10122 * misc/sys/uio.h [__USE_BSD]: Likewise.
10123 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10124 * posix/glob.h [__USE_BSD]: Likewise.
10125 * posix/regex.h [__USE_BSD]: Likewise.
10126 * posix/sys/types.h [__USE_BSD]: Likewise.
10127 [__USE_SVID]: Likewise.
10128 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10129 * posix/sys/wait.h [__USE_BSD]: Likewise.
10130 [__USE_SVID]: Likewise.
10131 * posix/unistd.h [__USE_BSD]: Likewise.
10132 [__USE_SVID]: Likewise.
10133 * pwd/pwd.h [__USE_SVID]: Likewise.
10134 * resolv/netdb.h [__USE_BSD]: Likewise.
10135 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10136 * signal/signal.h [__USE_BSD]: Likewise.
10137 [__USE_SVID]: Likewise.
10138 * socket/sys/socket.h [__USE_BSD]: Likewise.
10139 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10140 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10141 [__USE_SVID]: Likewise.
10142 * string/bits/string2.h [__USE_BSD]: Likewise.
10143 [__USE_SVID]: Likewise.
10144 * string/bits/string3.h [__USE_BSD]: Likewise.
10145 * string/endian.h [__USE_BSD]: Likewise.
10146 * string/string.h [__USE_SVID]: Likewise.
10147 [__USE_BSD]: Likewise.
10148 * string/strings.h [__USE_BSD]: Likewise.
10149 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10150 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10151 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10152 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10153 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10154 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10158 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10159 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10161 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10162 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10164 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10166 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10167 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10170 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10172 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10173 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10174 * termios/termios.h [__USE_BSD]: Likewise.
10175 * time/sys/time.h [__USE_BSD]: Likewise.
10176 * time/time.h [__USE_BSD]: Likewise.
10177 [__USE_SVID]: Likewise.
10179 * Makefile (subdir_targets): Remove subdir_lint.out.
10181 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10182 (do-tst-printf): Likewise.
10183 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10184 $(objpfx)tst-printf.out.
10186 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10188 * Makerules (check-abi-%): Change target to
10189 $(objpfx)check-abi-%.out.
10190 (check-abi target): Update dependencies.
10191 (check-abi-pattern variable): Redirect output of diff to $@.
10192 (check-abi variable): Likewise.
10193 * elf/Makefile (check-abi): Update dependencies.
10195 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10197 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10198 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10200 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10201 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10202 value has largest subnormal exponent.
10203 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10204 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10205 * sysdeps/aarch64/soft-fp/sfp-machine.h
10206 (_FP_TININESS_AFTER_ROUNDING): New macro.
10207 * sysdeps/alpha/soft-fp/sfp-machine.h
10208 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10209 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10211 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10212 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10213 * sysdeps/mips/soft-fp/sfp-machine.h
10214 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10215 * sysdeps/powerpc/soft-fp/sfp-machine.h
10216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10217 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10220 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10222 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10223 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10226 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10229 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10232 2014-02-12 Richard Henderson <rth@redhat.com>
10234 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10235 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10236 * sysdeps/unix/sysv/linux/alpha: Move directory from
10237 ports/sysdeps/unix/sysv/linux/alpha.
10238 * README: Update listing for alpha-*-linux-gnu.
10240 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10242 * include/features.h: Update comment documenting feature test
10244 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10246 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10247 (_SVID_SOURCE): Likewise.
10248 (_DEFAULT_SOURCE): Update description of default features.
10249 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10251 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10252 (S_ISVTX): Likewise.
10253 * manual/math.texi (Mathematical Constants): Likewise.
10254 * manual/signal.texi (Interrupted Primitives): Likewise.
10255 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10256 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10257 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10258 Don't refer to _SVID_SOURCE in warning text.
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10262 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10264 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10265 * sysdeps/mips/dl-lookup.c: Remove.
10266 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10268 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10271 * math/auto-libm-test-in: Add testcase for expl.
10272 * math/auto-libm-test-out: Regenerate.
10273 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10274 calculation of unsafe.
10275 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10277 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10279 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10280 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10281 ports/sysdeps/unix/sysv/linux/aarch64.
10282 * README: Update listing for aarch64*-*-linux-gnu.
10284 2014-02-11 Will Newton <will.newton@linaro.org>
10286 * manual/probes.texi (Mathematical Function Probes): Use
10287 "triggered" instead of "hit".
10289 * manual/probes.texi (Internal Probes): Add documentation
10290 of setjmp, longjmp and longjmp_target probes.
10292 * include/stap-probe.h: Add comment about probe argument
10295 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10296 definition. (tr_where, tr_freehook, tr_mallochook,
10297 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10299 2014-02-11 David S. Miller <davem@davemloft.net>
10301 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10302 processing int_tests.
10304 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10307 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10308 * sysdeps/unix/sysv/linux/mips: Move directory from
10309 ports/sysdeps/unix/sysv/linux/mips.
10310 * README: Update listing for mips-*-linux-gnu and
10311 mips64-*-linux-gnu.
10313 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10315 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10316 * sysdeps/unix/sysv/linux/m68k: Move directory from
10317 ports/sysdeps/unix/sysv/linux/m68k.
10318 * README: Update listing for m68k-*-linux-gnu.
10320 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10322 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10323 * sysdeps/unix/sysv/linux/generic: Move directory from
10324 ports/sysdeps/unix/sysv/linux/generic.
10325 * sysdeps/unix/sysv/linux/tile: Move directory from
10326 ports/sysdeps/unix/sysv/linux/tile.
10327 * README: Update listing for tile*-*-linux-gnu.
10329 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10331 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10333 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10334 * catgets/open_catalog.c (__open_catalog): Likewise.
10335 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10336 * debug/confstr_chk.c: Likewise.
10337 * debug/fread_chk.c (__fread_chk): Likewise.
10338 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10339 * debug/getgroups_chk.c: Likewise.
10340 * debug/mbsnrtowcs_chk.c: Likewise.
10341 * debug/mbsrtowcs_chk.c: Likewise.
10342 * debug/mbstowcs_chk.c: Likewise.
10343 * debug/memcpy_chk.c: Likewise.
10344 * debug/memmove_chk.c: Likewise.
10345 * debug/mempcpy_chk.c: Likewise.
10346 * debug/memset_chk.c: Likewise.
10347 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10348 * debug/strcat_chk.c (__strcat_chk): Likewise.
10349 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10350 * debug/strncat_chk.c (__strncat_chk): Likewise.
10351 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10352 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10353 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10354 * debug/wcpncpy_chk.c: Likewise.
10355 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10356 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10357 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10358 * debug/wcsncpy_chk.c: Likewise.
10359 * debug/wcsnrtombs_chk.c: Likewise.
10360 * debug/wcsrtombs_chk.c: Likewise.
10361 * debug/wcstombs_chk.c: Likewise.
10362 * debug/wmemcpy_chk.c: Likewise.
10363 * debug/wmemmove_chk.c: Likewise.
10364 * debug/wmempcpy_chk.c: Likewise.
10365 * debug/wmemset_chk.c: Likewise.
10366 * dirent/scandirat.c (SCANDIRAT): Likewise.
10367 * dlfcn/dladdr1.c (dladdr1): Likewise.
10368 * dlfcn/dladdr.c (dladdr): Likewise.
10369 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10370 * dlfcn/dlerror.c (__dlerror): Likewise.
10371 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10372 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10373 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10374 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10375 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10376 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10377 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10378 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10380 * elf/dl-conflict.c: Likewise.
10381 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10382 * elf/dl-dst.h: Likewise.
10383 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10384 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10385 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10386 * elf/dl-init.c (call_init, _dl_init): Likewise.
10387 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10388 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10389 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10391 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10393 * elf/dl-minimal.c (__libc_memalign): Likewise.
10394 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10395 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10396 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10397 * elf/dl-sym.c (do_sym): Likewise.
10398 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10399 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10400 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10401 * elf/dl-writev.h (_dl_writev): Likewise.
10402 * elf/ldconfig.c (search_dir): Likewise.
10403 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10404 (dl_main): Likewise.
10405 * elf/setup-vdso.h (setup_vdso): Likewise.
10406 * grp/compat-initgroups.c (compat_call): Likewise.
10407 * grp/fgetgrent.c (fgetgrent): Likewise.
10408 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10409 * grp/putgrent.c (putgrent): Likewise.
10410 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10412 * hurd/hurdinit.c: Likewise.
10413 * iconvdata/8bit-gap.c (struct): Likewise.
10414 * iconvdata/ansi_x3.110.c : Likewise.
10415 * iconvdata/big5.c : Likewise.
10416 * iconvdata/big5hkscs.c : Likewise.
10417 * iconvdata/cp1255.c: Likewise.
10418 * iconvdata/cp1258.c : Likewise.
10419 * iconvdata/cp932.c : Likewise.
10420 * iconvdata/euc-cn.c: Likewise.
10421 * iconvdata/euc-jisx0213.c : Likewise.
10422 * iconvdata/euc-jp.c: Likewise.
10423 * iconvdata/euc-jp-ms.c : Likewise.
10424 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10425 * iconvdata/gb18030.c : Likewise.
10426 * iconvdata/gbbig5.c (const): Likewise.
10427 * iconvdata/gbgbk.c: Likewise.
10428 * iconvdata/gbk.c : Likewise.
10429 * iconvdata/ibm1364.c : Likewise.
10430 * iconvdata/ibm930.c : Likewise.
10431 * iconvdata/ibm932.c: Likewise.
10432 * iconvdata/ibm933.c : Likewise.
10433 * iconvdata/ibm935.c : Likewise.
10434 * iconvdata/ibm937.c : Likewise.
10435 * iconvdata/ibm939.c : Likewise.
10436 * iconvdata/ibm943.c: Likewise.
10437 * iconvdata/iso_11548-1.c: Likewise.
10438 * iconvdata/iso-2022-cn.c : Likewise.
10439 * iconvdata/iso-2022-cn-ext.c : Likewise.
10440 * iconvdata/iso-2022-jp-3.c: Likewise.
10441 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10442 * iconvdata/iso-2022-kr.c : Likewise.
10443 * iconvdata/iso646.c (gconv_end): Likewise.
10444 * iconvdata/iso_6937-2.c : Likewise.
10445 * iconvdata/iso_6937.c : Likewise.
10446 * iconvdata/iso8859-1.c: Likewise.
10447 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10448 * iconvdata/shift_jisx0213.c : Likewise.
10449 * iconvdata/sjis.c : Likewise.
10450 * iconvdata/t.61.c : Likewise.
10451 * iconvdata/tcvn5712-1.c : Likewise.
10452 * iconvdata/tscii.c: Likewise.
10453 * iconvdata/uhc.c : Likewise.
10454 * iconvdata/unicode.c (gconv_end): Likewise.
10455 * iconvdata/utf-16.c (gconv_end): Likewise.
10456 * iconvdata/utf-32.c (gconv_end): Likewise.
10457 * iconvdata/utf-7.c (base64): Likewise.
10458 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10459 * iconv/gconv_close.c (__gconv_close): Likewise.
10460 * iconv/gconv_open.c (__gconv_open): Likewise.
10461 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10462 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10463 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10464 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10465 (ucs4le_internal_loop_single): Likewise.
10466 * iconv/iconv.c (iconv): Likewise.
10467 * iconv/iconv_close.c: Likewise.
10468 * iconv/loop.c (SINGLE): Likewise.
10469 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10470 * include/atomic.h: Likewise.
10471 * inet/inet6_option.c (option_alloc): Likewise.
10472 * intl/bindtextdom.c (set_binding_values): Likewise.
10473 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10474 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10475 * intl/localealias.c (read_alias_file): Likewise.
10476 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10477 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10478 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10479 * libio/fmemopen.c (fmemopen): Likewise.
10480 * libio/iofgets.c (_IO_fgets): Likewise.
10481 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10482 * libio/iofgetws.c (fgetws): Likewise.
10483 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10484 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10485 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10486 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10487 * locale/findlocale.c (_nl_find_locale): Likewise.
10488 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10489 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10491 * locale/setlocale.c (setlocale): Likewise.
10492 * login/programs/pt_chown.c (main): Likewise.
10493 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10494 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10495 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10496 (mmap, mmap64, mremap, munmap): Likewise.
10497 * math/e_exp2l.c: Likewise.
10498 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10499 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10500 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10501 * math/s_catan.c (__catan): Likewise.
10502 * math/s_catanf.c (__catanf): Likewise.
10503 * math/s_catanh.c (__catanh): Likewise.
10504 * math/s_catanhf.c (__catanhf): Likewise.
10505 * math/s_catanhl.c (__catanhl): Likewise.
10506 * math/s_catanl.c (__catanl): Likewise.
10507 * math/s_ccosh.c (__ccosh): Likewise.
10508 * math/s_ccoshf.c (__ccoshf): Likewise.
10509 * math/s_ccoshl.c (__ccoshl): Likewise.
10510 * math/s_cexp.c (__cexp): Likewise.
10511 * math/s_cexpf.c (__cexpf): Likewise.
10512 * math/s_cexpl.c (__cexpl): Likewise.
10513 * math/s_clog10.c (__clog10): Likewise.
10514 * math/s_clog10f.c (__clog10f): Likewise.
10515 * math/s_clog10l.c (__clog10l): Likewise.
10516 * math/s_clog.c (__clog): Likewise.
10517 * math/s_clogf.c (__clogf): Likewise.
10518 * math/s_clogl.c (__clogl): Likewise.
10519 * math/s_csin.c (__csin): Likewise.
10520 * math/s_csinf.c (__csinf): Likewise.
10521 * math/s_csinh.c (__csinh): Likewise.
10522 * math/s_csinhf.c (__csinhf): Likewise.
10523 * math/s_csinhl.c (__csinhl): Likewise.
10524 * math/s_csinl.c (__csinl): Likewise.
10525 * math/s_csqrt.c (__csqrt): Likewise.
10526 * math/s_csqrtf.c (__csqrtf): Likewise.
10527 * math/s_csqrtl.c (__csqrtl): Likewise.
10528 * math/s_ctan.c (__ctan): Likewise.
10529 * math/s_ctanf.c (__ctanf): Likewise.
10530 * math/s_ctanh.c (__ctanh): Likewise.
10531 * math/s_ctanhf.c (__ctanhf): Likewise.
10532 * math/s_ctanhl.c (__ctanhl): Likewise.
10533 * math/s_ctanl.c (__ctanl): Likewise.
10534 * math/w_pow.c: Likewise.
10535 * math/w_powf.c: Likewise.
10536 * math/w_powl.c: Likewise.
10537 * math/w_scalb.c (sysv_scalb): Likewise.
10538 * math/w_scalbf.c (sysv_scalbf): Likewise.
10539 * math/w_scalbl.c (sysv_scalbl): Likewise.
10540 * misc/error.c (error_tail): Likewise.
10541 * misc/pselect.c (__pselect): Likewise.
10542 * nis/nis_callback.c (__nis_create_callback): Likewise.
10543 * nis/nis_call.c (__nisfind_server): Likewise.
10544 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10545 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10546 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10547 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10548 * nis/nis_lookup.c (nis_lookup): Likewise.
10549 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10550 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10551 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10552 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10553 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10554 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10555 * nis/nss_compat/compat-initgroups.c (add_group)
10556 (internal_getgrent_r): Likewise.
10557 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10558 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10559 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10560 (internal_getspnam_r): Likewise.
10561 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10562 (_nss_nis_getaliasbyname_r): Likewise.
10563 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10564 (_nss_nis_getntohost_r): Likewise.
10565 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10566 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10567 (_nss_nis_getgrgid_r): Likewise.
10568 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10569 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10570 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10571 (_nss_nis_gethostbyname4_r): Likewise.
10572 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10573 (initgroups_netid): Likewise.
10574 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10575 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10576 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10577 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10578 (_nss_nis_getprotobynumber_r): Likewise.
10579 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10580 (_nss_nis_getsecretkey): Likewise.
10581 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10582 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10583 (_nss_nis_getpwuid_r): Likewise.
10584 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10585 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10586 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10587 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10588 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10589 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10590 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10592 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10593 (_nss_nisplus_getntohost_r): Likewise.
10594 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10595 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10596 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10597 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10599 * nis/nss_nisplus/nisplus-initgroups.c
10600 (_nss_nisplus_initgroups_dyn): Likewise.
10601 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10602 (_nss_nisplus_getnetbyaddr_r): Likewise.
10603 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10604 (_nss_nisplus_getprotobynumber_r): Likewise.
10605 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10606 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10607 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10609 * nis/nss_nisplus/nisplus-service.c
10610 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10611 (_nss_nisplus_getservbyport_r): Likewise.
10612 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10613 (_nss_nisplus_getspnam_r): Likewise.
10614 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10616 * nscd/aicache.c (addhstaiX): Likewise.
10617 * nscd/cache.c (cache_search, prune_cache): Likewise.
10618 * nscd/connections.c (register_traced_file, send_ro_fd)
10619 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10620 (main_loop_epoll): Likewise.
10621 * nscd/grpcache.c (addgrbyX): Likewise.
10622 * nscd/hstcache.c (addhstbyX): Likewise.
10623 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10624 * nscd/mem.c (gc, mempool_alloc): Likewise.
10625 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10626 (addinnetgrX): Likewise.
10627 * nscd/nscd-client.h (__nscd_acquire_maplock)
10628 (__nscd_drop_map_ref): Likewise.
10629 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10630 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10631 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10633 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10635 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10636 (__nscd_get_map_ref): Likewise.
10637 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10638 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10640 * nscd/pwdcache.c (addpwbyX): Likewise.
10641 * nscd/selinux.c (preserve_capabilities): Likewise.
10642 * nscd/servicescache.c (addservbyX): Likewise.
10643 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10644 * posix/fnmatch.c (fnmatch): Likewise.
10645 * posix/getopt.c (_getopt_internal_r): Likewise.
10646 * posix/glob.c (glob, glob_in_dir): Likewise.
10647 * posix/wordexp.c (exec_comm_child): Likewise.
10648 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10649 (getanswer_r, gaih_getanswer_slice): Likewise.
10650 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10651 * resolv/res_init.c: Likewise.
10652 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10653 * resolv/res_query.c (__libc_res_nquery): Likewise.
10654 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10656 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10657 * stdio-common/perror.c (perror): Likewise.
10658 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10659 * stdio-common/tmpnam.c (tmpnam): Likewise.
10660 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10661 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10662 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10664 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10665 * stdlib/putenv.c (putenv): Likewise.
10666 * stdlib/setenv.c (__add_to_environ): Likewise.
10667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10668 * stdlib/strtol_l.c (INTERNAL): Likewise.
10669 * string/memmem.c (memmem): Likewise.
10670 * string/strerror.c (strerror): Likewise.
10671 * string/strnlen.c (__strnlen): Likewise.
10672 * string/test-memmem.c (simple_memmem): Likewise.
10673 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10674 * sunrpc/pm_getport.c (__get_socket): Likewise.
10675 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10676 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10677 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10678 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10680 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10682 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10683 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10684 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10685 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10687 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10689 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10690 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10692 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10693 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10695 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10696 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10697 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10698 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10699 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10700 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10702 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10706 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10708 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10710 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10711 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10712 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10718 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10719 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10723 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10729 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10731 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10733 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10734 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10735 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10736 * sysdeps/posix/sleep.c: Likewise.
10737 * sysdeps/posix/tempname.c: Likewise.
10738 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10739 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10741 * sysdeps/powerpc/powerpc32/dl-machine.h
10742 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10743 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10745 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10748 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10750 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10751 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10752 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10753 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10754 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10755 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10757 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10759 (elf_machine_lazy_rel): Likewise.
10760 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10762 (elf_machine_lazy_rel): Likewise.
10763 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10764 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10765 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10766 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10767 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10768 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10769 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10772 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10773 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10774 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10775 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10776 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10777 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10778 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10779 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10780 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10781 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10782 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10784 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10785 (__posix_fallocate64_l64): Likewise.
10786 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10787 (posix_fallocate): Likewise.
10788 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10791 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10792 (getifaddrs_internal): Likewise.
10793 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10794 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10795 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10796 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10797 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10798 (__posix_fallocate64_l64): Likewise.
10799 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10801 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10803 (__get_clockfreq): Likewise.
10804 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10805 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10806 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10809 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10810 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10811 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10813 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10814 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10815 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10818 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10819 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10821 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10822 (posix_fallocate): Likewise.
10823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10824 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10825 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10826 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10827 (elf_machine_rela, elf_machine_rela_relative)
10828 (elf_machine_lazy_rel): Likewise.
10829 * time/asctime.c (asctime_internal): Likewise.
10830 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10831 * time/tzset.c (__tzset_parse_tz): Likewise.
10832 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10833 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10834 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10835 * wcsmbs/wcsmbsload.h: Likewise.
10838 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10840 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10841 (arena_get2): Remove THREAD_STATS conditionals.
10842 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10843 (__malloc_stats, int): Likewise.
10845 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10847 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10848 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10850 * manual/setjmp.texi: Fix typos/grammar errors.
10852 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10853 Only return early when n is <= 0. Delete unused return statement.
10855 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10856 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10857 * debug/tst-longjmp_chk3.c: New file.
10859 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10860 (test_main): Replace code with set_fortify_handler call.
10861 * debug/test-strcpy_chk.c: Likewise.
10862 * debug/tst-chk1.c: Likewise.
10863 * debug/tst-longjmp_chk.c: Likewise.
10864 * test-skeleton.c: Include fcntl.h & paths.h
10865 (set_fortify_handler): Define.
10867 * debug/tst-longjmp_chk.c: Add header comment and include
10868 ../test-skeleton.c.
10869 (do_test): Mark static.
10870 (TEST_FUNCTION): Define.
10872 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10873 (IP_PMTUDISC_INTERFACE): Likewise.
10874 (IP_MULTICAST_IF): Likewise.
10875 (IP_MULTICAST_TTL): Likewise.
10876 (IP_MULTICAST_LOOP): Likewise.
10877 (IP_ADD_MEMBERSHIP): Likewise.
10878 (IP_DROP_MEMBERSHIP): Likewise.
10879 (IP_UNBLOCK_SOURCE): Likewise.
10880 (IP_BLOCK_SOURCE): Likewise.
10881 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10882 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10883 (IP_MSFILTER): Likewise.
10884 (MCAST_JOIN_GROUP): Likewise.
10885 (MCAST_BLOCK_SOURCE): Likewise.
10886 (MCAST_UNBLOCK_SOURCE): Likewise.
10887 (MCAST_LEAVE_GROUP): Likewise.
10888 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10889 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10890 (MCAST_MSFILTER): Likewise.
10891 (IP_MULTICAST_ALL): Likewise.
10892 (IP_UNICAST_IF): Likewise.
10894 * timezone/Makefile: Delete $(have-ksh) check.
10895 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10896 * timezone/tzselect.ksh: Add +x mode bits.
10898 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10899 (ANON_INODE_FS_MAGIC): Likewise.
10900 (BDEVFS_MAGIC): Likewise.
10901 (BINFMTFS_MAGIC): Likewise.
10902 (BTRFS_TEST_MAGIC): Likewise.
10903 (CRAMFS_MAGIC_WEND): Likewise.
10904 (DEBUGFS_MAGIC): Likewise.
10905 (ECRYPTFS_SUPER_MAGIC): Likewise.
10906 (EXT3_SUPER_MAGIC): Likewise.
10907 (EXT4_SUPER_MAGIC): Likewise.
10908 (FUTEXFS_SUPER_MAGIC): Likewise.
10909 (HOSTFS_SUPER_MAGIC): Likewise.
10910 (HUGETLBFS_MAGIC): Likewise.
10911 (MINIX3_SUPER_MAGIC): Likewise.
10912 (MTD_INODE_FS_MAGIC): Likewise.
10913 (NILFS_SUPER_MAGIC): Likewise.
10914 (OPENPROM_SUPER_MAGIC): Likewise.
10915 (PIPEFS_MAGIC): Likewise.
10916 (PSTOREFS_MAGIC): Likewise.
10917 (QNX6_SUPER_MAGIC): Likewise.
10918 (RAMFS_MAGIC): Likewise.
10919 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10920 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10921 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10922 (SECURITYFS_MAGIC): Likewise.
10923 (SELINUX_MAGIC): Likewise.
10924 (SMACK_MAGIC): Likewise.
10925 (SOCKFS_MAGIC): Likewise.
10926 (SQUASHFS_MAGIC): Likewise.
10927 (STACK_END_MAGIC): Likewise.
10928 (TMPFS_MAGIC): Likewise.
10929 (USBDEVICE_SUPER_MAGIC): Likewise.
10930 (V9FS_MAGIC): Likewise.
10931 (XENFS_SUPER_MAGIC): Likewise.
10932 (CRAMFS_MAGIC): Fix typo in comment.
10933 (EXT2_SUPER_MAGIC): Update comment.
10934 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10936 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10938 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10939 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10940 * sysdeps/unix/sysv/linux/arm: Move directory from
10941 ports/sysdeps/unix/sysv/linux/arm.
10942 * README: Update listing for arm-*-linux-gnueabi.
10944 * README: Remove mention of am33.
10946 2014-02-07 Roland McGrath <roland@hack.frob.com>
10948 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10949 than the comma operator, to avoid "rhs of comma has no effect"
10951 (__sigfillset, __sigandset, __sigorset): Likewise.
10952 * include/signal.h (__sigemptyset): Likewise.
10953 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10955 2014-02-07 Allan McRae <allan@archlinux.org>
10957 * version.h (RELEASE): Set to "development".
10958 (VERSION): Set to "2.19.90"
10959 * NEWS: Add 2.20 section.
10961 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10964 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10966 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10968 * manual/contrib.texi: Update entry for Carlos O'Donell,
10969 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10971 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10973 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10975 * sysdeps/unix/sysv/linux/kernel-features.h
10976 [__LINUX_KERNEL_VERSION >= 0x020621]
10977 (__ASSUME_PROC_PID_TASK_COMM): Define.
10979 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10982 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10983 conversion when destination buffer does not have enough space.
10984 * libio/tst-ftell-partial-wide.c: New test case.
10985 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10987 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10988 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10989 Leonard and Allan McRae.
10991 2014-02-04 David S. Miller <davem@davemloft.net>
10993 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10996 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11025 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11027 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11028 * shlib-versions: Likewise.
11030 2014-02-04 Roland McGrath <roland@hack.frob.com>
11031 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11033 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11034 (abilist-pattern): New variable, set to %-le.abilist.
11036 * Makerules (abilist-pattern): New variable.
11037 (vpath): Use $(abilist-pattern) in place of %.abilist.
11038 (check-abi-% pattern rule): Likewise.
11039 (check-abi, update-abi): Likewise.
11041 2014-02-04 Eric Wong <normalperson@yhbt.net>
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11045 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11047 * manual/startup.texi: Add next, previous, and top entries for
11048 the `Program Arguments' and `Environment Variables' nodes.
11050 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11052 * manual/macros.texi: Add comments before MTASC-safety macros.
11054 * manual/users.texi: Document MTASC-safety properties.
11056 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11057 (pthread_getspecific, pthread_setspecific): Format with
11058 @deftypefun, and add @safety note.
11059 * manual/signal.texi: Move comments that analyze the above
11060 functions to their home place.
11062 2014-02-03 Allan McRae <allan@archlinux.org>
11064 * po/sl.po: Update Slovenian translation from translation project.
11066 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11068 * manual/time.texi (timegm): Add missing blank after @c.
11069 Reported by Joseph Myers <joseph@codesourcery.com>.
11071 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11073 * manual/check-safety.sh: New.
11074 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11076 * manual/terminal.texi: Document MTASC-safety properties.
11078 * manual/filesys.texi: Document MTASC-safety properties.
11080 * manual/errno.texi: Document MTASC-safety properties.
11082 * manual/intro.texi: Document safety identifiers and
11085 * manual/string.texi (wcstok): Fix prototype.
11086 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11088 * manual/time.texi: Document MTASC-safety properties.
11090 * manual/string.texi: Document MTASC-safety properties.
11092 * manual/threads.texi: Document MTASC-safety properties.
11094 * manual/stdio.texi: Document MTASC-safety properties.
11096 * manual/syslog.texi: Document MTASC-safety properties.
11098 * manual/sysinfo.texi: Document MTASC-safety properties.
11100 * manual/startup.texi: Document MTASC-safety properties.
11102 * manual/socket.texi: Document MTASC-safety properties.
11104 * manual/signal.texi: Document MTASC-safety properties.
11106 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11108 * manual/setjmp.texi: Document MTASC-safety properties.
11110 * manual/search.texi: Document MTASC-safety properties.
11112 * manual/resource.texi: Document MTASC-safety properties.
11114 * manual/process.texi: Document MTASC-safety properties.
11116 * manual/platform.texi: Document MTASC-safety properties.
11118 * manual/pipe.texi: Document MTASC-safety properties.
11120 * manual/pattern.texi: Document MTASC-safety properties.
11122 * manual/message.texi: Document MTASC-safety properties.
11125 * manual/memory.texi: Document MTASC-safety properties.
11127 * manual/math.texi: Document MTASC-safety properties.
11129 * manual/locale.texi: Document MTASC-safety properties.
11131 * manual/llio.texi: Document MTASC-safety properties.
11133 * manual/libdl.texi: New.
11135 * manual/lang.texi: Document MTASC-safety properties.
11137 * manual/job.texi: Document MTASC-safety properties.
11139 * manual/getopt.texi: Document MTASC-safety properties.
11141 * manual/ctype.texi: Document MTASC-safety properties.
11143 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11146 * csu/libc-tls.c (static_map): Remove variable.
11147 (__libc_setup_tls): Use main executable's link map for TLS data.
11148 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11149 casing for LM_ID_BASE and GL(dl_nns).
11150 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11151 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11152 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11153 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11154 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11156 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11159 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11161 * manual/debug.texi: Document MTASC-safety properties.
11163 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11166 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11167 of __x86_64__ when disabling x87 inline functions.
11169 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11171 * manual/charset.texi: Document MTASC-safety properties.
11173 * manual/crypt.texi: Document MTASC-safety properties.
11175 * manual/conf.texi: Document MTASC-safety properties.
11177 * manual/arith.texi: Document MTASC-safety properties.
11179 * manual/argp.texi: Document MTASC-safety properties.
11181 * manual/macros.texi: Introduce macros to document multi
11182 thread, asynchronous signal and asynchronous cancellation
11184 * manual/intro.texi: Introduce the properties themselves.
11186 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11188 * sysdeps/sh/sh4/Makefile: New file.
11190 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11192 * math/gen-libm-test.pl ($srcdir): New variable.
11193 ($auto_input): Use it.
11195 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11198 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11199 access beyond array bounds when parsing netgroups file.
11201 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11202 the old buffer before realloc.
11204 2014-01-27 Allan McRae <allan@archlinux.org>
11206 * po/fr.po: Update French translation from translation project.
11208 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11210 * sysdeps/sh/libm-test-ulps: Regenerate.
11212 2014-01-24 David S. Miller <davem@davemloft.net>
11214 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11216 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11218 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11219 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11221 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11224 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11225 string pointers after reallocation.
11227 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11229 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11230 __SH4A__ instead of __SH_FPU_ANY__.
11232 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11234 * sysdeps/sh/fpu_control.h: New file.
11235 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11236 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11237 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11238 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11239 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11240 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11241 * sysdeps/sh/sys/ucontext.h: Remove.
11242 * sysdeps/sh/sys: Remove directory.
11244 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11246 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11247 s390/sys/ucontext.h.
11248 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11251 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11254 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11256 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11260 Adjust the vDSO correctly for internal calls.
11261 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11263 2014-01-20 Allan McRae <allan@archlinux.org>
11265 * po/ca.po: Update Catalan translation from translation project.
11267 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11269 * sysdeps/s390/sotruss-lib.c: New file.
11271 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11275 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11276 local calls issues by not having a PLT stub required for IFUNC calls.
11277 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11279 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11281 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11282 * math/test-fpucw-static.c: Likewise.
11284 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11289 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11291 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11292 implementation for powerpc.
11294 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11297 * sysdeps/posix/system.c (__libc_system): Do not enable
11298 asynchronous cancellation.
11300 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11303 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11304 handling only for numbers special also in the IEEE case.
11306 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11308 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11310 2014-01-11 Allan McRae <allan@archlinux.org>
11312 * po/bg.po: Update Bulgarian translation from translation project.
11314 * po/de.po: Update German translation from translation project.
11316 2014-01-10 Roland McGrath <roland@hack.frob.com>
11318 * sysdeps/generic/gcc-compat.h: New file.
11320 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11322 * benchtests/asin-inputs: Correct slow inputs.
11323 * benchtests/acos-inputs: Likewise.
11325 2014-01-10 Allan McRae <allan@archlinux.org>
11327 * po:sv.po: Update Swedish translation from translation project.
11329 * po/vi.po: Update Vietnamese translation from translation project.
11331 * po/eo.po: Update Esperanto translation from translation project.
11333 * po/cs.po: Update Czech translation from translation project.
11335 * po/nl.po: Update Dutch translation from translation project.
11337 * po/pl.po: Update Polish translation from translation project.
11339 * po/ru.po: Update Russian translation from translation project.
11341 * po/uk.po: Update Ukrainian translation from translation project.
11343 2014-01-08 Brooks Moses <bmoses@google.com>
11345 * elf/dl-load.c: Fix comment typo.
11347 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11349 * po/header.pot: Rename to...
11350 * po/pot.header: ... this.
11351 * po/Makefile: Use pot.header.
11353 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11354 Maxim Kuvyrkov <maxim@kugelworks.com>
11357 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11358 SRC and DEST against LEN.
11360 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11363 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11365 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11367 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11371 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11375 for large positive arguments.
11377 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11379 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11381 * math/auto-libm-test-in: Mark various tests with
11382 xfail-rounding:ldbl-128ibm.
11383 * math/auto-libm-test-out: Regenerated.
11386 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11387 Increase overflow threshold.
11389 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11392 * stdio-common/vfprintf.c: Check for integer overflow.
11394 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11396 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11397 the first argument and return value of __tls_get_addr_internal.
11399 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11401 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11402 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11404 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11406 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11407 * sysdeps/s390/rtld-global-offsets.sym: New file.
11408 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11410 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11411 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11412 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11414 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11415 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11421 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11422 halfs of GPRs for high_gprs contexts.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11424 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11426 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11428 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11430 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11431 for high GPRs (uc_high_gprs) and for future extensions
11433 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11434 for future extensions (__reserved).
11435 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11437 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11438 SC_HIGHGPRS offset definition.
11439 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11440 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11442 * Versions.def: Add GLIBC_2.19 for libpthread.
11443 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11444 siglongjmp for libpthread with GLIBC_2.19 symver.
11445 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11446 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11447 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11448 * sysdeps/s390/__longjmp.c: New file.
11449 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11450 * sysdeps/s390/longjmp.c: New file.
11451 * sysdeps/s390/setjmp.S: New file.
11452 * sysdeps/s390/sigjmp.S: New file.
11453 * sysdeps/s390/v1-longjmp.c: New file.
11454 * sysdeps/s390/v1-setjmp.h: New file.
11455 * sysdeps/s390/v1-sigjmp.c: New file.
11456 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11457 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11458 GLIBC_2.19 version.
11459 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11460 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11461 versioned symbols for ____longjmp_chk.
11462 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11472 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11473 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11474 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11475 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11476 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11477 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11478 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11479 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11480 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11481 * sysdeps/s390/rtld-__longjmp.c: New file.
11482 * sysdeps/s390/rtld-setjmp.S: New file.
11484 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11487 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11488 Return -__logl (x) for small positive arguments without evaluating
11491 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11493 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11495 (__ptrace_peeksiginfo_args): ... this.
11496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11500 2014-01-06 Allan McRae <allan@archlinux.org>
11502 * inet/netinet/in.h: Fix typo in comment.
11504 2014-01-05 Andreas Jaeger <aj@suse.de>
11506 * sysdeps/i386/fpu/libm-test-ulps: Update.
11508 2014-01-05 Allan McRae <allan@archlinux.org>
11510 * po/libc.pot: Regenerated.
11512 * malloc/memusagestat.c: Fix gettext call formatting.
11514 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11516 * nscd/nscd.c: Improve usage() output.
11518 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11520 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11521 * sysdeps/unix/sysv/linux/configure: Regenerated.
11522 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11523 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11525 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11528 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11529 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11531 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11534 extra tokens at end of #undef directive.
11535 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11536 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11539 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11541 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11543 * math/auto-libm-test-in: Mark various tests with
11544 xfail-rounding:ldbl-128ibm.
11545 * math/auto-libm-test-out: Regenerated.
11547 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11550 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11551 numbers with subnormal high part when calculating exponent.
11554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11560 (__ieee754_acoshl): Use __log1pl not __log1p.
11562 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11564 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11565 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11566 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11567 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11568 (reused_arena, arena_get2): Convert to GNU style.
11569 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11570 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11571 (memalign_check, __malloc_set_state): Likewise.
11572 * malloc/mallocbug.c (main): Likewise.
11573 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11574 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11575 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11576 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11577 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11578 (__posix_memalign, malloc_info): Likewise.
11579 * malloc/malloc.h: Likewise.
11580 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11581 (mallochook, memalignhook, reallochook, mabort): Likewise.
11582 * malloc/mcheck.h: Likewise.
11583 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11584 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11585 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11586 * malloc/morecore.c (__default_morecore): Likewise.
11587 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11588 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11589 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11590 (print_and_abort): Likewise.
11591 * malloc/obstack.h: Likewise.
11592 * malloc/set-freeres.c (__libc_freeres): Likewise.
11593 * malloc/tst-mallocstate.c (main): Likewise.
11594 * malloc/tst-mtrace.c (main): Likewise.
11595 * malloc/tst-realloc.c (do_test): Likewise.
11597 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11600 * nscd/netgroupcache.c (do_notfound): New function.
11601 (addgetnetgrentX): Use it.
11604 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11605 NSS_STATUS_NOTFOUND.
11607 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11609 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11612 2014-01-01 Allan McRae <allan@archlinux.org>
11614 * scripts/update-copyrights: Update configure input file suffix.
11616 * NEWS: Update copyright year.
11617 * catgets/gencat.c: Likewise.
11618 * csu/version.c: Likewise.
11619 * debug/catchsegv.sh: Likewise.
11620 * debug/pcprofiledump.c: Likewise.
11621 * debug/xtrace.sh: Likewise.
11622 * elf/ldconfig.c: Likewise.
11623 * elf/ldd.bash.in: Likewise.
11624 * elf/pldd.c: Likewise.
11625 * elf/sotruss.ksh: Likewise.
11626 * elf/sprof.c: Likewise.
11627 * iconv/iconv_prog.c: Likewise.
11628 * iconv/iconvconfig.c: Likewise.
11629 * locale/programs/locale.c: Likewise.
11630 * locale/programs/localedef.c: Likewise.
11631 * login/programs/pt_chown.c: Likewise.
11632 * malloc/memusage.sh: Likewise.
11633 * malloc/memusagestat.c: Likewise.
11634 * malloc/mtrace.pl: Likewise.
11635 * manual/libc.texinfo: Likewise.
11636 * nscd/nscd.c: Likewise.
11637 * nss/getent.c: Likewise.
11638 * nss/makedb.c: Likewise.
11639 * posix/getconf.c: Likewise.
11640 * scripts/test-installation.pl: Likewise.
11642 * All files with FSF copyright notices: Update copyright dates
11643 using scripts/update-copyrights.
11644 * intl/plural.c: Regenerated.
11645 * locale/programs/charmap-kw.h: Likewise.
11646 * locale/programs/locfile-kw.h: Likewise.
11648 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11650 * sysdeps/unix/sysv/linux/configure: Regenerated.
11651 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11652 the linux/fanotify.h header.
11653 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11654 HAVE_LINUX_FANOTIFY_H is defined.
11656 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11658 * benchtests/cos-inputs: New inputs.
11659 * benchtests/sin-inputs: Likewise.
11661 * benchtests/atan-inputs: New inputs. Fix name of multiple
11662 precision fallback inputs.
11664 * benchtests/atanh-inputs: New inputs.
11665 * benchtests/tanh-inputs: Likewise.
11667 * benchtests/acosh-inputs: New inputs.
11668 * benchtests/asinh-inputs: Likewise.
11670 * benchtests/cosh-inputs: New inputs.
11671 * benchtests/sinh-inputs: Likewise.
11673 * benchtests/acos-inputs: Add more inputs.
11674 * benchtests/asin-inputs: Likewise.
11676 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11679 * manual/arith.texi: Fix spelling.
11680 * manual/charset.texi: Likewise.
11681 * manual/errno.texi: Likewise.
11682 * manual/filesys.texi: Likewise.
11683 * manual/lang.texi: Likewise.
11684 * manual/llio.texi: Likewise.
11685 * manual/locale.texi: Likewise.
11686 * manual/message.texi: Likewise.
11687 * manual/resource.texi: Likewise.
11688 * manual/search.texi: Likewise.
11689 * manual/setjmp.texi: Likewise.
11690 * manual/stdio.texi: Likewise.
11691 * manual/string.texi: Likewise.
11692 * manual/sysinfo.texi: Likewise.
11693 * manual/time.texi: Likewise.
11695 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11697 * po/sl.po: New file.
11699 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11701 * .gitignore: Add core/.gdbinit/.gdb_history.
11703 2013-12-27 Allan McRae <allan@archlinux.org>
11706 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11707 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11709 2013-12-24 Brooks Moses <bmoses@google.com>
11711 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11712 all compilers that claim C++98 compliance, not just GCC.
11713 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11716 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11718 * NEWS: Restore accidentally deleted bug-fix entries.
11720 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11721 Ondřej Bílka <neleai@seznam.cz>
11724 * malloc/malloc.c (_int_free): Perform sanity check only if we
11727 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11730 * manual/stdio.texi (String Input Conversions): Clarify that character
11731 classes are not supported.
11733 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11737 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11741 Calculate results for small negative arguments directly rather
11742 than using reflection formula with special underflow handling.
11744 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11745 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11746 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11747 (fchflags): Likewise.
11748 (revoke): Likewise.
11749 (setlogin): Likewise.
11750 (sigaltstack): Likewise.
11752 (sigblock): Remove.
11753 (sigsetmask): Likewise.
11755 (waitpid): Likewise.
11756 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11757 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11759 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11760 * sysdeps/unix/bsd/Makefile: ... here.
11761 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11762 * sysdeps/unix/bsd/Versions: ... here.
11763 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11764 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11765 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11766 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11767 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11768 * sysdeps/unix/bsd/sigblock.c: ... here.
11769 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11770 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11771 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11772 * sysdeps/unix/bsd/sigvec.c: ... here.
11773 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11774 * sysdeps/unix/bsd/tcdrain.c: ... here.
11775 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11776 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11777 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11778 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11779 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11780 * sysdeps/unix/bsd/wait.c: ... here.
11781 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11782 * sysdeps/unix/bsd/wait3.c: ... here.
11783 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11784 * sysdeps/unix/bsd/waitpid.c: ... here.
11786 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11789 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11790 round-to-nearest for [!USE_AS_EXPM1L].
11791 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11792 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11793 more tests of exp and exp10. Expect some exp10 tests to miss
11794 exceptions or fail in directed rounding modes.
11795 * math/auto-libm-test-out: Regenerated.
11796 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11797 (exp10_test_tonearest): New function.
11798 (exp10_towardzero_test_data): New array.
11799 (exp10_test_towardzero): New function.
11800 (exp10_downward_test_data): New array.
11801 (exp10_test_downward): New function.
11802 (exp10_upward_test_data): New array.
11803 (exp10_test_upward): New function.
11804 (main): Call the new functions.
11805 * sysdeps/i386/fpu/libm-test-ulps: Update.
11806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11808 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11810 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11811 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11812 * math/auto-libm-test-out: Regenerated.
11813 * math/libm-test.inc (acosh_test_data): Add more tests.
11814 (atanh_test_data): Likewise.
11815 (ceil_test_data): Likewise.
11816 (copysign_test_data): Likewise.
11817 * sysdeps/i386/fpu/libm-test-ulps: Update.
11818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11820 * timezone/checktab.awk: Update from tzcode 2013i.
11821 * timezone/private.h: Likewise.
11822 * timezone/scheck.c: Likewise.
11823 * timezone/tzfile.h: Likewise.
11824 * timezone/tzselect.ksh: Likewise.
11825 * timezone/zdump.c: Likewise.
11826 * timezone/zic.c: Likewise.
11828 * math/auto-libm-test-in: Add tests of cpow.
11829 * math/auto-libm-test-out: Regenerated.
11830 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11833 (func_calc_desc): Add mpc_cc_c union field.
11834 (test_functions): Add cpow.
11835 (special_fill_2pi): New function.
11836 (special_real_inputs): Add 2pi.
11837 (calc_generic_results): Handle mpc_cc_c.
11838 * sysdeps/i386/fpu/libm-test-ulps: Update.
11839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11841 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11842 csqrt, ctan and ctanh.
11843 * math/auto-libm-test-out: Regenerated.
11844 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11845 (TEST_COND_x86): Likewise.
11846 (ccos_test_data): Use AUTO_TESTS_c_c.
11847 (ccosh_test_data): Likewise.
11848 (cexp_test_data): Likewise.
11849 (clog_test_data): Likewise.
11850 (csqrt_test_data): Likewise.
11851 (ctan_test_data): Likewise.
11852 (ctan_tonearest_test_data): Likewise.
11853 (ctan_towardzero_test_data): Likewise.
11854 (ctan_downward_test_data): Likewise.
11855 (ctan_upward_test_data): Likewise.
11856 (ctanh_test_data): Likewise.
11857 (ctanh_tonearest_test_data): Likewise.
11858 (ctanh_towardzero_test_data): Likewise.
11859 (ctanh_downward_test_data): Likewise.
11860 (ctanh_upward_test_data): Likewise.
11861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11863 (func_calc_desc): Add mpc_c_c union field.
11864 (FUNC_mpc_c_c): New macro.
11865 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11866 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11868 (special_fill_min_subnorm_p120): New function.
11869 (special_real_inputs): Add min_subnorm_p120.
11870 (calc_generic_results): Handle mpc_c_c.
11871 * sysdeps/i386/fpu/libm-test-ulps: Update.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11874 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11876 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11877 (do_sin_slow): New functions.
11878 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11879 (cslow2, csloww1, csloww2): Use the new functions.
11881 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11882 Use M to change sign of result instead of X. Assume X is
11884 (csloww1): Likewise.
11888 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11889 arguments A and DA.
11893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11895 (sloww1): Don't adjust sign of DX.
11896 (csloww1): Likewise.
11897 (sloww2): Use X directly and don't adjust sign of DX.
11898 (csloww2): Likewise.
11900 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11902 * math/auto-libm-test-in: Add tests of cabs and carg.
11903 * math/auto-libm-test-out: Regenerated.
11904 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11905 (carg_test_data): Likewise.
11906 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11908 (func_calc_desc): Add mpc_c_f union field.
11909 (test_functions): Add cabs and carg.
11910 (calc_generic_results): Handle mpc_c_f.
11912 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11913 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11914 as a macro and a compat symbol.
11915 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11916 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11917 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11918 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11919 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11920 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11922 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11926 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11932 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11933 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11936 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11940 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11942 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11943 trailing whitespace removed.
11944 * scripts/config.guess: Update to version 2013-11-29.
11945 * scripts/config.sub: Update to version 2013-10-01.
11947 * math/auto-libm-test-in: Add tests of sincos.
11948 * math/auto-libm-test-out: Regenerated.
11949 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11950 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11952 (func_calc_desc): Add mpfr_f_11 union field.
11953 (test_functions): Add sincos.
11954 (calc_generic_results): Handle mpfr_f_11.
11955 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11958 2013-12-19 Andreas Schwab <schwab@suse.de>
11960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11964 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11966 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11968 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11969 * sysdeps/i386/fpu/libm-test-ulps: Update.
11970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11974 round-to-nearest mode when using frndint.
11975 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11976 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11979 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11981 * math/auto-libm-test-out: Regenerated.
11982 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11983 (TEST_COND_x86): Likewise.
11984 (expm1_tonearest_test_data): New array.
11985 (expm1_test_tonearest): New function.
11986 (expm1_towardzero_test_data): New array.
11987 (expm1_test_towardzero): New function.
11988 (expm1_downward_test_data): New array.
11989 (expm1_test_downward): New function.
11990 (expm1_upward_test_data): New array.
11991 (expm1_test_upward): New function.
11992 (main): Run the new test functions.
11993 * sysdeps/i386/fpu/libm-test-ulps: Update.
11994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11996 * include/features.h: Update comment documenting feature test
11997 macros. Mention _DEFAULT_SOURCE in comment.
11998 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11999 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12000 _BSD_SOURCE and _SVID_SOURCE.
12001 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12002 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12003 !_SVID_SOURCE]: Likewise.
12004 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12005 (__USE_POSIX_IMPLICITLY): Define.
12006 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12007 (_POSIX_SOURCE): Undefine and redefine.
12008 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12009 (_POSIX_C_SOURCE): Likewise.
12010 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12011 (Feature Test Macros): Update documentation of default features.
12013 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12015 * benchtests/Makefile: Add bench-strtok.
12016 * benchtests/bench-strtok.c: New file: strtok benchtest.
12018 2013-12-19 Allan McRae <allan@archlinux.org>
12020 * manual/install.texi: Suppress menu for plain text output.
12021 * INSTALL: Regenerated.
12023 2013-12-18 Brooks Moses <bmoses@google.com>
12026 * misc/getauxval.c: Include errno.h.
12027 (__getauxval): Set errno to ENOENT if the requested type is not
12029 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12030 don't declare with __attribute_const__.
12031 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12032 * manual/startup.texi: Document that getauxval sets errno.
12034 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12036 * math/auto-libm-test-in: Add tests of jn and yn.
12037 * math/auto-libm-test-out: Regenerated.
12038 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12039 (yn_test_data): Likewise.
12040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12042 (func_calc_desc): Add mpfr_if_f union field.
12043 (FUNC_mpfr_if_f): New macro.
12044 (test_functions): Add jn and yn.
12045 (calc_generic_results): Assert type of second input for
12046 mpfr_ff_f. Handle mpfr_if_f.
12047 (output_for_one_input_case): Disable all checking for arguments
12048 fitting floating-point types in case of an integer argument.
12049 * sysdeps/i386/fpu/libm-test-ulps: Update.
12050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12053 Don't expect fegetround reference in libm.so.
12055 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12057 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12058 $(config-cflags-nofma).
12060 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12062 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12063 * math/auto-libm-test-out: Regenerated.
12066 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12067 to determine exponent and adjust argument to have exponent of -1.
12068 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12070 * math/auto-libm-test-out: Regenerated.
12071 * sysdeps/i386/fpu/libm-test-ulps: Update.
12072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12074 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12076 * manual/probes.texi: Remove cases when per-thread arenas are
12079 2013-12-18 Andreas Schwab <schwab@suse.de>
12081 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12082 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12083 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12084 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12085 * sysdeps/i386/i686/multiarch/Makefile: Update.
12086 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12088 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12090 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12091 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12093 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12096 Support TZ transition times < 00:00:00.
12097 This is needed for version-3 tz-format files; it supports time
12098 stamps past 2037 for America/Godthab (the only entry in the tz
12099 database for which this change is relevant).
12100 * manual/time.texi (TZ Variable): Document transition times
12101 from -167:59:59 through -00:00:01.
12102 * time/tzset.c (tz_rule): Time of day is now signed.
12103 (__tzset_parse_tz): Parse negative time of day.
12105 Document TZ transition times >= 25:00:00.
12106 * manual/time.texi (TZ Variable): Document transition times from
12107 25:00:00 through 167:59:59. These are already supported, and this
12108 support will help with version-3 tz-format files.
12110 * manual/time.texi (TZ Variable): Modernize North America example
12111 to reflect current (i.e., 2007-and-later) daylight saving rules.
12113 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12115 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12117 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12118 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12121 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12122 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12123 * sysdeps/unix/bsd/clock.c: Likewise.
12124 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12125 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12126 * sysdeps/unix/bsd/init-posix.c: Likewise.
12127 * sysdeps/unix/bsd/poll.c: Likewise.
12128 * sysdeps/unix/bsd/ptsname.c: Likewise.
12129 * sysdeps/unix/bsd/seekdir.c: Likewise.
12130 * sysdeps/unix/bsd/setegid.c: Likewise.
12131 * sysdeps/unix/bsd/seteuid.c: Likewise.
12132 * sysdeps/unix/bsd/setgid.c: Likewise.
12133 * sysdeps/unix/bsd/setrgid.c: Likewise.
12134 * sysdeps/unix/bsd/setruid.c: Likewise.
12135 * sysdeps/unix/bsd/setsid.c: Likewise.
12136 * sysdeps/unix/bsd/setuid.c: Likewise.
12137 * sysdeps/unix/bsd/sigaction.c: Likewise.
12138 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12139 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12140 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12141 * sysdeps/unix/bsd/telldir.c: Likewise.
12142 * sysdeps/unix/bsd/times.c: Likewise.
12143 * sysdeps/unix/bsd/usleep.c: Likewise.
12145 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12146 ($(objpfx)libbsd-compat.a): Remove rule.
12148 * include/features.h (__FAVOR_BSD): Do not define.
12149 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12150 features conflicting with POSIX.
12151 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12152 (_BSD_SOURCE): Remove description of not being a subset of other
12153 feature test macros.
12154 * manual/job.texi (getpgrp): Do not document BSD version.
12155 (getpgid): Do not document by reference to BSD getpgrp.
12156 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12157 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12158 * signal/signal.h [__FAVOR_BSD]: Likewise.
12159 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12160 instead of making contents conditional on [__FAVOR_BSD].
12161 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12163 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12167 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12170 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12171 values below 2**-450, not 2**-500.
12172 * math/auto-libm-test-in: Don't allow spurious underflow from
12174 * math/auto-libm-test-out: Regenerated.
12178 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12179 values of ha and hb and sort them after adjusting subnormal
12181 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12183 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12184 values of ea and eb and sort them after adjusting subnormal
12186 * math/auto-libm-test-in: Do not expect some hypot tests of
12187 subnormals to fail. Add more hypot tests.
12188 * math/auto-libm-test-out: Regenerated.
12190 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12193 * sysdeps/sh/s_fma.c: New file.
12194 * sysdeps/sh/s_fmaf.c: New file.
12195 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12197 * sysdeps/sh/Implies: Add sh/soft-fp.
12199 2013-12-16 Roland McGrath <roland@hack.frob.com>
12201 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12202 level of indirection to members `objname', `errstring', `malloced'.
12203 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12204 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12205 it as the __longjmp argument (just pass 1 instead).
12206 (_dl_catch_error): Initialize C with argument pointers and address of
12207 volatile local ERRCODE rather than copying values out of C at return.
12209 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12211 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12212 * math/auto-libm-test-out: Regenerated.
12213 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12214 (hypot_test_data): Likewise.
12215 (pow_test_data): Likewise.
12216 (pow_tonearest_test_data): Likewise.
12217 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12219 (func_calc_desc): Add mpfr_ff_f union field.
12220 (FUNC_mpfr_ff_f): New macro.
12221 (test_functions): Add atan2, hypot and pow.
12222 (special_fill_min): New function.
12223 (special_fill_minus_min): Likewise.
12224 (special_fill_min_subnorm): Likewise.
12225 (special_fill_minus_min_subnorm): Likewise.
12226 (special_real_inputs): Add min, -min, min_subnorm and
12228 (calc_generic_results): Handle mpfr_ff_f.
12229 * sysdeps/i386/fpu/libm-test-ulps: Update.
12230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12232 2013-12-16 Will Newton <will.newton@linaro.org>
12234 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12235 (Aligned Memory Blocks): Add documentation for aligned_alloc
12236 and suggest it as an alternative to posix_memalign.
12237 (Hooks for Malloc): Document __memalign_hook is also called
12238 for aligned_alloc. (Summary of Malloc): Add summary for
12239 aligned alloc. Document __memalign_hook is also called
12242 2013-12-16 Will Newton <will.newton@linaro.org>
12244 * manual/memory.texi (Malloc Examples): Clarify default
12245 alignment documentation. Suggest posix_memalign rather
12246 than memalign or valloc.
12247 (Aligned Memory Blocks): Remove suggestion to use memalign
12248 or valloc. Remove obsolete comment about BSD.
12249 Document memalign errno values and mark the function obsolete.
12250 Document posix_memalign returned error codes. Mark valloc
12251 as obsolete. (Hooks for Malloc): __memalign_hook is also
12252 called for posix_memalign and valloc.
12253 (Summary of Malloc): Add posix_memalign to function summary.
12254 __memalign_hook is also called for posix_memalign and valloc.
12256 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12258 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12262 (sloww): Use mynumber union. Expand ternary operator into
12263 if-else statements.
12264 (cslow): use mynumber union.
12266 2013-12-16 Allan McRae <allan@archlinux.org>
12268 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12269 * configure: Regenerated.
12271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12274 * configure.ac: Added --enable-maintainer-mode. Check for
12275 autoconf when enabled.
12276 * configure: Regenerated.
12278 * nscd/nscd.service: New file.
12279 * nscd/nscd.tmpfiles: New file.
12281 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12284 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12285 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12286 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12287 (strstr): Add __strstr_sse2_unaligned ifunc.
12288 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12289 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12290 (strcasestr): Remove __strcasestr_sse42 ifunc.
12291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12295 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12297 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12298 * sysdeps/sh/bits/fenv.h: ... here.
12299 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12301 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12306 hypotf multiarch implementations.
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12308 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12309 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12310 multiarch hypot for PPC64.
12311 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12314 multiarch hypotf for PPC64.
12316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12317 modff multiarch implementations.
12318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12321 multiarch modf for PPC64.
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12325 multiarch modff for PPC64.
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12328 and logl multiarch implementations.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12332 multiarch logb for PPC64.
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12336 multiarch logb for PPC64.
12337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12340 multiarch logb for PPC64.
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12343 isinff multiarch implementation.
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12348 multiarch isinf for PPC64.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12352 multiarch isinff for PPC64.
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12355 finitef multiarch implementation.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12360 multiarch finite for PPC64.
12361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12364 multiarch finitef for PPC64.
12366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12367 lrint multiarch implementation.
12368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12372 multiarch llrint for PPC64.
12373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12374 multiarch lrint for PPC64.
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12377 copysignf multiarch implementation.
12378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12383 multiarch copysign for PPC64.
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12385 multiarch copysignf for PPC64.
12387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12388 multiarch implementation.
12389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12397 multiarch llround for PPC64.
12398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12399 multiarch trunc for PPC64.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12401 multiarch truncf for PPC64.
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12404 multiarch implementation.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12413 multiarch llround for PPC64.
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12415 multiarch round for PPC64.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12417 multiarch roundf for PPC64.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12420 multiarch implementation.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12429 multiarch llround for PPC64.
12430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12431 multiarch floor for PPC64.
12432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12433 multiarch floorf for PPC64.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12436 multiarch implementation.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12445 multiarch llround for PPC64.
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12447 multiarch ceil for PPC64.
12448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12449 multiarch ceilf for PPC64.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12452 multiarch implementation.
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12460 multiarch llround for PPC64.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12462 multiarch lround for PPC64.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12465 multiarch implementation.
12466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12473 multiarch isnan for PPC64.
12474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12475 multiarch isnanf for PPC64.
12477 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12478 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12479 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12480 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12481 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12484 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12485 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12490 multiarch implementations.
12491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12492 (__libc_ifunc_impl_list): Likewise.
12493 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12494 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12495 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12496 multiarch stpcpy for PPC64.
12498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12499 multiarch implementations.
12500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12501 (__libc_ifunc_impl_list): Likewise.
12502 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12503 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12504 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12505 multiarch strcpy for PPC64.
12507 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12508 redefine function name.
12509 (_wordcopy_fwd_dest_aligned): Likewise.
12510 (_wordcopy_bwd_aligned): Likewise.
12511 (_wordcopy_bwd_dest_aligned): Likewise.
12512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12513 multiarch implementations.
12514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12515 (__libc_ifunc_impl_list): Likewise.
12516 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12517 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12518 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12519 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12520 multiarch wcscpy for PPC64.
12522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12523 multiarch implementations.
12524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12525 (__libc_ifunc_impl_list): Likewise.
12526 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12527 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12529 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12530 multiarch wcscpy for PPC64.
12532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12533 multiarch implementations.
12534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12535 (__libc_ifunc_impl_list): Likewise.
12536 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12537 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12538 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12539 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12540 multiarch wcsrchr for PPC64.
12542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12543 multiarch implementations.
12544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12545 (__libc_ifunc_impl_list): Likewise.
12546 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12547 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12548 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12549 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12550 multiarch wcschr for PPC64.
12552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12553 multiarch implementations.
12554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12555 (__libc_ifunc_impl_list): Likewise.
12556 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12557 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12558 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12559 multiarch strchrnul for PPC64.
12561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12564 (__libc_ifunc_impl_list): Likewise.
12565 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12566 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12567 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12568 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12574 (__libc_ifunc_impl_list): Likewise.
12575 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12576 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12577 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12578 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12582 multiarch implementations.
12583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12584 (__libc_ifunc_impl_list): Likewise.
12585 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12586 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12587 strncasecmp for PPC64.
12588 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12589 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12590 multiarch strncasecmp_l for PPC64.
12592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12593 multiarch implementations.
12594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12595 (__libc_ifunc_impl_list): Likewise.
12596 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12598 multiarch strcasecmp for PPC64.
12599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12602 multiarch strcasecmp_l for PPC64.
12604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12607 (__libc_ifunc_impl_list): Likewise.
12608 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12609 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12616 (__libc_ifunc_impl_list): Likewise.
12617 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12618 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12619 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Likewise.
12626 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12627 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12628 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12629 rawmemrchr for PPC64.
12631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12634 (__libc_ifunc_impl_list): Likewise.
12635 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12637 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12643 (__libc_ifunc_impl_list): Likewise.
12644 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12646 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12652 (__libc_ifunc_impl_list): Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12654 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12658 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12659 avoid cretion of __bzero symbol.
12660 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12662 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12664 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12667 multiarch implementations.
12668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12669 (__libc_ifunc_impl_list): Likewise.
12670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12673 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12675 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12676 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12677 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12679 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12681 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12683 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12687 (__libc_ifunc_impl_list): Likewise.
12688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12689 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12690 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12691 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12695 multiarch for POWER/PPC64.
12696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12697 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12704 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12707 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12708 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12709 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12710 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12711 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12712 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12713 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12714 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12715 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12716 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12717 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12718 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12719 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12720 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12721 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12730 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12732 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12734 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12736 * benchtests/Makefile (bench): Add exp2 and log2.
12737 (LDLIBS-bench-exp2): Add -lm.
12738 (LDLIBS-bench-log2): Likewise.
12739 * benchtests/exp2-inputs: New inputs file.
12740 * benchtests/log2-inputs: New inputs file.
12741 * benchtests/log-inputs: Add new inputs.
12742 * benchtests/tan-inputs: Likewise.
12744 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12746 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12748 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12749 (csloww2): ... from here.
12751 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12752 instead of structures.
12753 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12754 (POLYNOMIAL): Likewise.
12755 (TAYLOR_SLOW): Likewise.
12761 (sloww1); Likewise.
12762 (sloww2): Likewise.
12763 (bsloww1): Likewise.
12764 (bsloww2): Likewise.
12765 (cslow2): Likewise.
12766 (csloww): Likewise.
12767 (csloww1): Likewise.
12768 (csloww2): Likewise.
12770 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12772 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12773 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12774 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12775 * malloc/hooks.c (realloc_check): Likewise.
12777 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12778 * malloc/arena.c: Remove PER_THREAD conditional.
12779 [!PER_THREAD]: Remove code.
12780 (ptmalloc_unlock_all2): Likewise.
12781 (ptmalloc_init): Likewise.
12782 (_int_new_arena): Likewise.
12783 (arena_get2): Likewise.
12784 * malloc/hooks.c (__malloc_get_state): Likewise.
12785 (__malloc_set_state): Likewise.
12786 * malloc/malloc.c: Likewise.
12787 (struct malloc_state): Likewise.
12788 (struct malloc_par): Likewise.
12789 (__libc_realloc): Likewise.
12790 (__libc_mallopt): Likewise.
12792 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12794 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12796 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12798 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12799 macro to a function. Check for zero perturb_byte.
12800 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12802 * malloc/malloc.c: (force_reg): Remove.
12803 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12804 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12805 force_reg by atomic_forced_read.
12806 * malloc/arena.c (ptmalloc_init): Likewise.
12807 * malloc/hooks.c (top_check): Likewise.
12809 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12813 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12817 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12819 * math/auto-libm-test-in: Add tests of lgamma.
12820 * math/auto-libm-test-out: Regenerated.
12821 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12822 (M_LOG_2_SQRT_PIl): Likewise.
12823 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12826 (func_calc_desc): Add mpfr_f_f1 union field.
12827 (ARGS1): New macro.
12835 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12836 (test_functions): Add lgamma.
12837 (calc_generic_results): Handle mpfr_f_f1.
12838 * sysdeps/i386/fpu/libm-test-ulps: Update.
12839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12841 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12843 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12844 __mpn_add_n for PowerPC64/POWER7.
12845 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12846 __mpn_sub_n for PowerPC64/POWER7.
12848 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12849 __mpn_addmul_1 for PowerPC64.
12850 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12851 __mpn_submul_1 for PowerPC64.
12852 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12854 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12857 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12860 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12862 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12864 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12866 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12867 add multiarch folders.
12868 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12869 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12870 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12871 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12872 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12873 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12874 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12875 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12876 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12877 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12878 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12887 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12893 multiarch __ieee754_hypot for PowerPC32.
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12899 multiarch __ieee754_hypotf for PowerPC32.
12901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12902 long_double_symbol only if __logbl is defined.
12903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12904 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12906 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12908 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12910 path for implementation.
12911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12912 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12914 logb, and logbl multiarch implementations for PowerPC32.
12915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12920 multiarch logb for PowerPC32.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12926 multiarch logbf for PowerPC32.
12927 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12931 multiarch logbl implementation for PowerPC32.
12933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12934 and modff multiarch implementations.
12935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12940 multiarch modf for PowerPC32.
12941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12946 multiarch modff for PowerPC32.
12948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12949 and lrintf multiarch implementations.
12950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12955 multiarch lrint for PowerPC32.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12957 file: multiarch lrintf for PowerPC32.
12959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12960 and lroundf multiarch implementations.
12961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12968 multiarch lround for PowerPC32.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12970 file: multiarch lroundf for PowerPC32.
12972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12973 copysign and copysignf multiarch implementations.
12974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12979 file: multiarch copysign for PowerPC32.
12980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12981 file: multiarch copysignf for PowerPC32.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12984 and truncf multiarch implementations.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12990 multiarch trunc for PowerPC32.
12991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12996 multiarch truncf for PowerPC32.
12998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12999 and roundf multiarch implementations.
13000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13005 multiarch round for PowerPC32.
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13011 multiarch roundf for PowerPC32.
13013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13014 and floorf multiarch implementations.
13015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13020 multiarch floor for PowerPC32.
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13026 multiarch floorf for PowerPC32.
13028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13029 and ceilf multiarch implementations.
13030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13035 multiarch ceil for PowerPC32.
13036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13041 multiarch ceilf for PowerPC32.
13043 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13045 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13046 FINITEF is defined.
13047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13048 and finitef multiarch implementations.
13049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13054 multiarch finite for PowerPC32.
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13058 file: multiarch finitef for PowerPC32.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13061 and isinff multiarch implementations.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13067 multiarch isinf for PowerPC32.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13071 multiarch isinff for PowerPC32.
13073 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13074 alias when __isnan is defined.
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13076 and isnanf multiarch implementations.
13077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13086 multiarch isnan for PowerPC32.
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13092 multiarch isnanf for PowerPC32.
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13095 and sqrtf multiarch implementations.
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13101 multiarch sqrt for PowerPC32.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13107 multiarch sqrtf for PowerPC32.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13110 and llroundf multiarch implementations.
13111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13118 file: multiarch llround for PowerPC32.
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13120 file: multiarch llroundf for PowerPC32.
13122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13123 multiarch PowerPC32 fpu implementations.
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13129 multiarch llrint for PowerPC32.
13130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13141 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13146 multiarch wordcopy for PPC32.
13147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13150 (__libc_ifunc_impl_list): Likewise.
13151 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13152 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13154 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13155 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13156 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13158 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13166 multiarch wcscpy for PPC32.
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13170 (__libc_ifunc_impl_list): Likewise.
13171 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13172 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13173 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13174 sysdeps/powerpc/power6/wcscpy.c.
13176 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13184 multiarch wcsrchr for PPC32.
13185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13188 (__libc_ifunc_impl_list): Likewise.
13189 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13190 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13191 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13192 sysdeps/powerpc/power6/wcsrchr.c.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13200 multiarch wcschr for PPc32.
13201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13204 (__libc_ifunc_impl_list): Likewise.
13205 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13206 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13207 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13208 sysdeps/powerpc/power6/wcschr.c.
13210 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13211 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13213 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13214 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13215 file: multiarch strchr for PPC32.
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13219 (__libc_ifunc_impl_list): Likewise.
13221 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13223 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13228 multiarch strchrnul for PPC32.
13229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13232 (__libc_ifunc_impl_list): Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13236 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13237 multiarch strncasecmp for PPC32.
13238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13241 multiarch strncasecmp_l for PPC32.
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13243 strncasecmp multiarch objects.
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13245 (__libc_ifunc_impl_list): Likewise.
13247 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13249 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13250 multiarch strncasecmp for PPC32.
13251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13253 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13254 multiarch strcasecmp_l for PPC32.
13255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13258 (__libc_ifunc_impl_list): Likewise.
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13265 multiarch strncmp for PPC32.
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13269 (__libc_ifunc_impl_list): Likewise.
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13272 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13275 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13279 (__libc_ifunc_impl_list): Likewise.
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13289 (__libc_ifunc_impl_list): Likewise.
13291 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13295 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13296 multiarch rawmemchr for PPC32.
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13300 (__libc_ifunc_impl_list): Likewise.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13307 file: memrchr multiarch for PPC32.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13311 (__libc_ifunc_impl_list): Likewise.
13313 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13318 multiarch memchr for PPC32.
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13322 (__libc_ifunc_impl_list): Likewise.
13324 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13330 file: multiarch mempcpy for PPC32.
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13334 (__libc_ifunc_impl_list): Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13337 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13340 multiarch bzero for PPC32.
13341 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13343 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13346 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13347 file: multiarch memset for PPC32.
13348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13350 memset multiarch objects.
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13352 (__libc_ifunc_impl_list): Likewise.
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13359 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13363 (__libc_ifunc_impl_list): Likewise.
13365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13366 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13367 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13374 multiarch memcpy for PPC32.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13378 (__libc_ifunc_impl_list): Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13381 support multiarch for POWER/PPC32.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13386 Implies file to make multiarch folder appers before the fpu and
13387 default folder for power4 configuration.
13389 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13391 * scripts/bench.pl: Append volatile keyword to type.
13393 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13395 * sysdeps/sh/sotruss-lib.c: New file.
13396 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13398 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13402 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13405 * math/w_tgamma.c: Include <errno.h>.
13406 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13407 * math/w_tgammaf.c: Include <errno.h>.
13408 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13409 * math/w_tgammal.c: Include <errno.h>.
13410 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13411 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13412 underflow. Add more tgamma tests.
13413 * math/auto-libm-test-out: Regenerated.
13414 * sysdeps/i386/fpu/libm-test-ulps: Update.
13415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13417 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13418 sin, sinh, tan, tanh, tgamma, y0 and y1.
13419 * math/auto-libm-test-out: Regenerated.
13420 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13421 (TEST_COND_x86): Likewise.
13422 (M_E2l): Remove macro.
13424 (M_2_SQRT_PIl): Likewise.
13425 (M_SQRT_PIl): Likewise.
13426 (M_1_DIV_El): Likewise.
13427 (log_test_data): Use AUTO_TESTS_f_f.
13428 (log10_test_data): Likewise.
13429 (log1p_test_data): Likewise.
13430 (log2_test_data): Likewise.
13431 (sin_test_data): Likewise.
13432 (sin_tonearest_test_data): Likewise.
13433 (sin_towardzero_test_data): Likewise.
13434 (sin_downward_test_data): Likewise.
13435 (sin_upward_test_data): Likewise.
13436 (sinh_test_data): Likewise.
13437 (sinh_tonearest_test_data): Likewise.
13438 (sinh_towardzero_test_data): Likewise.
13439 (sinh_downward_test_data): Likewise.
13440 (sinh_upward_test_data): Likewise.
13441 (tan_test_data): Likewise.
13442 (tan_tonearest_test_data): Likewise.
13443 (tan_towardzero_test_data): Likewise.
13444 (tan_downward_test_data): Likewise.
13445 (tan_upward_test_data): Likewise.
13446 (tanh_test_data): Likewise.
13447 (tgamma_test_data): Likewise.
13448 (y0_test_data): Likewise.
13449 (y1_test_data): Likewise.
13450 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13451 (special_real_inputs): Add pi/4.
13452 * sysdeps/i386/fpu/libm-test-ulps: Update.
13453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13455 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13457 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13458 "longjmp_target" static probes.
13459 (__longjmp): Rename to __longjmp_symbol.
13460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13461 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13462 on which longjmp to generate.
13463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13464 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13466 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13467 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13469 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13470 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13471 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13473 __longjmp_symbol based on which __longjmp to generate.
13474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13476 (setjmp): Rename to setjmp_symbol.
13477 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13478 (_setjmp): Rename to _setjmp_symbol.
13479 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13480 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13481 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13482 which setjmp to generate.
13483 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13484 "longjmp_target" static probes.
13486 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13488 * benchtests/README: Add note about output arguments.
13489 * benchtests/bench-sincos.c: Remove file.
13490 * benchtests/sincos-inputs: New file.
13491 * scripts/bench.pl: Identify output arguments and define
13492 static variables for them.
13494 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13497 * Makefile (INSTALL): Add install-plain.texi as the primary
13499 * manual/install-plain.texi: New file.
13500 * manual/install.texi: Include node directive only for
13501 non-plaintext output.
13503 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13505 * stdlib/longlong.h: Update from GCC.
13509 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13510 * math/w_j0f.c (y0f): Likewise.
13511 * math/w_j0l.c (__y0l): Likewise.
13512 * math/w_j1.c (y1): Likewise.
13513 * math/w_j1f.c (y1f): Likewise.
13514 * math/w_j1l.c (__y1l): Likewise
13515 * math/w_jn.c (yn): Likewise.
13516 * math/w_jnf.c (ynf): Likewise.
13517 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13518 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13519 value for Bessel function domain errors outside _SVID_ mode.
13520 Adjust sign of return value for yn (negative integer, 0).
13521 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13522 by zero in return for negative x and set sign appropriately for
13524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13526 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13527 expectations in error cases.
13528 (y1_test_data): Likewise.
13529 (yn_test_data): Likewise.
13530 * sysdeps/i386/fpu/libm-test-ulps: Update.
13531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13533 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13535 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13536 "64" to "64-v1". Add "64-v2".
13537 (abi-64-options): Rename to ...
13538 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13539 (abi-64-condition): Rename to ...
13540 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13541 (abi-64-ld-soname): Rename to ...
13542 (abi-64-v1-ld-soname): ... this.
13543 (abi-64-v2-options): Define.
13544 (abi-64-v2-condition): Likewise.
13545 (abi-64-v2-ld-soname): Likewise.
13546 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13547 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13552 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13553 Alan Modra <amodra@gmail.com>
13555 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13556 New versions for use with the ELFv2 ABI.
13557 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13558 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13560 (struct La_ppc64v2_retval): Likewise.
13561 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13562 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13563 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13564 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13565 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13567 Do not save or restore CR.
13568 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13569 (_dl_profile_resolve): Do no save or restore CR. Support extended
13570 return values for ELFv2 ABI. Fix location of FPR return registers.
13571 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13572 updated values for _CALL_ELF == 2.
13573 (La_regs, La_retval, int_retval): Likewise.
13575 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13577 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13578 (FRAME_MIN_SIZE_PARM): Likewise.
13579 (FRAME_BACKCHAIN): Likewise.
13580 (FRAME_CR_SAVE): Likewise.
13581 (FRAME_LR_SAVE): Likewise.
13582 (FRAME_TOC_SAVE): Likewise.
13583 (FRAME_PARM_SAVE): Likewise.
13584 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13585 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13586 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13587 (call_mcount_parm_offset): New macro.
13588 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13589 (PROF): Use symbolic stack frame offsets.
13590 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13592 Redefine in terms of FRAME_MIN_SIZE.
13593 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13594 (_dl_profile_resolve): Likewise. Update comment.
13595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13596 symbols stack frame offsets.
13597 (__sigsetjmp): Likewise.
13598 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13599 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13600 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13601 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13604 (FRAME_BACKCHAIN): Remove.
13605 (FRAME_CR_SAVE): Likewise.
13606 (FRAME_LR_SAVE): Likewise.
13607 (FRAME_COMPILER_DW): Likewise.
13608 (FRAME_LINKER_DW): Likewise.
13609 (FRAME_TOC_SAVE): Likewise.
13610 (FRAME_PARM_SAVE): Likewise.
13611 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13612 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13613 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13615 (CHECK_SP): Use symbolic stack frame offsets.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13617 zone" instead of caller's parameter save area for temp storage.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13619 Likewise. Also, use symbolic stack frame offsets.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13621 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13622 our own stack frame instead of the caller's.
13623 (__socket): Use symbolic stack frame offsets.
13625 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13626 Alan Modra <amodra@gmail.com>
13628 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13630 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13631 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13632 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13634 (elf_machine_fixup_plt): Call it.
13635 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13637 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13638 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13639 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13640 r2 before calling target.
13642 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13643 Alan Modra <amodra@gmail.com>
13645 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13646 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13647 versions of macros to support ELFv2 ABI.
13648 (LOCALENTRY): New macro.
13649 (ENTRY, EALIGN): Use it.
13650 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13651 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13652 fall through into ENTRY entry point.
13653 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13654 Only define if _CALL_ELF != 2.
13656 (elf_machine_matches_host): Verify ABI version matches.
13657 (RTLD_START): Use LOCALENTRY.
13658 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13659 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13660 (PLT_ENTRY_WORDS): New macro.
13661 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13662 (elf_machine_runtime_setup): Support ELFv2 ABI.
13663 (elf_machine_fixup_plt): Likewise.
13664 (elf_machine_plt_conflict): Likewise.
13665 (resolve_ifunc): Likewise.
13666 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13670 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13672 (makecontext): Support ELFv2 ABI.
13673 * elf/elf.h (EF_PPC64_ABI): Define.
13675 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13677 * sysdeps/powerpc/powerpc64/sysdep.h
13678 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13679 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13680 (ENTRY) [ASSEMBLER]: ... but instead here ...
13681 (EALIGN) [ASSEMBLER]: ... and here.
13682 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13683 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13684 (ENTRY_2) [!ASSEMBLER]: Use it.
13685 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13686 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13688 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13689 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13691 Use PPC64_LOAD_FUNCPTR.
13693 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13695 2013-12-04 Alan Modra <amodra@gmail.com>
13697 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13698 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13699 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13700 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13703 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13704 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13705 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13706 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13707 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13709 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13712 (__makecontext): Fix incorrect CFI when backtracing out of
13713 context created via makecontext.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13715 (__setcontext): Fix incorrect CFI during switch to new context.
13716 (__novec_setcontext): Likewise.
13718 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13721 * time/strptime_l.c (__strptime_internal): Allow modifiers
13723 * time/tst-strptime.c (day_tests): Add testcase.
13725 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13727 * scripts/bench.pl: Skip over blank lines.
13729 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13732 * manual/time.texi (Calendar Time): Clarify what timezone functions
13735 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13739 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13741 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13743 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13744 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13745 * debug/memset_chk.c (__memset_chk): Likewise.
13746 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13747 * debug/strncpy_chk.c: Likewise.
13749 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13753 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13754 (__ieee754_exp): For possibly underflowing results, check size of
13755 result and force underflow exception if required.
13756 * math/auto-libm-test-in: Add more tests of exp.
13757 * math/auto-libm-test-out: Regenerated.
13758 * sysdeps/i386/fpu/libm-test-ulps: Update.
13759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13763 * math/w_exp2f.c (__exp2f): Likewise.
13764 * math/w_exp2l.c (__exp2l): Likewise.
13765 * math/auto-libm-test-in: Do not allow missing errno on exp2
13767 * math/auto-libm-test-out: Regenerated.
13769 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13772 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13773 handle filename validation.
13774 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13777 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13780 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13781 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13782 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13784 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13786 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13788 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13789 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13790 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13791 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13792 Add more erfc tests.
13793 * math/auto-libm-test-out: Regenerated.
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13797 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13798 exp2, expm1, j0 and j1.
13799 * math/auto-libm-test-out: Regenerated.
13800 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13801 (erfc_test_data): Likewise.
13802 (exp_test_data): Likewise.
13803 (exp_tonearest_test_data): Likewise.
13804 (exp_towardzero_test_data): Likewise.
13805 (exp_downward_test_data): Likewise.
13806 (exp_upward_test_data): Likewise.
13807 (exp10_test_data): Likewise.
13808 (exp2_test_data): Likewise.
13809 (expm1_test_data): Likewise.
13810 (j0_test_data): Likewise.
13811 (j1_test_data): Likewise.
13812 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13813 (input_flag_type): Add flag_xfail_rounding.
13814 (input_flags): Add xfail-rounding.
13815 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13816 (output_for_one_input_case): Handle flag_xfail_rounding.
13817 * sysdeps/i386/fpu/libm-test-ulps: Update.
13818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13823 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13826 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13829 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13830 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13831 (STAP_PROBE0): New macro.
13832 (STAP_PROBE1): Likewise.
13833 (STAP_PROBE2): Likewise.
13834 (STAP_PROBE3): Likewise.
13835 (STAP_PROBE4): Likewise.
13837 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13839 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13841 2013-12-02 Steve Ellcey <sellcey@mips.com>
13843 * benchtests/Makefile (bench): Add sqrt.
13844 (LDLIBS-bench-sqrt): New.
13845 * benchtests/sqrt-input: New.
13847 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13849 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13850 (GAIH_EAI): Likewise.
13851 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13852 (gaih_inet): Likewise.
13853 (getaddrinfo): Don't use GAIH_EAI.
13855 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13856 (struct gaih): Remove definition.
13858 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13860 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13861 Use HERRNOP directly.
13863 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13867 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13869 * math/gen-auto-libm-tests.c (test_functions): Add more
13870 single-argument functions.
13871 (special_fill_pi_2): New function.
13872 (special_fill_minus_pi_2): Likewise.
13873 (special_fill_pi_6): Likewise.
13874 (special_fill_minus_pi_6): Likewise.
13875 (special_fill_pi_3): Likewise.
13876 (special_fill_2pi_3): Likewise.
13877 (special_fill_e): Likewise.
13878 (special_fill_1_e): Likewise.
13879 (special_fill_e_minus_1): Likewise.
13880 (special_real_inputs): Add more special inputs.
13881 (output_for_one_input_case): Do not require ERANGE on underflow to
13882 zero if round-to-nearest result does not underflow to zero, unless
13883 exact results required.
13884 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13885 atan, atanh, cbrt, cos and cosh.
13886 * math/auto-libm-test-out: Regenerated.
13887 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13888 (acos_tonearest_test_data): Likewise.
13889 (acos_towardzero_test_data): Likewise.
13890 (acos_downward_test_data): Likewise.
13891 (acos_upward_test_data): Likewise.
13892 (acosh_test_data): Likewise.
13893 (asin_test_data): Likewise.
13894 (asin_tonearest_test_data): Likewise.
13895 (asin_towardzero_test_data): Likewise.
13896 (asin_upward_test_data): Likewise.
13897 (asinh_test_data): Likewise.
13898 (atan_test_data): Likewise.
13899 (atanh_test_data): Likewise.
13900 (cbrt_test_data): Likewise.
13901 (cos_test_data): Likewise.
13902 (cos_tonearest_test_data): Likewise.
13903 (cos_towardzero_test_data): Likewise.
13904 (cos_downward_test_data): Likewise.
13905 (cos_upward_test_data): Likewise.
13906 (cosh_test_data): Likewise.
13907 (cosh_tonearest_test_data): Likewise.
13908 (cosh_towardzero_test_data): Likewise.
13909 (cosh_downward_test_data): Likewise.
13910 (cosh_upward_test_data): Likewise.
13911 * sysdeps/i386/fpu/libm-test-ulps: Update.
13912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13914 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13917 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13918 * math/w_exp10f.c (__exp10f): Likewise.
13919 * math/w_exp10l.c (__exp10l): Likewise.
13920 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13921 errno settings in existing tests.
13924 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13925 precision control set to double precision.
13926 * sysdeps/i386/fpu/w_sqrt.c: New file.
13927 * math/auto-libm-test-in: Add more tests.
13928 * math/auto-libm-test-out: Update.
13930 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13931 (sqrt_test_tonearest): New function.
13932 (sqrt_towardzero_test_data): New variable.
13933 (sqrt_test_towardzero): New function.
13934 (sqrt_downward_test_data): New variable.
13935 (sqrt_test_downward): New function.
13936 (sqrt_upward_test_data): New variable.
13937 (sqrt_test_upward): New function.
13938 (main): Call the new functions.
13940 * math/gen-auto-libm-tests.c: New file.
13941 * math/auto-libm-test-in: Likewise.
13942 * math/auto-libm-test-out: New generated file.
13943 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13945 (%beautify): Add generated representations of zero.
13946 (top level): Set $auto_input and call parse_auto_input.
13947 (beautify): Remove trailing "f" from hex float constants.
13948 (parse_args): Handle XFAIL_TEST.
13949 (convert_condition): New function.
13950 (or_value): Likewise.
13951 (or_cond_value): Likewise.
13952 (generate_testfile): Handle AUTO_TESTS_* lines.
13953 (parse_auto_input): New function.
13954 * math/libm-test.inc (XFAIL_TEST): New macro.
13955 (ERRNO_UNCHANGED): Update value.
13956 (ERRNO_EDOM): Likewise.
13957 (ERRNO_ERANGE): Likewise.
13958 (IGNORE_RESULT): Likewise.
13959 (TEST_COND_flt_32): New macro.
13960 (TEST_COND_dbl_64): Likewise.
13961 (TEST_COND_ldbl_96_intel): Likewise.
13962 (TEST_COND_ldbl_96_m68k): Likewise.
13963 (TEST_COND_ldbl_128): Likewise.
13964 (TEST_COND_ldbl_128ibm): Likewise.
13965 (TEST_COND_long32): Likewise.
13966 (TEST_COND_long64): Likewise.
13967 (TEST_COND_before_rounding): Likewise.
13968 (TEST_COND_after_rounding): Likewise.
13969 (enable_test): Handle XFAIL_TEST flag.
13970 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13971 with finite results.
13972 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13973 auto-libm-test-out.
13975 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13976 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13979 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13980 __tls_get_addr_internal instead of __tls_get_offset in order to
13981 avoid GOT pointer dependency. Make rtld export
13982 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13983 __tls_get_addr since we are a __tls_get_offset platform.
13984 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13985 GOT pointer being set up before.
13986 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13988 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13990 * manual/math.texi (Errors in Math Functions): Document accuracy
13994 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14011 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14012 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14013 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14014 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14015 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14017 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14019 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14021 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14022 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14023 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14024 atomic-feupdateenv and flt-rounds.
14025 * sysdeps/powerpc/nofpu/Versions (libc): Add
14026 __atomic_feholdexcept, __atomic_feclearexcept,
14027 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14028 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14029 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14030 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14031 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14036 * manual/arith.texi (FP Exceptions): Document that exceptions may
14037 not be raised when matherr is used.
14038 (Math Error Reporting): Document overflow in directed rounding
14039 modes. Document that errno may not be set when finite values are
14040 returned on overflow. Document intent to set errno on underflow
14041 only for underflow to zero.
14044 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14045 round-to-nearest then adjust result for other rounding modes.
14046 * include/fenv.h (fegetround): Use libm_hidden_proto.
14047 * math/fegetround.c (fegetround): Use libm_hidden_def.
14048 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14049 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14050 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14051 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14053 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14055 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14056 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14058 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14061 * nss/Versions (libnss_files): Add
14062 _nss_files_gethostbyname3_r.
14063 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14065 (HOST_DB_LOOKUP): Remove macro.
14066 (_nss_files_gethostbyname_r): Implement function without the
14067 HOST_DB_LOOKUP macro.
14068 (_nss_files_gethostbyname2_r): Likewise.
14070 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14072 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14074 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14076 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14077 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14080 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14082 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14083 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14084 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14085 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14086 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14087 __fe_nomask_env_priv and attribute_hidden.
14088 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14089 (libc_feupdateenv_test_ppc): Likewise.
14090 (libc_feresetround_ppc): Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14092 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14093 compat_symbol macro.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14095 (__fe_nomask_env): Likewise.
14096 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14098 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14100 * string/Makefile: Remove ifunc tests.
14101 * string/test-string.h: Define TEST_IFUNC.
14102 * string/test-bcopy-ifunc.c: Remove.
14103 * string/test-bzero-ifunc.c: Likewise.
14104 * string/test-memccpy-ifunc.c: Likewise.
14105 * string/test-memchr-ifunc.c: Likewise.
14106 * string/test-memcmp-ifunc.c: Likewise.
14107 * string/test-memcpy-ifunc.c: Likewise.
14108 * string/test-memmem-ifunc.c: Likewise.
14109 * string/test-memmove-ifunc.c: Likewise.
14110 * string/test-mempcpy-ifunc.c: Likewise.
14111 * string/test-memrchr-ifunc.c: Likewise.
14112 * string/test-memset-ifunc.c: Likewise.
14113 * string/test-rawmemchr-ifunc.c: Likewise.
14114 * string/test-stpcpy-ifunc.c: Likewise.
14115 * string/test-stpncpy-ifunc.c: Likewise.
14116 * string/test-strcasecmp-ifunc.c: Likewise.
14117 * string/test-strcasestr-ifunc.c: Likewise.
14118 * string/test-strcat-ifunc.c: Likewise.
14119 * string/test-strchr-ifunc.c: Likewise.
14120 * string/test-strchrnul-ifunc.c: Likewise.
14121 * string/test-strcmp-ifunc.c: Likewise.
14122 * string/test-strcpy-ifunc.c: Likewise.
14123 * string/test-strcspn-ifunc.c: Likewise.
14124 * string/test-strlen-ifunc.c: Likewise.
14125 * string/test-strncasecmp-ifunc.c: Likewise.
14126 * string/test-strncat-ifunc.c: Likewise.
14127 * string/test-strncmp-ifunc.c: Likewise.
14128 * string/test-strncpy-ifunc.c: Likewise.
14129 * string/test-strnlen-ifunc.c: Likewise.
14130 * string/test-strpbrk-ifunc.c: Likewise.
14131 * string/test-strrchr-ifunc.c: Likewise.
14132 * string/test-strspn-ifunc.c: Likewise.
14133 * string/test-strstr-ifunc.c: Likewise.
14135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14137 * benchtests/Makefile: Remove ifunc tests.
14138 * benchtests/bench-string.h: Define TEST_IFUNC.
14139 * benchtests/bench-bcopy-ifunc.c: Remove.
14140 * benchtests/bench-bzero-ifunc.c: Likewise.
14141 * benchtests/bench-memccpy-ifunc.c: Likewise.
14142 * benchtests/bench-memchr-ifunc.c: Likewise.
14143 * benchtests/bench-memcmp-ifunc.c: Likewise.
14144 * benchtests/bench-memcpy-ifunc.c: Likewise.
14145 * benchtests/bench-memmem-ifunc.c: Likewise.
14146 * benchtests/bench-memmove-ifunc.c: Likewise.
14147 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14148 * benchtests/bench-memrchr-ifunc.c: Likewise.
14149 * benchtests/bench-memset-ifunc.c: Likewise.
14150 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14151 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14152 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14153 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14154 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14155 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14156 * benchtests/bench-strcat-ifunc.c: Likewise.
14157 * benchtests/bench-strchr-ifunc.c: Likewise.
14158 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14159 * benchtests/bench-strcmp-ifunc.c: Likewise.
14160 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14161 * benchtests/bench-strcpy-ifunc.c: Likewise.
14162 * benchtests/bench-strcspn-ifunc.c: Likewise.
14163 * benchtests/bench-strlen-ifunc.c: Likewise.
14164 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14165 * benchtests/bench-strncat-ifunc.c: Likewise.
14166 * benchtests/bench-strncmp-ifunc.c: Likewise.
14167 * benchtests/bench-strncpy-ifunc.c: Likewise.
14168 * benchtests/bench-strnlen-ifunc.c: Likewise.
14169 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14170 * benchtests/bench-strrchr-ifunc.c: Likewise.
14171 * benchtests/bench-strsep-ifunc.c: Likewise.
14172 * benchtests/bench-strspn-ifunc.c: Likewise.
14173 * benchtests/bench-strstr-ifunc.c: Likewise.
14175 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14177 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14179 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14181 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14182 * rt/aio.h: Likewise.
14183 * sysdeps/gnu/bits/utmp.h: Likewise.
14184 * sysdeps/gnu/bits/utmpx.h: Likewise.
14185 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14186 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14187 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14188 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14189 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14190 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14191 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14192 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14193 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14194 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14196 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14197 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14199 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14202 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14205 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14207 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14208 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14209 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14212 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14213 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14214 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14220 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14221 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14222 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14223 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14224 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14225 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14226 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14228 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14231 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14232 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14234 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14237 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14240 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14242 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14243 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14244 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14245 (__fesetround): Remove define.
14246 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14247 rounding and exceptions handling.
14248 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14249 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14250 (__fe_nomask_env): Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14252 __fegetround instead of fegetround.
14253 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14254 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14256 2013-11-21 Roland McGrath <roland@hack.frob.com>
14258 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14261 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14263 2013-11-21 Meador Inge <meadori@codesourcery.com>
14266 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14267 (encrypt_r): Likewise.
14268 * malloc/obstack.h (obstack_free): Likewise.
14269 * posix/unistd.h (encrypt): Likewise.
14271 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14273 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14274 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14275 DL_CALL_DT_FINI() that call the functions directly.
14276 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14277 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14278 * elf/dl-fini.c: Likewise.
14280 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14282 * malloc/hooks.c (memalign_check): Add alignment rounding.
14283 * malloc/malloc.c (_mid_memalign): New function.
14284 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14285 Implement by calling _mid_memalign.
14286 * manual/probes.texi (Memory Allocation Probes): Remove
14287 memory_valloc_retry and memory_pvalloc_retry.
14289 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14291 * locale/programs/locarchive.c (open_archive): Add const
14292 qualifier to ARCHIVEFNAME and copy default fname to
14296 * libio/tst-widetext.input: Rename Oriya to Odia.
14297 * locale/iso-639.def: Likewise.
14299 * manual/probes.texi (Mathematical Function Probes): Add
14300 documentation for sin, cos, asin and acos probes.
14301 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14302 (__sin32): Add slowasin probe.
14303 (__cos32): Add slowacos probe.
14304 (__mpsin): Add slowsin probe.
14305 (__mpcos): Add slowcos probe.
14307 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14310 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14311 thread-local __sim_exceptions_thread and global
14312 __sim_exceptions_global.
14313 (__sim_disabled_exceptions): Change to thread-local
14314 __sim_disabled_exceptions_thread and global
14315 __sim_disabled_exceptions_global.
14316 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14317 and global __sim_round_mode_global.
14318 (__simulate_exceptions): Use thread-local floating-point state and
14319 set global state from it as needed.
14320 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14321 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14322 __sim_round_mode_thread.
14323 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14324 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14325 and global __sim_exceptions_global.
14326 (__sim_disabled_exceptions): Change to thread-local
14327 __sim_disabled_exceptions_thread and global
14328 __sim_disabled_exceptions_global.
14329 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14330 and global __sim_round_mode_global.
14331 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14332 (SIM_SET_GLOBAL): Likewise.
14333 * sysdeps/powerpc/soft-fp/sfp-machine.h
14334 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14335 __sim_round_mode_thread.
14336 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14337 __sim_disabled_exceptions_thread.
14338 (__sim_exceptions): Change to __sim_exceptions_thread.
14339 (__sim_disabled_exceptions): Change to
14340 __sim_disabled_exceptions_thread.
14341 (__sim_round_mode): Change to __sim_round_mode_thread.
14342 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14343 thread-local floating-point state and set global state from it as
14345 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14346 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14347 (__sim_disabled_exceptions): Remove extern declaration.
14348 (feenableexcept): Use thread-local floating-point state and set
14349 global state from it as needed.
14350 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14351 extern declaration.
14352 (__sim_disabled_exceptions): Likewise.
14353 (__sim_round_mode): Likewise.
14354 (__fegetenv): Use thread-local floating-point state.
14355 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14356 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14357 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14358 floating-point state and set global state from it as needed.
14359 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14360 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14361 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14363 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14364 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14366 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14367 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14368 Use __sim_round_mode_thread.
14369 * math/test-fenv-tls.c: New file.
14370 * math/Makefile (tests): Add test-fenv-tls.
14371 ($(objpfx)test-fenv-tls): Depend on
14372 $(common-objpfx)nptl/libpthread.so.
14374 2013-11-19 Andreas Schwab <schwab@suse.de>
14376 * locale/programs/locale.c (show_info): Decode wordarray elements.
14377 * locale/categories.def (LC_MONETARY): Add element for
14378 _NL_MONETARY_CRNCYSTR.
14379 * locale/C-monetary.c (conversion_rate): New variable.
14380 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14383 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14385 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14386 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14388 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14390 * elf/Makefile (tst-auxv): New test.
14391 * elf/tst-auxv.c: New
14392 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14394 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14396 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14397 (hidden_proto): Caller changed.
14398 (hidden_tls_proto): New macro.
14399 (libc_hidden_tls_proto): Likewise.
14400 (rtld_hidden_tls_proto): Likewise.
14401 (libm_hidden_tls_proto): Likewise.
14402 (libresolv_hidden_tls_proto): Likewise.
14403 (librt_hidden_tls_proto): Likewise.
14404 (libdl_hidden_tls_proto): Likewise.
14405 (libnss_files_hidden_tls_proto): Likewise.
14406 (libnsl_hidden_tls_proto): Likewise.
14407 (libnss_nisplus_hidden_tls_proto): Likewise.
14408 (libutil_hidden_tls_proto): Likewise.
14410 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14413 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14414 (decompose_rpath): Defer expansion to fillin_rpath.
14415 (_dl_init_paths): Pass linkmap to fillin_rpath.
14417 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14419 * benchtests/Makefile: Add strsep.
14420 * benchtests/bench-strsep.c: New file: strsep benchtest.
14421 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14423 2013-11-18 Andreas Schwab <schwab@suse.de>
14425 * locale/programs/locale.c (show_info) [case byte]: Check for
14426 '\377' instead of '\177'.
14427 * locale/C-monetary.c (not_available): Always use "\377".
14428 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14429 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14430 detect unavailable sign_posn locale elements.
14431 * locale/localeconv.c (__localeconv): For grouping and
14432 mon_grouping handle "\177" and "\377" like no grouping.
14433 (INT_ELEM): New macro. Use it to set all numeric members.
14434 * locale/programs/ld-monetary.c (monetary_read)
14435 <tok_mon_grouping>: Normalize single -1 to the empty string.
14436 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14439 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14443 when we match (nil).
14444 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14446 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14448 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14449 (NO_TEST_INLINE): Update value.
14450 (ERRNO_UNCHANGED): Likewise.
14451 (ERRNO_EDOM): Likewise.
14452 (ERRNO_ERANGE): Likewise.
14453 (IGNORE_RESULT): Likewise.
14454 (check_float_internal): Check signs of NaN results if
14455 TEST_NAN_SIGN used.
14456 (check_complex): Pass TEST_NAN_SIGN flag through to second
14457 check_float_internal call.
14458 (copysign_test_data): Add tests with quiet NaNs as second
14459 argument. Use TEST_NAN_SIGN.
14460 (fabs_test_data): Add test of negative quiet NaN argument. Use
14462 (signbit_test_data): Add tests of quiet NaN argument.
14463 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14465 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14467 (parse_args): Handle function results specified as IGNORE.
14468 * math/libm-test.inc (IGNORE_RESULT): New macro.
14469 (check_float_internal): Do not check numerical result if flag
14471 (check_complex): Pass through IGNORE_RESULT to second
14472 check_float_internal call.
14473 (check_int): Do not check numerical result if flag IGNORE_RESULT
14475 (check_long): Likewise.
14476 (check_bool): Likewise.
14477 (check_longlong): Likewise.
14478 (lrint_test_data): Add tests of infinite and NaN arguments.
14479 (lrint_tonearest_test_data): Likewise.
14480 (lrint_towardzero_test_data): Likewise.
14481 (lrint_downward_test_data): Likewise.
14482 (lrint_upward_test_data): Likewise.
14483 (llrint_test_data): Likewise.
14484 (llrint_tonearest_test_data): Likewise.
14485 (llrint_towardzero_test_data): Likewise.
14486 (llrint_downward_test_data): Likewise.
14487 (llrint_upward_test_data): Likewise.
14488 (lround_test_data): Likewise.
14489 (llround_test_data): Likewise.
14491 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14492 (ERRNO_UNCHANGED): Update value.
14493 (ERRNO_EDOM): Likewise.
14494 (ERRNO_ERANGE): Likewise.
14495 (NO_TEST_INLINE_FLOAT): New macro.
14496 (NO_TEST_INLINE_DOUBLE): Likewise.
14497 (enable_test): New function.
14498 (RUN_TEST_f_f): Check enable_test before running test.
14499 (RUN_TEST_2_f): Likewise.
14500 (RUN_TEST_fff_f): Likewise.
14501 (RUN_TEST_c_f): Likewise.
14502 (RUN_TEST_f_f1): Likewise.
14503 (RUN_TEST_fF_f1): Likewise.
14504 (RUN_TEST_fI_f1): Likewise.
14505 (RUN_TEST_ffI_f1): Likewise.
14506 (RUN_TEST_c_c): Likewise.
14507 (RUN_TEST_cc_c): Likewise.
14508 (RUN_TEST_f_i): Likewise.
14509 (RUN_TEST_f_i_tg): Likewise.
14510 (RUN_TEST_ff_i_tg): Likewise.
14511 (RUN_TEST_f_b): Likewise.
14512 (RUN_TEST_f_b_tg): Likewise.
14513 (RUN_TEST_f_l): Likewise.
14514 (RUN_TEST_f_L): Likewise.
14515 (RUN_TEST_fFF_11): Likewise.
14516 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14518 (cosh_test_data): Likewise.
14519 (exp_test_data): Likewise.
14520 (expm1_test_data): Likewise.
14521 (hypot_test_data): Likewise.
14522 (pow_test_data): Likewise.
14523 (sinh_test_data): Likewise.
14524 (tanh_test_data): Likewise.
14525 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14528 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14529 tests with quiet NaN input and output.
14530 (acosh_test_data): Likewise.
14531 (asin_test_data): Likewise.
14532 (asinh_test_data): Likewise.
14533 (atan_test_data): Likewise.
14534 (atanh_test_data): Likewise.
14535 (atan2_test_data): Likewise.
14536 (cbrt_test_data): Likewise.
14537 (cos_test_data): Likewise.
14538 (cosh_test_data): Likewise.
14539 (erf_test_data): Likewise.
14540 (erfc_test_data): Likewise.
14541 (exp_test_data): Likewise.
14542 (exp10_test_data): Likewise.
14543 (exp2_test_data): Likewise.
14544 (expm1_test_data): Likewise.
14545 (hypot_test_data): Likewise.
14546 (j0_test_data): Likewise.
14547 (j1_test_data): Likewise.
14548 (jn_test_data): Likewise.
14549 (lgamma_test_data): Likewise.
14550 (log_test_data): Likewise.
14551 (log10_test_data): Likewise.
14552 (log1p_test_data): Likewise.
14553 (log2_test_data): Likewise.
14554 (pow_test_data): Likewise.
14555 (scalb_test_data): Likewise.
14556 (sin_test_data): Likewise.
14557 (sincos_test_data): Likewise.
14558 (sinh_test_data): Likewise.
14559 (tan_test_data): Likewise.
14560 (tanh_test_data): Likewise.
14561 (tgamma_test_data): Likewise.
14562 (y0_test_data): Likewise.
14563 (y1_test_data): Likewise.
14564 (yn_test_data): Likewise.
14567 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14568 argument being NaN and avoid computations with second argument in
14570 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14571 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14574 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14576 * locale/iso-639.def: Add Chitwani Tharu (the).
14578 2013-11-14 Andreas Schwab <schwab@suse.de>
14580 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14581 word instead of empty string.
14583 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14586 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14588 (__fe_nomask_env): Likewise.
14590 2013-11-13 Steve Ellcey <sellcey@mips.com>
14592 * benchtests/bench-timing.h: Include time.h.
14594 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14597 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14599 * sysdeps/unix/sysv/linux/configure: Regenerated.
14601 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14604 * stdlib/strtod_l.c (round_and_return): Do not consider
14605 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14606 exponent one less than half the least subnormal exponent.
14607 * stdlib/test-strtod-round-data: Add more tests.
14608 * stdlib/tst-strtod-round.c (tests): Regenerated.
14610 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14613 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14614 (__fe_mask_env): Likewise.
14615 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14616 libm_hidden_proto and add function prototype.
14617 (__fe_mask_env): Add function prototype.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14619 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14621 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14623 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14625 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14627 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14628 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14630 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14632 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14633 of htab_find_slot().
14635 2013-11-11 David S. Miller <davem@davemloft.net>
14638 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14639 symbol in the non-vis3 case in static builds.
14640 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14641 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14642 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14643 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14645 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14648 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14651 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14653 * benchtests/Makefile: Add bench-strtod.
14654 * benchtests/bench-strtod.c: New file: strtod benchtest
14656 2013-11-11 Andreas Schwab <schwab@suse.de>
14659 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14660 terminating NUL in key length.
14662 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14665 Add artificial ODP entry for vDSO symbol for PPC64.
14666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14667 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14669 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14672 * nss/getent.c (services_keys): Recognize services starting with digit.
14674 2013-11-06 David S. Miller <davem@davemloft.net>
14677 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14678 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14680 2013-11-06 Will Newton <will.newton@linaro.org>
14682 * manual/memory.texi (Malloc Examples): Remove register
14683 keyword from examples.
14685 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14687 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14689 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14692 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14693 depending on [__GCC_IEC_559 > 0].
14694 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14695 depending on [__GCC_IEC_559_COMPLEX > 0].
14697 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14699 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14702 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14704 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14706 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14709 * malloc/malloc (malloc_info): Do not handle first bin as
14712 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14714 * locale/iso-639.def: Add Central Nahuatl (nhn).
14716 2013-11-01 Bruno Haible <bruno@clisp.org>
14719 * manual/math.texi (BSD Random): Specify range upper bound as
14722 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14724 * locale/iso-639.def: Add Meadow Mari (mhr).
14726 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14728 [BZ #14752], [BZ #15763]
14729 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14731 * rt/tst_shm.c: Add test for escaping directory.
14733 2013-10-31 Andreas Schwab <schwab@suse.de>
14736 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14737 followed by 'x' as part of digit sequence.
14738 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14740 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14743 * configure.ac: allow GNU Make 4.0 and greater.
14744 * configure: Regenerated.
14746 2013-10-30 Will Newton <will.newton@linaro.org>
14749 * malloc/hooks.c (memalign_check): Limit alignment to the
14750 maximum representable power of two.
14751 * malloc/malloc.c (__libc_memalign): Likewise.
14752 * malloc/tst-memalign.c (do_test): Add test for very
14753 large alignment values.
14754 * malloc/tst-posix_memalign.c (do_test): Likewise.
14756 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14759 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14760 (munmap_chunk): Likewise.
14761 (mremap_chunk): Likewise.
14763 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14766 * stdlib/div.c (div): Remove obsolete code.
14767 * stdlib/ldiv.c (ldiv): Likewise.
14768 * stdlib/lldiv.c (lldiv): Likewise.
14770 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14773 * nss/nss_files/files-XXX.c (get_contents_ret): New
14775 (get_contents): New function.
14776 (internal_getent): Use it. Expand size of LINEBUFLEN.
14778 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14780 * configure.in: Moved to ...
14781 * configure.ac: ... here. Change reference to configure.in
14783 * sysdeps/arm/preconfigure.ac: ... here.
14784 configure.in to configure.ac.
14785 * sysdeps/gnu/configure.in: Moved to ...
14786 * sysdeps/gnu/configure.ac: ... here.
14787 * sysdeps/i386/configure.in: Moved to ...
14788 * sysdeps/i386/configure.ac: ... here.
14789 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14790 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14791 * sysdeps/mach/configure.in: Moved to ...
14792 * sysdeps/mach/configure.ac: ... here.
14793 * sysdeps/mach/hurd/configure.in: Moved to ...
14794 * sysdeps/mach/hurd/configure.ac: ... here.
14795 * sysdeps/powerpc/configure.in: Moved to ...
14796 * sysdeps/powerpc/configure.ac: ... here.
14797 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14798 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14799 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14800 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14801 * sysdeps/s390/s390-32/configure.in: Moved to ...
14802 * sysdeps/s390/s390-32/configure.ac: ... here.
14803 * sysdeps/s390/s390-64/configure.in: Moved to ...
14804 * sysdeps/s390/s390-64/configure.ac: ... here.
14805 * sysdeps/sh/configure.in: Moved to ...
14806 * sysdeps/sh/configure.ac: ... here.
14807 * sysdeps/sparc/configure.in: Moved to ...
14808 * sysdeps/sparc/configure.ac: ... here.
14809 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14810 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14811 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14812 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14813 * sysdeps/x86_64/configure.in: Moved to ...
14814 * sysdeps/x86_64/configure.ac: ... here.
14815 * sysdeps/x86_64/preconfigure.in: Moved to ...
14816 * sysdeps/x86_64/preconfigure.ac: ... here.
14817 * aclocal.m4: Change reference to configure.in to configure.ac.
14818 * config.h.in: Likewise.
14819 * manual/install.texi: Likewise.
14820 * manual/maint.texi: Likewise.
14821 * Makefile: Likewise.
14822 * malloc/Makefile: Likewise.
14823 * nscd/Makefile: Likewise.
14824 * Makeconfig: Change reference to configure.in and
14825 preconfigure.in to configure.ac and preconfigure.ac
14827 * INSTALL: Regenerated.
14828 * configure: Likewise.
14829 * sysdeps/gnu/configure: Likewise.
14830 * sysdeps/i386/configure: Likewise.
14831 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14832 * sysdeps/mach/configure: Likewise.
14833 * sysdeps/mach/hurd/configure: Likewise.
14834 * sysdeps/powerpc/configure: Likewise.
14835 * sysdeps/powerpc/powerpc32/configure: Likewise.
14836 * sysdeps/powerpc/powerpc64/configure: Likewise.
14837 * sysdeps/s390/s390-32/configure: Likewise.
14838 * sysdeps/s390/s390-64/configure: Likewise.
14839 * sysdeps/sh/configure: Likewise.
14840 * sysdeps/sparc/configure: Likewise.
14841 * sysdeps/unix/sysv/linux/configure: Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14843 * sysdeps/x86_64/configure: Likewise.
14844 * sysdeps/x86_64/preconfigure: Likewise.
14846 2013-10-29 Andreas Schwab <schwab@suse.de>
14848 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14850 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14852 * benchtests/pow-inputs: Add new inputs.
14854 * benchtests/exp-inputs: Add new inputs.
14856 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14857 conditional check for return value.
14858 (__cos32): Likewise.
14860 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14863 to provide a boost for large inputs with word alignment.
14864 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14865 implementation based on optimized PPC64 strcpy.
14866 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14867 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14868 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14869 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14871 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14874 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14876 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14879 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14880 * time/tst-strptime.c (day_tests): Add testcase.
14882 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14885 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14887 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14890 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14891 MAP_FAILED on error.
14893 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14896 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14897 heap for large requests.
14899 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14902 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14903 result if the result has no associated interface.
14904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14905 interface for all 127.X.Y.Z addresses.
14907 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14909 * locale/iso-639.def: Add Ligurian (lij)
14911 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14914 * sunrpc/rpc_main.c: Document rpcgen -5.
14916 2013-10-19 Michael Stahl <mstahl@redhat.com>
14918 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14920 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14923 * posix/glob.c: Match only directories when trailing slash is present.
14924 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14925 (main): Add testcase.
14927 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14930 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14932 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14934 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14935 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14936 AUTH_DES and cindex for FIPS 140-2.
14937 (DES Encryption): Add cindex FIPS 46-3.
14939 * locale/locarchive.h (struct locarhandle): Add fname.
14940 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14941 if an optional argument was specified to --list-archive,
14943 * locale/programs/locarchive.c (show_archive_content): Take new
14944 argument fname and pass it via ah.fname to open_archive.
14945 * locale/programs/localedef.h: Update decl.
14946 (open_archive): If AH->fname is non-null, open that file
14947 rather than the default file name, and don't ignore ENOENT.
14948 (create_archive): Set AH.fname to NULL.
14949 (delete_locales_from_archive): Likewise.
14950 (add_locales_to_archive): Likewise.
14951 * locale/programs/locfile.c (write_all_categories): Likewise.
14953 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14954 Aldy Hernandez <aldyh@redhat.com>
14956 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14957 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14958 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14959 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14960 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14961 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14962 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14963 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14964 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14965 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14966 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14967 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14968 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14969 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14970 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14972 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14974 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14976 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14978 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14979 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14981 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14982 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14983 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14984 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14986 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14987 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14988 * sysdeps/powerpc/preconfigure: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14991 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14992 Replace contents of file by #include of <fenv_libc.h>.
14993 * sysdeps/powerpc/soft-fp/sfp-machine.h
14994 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14996 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15009 Allow copysignl PLT reference to be missing.
15011 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15012 Joseph Myers <joseph@codesourcery.com
15015 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15017 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15019 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15021 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15022 * elf/tst-tls1.c: Likewise.
15023 * elf/tst-tls10.h: Likewise.
15024 * elf/tst-tls14.c: Likewise.
15025 * elf/tst-tls2.c: Likewise.
15026 * elf/tst-tls3.c: Likewise.
15027 * elf/tst-tls4.c: Likewise.
15028 * elf/tst-tls5.c: Likewise.
15029 * elf/tst-tls6.c: Likewise.
15030 * elf/tst-tls7.c: Likewise.
15031 * elf/tst-tls8.c: Likewise.
15032 * elf/tst-tls9.c: Likewise.
15033 * elf/tst-tlsmod1.c: Likewise.
15034 * elf/tst-tlsmod13.c: Likewise.
15035 * elf/tst-tlsmod13a.c: Likewise.
15036 * elf/tst-tlsmod14a.c: Likewise.
15037 * elf/tst-tlsmod16a.c: Likewise.
15038 * elf/tst-tlsmod16b.c: Likewise.
15039 * elf/tst-tlsmod2.c: Likewise.
15040 * elf/tst-tlsmod3.c: Likewise.
15041 * elf/tst-tlsmod4.c: Likewise.
15042 * elf/tst-tlsmod5.c: Likewise.
15043 * elf/tst-tlsmod6.c: Likewise.
15045 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15048 * malloc/malloc.c: remove checks for statistics.
15050 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15053 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15054 * inet/tst-network.c: Add testcase.
15056 2013-10-17 Andreas Schwab <schwab@suse.de>
15059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15060 to determine canonical name.
15062 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15064 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15065 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15088 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15089 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15091 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15092 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15093 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15094 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15096 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15107 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15109 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15110 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15111 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15112 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15113 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15114 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15115 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15117 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15118 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15119 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15121 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15123 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15126 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15127 make result into a quiet NaN.
15129 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15131 * soft-fp/adddf3.c: Fix horizontal whitespace.
15132 * soft-fp/addsf3.c: Likewise.
15133 * soft-fp/addtf3.c: Likewise.
15134 * soft-fp/divdf3.c: Likewise.
15135 * soft-fp/divsf3.c: Likewise.
15136 * soft-fp/divtf3.c: Likewise.
15137 * soft-fp/double.h: Likewise.
15138 * soft-fp/eqdf2.c: Likewise.
15139 * soft-fp/eqsf2.c: Likewise.
15140 * soft-fp/eqtf2.c: Likewise.
15141 * soft-fp/extenddftf2.c: Likewise.
15142 * soft-fp/extended.h: Likewise.
15143 * soft-fp/extendsfdf2.c: Likewise.
15144 * soft-fp/extendsftf2.c: Likewise.
15145 * soft-fp/extendxftf2.c: Likewise.
15146 * soft-fp/fixdfdi.c: Likewise.
15147 * soft-fp/fixdfsi.c: Likewise.
15148 * soft-fp/fixdfti.c: Likewise.
15149 * soft-fp/fixsfdi.c: Likewise.
15150 * soft-fp/fixsfsi.c: Likewise.
15151 * soft-fp/fixsfti.c: Likewise.
15152 * soft-fp/fixtfdi.c: Likewise.
15153 * soft-fp/fixtfsi.c: Likewise.
15154 * soft-fp/fixtfti.c: Likewise.
15155 * soft-fp/fixunsdfdi.c: Likewise.
15156 * soft-fp/fixunsdfsi.c: Likewise.
15157 * soft-fp/fixunsdfti.c: Likewise.
15158 * soft-fp/fixunssfdi.c: Likewise.
15159 * soft-fp/fixunssfsi.c: Likewise.
15160 * soft-fp/fixunssfti.c: Likewise.
15161 * soft-fp/fixunstfdi.c: Likewise.
15162 * soft-fp/fixunstfsi.c: Likewise.
15163 * soft-fp/fixunstfti.c: Likewise.
15164 * soft-fp/floatdidf.c: Likewise.
15165 * soft-fp/floatdisf.c: Likewise.
15166 * soft-fp/floatditf.c: Likewise.
15167 * soft-fp/floatsidf.c: Likewise.
15168 * soft-fp/floatsisf.c: Likewise.
15169 * soft-fp/floatsitf.c: Likewise.
15170 * soft-fp/floattidf.c: Likewise.
15171 * soft-fp/floattisf.c: Likewise.
15172 * soft-fp/floattitf.c: Likewise.
15173 * soft-fp/floatundidf.c: Likewise.
15174 * soft-fp/floatundisf.c: Likewise.
15175 * soft-fp/floatunditf.c: Likewise.
15176 * soft-fp/floatunsidf.c: Likewise.
15177 * soft-fp/floatunsisf.c: Likewise.
15178 * soft-fp/floatunsitf.c: Likewise.
15179 * soft-fp/floatuntidf.c: Likewise.
15180 * soft-fp/floatuntisf.c: Likewise.
15181 * soft-fp/floatuntitf.c: Likewise.
15182 * soft-fp/fmadf4.c: Likewise.
15183 * soft-fp/fmasf4.c: Likewise.
15184 * soft-fp/fmatf4.c: Likewise.
15185 * soft-fp/gedf2.c: Likewise.
15186 * soft-fp/gesf2.c: Likewise.
15187 * soft-fp/getf2.c: Likewise.
15188 * soft-fp/ledf2.c: Likewise.
15189 * soft-fp/lesf2.c: Likewise.
15190 * soft-fp/letf2.c: Likewise.
15191 * soft-fp/muldf3.c: Likewise.
15192 * soft-fp/mulsf3.c: Likewise.
15193 * soft-fp/multf3.c: Likewise.
15194 * soft-fp/negdf2.c: Likewise.
15195 * soft-fp/negsf2.c: Likewise.
15196 * soft-fp/negtf2.c: Likewise.
15197 * soft-fp/op-1.h: Likewise.
15198 * soft-fp/op-2.h: Likewise.
15199 * soft-fp/op-4.h: Likewise.
15200 * soft-fp/op-8.h: Likewise.
15201 * soft-fp/op-common.h: Likewise.
15202 * soft-fp/quad.h: Likewise.
15203 * soft-fp/single.h: Likewise.
15204 * soft-fp/soft-fp.h: Likewise.
15205 * soft-fp/sqrtdf2.c: Likewise.
15206 * soft-fp/sqrtsf2.c: Likewise.
15207 * soft-fp/sqrttf2.c: Likewise.
15208 * soft-fp/subdf3.c: Likewise.
15209 * soft-fp/subsf3.c: Likewise.
15210 * soft-fp/subtf3.c: Likewise.
15211 * soft-fp/truncdfsf2.c: Likewise.
15212 * soft-fp/trunctfdf2.c: Likewise.
15213 * soft-fp/trunctfsf2.c: Likewise.
15214 * soft-fp/trunctfxf2.c: Likewise.
15215 * soft-fp/unorddf2.c: Likewise.
15216 * soft-fp/unordsf2.c: Likewise.
15217 * soft-fp/unordtf2.c: Likewise.
15219 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15221 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15222 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15224 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15226 * elf/dl-libc.c: Clear initfini list after freeing.
15228 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15230 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15231 * soft-fp/addsf3.c: Likewise.
15232 * soft-fp/addtf3.c: Likewise.
15233 * soft-fp/divdf3.c: Likewise.
15234 * soft-fp/divsf3.c: Likewise.
15235 * soft-fp/divtf3.c: Likewise.
15236 * soft-fp/double.h: Likewise.
15237 * soft-fp/eqdf2.c: Likewise.
15238 * soft-fp/eqsf2.c: Likewise.
15239 * soft-fp/eqtf2.c: Likewise.
15240 * soft-fp/extenddftf2.c: Likewise.
15241 * soft-fp/extended.h: Likewise.
15242 * soft-fp/extendsfdf2.c: Likewise.
15243 * soft-fp/extendsftf2.c: Likewise.
15244 * soft-fp/extendxftf2.c: Likewise.
15245 * soft-fp/fixdfdi.c: Likewise.
15246 * soft-fp/fixdfsi.c: Likewise.
15247 * soft-fp/fixdfti.c: Likewise.
15248 * soft-fp/fixsfdi.c: Likewise.
15249 * soft-fp/fixsfsi.c: Likewise.
15250 * soft-fp/fixsfti.c: Likewise.
15251 * soft-fp/fixtfdi.c: Likewise.
15252 * soft-fp/fixtfsi.c: Likewise.
15253 * soft-fp/fixtfti.c: Likewise.
15254 * soft-fp/fixunsdfdi.c: Likewise.
15255 * soft-fp/fixunsdfsi.c: Likewise.
15256 * soft-fp/fixunsdfti.c: Likewise.
15257 * soft-fp/fixunssfdi.c: Likewise.
15258 * soft-fp/fixunssfsi.c: Likewise.
15259 * soft-fp/fixunssfti.c: Likewise.
15260 * soft-fp/fixunstfdi.c: Likewise.
15261 * soft-fp/fixunstfsi.c: Likewise.
15262 * soft-fp/fixunstfti.c: Likewise.
15263 * soft-fp/floatdidf.c: Likewise.
15264 * soft-fp/floatdisf.c: Likewise.
15265 * soft-fp/floatditf.c: Likewise.
15266 * soft-fp/floatsidf.c: Likewise.
15267 * soft-fp/floatsisf.c: Likewise.
15268 * soft-fp/floatsitf.c: Likewise.
15269 * soft-fp/floattidf.c: Likewise.
15270 * soft-fp/floattisf.c: Likewise.
15271 * soft-fp/floattitf.c: Likewise.
15272 * soft-fp/floatundidf.c: Likewise.
15273 * soft-fp/floatundisf.c: Likewise.
15274 * soft-fp/floatunsidf.c: Likewise.
15275 * soft-fp/floatunsisf.c: Likewise.
15276 * soft-fp/floatuntidf.c: Likewise.
15277 * soft-fp/floatuntisf.c: Likewise.
15278 * soft-fp/floatuntitf.c: Likewise.
15279 * soft-fp/fmadf4.c: Likewise.
15280 * soft-fp/fmasf4.c: Likewise.
15281 * soft-fp/fmatf4.c: Likewise.
15282 * soft-fp/gedf2.c: Likewise.
15283 * soft-fp/gesf2.c: Likewise.
15284 * soft-fp/getf2.c: Likewise.
15285 * soft-fp/ledf2.c: Likewise.
15286 * soft-fp/lesf2.c: Likewise.
15287 * soft-fp/letf2.c: Likewise.
15288 * soft-fp/muldf3.c: Likewise.
15289 * soft-fp/mulsf3.c: Likewise.
15290 * soft-fp/multf3.c: Likewise.
15291 * soft-fp/negdf2.c: Likewise.
15292 * soft-fp/negsf2.c: Likewise.
15293 * soft-fp/negtf2.c: Likewise.
15294 * soft-fp/op-1.h: Likewise.
15295 * soft-fp/op-2.h: Likewise.
15296 * soft-fp/op-4.h: Likewise.
15297 * soft-fp/op-8.h: Likewise.
15298 * soft-fp/op-common.h: Likewise.
15299 * soft-fp/quad.h: Likewise.
15300 * soft-fp/single.h: Likewise.
15301 * soft-fp/soft-fp.h: Likewise.
15302 * soft-fp/sqrtdf2.c: Likewise.
15303 * soft-fp/sqrtsf2.c: Likewise.
15304 * soft-fp/sqrttf2.c: Likewise.
15305 * soft-fp/subdf3.c: Likewise.
15306 * soft-fp/subsf3.c: Likewise.
15307 * soft-fp/subtf3.c: Likewise.
15308 * soft-fp/truncdfsf2.c: Likewise.
15309 * soft-fp/trunctfdf2.c: Likewise.
15310 * soft-fp/trunctfsf2.c: Likewise.
15311 * soft-fp/trunctfxf2.c: Likewise.
15312 * soft-fp/unorddf2.c: Likewise.
15313 * soft-fp/unordsf2.c: Likewise.
15314 * soft-fp/unordtf2.c: Likewise.
15316 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15319 * misc/error.c (error_tail): Fix possible buffer overflow.
15321 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15324 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15327 2013-10-14 P. J. McDermott <pj@pehjota.net>
15330 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15331 testing pipefail option.
15333 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15335 * soft-fp/double.h: Indent preprocessor directives inside #if.
15336 * soft-fp/extended.h: Likewise.
15337 * soft-fp/op-2.h: Likewise.
15338 * soft-fp/op-4.h: Likewise.
15339 * soft-fp/op-common.h: Likewise.
15340 * soft-fp/quad.h: Likewise.
15341 * soft-fp/single.h: Likewise.
15342 * soft-fp/soft-fp.h: Likewise.
15344 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15346 * iconv/iconv_prog.c: Fix typos.
15347 * stdio-common/psiginfo-data.h: Likewise.
15349 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15352 * locale/setlocale.c: Fix typo.
15354 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15357 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15358 signaling NaN arguments.
15359 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15360 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15363 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15364 unordered operands.
15365 * soft-fp/gesf2.c (__gesf2): Likewise.
15366 * soft-fp/getf2.c (__getf2): Likewise.
15367 * soft-fp/ledf2.c (__ledf2): Likewise.
15368 * soft-fp/lesf2.c (__lesf2): Likewise.
15369 * soft-fp/letf2.c (__letf2): Likewise.
15371 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15372 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15373 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15374 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15375 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15376 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15377 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15378 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15379 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15380 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15381 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15382 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15383 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15384 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15385 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15386 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15387 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15388 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15389 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15390 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15391 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15392 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15393 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15394 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15395 * soft-fp/floattidf.c (__floattidf): Likewise.
15396 * soft-fp/floattisf.c (__floattisf): Likewise.
15397 * soft-fp/floattitf.c (__floattitf): Likewise.
15398 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15399 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15400 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15401 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15402 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15403 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15404 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15405 * soft-fp/gesf2.c (__gesf2): Likewise.
15406 * soft-fp/getf2.c (__getf2): Likewise.
15407 * soft-fp/ledf2.c (__ledf2): Likewise.
15408 * soft-fp/lesf2.c (__lesf2): Likewise.
15409 * soft-fp/letf2.c (__letf2): Likewise.
15411 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15412 Undefine and redefine.
15413 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15414 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15415 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15416 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15417 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15418 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15419 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15420 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15421 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15422 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15423 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15424 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15425 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15426 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15427 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15430 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15431 without decrementing exponent if mantissa >= that for the
15432 denominator, not >.
15433 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15434 denominator, not >. Decrement exponent in < case instead of
15435 incrementing in >= case.
15436 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15437 without decrementing exponent if mantissa >= that for the
15438 denominator, not >.
15440 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15441 computing saturated result for unsigned overflow.
15443 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15444 Jeff Law <law@redhat.com>
15446 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15447 (atan2Mp): Add systemtap probe marker.
15448 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15449 (__ieee754_log): Add systemtap probe marker.
15450 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15451 (atanMp): Add systemtap probe marker.
15452 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15453 (tanMp): Add systemtap probe marker.
15454 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15455 (__slowexp): Add systemtap probe marker.
15456 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15457 (__slowpow): Add systemtap probe marker.
15458 * manual/probes.texi: Document probes.
15460 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15463 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15465 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15467 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15468 written to buffer but not flushed.
15469 * libio/iofwrite_u.c: Likewise.
15470 * libio/iopadn.c: Return bytes returned even if EOF was
15472 * libio/iowpadn.c: Likewise.
15473 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15474 if _IO_padn does not write the whole buffer.
15475 [!COMPILE_WPRINTF] (PAD): Likewise.
15477 2013-10-10 David S. Miller <davem@davemloft.net>
15479 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15482 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15484 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15485 instead of FSF address.
15486 * soft-fp/fixdfti.c: Likewise.
15487 * soft-fp/fixsfti.c: Likewise.
15488 * soft-fp/fixtfti.c: Likewise.
15489 * soft-fp/fixunsdfti.c: Likewise.
15490 * soft-fp/fixunssfti.c: Likewise.
15491 * soft-fp/fixunstfti.c: Likewise.
15492 * soft-fp/floattidf.c: Likewise.
15493 * soft-fp/floattisf.c: Likewise.
15494 * soft-fp/floattitf.c: Likewise.
15495 * soft-fp/floatuntidf.c: Likewise.
15496 * soft-fp/floatuntisf.c: Likewise.
15497 * soft-fp/floatuntitf.c: Likewise.
15498 * soft-fp/trunctfxf2.c: Likewise.
15500 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15501 * soft-fp/fixdfti.c: Likewise.
15502 * soft-fp/fixsfti.c: Likewise.
15503 * soft-fp/fixtfti.c: Likewise.
15504 * soft-fp/fixunsdfti.c: Likewise.
15505 * soft-fp/fixunssfti.c: Likewise.
15506 * soft-fp/fixunstfti.c: Likewise.
15507 * soft-fp/floattidf.c: Likewise.
15508 * soft-fp/floattisf.c: Likewise.
15509 * soft-fp/floattitf.c: Likewise.
15510 * soft-fp/floatuntidf.c: Likewise.
15511 * soft-fp/floatuntisf.c: Likewise.
15512 * soft-fp/floatuntitf.c: Likewise.
15513 * soft-fp/trunctfxf2.c: Likewise.
15515 2013-10-10 David S. Miller <davem@davemloft.net>
15517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15519 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15521 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15522 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15523 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15524 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15525 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15526 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15527 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15530 for NaNs before doing comparisons on argument.
15531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15534 2013-10-10 Will Newton <will.newton@linaro.org>
15536 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15537 passed to _int_memalign does not overflow.
15539 2013-10-10 Torvald Riegel <triegel@redhat.com>
15541 * scripts/bench.pl: Add include-sources directive.
15542 * benchtests/README: Update documentation.
15544 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15546 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15547 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15548 instead of FP_INIT_ROUNDMODE.
15549 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15550 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15553 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15554 copy class of input value.
15555 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15556 not handle exceptions.
15557 * soft-fp/negsf2.c (__negsf2): Likewise.
15558 * soft-fp/negtf2.c (__negtf2): Likewise.
15559 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15561 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15563 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15564 semicolon. From Linux kernel.
15566 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15568 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15570 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15573 * manual/socket.texi: Added statement about buffer
15574 for gethostbyname2_r.
15576 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15578 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15579 Use .p2align directive instead, throughout.
15580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15581 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15582 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15585 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15586 * sysdeps/x86_64/strchr.S: Likewise.
15587 * sysdeps/x86_64/strrchr.S: Likewise.
15589 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15591 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15593 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15595 * sysdeps/generic/math_private.h (__mpsin1): Remove
15597 (__mpcos1): Likewise.
15598 (__mpsin): New argument __range_reduce.
15599 (__mpcos): Likewise.
15600 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15601 (slow): Use __mpsin and __mpcos.
15605 (sloww1): Likewise.
15606 (sloww2): Likewise.
15607 (bsloww): Likewise.
15608 (bsloww1): Likewise.
15609 (bsloww2): Likewise.
15610 (cslow2): Likewise.
15611 (csloww): Likewise.
15612 (csloww1): Likewise.
15613 (csloww2): Likewise.
15614 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15615 range_reduce. Merge in __mpsin1.
15616 (__mpcos): Likewise.
15617 (__mpsin1): Remove.
15618 (__mpcos1): Likewise.
15620 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15622 * locale/loadlocale.c (_nl_intern_locale_data): Use
15624 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15625 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15626 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15627 obstack data is appropriately aligned.
15628 (obstack_int32_grow_fast): Likewise.
15629 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15630 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15631 (add_locale_uint32_array): Likewise.
15633 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15635 * benchtests/Makefile: Remove ARGLIST and RET variables.
15636 ($(objpfx)bench-%.c): Pass only function name to the script.
15637 * benchtests/README: Update documentation.
15638 * benchtests/acos-inputs: Add new directives.
15639 * benchtests/acosh-inputs: Likewise.
15640 * benchtests/asin-inputs: Likewise.
15641 * benchtests/asinh-inputs: Likewise.
15642 * benchtests/atan-inputs: Likewise.
15643 * benchtests/atanh-inputs: Likewise.
15644 * benchtests/cos-inputs: Likewise.
15645 * benchtests/cosh-inputs: Likewise.
15646 * benchtests/exp-inputs: Likewise.
15647 * benchtests/log-inputs: Likewise.
15648 * benchtests/pow-inputs: Likewise.
15649 * benchtests/rint-inputs: Likewise.
15650 * benchtests/sin-inputs: Likewise.
15651 * benchtests/sinh-inputs: Likewise.
15652 * benchtests/tan-inputs: Likewise.
15653 * benchtests/tanh-inputs: Likewise.
15654 * scripts/bench.pl: Add support for new directives.
15656 2013-10-07 Alan Modra <amodra@gmail.com>
15658 * README: Fix careless merge.
15660 2013-10-05 Alan Modra <amodra@gmail.com>
15662 * NEWS: Mention powerpc64le support and bugs fixed.
15663 * README: Both big-endian and little-endian powerpc64 supported.
15665 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15667 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15668 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15669 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15670 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15672 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15674 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15677 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15679 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15680 Move -mhard-float appending from
15681 ports/sysdeps/powerpc/powerpc32/Makefile.
15682 [$(with-fp) = yes] (ASFLAGS): Likewise.
15683 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15684 * sysdeps/powerpc/nofpu: Move directory from
15685 ports/sysdeps/powerpc/nofpu.
15686 * sysdeps/powerpc/soft-fp: Move directory from
15687 ports/sysdeps/powerpc/soft-fp.
15688 * sysdeps/powerpc/powerpc32/405: Move directory from
15689 ports/sysdeps/powerpc/powerpc32/405.
15690 * sysdeps/powerpc/powerpc32/440: Move directory from
15691 ports/sysdeps/powerpc/powerpc32/440.
15692 * sysdeps/powerpc/powerpc32/464: Move directory from
15693 ports/sysdeps/powerpc/powerpc32/464.
15694 * sysdeps/powerpc/powerpc32/476: Move directory from
15695 ports/sysdeps/powerpc/powerpc32/476.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15697 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15699 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15701 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15703 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15706 * README: Update for powerpc-*-linux-gnu software floating point
15709 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15710 case to powerpc/powerpc32*.
15711 * sysdeps/unix/sysv/linux/configure: Regenerated.
15713 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15714 (_FPU_MASK_OM): Define as 0x04.
15715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15723 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15726 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15729 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15730 and setcontext_e500.
15732 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15734 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15736 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15738 * manual/threads.texi (Default Thread Attributes): Fix typo.
15740 2013-10-04 Will Newton <will.newton@linaro.org>
15742 * malloc/Makefile: Add tst-memalign.
15743 * malloc/tst-memalign.c: New file.
15745 * malloc/tst-posix_memalign.c: Add comments.
15746 (do_test): Add comments and call free on all potentially
15747 allocated pointers. Add space after cast.
15749 * malloc/tst-pvalloc.c: Add comments.
15750 (do_test): Add comments and call free on all potentially
15751 allocated pointers. Remove duplicate check for NULL pointer.
15752 Add space after cast.
15754 * malloc/tst-valloc.c: Add comments.
15755 (do_test): Add comments and call free on all potentially
15756 allocated pointers. Remove duplicate check for NULL pointer.
15757 Add space after cast.
15759 2013-10-04 Alan Modra <amodra@gmail.com>
15761 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15762 Use stdint types in rather than __attribute__((mode())).
15763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15765 2013-10-04 Alan Modra <amodra@gmail.com>
15767 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15768 Correct handling of unaligned relocs for little-endian.
15769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15771 2013-10-04 Alan Modra <amodra@gmail.com>
15773 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15774 * configure: Regenerate.
15775 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15776 * shlib-versions: Likewise.
15778 2013-10-04 Alan Modra <amodra@gmail.com>
15780 * string/tester.c (test_memrchr): Increment reported test cycle.
15782 2013-10-04 Alan Modra <amodra@gmail.com>
15784 * string/test-memcpy.c (do_one_test): When reporting errors, print
15785 string address and don't overrun end of string.
15787 2013-10-04 Alan Modra <amodra@gmail.com>
15789 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15790 insrdi. Make better use of reg selection to speed exit slightly.
15791 Schedule entry path a little better. Remove useless "are we done"
15792 checks on entry to main loop. Handle wrapping around zero address.
15793 Correct main loop count. Handle single left-over word from main
15794 loop inline rather than by using loop_small. Remove extra word
15795 case in loop_small caused by wrong loop count. Add little-endian
15797 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15800 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15801 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15802 support. Avoid rlwimi.
15803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15805 2013-10-04 Alan Modra <amodra@gmail.com>
15807 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15808 insrdi. Formatting.
15809 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15810 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15811 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15812 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15813 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15814 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15816 2013-10-04 Alan Modra <amodra@gmail.com>
15818 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15819 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15821 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15822 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15824 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15825 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15826 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15827 use of regs. Use power7 mtocrf. Tidy function tails.
15829 2013-10-04 Alan Modra <amodra@gmail.com>
15831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15832 Formatting. Consistently use rXXX register defines or rN defines.
15833 Use early exit labels that avoid restoring unused non-volatile regs.
15834 Make cr field use more consistent with rWORDn compares. Rename
15835 regs used as shift registers for unaligned loop, using rN defines
15836 for short lifetime/multiple use regs.
15837 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15839 addi 1,1,64 to pop stack frame. Simplify return value code.
15840 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15842 2013-10-04 Alan Modra <amodra@gmail.com>
15844 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15845 support. Correct typos, formatting. Optimize tail. Use insrdi
15846 rather than rlwimi.
15847 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15849 little-endian support. Correct typos.
15850 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15851 rather than rlwimi.
15852 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15853 in loop and entry code to keep "and." results.
15854 (strchr): Add little-endian support. Comment. Move cntlzd
15856 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15858 2013-10-04 Alan Modra <amodra@gmail.com>
15860 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15861 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15862 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15863 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15865 2013-10-04 Alan Modra <amodra@gmail.com>
15867 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15868 (rTMP): Define as r11.
15869 (strcmp): Add little-endian support. Optimise tail.
15870 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15871 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15872 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15874 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15878 2013-10-04 Alan Modra <amodra@gmail.com>
15880 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15881 little-endian support. Remove unnecessary "are we done" tests.
15882 Handle "s" wrapping around zero and extremely large "size".
15883 Correct main loop count. Handle single left-over word from main
15884 loop inline rather than by using small_loop. Correct comments.
15885 Delete "zero" tail, use "end_max" instead.
15886 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15888 2013-10-04 Alan Modra <amodra@gmail.com>
15890 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15891 support. Don't branch over align.
15892 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15893 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15894 support. Rearrange tmp reg use to suit. Comment.
15895 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15897 2013-10-04 Alan Modra <amodra@gmail.com>
15899 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15901 2013-10-04 Alan Modra <amodra@gmail.com>
15903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15904 conditional form of branch and link when obtaining pc.
15905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15907 2013-10-04 Alan Modra <amodra@gmail.com>
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15914 2013-10-04 Alan Modra <amodra@gmail.com>
15916 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15917 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15918 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15919 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15920 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15922 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15923 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15924 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15925 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15927 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15928 Alistair Popple <alistair@ozlabs.au.ibm.com>
15929 Alan Modra <amodra@gmail.com>
15932 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15933 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15934 _dl_hwcap access for little-endian.
15935 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15936 destroy vmx regs when saving unaligned.
15937 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15938 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15939 destroy vmx regs when saving unaligned.
15941 2013-10-04 Alan Modra <amodra@gmail.com>
15943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15944 Don't use a union to pack hi/low value.
15946 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15948 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15950 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15952 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15953 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15954 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15956 2013-10-04 Alan Modra <amodra@gmail.com>
15958 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15959 constants to usual value for .cst8 section, and remove redundant
15961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15962 constant for 0x1p52. Load little-endian words of double from
15963 correct stack offsets.
15965 2013-10-04 Alan Modra <amodra@gmail.com>
15967 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15968 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15969 words of double from correct stack offsets.
15970 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15971 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15972 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15973 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15975 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15976 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15977 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15978 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15979 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15980 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15981 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15982 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15983 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15984 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15985 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15986 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15988 2013-10-04 Alan Modra <amodra@gmail.com>
15990 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15991 64-bit int/double union.
15992 (_FPU_SETCW): Likewise.
15993 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15994 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15996 2013-10-04 Alan Modra <amodra@gmail.com>
15998 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15999 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16001 2013-10-04 Alan Modra <amodra@gmail.com>
16003 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16004 use vector int constants.
16005 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16007 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16009 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16010 array with long long.
16011 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16012 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16013 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16014 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16015 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16016 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16017 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16018 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16019 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16020 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16021 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16022 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16023 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16025 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16027 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16028 (__signbit): Likewise. Correct for little-endian.
16029 (__signbitl): Call __signbit.
16030 (lrint): Correct for little-endian.
16031 (lrintf): Call lrint.
16033 2013-10-04 Alan Modra <amodra@gmail.com>
16035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16036 union 32-bit int array member with 64-bit int array.
16037 (t515, tm256): Double rather than long double.
16038 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16040 2013-10-04 Alan Modra <amodra@gmail.com>
16042 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16044 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16045 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16046 version of math_ldbl.h.
16048 2013-10-04 Alan Modra <amodra@gmail.com>
16050 [BZ #15734], [BZ #15735]
16051 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16052 all uses of ieee875 long double macros and unions. Simplify test
16053 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16054 ldbl_extract_mantissa value for ix,iy exponents. Properly
16055 normalize after ldbl_extract_mantissa, and don't add hidden bit
16056 already handled. Don't treat low word of ieee854 mantissa like
16057 low word of IBM long double and mask off bit when testing for
16059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16060 all uses of ieee875 long double macros and unions. Simplify tests
16061 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16062 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16063 two1022, instead use their values. Recognise that tests for large
16064 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16065 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16066 Rewrite all uses of ieee875 long double macros and unions. Simplify
16067 test for 0.0L and nan. Correct negation.
16068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16069 ieee875 long double macros and unions. Correct output for large
16070 magnitude x. Correct absolute value calculation.
16071 (__erfcl): Likewise.
16072 * math/libm-test.inc: Add tests for errors discovered in IBM long
16073 double versions of fmodl, remainderl, erfl and erfcl.
16075 2013-10-04 Alan Modra <amodra@gmail.com>
16077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16078 all uses of ieee854 long double macros and unions. Simplify tests
16079 for long doubles that are fully specified by the high double.
16080 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16082 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16083 Remove dead code too.
16084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16085 (__ieee754_ynl): Likewise.
16086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16089 Remove dead code too.
16090 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16093 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16100 Comment on variable precision.
16101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16104 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16107 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16108 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16110 2013-10-04 Alan Modra <amodra@gmail.com>
16112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16114 all uses of ieee854 long double macros and unions.
16115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16128 Simplify sign and nan test too.
16129 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16134 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16144 2013-10-04 Alan Modra <amodra@gmail.com>
16146 * stdio-common/printf_size.c (__printf_size): Don't use
16147 union ieee854_long_double in fpnum union.
16148 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16149 signbit macro to retrieve sign from long double.
16150 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16151 retrieve sign from long double.
16152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16153 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16154 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16155 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16156 * math/test-misc.c (main): Don't use union ieee854_long_double.
16158 2013-10-04 Alan Modra <amodra@gmail.com>
16161 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16162 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16163 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16164 calculation. Remove unnecessary test for denormal exponent.
16165 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16166 Correct handling of denormals. Avoid undefined shift behaviour.
16167 Correct normalisation of low mantissa when low double is denormal.
16168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16169 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16170 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16171 Correct normalisation of low mantissa. Test for overflow of high
16172 mantissa and normalise.
16173 (ldbl_nearbyint): Use more readable constant for two52.
16174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16175 (__mpn_construct_long_double): Fix test for overflow of high
16176 mantissa and correct normalisation. Avoid undefined shift.
16178 2013-10-04 Alan Modra <amodra@gmail.com>
16180 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16181 (union ibm_extended_long_double): Define as an array of ieee754_double.
16182 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16183 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16184 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16185 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16187 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16189 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16194 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16196 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16197 page size instead of calling getpagesize.
16199 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16200 (LOCFILE_ALIGN_MASK): Likewise.
16201 (LOCFILE_ALIGN_UP): Likewise.
16202 (LOCFILE_ALIGNED_P): Likewise.
16203 * locale/programs/ld-collate.c (collate_output): Use the new
16204 macros instead of __alignof__ (int32_t).
16205 * locale/weight.h (findidx): Likewise.
16207 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16210 * manual/string.texi: Fix strncat and wcsncat.
16212 2013-10-03 Brooks Moses <bmoses@google.com>
16215 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16216 * Makerules: ...here, and adjust associated comments.
16218 2013-10-02 Will Newton <will.newton@linaro.org>
16220 * malloc/Makefile: Add tst-pvalloc.
16221 * malloc/tst-pvalloc.c: New file.
16223 2013-10-02 Will Newton <will.newton@linaro.org>
16225 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16226 improve test coverage.
16228 2013-10-02 Will Newton <will.newton@linaro.org>
16230 * malloc/Makefile: Add tst-posix_memalign.
16231 * malloc/tst-posix_memalign.c: New file.
16233 2013-10-01 Eric Blake <eblake@redhat.com>
16235 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16236 Use __THROWNL rather than __THROW on static functions.
16238 2013-09-30 Petr Machata <pmachata@redhat.com>
16240 * elf/elf.h (R_AARCH64_ABS16): New macro.
16241 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16242 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16243 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16244 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16245 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16246 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16247 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16248 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16249 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16250 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16251 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16252 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16253 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16254 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16255 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16256 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16257 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16258 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16259 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16260 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16261 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16262 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16263 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16264 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16265 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16266 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16267 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16268 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16269 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16270 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16271 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16272 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16273 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16274 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16275 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16276 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16277 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16278 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16279 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16280 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16281 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16282 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16283 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16284 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16285 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16286 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16287 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16288 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16289 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16290 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16291 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16292 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16293 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16294 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16295 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16296 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16297 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16298 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16299 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16300 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16301 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16302 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16303 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16304 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16305 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16306 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16307 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16308 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16309 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16310 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16311 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16312 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16313 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16314 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16315 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16316 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16317 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16318 (R_AARCH64_TLSDESC_LDR): Likewise.
16319 (R_AARCH64_TLSDESC_ADD): Likewise.
16320 (R_AARCH64_TLSDESC_CALL): Likewise.
16322 2013-09-30 Andreas Schwab <schwab@suse.de>
16325 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16326 the nss database lookup.
16327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16330 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16332 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16334 2013-09-28 P. J. McDermott <pj@pehjota.net>
16336 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16337 ${Bash-specific parameter/pattern/string} parameter expansion.
16338 * sysdeps/unix/make-syscalls.sh: Likewise.
16340 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16342 * sysdeps/sh/stackguard-macros.h: New file.
16344 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16348 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16349 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16350 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16351 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16353 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16355 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16356 Fix thread ID register.
16358 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16360 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16361 [POSIX || UNIX98]: Require rather than permitting all symbols from
16363 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16364 element of struct sched_param.
16365 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16366 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16367 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16368 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16371 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16373 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16374 argument calculation.
16376 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16378 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16380 [POSIX] (pthread_attr_t): Do not require type.
16381 [POSIX] (pthread_cond_t): Likewise.
16382 [POSIX] (pthread_condattr_t): Likewise.
16383 [POSIX] (pthread_key_t): Likewise.
16384 [POSIX] (pthread_mutex_t): Likewise.
16385 [POSIX] (pthread_mutexattr_t): Likewise.
16386 [POSIX] (pthread_once_t): Likewise.
16387 [POSIX] (pthread_t): Likewise.
16388 [POSIX-based standards] (pthread_atfork): Expect function.
16390 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16391 Richard Sandiford <richard@codesourcery.com>
16393 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16394 (swap_endianness_p): New extern variable.
16395 (set_big_endian): New inline function.
16396 (maybe_swap_uint32): Likewise.
16397 (maybe_swap_uint32_array): Likewise.
16398 (maybe_swap_uint32_obstack): Likewise.
16399 * locale/programs/locfile.c: Include <stdbool.h>.
16400 (swap_endianness_p): New variable.
16401 (add_locale_uint32): Call maybe_swap_uint32.
16402 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16403 (write_locale_data): Call maybe_swap_uint32_array.
16404 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16406 (obstack_int32_grow_fast): Likewise.
16407 (output_weightwc): Call maybe_swap_uint32_obstack.
16408 (collate_output): Likewise.
16409 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16410 (OPT_LITTLE_ENDIAN): Likewise.
16411 (options): Add --little-endian and --big-endian options.
16412 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16413 * locale/programs/locarchive.c: Include "locfile.h".
16417 (create_archive): Use the new macros to access fields of
16418 structures directly mapped from or written to locale archives.
16419 (oldlocrecentcmp): Likewise.
16420 (enlarge_archive): Likewise.
16421 (insert_name): Likewise.
16422 (add_alias): Likewise.
16423 (add_locale): Likewise.
16424 (delete_locales_from_archive): Likewise.
16425 (show_archive_content): Likewise.
16426 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16429 2013-09-24 Roland McGrath <roland@hack.frob.com>
16431 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16432 http://www.gnu.org/doc/freemanuals.texi.
16433 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16435 2013-09-24 Will Newton <will.newton@linaro.org>
16437 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16440 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16442 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16445 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16447 * manual/threads.texi (POSIX Threads): Fix a typo.
16449 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16452 * string/tst-strcoll-overflow.c: New test case.
16453 * string/Makefile (xtests): Add tst-strcoll-overflow.
16454 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16455 cache if string sizes may cause integer overflow.
16458 * string/strcoll_l.c (coll_seq): New members rule, idx,
16459 save_idx and back_us.
16460 (get_next_seq_nocache): New function.
16461 (do_compare_nocache): New function.
16462 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16465 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16468 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16469 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16470 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16473 * elf/Makefile (tests): Add tst-ptrguard1.
16474 (tests-static): Add tst-ptrguard1-static.
16475 (tst-ptrguard1-ARGS): Define.
16476 (tst-ptrguard1-static-ARGS): Define.
16477 * elf/tst-ptrguard1.c: New file.
16478 * elf/tst-ptrguard1-static.c: New file.
16479 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16480 * sysdeps/i386/stackguard-macros.h: Likewise.
16481 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16482 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16483 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16484 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16485 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16486 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16488 2013-09-23 Hector Marco <hecmargi@upv.es>
16489 Ismael Ripoll <iripoll@disca.upv.es>
16490 Carlos O'Donell <carlos@redhat.com>
16493 * sysdeps/generic/stackguard-macros.h: Define
16494 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16495 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16496 Define __pointer_chk_guard_local.
16497 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16498 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16500 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16503 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16505 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16507 * include/string.h (__ffs): Declare as hidden.
16508 * string/ffs.c (__ffs): Define as hidden.
16509 * sysdeps/i386/ffs.c (__ffs): Likewise.
16510 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16511 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16512 * sysdeps/s390/ffs.c (__ffs): Likewise.
16513 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16515 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16517 * NEWS: Mention malloc probes.
16519 * malloc/arena.c (new_heap): New memory_heap_new probe.
16520 (grow_heap): New memory_heap_more probe.
16521 (shrink_heap): New memory_heap_less probe.
16522 (heap_trim): New memory_heap_free probe.
16523 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16524 (systrim): New memory_sbrk_less probe.
16525 * manual/probes.texi: Document them.
16527 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16528 * manual/probes.texi: Document it.
16530 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16531 (__libc_realloc): Add memory_realloc_retry probe.
16532 (__libc_memalign): Add memory_memalign_retry probe.
16533 (__libc_valloc): Add memory_valloc_retry probe.
16534 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16535 (__libc_calloc): Add memory_calloc_retry probe.
16536 * manual/probes.texi: Document them.
16538 * malloc/arena.c (get_free_list): Add probe
16539 memory_arena_reuse_free_list.
16540 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16541 and memory_arena_reuse.
16542 (arena_get2) [!PER_THREAD]: Likewise.
16543 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16544 memory_arena_reuse_realloc.
16545 * manual/probes.texi: Document them.
16547 * malloc/malloc.c (__libc_free): Add
16548 memory_mallopt_free_dyn_thresholds probe.
16549 (__libc_mallopt): Add multiple memory_mallopt probes.
16550 * manual/probes.texi: Document them.
16552 * malloc/malloc.c: Include stap-probe.h.
16553 (__libc_mallopt): Add memory_mallopt probe.
16554 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16555 * manual/probes.texi: New.
16556 * manual/Makefile (chapters): Add probes.
16557 * manual/threads.texi: Set next node.
16559 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16561 [BZ #15963, #13985]
16562 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16563 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16564 Add `Chinese' to `nan' entry name.
16566 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16568 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16569 (POLYNOMIAL): Likewise.
16570 (TAYLOR_SINCOS): Likewise.
16571 (TAYLOR_SLOW): Likewise.
16572 (__sin): Use TAYLOR_SINCOS.
16574 (slow): Use TAYLOR_SLOW.
16576 (bsloww): Likewise.
16577 (csloww): Likewise.
16579 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16581 * stdlib/strtod_l.c: Fix buffer overrun.
16583 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16585 * benchtests/Makefile (bench): Add sincos.
16586 * benchtests/bench-sincos.c: New file.
16588 * math/libm-test.inc (cos_test_data): New test inputs.
16589 (sin_test_data): Likewise.
16591 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16597 (sloww1): Likewise.
16598 (sloww2): Likewise.
16599 (bsloww1): Likewise.
16600 (bsloww2): Likewise.
16601 (cslow2): Likewise.
16602 (csloww1): Likewise.
16603 (csloww2): Likewise.
16605 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16614 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16616 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16617 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16618 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16619 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16620 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16621 * elf/cache.c (print_entry): Handle the new cache flags.
16623 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16624 Aldy Hernandez <aldyh@redhat.com>
16626 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16627 Change condition to [_SOFT_FLOAT].
16628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16640 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16643 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16646 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16648 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16649 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16650 (__longjmp): Use LOAD_GP to load saved GPRs.
16651 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16652 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16653 (__sigsetjmp): Use SAVE_GP to save GPRs.
16655 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16656 Do not append -msoft-float.
16657 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16659 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16661 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16663 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16666 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16667 (_FPU_GETCW): Use initial "__" on variable and field names but not
16668 on macro parameter name.
16669 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16670 parentheses around reference to macro parameter.
16672 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16674 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16676 (ctype_startup): Use uint32_t in cast and sizeof for
16679 2013-09-11 Jia Liu <proljc@gmail.com>
16681 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16683 [__FreeBSD__]: Likewise.
16685 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16688 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16689 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16690 (strchr): Remove __strchr_sse42 ifunc selection.
16691 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16692 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16694 2013-09-11 Will Newton <will.newton@linaro.org>
16696 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16697 parameter to RES. Remove hardcoded 1000 value.
16698 * benchtests/bench-skeleton.c (main): Pass RES parameter
16699 to TIMING_INIT and multiply result by 1000.
16701 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16705 2013-09-11 Andreas Schwab <schwab@suse.de>
16707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16709 (O_TMPFILE) [__USE_GNU]: Define.
16710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16713 2013-09-11 Will Newton <will.newton@linaro.org>
16716 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16719 2013-09-11 Will Newton <will.newton@linaro.org>
16722 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16725 2013-09-11 Will Newton <will.newton@linaro.org>
16728 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16731 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16733 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16734 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16739 2013-09-10 Allan McRae <allan@archlinux.org>
16742 * manual/arith.texi (Parsing of Floats): Clarify
16746 * manual/install.texi (Running make install): Mention
16748 * INSTALL: Regenerated.
16750 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16752 * csu/init-first.c (_init): Remove the !SHARED condition around
16753 FPU control word initialization.
16754 * elf/dl-support.c (_dl_fpu_control): New variable.
16755 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16756 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16757 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16758 * math/test-fpucw-static.c: New file.
16759 * math/test-fpucw-ieee.c: New file.
16760 * math/test-fpucw-ieee-static.c: New file.
16761 * math/Makefile (tests): Add `test-fpucw-ieee' and
16763 (tests-static): New variable.
16764 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16766 [($(build-shared),yes)]
16767 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16769 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16772 2013-09-09 Allan McRae <allan@archlinux.org>
16775 * manual/string.texi (Collation Functions): Fix typo in
16777 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16780 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16783 * libio/memstream.c (open_memstream): Fix memory leak.
16784 * libio/wmemstream.c (open_wmemstream): Likewise.
16787 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16789 2013-09-09 Will Newton <will.newton@linaro.org>
16791 * malloc/Makefile: Add tst-realloc to tests.
16792 * malloc/tst-realloc.c: New file.
16794 2013-09-09 Allan McRae <allan@archlinux.org>
16797 * COPYING: Update from GNU website to fix FSF address.
16798 * COPYING.LIB: Likewise.
16800 2013-09-06 David S. Miller <davem@davemloft.net>
16802 * po/zh_TW.po: Update Chinese (traditional) translation from
16803 translation project.
16805 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16806 Joseph Myers <joseph@codesourcery.com>
16808 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16810 (obstack_chunk_alloc): New macro.
16811 (obstack_chunk_free): Likewise.
16812 (record_offset): New function.
16813 (init_locale_data): Likewise.
16814 (align_locale_data): Likewise.
16815 (add_locale_empty): Likewise.
16816 (add_locale_raw_data): Likewise.
16817 (add_locale_raw_obstack): Likewise.
16818 (add_locale_string): Likewise.
16819 (add_locale_wstring): Likewise.
16820 (add_locale_uint32): Likewise.
16821 (add_locale_uint32_array): Likewise.
16822 (add_locale_char): Likewise.
16823 (start_locale_structure): Likewise.
16824 (end_locale_structure): Likewise.
16825 (start_locale_prelude): Likewise.
16826 (end_locale_prelude): Likewise.
16827 (write_locale_data): Take locale_file structure rather than an
16829 * locale/programs/locfile.h: Include "obstack.h".
16830 (struct locale_file): Change to store locale file contents instead
16832 (init_locale_data): New prototype.
16833 (align_locale_data): Likewise.
16834 (add_locale_empty): Likewise.
16835 (add_locale_raw_data): Likewise.
16836 (add_locale_raw_obstack): Likewise.
16837 (add_locale_string): Likewise.
16838 (add_locale_wstring): Likewise.
16839 (add_locale_uint32): Likewise.
16840 (add_locale_uint32_array): Likewise.
16841 (add_locale_char): Likewise.
16842 (start_locale_structure): Likewise.
16843 (end_locale_structure): Likewise.
16844 (start_locale_prelude): Likewise.
16845 (end_locale_prelude): Likewise.
16846 (write_locale_data): Update prototype.
16847 * locale/programs/3level.h (struct TABLE): Remove result field.
16848 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16849 Use new locale_file interface.
16850 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16851 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16852 * locale/programs/ld-address.c (address_output): Use new
16853 locale_file interface.
16854 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16856 (collate_finish): Don't call collseq_table_finalize.
16857 (collate_output): Use new locale_file interface.
16858 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16860 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16861 (TABLE): Move defines earlier in file.
16862 (ELEMENT): Likewise.
16863 (DEFAULT): Likewise.
16864 (wctrans_table_add): Move macro and inline function earlier in
16866 (struct wctype_table): Move type earlier in file.
16867 (add_locale_wctype_table): New static prototype.
16868 (struct locale_ctype_t): Use logical types instead of struct iovec
16869 pointers for members.
16870 (ctype_output): Use new locale_file interface.
16871 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16872 new locale_file interface.
16873 (allocate_arrays): Update for use of new locale_file interface.
16874 * locale/programs/ld-identification.c (identification_output): Use
16875 new locale_file interface.
16876 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16877 * locale/programs/ld-messages.c (messages_output): Likewise.
16878 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16879 * locale/programs/ld-name.c (name_output): Likewise.
16880 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16881 * locale/programs/ld-paper.c (paper_output): Likewise.
16882 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16883 * locale/programs/ld-time.c (time_output): Likewise.
16885 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16887 * benchtests/Makefile: Add memrchr benchmark.
16888 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16889 benchmark as memrchr.
16890 * benchtests/bench-memrchr-ifunc.c: New file.
16891 * benchtests/bench-memrchr.c: New file.
16893 2013-09-06 Will Newton <will.newton@linaro.org>
16895 * benchtests/Makefile (string-bench): Add memcpy.
16897 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16898 Cong Wang <amwang@redhat.com>
16901 * sysdeps/unix/sysv/linux/bits/in.h
16902 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16903 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16904 before __USE_KERNEL_IPV6_DEFS uses.
16905 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16907 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16908 sockaddr_in6, or ipv6_mreq.
16910 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16912 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16913 memory access for final bytes in some large inputs.
16914 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16916 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16918 * string/test-memrchr.c: New file.
16919 * string/test-memrchr-ifunc.c: New file.
16920 * string/Makefile: Add new memrchr testcase.
16922 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16924 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16925 fanotify_init returns EPERM.
16927 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16929 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16931 (top level): Treat second token from macro or constant entries for
16932 allowed headers as allowed.
16933 * include/complex.h: Condition internal declarations on
16935 * include/fenv.h: Condition include of <stdbool.h> and internal
16936 declarations on [!_ISOMAC].
16938 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16941 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16943 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16945 * configure.in (--enable-versioning): Remove configure option.
16946 (libc_cv_asm_symver_directive): Remove configure test.
16947 (libc_cv_ld_version_script_option): Likewise.
16948 (VERSIONING): Remove variable and AC_SUBST.
16949 (DO_VERSIONING): Remove AC_DEFINE.
16950 * configure: Regenerated.
16951 * config.h.in (DO_VERSIONING): Remove macro.
16952 * Makerules [$(versioning) = yes]: Change conditionals to
16953 [$(build-shared) = yes].
16954 * config.make.in (versioning): Remove variable.
16955 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16956 [$(build-shared) = yes].
16957 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16958 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16959 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16960 [$(build-shared) = yes].
16961 * extra-lib.mk [$(versioning) = yes]: Likewise.
16962 * hurd/Makefile [$(versioning) = yes]: Likewise.
16963 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16965 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16967 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16968 [SHARED && !NO_HIDDEN].
16969 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16971 [SHARED && DO_VERSIONING]: Likewise..
16972 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16973 [$(build-shared) = yes].
16974 * manual/install.texi (--disable-versioning): Remove
16976 * INSTALL: Regenerated.
16977 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16979 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16980 [$(build-shared) = yes].
16981 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16982 * sysdeps/i386/i686/multiarch/strstr-c.c
16983 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16984 [SHARED && !NO_HIDDEN].
16985 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16986 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16987 * sysdeps/powerpc/powerpc32/dl-machine.c
16988 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16989 * sysdeps/powerpc/powerpc32/sysdep.h
16990 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16991 to [SHARED && PIC && !NO_HIDDEN].
16992 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16993 conditional to [SHARED].
16995 2013-09-04 Will Newton <will.newton@linaro.org>
16997 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16998 * benchtests/bench-string.h: Include bench-timing.h instead
16999 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17000 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17001 call to HP_TIMING_DIFF_INIT.
17002 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17003 instead of hp-timing.h macros.
17004 * benchtests/bench-memchr.c: Likewise.
17005 * benchtests/bench-memcmp.c: Likewise.
17006 * benchtests/bench-memcpy.c: Likewise.
17007 * benchtests/bench-memmem.c: Likewise.
17008 * benchtests/bench-memmove.c: Likewise.
17009 * benchtests/bench-memset.c: Likewise.
17010 * benchtests/bench-rawmemchr.c: Likewise.
17011 * benchtests/bench-strcasecmp.c: Likewise.
17012 * benchtests/bench-strcasestr.c: Likewise.
17013 * benchtests/bench-strcat.c: Likewise.
17014 * benchtests/bench-strchr.c: Likewise.
17015 * benchtests/bench-strcmp.c: Likewise.
17016 * benchtests/bench-strcpy.c: Likewise.
17017 * benchtests/bench-strcpy_chk.c: Likewise.
17018 * benchtests/bench-strlen.c: Likewise.
17019 * benchtests/bench-strncasecmp.c: Likewise.
17020 * benchtests/bench-strncat.c: Likewise.
17021 * benchtests/bench-strncmp.c: Likewise.
17022 * benchtests/bench-strncpy.c: Likewise.
17023 * benchtests/bench-strnlen.c: Likewise.
17024 * benchtests/bench-strpbrk.c: Likewise.
17025 * benchtests/bench-strrchr.c: Likewise.
17026 * benchtests/bench-strspn.c: Likewise.
17027 * benchtests/bench-strstr.c: Likewise.
17029 2013-09-04 Will Newton <will.newton@linaro.org>
17031 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17033 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17036 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17037 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17038 * math/libm-test.inc (lgamma_test_data): Add more tests.
17039 * sysdeps/i386/fpu/libm-test-ulps: Update.
17040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17042 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17044 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17048 Add strcmp-sse2-unaligned
17049 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17051 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17053 * Versions.def (libc): Add GLIBC_2.19.
17055 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17057 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17058 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17060 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17063 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17064 intermediate calculations in recurrence.
17065 (__ieee754_ynf): Likewise.
17066 * math/libm-test.inc (jn_test_data): Do not allow spurious
17067 underflow exception. Add more tests.
17068 (yn_test_data): Add more tests.
17069 * sysdeps/i386/fpu/libm-test-ulps: Update.
17070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17072 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17074 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17076 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17078 * csu/init-first.c: Fix then/than typos.
17079 * locale/programs/ld-collate.c: Likewise.
17080 * locale/programs/linereader.h: Likewise.
17081 * manual/charset.texi: Likewise.
17082 * manual/filesys.texi: Likewise.
17083 * manual/stdio.texi: Likewise.
17084 * manual/string.texi: Likewise.
17085 * stdlib/fmtmsg.c: Likewise.
17086 * sysdeps/i386/stpncpy.S: Likewise.
17087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17088 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17089 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17090 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17092 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17094 * elf/dl-open.c: Fix typos.
17095 * iconvdata/gbbig5.c: Likewise.
17096 * iconvdata/iso-2022-jp.c: Likewise.
17097 * iconv/gconv_int.h: Likewise.
17098 * iconv/loop.c: Likewise.
17099 * nis/rpcsvc/nis.h: Likewise.
17100 * resolv/ns_name.c: Likewise.
17101 * stdio-common/vfscanf.c: Likewise.
17102 * streams/stropts.h: Likewise.
17103 * sunrpc/rpc_thread.c: Likewise.
17104 * sysdeps/i386/strpbrk.S: Likewise.
17105 * sysdeps/ieee754/k_standard.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17108 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17109 * sysdeps/mach/hurd/profil.c: Likewise.
17110 * sysdeps/s390/dl-procinfo.h: Likewise.
17111 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17112 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17113 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17114 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17117 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17119 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17122 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17124 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17125 aix specific files.
17126 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17127 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17128 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17130 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17131 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17132 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17133 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17135 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17136 Roland McGrath <roland@hack.frob.com>
17138 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17139 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17141 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17143 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17144 __executable_start symbol instead of _start.
17146 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17148 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17149 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17151 * sysdeps/gnu/ldsodefs.h: ... this new file.
17153 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17154 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17155 instead of ELFOSABI_LINUX.
17157 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17158 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17159 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17160 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17162 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17163 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17164 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17166 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17167 (ibm_extended_long_double): Add ieee_nan member.
17168 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17169 (do_test): New function.
17171 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17173 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17174 functions, renamed from truncdfsf_test, trunctfsf_test,
17176 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17178 (do_test): Run all these.
17180 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17182 * argp/argp-help.c: Fix typos.
17183 * argp/argp-parse.c: Likewise.
17184 * debug/backtracesyms.c: Likewise.
17185 * elf/elf.h: Likewise.
17186 * malloc/malloc.c: Likewise.
17187 * nis/nis_print.c: Likewise.
17188 * resolv/res_comp.c: Likewise.
17189 * stdlib/stdlib.h: Likewise.
17190 * sunrpc/clnt_tcp.c: Likewise.
17191 * sunrpc/clnt_udp.c: Likewise.
17192 * sunrpc/clnt_unix.c: Likewise.
17193 * sysdeps/unix/bsd/ptsname.c: Likewise.
17194 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17202 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17204 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17206 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17209 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17212 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17213 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17214 ($(objpfx)bug-dl-leaf): New rule.
17215 ($(objpfx)bug-dl-leaf.so): Likewise.
17216 ($(objpfx)bug-dl-leaf.out): Likewise.
17217 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17218 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17219 * dlfcn/bug-dl-leaf.c: New test.
17220 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17221 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17222 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17223 (dlclose): Likewise.
17224 (dlmopen): Likewise.
17226 2013-08-27 Roland McGrath <roland@hack.frob.com>
17228 * include/netdb.h [!_ISOMAC]:
17229 Don't include <tls.h>.
17230 (h_errno, __libc_h_errno): Move declaration and macros out of
17233 * include/resolv.h [_RESOLV_H_]:
17234 Don't include <tls.h>.
17235 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17236 * resolv/res_libc.c: Don't include <tls.h>.
17237 (_res): Use __attribute__ ((nocommon)) in place of
17238 __attribute__ ((section (".bss"))).
17240 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17241 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17243 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17245 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17246 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17248 * resolv/res_mkquery.c: Include <sys/time.h>.
17250 * inet/ifreq.c: Moved to ...
17251 * sysdeps/unix/ifreq.c: ... here.
17252 * inet/ifreq.c: New file, true stub version.
17254 * socket/sa_len.c: New file.
17255 * socket/Makefile (aux): Add it.
17256 * sysdeps/unix/sysv/linux/Makefile
17257 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17258 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17259 and #include <socket/sa_len.c>.
17260 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17261 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17263 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17264 * bits/socket.h: ... here.
17266 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17267 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17268 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17270 2013-08-27 Andreas Schwab <schwab@suse.de>
17273 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17274 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17275 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17276 * string/test-strcasecmp.c (test_main): Run tests in several
17278 * string/test-strncasecmp.c (test_main): Likewise.
17280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17281 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17282 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17284 (__strncasecmp_ssse3) [PIC]: Likewise.
17286 2013-08-26 Roland McGrath <roland@hack.frob.com>
17288 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17290 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17291 instead of explicitly declaring xdecrypt.
17292 * nis/nss_nis/nis-publickey.c: Likewise.
17294 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17297 * nscd/aicache.c: Include res_hconf.h.
17298 (addhstaiX): Initialize res_hconf.
17300 2013-08-26 Andreas Schwab <schwab@suse.de>
17302 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17303 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17305 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17307 * nscd/aicache.c (addhstaiX): Fix indentation.
17309 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17311 * configure.ac: Quote $build_pt_chown test.
17312 * configure: Regenerated.
17314 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17317 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17318 * math/s_cexpf.c (__cexpf): Likewise.
17319 * math/s_cexpl.c (__cexpl): Likewise.
17320 * math/libm-test.inc (cexp_test_data): Correct expected return
17321 value for NaN + i0. Add another test.
17323 2013-08-22 David S. Miller <davem@davemloft.net>
17325 * po/ca.po: Update Catalan translation from translation project.
17326 * po/uk.po: Add Ukrainian translations from translation project.
17328 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17331 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17332 is infinite, not alongside NaN test.
17333 * math/s_fdimf.c (__fdimf): Likewise.
17334 * math/s_fdiml.c (__fdiml): Likewise.
17335 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17336 errno is unchanged.
17338 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17340 * argp/argp-help.c: Fix typos.
17341 * crypt/speeds.c: Likewise.
17342 * csu/check_fds.c: Likewise.
17343 * elf/dl-load.c: Likewise.
17344 * elf/dl-open.c: Likewise.
17345 * elf/reldep3.c: Likewise.
17346 * elf/reldep.c: Likewise.
17347 * elf/sprof.c: Likewise.
17348 * iconv/iconv_charmap.c: Likewise.
17349 * iconv/skeleton.c: Likewise.
17350 * iconv/strtab.c: Likewise.
17351 * io/lockf64.c: Likewise.
17352 * libio/libioP.h: Likewise.
17353 * resolv/gai_notify.c: Likewise.
17354 * resolv/ns_name.c: Likewise.
17355 * resolv/ns_samedomain.c: Likewise.
17356 * resolv/res_send.c: Likewise.
17357 * stdlib/random.c: Likewise.
17358 * sunrpc/rpc/xdr.h: Likewise.
17359 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17360 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17361 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17362 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17366 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17367 * sysdeps/mach/hurd/check_fds.c: Likewise.
17368 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17372 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17373 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17374 * sysdeps/pthread/aio_notify.c: Likewise.
17375 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17376 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17377 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17379 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17381 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17383 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17384 version if bit_Slow_SSE4_2 is set.
17385 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17388 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17391 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17392 trampoline stack frame information.
17393 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17395 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17396 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17397 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17398 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17399 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17400 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17402 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17403 interrupting a syscall and set with option SA_SIGINFO.
17405 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17408 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17409 argument is infinite.
17410 * math/s_cprojf.c (__cprojf): Likewise.
17411 * math/s_cprojl.c (__cprojl): Likewise.
17412 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17413 * math/libm-test.inc (cproj_test_data): Add more tests.
17415 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17417 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17418 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17419 size. Use __ffs to determine corresponding shift.
17421 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17422 Roland McGrath <roland@hack.frob.com>
17424 * Makefile (INSTALL): Remove trailing blank lines from output of
17427 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17429 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17430 Align 32 bit compat elf_greg to 8 bytes.
17432 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17434 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17436 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17438 * string/strcoll_l.c (coll_seq): New structure.
17439 (get_next_seq_cached): New function.
17440 (get_next_seq): New function.
17441 (do_compare): New function.
17442 (STRCOLL): Use GNU style definition. Simplify implementation
17443 by using get_next_seq, get_next_seq_cached and do_compare.
17445 2013-08-16 Florian Weimer <fweimer@redhat.com>
17449 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17451 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17453 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17454 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17455 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17457 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17458 GETDENTS_64BIT_ALIGNED.
17459 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17460 * manual/filesys.texi (Reading/Closing Directory): Document
17461 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17463 * manual/conf.texi (Limits for Files): Add portability note to
17464 NAME_MAX, PATH_MAX.
17465 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17467 2013-08-13 Andreas Schwab <schwab@suse.de>
17470 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17472 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17473 LDBL_MAX_EXP >= 16384]: Add tests for it.
17475 2013-08-12 David S. Miller <davem@davemloft.net>
17477 * version.h (RELEASE): Set to "development".
17478 (VERSION): Set to "2.18.90".
17479 * NEWS: Add 2.19 section.
17481 2013-08-03 David S. Miller <davem@davemloft.net>
17483 * po/ko.po: Update Korean translation from translation project.
17485 2013-08-01 David S. Miller <davem@davemloft.net>
17487 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17488 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17491 2013-07-30 David S. Miller <davem@davemloft.net>
17493 * po/fr.po: Update French translation from translation project.
17495 2013-07-28 David S. Miller <davem@davemloft.net>
17497 * po/cs.po: Update Czech translation from translation project.
17499 * po/sv.po: Update Swedish translation from translation project.
17501 2013-07-27 David S. Miller <davem@davemloft.net>
17503 * po/eo.po: Update Esperanto translation from translation project.
17505 * po/vi.po: Update Vietnamese translation from translation project.
17507 * po/de.po: Update German translation from translation project.
17509 2013-07-26 David S. Miller <davem@davemloft.net>
17511 * po/bg.po: Update Bulgarian translation from translation project.
17513 * po/nl.po: Update Dutch translation from translation project.
17514 * po/pl.po: Update Polish translation from translation project.
17515 * po/ru.po: Update Russian translation from translation project.
17517 2013-07-24 David S. Miller <davem@davemloft.net>
17519 * po/libc.pot: Update.
17521 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17523 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17524 variable page size.
17525 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17526 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17527 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17529 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17531 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17533 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17534 Andreas Schwab <schwab@suse.de>
17535 Roland McGrath <roland@hack.frob.com>
17536 Joseph Myers <joseph@codesourcery.com>
17537 Carlos O'Donell <carlos@redhat.com>
17540 * config.h.in: Define HAVE_PT_CHOWN.
17541 * config.make.in (build-pt-chown): New variable.
17542 * configure.in (--enable-pt_chown): New configure option.
17543 * configure: Regenerate.
17544 * login/Makefile: Include Makeconfig. Build pt_chown only if
17545 build-pt-chown is enabled.
17546 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17547 pt_chown to fix pty ownership.
17548 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17550 * manual/install.texi (Configuring and compiling): Mention
17551 --enable-pt_chown. Add @findex for grantpt.
17552 * INSTALL: Regenerate.
17554 2013-07-20 David S. Miller <davem@davemloft.net>
17556 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17557 difference between 32-bit and 64-bit.
17559 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17562 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17563 Avoid system header dependency with -ffreestanding.
17564 ($(objpfx)bits/syscall%d): Likewise.
17566 2013-07-13 David S. Miller <davem@davemloft.net>
17568 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17569 underflows from atanl/atan2l due to bug 15319.
17570 (casinh_test_data): Likewise.
17572 2013-07-07 David S. Miller <davem@davemloft.net>
17574 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17576 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17578 * sysdeps/i386/fpu/libm-test-ulps: Update.
17579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17581 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17583 * configure.in (--enable-lock-elision): Fix message text.
17584 * INSTALL: Regenerate.
17585 * configure: Regenerate.
17587 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17591 2013-07-03 Andreas Jaeger <aj@suse.de>
17593 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17595 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17596 (ptrace_peeksiginfo_args): Add.
17597 (__ptrace_peeksiginfo_flags): Add.
17598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17602 2013-07-03 Allan McRae <allan@archlinux.org>
17604 * sysdeps/i386/fpu/libm-test-ulps: Update.
17606 2013-07-02 David S. Miller <davem@davemloft.net>
17608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17610 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17614 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17616 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17619 2013-07-02 Andi Kleen <ak@linux.intel.com>
17621 * config.h.in (ENABLE_LOCK_ELISION): Add.
17622 * configure.in (--enable-lock-elision): Add option.
17623 * manual/install.texi: Document --enable lock elision.
17624 * configure: Regenerate
17625 * INSTALL: Regenerate.
17627 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17629 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17630 SSE4.2 strcasecmp for libc.a.
17631 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17633 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17636 * soft-fp/op-common.h (_FP_FMA): New macro.
17637 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17638 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17639 (_FP_MUL_MEAT_1_imm): ... here.
17640 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17641 (_FP_MUL_MEAT_1_wide): ... here.
17642 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17643 (_FP_MUL_MEAT_1_hard): ... here.
17644 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17645 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17646 (_FP_MUL_MEAT_2_wide): ... here.
17647 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17648 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17649 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17650 (_FP_MUL_MEAT_2_gmp): ... here.
17651 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17652 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17653 (_FP_MUL_MEAT_4_wide): ... here.
17654 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17655 (_FP_MUL_MEAT_4_gmp): ... here.
17656 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17657 (_FP_WFRACBITS_DW_S): Likewise.
17658 (_FP_WFRACXBITS_DW_S): Likewise.
17659 (_FP_HIGHBIT_DW_S): Likewise.
17660 (FP_FMA_S): Likewise.
17661 (_FP_FRAC_HIGH_DW_S): Likewise.
17662 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17663 (_FP_WFRACBITS_DW_D): Likewise.
17664 (_FP_WFRACXBITS_DW_D): Likewise.
17665 (_FP_HIGHBIT_DW_D): Likewise.
17666 (FP_FMA_D): Likewise.
17667 (_FP_FRAC_HIGH_DW_D): Likewise.
17668 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17669 (_FP_WFRACBITS_DW_E): Likewise.
17670 (_FP_WFRACXBITS_DW_E): Likewise.
17671 (_FP_HIGHBIT_DW_E): Likewise.
17672 (FP_FMA_E): Likewise.
17673 (_FP_FRAC_HIGH_DW_E): Likewise.
17674 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17675 (_FP_WFRACBITS_DW_Q): Likewise.
17676 (_FP_WFRACXBITS_DW_Q): Likewise.
17677 (_FP_HIGHBIT_DW_Q): Likewise.
17678 (FP_FMA_Q): Likewise.
17679 (_FP_FRAC_HIGH_DW_Q): Likewise.
17680 * soft-fp/fmasf4.c: New file.
17681 * soft-fp/fmadf4.c: Likewise.
17682 * soft-fp/fmatf4.c: Likewise.
17684 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17687 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17691 (index_Slow_SSE4_2): Likewise.
17692 (index_Prefer_PMINUB_for_stringop): Likewise.
17693 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17694 bit_Slow_SSE4_2 is set.
17695 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17696 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17698 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17700 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17701 rtld_global._dl_hwcap2.
17702 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17704 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17705 POWER8 feature descriptions defined in _dl_hwcap2.
17706 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17707 string handling for POWER8 feature bits.
17708 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17709 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17710 _dl_powerpc_cap_flags.
17711 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17712 * sysdeps/powerpc/rtld-global-offsets.sym
17713 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17714 _dl_hwcap2 in the rtld_global_ro structure.
17716 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17718 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17719 hardware capabilities in support of AT_HWCAP2.
17720 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17721 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17723 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17724 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17725 explicitly the unknown a_type display mechanism is used.
17726 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17727 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17729 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17730 to macro prototype for AT_HWCAP2 support.
17731 * sysdeps/i386/dl-procinfo.h: Likewise.
17732 * sysdeps/s390/dl-procinfo.h: Likewise.
17733 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17734 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17735 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17736 return -1 for unknown a_type display fallback.
17737 * sysdeps/sparc/dl-procinfo.h: Likewise.
17738 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17739 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17741 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17743 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17744 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17746 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17749 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17750 mprotect making __stack_prot writable.
17752 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17753 Joseph Myers <joseph@codesourcery.com>
17755 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17756 as being properly aligned.
17758 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17760 * dlfcn/modstatic5.c: New file.
17761 * dlfcn/tststatic5.c: New file.
17762 * dlfcn/Makefile (tests): Add tststatic5.
17763 (tests-static): Likewise.
17764 (modules-names): Add modstatic5.
17765 (tststatic5-ENV): New variable.
17766 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17769 * elf/dl-support.c (_dl_main_map): New variable.
17770 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17771 (_dl_nns, _dl_load_adds): Set to 1.
17772 (_dl_initial_searchlist): Refer to _dl_main_map.
17773 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17774 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17775 call to _dl_get_origin.
17776 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17778 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17779 * dlfcn/modstatic3.c: New file.
17780 * dlfcn/tststatic3.c: New file.
17781 * dlfcn/tststatic4.c: New file.
17782 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17783 (tests-static): Likewise.
17784 (modules-names): Add modstatic3.
17785 (tststatic3-ENV, tststatic4-ENV): New variables.
17786 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17787 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17789 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17791 * configure.in (CC): Require GCC version 4.4 or later.
17792 * configure: Regenerated.
17793 * manual/install.texi (Tools for Compilation): Update GCC version
17795 * INSTALL: Regenerated.
17797 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17800 * string/test-memcmp.c (check2): New.
17801 (main): Call check2.
17803 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17805 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17808 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17810 (dl_open_worker) [!SHARED]: ... here.
17812 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17814 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17816 2013-06-25 Richard Henderson <rth@redhat.com>
17818 * locale/programs/locarchive.c: Include <libc-internal.h>
17820 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17822 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17823 trailing whitespace removed.
17825 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17828 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17829 * locale/programs/locarchive.c: Include libc-mmap.h.
17830 (prepare_address_space): Take two new outputs (the mmap base and len).
17831 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17833 (create_archive): Declare new mmap base and len values for
17834 prepare_address_space, and store the result in ah.
17835 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17836 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17837 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17838 Declare new mmap base and len values for
17839 prepare_address_space, and store the result in new_ah.
17840 (open_archive): Declare new mmap base and len values for
17841 prepare_address_space, and store the result in ah.
17842 (close_archive): If ah->mmap_base is not NULL, use that and
17843 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17844 * sysdeps/generic/libc-mmap.h: New file.
17846 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17848 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17849 (ALIGN_UP): Likewise.
17850 (PTR_ALIGN_DOWN): Likewise.
17851 (PTR_ALIGN_UP): Likewise.
17853 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17855 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17856 entry mapped to PPC_PLATFORM_POWER8.
17857 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17859 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17860 (_dl_string_platform): Add case for exporting platform position for
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17863 search path to sysdeps/powerpc/powerpc32/power8 directory.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17865 search path to sysdeps/powerpc/powerpc64/power8 directory.
17866 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17867 power7 directories.
17868 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17869 power7 directories.
17871 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17873 * INSTALL: Regenerate.
17875 * nscd/connections.c (nscd_init): Fix comment.
17877 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17879 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17882 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17883 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17885 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17887 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17889 (DL_DST_REQ_STATIC): Remove macro.
17891 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17894 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17895 with a shift of 0 bits.
17897 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17899 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17902 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17905 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17907 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17909 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17910 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17911 accepts -fno-tree-loop-distribute-patterns.
17912 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17913 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17915 * string/memset.c (memset): Likewise.
17916 * string/test-memmove.c (simple_memmove): Disable loop transformation
17918 * string/test-memset.c (simple_memset): Likewise.
17919 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17920 * benchtests/bench-memset.c (simple_memset): Likewise.
17921 * configure: Regenerated.
17923 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17925 * math/test-misc.c (main): Ignore fesetround failure when failures
17926 of subsequent rounding tests would be ignored.
17929 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17930 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17931 * math/fegetenv.c (__fegetenv): Return 0.
17932 * math/fegetexcept.c (fegetexcept): Return 0.
17933 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17935 * math/feholdexcpt.c (feholdexcept): Return 0.
17936 * math/fesetenv.c (__fesetenv): Return 0.
17937 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17938 argument FE_TONEAREST.
17939 * math/feupdateenv.c (__feupdateenv): Return 0.
17940 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17942 2013-06-18 Roland McGrath <roland@hack.frob.com>
17944 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17945 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17946 ($(objpfx)rtld-%.os rules): Use them.
17948 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17950 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17953 2013-06-17 Roland McGrath <roland@hack.frob.com>
17955 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17956 length of target pattern, then descending length of dependency pattern.
17957 * configure.in (AWK): Require gawk 3.1.2 or newer.
17958 * manual/install.texi (Tools for Compilation): Say that we do.
17959 * configure: Regenerated.
17961 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17962 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17963 * scripts/sysd-rules.awk: ... this new script.
17964 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17965 than a glob-style pattern.
17967 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17969 * math/test-misc.c (main): Do not treat incorrectly rounded
17970 conversions as failure unless ROUNDING_TESTS passes.
17972 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17975 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17976 restore exception state around main square root computation, then
17977 check for inexactness explicitly.
17979 * math/libm-test.inc (fma_test_data): Add another test.
17981 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17983 * manual/threads.texi (Non-POSIX Extensions): New document
17984 node. Document pthread_getattr_default_np and
17985 pthread_setattr_default_np.
17987 * Versions.def (libpthread): Add GLIBC_2.18.
17988 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17997 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18008 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18011 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18013 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18014 H.J. Lu <hjl.tools@gmail.com>
18017 * sysdeps/x86_64/rtld-memset.c: Remove file.
18018 * sysdeps/x86_64/rtld-memset.S: New file.
18020 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18022 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18023 (test_in_one_mode): Take arguments for whether the rounding mode
18024 is supported for each floating-point type.
18025 (do_test): Pass new arguments to test_in_one_mode using
18028 2013-06-13 Roland McGrath <roland@hack.frob.com>
18030 * posix/tst-waitid.c (do_test): Distinguish different instances of
18031 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18032 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18033 before entering the kernel for waitpid.
18035 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18037 * NEWS: Fix note on clock function precision. Text by Roland
18040 2013-06-13 Roland McGrath <roland@hack.frob.com>
18042 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18043 it into place only when and if the sanity check passes.
18045 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18047 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18048 output for whether conversion result is exact. Take argument
18049 indicating whether type is IBM long double.
18050 (round_for_all): Change need_exact field to ibm_ld.
18051 * stdlib/tst-strtod-round.c (struct exactness): New type.
18052 (struct test): Change bool ld_ok field to struct exactness exact.
18053 (TEST): Update all definitions for change to field.
18054 (tests): Regenerate array contents.
18055 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18056 field value. Check for IBM long double here.
18057 (do_test): Update calls to test_in_one_mode.
18059 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18062 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18063 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18065 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18068 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18069 generated by the compiler on loop optimizations.
18070 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18071 general definitions.
18073 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18075 * math/bug-nextafter.c: Include <math-tests.h>.
18076 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18078 * math/bug-nexttoward.c: Include <math-tests.h>.
18079 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18081 * math/test-misc.c: Include <math-tests.h>.
18082 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18085 2013-06-12 Andreas Jaeger <aj@suse.de>
18087 * po/ia.po: Update Interlingua translation from translation
18090 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18092 * include/fenv.h: Include stdbool.h.
18093 (struct rm_ctx): New structure.
18094 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18096 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18097 (SET_RESTORE_ROUNDF): Likewise.
18098 (SET_RESTORE_ROUNDL): Likewise.
18099 (SET_RESTORE_ROUND_NOEX): Likewise.
18100 (SET_RESTORE_ROUND_NOEXF): Likewise.
18101 (SET_RESTORE_ROUND_NOEXL): Likewise.
18102 (SET_RESTORE_ROUND_53BIT): Likewise.
18103 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18104 (libc_feresetround_noexf_ctx): Likewise.
18105 (libc_feresetround_noexl_ctx): Likewise.
18106 (libc_feholdsetround_53bit_ctx): Likewise.
18107 (libc_feresetround_53bit_ctx): Likewise.
18108 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18109 (libc_feholdexcept_setround_sse_ctx): New function.
18110 (libc_fesetenv_sse_ctx): Likewise.
18111 (libc_feupdateenv_sse_ctx): Likewise.
18112 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18113 (libc_feholdexcept_setround_387_ctx): Likewise.
18114 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18115 (libc_feholdsetround_387_prec_ctx): Likewise.
18116 (libc_feholdsetround_387_ctx): Likewise.
18117 (libc_feholdsetround_387_53bit_ctx): Likewise.
18118 (libc_feholdsetround_sse_ctx): Likewise.
18119 (libc_feresetround_sse_ctx): Likewise.
18120 (libc_feresetround_387_ctx): Likewise.
18121 (libc_feupdateenv_387_ctx): Likewise.
18122 (libc_feholdexcept_setroundf_ctx): Define macro.
18123 (libc_fesetenvf_ctx): Likewise.
18124 (libc_feupdateenvf_ctx): Likewise.
18125 (libc_feholdsetroundf_ctx): Likewise.
18126 (libc_feresetroundf_ctx): Likewise.
18127 (libc_feholdexcept_setround_ctx): Likewise.
18128 (libc_fesetenv_ctx): Likewise.
18129 (libc_feupdateenv_ctx): Likewise.
18130 (libc_feholdsetround_ctx): Likewise.
18131 (libc_feresetround_ctx): Likewise.
18132 (libc_feholdexcept_setroundl_ctx): Likewise.
18133 (libc_feupdateenvl_ctx): Likewise.
18134 (libc_feholdsetroundl_ctx): Likewise.
18135 (libc_feresetroundl_ctx): Likewise.
18136 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18137 (libc_feresetround_53bit_ctx): Likewise.
18139 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18141 * locale/iso-639.def: Convert to UTF-8.
18143 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18145 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18146 (EXCEPTION_TESTS_double): Likewise.
18147 (EXCEPTION_TESTS_long_double): Likewise.
18148 (EXCEPTION_TESTS): Likewise.
18149 * math/libm-test.inc (test_exceptions): Only test exceptions if
18150 EXCEPTION_TESTS (FLOAT).
18152 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * benchtests/Makefile (string-bench): Add strcpy_chk and
18156 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18157 * benchtests/bench-stpcpy_chk.c: New file.
18158 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18159 * benchtests/bench-strcpy_chk.c: New file.
18160 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18162 (do_test): Likewise.
18164 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18166 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18167 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18168 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18169 with tabs where appropriate.
18170 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18172 [PPC_PLATFORM_PPC440]: Likewise.
18173 [PPC_PLATFORM_PPC464]: Likewise.
18174 [PPC_PLATFORM_PPC476]: Likewise.
18175 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18176 ppc464, and ppc476 platform strings merging from ports/
18179 2013-06-11 Andreas Schwab <schwab@suse.de>
18182 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18183 (from_ucs4_idx): Regenerate.
18184 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18185 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18186 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18187 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18188 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18189 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18190 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18191 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18192 from FROM_LOOP and TO_LOOP specific macros.
18193 (BODY): Handle combining characters.
18194 * iconvdata/BIG5HKSCS.irreversible: Update.
18195 * iconvdata/BIG5HKSCS.precomposed: New file.
18196 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18198 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18200 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18202 * include/sys/time.h: Fix indentation and add copyright header.
18204 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18205 (do_test): Likewise.
18206 * string/test-memchr.c (do_one_test): Likewise.
18207 (do_test): Likewise.
18208 * string/test-memcmp.c (do_one_test): Likewise.
18209 (do_test): Likewise.
18210 * string/test-memcpy.c (do_one_test): Likewise.
18211 (do_test): Likewise.
18212 * string/test-memmem.c (do_one_test): Likewise.
18213 (do_test): Likewise.
18214 (do_random_tests): Likewise.
18215 * string/test-memmove.c (do_one_test): Likewise.
18216 (do_test): Likewise.
18217 * string/test-memset.c (do_one_test): Likewise.
18218 (do_test): Likewise.
18219 * string/test-rawmemchr.c (do_one_test): Likewise.
18220 (do_test): Likewise.
18221 * string/test-strcasecmp.c (do_one_test): Likewise.
18222 (do_test): Likewise.
18223 * string/test-strcasestr.c (do_one_test): Likewise.
18224 (do_test): Likewise.
18225 * string/test-strcat.c (do_one_test): Likewise.
18226 (do_test): Likewise.
18227 * string/test-strchr.c (do_one_test): Likewise.
18228 (do_test): Likewise.
18229 * string/test-strcmp.c (do_one_test): Likewise.
18230 (do_test): Likewise.
18231 * string/test-strcpy.c (do_one_test): Likewise.
18232 (do_test): Likewise.
18233 * string/test-string.h: Likewise.
18234 (test_init): Likewise.
18235 * string/test-strlen.c (do_one_test): Likewise.
18236 (do_test): Likewise.
18237 * string/test-strncasecmp.c (do_one_test): Likewise.
18238 (do_test): Likewise.
18239 * string/test-strncat.c (do_one_test): Likewise.
18240 (do_test): Likewise.
18241 * string/test-strncmp.c (do_one_test): Likewise.
18242 (do_test_limit): Likewise.
18243 (do_test): Likewise.
18244 * string/test-strncpy.c (do_one_test): Likewise.
18245 (do_test): Likewise.
18246 * string/test-strnlen.c (do_one_test): Likewise.
18247 (do_test): Likewise.
18248 * string/test-strpbrk.c (do_one_test): Likewise.
18249 (do_test): Likewise.
18250 * string/test-strrchr.c (do_one_test): Likewise.
18251 (do_test): Likewise.
18252 * string/test-strspn.c (do_one_test): Likewise.
18253 (do_test): Likewise.
18254 * string/test-strstr.c (do_one_test): Likewise.
18255 (do_test): Likewise.
18257 * benchtests/Makefile (string-bench): Add string benchmarks.
18258 * benchtests/bench-bcopy-ifunc.c: New file.
18259 * benchtests/bench-bcopy.c: New file.
18260 * benchtests/bench-bzero-ifunc.c: New file.
18261 * benchtests/bench-bzero.c: New file.
18262 * benchtests/bench-memccpy-ifunc.c: New file.
18263 * benchtests/bench-memccpy.c: New file.
18264 * benchtests/bench-memchr-ifunc.c: New file.
18265 * benchtests/bench-memchr.c: New file.
18266 * benchtests/bench-memcmp-ifunc.c: New file.
18267 * benchtests/bench-memcmp.c: New file.
18268 * benchtests/bench-memmem-ifunc.c: New file.
18269 * benchtests/bench-memmem.c: New file.
18270 * benchtests/bench-memmove-ifunc.c: New file.
18271 * benchtests/bench-memmove.c: New file.
18272 * benchtests/bench-mempcpy-ifunc.c: New file.
18273 * benchtests/bench-mempcpy.c: New file.
18274 * benchtests/bench-memset-ifunc.c: New file.
18275 * benchtests/bench-memset.c: New file.
18276 * benchtests/bench-rawmemchr-ifunc.c: New file.
18277 * benchtests/bench-rawmemchr.c: New file.
18278 * benchtests/bench-stpcpy-ifunc.c: New file.
18279 * benchtests/bench-stpcpy.c: New file.
18280 * benchtests/bench-stpncpy-ifunc.c: New file.
18281 * benchtests/bench-stpncpy.c: New file.
18282 * benchtests/bench-strcasecmp-ifunc.c: New file.
18283 * benchtests/bench-strcasecmp.c: New file.
18284 * benchtests/bench-strcasestr-ifunc.c: New file.
18285 * benchtests/bench-strcasestr.c: New file.
18286 * benchtests/bench-strcat-ifunc.c: New file.
18287 * benchtests/bench-strcat.c: New file.
18288 * benchtests/bench-strchr-ifunc.c: New file.
18289 * benchtests/bench-strchr.c: New file.
18290 * benchtests/bench-strchrnul-ifunc.c: New file.
18291 * benchtests/bench-strchrnul.c: New file.
18292 * benchtests/bench-strcmp-ifunc.c: New file.
18293 * benchtests/bench-strcmp.c: New file.
18294 * benchtests/bench-strcpy-ifunc.c: New file.
18295 * benchtests/bench-strcpy.c: New file.
18296 * benchtests/bench-strcspn-ifunc.c: New file.
18297 * benchtests/bench-strcspn.c: New file.
18298 * benchtests/bench-strlen-ifunc.c: New file.
18299 * benchtests/bench-strlen.c: New file.
18300 * benchtests/bench-strncasecmp-ifunc.c: New file.
18301 * benchtests/bench-strncasecmp.c: New file.
18302 * benchtests/bench-strncat-ifunc.c: New file.
18303 * benchtests/bench-strncat.c: New file.
18304 * benchtests/bench-strncmp-ifunc.c: New file.
18305 * benchtests/bench-strncmp.c: New file.
18306 * benchtests/bench-strncpy-ifunc.c: New file.
18307 * benchtests/bench-strncpy.c: New file.
18308 * benchtests/bench-strnlen-ifunc.c: New file.
18309 * benchtests/bench-strnlen.c: New file.
18310 * benchtests/bench-strpbrk-ifunc.c: New file.
18311 * benchtests/bench-strpbrk.c: New file.
18312 * benchtests/bench-strrchr-ifunc.c: New file.
18313 * benchtests/bench-strrchr.c: New file.
18314 * benchtests/bench-strspn-ifunc.c: New file.
18315 * benchtests/bench-strspn.c: New file.
18316 * benchtests/bench-strstr-ifunc.c: New file.
18317 * benchtests/bench-strstr.c: New file.
18319 * benchtests/Makefile: Disable parallel execution of targets.
18320 (string-bench): Add memcpy.
18321 (benchset): New variable to store a list of benchmark sets.
18322 (bench-func): Renamed from bench.
18323 (bench-set): New target.
18324 (bench): Depend on bench-func and bench-set.
18325 * benchtests/README: Add section on benchmark sets.
18326 * benchtests/bench-memcpy-ifunc.c: New file.
18327 * benchtests/bench-memcpy.c: New file.
18328 * benchtests/bench-string.h: New file.
18330 2013-06-11 Andreas Schwab <schwab@suse.de>
18333 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18334 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18335 values in the triple.
18336 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18337 terminator in the group key.
18339 2013-06-11 Andreas Jaeger <aj@suse.de>
18341 * po/zh_TW.po: Update Chinese (traditional) translation from
18342 translation project.
18344 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18346 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18347 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18348 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18350 (clock_getcpuclockid): Likewise.
18351 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18352 Add weak_alias and libc_hidden_def.
18353 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18354 * rt/clock_gettime.c (clock_gettime): Rename to
18355 __clock_gettime. Add weak_alias and libc_hidden_def.
18356 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18357 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18358 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18359 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18360 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18362 * rt/clock_settime.c (clock_settime): Rename to
18363 __clock_settime. Add weak_alias and libc_hidden_def.
18364 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18366 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18368 * mach/err_boot.sub: Remove trailing whitespace.
18369 * mach/err_ipc.sub: Likewise.
18370 * mach/err_mach.sub: Likewise.
18372 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18373 (ROUNDING_TESTS_double): Likewise.
18374 (ROUNDING_TESTS_long_double): Likewise.
18375 (ROUNDING_TESTS): Likewise.
18376 * math/libm-test.inc: Include <math-tests.h>.
18377 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18378 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18379 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18380 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18382 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18384 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18387 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18389 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18390 otherwise empty TRANS lines.
18391 * sysdeps/gnu/errlist.c: Regenerated.
18393 * catgets/gencat.c (error_print): Use (void) in function
18395 * crypt/crypt_util.c (__init_des): Likewise.
18396 * crypt/speeds.c (Stop): Likewise.
18398 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18399 * inet/ruserpass.c (token): Likewise.
18400 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18401 * intl/localealias.c (extend_alias_table): Likewise.
18402 * intl/plural-exp.c (init_germanic_plural): Likewise.
18403 * libio/fcloseall.c (__fcloseall): Likewise.
18404 * libio/genops.c (_IO_flush_all): Likewise.
18405 (_IO_flush_all_linebuffered): Likewise.
18406 (_IO_cleanup): Likewise.
18407 (_IO_iter_begin): Likewise.
18408 (_IO_iter_end): Likewise.
18409 (_IO_list_lock): Likewise.
18410 (_IO_list_unlock): Likewise.
18411 (_IO_list_resetlock): Likewise.
18412 * libio/getchar.c (getchar): Likewise.
18413 * libio/getchar_u.c (getchar_unlocked): Likewise.
18414 * libio/getwchar.c (getwchar): Likewise.
18415 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18416 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18417 * login/getpt.c (__getpt): Likewise.
18418 * login/tst-utmp.c (main): Likewise.
18419 * malloc/hooks.c (__malloc_check_init): Likewise.
18420 * malloc/malloc.c (__malloc_stats): Likewise.
18421 * malloc/mtrace.c (tr_break): Likewise.
18422 (mtrace): Likewise.
18423 (muntrace): Likewise.
18424 * misc/fstab.c (endfsent): Likewise.
18425 * misc/getclktck.c (__getclktck): Likewise.
18426 * misc/getdtsz.c (__getdtablesize): Likewise.
18427 * misc/gethostid.c (gethostid): Likewise.
18428 * misc/getpagesize.c (__getpagesize): Likewise.
18429 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18430 (__get_nprocs): Likewise.
18431 (__get_phys_pages): Likewise.
18432 (__get_avphys_pages): Likewise.
18433 * misc/getttyent.c (getttyent): Likewise.
18434 (setttyent): Likewise.
18435 (endttyent): Likewise.
18436 * misc/getusershell.c (getusershell): Likewise.
18437 (endusershell): Likewise.
18438 (setusershell): Likewise.
18439 (initshells): Likewise.
18440 * misc/hsearch.c (__hdestroy): Likewise.
18441 * misc/sync.c (sync): Likewise.
18442 * misc/syslog.c (closelog_internal): Likewise.
18443 (closelog): Likewise.
18444 * misc/ttyslot.c (ttyslot): Likewise.
18445 * misc/vhangup.c (vhangup): Likewise.
18446 * posix/fork.c (__fork): Likewise.
18447 * posix/getegid.c (__getegid): Likewise.
18448 * posix/geteuid.c (__geteuid): Likewise.
18449 * posix/getgid.c (__getgid): Likewise.
18450 * posix/getpid.c (__getpid): Likewise.
18451 * posix/getppid.c (__getppid): Likewise.
18452 * posix/getuid.c (__getuid): Likewise.
18453 * posix/pause.c (pause): Likewise.
18454 * posix/setpgrp.c (setpgrp): Likewise.
18455 * posix/setsid.c (__setsid): Likewise.
18456 * posix/test-vfork.c (noop): Likewise.
18457 * resolv/gethnamaddr.c (_endhtent): Likewise.
18458 (_gethtent): Likewise.
18459 (ht_endhostent): Likewise.
18460 (gethostent): Likewise.
18461 (dns_service): Likewise.
18462 * stdlib/drand48.c (drand48): Likewise.
18463 * stdlib/lrand48.c (lrand48): Likewise.
18464 * stdlib/mrand48.c (mrand48): Likewise.
18465 * stdlib/rand.c (rand): Likewise.
18466 * stdlib/random.c (__random): Likewise.
18467 * stdlib/setenv.c (clearenv): Likewise.
18468 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18469 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18470 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18471 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18472 (__get_nprocs): Likewise.
18473 (__get_phys_pages): Likewise.
18474 (__get_avphys_pages): Likewise.
18475 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18476 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18477 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18478 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18479 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18480 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18481 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18482 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18483 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18484 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18485 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18486 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18487 * sysdeps/posix/clock.c (clock): Likewise.
18488 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18489 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18490 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18491 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18492 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18493 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18494 (__get_nprocs_conf): Likewise.
18495 (__get_phys_pages): Likewise.
18496 (__get_avphys_pages): Likewise.
18497 * time/clock.c (clock): Likewise.
18498 * time/tzset.c (__tzname_max): Likewise.
18500 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18502 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18503 (__bswap_32): Do not use "register".
18504 * crypt/crypt.c (_ufc_doit_r): Likewise.
18505 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18506 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18507 * gmon/gmon.c (__monstartup): Likewise.
18508 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18509 * hurd/hurdmalloc.c (more_memory): Likewise.
18510 (malloc): Likewise.
18512 (realloc): Likewise.
18513 (malloc_fork_prepare): Likewise.
18514 (malloc_fork_parent): Likewise.
18515 (malloc_fork_child): Likewise.
18516 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18517 (_svcauth_des): Likewise.
18518 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18519 * inet/inet_net.c (inet_network): Likewise.
18520 * inet/inet_netof.c (inet_netof): Likewise.
18521 * inet/rcmd.c (__validuser2_sa): Likewise.
18522 * io/fts.c (fts_open): Likewise.
18523 (fts_load): Likewise.
18524 (fts_close): Likewise.
18525 (fts_read): Likewise.
18526 (fts_children): Likewise.
18527 (fts_build): Likewise.
18528 (fts_stat): Likewise.
18529 (fts_sort): Likewise.
18530 (fts_alloc): Likewise.
18531 (fts_lfree): Likewise.
18532 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18533 (_IO_file_xsgetn): Likewise.
18534 (_IO_file_xsgetn_mmap): Likewise.
18535 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18536 (_IO_cookie_write): Likewise.
18537 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18538 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18539 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18540 * malloc/obstack.c (_obstack_begin): Likewise.
18541 (_obstack_begin_1): Likewise.
18542 (_obstack_newchunk): Likewise.
18543 (_obstack_allocated_p): Likewise.
18544 (obstack_free): Likewise.
18545 (_obstack_memory_used): Likewise.
18546 * misc/getttyent.c (getttynam): Likewise.
18547 (getttyent): Likewise.
18550 * misc/getusershell.c (initshells): Likewise.
18551 * misc/syslog.c (__vsyslog_chk): Likewise.
18552 * misc/ttyslot.c (ttyslot): Likewise.
18553 * nis/nis_hash.c (__nis_hash): Likewise.
18554 * posix/fnmatch_loop.c (FCT): Likewise.
18555 * posix/getconf.c (print_all): Likewise.
18557 * posix/getopt.c (exchange): Likewise.
18558 * posix/glob.c (globfree): Likewise.
18559 (prefix_array): Likewise.
18560 (__glob_pattern_type): Likewise.
18561 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18562 (NS_GET32): Likewise.
18563 (NS_PUT16): Likewise.
18564 (NS_PUT32): Likewise.
18565 * resolv/gethnamaddr.c (getanswer): Likewise.
18566 (gethostbyname2): Likewise.
18567 (gethostbyaddr): Likewise.
18568 (_gethtent): Likewise.
18569 (_gethtbyname2): Likewise.
18570 (_gethtbyaddr): Likewise.
18571 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18572 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18573 * resolv/res_init.c (__res_vinit): Likewise.
18574 (net_mask): Likewise.
18575 * resolv/res_mkquery.c (outchar): Likewise.
18577 * stdio-common/printf_fp.c (outchar): Likewise.
18579 * stdio-common/printf_fphex.c (outchar): Likewise.
18581 * stdio-common/printf_size.c (outchar): Likewise.
18583 * stdio-common/test_rdwr.c (main): Likewise.
18584 * stdio-common/tfformat.c (matches): Likewise.
18585 * stdio-common/vfprintf.c (outchar): Likewise.
18586 (printf_unknown): Likewise.
18587 (buffered_vfprintf): Likewise.
18588 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18589 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18590 (ReadFile): Likewise.
18591 * stdlib/qsort.c (SWAP): Likewise.
18592 (_quicksort): Likewise.
18593 * stdlib/setenv.c (__add_to_environ): Likewise.
18594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18595 * stdlib/strtol_l.c (__strtol_l): Likewise.
18596 * stdlib/tst-strtod.c (main): Likewise.
18597 * stdlib/tst-strtol.c (main): Likewise.
18598 * stdlib/tst-strtoll.c (main): Likewise.
18599 * string/bits/string2.h (__strcmp_cc): Likewise.
18600 (__strcmp_cg): Likewise.
18601 (__strcspn_c1): Likewise.
18602 (__strcspn_c2): Likewise.
18603 (__strcspn_c3): Likewise.
18604 (__strspn_c1): Likewise.
18605 (__strspn_c2): Likewise.
18606 (__strspn_c3): Likewise.
18607 (__strsep_1c): Likewise.
18608 (__strsep_2c): Likewise.
18609 (__strsep_3c): Likewise.
18610 * string/memccpy.c (__memccpy): Likewise.
18611 * string/stpcpy.c (__stpcpy): Likewise.
18612 * string/strcmp.c (strcmp): Likewise.
18613 * string/strrchr.c (strrchr): Likewise.
18614 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18616 * sysdeps/mach/hurd/getcwd.c
18617 (_hurd_canonicalize_directory_name_internal): Likewise.
18618 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18619 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18620 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18621 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18622 Likewise, in both definitions.
18623 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18625 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18626 64] (__bswap_64): Likewise.
18627 * time/test_time.c (main): Likewise.
18628 * time/tzfile.c (__tzfile_read): Likewise.
18629 (__tzfile_compute): Likewise.
18630 * time/tzset.c (__tzset_parse_tz): Likewise.
18631 (tzset_internal): Likewise.
18632 (compute_change): Likewise.
18633 * wcsmbs/wcscat.c (__wcscat): Likewise.
18634 * wcsmbs/wcschr.c (wcschr): Likewise.
18635 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18636 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18637 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18638 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18639 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18640 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18641 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18642 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18643 * wcsmbs/wmemset.c (wmemset): Likewise.
18645 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18647 * scripts/config.guess: Update to version 2013-05-16.
18648 * scripts/config.sub: Update to version 2013-04-24.
18649 * scripts/install-sh: Update to version 2011-11-20.07.
18650 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18651 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18653 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18655 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18656 * elf/sln.c: Likewise.
18657 * hurd/hurd/ioctl.h: Likewise.
18658 * hurd/hurdmalloc.c: Likewise.
18659 * hurd/xattr.c: Likewise.
18660 * include/shlib-compat.h: Likewise.
18661 * inet/ruserpass.c: Likewise.
18662 * libio/iofgets_u.c: Likewise.
18663 * libio/iofgetws_u.c: Likewise.
18664 * locale/programs/ld-identification.c: Likewise.
18665 * locale/programs/ld-time.c: Likewise.
18666 * mach/msg-destroy.c: Likewise.
18667 * nss/nss_files/files-netgrp.c: Likewise.
18668 * resolv/res_data.c: Likewise.
18669 * soft-fp/op-1.h: Likewise.
18670 * soft-fp/op-2.h: Likewise.
18671 * soft-fp/op-4.h: Likewise.
18672 * soft-fp/op-common.h: Likewise.
18673 * stdio-common/printf_fphex.c: Likewise.
18674 * stdlib/strtod_l.c: Likewise.
18675 * sunrpc/rpc/clnt.h: Likewise.
18676 * sysdeps/generic/framestate.c: Likewise.
18677 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18678 * sysdeps/i386/bsd-setjmp.S: Likewise.
18679 * sysdeps/i386/__longjmp.S: Likewise.
18680 * sysdeps/i386/setjmp.S: Likewise.
18681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18682 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18684 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18688 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18689 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18697 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18699 * sysdeps/ieee754/support.c: Likewise.
18700 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18701 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18702 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18703 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18704 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18705 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18706 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18707 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18708 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18709 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18710 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18711 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18712 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18713 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18714 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18715 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18716 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18719 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18721 * posix/transbug.c: Remove executable mode.
18723 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18725 * crypt/speeds.c: Remove trailing whitespace.
18726 * dlfcn/default.c: Likewise.
18727 * elf/ifuncdep2.c: Likewise.
18728 * elf/ifuncmain1.c: Likewise.
18729 * elf/ifuncmain1vis.c: Likewise.
18730 * elf/testobj.h: Likewise.
18731 * elf/tst-stackguard1.c: Likewise.
18732 * gmon/sys/gmon.h: Likewise.
18733 * hurd/hurdmsg.c: Likewise.
18734 * hurd/new-fd.c: Likewise.
18735 * hurd/ports-get.c: Likewise.
18736 * iconvdata/ibm1008_420.c: Likewise.
18737 * inet/tst-getni1.c: Likewise.
18738 * inet/tst-getni2.c: Likewise.
18739 * libio/ioungetc.c: Likewise.
18740 * libio/wfiledoalloc.c: Likewise.
18741 * manual/libm-err-tab.pl: Likewise.
18742 * math/w_dremf.c: Likewise.
18743 * misc/ftruncate.c: Likewise.
18744 * posix/bug-glob2.c: Likewise.
18745 * posix/tst-pcre.c: Likewise.
18746 * posix/wait4.c: Likewise.
18747 * resolv/README: Likewise.
18748 * resolv/res_debug.h: Likewise.
18749 * resolv/tst-inet_ntop.c: Likewise.
18750 * setjmp/bug269-setjmp.c: Likewise.
18751 * soft-fp/extended.h: Likewise.
18752 * soft-fp/op-1.h: Likewise.
18753 * soft-fp/op-2.h: Likewise.
18754 * soft-fp/op-4.h: Likewise.
18755 * soft-fp/op-8.h: Likewise.
18756 * soft-fp/testit.c: Likewise.
18757 * stdio-common/bug16.c: Likewise.
18758 * stdlib/random.c: Likewise.
18759 * sunrpc/rpcsvc/rquota.x: Likewise.
18760 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18761 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18763 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18789 * sysdeps/ieee754/s_lib_version.c: Likewise.
18790 * sysdeps/mach/hurd/check_fds.c: Likewise.
18791 * sysdeps/mach/hurd/getsockname.c: Likewise.
18792 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18793 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18794 * sysdeps/powerpc/bits/link.h: Likewise.
18795 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18796 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18797 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18798 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18799 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18800 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18801 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18802 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18803 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18804 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18805 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18806 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18807 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18808 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18809 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18810 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18811 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18813 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18814 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18816 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18818 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18819 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18820 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18822 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18823 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18824 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18825 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18826 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18828 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18829 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18830 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18831 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18832 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18833 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18834 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18835 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18836 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18837 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18838 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18839 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18840 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18841 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18850 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18851 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18852 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18854 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18855 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18856 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18857 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18858 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18859 * sysdeps/powerpc/sysdep.h: Likewise.
18860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18861 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18862 * sysdeps/sh/dl-trampoline.S: Likewise.
18863 * sysdeps/sh/memset.S: Likewise.
18864 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18865 * sysdeps/sh/strlen.S: Likewise.
18866 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18867 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18868 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18869 * sysdeps/sparc/sparc32/rem.S: Likewise.
18870 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18871 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18872 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18873 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18874 * sysdeps/sparc/sparc32/urem.S: Likewise.
18875 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18876 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18877 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18878 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18880 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18881 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18882 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18883 * sysdeps/unix/bsd/times.c: Likewise.
18884 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18885 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18889 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18892 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18893 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18894 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18895 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18896 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18897 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18898 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18899 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18901 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18902 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18903 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18904 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18905 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18906 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18907 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18908 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18909 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18910 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18911 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18912 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18913 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18914 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18915 * sysdeps/x86_64/strcspn.S: Likewise.
18917 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18919 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18920 generated file. Regenerate properly from gen-translit.pl.
18921 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18922 locale/C-translit.h.
18924 2013-06-05 Andreas Schwab <schwab@suse.de>
18927 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18928 week as 6 instead of -1.
18929 * time/tst-strptime.c (day_tests): Add test case.
18931 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18933 * sysdeps/generic/math_private.h
18934 (libc_feholdexcept_setround_53bit): Replace with
18935 libc_feholdsetround_53bit.
18936 (libc_feupdateenv_53bit): Replace with
18937 libc_feresetround_53bit.
18938 (SET_RESTORE_ROUND_53BIT): Adjust.
18940 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18942 * string/test-strchrnul.c: Add copyright header.
18944 * posix/tst-getaddrinfo4.c: Increase test timeout.
18946 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18949 * math/libm-test.inc (MAX_EXP): Remove
18951 (ulp): Use MIN_EXP - MANT_DIG.
18952 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18954 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18956 * po/be.po: Revert last change.
18957 * po/zh_CN.po: Likewise.
18958 * po/header.pot: Likewise.
18960 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18962 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18963 link-libc-deps to empty as target-specific variable.
18964 * Makerules (link-libc-args): New variable.
18965 (libc-for-link): Likewise.
18966 (link-libc-deps): Likewise.
18967 (lib%.so): Depend on $(link-libc-deps). Link with
18969 (build-module): Link with $(link-libc-args).
18970 (build-module-asneeded): Likewise.
18971 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18973 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18974 target-specific variable.
18975 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18976 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18977 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18979 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18981 ($(objpfx)libpcprofile.so): Likewise.
18982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18984 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18985 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18986 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18988 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18989 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18990 * login/Makefile ($(objpfx)libutil.so): Likewise.
18991 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18992 * math/Makefile ($(objpfx)libm.so): Likewise.
18993 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18994 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18995 variable instead of depending directly on libc.
18996 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18997 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18999 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19001 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19002 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19003 ($(objpfx)libanl.so): Likewise.
19004 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19006 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19008 * sysdeps/i386/fpu/Makefile: Remove file.
19009 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19010 ($(objpfx)libm.so): Remove dependency on ld.so.
19012 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19015 * nis/yp_xdr.c (XDRMAXNAME): Define.
19016 (XDRMAXRECORD): Define.
19017 (xdr_domainname): Use XDRMAXNAME.
19018 (xdr_mapname): Likewise.
19019 (xdr_peername): Likewise.
19020 (xdr_keydat): Use XDRMAXRECORD.
19021 (xdr_valdat): Likewise.
19023 2013-05-30 Jeff Law <law@redhat.com>
19026 * manual/errno.texi (ESTALE): Update to account for more than
19027 just NFS file systems.
19028 * sysdeps/gnu/errlist.c: Regenerated.
19030 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19033 * elf/Makefile (tests): Add tst-null-argv.
19034 (modules-names): Add tst-null-argv-lib.
19035 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19036 (tst-null-argv-ENV): Set environment for tst-null-argv.
19037 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19038 (RTLD_PROGNAME): New macro.
19039 * elf/tst-null-argv.c: New test case.
19040 * elf/tst-null-argv-lib.c: Library for test case.
19041 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19042 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19043 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19044 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19045 * elf/dl-init.c (call_init): Likewise.
19046 (_dl_init): Likewise.
19047 * elf/dl-load.c (print_search_path): Likewise.
19048 (_dl_map_object): Likewise.
19049 * elf/dl-lookup.c (do_lookup_x): Likewise.
19050 (add_dependency): Likewise.
19051 (_dl_lookup_symbol_x): Likewise.
19052 (_dl_debug_bindings): Likewise.
19053 * elf/dl-open.c (_dl_show_scope): Likewise.
19054 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19055 * elf/dl-version.c (match_symbol): Likewise.
19056 (_dl_check_map_versions): Likewise.
19057 * elf/rtld.c (dl_main): Likewise.
19058 (print_unresolved): Use RTLD_PROGNAME.
19059 (print_missing_version): Likewise.
19060 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19061 (elf_machine_rela): Likewise.
19062 * sysdeps/powerpc/powerpc32/dl-machine.c
19063 (__process_machine_rela): Likewise.
19064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19070 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19077 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19079 * po/be.po: Add descriptive title.
19080 * po/zh_CN.po: Likewise.
19081 * po/header.pot: Likewise.
19083 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19085 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19087 (enlarge_archive): Likewise.
19089 2013-05-28 Ben North <ben@redfrontdoor.org>
19091 * manual/arith.texi (frexp): It is the magnitude of the return
19092 value which lies in [0.5, 1), not the return value itself.
19094 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19098 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19100 * stdio-common/bug26.c (main): Correct fscanf template.
19102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19103 declare _dl_skip_args.
19105 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19108 * manual/platform.texi: Add missing @end deftypefun.
19110 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19113 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19114 bit of mantissa of 2^16382.
19115 * math/libm-test.inc (hypot_test_data): Add more tests.
19117 * math/libm-test.inc: Add drem and pow10 to list of tested
19119 (pow10_test): New function.
19120 (drem_test): Likewise.
19121 (drem_test_tonearest): Likewise.
19122 (drem_test_towardzero): Likewise.
19123 (drem_test_downward): Likewise.
19124 (drem_test_upward): Likewise.
19125 (main): Call the new functions.
19127 * math/libm-test.inc (finite_test_data): Remove.
19128 (finite_test): Run tests from isfinite_test_data.
19129 (gamma_test_data): Remove.
19130 (gamma_test): Run tests from lgamma_test_data.
19131 * sysdeps/i386/fpu/libm-test-ulps: Update.
19132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19134 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19136 * manual/platform.texi: Add PowerPC PPR function set documentation.
19137 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19140 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19142 * math/libm-test.inc (MAX_EXP): Define.
19144 (ulp): New function.
19145 (check_float_internal): Use ULPDIFF.
19146 (cpow_test): Disable failing test.
19147 (check_ulp): Test ulp() implemetnation.
19148 (main): Call check_ulp before starting tests.
19150 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19152 * math/gen-libm-test.pl (generate_testfile): Do not handle
19153 START_DATA and END_DATA.
19154 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19156 (acos_tonearest_test_data): Likewise.
19157 (acos_towardzero_test_data): Likewise.
19158 (acos_downward_test_data): Likewise.
19159 (acos_upward_test_data): Likewise.
19160 (acosh_test_data): Likewise.
19161 (asin_test_data): Likewise.
19162 (asin_tonearest_test_data): Likewise.
19163 (asin_towardzero_test_data): Likewise.
19164 (asin_downward_test_data): Likewise.
19165 (asin_upward_test_data): Likewise.
19166 (asinh_test_data): Likewise.
19167 (atan_test_data): Likewise.
19168 (atanh_test_data): Likewise.
19169 (atan2_test_data): Likewise.
19170 (cabs_test_data): Likewise.
19171 (cacos_test_data): Likewise.
19172 (cacosh_test_data): Likewise.
19173 (carg_test_data): Likewise.
19174 (casin_test_data): Likewise.
19175 (casinh_test_data): Likewise.
19176 (catan_test_data): Likewise.
19177 (catanh_test_data): Likewise.
19178 (cbrt_test_data): Likewise.
19179 (ccos_test_data): Likewise.
19180 (ccosh_test_data): Likewise.
19181 (ceil_test_data): Likewise.
19182 (cexp_test_data): Likewise.
19183 (cimag_test_data): Likewise.
19184 (clog_test_data): Likewise.
19185 (clog10_test_data): Likewise.
19186 (conj_test_data): Likewise.
19187 (copysign_test_data): Likewise.
19188 (cos_test_data): Likewise.
19189 (cos_tonearest_test_data): Likewise.
19190 (cos_towardzero_test_data): Likewise.
19191 (cos_downward_test_data): Likewise.
19192 (cos_upward_test_data): Likewise.
19193 (cosh_test_data): Likewise.
19194 (cosh_tonearest_test_data): Likewise.
19195 (cosh_towardzero_test_data): Likewise.
19196 (cosh_downward_test_data): Likewise.
19197 (cosh_upward_test_data): Likewise.
19198 (cpow_test_data): Likewise.
19199 (cproj_test_data): Likewise.
19200 (creal_test_data): Likewise.
19201 (csin_test_data): Likewise.
19202 (csinh_test_data): Likewise.
19203 (csqrt_test_data): Likewise.
19204 (ctan_test_data): Likewise.
19205 (ctan_tonearest_test_data): Likewise.
19206 (ctan_towardzero_test_data): Likewise.
19207 (ctan_downward_test_data): Likewise.
19208 (ctan_upward_test_data): Likewise.
19209 (ctanh_test_data): Likewise.
19210 (ctanh_tonearest_test_data): Likewise.
19211 (ctanh_towardzero_test_data): Likewise.
19212 (ctanh_downward_test_data): Likewise.
19213 (ctanh_upward_test_data): Likewise.
19214 (erf_test_data): Likewise.
19215 (erfc_test_data): Likewise.
19216 (exp_test_data): Likewise.
19217 (exp_tonearest_test_data): Likewise.
19218 (exp_towardzero_test_data): Likewise.
19219 (exp_downward_test_data): Likewise.
19220 (exp_upward_test_data): Likewise.
19221 (exp10_test_data): Likewise.
19222 (exp2_test_data): Likewise.
19223 (expm1_test_data): Likewise.
19224 (fabs_test_data): Likewise.
19225 (fdim_test_data): Likewise.
19226 (finite_test_data): Likewise.
19227 (floor_test_data): Likewise.
19228 (fma_test_data): Likewise.
19229 (fma_towardzero_test_data): Likewise.
19230 (fma_downward_test_data): Likewise.
19231 (fma_upward_test_data): Likewise.
19232 (fmax_test_data): Likewise.
19233 (fmin_test_data): Likewise.
19234 (fmod_test_data): Likewise.
19235 (fpclassify_test_data): Likewise.
19236 (frexp_test_data): Likewise.
19237 (gamma_test_data): Likewise.
19238 (hypot_test_data): Likewise.
19239 (ilogb_test_data): Likewise.
19240 (isfinite_test_data): Likewise.
19241 (isgreater_test_data): Likewise.
19242 (isgreaterequal_test_data): Likewise.
19243 (isinf_test_data): Likewise.
19244 (isless_test_data): Likewise.
19245 (islessequal_test_data): Likewise.
19246 (islessgreater_test_data): Likewise.
19247 (isnan_test_data): Likewise.
19248 (isnormal_test_data): Likewise.
19249 (issignaling_test_data): Likewise.
19250 (isunordered_test_data): Likewise.
19251 (j0_test_data): Likewise.
19252 (j1_test_data): Likewise.
19253 (jn_test_data): Likewise.
19254 (ldexp_test_data): Likewise.
19255 (lgamma_test_data): Likewise.
19256 (lrint_test_data): Likewise.
19257 (lrint_tonearest_test_data): Likewise.
19258 (lrint_towardzero_test_data): Likewise.
19259 (lrint_downward_test_data): Likewise.
19260 (lrint_upward_test_data): Likewise.
19261 (llrint_test_data): Likewise.
19262 (llrint_tonearest_test_data): Likewise.
19263 (llrint_towardzero_test_data): Likewise.
19264 (llrint_downward_test_data): Likewise.
19265 (llrint_upward_test_data): Likewise.
19266 (log_test_data): Likewise.
19267 (log10_test_data): Likewise.
19268 (log1p_test_data): Likewise.
19269 (log2_test_data): Likewise.
19270 (logb_test_data): Likewise.
19271 (logb_downward_test_data): Likewise.
19272 (lround_test_data): Likewise.
19273 (llround_test_data): Likewise.
19274 (modf_test_data): Likewise.
19275 (nearbyint_test_data): Likewise.
19276 (nextafter_test_data): Likewise.
19277 (nexttoward_test_data): Likewise.
19278 (pow_test_data): Likewise.
19279 (pow_tonearest_test_data): Likewise.
19280 (pow_towardzero_test_data): Likewise.
19281 (pow_downward_test_data): Likewise.
19282 (pow_upward_test_data): Likewise.
19283 (remainder_test_data): Likewise.
19284 (remainder_tonearest_test_data): Likewise.
19285 (remainder_towardzero_test_data): Likewise.
19286 (remainder_downward_test_data): Likewise.
19287 (remainder_upward_test_data): Likewise.
19288 (remquo_test_data): Likewise.
19289 (rint_test_data): Likewise.
19290 (rint_tonearest_test_data): Likewise.
19291 (rint_towardzero_test_data): Likewise.
19292 (rint_downward_test_data): Likewise.
19293 (rint_upward_test_data): Likewise.
19294 (round_test_data): Likewise.
19295 (scalb_test_data): Likewise.
19296 (scalbn_test_data): Likewise.
19297 (scalbln_test_data): Likewise.
19298 (signbit_test_data): Likewise.
19299 (sin_test_data): Likewise.
19300 (sin_tonearest_test_data): Likewise.
19301 (sin_towardzero_test_data): Likewise.
19302 (sin_downward_test_data): Likewise.
19303 (sin_upward_test_data): Likewise.
19304 (sincos_test_data): Likewise.
19305 (sinh_test_data): Likewise.
19306 (sinh_tonearest_test_data): Likewise.
19307 (sinh_towardzero_test_data): Likewise.
19308 (sinh_downward_test_data): Likewise.
19309 (sinh_upward_test_data): Likewise.
19310 (sqrt_test_data): Likewise.
19311 (tan_test_data): Likewise.
19312 (tan_tonearest_test_data): Likewise.
19313 (tan_towardzero_test_data): Likewise.
19314 (tan_downward_test_data): Likewise.
19315 (tan_upward_test_data): Likewise.
19316 (tanh_test_data): Likewise.
19317 (tgamma_test_data): Likewise.
19318 (trunc_test_data): Likewise.
19319 (y0_test_data): Likewise.
19320 (y1_test_data): Likewise.
19321 (yn_test_data): Likewise.
19322 (significand_test_data): Likewise.
19324 * math/gen-libm-test.pl (@functions): Remove variable.
19325 (generate_testfile): Don't handle START and END lines.
19326 * math/libm-test.inc (START): New macro.
19328 (END_COMPLEX): Likewise.
19329 (acos_test): Use END macro without arguments.
19330 (acos_test_tonearest): Likewise.
19331 (acos_test_towardzero): Likewise.
19332 (acos_test_downward): Likewise.
19333 (acos_test_upward): Likewise.
19334 (acosh_test): Likewise.
19335 (asin_test): Likewise.
19336 (asin_test_tonearest): Likewise.
19337 (asin_test_towardzero): Likewise.
19338 (asin_test_downward): Likewise.
19339 (asin_test_upward): Likewise.
19340 (asinh_test): Likewise.
19341 (atan_test): Likewise.
19342 (atanh_test): Likewise.
19343 (atan2_test): Likewise.
19344 (cabs_test): Likewise.
19345 (cacos_test): Use END_COMPLEX macro without arguments.
19346 (cacosh_test): Likewise.
19347 (carg_test): Use END macro without arguments.
19348 (casin_test): Use END_COMPLEX macro without arguments.
19349 (casinh_test): Likewise.
19350 (catan_test): Likewise.
19351 (catanh_test): Likewise.
19352 (cbrt_test): Use END macro without arguments.
19353 (ccos_test): Use END_COMPLEX macro without arguments.
19354 (ccosh_test): Likewise.
19355 (ceil_test): Use END macro without arguments.
19356 (cexp_test): Use END_COMPLEX macro without arguments.
19357 (cimag_test): Use END macro without arguments.
19358 (clog_test): Use END_COMPLEX macro without arguments.
19359 (clog10_test): Likewise.
19360 (conj_test): Likewise.
19361 (copysign_test): Use END macro without arguments.
19362 (cos_test): Likewise.
19363 (cos_test_tonearest): Likewise.
19364 (cos_test_towardzero): Likewise.
19365 (cos_test_downward): Likewise.
19366 (cos_test_upward): Likewise.
19367 (cosh_test): Likewise.
19368 (cosh_test_tonearest): Likewise.
19369 (cosh_test_towardzero): Likewise.
19370 (cosh_test_downward): Likewise.
19371 (cosh_test_upward): Likewise.
19372 (cpow_test): Use END_COMPLEX macro without arguments.
19373 (cproj_test): Likewise.
19374 (creal_test): Use END macro without arguments.
19375 (csin_test): Use END_COMPLEX macro without arguments.
19376 (csinh_test): Likewise.
19377 (csqrt_test): Likewise.
19378 (ctan_test): Likewise.
19379 (ctan_test_tonearest): Likewise.
19380 (ctan_test_towardzero): Likewise.
19381 (ctan_test_downward): Likewise.
19382 (ctan_test_upward): Likewise.
19383 (ctanh_test): Likewise.
19384 (ctanh_test_tonearest): Likewise.
19385 (ctanh_test_towardzero): Likewise.
19386 (ctanh_test_downward): Likewise.
19387 (ctanh_test_upward): Likewise.
19388 (erf_test): Use END macro without arguments.
19389 (erfc_test): Likewise.
19390 (exp_test): Likewise.
19391 (exp_test_tonearest): Likewise.
19392 (exp_test_towardzero): Likewise.
19393 (exp_test_downward): Likewise.
19394 (exp_test_upward): Likewise.
19395 (exp10_test): Likewise.
19396 (exp2_test): Likewise.
19397 (expm1_test): Likewise.
19398 (fabs_test): Likewise.
19399 (fdim_test): Likewise.
19400 (finite_test): Likewise.
19401 (floor_test): Likewise.
19402 (fma_test): Likewise.
19403 (fma_test_towardzero): Likewise.
19404 (fma_test_downward): Likewise.
19405 (fma_test_upward): Likewise.
19406 (fmax_test): Likewise.
19407 (fmin_test): Likewise.
19408 (fmod_test): Likewise.
19409 (fpclassify_test): Likewise.
19410 (frexp_test): Likewise.
19411 (gamma_test): Likewise.
19412 (hypot_test): Likewise.
19413 (ilogb_test): Likewise.
19414 (isfinite_test): Likewise.
19415 (isgreater_test): Likewise.
19416 (isgreaterequal_test): Likewise.
19417 (isinf_test): Likewise.
19418 (isless_test): Likewise.
19419 (islessequal_test): Likewise.
19420 (islessgreater_test): Likewise.
19421 (isnan_test): Likewise.
19422 (isnormal_test): Likewise.
19423 (issignaling_test): Likewise.
19424 (isunordered_test): Likewise.
19425 (j0_test): Likewise.
19426 (j1_test): Likewise.
19427 (jn_test): Likewise.
19428 (ldexp_test): Likewise.
19429 (lgamma_test): Likewise.
19430 (lrint_test): Likewise.
19431 (lrint_test_tonearest): Likewise.
19432 (lrint_test_towardzero): Likewise.
19433 (lrint_test_downward): Likewise.
19434 (lrint_test_upward): Likewise.
19435 (llrint_test): Likewise.
19436 (llrint_test_tonearest): Likewise.
19437 (llrint_test_towardzero): Likewise.
19438 (llrint_test_downward): Likewise.
19439 (llrint_test_upward): Likewise.
19440 (log_test): Likewise.
19441 (log10_test): Likewise.
19442 (log1p_test): Likewise.
19443 (log2_test): Likewise.
19444 (logb_test): Likewise.
19445 (logb_test_downward): Likewise.
19446 (lround_test): Likewise.
19447 (llround_test): Likewise.
19448 (modf_test): Likewise.
19449 (nearbyint_test): Likewise.
19450 (nextafter_test): Likewise.
19451 (nexttoward_test): Likewise.
19452 (pow_test): Likewise.
19453 (pow_test_tonearest): Likewise.
19454 (pow_test_towardzero): Likewise.
19455 (pow_test_downward): Likewise.
19456 (pow_test_upward): Likewise.
19457 (remainder_test): Likewise.
19458 (remainder_test_tonearest): Likewise.
19459 (remainder_test_towardzero): Likewise.
19460 (remainder_test_downward): Likewise.
19461 (remainder_test_upward): Likewise.
19462 (remquo_test): Likewise.
19463 (rint_test): Likewise.
19464 (rint_test_tonearest): Likewise.
19465 (rint_test_towardzero): Likewise.
19466 (rint_test_downward): Likewise.
19467 (rint_test_upward): Likewise.
19468 (round_test): Likewise.
19469 (scalb_test): Likewise.
19470 (scalbn_test): Likewise.
19471 (scalbln_test): Likewise.
19472 (signbit_test): Likewise.
19473 (sin_test): Likewise.
19474 (sin_test_tonearest): Likewise.
19475 (sin_test_towardzero): Likewise.
19476 (sin_test_downward): Likewise.
19477 (sin_test_upward): Likewise.
19478 (sincos_test): Likewise.
19479 (sinh_test): Likewise.
19480 (sinh_test_tonearest): Likewise.
19481 (sinh_test_towardzero): Likewise.
19482 (sinh_test_downward): Likewise.
19483 (sinh_test_upward): Likewise.
19484 (sqrt_test): Likewise.
19485 (tan_test): Likewise.
19486 (tan_test_tonearest): Likewise.
19487 (tan_test_towardzero): Likewise.
19488 (tan_test_downward): Likewise.
19489 (tan_test_upward): Likewise.
19490 (tanh_test): Likewise.
19491 (tgamma_test): Likewise.
19492 (trunc_test): Likewise.
19493 (y0_test): Likewise.
19494 (y1_test): Likewise.
19495 (yn_test): Likewise.
19496 (significand_test): Likewise.
19498 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19501 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19503 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19506 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19507 __ppc_mdoio and __ppc_mdoom.
19508 * manual/platform.texi: Document new functions __ppc_yield,
19509 __ppc_mdoio and __ppc_mdoom.
19511 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19513 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19514 (main): Mention "tls" pseudo-hwcap is legacy.
19515 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19517 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19519 * math/gen-libm-test.pl (parse_args): Output only string of
19520 arguments as text for test name, not full call or descriptions of
19521 tests for extra outputs.
19522 (generate_testfile): Do not pass function name to parse_args.
19523 Generate this_func variable from START.
19524 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19526 (struct test_ff_f_data): Likewise.
19527 (test_ff_f_data_nexttoward): Likewise.
19528 (struct test_fi_f_data): Likewise.
19529 (struct test_fl_f_data): Likewise.
19530 (struct test_if_f_data): Likewise.
19531 (struct test_fff_f_data): Likewise.
19532 (struct test_c_f_data): Likewise.
19533 (struct test_f_f1_data): Likewise. Remove field extra_name.
19534 (struct test_fF_f1_data): Likewise.
19535 (struct test_ffI_f1_data): Likewise.
19536 (struct test_c_c_data): Rename test_name field to arg_str.
19537 (struct test_cc_c_data): Likewise.
19538 (struct test_f_i_data): Likewise.
19539 (struct test_ff_i_data): Likewise.
19540 (struct test_f_l_data): Likewise.
19541 (struct test_f_L_data): Likewise.
19542 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19544 (COMMON_TEST_SETUP): New macro.
19545 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19546 (COMMON_TEST_CLEANUP): Likewise.
19547 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19548 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19550 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19551 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19553 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19554 (RUN_TEST_fff_f): Take argument string. Call new setup and
19556 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19557 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19559 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19560 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19562 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19563 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19565 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19566 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19568 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19569 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19571 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19572 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19574 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19575 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19577 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19578 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19580 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19581 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19583 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19584 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19586 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19587 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19589 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19590 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19592 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19593 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19595 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19596 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19598 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19599 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19601 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19603 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19605 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19606 to _sifields.sigfault.
19607 (si_addr_lsb): Define new macro.
19608 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19610 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19612 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19615 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19617 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19619 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19620 loading the domain.
19622 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19624 * math/gen-libm-test.pl (parse_args): Do not include expected
19625 result in test name.
19626 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19629 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19635 * benchtests/Makefile: Sort function entries.
19637 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19638 tanh, asinh, acosh, atanh.
19639 * benchtests/acos-inputs: New file.
19640 * benchtests/acosh-inputs: New file.
19641 * benchtests/asin-inputs: New file.
19642 * benchtests/asinh-inputs: New file.
19643 * benchtests/atanh-inputs: New file.
19644 * benchtests/cosh-inputs: New file.
19645 * benchtests/log-inputs: New file.
19646 * benchtests/sinh-inputs: New file.
19647 * benchtests/tanh-inputs: New file.
19649 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19652 * posix/tst-getaddrinfo4.c: New test.
19653 * posix/Makefile (tests): Add it.
19655 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19658 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19659 when no services were used.
19660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19661 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19663 2013-05-21 Andreas Schwab <schwab@suse.de>
19666 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19667 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19669 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19670 redundant variable declarations and reallocation of buffer when
19671 parsing as IPv6 address. Always set NSS status when called from
19672 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19673 buffer too small. Correct computation of needed size.
19674 * nss/Makefile (tests): Add test-digits-dots.
19675 * nss/test-digits-dots.c: New test.
19677 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 * benchtests/Makefile: Remove instructions for adding
19681 * benchtests/README: New file to explain how to execute and
19682 enhance the benchmark tests.
19684 2013-05-21 Andreas Schwab <schwab@suse.de>
19687 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19688 * setjmp/tst-sigsetjmp.c: New test.
19690 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19692 * sysdeps/x86_64/memset.S (memset): New implementation.
19693 (__bzero): Likewise.
19694 (__memset_tail): New function.
19696 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19699 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19700 __memcpy_sse2_unaligned ifunc selection.
19701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19702 Add memcpy-sse2-unaligned.S.
19703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19704 Add: __memcpy_sse2_unaligned.
19706 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19710 math_force_eval before restoring floating-point envrionment.
19711 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19716 (__nearbyintl): Use math_force_eval before restoring
19717 floating-point environment.
19718 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19720 * math/gen-libm-test.pl (special_functions): Remove.
19721 (parse_args): Don't handle TEST_extra. Handle functions with no
19723 * math/libm-test.inc (struct test_sincos_data): Replace with
19724 struct test_fFF_11_data.
19725 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19726 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19727 (sincos_test_data): Change element type to struct
19728 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19729 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19730 RUN_TEST_LOOP_sincos.
19731 * math/README.libm-test: Don't mention special handling of
19732 individual functions.
19733 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19735 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19736 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19737 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19740 * math/gen-libm-test.pl (get_variable): Remove function.
19741 (parse_args): Don't show pointer parameters to call in test
19742 names. Use "extra output N" in test names for extra outputs
19743 rather than naming variables.
19745 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19748 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19749 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19750 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19752 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19754 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19757 * math/gen-libm-test.pl (@tests): Remove variable.
19758 ($count): Likewise.
19759 (new_test): Remove function.
19760 (show_exceptions): New function.
19761 (special_functions): Use show_exceptions instead of new_test.
19762 (parse_args): Likewise.
19763 (generate_testfile): Pass only function name in generated call to
19764 print_max_error or print_complex_max_error.
19765 (get_ulps): Do not handle complex tests specially.
19766 (output_test): Rename to ...
19767 (get_all_ulps_for_test): ... this. Return a string rather than
19768 printing to a file. Require ulps to be present.
19769 (output_ulps): Generate arrays rather than #defines.
19770 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19771 (struct ulp_data): New type.
19772 (BUILD_COMPLEX_ULP): Remove macro.
19773 (compare_ulp_data): New function.
19774 (find_ulps): Likewise.
19775 (find_test_ulps): Likewise.
19776 (find_function_ulps): Likewise.
19777 (find_complex_function_ulps): Likewise.
19778 (print_max_error): Determine allowed ulps using
19779 find_function_ulps.
19780 (print_complex_max_error): Determine allowed ulps using
19781 find_complex_function_ulps.
19782 (check_float_internal): Determine max ulps using find_test_ulps.
19783 (check_float): Do not take max_ulp parameter. Update call to
19784 check_float_internal.
19785 (check_complex): Likewise.
19786 (check_int): Do not take max_ulp parameter.
19787 (check_long): Likewise.
19788 (check_bool): Likewise.
19789 (check_longlong): Likewise.
19790 (struct test_f_f_data): Remove max_ulp field.
19791 (struct test_ff_f_data): Likewise.
19792 (struct test_ff_f_data_nexttoward): Likewise.
19793 (struct test_fi_f_data): Likewise.
19794 (struct test_fl_f_data): Likewise.
19795 (struct test_if_f_data): Likewise.
19796 (struct test_fff_f_data): Likewise.
19797 (struct test_c_f_data): Likewise.
19798 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19799 (struct test_fF_f1_data): Likewise.
19800 (struct test_ffI_f1_data): Likewise.
19801 (struct test_c_c_data): Remove max_ulp field.
19802 (struct test_cc_c_data): Likewise.
19803 (struct test_f_i_data): Likewise.
19804 (struct test_ff_i_data): Likewise.
19805 (struct test_f_l_data): Likewise.
19806 (struct test_f_L_data): Likewise.
19807 (struct test_sincos_data): Likewise.
19808 (RUN_TEST_f_f): Do not handle ulps.
19809 (RUN_TEST_LOOP_f_f): Likewise.
19810 (RUN_TEST_2_f): Likewise.
19811 (RUN_TEST_LOOP_2_f): Likewise.
19812 (RUN_TEST_fff_f): Likewise.
19813 (RUN_TEST_LOOP_fff_f): Likewise.
19814 (RUN_TEST_c_f): Likewise.
19815 (RUN_TEST_LOOP_c_f): Likewise.
19816 (RUN_TEST_f_f1): Likewise.
19817 (RUN_TEST_LOOP_f_f1): Likewise.
19818 (RUN_TEST_fF_f1): Likewise.
19819 (RUN_TEST_LOOP_fF_f1): Likewise.
19820 (RUN_TEST_fI_f1): Likewise.
19821 (RUN_TEST_LOOP_fI_f1): Likewise.
19822 (RUN_TEST_ffI_f1): Likewise.
19823 (RUN_TEST_LOOP_ffI_f1): Likewise.
19824 (RUN_TEST_c_c): Likewise.
19825 (RUN_TEST_LOOP_c_c): Likewise.
19826 (RUN_TEST_cc_c): Likewise.
19827 (RUN_TEST_LOOP_cc_c): Likewise.
19828 (RUN_TEST_f_i): Likewise.
19829 (RUN_TEST_LOOP_f_i): Likewise.
19830 (RUN_TEST_f_i_tg): Likewise.
19831 (RUN_TEST_LOOP_f_i_tg): Likewise.
19832 (RUN_TEST_ff_i_tg): Likewise.
19833 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19834 (RUN_TEST_f_b): Likewise.
19835 (RUN_TEST_LOOP_f_b): Likewise.
19836 (RUN_TEST_f_b_tg): Likewise.
19837 (RUN_TEST_LOOP_f_b_tg): Likewise.
19838 (RUN_TEST_f_l): Likewise.
19839 (RUN_TEST_LOOP_f_l): Likewise.
19840 (RUN_TEST_f_L): Likewise.
19841 (RUN_TEST_LOOP_f_L): Likewise.
19842 (RUN_TEST_sincos): Likewise.
19843 (RUN_TEST_LOOP_sincos): Likewise.
19845 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19849 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19850 main case of finite arguments, set rounding mode to FE_TONEAREST
19851 and discard exceptions.
19852 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19854 (remainder_tonearest_test_data): New variable.
19855 (remainder_test_tonearest): New function.
19856 (remainder_towardzero_test_data): New variable.
19857 (remainder_test_towardzero): New function.
19858 (remainder_downward_test_data): New variable.
19859 (remainder_test_downward): New function.
19860 (remainder_upward_test_data): New variable.
19861 (remainder_test_upward): New function.
19862 (main): Call the new test functions.
19864 * math/libm-test.inc (struct test_f_f1_data): Remove field
19866 (struct test_fF_f1_data): Likewise.
19867 (struct test_ffI_f1_data): Likewise.
19868 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19869 based on value of EXTRA_EXPECTED.
19870 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19871 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19872 EXTRA_VAR based on value of EXTRA_EXPECTED.
19873 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19874 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19875 EXTRA_VAR based on value of EXTRA_EXPECTED.
19876 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19877 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19878 EXTRA_VAR based on value of EXTRA_EXPECTED.
19879 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19880 * math/gen-libm-test.pl (parse_args): Don't output initializers
19881 for extra output values.
19883 * math/libm-test.inc (check_int): Expect result to be exactly
19884 equal to expected value and do not handle ulps.
19885 (check_long): Likewise.
19886 (check_longlong): Likewise.
19888 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19890 (cimag_test_data): Likewise.
19891 (conj_test_data): Likewise.
19892 (copysign_test_data): Likewise.
19893 (cproj_test_data): Likewise.
19894 (creal_test_data): Likewise.
19895 (fabs_test_data): Likewise.
19896 (fdim_test_data): Likewise.
19897 (finite_test_data): Likewise.
19898 (floor_test_data): Likewise.
19899 (fmax_test_data): Likewise.
19900 (fmin_test_data): Likewise.
19901 (fmod_test_data): Likewise.
19902 (fpclassify_test_data): Likewise.
19903 (frexp_test_data): Likewise.
19904 (ilogb_test_data): Likewise.
19905 (isfinite_test_data): Likewise.
19906 (isgreater_test_data): Likewise.
19907 (isgreaterequal_test_data): Likewise.
19908 (isinf_test_data): Likewise.
19909 (isless_test_data): Likewise.
19910 (islessequal_test_data): Likewise.
19911 (islessgreater_test_data): Likewise.
19912 (isnan_test_data): Likewise.
19913 (isnormal_test_data): Likewise.
19914 (issignaling_test_data): Likewise.
19915 (isunordered_test_data): Likewise.
19916 (ldexp_test_data): Likewise.
19917 (lrint_test_data): Likewise.
19918 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19919 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19920 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19921 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19922 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19923 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19925 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19926 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19927 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19928 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19930 (lrint_downward_test_data): Test for "inexact" exceptions.
19931 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19932 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19933 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19935 (lrint_upward_test_data): Test for "inexact" exceptions.
19936 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19938 (llrint_test_data): Test for "inexact" exceptions.
19939 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19940 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19941 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19942 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19943 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19944 (llrint_downward_test_data): Test for "inexact" exceptions.
19945 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19946 (llrint_upward_test_data): Test for "inexact" exceptions.
19947 (logb_test_data): Likewise.
19948 (logb_downward_test_data): Likewise.
19949 (nextafter_test_data): Likewise.
19950 (nexttoward_test_data): Likewise.
19951 (remainder_test_data): Likewise.
19952 (remquo_test_data): Likewise.
19953 (scalbn_test_data): Likewise.
19954 (scalbln_test_data): Likewise.
19955 (signbit_test_data): Likewise.
19956 (sqrt_test_data): Likewise.
19957 (significand_test_data): Likewise.
19959 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19962 * benchtests/bench-modf.c (struct args): Mark arg0 as
19964 * scripts/bench.pl: Mark members of struct args as volatile.
19966 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19969 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19970 negative infinity on POWER6 or lower.
19971 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19973 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19976 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19977 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19978 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19979 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19980 (_FP_SETQNAN): New macro.
19981 (_FP_SETQNAN_SEMIRAW): Likewise.
19982 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19983 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19984 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19985 (FP_EXTEND): Use _FP_FRAC_SNANP.
19986 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19987 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19989 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19991 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19994 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19996 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19997 with DIVIDE_BY_ZERO_EXCEPTION.
19998 (gamma_test_data): Likewise.
19999 (lgamma_test_data): Likewise.
20000 (log_test_data): Likewise.
20001 (log10_test_data): Likewise.
20002 (log2_test_data): Likewise.
20003 (tgamma_test_data): Likewise.
20005 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20006 (acos_test_tonearest): Likewise.
20007 (acos_test_towardzero): Likewise.
20008 (acos_test_downward): Likewise.
20009 (acos_test_upward): Likewise.
20010 (acosh_test): Likewise.
20011 (asin_test): Likewise.
20012 (asin_test_tonearest): Likewise.
20013 (asin_test_towardzero): Likewise.
20014 (asin_test_downward): Likewise.
20015 (asin_test_upward): Likewise.
20016 (asinh_test): Likewise.
20017 (atan_test): Likewise.
20018 (atanh_test): Likewise.
20019 (atan2_test): Likewise.
20020 (cabs_test): Likewise.
20021 (cacos_test): Likewise.
20022 (cacosh_test): Likewise.
20023 (casin_test): Likewise.
20024 (casinh_test): Likewise.
20025 (catan_test): Likewise.
20026 (catanh_test): Likewise.
20027 (cbrt_test): Likewise.
20028 (ccos_test): Likewise.
20029 (ccosh_test): Likewise.
20030 (cexp_test): Likewise.
20031 (clog_test): Likewise.
20032 (clog10_test): Likewise.
20033 (cos_test): Likewise.
20034 (cos_test_tonearest): Likewise.
20035 (cos_test_towardzero): Likewise.
20036 (cos_test_downward): Likewise.
20037 (cos_test_upward): Likewise.
20038 (cosh_test): Likewise.
20039 (cosh_test_tonearest): Likewise.
20040 (cosh_test_towardzero): Likewise.
20041 (cosh_test_downward): Likewise.
20042 (cosh_test_upward): Likewise.
20043 (cpow_test): Likewise.
20044 (csin_test): Likewise.
20045 (csinh_test): Likewise.
20046 (csqrt_test): Likewise.
20047 (ctan_test): Likewise.
20048 (ctan_test_tonearest): Likewise.
20049 (ctan_test_towardzero): Likewise.
20050 (ctan_test_downward): Likewise.
20051 (ctan_test_upward): Likewise.
20052 (ctanh_test): Likewise.
20053 (ctanh_test_tonearest): Likewise.
20054 (ctanh_test_towardzero): Likewise.
20055 (ctanh_test_downward): Likewise.
20056 (ctanh_test_upward): Likewise.
20057 (erf_test): Likewise.
20058 (erfc_test): Likewise.
20059 (exp_test): Likewise.
20060 (exp_test_tonearest): Likewise.
20061 (exp_test_towardzero): Likewise.
20062 (exp_test_downward): Likewise.
20063 (exp_test_upward): Likewise.
20064 (exp10_test): Likewise.
20065 (exp2_test): Likewise.
20066 (expm1_test): Likewise.
20067 (fmod_test): Likewise.
20068 (gamma_test): Likewise.
20069 (hypot_test): Likewise.
20070 (j0_test): Likewise.
20071 (j1_test): Likewise.
20072 (jn_test): Likewise.
20073 (lgamma_test): Likewise.
20074 (log_test): Likewise.
20075 (log10_test): Likewise.
20076 (log1p_test): Likewise.
20077 (log2_test): Likewise.
20078 (logb_test_downward): Likewise.
20079 (pow_test): Likewise.
20080 (pow_test_tonearest): Likewise.
20081 (pow_test_towardzero): Likewise.
20082 (pow_test_downward): Likewise.
20083 (pow_test_upward): Likewise.
20084 (remainder_test): Likewise.
20085 (remquo_test): Likewise.
20086 (sin_test): Likewise.
20087 (sin_test_tonearest): Likewise.
20088 (sin_test_towardzero): Likewise.
20089 (sin_test_downward): Likewise.
20090 (sin_test_upward): Likewise.
20091 (sincos_test): Likewise.
20092 (sinh_test): Likewise.
20093 (sinh_test_tonearest): Likewise.
20094 (sinh_test_towardzero): Likewise.
20095 (sinh_test_downward): Likewise.
20096 (sinh_test_upward): Likewise.
20097 (sqrt_test): Likewise.
20098 (tan_test): Likewise.
20099 (tan_test_tonearest): Likewise.
20100 (tan_test_towardzero): Likewise.
20101 (tan_test_downward): Likewise.
20102 (tan_test_upward): Likewise.
20103 (tanh_test): Likewise.
20104 (tgamma_test): Likewise.
20105 (y0_test): Likewise.
20106 (y1_test): Likewise.
20107 (yn_test): Likewise.
20109 * math/gen-libm-test.pl (adjust_arg): Remove function.
20110 (special_function): Remove argument $in_func. Only handle
20111 generating output for tables of tests, not inside functions.
20112 (parse_args): Likewise.
20113 (generate_testfile): Remove variable $in_func. Update call to
20115 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20116 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20117 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20118 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20119 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20120 (MAX_VALUE_INIT): Rename macro to max_value.
20121 (MIN_VALUE_INIT): Rename macro to min_value.
20122 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20123 (plus_zero): Remove variable.
20124 (minus_zero): Likewise.
20125 (plus_infty): Likewise.
20126 (minus_infty): Likewise.
20127 (qnan_value): Likewise.
20128 (max_value): Likewise.
20129 (min_value): Likewise.
20130 (min_subnorm_value): Likewise.
20132 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20134 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20135 uint64_t or uint32_t usage.
20136 * crypt/sha256-block.c: Likewise.
20137 * crypt/sha256-crypt.c: Likewise.
20138 * crypt/sha256.c: Likewise.
20139 * crypt/sha512-block.c: Likewise.
20140 * crypt/sha512-crypt.c: Likewise.
20141 * crypt/sha512.c: Likewise.
20142 * debug/backtrace-tst.c: Likewise.
20143 * debug/pcprofiledump.c: Likewise.
20144 * elf/cache.c: Likewise.
20145 * elf/dl-cache.c: Likewise.
20146 * elf/dl-misc.c: Likewise.
20147 * elf/dl-profile.c: Likewise.
20148 * elf/dl-support.c: Likewise.
20149 * elf/ldconfig.c: Likewise.
20150 * elf/sprof.c: Likewise.
20151 * iconv/dummy-repertoire.c: Likewise.
20152 * iconv/iconv_charmap.c: Likewise.
20153 * iconv/skeleton.c: Likewise.
20154 * iconvdata/8bit-generic.c: Likewise.
20155 * iconvdata/cp737.h: Likewise.
20156 * iconvdata/cp775.h: Likewise.
20157 * iconvdata/ibm1008.h: Likewise.
20158 * iconvdata/ibm1025.h: Likewise.
20159 * iconvdata/ibm1046.h: Likewise.
20160 * iconvdata/ibm1097.h: Likewise.
20161 * iconvdata/ibm1112.h: Likewise.
20162 * iconvdata/ibm1122.h: Likewise.
20163 * iconvdata/ibm1123.h: Likewise.
20164 * iconvdata/ibm1124.h: Likewise.
20165 * iconvdata/ibm1129.h: Likewise.
20166 * iconvdata/ibm1130.h: Likewise.
20167 * iconvdata/ibm1132.h: Likewise.
20168 * iconvdata/ibm1133.h: Likewise.
20169 * iconvdata/ibm1137.h: Likewise.
20170 * iconvdata/ibm1140.h: Likewise.
20171 * iconvdata/ibm1141.h: Likewise.
20172 * iconvdata/ibm1142.h: Likewise.
20173 * iconvdata/ibm1143.h: Likewise.
20174 * iconvdata/ibm1144.h: Likewise.
20175 * iconvdata/ibm1145.h: Likewise.
20176 * iconvdata/ibm1146.h: Likewise.
20177 * iconvdata/ibm1147.h: Likewise.
20178 * iconvdata/ibm1148.h: Likewise.
20179 * iconvdata/ibm1149.h: Likewise.
20180 * iconvdata/ibm1153.h: Likewise.
20181 * iconvdata/ibm1154.h: Likewise.
20182 * iconvdata/ibm1155.h: Likewise.
20183 * iconvdata/ibm1156.h: Likewise.
20184 * iconvdata/ibm1157.h: Likewise.
20185 * iconvdata/ibm1158.h: Likewise.
20186 * iconvdata/ibm1160.h: Likewise.
20187 * iconvdata/ibm1161.h: Likewise.
20188 * iconvdata/ibm1162.h: Likewise.
20189 * iconvdata/ibm1163.h: Likewise.
20190 * iconvdata/ibm1164.h: Likewise.
20191 * iconvdata/ibm1166.h: Likewise.
20192 * iconvdata/ibm1167.h: Likewise.
20193 * iconvdata/ibm12712.h: Likewise.
20194 * iconvdata/ibm1390.h: Likewise.
20195 * iconvdata/ibm1399.h: Likewise.
20196 * iconvdata/ibm16804.h: Likewise.
20197 * iconvdata/ibm4517.h: Likewise.
20198 * iconvdata/ibm4899.h: Likewise.
20199 * iconvdata/ibm4909.h: Likewise.
20200 * iconvdata/ibm4971.h: Likewise.
20201 * iconvdata/ibm5347.h: Likewise.
20202 * iconvdata/ibm803.h: Likewise.
20203 * iconvdata/ibm856.h: Likewise.
20204 * iconvdata/ibm901.h: Likewise.
20205 * iconvdata/ibm902.h: Likewise.
20206 * iconvdata/ibm9030.h: Likewise.
20207 * iconvdata/ibm9066.h: Likewise.
20208 * iconvdata/ibm921.h: Likewise.
20209 * iconvdata/ibm922.h: Likewise.
20210 * iconvdata/ibm9448.h: Likewise.
20211 * iconvdata/isiri-3342.h: Likewise.
20212 * iconvdata/jis0201.h: Likewise.
20213 * include/link.h: Likewise.
20214 * include/netdb.h: Likewise.
20215 * inet/check_native.c: Likewise.
20216 * inet/check_pf.c: Likewise.
20217 * inet/getipv4sourcefilter.c: Likewise.
20218 * inet/getnameinfo.c: Likewise.
20219 * inet/getsourcefilter.c: Likewise.
20220 * inet/htonl.c: Likewise.
20221 * inet/setipv4sourcefilter.c: Likewise.
20222 * inet/setsourcefilter.c: Likewise.
20223 * inet/test-inet6_opt.c: Likewise.
20224 * inet/tst-network.c: Likewise.
20225 * locale/C-collate.c: Likewise.
20226 * locale/C-ctype.c: Likewise.
20227 * locale/C-time.c: Likewise.
20228 * locale/C-translit.h: Likewise.
20229 * locale/loadarchive.c: Likewise.
20230 * locale/programs/3level.h: Likewise.
20231 * locale/programs/charmap.c: Likewise.
20232 * locale/programs/charmap.h: Likewise.
20233 * locale/programs/ld-address.c: Likewise.
20234 * locale/programs/ld-collate.c: Likewise.
20235 * locale/programs/ld-ctype.c: Likewise.
20236 * locale/programs/ld-identification.c: Likewise.
20237 * locale/programs/ld-measurement.c: Likewise.
20238 * locale/programs/ld-messages.c: Likewise.
20239 * locale/programs/ld-monetary.c: Likewise.
20240 * locale/programs/ld-name.c: Likewise.
20241 * locale/programs/ld-numeric.c: Likewise.
20242 * locale/programs/ld-paper.c: Likewise.
20243 * locale/programs/ld-telephone.c: Likewise.
20244 * locale/programs/ld-time.c: Likewise.
20245 * locale/programs/linereader.c: Likewise.
20246 * locale/programs/locale.c: Likewise.
20247 * locale/programs/locarchive.c: Likewise.
20248 * locale/programs/locfile.h: Likewise.
20249 * locale/programs/repertoire.c: Likewise.
20250 * locale/programs/simple-hash.c: Likewise.
20251 * locale/programs/simple-hash.h: Likewise.
20252 * malloc/memusage.c: Likewise.
20253 * malloc/memusagestat.c: Likewise.
20254 * nis/nis_defaults.c: Likewise.
20255 * nis/nis_hash.c: Likewise.
20256 * nis/nis_print.c: Likewise.
20257 * nis/nis_xdr.c: Likewise.
20258 * nscd/connections.c: Likewise.
20259 * nscd/hstcache.c: Likewise.
20260 * nscd/nscd_gethst_r.c: Likewise.
20261 * nscd/nscd_getserv_r.c: Likewise.
20262 * nscd/nscd_helper.c: Likewise.
20263 * nscd/servicescache.c: Likewise.
20264 * nss/makedb.c: Likewise.
20265 * nss/nss_db/db-XXX.c: Likewise.
20266 * nss/nss_db/db-initgroups.c: Likewise.
20267 * nss/nss_db/db-netgrp.c: Likewise.
20268 * nss/nss_files/files-network.c: Likewise.
20269 * nss/nss_files/files-parse.c: Likewise.
20270 * posix/bug-regex5.c: Likewise.
20271 * posix/fnmatch_loop.c: Likewise.
20272 * posix/regcomp.c: Likewise.
20273 * posix/regexec.c: Likewise.
20274 * posix/tst-rfc3484-2.c: Likewise.
20275 * posix/tst-rfc3484-3.c: Likewise.
20276 * posix/tst-rfc3484.c: Likewise.
20277 * resolv/nss_dns/dns-canon.c: Likewise.
20278 * resolv/nss_dns/dns-network.c: Likewise.
20279 * resolv/res_init.c: Likewise.
20280 * resolv/res_mkquery.c: Likewise.
20281 * resolv/tst-aton.c: Likewise.
20282 * stdlib/cxa_atexit.c: Likewise.
20283 * stdlib/cxa_finalize.c: Likewise.
20284 * stdlib/gen-fpioconst.c: Likewise.
20285 * stdlib/strtol_l.c: Likewise.
20286 * string/tst-endian.c: Likewise.
20287 * sunrpc/auth_des.c: Likewise.
20288 * sunrpc/clnt_udp.c: Likewise.
20289 * sunrpc/rtime.c: Likewise.
20290 * sunrpc/svcauth_des.c: Likewise.
20291 * sunrpc/xdr.c: Likewise.
20292 * sunrpc/xdr_intXX_t.c: Likewise.
20293 * sunrpc/xdr_rec.c: Likewise.
20294 * sysdeps/generic/ldconfig.h: Likewise.
20295 * sysdeps/generic/ldsodefs.h: Likewise.
20296 * sysdeps/generic/memusage.h: Likewise.
20297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20300 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20307 * sysdeps/posix/getaddrinfo.c: Likewise.
20308 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20309 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20310 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20311 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20312 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20313 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20314 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20315 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20316 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20317 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20318 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20319 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20320 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20321 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20322 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20323 * sysdeps/x86_64/dl-tls.h: Likewise.
20324 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20325 * time/alt_digit.c: Likewise.
20326 * time/era.c: Likewise.
20327 * wcsmbs/tst-c16c32-1.c: Likewise.
20329 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20331 * math/libm-test.inc (struct test_sincos_data): New type.
20332 (RUN_TEST_LOOP_sincos): New macro.
20333 (sincos_test_data): New variable.
20334 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20336 2013-05-16 Richard Henderson <rth@redhat.com>
20338 * math/atest-exp2.c (LIMB64): New macro.
20339 (CONSTSZ): New macro.
20340 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20342 (print_mpn_fp): ... to function scope.
20343 (read_mpn_hex): Remove.
20344 (get_log2): Remove.
20345 (exp2_mpn): Use mp_log2.
20346 (main): Use mp_exp1.
20348 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20350 * math/libm-test.inc: Remove comment about not testing "inexact"
20352 (INEXACT_EXCEPTION): New macro.
20353 (NO_INEXACT_EXCEPTION): Likewise.
20354 (INVALID_EXCEPTION_OK): Update value.
20355 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20356 (OVERFLOW_EXCEPTION_OK): Likewise.
20357 (UNDERFLOW_EXCEPTION_OK): Likewise.
20358 (IGNORE_ZERO_INF_SIGN): Likewise.
20359 (ERRNO_UNCHANGED): Likewise.
20360 (ERRNO_EDOM): Likewise.
20361 (ERRNO_ERANGE): Likewise.
20362 (test_exceptions): Handle testing "inexact" exceptions.
20363 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20364 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20365 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20366 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20368 (rint_towardzero_test_data): Likewise.
20369 (rint_downward_test_data): Likewise.
20370 (rint_upward_test_data): Likewise.
20372 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20373 with OVERFLOW_EXCEPTION.
20374 (exp10_test_data): Likewise.
20375 (exp2_test_data): Likewise.
20376 (expm1_test_data): Likewise.
20377 (lgamma_test_data): Likewise.
20378 (pow_test_data): Likewise.
20379 (tgamma_test_data): Likewise.
20380 (yn_test_data): Remove duplicate test of overflow.
20382 * math/libm-test.inc (struct test_cc_c_data): New type.
20383 (RUN_TEST_LOOP_cc_c): New macro.
20384 (cpow_test_data): New variable.
20385 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20387 * math/libm-test.inc (struct test_f_L_data): New type.
20388 (RUN_TEST_LOOP_f_L): New macro.
20389 (llrint_test_data): New variable.
20390 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20391 (llrint_tonearest_test_data): New variable.
20392 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20393 (llrint_towardzero_test_data): New variable.
20394 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20395 (llrint_downward_test_data): New variable.
20396 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20397 (llrint_upward_test_data): New variable.
20398 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20399 (llround_test_data): New variable.
20400 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20402 2013-05-13 Peter Collingbourne <pcc@google.com>
20404 * math/atest-exp2.c (get_log2): Remove const attribute.
20406 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20408 * math/libm-test.inc (struct test_f_l_data): New type.
20409 (RUN_TEST_LOOP_f_l): New macro.
20410 (lrint_test_data): New variable.
20411 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20412 (lrint_tonearest_test_data): New variable.
20413 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20414 (lrint_towardzero_test_data): New variable.
20415 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20416 (lrint_downward_test_data): New variable.
20417 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20418 (lrint_upward_test_data): New variable.
20419 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20420 (lround_test_data): New variable.
20421 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20423 2013-05-15 Peter Collingbourne <pcc@google.com>
20425 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20426 (EXTRACT_WORDS64) Use where appropriate.
20427 (INSERT_WORDS64) Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20430 constraints with x constraints.
20431 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20433 * malloc/obstack.c (_obstack_compat): Add initializer.
20435 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20438 si_trapno and add si_addr_lsb to _sifields.sigfault.
20439 (si_trapno): Remove macro.
20440 (si_addr_lsb): Define new macro.
20441 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20443 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20445 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20446 instead of TEST_f_l.
20447 (llrint_test_tonearest): Likewise.
20448 (llrint_test_towardzero): Likewise.
20449 (llrint_test_downward): Likewise.
20450 (llrint_test_upward): Likewise.
20451 (llround_test): Likewise.
20453 * math/libm-test.inc (struct test_f_i_data): Add comment.
20454 (RUN_TEST_LOOP_f_b): New macro.
20455 (RUN_TEST_LOOP_f_b_tg): Likewise.
20456 (finite_test_data): New variable.
20457 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20458 (isfinite_test_data): New variable.
20459 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20460 (isinf_test_data): New variable.
20461 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20462 (isnan_test_data): New variable.
20463 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20464 (isnormal_test_data): New variable.
20465 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20466 (issignaling_test_data): New variable.
20467 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20468 (signbit_test_data): New variable.
20469 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20471 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20472 with INVALID_EXCEPTION.
20473 (acosh_test_data): Likewise.
20474 (asin_test_data): Likewise.
20475 (atanh_test_data): Likewise.
20476 (fmod_test_data): Likewise.
20477 (log_test_data): Likewise.
20478 (log10_test_data): Likewise.
20479 (log2_test_data): Likewise.
20480 (pow_test_data): Likewise.
20481 (sqrt_test_data): Likewise.
20482 (y0_test_data): Likewise.
20483 (y1_test_data): Likewise.
20484 (yn_test_data): Likewise.
20486 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20489 * math/libm-test.inc (struct test_ff_i_data): New type.
20490 (RUN_TEST_LOOP_ff_i_tg): New macro.
20491 (isgreater_test_data): New variable.
20492 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20493 (isgreaterequal_test_data): New variable.
20494 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20495 (isless_test_data): New variable.
20496 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20497 (islessequal_test_data): New variable.
20498 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20499 (islessgreater_test_data): New variable.
20500 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20501 (isunordered_test_data): New variable.
20502 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20504 2013-05-14 David S. Miller <davem@davemloft.net>
20506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20508 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20510 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20512 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20514 (struct test_f_i_data): Change type of max_ulp to int.
20516 * math/libm-test.inc (test_ffI_f1_data): New type.
20517 (RUN_TEST_LOOP_ffI_f1): New macro.
20518 (remquo_test_data): New variable.
20519 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20521 * setjmp/tst-setjmp-fp.c: New file.
20522 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20523 (link-libm): New variable.
20524 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20526 * math/libm-test.inc (struct test_f_i_data): New type.
20527 (RUN_TEST_LOOP_f_i): New macro.
20528 (RUN_TEST_LOOP_f_i_tg): Likewise.
20529 (fpclassify_test_data): New variable.
20530 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20531 (ilogb_test_data): New variable.
20532 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20534 * math/libm-test.inc (scalbln_test): Correct function name in END
20537 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20538 (RUN_TEST_LOOP_fI_f1): New macro.
20539 (frexp_test_data): New variable.
20540 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20542 * math/libm-test.inc (struct test_fF_f1_data): New type.
20543 (RUN_TEST_LOOP_fF_f1): New macro.
20544 (modf_test_data): New variable.
20545 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20547 * math/libm-test.inc (struct test_f_f1_data): New type.
20548 (RUN_TEST_LOOP_f_f1): New macro.
20549 (gamma_test_data): New variable.
20550 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20551 (lgamma_test_data): New variable.
20552 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20554 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20556 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20557 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20558 (main): Comment "tls" pseudo-hwcap.
20560 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20562 * math/libm-test.inc (struct test_fl_f_data): New type.
20563 (RUN_TEST_LOOP_fl_f): New variable.
20564 (scalbln_test_data): New variable.
20565 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20567 * math/libm-test.inc (struct test_fi_f_data): New type.
20568 (RUN_TEST_LOOP_fi_f): New macro.
20569 (ldexp_test_data): New variable.
20570 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20571 (scalbn_test_data): New variable.
20572 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20574 * math/libm-test.inc (struct test_c_f_data): New type.
20575 (RUN_TEST_LOOP_c_f): New macro.
20576 (cabs_test_data): New variable.
20577 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20578 (carg_test_data): New variable.
20579 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20580 (cimag_test_data): New variable.
20581 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20582 (creal_test_data): New variable.
20583 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20585 * math/libm-test.inc (struct test_if_f_data): New type.
20586 (RUN_TEST_LOOP_if_f): New macro.
20587 (jn_test_data): New variable.
20588 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20589 (yn_test_data): New variable.
20590 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20592 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20594 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20596 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20597 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20599 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20601 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20602 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20603 (bench-deps): Add bench-timing.h.
20604 * benchtests-bench-skeleton.c: Include bench-timing.h.
20605 (main): Use TIMING_* macros instead of clock_gettime.
20606 * benchtests/bench-timing.h: New file.
20609 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20610 Renamed from _LIB_VERSION.
20611 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20613 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20615 * math/libm-test.inc (struct test_fff_f_data): New type.
20616 (RUN_TEST_LOOP_fff_f): New macro.
20617 (fma_test_data): New variable.
20618 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20619 (fma_towardzero_test_data): New variable.
20620 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20621 (fma_downward_test_data): New variable.
20622 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20623 (fma_upward_test_data): New variable.
20624 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20626 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20627 (struct test_c_c_data): New type.
20628 (RUN_TEST_LOOP_c_c): New macro.
20629 (cacos_test_data): New variable.
20630 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20631 (cacosh_test_data): New variable.
20632 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20633 (casin_test_data): New variable.
20634 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20635 (casinh_test_data): New variable.
20636 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20637 (catan_test_data): New variable.
20638 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20639 (catanh_test_data): New variable.
20640 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20641 (ccos_test_data): New variable.
20642 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20643 (ccosh_test_data): New variable.
20644 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20645 (cexp_test_data): New variable.
20646 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20647 (clog_test_data): New variable.
20648 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20649 (clog10_test_data): New variable.
20650 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20651 (conj_test_data): New variable.
20652 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20653 (cproj_test_data): New variable.
20654 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20655 (csin_test_data): New variable.
20656 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20657 (csinh_test_data): New variable.
20658 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20659 (csqrt_test_data): New variable.
20660 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20661 (ctan_test_data): New variable.
20662 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20663 (ctan_tonearest_test_data): New variable.
20664 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20665 (ctan_towardzero_test_data): New variable.
20666 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20667 (ctan_downward_test_data): New variable.
20668 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20669 (ctan_upward_test_data): New variable.
20670 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20671 (ctanh_test_data): New variable.
20672 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20673 (ctanh_tonearest_test_data): New variable.
20674 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20675 (ctanh_towardzero_test_data): New variable.
20676 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20677 (ctanh_downward_test_data): New variable.
20678 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20679 (ctanh_upward_test_data): New variable.
20680 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20681 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20684 * math/libm-test.inc (struct test_ff_f_data): New type.
20685 (struct test_ff_f_data_nexttoward): Likewise.
20686 (RUN_TEST_LOOP_2_f): New macro.
20687 (RUN_TEST_LOOP_ff_f): Likewise.
20688 (atan2_test_data): New variable.
20689 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20690 (copysign_test_data): New variable.
20691 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20692 (fdim_test_data): New variable.
20693 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20694 (fmax_test_data): New variable.
20695 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20696 (fmin_test_data): New variable.
20697 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20698 (fmod_test_data): New variable.
20699 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20700 (hypot_test_data): New variable.
20701 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20702 (nextafter_test_data): New variable.
20703 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20704 (nexttoward_test_data): New variable.
20705 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20706 (pow_test_data): New variable.
20707 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20708 (pow_tonearest_test_data): New variable.
20709 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20710 (pow_towardzero_test_data): New variable.
20711 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20712 (pow_downward_test_data): New variable.
20713 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20714 (pow_upward_test_data): New variable.
20715 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20716 (remainder_test_data): New variable.
20717 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20718 (scalb_test_data): New variable.
20719 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20720 * sysdeps/i386/fpu/libm-test-ulps: Update.
20722 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20724 * math/libm-test.inc (fma_test): Use max_value instead of local
20726 (nextafter_test): Likewise.
20728 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20729 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20730 (acos_downward_test_data): New variable.
20731 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20732 (acos_upward_test_data): New variable.
20733 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20734 (acosh_test_data): New variable.
20735 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20736 (asin_test_data): New variable.
20737 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20738 (asin_tonearest_test_data): New variable.
20739 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20740 (asin_towardzero_test_data): New variable.
20741 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20742 (asin_downward_test_data): New variable.
20743 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20744 (asin_upward_test_data): New variable.
20745 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20746 (asinh_test_data): New variable.
20747 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20748 (atan_test_data): New variable.
20749 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20750 (atanh_test_data): New variable.
20751 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20752 (cbrt_test_data): New variable.
20753 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20754 (ceil_test_data): New variable.
20755 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20756 (cos_test_data): New variable.
20757 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20758 (cos_tonearest_test_data): New variable.
20759 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20760 (cos_towardzero_test_data): New variable.
20761 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20762 (cos_downward_test_data): New variable.
20763 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20764 (cos_upward_test_data): New variable.
20765 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20766 (cosh_test_data): New variable.
20767 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20768 (cosh_tonearest_test_data): New variable.
20769 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20770 (cosh_towardzero_test_data): New variable.
20771 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20772 (cosh_downward_test_data): New variable.
20773 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20774 (cosh_upward_test_data): New variable.
20775 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20776 (erf_test_data): New variable.
20777 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20778 (erfc_test_data): New variable.
20779 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20780 (exp_test_data): New variable.
20781 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20782 (exp_tonearest_test_data): New variable.
20783 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20784 (exp_towardzero_test_data): New variable.
20785 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20786 (exp_downward_test_data): New variable.
20787 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20788 (exp_upward_test_data): New variable.
20789 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20790 (exp10_test_data): New variable.
20791 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20792 (exp2_test_data): New variable.
20793 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20794 (expm1_test_data): New variable.
20795 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20796 (fabs_test_data): New variable.
20797 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20798 (floor_test_data): New variable.
20799 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20800 (j0_test_data): New variable.
20801 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20802 (j1_test_data): New variable.
20803 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20804 (log_test_data): New variable.
20805 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20806 (log10_test_data): New variable.
20807 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20808 (log1p_test_data): New variable.
20809 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20810 (log2_test_data): New variable.
20811 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20812 (logb_test_data): New variable.
20813 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20814 (logb_downward_test_data): New variable.
20815 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20816 (nearbyint_test_data): New variable.
20817 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20818 (rint_test_data): New variable.
20819 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20820 (rint_tonearest_test_data): New variable.
20821 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20822 (rint_towardzero_test_data): New variable.
20823 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20824 (rint_downward_test_data): New variable.
20825 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20826 (rint_upward_test_data): New variable.
20827 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20828 (round_test_data): New variable.
20829 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20830 (sin_test_data): New variable.
20831 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20832 (sin_tonearest_test_data): New variable.
20833 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20834 (sin_towardzero_test_data): New variable.
20835 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20836 (sin_downward_test_data): New variable.
20837 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20838 (sin_upward_test_data): New variable.
20839 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20840 (sinh_test_data): New variable.
20841 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20842 (sinh_tonearest_test_data): New variable.
20843 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20844 (sinh_towardzero_test_data): New variable.
20845 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20846 (sinh_downward_test_data): New variable.
20847 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20848 (sinh_upward_test_data): New variable.
20849 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20850 (sqrt_test_data): New variable.
20851 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20852 (tan_test_data): New variable.
20853 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20854 (tan_tonearest_test_data): New variable.
20855 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20856 (tan_towardzero_test_data): New variable.
20857 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20858 (tan_downward_test_data): New variable.
20859 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20860 (tan_upward_test_data): New variable.
20861 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20862 (tanh_test_data): New variable.
20863 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20864 (tgamma_test_data): New variable.
20865 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20866 (trunc_test_data): New variable.
20867 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20868 (y0_test_data): New variable.
20869 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20870 (y1_test_data): New variable.
20871 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20872 (significand_test_data): New variable.
20873 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20875 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20878 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20880 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20882 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20884 2013-05-10 Andreas Jaeger <aj@suse.de>
20887 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20888 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20890 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20892 * math/gen-libm-test.pl (adjust_arg): New function.
20893 (special_functions): Handle generating output in both functions
20895 (parse_args): Likewise.
20896 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20897 $in_func argument to parse_args.
20898 * math/libm-test.inc (struct test_f_f_data): New type.
20899 (IF_ROUND_INIT_): New macro.
20900 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20901 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20902 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20903 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20904 (ROUND_RESTORE_): Likewise.
20905 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20906 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20907 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20908 (ROUND_RESTORE_FE_UPWARD): Likewise.
20909 (RUN_TEST_LOOP_f_f): New macro.
20910 (acos_test_data): New variable.
20911 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20912 (acos_tonearest_test_data): New variable.
20913 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20915 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20917 * benchtests/bench-skeleton.c (startup): Fix coding style.
20919 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20922 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20923 negative infinity argument.
20924 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20925 negative infinity argument.
20926 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20927 negative infinity argument.
20928 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20931 2013-05-10 Florian Weimer <fweimer@redhat.com>
20933 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20934 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20935 * iconv/iconv_prog.c (main): Likewise.
20936 * locale/programs/charmap-dir.c (charmap_readdir)
20937 (fopen_uncompressed): Likewise.
20938 * locale/programs/locfile.c (siblings_uncached)
20939 (write_locale_data): Use lstat64 instead of lstat.
20940 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20943 2013-05-10 Andreas Jaeger <aj@suse.de>
20946 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20948 Include <locale.h>.
20950 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20952 * elf/dl-close.c (_dl_close_worker): Add comments.
20954 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20959 (__ieee754_rem_pio2l): Update comments.
20962 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20964 (__ieee754_rem_pio2l): Update comments.
20966 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20967 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20969 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20972 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20973 (M_PI_34_LOG10El): Likewise.
20974 (M_PI2_LOG10El): Likewise.
20975 (M_PI4_LOG10El): Likewise.
20976 (M_PI_LOG10El): Likewise.
20978 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20982 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20984 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20985 (MINUS_ZERO_INIT): Likewise.
20986 (PLUS_INFTY_INIT): Likewise.
20987 (MINUS_INFTY_INIT): Likewise.
20988 (QNAN_VALUE_INIT): Likewise.
20989 (MAX_VALUE_INIT): Likewise.
20990 (MIN_VALUE_INIT): Likewise.
20991 (MIN_SUBNORM_VALUE_INIT): Likewise.
20992 (plus_zero): Initialize with PLUS_ZERO_INIT.
20993 (minus_zero): Initialize with MINUS_ZERO_INIT.
20994 (plus_infty): Initialize with PLUS_INFTY_INIT.
20995 (minus_infty): Initialize with MINUS_INFTY_INIT.
20996 (qnan_value): Initialize with QNAN_VALUE_INIT.
20997 (max_value): Initialize with MAX_VALUE_INIT.
20998 (min_value): Initialize with MIN_VALUE_INIT.
20999 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21001 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21002 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21003 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21004 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21006 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21007 (RUN_TEST_2_f): Likewise.
21008 (RUN_TEST_ff_f): Likewise.
21009 (RUN_TEST_fi_f): Likewise.
21010 (RUN_TEST_fl_f): Likewise.
21011 (RUN_TEST_fff_f): Likewise.
21012 (RUN_TEST_c_f): Likewise.
21013 (RUN_TEST_f_f1): Likewise.
21014 (RUN_TEST_fF_f1): Likewise.
21015 (RUN_TEST_fI_f1): Likewise.
21016 (RUN_TEST_ffI_f1): Likewise.
21017 (RUN_TEST_c_c): Likewise.
21018 (RUN_TEST_cc_c): Likewise.
21019 (RUN_TEST_f_i): Likewise.
21020 (RUN_TEST_f_i_tg): Likewise.
21021 (RUN_TEST_ff_i_tg): Likewise.
21022 (RUN_TEST_f_b): Likewise.
21023 (RUN_TEST_f_b_tg): Likewise.
21024 (RUN_TEST_f_l): Likewise.
21025 (RUN_TEST_f_L): Likewise.
21026 (RUN_TEST_sincos): Likewise.
21027 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21028 whether to show exceptions. Do not include ");\n" in return
21030 (special_functions): Output call to RUN_TEST_sincos instead of
21031 check_float calls. Update calls to new_test.
21032 (parse_args): Output call to single RUN_TEST_* macro instead of
21033 check_* calls and other assignments. Update calls to new_test.
21039 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21040 input to result for tgamma overflow.
21041 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21042 (gamma_coeff): New variable.
21043 (NCOEFF): New macro.
21044 (gamma_positive): New function.
21045 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21046 underflow here. Use gamma_positive instead of exp (lgamma) for
21048 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21049 (gamma_coeff): New variable.
21050 (NCOEFF): New macro.
21051 (gammaf_positive): New function.
21052 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21053 underflow here. Use gamma_positive instead of exp (lgamma) for
21055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21056 (gamma_coeff): New variable.
21057 (NCOEFF): New macro.
21058 (gammal_positive): New function.
21059 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21060 underflow here. Use gamma_positive instead of exp (lgamma) for
21062 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21063 (gamma_coeff): New variable.
21064 (NCOEFF): New macro.
21065 (gammal_positive): New function.
21066 (__ieee754_gammal_r): Handle positive infinity, overflow and
21067 underflow here. Handle NaN the same as positive infinity. Remove
21068 check x < 0xffffffff for negative integers. Use gamma_positive
21069 instead of exp (lgamma) for other arguments.
21070 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21071 (gamma_coeff): New variable.
21072 (NCOEFF): New macro.
21073 (gammal_positive): New function.
21074 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21075 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21080 * sysdeps/generic/math_private.h (__gamma_productf): New
21082 (__gamma_product): Likewise.
21083 (__gamma_productl): Likewise.
21084 * math/Makefile (libm-calls): Add gamma_product.
21085 * math/libm-test.inc (tgamma_test): Add more tests.
21086 * sysdeps/i386/fpu/libm-test-ulps: Update.
21087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21089 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21091 * benchtests/bench-skeleton.c (main): Preheat CPU.
21093 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21095 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21097 2013-05-07 Roland McGrath <roland@hack.frob.com>
21099 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21100 and _dl_skip_args_internal.
21102 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21104 * manual/message.texi (Message Translation): Talk about users.
21105 Message to key mapping impacts design.
21107 2013-05-06 Roland McGrath <roland@hack.frob.com>
21109 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21111 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21113 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21114 * sysdeps/wordsize-64/glob64.c: ... here.
21116 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21117 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21120 * debug/getlogin_r_chk.c: Moved to ...
21121 * login/getlogin_r_chk.c: ... here.
21122 * debug/Makefile (routines): Move getlogin_r_chk to ...
21123 * login/Makefile (routines): ... here.
21124 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21125 * login/Versions (libc: GLIBC_2.4): ... here.
21127 * io/poll.c (__poll): Renamed from poll.
21128 Add libc_hidden_def.
21129 (poll): Define as weak alias.
21131 * debug/ptsname_r_chk.c: Moved to ...
21132 * login/ptsname_r_chk.c: ... here.
21133 * debug/Makefile (routines): Move ptsname_r_chk to ...
21134 * login/Makefile (routines): ... here.
21135 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21136 * login/Versions (libc: GLIBC_2.4): ... here.
21138 * posix/getlogin.c: Moved to ...
21139 * login/getlogin.c: ... here.
21140 * posix/getlogin_r.c: Moved to ...
21141 * login/getlogin_r.c: ... here.
21142 * posix/getlogin_r.c: Moved to ...
21143 * login/getlogin_r.c: ... here.
21144 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21145 * login/Makefile (routines): ... here.
21146 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21147 * login/Versions (libc: GLIBC_2.0): ... here.
21149 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21150 (setrlimit): Define as weak alias.
21152 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21153 Call __ names for open, ftruncate, and close.
21154 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21155 (truncate): Define as weak alias.
21157 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21159 * math/gen-libm-test.pl (parse_args): Initialize x before each
21160 test of frexp, modf and remquo.
21162 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21163 test signgam value.
21165 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21169 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21171 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21173 2013-05-06 Roland McGrath <roland@hack.frob.com>
21175 * elf/dl-writev.h: New file.
21176 * elf/dl-misc.c: Include it.
21177 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21178 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21180 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21182 * math/libm-test.inc (noXFails): Remove variable.
21183 (noXPasses): Likewise.
21184 (BUILD_COMPLEX_INT): Remove macro.
21185 (print_screen): Remove xfail argument.
21186 (print_screen_max_error): Likewise.
21187 (update_stats): Likewise.
21188 (print_max_error): Likewise. Update calls to other affected
21190 (print_complex_max_error): Likewise.
21191 (test_single_exception): Update calls to print_screen.
21192 (test_single_errno): Likewise.
21193 (check_float_internal): Remove xfail argument. Update calls to
21194 other affected functions.
21195 (check_float): Likewise.
21196 (check_complex): Likewise.
21197 (check_int): Likewise.
21198 (check_long): Likewise.
21199 (check_bool): Likewise.
21200 (check_longlong): Likewise.
21201 (main): Don't print noXFails and noXPasses.
21202 * math/gen-libm-test.pl (top level): Don't mention expected
21203 failure handling in comment.
21204 (new_test): Don't handle expected failures.
21205 (parse_args): Don't mention expected failure handling in comment.
21206 (generate_testfile): Don't handle expected failures.
21207 (parse_ulps): Likewise.
21208 (print_ulps_file): Likewise.
21209 (get_failure): Remove function.
21210 (output_test): Don't handle expected failures.
21211 * make/README.libm-test: Don't mention expected failure handling.
21213 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21214 (minus_zero): Likewise.
21215 (plus_infty): Likewise.
21216 (minus_infty): Likewise.
21217 (qnan_value): Likewise.
21218 (max_value): Likewise.
21219 (min_value): Likewise.
21220 (min_subnorm_value): Likewise.
21221 (initialize): Do not initialize those variables dynamically.
21223 2013-05-03 Roland McGrath <roland@hack.frob.com>
21225 * io/open.c (__open_2): Moved to ...
21226 * io/open_2.c: ... this new file.
21227 * io/open64.c (__open64_2): Moved to ...
21228 * io/open64_2.c: ... this new file.
21229 * io/openat.c (__openat_2): Moved to ...
21230 * io/openat_2.c: ... this new file.
21231 * io/openat64.c (__openat64_2): Moved to ...
21232 * io/openat64_2.c: ... this new file.
21233 * io/Makefile (routines): Add them.
21234 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21235 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21236 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21237 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21238 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21239 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21240 (__openat64): Add hidden_ver.
21241 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21242 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21244 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21245 Separately conditionalize setting of GLRO(dl_sysinfo) so
21246 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21247 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21249 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21251 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21252 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21254 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21255 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21256 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21257 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21258 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21260 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21262 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21263 test signgam value.
21265 * math/libm-test.inc (hypot_test): Do not use
21266 IGNORE_ZERO_INF_SIGN.
21268 2013-05-03 Andreas Jaeger <aj@suse.de>
21270 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21272 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21273 (PF_MAX): Adjust for VSOCK change.
21275 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21279 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21282 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21283 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21284 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21286 2013-05-02 David S. Miller <davem@davemloft.net>
21288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21290 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21292 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21294 2013-05-01 Roland McGrath <roland@hack.frob.com>
21296 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21298 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21301 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21302 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21303 Use __attribute__ ((__gnu_inline__)).
21304 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21305 Don't use __attribute__ ((__gnu_inline__)).
21307 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21310 * math/s_catan.c (__catan): Handle small real or imaginary part of
21311 input specially to avoid spurious underflow.
21312 * math/s_catanf.c (__catanf): Likewise.
21313 * math/s_catanh.c (__catanh): Likewise.
21314 * math/s_catanhf.c (__catanhf): Likewise.
21315 * math/s_catanhl.c (__catanhl): Likewise.
21316 * math/s_catanl.c (__catanl): Likewise.
21317 * math/libm-test.inc (catan_test): Add more tests.
21318 (catanh_test): Likewise.
21319 * sysdeps/i386/fpu/libm-test-ulps: Update.
21320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21322 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21326 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21329 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21330 accurately for denominator in atan2.
21331 * math/s_catanf.c (__catanf): Likewise.
21332 * math/s_catanh.c (__catanh): Likewise.
21333 * math/s_catanhf.c (__catanhf): Likewise.
21334 * math/s_catanhl.c (__catanhl): Likewise.
21335 * math/s_catanl.c (__catanl): Likewise.
21336 * math/libm-test.inc (catan_test): Add more tests.
21337 (catanh_test): Likewise.
21338 * sysdeps/i386/fpu/libm-test-ulps: Update.
21339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21341 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21343 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21345 * benchtests/Makefile (bench): Remove slow benchmarks.
21346 * benchtests/atan-inputs: Add slow benchmark inputs.
21347 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21348 (BENCH_FUNC): Accept variant offset.
21350 * benchtests/bench-skeleton.c (main): Run benchmark for each
21352 * benchtests/cos-inputs: Add slow benchmark inputs.
21353 * benchtests/exp-inputs: Likewise.
21354 * benchtests/pow-inputs: Likewise.
21355 * benchtests/sin-inputs: Likewise.
21356 * benchtests/slowatan-inputs: Remove.
21357 * benchtests/slowatan.c: Remove.
21358 * benchtests/slowcos-inputs: Remove.
21359 * benchtests/slowcos.c: Remove.
21360 * benchtests/slowexp-inputs: Remove.
21361 * benchtests/slowexp.c: Remove.
21362 * benchtests/slowpow-inputs: Remove.
21363 * benchtests/slowpow.c: Remove.
21364 * benchtests/slowsin-inputs: Remove.
21365 * benchtests/slowsin.c: Remove.
21366 * benchtests/slowtan-inputs: Remove.
21367 * benchtests/slowtan.c: Remove.
21368 * benchtests/tan-inputs: Add slow benchmark inputs.
21369 * scripts/bench.pl: Parse comments and directives.
21371 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21373 ($(objpfx)bench-%.c): Remove *-ITER.
21374 * benchtests/bench-modf.c: Remove definition of ITER.
21375 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21376 (main): Loop for DURATION seconds instead of fixed number of
21378 * scripts/bench.pl: Don't expect iterations in parameters.
21380 2013-04-29 Roland McGrath <roland@hack.frob.com>
21382 * io/fchdir.c (__fchdir): Renamed from fchdir.
21383 (fchdir): Define as weak alias.
21385 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21387 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21388 (ERRNO_EDOM): Likewise.
21389 (ERRNO_ERANGE): Likewise.
21390 (noErrnoTests): New variable.
21391 (init_max_error): Set errno to 0.
21392 (test_single_errno): New function.
21393 (test_errno): Likewise.
21394 (check_float_internal): Call test_errno. Set errno to 0.
21395 (check_complex): Refer to errno tests in comment.
21396 (check_int): Call test_errno. Set errno to 0.
21397 (check_long): Likewise.
21398 (check_bool): Likewise.
21399 (check_longlong): Likewise.
21400 (cos_test): Use ERRNO_* flags for errno tests instead of
21402 (expm1_test): Likewise.
21403 (fmod_test): Likewise.
21404 (ilogb_test): Likewise.
21405 (lgamma_test): Likewise.
21406 (pow_test): Likewise.
21407 (remainder_test): Likewise.
21408 (sin_test): Likewise.
21409 (tan_test): Likewise.
21410 (yn_test): Likewise.
21411 (initialize): Set errno to 0.
21412 (main): Print number of errno tests.
21413 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21415 2013-04-29 Andreas Jaeger <aj@suse.de>
21418 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21422 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21423 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21427 * stdlib/random.c (__initstate): Return NULL if
21431 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21432 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21435 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21439 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21441 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21442 of individual tests.
21443 (casin_test): Likewise.
21444 (casinh_test): Likewise.
21446 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21449 * math/s_catan.c (__catan): Handle arguments with large real or
21450 imaginary part separately without squaring.
21451 * math/s_catanf.c (__catanf): Likewise.
21452 * math/s_catanh.c (__catanh): Likewise.
21453 * math/s_catanhf.c (__catanhf): Likewise.
21454 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21456 (__catanhl): Handle arguments with large real or imaginary part
21457 separately without squaring.
21458 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21460 (__catanl): Handle arguments with large real or imaginary part
21461 separately without squaring.
21462 * math/libm-test.inc (catan_test): Add more tests.
21463 (catanh_test): Likewise.
21464 * sysdeps/i386/fpu/libm-test-ulps: Update.
21465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21467 2013-04-27 Andreas Jaeger <aj@suse.de>
21470 * stdlib/stdlib.h: Update guards for qecvt.
21471 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21474 2013-04-27 Allan McRae <allan@archlinux.org>
21476 * sysdeps/i386/fpu/libm-test-ulps: Update.
21478 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21481 * math/s_catan.c: Include <float.h>.
21482 (__catan): Ensure underflow exception occurs for underflowed
21484 * math/s_catanf.c: Include <float.h>.
21485 (__catanf): Ensure underflow exception occurs for underflowed
21487 * math/s_catanh.c: Include <float.h>.
21488 (__catanh): Ensure underflow exception occurs for underflowed
21490 * math/s_catanhf.c: Include <float.h>.
21491 (__catanhf): Ensure underflow exception occurs for underflowed
21493 * math/s_catanhl.c: Include <float.h>.
21494 (__catanhl): Ensure underflow exception occurs for underflowed
21496 * math/s_catanl.c: Include <float.h>.
21497 (__catanl): Ensure underflow exception occurs for underflowed
21499 * math/libm-test.inc (catan_test): Add more tests.
21500 (catanh_test): Likewise.
21503 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21504 underflowed result.
21505 * math/s_ccoshf.c (__ccoshf): Likewise.
21506 * math/s_ccoshl.c (__ccoshl): Likewise.
21507 * math/s_csin.c (__csin): Likewise.
21508 * math/s_csinf.c (__csinf): Likewise.
21509 * math/s_csinh.c (__csinh): Likewise.
21510 * math/s_csinhf.c (__csinhf): Likewise.
21511 * math/s_csinhl.c (__csinhl): Likewise.
21512 * math/s_csinl.c (__csinl): Likewise.
21513 * math/libm-test.inc (ccos_test): Add more tests.
21514 (ccosh_test): Likewise.
21515 (csin_test): Likewise.
21516 (csinh_test): Likewise.
21518 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21521 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21522 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21523 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21524 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21525 powerpc/power5+/fpu folders.
21526 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21529 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21533 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21535 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21536 additions to variable.
21537 [$(config-machine) = x86_64] (modules-names): Likewise.
21538 ($(objpfx)tst-audit3): Remove dependency.
21539 ($(objpfx)tst-audit3.out): Likewise.
21540 ($(objpfx)tst-audit4): Likewise.
21541 ($(objpfx)tst-audit4.out): Likewise.
21542 ($(objpfx)tst-audit5): Likewise.
21543 ($(objpfx)tst-audit5.out): Likewise.
21544 ($(objpfx)tst-audit6): Likewise.
21545 ($(objpfx)tst-audit6.out): Likewise.
21546 ($(objpfx)tst-audit7): Likewise.
21547 ($(objpfx)tst-audit7.out): Likewise.
21548 (tst-audit3-ENV): Remove variable.
21549 (tst-audit4-ENV): Likewise.
21550 (tst-audit5-ENV): Likewise.
21551 (tst-audit6-ENV): Likewise.
21552 (tst-audit7-ENV): Likewise.
21553 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21554 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21555 addition to variable.
21556 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21557 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21558 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21559 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21561 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21562 tst-audit3, tst-audit4 and tst-audit5.
21563 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21564 tst-audit6 and tst-audit7.
21565 [$(subdir) = elf] (modules-names): Add audit modules for those
21567 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21568 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21569 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21570 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21571 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21572 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21573 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21574 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21575 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21576 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21577 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21578 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21579 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21580 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21581 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21582 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21584 [$(subdir) = elf && $(config-cflags-avx) = yes]
21585 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21586 [$(subdir) = elf && $(config-cflags-avx) = yes]
21587 (CFLAGS-tst-auditmod4a.c): Likewise.
21588 [$(subdir) = elf && $(config-cflags-avx) = yes]
21589 (CFLAGS-tst-auditmod4b.c): Likewise.
21590 [$(subdir) = elf && $(config-cflags-avx) = yes]
21591 (CFLAGS-tst-auditmod6b.c): Likewise.
21592 [$(subdir) = elf && $(config-cflags-avx) = yes]
21593 (CFLAGS-tst-auditmod6c.c): Likewise.
21594 [$(subdir) = elf && $(config-cflags-avx) = yes]
21595 (CFLAGS-tst-auditmod7b.c): Likewise.
21596 * elf/tst-audit3.c: Move to ...
21597 * sysdeps/x86_64/tst-audit3.c: ... here.
21598 * elf/tst-audit4.c: Move to ...
21599 * sysdeps/x86_64/tst-audit4.c: ... here.
21600 * elf/tst-audit5.c: Move to ...
21601 * sysdeps/x86_64/tst-audit5.c: ... here.
21602 * elf/tst-audit6.c: Move to ...
21603 * sysdeps/x86_64/tst-audit6.c: ... here.
21604 * elf/tst-audit7.c: Move to ...
21605 * sysdeps/x86_64/tst-audit7.c: ... here.
21606 * elf/tst-auditmod3a.c: Move to ...
21607 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21608 * elf/tst-auditmod3b.c: Move to ...
21609 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21610 * elf/tst-auditmod4a.c: Move to ...
21611 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21612 * elf/tst-auditmod4b.c: Move to ...
21613 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21614 * elf/tst-auditmod5a.c: Move to ...
21615 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21616 * elf/tst-auditmod5b.c: Move to ...
21617 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21618 * elf/tst-auditmod6a.c: Move to ...
21619 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21620 * elf/tst-auditmod6b.c: Move to ...
21621 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21622 * elf/tst-auditmod6c.c: Move to ...
21623 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21624 * elf/tst-auditmod7a.c: Move to ...
21625 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21626 * elf/tst-auditmod7b.c: Move to ...
21627 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21629 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21632 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21633 define unconditionally.
21634 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21635 define unconditionally.
21636 (INT8_C, INT16_C, etc.): Likewise.
21638 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21640 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21641 __ehdr_start with hidden visibility.
21643 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21645 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21647 * math/libm-test.inc (cos_test): Use accurate hex constants.
21648 (sincost_test): Likewise.
21650 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21652 * math/libm-test.inc (catan_test): Add more tests.
21653 (catanh_test): Likewise.
21655 * math/s_catanf.c (__catanf): Use suffixed floating-point
21657 * math/s_catanhf.c (__catanhf): Likewise.
21658 * math/s_catanhl.c (__catanhl): Likewise.
21659 * math/s_catanl.c (__catanl): Likewise.
21662 * math/s_catan.c (__catan): Calculate imaginary part of result
21663 with log1p not log unless computing log of number close to 0.
21664 * math/s_catanf.c (__catanf): Likewise.
21665 * math/s_catanl.c (__catanl): Likewise.
21666 * math/s_catanh.c (__catanh): Calculate real part of result with
21667 log1p not log unless computing log of number close to 0.
21668 * math/s_catanhf.c (__catanhf): Likewise.
21669 * math/s_catanhl.c (__catanhl): Likewise.
21670 * math/libm-test.inc (catan_test): Add more tests.
21671 (catanh_test): Likewise.
21672 * sysdeps/i386/fpu/libm-test-ulps: Update.
21673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21677 * benchtests/Makefile: Mention files in which fast and slow
21678 paths of math functions are implemented.
21680 2013-04-23 Roland McGrath <roland@hack.frob.com>
21682 * sysdeps/posix/timespec_get.c: New file.
21684 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21686 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21688 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21690 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21691 powerpc/power5/fpu folders.
21692 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21693 * benchtests/Makefile: Add modf testcase.
21694 * benchtests/bench-modf.c: New file: Benchmark test for mo
21696 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21699 * time/Makefile (tests): Add tst-strptime-whitespace.
21700 * time/strptime_l.c (get_number): Use ISSPACE.
21701 (__strptime_internal): Likewise.
21702 * time/tst-strptime-whitespace.c: New test case.
21704 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21706 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21708 (_nss_files_init): Set it here.
21710 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21712 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21713 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21716 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21718 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21720 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21725 2013-04-21 David S. Miller <davem@davemloft.net>
21727 * po/ru.po: Update Russion translation from translation project.
21729 2013-04-17 Adam Conrad <adconrad@0c3.net>
21731 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21734 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21736 * configure.in: Remove i386 configure warning. Remove i386 case.
21737 * configure: Regenerate.
21738 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21739 Add example to error message.
21740 * sysdeps/i386/configure: Regenerate.
21742 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21744 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21746 * benchtests/cos-inputs: New file.
21747 * benchtests/slowcos-inputs: New file.
21748 * benchtests/slowcos.c: New file.
21749 * benchtests/slowtan-inputs: New file.
21750 * benchtests/slowtan.c: New file.
21751 * benchtests/tan-inputs: New file.
21753 2013-04-16 Roland McGrath <roland@hack.frob.com>
21755 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21758 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21760 * benchtests/Makefile: Include cppflags-iterator.mk to add
21761 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21763 * Makefile.in (bench-clean): New target.
21764 * benchtests/Makefile (bench-clean): Likewise.
21766 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21768 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21770 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21772 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21774 2013-04-15 Andreas Schwab <schwab@suse.de>
21776 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21778 * nscd/pwdcache.c (cache_addpw): Likewise.
21779 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21782 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21784 * benchtests/Makefile (bench): Write all output to
21785 bench-out.tmp together.
21787 2013-04-15 Andreas Schwab <schwab@suse.de>
21789 * nscd/nscd.c (main): Don't fork again after closing files.
21791 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21793 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21795 * benchtests/Rules (bench-deps): Collect dependencies into a
21796 single variable. Add Makefile to dependencies.
21797 ($(objpfx)bench-%.c): Depend on bench-deps.
21799 2013-04-12 Roland McGrath <roland@hack.frob.com>
21800 Xavier Roche <roche+kml2@exalead.com>
21803 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21804 just that it's a file descriptor.
21805 * manual/llio.texi (Synchronizing AIO Operations): Update description
21806 for EBADF error from aio_fsync.
21808 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21810 * Rules (bench): Move target definition...
21811 * benchtests/Makefile: ... here.
21813 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21815 * math/libm-test.inc (cos_test): Fix PI/2 test.
21816 (sincos_test): Likewise.
21817 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21818 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21820 2013-04-11 Andreas Schwab <schwab@suse.de>
21823 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21824 accept exponent character only when digits were seen.
21825 * stdio-common/Makefile (tests): Add bug26.
21826 * stdio-common/bug26.c: New file.
21829 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21832 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21834 * Makeconfig (rtld-prefix): Define built linker prefix.
21835 * Rules (run-bench): Use it.
21836 * math/Makefile (run-regen-ulps): Likewise.
21838 * Rules (bench): Remove eval.
21840 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21841 Roland McGrath <roland@hack.frob.com>
21842 Ondrej Bilka <neleai@seznam.cz>
21845 * time/getdate.c: Include ctype.h and alloca.h.
21846 (__getdate_r): Trim leading and trailing spaces of input.
21847 * time/tst-getdate.c (tests): Add tests with leading and
21850 2013-04-08 Roland McGrath <roland@hack.frob.com>
21853 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21854 when computing value.
21856 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21858 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21859 Use testrun.sh to run libm tests.
21862 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21864 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21867 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21869 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21871 * Makefile.in (regen-ulps): New target.
21872 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21873 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21874 [ifneq (no,$(PERL)] (regen-ulps): New target.
21875 [ifeq (no,$(PERL)] (regen-ulps): New target.
21876 * math/libm-test.inc (ulps_file_name): Define.
21877 (output_dir): New variable.
21878 (options): Add "output-dir" option.
21879 (parse_opt): Handle 'o' case.
21880 (main): If output_dir is non-NULL use it as a prefix
21882 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21884 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21886 [BZ #10060, #10062]
21887 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21888 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21889 fail configure if __sync_val_compare_and_swap is not inlined.
21890 * sysdeps/i386/configure: Regenerate.
21891 * configure.in: Build for i686 when configured for i386.
21892 * configure: Regenerate.
21893 * README: Remove i386 reference.
21895 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21897 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21900 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21902 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21903 (lmsnanval): New variables.
21904 (F): Add conversion tests.
21905 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21906 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21908 * stdio-common/tstdiomisc.c (F): Properly collect individual
21911 [BZ #14686, #15336]
21912 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21913 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21914 Instead, use input NaN values or generate a qNaN by arithmetic
21915 operation. Also fix bugs to comply with the standard.
21916 * math/libm-test.inc (remainder_test): Add more tests.
21918 [BZ #15335, #15342]
21919 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21921 input NaN values or generate a qNaN by arithmetic operation.
21923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21926 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21929 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21932 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21933 underflowed result.
21934 * math/s_cexpf.c (__cexpf): Likewise.
21935 * math/s_cexpl.c (__cexpl): Likewise.
21936 * math/libm-test.inc (cexp_test): Add more tests.
21938 2013-04-03 Andreas Schwab <schwab@suse.de>
21941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21942 order arrays from heap if bigger than alloca cutoff.
21944 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21946 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21947 (SNAN_TESTS_double): Refer to GCC PR56831.
21948 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21951 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21953 * Rules (bench): Move bench.out after the run is complete.
21955 * Rules (bench): Echo currently running benchmark.
21957 * benchtests/Makefile (bench): Add atan and slowatan.
21958 * benchtests/atan-inputs: New file.
21959 * benchtests/slowatan-inputs: New file.
21960 * benchtests/slowatan.c: New file.
21962 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21967 * sysdeps/unix/sysv/linux/kernel-features.h
21968 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21969 __ASSUME_XFS_RESTRICTED_CHOWN.
21970 * sysdeps/unix/sysv/linux/pathconf.c
21971 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21972 Save and restore errno.
21974 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21977 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21978 arguments using __kernel_casinh.
21979 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21980 arguments using __kernel_casinhf.
21981 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21982 arguments using __kernel_casinhl.
21983 * math/libm-test.inc (cacosh_test): Add more tests.
21984 * sysdeps/i386/fpu/libm-test-ulps: Update.
21985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21987 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21989 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21992 * bench/Makefile (bench): Add sin and slowsin.
21993 * benchtests/sin-inputs: New file.
21994 * benchtests/slowsin-inputs: New file.
21995 * benchtests/slowsin.c: New file.
21997 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21998 (bench): Add slowexp and slowpow.
21999 (exp-ITER): Increase iterations.
22000 (pow-ITER): Likewise.
22001 * benchtests/exp-inputs: Change input.
22002 * benchtests/pow-inputs: Likewise.
22003 * benchtests/slowexp-inputs: New file.
22004 * benchtests/slowexp.c: New file.
22005 * benchtests/slowpow-inputs: New file.
22006 * benchtests/slowpow.c: New file.
22008 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22012 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22013 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22015 * benchtests/Makefile: Add rint benchtest.
22016 * benchtests/rint-inputs: Input for rint benchtest.
22018 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22020 * Versions.def (libm): Add GLIBC_2.18.
22021 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22022 hidden libm prototypes.
22023 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22024 * math/Makefile (libm-calls): Add s_issignaling.
22025 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22026 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22027 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22029 * math/math.h [__USE_GNU] (issignaling): New macro.
22030 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22031 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22033 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22036 * manual/arith.texi (issignaling): New section.
22037 * manual/libm-err-tab.pl (@all_functions): Update comment.
22038 * math/gen-libm-test.pl (parse_args): Apply special handling for
22040 * math/libm-test.inc (print_float, issignaling_test): New
22042 (check_float_internal): Add issignaling checks.
22043 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22044 default definition.
22045 * sysdeps/powerpc/math-tests.h: New file.
22046 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22048 * math/test-snan.c (TEST_FUNC): Likewise.
22050 2013-03-30 David S. Miller <davem@davemloft.net>
22052 * po/de.po: Update from translation team.
22054 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22057 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22058 imaginary part less than 1.0 and real part less than 0.5
22060 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22061 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22062 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22063 (cacos_test): Add more tests.
22064 (casin_test): Likewise.
22065 (casinh_test): Likewise.
22066 * sysdeps/i386/fpu/libm-test-ulps: Update.
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22071 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22072 ONE with its value.
22074 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22075 (__pow_mp): Replace ONE and MONE with their values.
22076 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22077 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22078 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22079 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22081 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22083 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22085 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22086 (__pow_mp): Replace ZERO and MZERO with their values.
22087 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22088 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22089 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22091 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22092 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22095 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22097 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22099 2013-03-28 Roland McGrath <roland@hack.frob.com>
22101 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22102 Declare with __attribute__ ((weak)).
22103 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22104 Call __call_tls_dtors only if it's not NULL.
22106 2013-03-28 Roland McGrath <roland@hack.frob.com>
22108 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22109 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22110 magic __ehdr_start linker symbol if it's defined.
22111 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22112 them up here if it was already done.
22114 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22115 (_dl_aux_init): Use const in cast when setting it.
22116 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22117 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22118 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22120 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22122 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22123 * csu/libc-tls.c: Nor here.
22124 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22126 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22127 (__libc_message): Never call vsyslog.
22129 2013-03-28 Alan Modra <amodra@gmail.com>
22131 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22133 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22136 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22143 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22146 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22147 Don't add gid passed as argument.
22149 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22151 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22154 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22155 imaginary part between 1.0 and 1.5 and real part less than 0.5
22157 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22158 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22159 * math/libm-test.inc (cacos_test): Add more tests.
22160 (casin_test): Likewise.
22161 (casinh_test): Likewise.
22162 * sysdeps/i386/fpu/libm-test-ulps: Update.
22163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22165 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22170 (denorm): Likewise.
22171 (__dbl_mp): Likewise.
22172 (add_magnitudes): Likewise.
22173 (sub_magnitudes): Likewise.
22181 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22183 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22184 (__dubcos): Likewise.
22185 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22186 (__ieee754_acos): Likewise.
22187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22188 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22189 (__exp1): Likewise.
22190 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22193 (my_log2): Likewise.
22194 (checkint): Likewise.
22195 * sysdeps/ieee754/dbl-64/e_remainder.c
22196 (__ieee754_remainder): Likewise.
22197 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22199 (bsloww): Likewise.
22200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22202 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22203 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22204 MANTISSA_STORE_T to store computations on mantissa. Use
22205 macros for rounding and division.
22206 (denorm): Likewise.
22207 (__dbl_mp): Likewise.
22208 (add_magnitudes): Likewise.
22209 (sub_magnitudes): Likewise.
22212 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22213 powers of two in terms of TWOPOW macro.
22214 (mp_no): Make type of mantissa as MANTISSA_T.
22215 [!RADIXI]: Define RADIXI.
22216 [!TWO52]: Define TWO52.
22217 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22219 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22221 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22222 llroundl symbol when building for PPC32.
22224 2013-03-24 Mark H Weaver <mhw@netris.org>
22226 * manual/arith.texi (Normalization Functions): Fix prototypes for
22227 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22229 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22233 high value to check if expl overflow.
22234 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22235 to check for underflow and overflow.
22236 * math/libm-test.inc: Add exp test.
22238 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22241 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22244 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22246 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22249 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22251 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22252 wrap blocks consisting of several statements.
22254 * sysdeps/generic/math-tests.h: New file.
22255 * sysdeps/i386/fpu/math-tests.h: Likewise.
22256 * math/test-snan.c: Include it.
22257 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22259 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22263 (__ieee754_j0l): Do not improve calculations using cos of twice
22264 input for inputs above LDBL_MAX / 2.0L.
22265 (__ieee754_y0l): Likewise.
22266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22267 (__ieee754_j1l): Do not improve calculations using cos of twice
22268 input for inputs above LDBL_MAX / 2.0L.
22269 (__ieee754_y1l): Likewise.
22270 * math/libm-test.inc (j0_test): Add another test.
22271 (j1_test): Likewise.
22272 (y0_test): Likewise.
22273 (y1_test): Likewise.
22274 * sysdeps/i386/fpu/libm-test-ulps: Update.
22276 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22278 * Rules ($(objpfx)bench-%.c): Include code from a C source
22281 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22284 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22285 imaginary part 1.0 and real part less than 0.5 specially.
22286 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22287 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22288 * math/libm-test.inc (cacos_test): Add more tests.
22289 (casin_test): Likewise.
22290 (casinh_test): Likewise.
22291 * sysdeps/i386/fpu/libm-test-ulps: Update.
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22296 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22297 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22299 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22301 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22302 * config.make.in (config-cflags-sse4): Remove variable.
22303 (config-cflags-avx): Likewise.
22304 (config-cflags-sse2avx): Likewise.
22305 (config-cflags-novzeroupper): Likewise.
22306 (config-asflags-i686): Likewise.
22307 (have-mfma4): Likewise.
22308 (have-as-vis3): Likewise.
22310 * configure.in (MIG): Do not AC_SUBST.
22311 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22312 (libc_cv_cc_sse4): Do not AC_SUBST.
22313 (libc_cv_cc_avx): Likewise.
22314 (libc_cv_cc_sse2avx): Likewise.
22315 (libc_cv_cc_novzeroupper): Likewise.
22316 (libc_cv_cc_fma4): Likewise.
22317 (libc_cv_as_i686): Likewise.
22318 (libc_cv_sparc_as_vis3): Likewise.
22319 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22321 (config-asflags-i686): Likewise.
22322 (config-cflags-avx): Likewise.
22323 (config-cflags-sse2avx): Likewise.
22324 (have-mfma4): Likewise.
22325 (config-cflags-novzeroupper): Likewise.
22326 * sysdeps/mach/configure.in (MIG): Likewise.
22327 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22328 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22330 (config-cflags-avx): Likewise.
22331 (config-cflags-sse2avx): Likewise.
22332 (have-mfma4): Likewise.
22333 (config-cflags-novzeroupper): Likewise.
22334 * configure: Regenerated.
22335 * sysdeps/i386/configure: Likewise.
22336 * sysdeps/mach/configure: Likewise.
22337 * sysdeps/sparc/configure: Likewise.
22338 * sysdeps/x86_64/configure: Likewise.
22340 2013-03-20 Roland McGrath <roland@hack.frob.com>
22343 * locale/programs/localedef.c (options): Put N_ translation marker
22344 on argument names, not just descriptions.
22346 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22348 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22350 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22353 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22355 2013-03-19 Roland McGrath <roland@hack.frob.com>
22357 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22358 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22359 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22360 [!BEFORE_ABORT] (before_abort): New function.
22361 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22362 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22363 (writev_for_fatal): New function.
22364 (WRITEV_FOR_FATAL): New macro; call that.
22365 (backtrace_and_maps): New function.
22366 (BEFORE_ABORT): New macro; call that.
22367 (struct str_list): Type removed.
22368 (__libc_message, __libc_fatal): Functions removed.
22369 Include <sysdeps/posix/libc_fatal.c> instead.
22371 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22373 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22375 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22378 2013-03-19 Andreas Schwab <schwab@suse.de>
22380 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22381 * sysdeps/gnu/configure: Regenerate.
22383 * configure.in: Substitute libc_cv_rtlddir.
22384 * configure: Regenerate.
22385 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22386 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22387 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22388 * elf/Makefile (install-others, CFLAGS-interp.c)
22389 (ldso_install, common-ldd-rewrite): Likewise.
22390 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22391 $(inst_slibdir)/$(rtld-installed-name).
22392 * scripts/rellns-sh: Add -p option.
22393 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22396 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22398 * manual/nptl.texi: Renamed to ...
22399 * manual/threads.texi: ... this.
22400 * manual/Makefile (chapters): Update.
22402 2013-03-18 Roland McGrath <roland@hack.frob.com>
22405 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22406 on argument names, not just descriptions.
22407 * malloc/memusagestat.c (options): Likewise.
22408 * nss/getent.c (options): Likewise.
22410 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22413 * iconv/iconv_prog.c (options): Put N_ translation marker
22414 on argument names, not just descriptions.
22415 * iconv/iconvconfig.c (options): Likewise.
22417 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22419 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22420 implementation which is faster on all x86_64 architectures.
22421 Tested on AMD, Intel Nehalem, SNB, IVB.
22422 * sysdeps/x86_64/strnlen.S: Likewise.
22424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22425 Remove all multiarch strlen and strnlen versions.
22426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22427 Remove strlen and strnlen related parts.
22429 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22430 Inline strlen part.
22431 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22433 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22434 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22435 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22436 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22437 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22438 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22440 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22442 * manual/memory.texi (Malloc Tunable Parameters):
22443 Sort parameters alphabetically. Add comments for missing entries.
22445 2013-03-17 David S. Miller <davem@davemloft.net>
22447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22449 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22452 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22453 for arguments at most half maximum finite value.
22454 * math/libm-test.inc (j0_test): Add more tests.
22455 (j1_test): Likewise.
22456 (y0_test): Likewise.
22457 (y1_test): Likewise.
22458 * sysdeps/i386/fpu/libm-test-ulps: Update.
22459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22462 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22463 1 / x and functions P and Q for arguments above 0x1p256L.
22464 (__ieee754_y0l): Likewise.
22465 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22466 (__ieee754_y1l): Likewise.
22467 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22468 (j1_test): Likewise.
22469 (y0_test): Likewise.
22470 (y1_test): Likewise.
22472 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22474 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22477 2013-03-15 Roland McGrath <roland@hack.frob.com>
22479 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22480 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22481 zero since it's initialized to EXEC_PAGESIZE.
22483 * sysdeps/unix/sysv/linux/ldsodefs.h
22484 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22485 * sysdeps/generic/ldsodefs.h: ... here.
22487 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22489 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22491 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22493 * math/test-snan.c: Renamed from
22494 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22495 * math/Makefile (tests): Add test-snan.
22496 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22499 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22500 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22502 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22503 __builtin_nan family of functions.
22504 * math/libm-test.inc (initialize): Initialize qnan_value with
22505 __builtin_nan family of functions.
22506 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22508 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22510 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22511 storage class. Initialize qNaN_var and sNaN_var with
22512 __builtin_nan and __builtin_nans families of functions,
22515 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22516 (sqrt_test): Remove duplicate test with qNaN input.
22517 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22518 (round_test, signbit_test, significand_test): Note missing +/-Inf
22519 as well as qNaN tests.
22521 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22522 qNaN_var. Fix a few strings, too.
22523 * math/libm-test.inc (nan_value): Rename to qnan_value.
22524 * math/gen-libm-test.pl (%beautify): Adjust to that.
22525 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22526 * math/test-misc.c (main): Likewise.
22527 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22528 to __qnan_bytes, and __qnan_union, respectively.
22529 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22531 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22532 and lqnanval, respectively.
22533 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22534 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22535 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22536 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22538 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22539 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22542 * math/test-misc.c (main): Fix copy'n'pastos.
22543 * misc/tst-efgcvt.c (special): Likewise.
22545 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22546 Remove declarations.
22548 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22550 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22551 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22552 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22553 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22555 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22558 macro to return vdso values correctly in IFUNC implementations.
22559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22560 Optimization by using IFUNC.
22562 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22563 Richard Henderson <rth@redhat.com>
22564 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22566 * Makefile.in (bench): New target.
22567 * NEWS: Mention the benchmark framework.
22568 * Rules (bench): Likewise.
22569 (binaries-bench): Generate binaries for functions to
22571 * benchtests/Makefile: New makefile for benchmark tests.
22572 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22574 * benchtests/exp-inputs: New input file for EXP function.
22575 * benchtests/pow-inputs: New input file for POW function.
22576 * scripts/bench.pl: New script to generate source files for
22577 benchmark programs.
22579 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22581 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22582 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22583 computations on mantissa. Use macros for rounding and
22585 (denorm): Likewise.
22586 (__dbl_mp): Likewise.
22587 (add_magnitudes): Likewise.
22588 (sub_magnitudes): Likewise.
22591 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22592 powers of two in terms of TWOPOW macro.
22593 (mp_no): Make type of mantissa as MANTISSA_T.
22594 [!RADIXI]: Define RADIXI.
22595 [!TWO52]: Define TWO52.
22596 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22598 * manual/nptl.texi (cindex): Modify threads to pthreads.
22600 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22602 * sysdeps/x86_64/preconfigure: Regenerated.
22604 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22607 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22609 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22610 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22612 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22613 * math/libm-test.inc (j0_test): Do not allow one spurious
22614 underflow exception.
22615 (y1_test): Likewise.
22617 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22619 * manual/Makefile (chapters): Add nptl.
22620 * manual/debug.texi (Debugging Support): Add link to Threads
22622 * manual/nptl.texi: New file.
22624 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22626 2013-03-14 Petr Baudis <pasky@ucw.cz>
22628 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22629 for non-NULL pointer before the memory validity test. Pointed
22630 out by Holger Brunck <holger.brunck@keymile.com>.
22632 2013-03-13 Andreas Schwab <schwab@suse.de>
22634 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22637 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22639 * timezone/zic.c: Update from tzcode 2013b.
22641 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22643 * manual/install.texi (Configuring and compiling):
22644 Mention i686 and i586.
22645 * INSTALL: Regenerate.
22647 2013-03-12 Roland McGrath <roland@hack.frob.com>
22649 * sysdeps/init_array/elf-init.c: New file.
22651 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22652 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22654 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22655 __gmon_start__ as global, but as static with a .preinit_array pointer.
22656 * sysdeps/init_array/gmon-start.c: New file. Use that.
22657 * sysdeps/init_array/crti.S: New file, empty except for comments.
22658 * sysdeps/init_array/crtn.S: Likewise.
22660 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22662 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22665 Remove Prefer_SSE_for_memop.
22666 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22667 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22668 HAS_PREFER_SSE_FOR_MEMOP.
22669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22672 Remove bzero, memset ifunc support.
22673 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22674 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22675 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22676 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22678 2013-03-11 Andreas Schwab <schwab@suse.de>
22681 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22684 (GLIBC_2.16): Remove pthread_atfork.
22686 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22688 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22689 (ptestcases.h): Likewise.
22691 2013-03-08 Roland McGrath <roland@hack.frob.com>
22693 * Makeconfig ($(common-objpfx)config.status): Depend on
22694 sysdeps/*/preconfigure{,.in} too.
22696 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22698 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22699 (__free_hook): Use void * instead of __malloc_ptr_t.
22700 (__malloc_hook): Likewise.
22701 (__realloc_hook): Likewise.
22702 (__memalign_hook): Likewise.
22703 (__after_morecore_hook): Likewise.
22704 * malloc/arena.c (save_malloc_hook): Likewise.
22705 (save_free_hook): Likewise.
22706 * malloc/hooks.c (malloc_hook_ini): Likewise.
22707 (realloc_hook_ini): Likewise.
22708 (memalign_hook_ini): Likewise.
22709 * malloc/malloc.c (malloc_hook_ini): Likewise.
22710 (realloc_hook_ini): Likewise.
22711 (memalign_hook_ini): Likewise.
22712 (__free_hook): Likewise.
22713 (__malloc_hook): Likewise.
22714 (__realloc_hook): Likewise.
22715 (__memalign_hook): Likewise.
22716 (__libc_malloc): Likewise.
22717 (__libc_free): Likewise.
22718 (__libc_realloc): Likewise.
22719 (__libc_memalign): Likewise.
22720 (__libc_valloc): Likewise.
22721 (__libc_pvalloc): Likewise.
22722 (__libc_calloc): Likewise.
22723 (__posix_memalign): Likewise.
22724 * malloc/morecore.c (__sbrk): Likewise.
22725 (__default_morecore): Likewise.
22727 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22729 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22730 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22731 __malloc_ptrdiff_t.
22733 * malloc/malloc.h (__malloc_size_t): Remove macro.
22734 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22736 (old_memalign_hook): Likewise.
22737 (old_realloc_hook): Likewise.
22738 (struct hdr): Likewise.
22740 (mallochook): Likewise.
22741 (memalignhook): Likewise.
22742 (reallochook): Likewise.
22743 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22744 (tr_old_realloc_hook): Likewise.
22745 (tr_old_memalign_hook): Likewise.
22746 (tr_mallochook): Likewise.
22747 (tr_reallochook): Likewise.
22748 (tr_memalignhook): Likewise.
22750 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22753 default_ldbl_pack and using as default implementation.
22754 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22756 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22757 redundant definition.
22758 (ldbl_insert_mantissa): Likewise.
22759 (ldbl_canonicalize): Likewise.
22760 (ldbl_nearbyint): Likewise.
22761 (ldbl_pack): Rename to ldbl_pack_ppc.
22762 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22763 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22764 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22766 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22769 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22771 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22773 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22774 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22775 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22777 2013-03-07 Andreas Jaeger <aj@suse.de>
22779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22782 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22784 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22785 Include mpa.h and declare __MPEXP.
22786 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22787 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22788 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22789 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22790 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22791 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22792 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22794 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22795 (__slowpow): Use long double EXPL and LOGL functions to
22797 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22798 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22800 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22801 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22802 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22805 intermediate variable to calculate exponent.
22807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22811 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22812 [!NO__SQR]: Define __sqr.
22813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22814 and NO__SQR. Remove all code except __mul and __sqr. Include
22815 sysdeps/ieee754/dbl-64/mpa.c.
22816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22819 * posix/Makefile (tests): Add tst-pathconf.
22820 * posix/tst-pathconf.c: New test case.
22821 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22823 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22825 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22827 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22829 2013-03-06 Andreas Jaeger <aj@suse.de>
22831 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22832 definition via __MAP_ANONYMOUS.
22834 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22835 it's not part of Linux headers.
22837 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22838 (MAP_HUGE_MASK): Define.
22840 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22842 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22845 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22846 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22848 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22851 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22853 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22854 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22855 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22856 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22857 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22858 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22864 Handle f2fs and efivarfs.
22866 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22869 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22870 (EFIVARFS_MAGIC): Add.
22871 (F2FS_LINK_MAX): Add.
22873 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22875 * stdio-common/vfprintf.c: Replace __builtin_expect with
22878 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22881 * sysdeps/generic/bp-sym.h: Remove file.
22882 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22883 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22884 <bp-sym.h> and <bp-asm.h>.
22885 (__longjmp): Don't use BP_SYM.
22886 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22888 (memcpy): Don't use BP_SYM.
22889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22890 <bp-sym.h> and <bp-asm.h>.
22891 (memcpy): Don't use BP_SYM.
22892 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22894 (memcpy): Don't use BP_SYM.
22895 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22897 (memset): Don't use BP_SYM.
22898 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22899 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22900 (__bzero): Don't use BP_SYM.
22901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22903 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22904 <bp-sym.h> and <bp-asm.h>.
22905 (memcmp): Don't use BP_SYM. Remove comment about bounded
22907 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22908 <bp-sym.h> and <bp-asm.h>.
22909 (memcpy): Don't use BP_SYM.
22910 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22911 <bp-sym.h> and <bp-asm.h>.
22912 (memset): Don't use BP_SYM.
22913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22915 (__bzero): Don't use BP_SYM.
22916 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22917 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22918 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22919 <bp-sym.h> and <bp-asm.h>.
22920 (strncmp): Don't use BP_SYM. Remove comment about bounded
22922 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22923 <bp-sym.h> and <bp-asm.h>.
22924 (memcpy): Don't use BP_SYM.
22925 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22926 <bp-sym.h> and <bp-asm.h>.
22927 (memset): Don't use BP_SYM.
22928 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22929 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22930 (__bzero): Don't use BP_SYM.
22931 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22932 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22934 <bp-sym.h> and <bp-asm.h>.
22935 (__memchr): Don't use BP_SYM.
22936 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22937 <bp-sym.h> and <bp-asm.h>.
22938 (memcmp): Don't use BP_SYM. Remove comment about bounded
22940 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22941 <bp-sym.h> and <bp-asm.h>.
22942 (memcpy): Don't use BP_SYM.
22943 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22944 <bp-sym.h> and <bp-asm.h>.
22945 (__mempcpy): Don't use BP_SYM.
22946 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22947 <bp-sym.h> and <bp-asm.h>.
22948 (__memrchr): Don't use BP_SYM.
22949 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22950 <bp-sym.h> and <bp-asm.h>.
22951 (memset): Don't use BP_SYM.
22952 (__bzero): Likewise.
22953 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22954 <bp-sym.h> and <bp-asm.h>.
22955 (__rawmemchr): Don't use BP_SYM.
22956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22957 <bp-sym.h> and <bp-asm.h>.
22958 (__STRCMP): Don't use BP_SYM.
22959 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22960 <bp-sym.h> and <bp-asm.h>.
22961 (strchr): Don't use BP_SYM.
22962 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22963 <bp-sym.h> and <bp-asm.h>.
22964 (__strchrnul): Don't use BP_SYM.
22965 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22966 <bp-sym.h> and <bp-asm.h>.
22967 (strlen): Don't use BP_SYM.
22968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22969 <bp-sym.h> and <bp-asm.h>.
22970 (strncmp): Don't use BP_SYM. Remove comment about bounded
22972 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22973 <bp-sym.h> and <bp-asm.h>.
22974 (__strnlen): Don't use BP_SYM.
22975 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22976 <bp-sym.h> and <bp-asm.h>.
22977 (__GI__setjmp): Don't use BP_SYM.
22978 (_setjmp): Likewise.
22979 (__sigsetjmp): Likewise.
22980 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22981 (L(start_addresses)): Don't use BP_SYM.
22982 (_start): Likewise.
22983 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22985 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22986 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22987 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22988 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22989 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22991 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22992 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22993 about bounded pointers.
22994 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22995 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22996 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22998 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22999 about bounded pointers. Remove GKM FIXME comments.
23000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23001 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23003 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23004 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23005 Remove GKM FIXME comments.
23006 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23007 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23008 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23010 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23011 about bounded pointers. Remove GKM FIXME comment.
23012 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23014 (strncmp): Don't use BP_SYM. Remove comment about bounded
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23017 <bp-sym.h> and <bp-asm.h>.
23018 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23020 <bp-sym.h> and <bp-asm.h>.
23021 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23024 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23026 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23029 2013-03-05 David S. Miller <davem@davemloft.net>
23031 * po/es.po: Update from translation team.
23033 2013-03-05 Andreas Jaeger <aj@suse.de>
23035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23036 <bits/mman-linux.h>.
23037 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23040 <bits/mman-linux.h> to end of file.
23041 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23043 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23044 <bits/mman-linux.h> to end of file.
23045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23048 <bits/mman-linux.h> to end of file.
23050 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23051 (MCL_CURRENT, MCL_FUTURE): Define here.
23053 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23056 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23058 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23060 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23062 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23063 fourth parameter needed for rt_sigprocmask syscall.
23064 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23065 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23066 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23067 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23068 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23069 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23071 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23074 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23075 comment about bounded pointers.
23076 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23077 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23079 2013-03-04 Andreas Jaeger <aj@suse.de>
23081 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23082 common definitions.
23084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23085 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23086 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23087 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23088 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23089 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23091 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23095 __ieee754_sqrl instead of __sqrl.
23097 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23099 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23100 * sysdeps/powerpc/fpu_control.h: ... here.
23101 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23102 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23103 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23104 * sysdeps/powerpc/bits/mathinline.h: ... here.
23106 2013-03-01 Roland McGrath <roland@hack.frob.com>
23108 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23109 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23110 to just [NEED_DL_SYSINFO_DSO].
23111 * elf/dl-support.c: Likewise.
23112 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23113 * elf/rtld.c (dl_main): Likewise.
23114 * elf/setup-vdso.h (setup_vdso): Likewise.
23115 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23116 * sysdeps/unix/sysv/linux/dl-sysdep.c
23117 (_dl_discover_osversion): Likewise.
23119 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23121 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23122 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23124 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23126 * NEWS: Mention libm performance improvements and non-x86 PI
23129 * csu/libc-start.c (__pthread_initialize_minimal): Change
23130 function arguments.
23131 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23133 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23136 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23137 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23138 <bp-sym.h> and <bp-asm.h>.
23139 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23140 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23142 (memcpy): Don't use BP_SYM.
23143 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23145 (__mpn_add_n): Don't use BP_SYM.
23146 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23147 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23149 (__mpn_addmul_1): Don't use BP_SYM.
23150 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23151 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23153 (_setjmp): Don't use BP_SYM.
23154 (__novmx_setjmp): Likewise.
23155 (__GI__setjmp): Likewise.
23156 (__vmx_setjmp): Likewise.
23157 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23159 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23160 (__bzero): Don't use BP_SYM.
23161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23163 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23164 <bp-sym.h> and <bp-asm.h>.
23165 (memcpy): Don't use BP_SYM.
23166 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23167 <bp-sym.h> and <bp-asm.h>.
23168 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23169 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23172 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23174 (__mpn_lshift): Don't use BP_SYM.
23175 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23176 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23178 (memset): Don't use BP_SYM.
23179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23181 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23183 (__mpn_mul_1): Don't use BP_SYM.
23184 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23185 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23186 <bp-sym.h> and <bp-asm.h>.
23187 (memcmp): Don't use BP_SYM.
23188 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23189 <bp-sym.h> and <bp-asm.h>.
23190 (memcpy): Don't use BP_SYM.
23191 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23192 <bp-sym.h> and <bp-asm.h>.
23193 (memset): Don't use BP_SYM.
23194 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23195 <bp-sym.h> and <bp-asm.h>.
23196 (strncmp): Don't use BP_SYM.
23197 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23198 <bp-sym.h> and <bp-asm.h>.
23199 (memcpy): Don't use BP_SYM.
23200 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23201 <bp-sym.h> and <bp-asm.h>.
23202 (memset): Don't use BP_SYM.
23203 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23204 <bp-sym.h> and <bp-asm.h>.
23205 (__memchr): Don't use BP_SYM.
23206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23207 <bp-sym.h> and <bp-asm.h>.
23208 (memcmp): Don't use BP_SYM.
23209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23210 <bp-sym.h> and <bp-asm.h>.
23211 (memcpy): Don't use BP_SYM.
23212 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23213 <bp-sym.h> and <bp-asm.h>.
23214 (__mempcpy): Don't use BP_SYM.
23215 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23216 <bp-sym.h> and <bp-asm.h>.
23217 (__memrchr): Don't use BP_SYM.
23218 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23219 <bp-sym.h> and <bp-asm.h>.
23220 (memset): Don't use BP_SYM.
23221 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23222 <bp-sym.h> and <bp-asm.h>.
23223 (__rawmemchr): Don't use BP_SYM.
23224 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (__STRCMP): Don't use BP_SYM.
23227 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23228 <bp-sym.h> and <bp-asm.h>.
23229 (strchr): Don't use BP_SYM.
23230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23231 <bp-sym.h> and <bp-asm.h>.
23232 (__strchrnul): Don't use BP_SYM.
23233 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23234 <bp-sym.h> and <bp-asm.h>.
23235 (strlen): Don't use BP_SYM.
23236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23237 <bp-sym.h> and <bp-asm.h>.
23238 (strncmp): Don't use BP_SYM.
23239 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23240 <bp-sym.h> and <bp-asm.h>.
23241 (__strnlen): Don't use BP_SYM.
23242 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23244 (__mpn_rshift): Don't use BP_SYM.
23245 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23246 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23247 <bp-sym.h> and <bp-asm.h>.
23248 (__sigsetjmp): Don't use BP_SYM.
23249 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23250 (L(start_addresses)): Don't use BP_SYM.
23251 (_start): Likewise.
23252 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23254 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23255 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23256 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23257 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23259 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23260 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23261 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23262 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23264 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23266 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23267 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23269 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23271 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23272 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23273 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23275 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23277 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23279 (strncmp): Don't use BP_SYM,
23280 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23282 (__mpn_sub_n): Don't use BP_SYM.
23283 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23284 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23286 (__mpn_submul_1): Don't use BP_SYM.
23287 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23289 <bp-sym.h> and <bp-asm.h>.
23290 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23292 <bp-sym.h> and <bp-asm.h>.
23293 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23296 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23299 Use ZK to minimize writes to Z.
23300 (sub_magnitudes): Simplify code a bit.
23301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23302 Use ZK to minimize writes to Z.
23303 (sub_magnitudes): Simplify code a bit.
23305 2013-02-27 Roland McGrath <roland@hack.frob.com>
23307 * csu/gmon-start.c: Add special exception to license text.
23309 2013-02-27 Richard Henderson <rth@redhat.com>
23311 * scripts/config.guess: Update from config.git.
23312 * scripts/config.sub: Likewise.
23314 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23316 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23318 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23320 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23322 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23324 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23326 2013-02-26 Roland McGrath <roland@hack.frob.com>
23328 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23329 [$(build-shared = yes].
23331 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23333 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23334 (__mul): Reduce iterations for calculating mantissa.
23336 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23338 (__mpranred): Likewise.
23341 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23342 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23344 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23346 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23347 Define __attribute__.
23349 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23351 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23353 * posix/regex_internal.h (__attribute): Remove.
23354 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23355 (re_string_context_at): Likewise.
23356 (bitset_not): Use __attribute__ and mark function as possibly
23358 (bitset_merge): Likewise.
23359 (bitset_mask): Likewise.
23360 (re_string_char_size_at): Likewise.
23361 (re_string_wchar_at): Likewise.
23362 (re_string_elem_size_at): Likewise.
23364 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23366 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23370 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23374 (denorm): Likewise.
23375 (__dbl_mp): Likewise.
23376 (add_magnitudes): Likewise.
23377 (sub_magnitudes): Likewise.
23381 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23384 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23387 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23391 up changes with default code.
23392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23395 2013-02-24 Allan McRae <allan@archlinux.org>
23397 * manual/socket.texi (The Internet Namespace): Order menu items
23398 to match that in the file.
23400 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23401 node listing of the info page menu.
23403 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23406 * sysdeps/i386/bp-asm.h: Remove file.
23407 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23408 (PARMS): Do not use macros from bp-asm.h.
23412 (__mpn_add_n): Do not use BP_SYM
23413 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23415 (PARMS): Do not use macros from bp-asm.h.
23418 (__mpn_addmul_1): Do not use BP_SYM
23419 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23421 (PARMS): Do not use macros from bp-asm.h.
23422 (SIGMSK): Likewise.
23423 (_setjmp): Likewise. Do not use BP_SYM.
23424 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23426 (PARMS): Do not use macros from bp-asm.h.
23427 (SIGMSK): Likewise.
23428 (setjmp): Likewise. Do not use BP_SYM.
23429 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23431 (PARMS): Do not use macros from bp-asm.h.
23432 (__frexp): Do not use BP_SYM.
23434 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23436 (PARMS): Do not use macros from bp-asm.h.
23437 (__frexpf): Do not use BP_SYM.
23438 (frexpf): Likewise.
23439 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23441 (PARMS): Do not use macros from bp-asm.h.
23442 (__frexpl): Do not use BP_SYM.
23443 (frexpl): Likewise.
23444 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23446 (PARMS): Do not use macros from bp-asm.h.
23447 (__remquo): Do not use BP_SYM.
23448 (remquo): Likewise.
23449 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23451 (PARMS): Do not use macros from bp-asm.h.
23452 (__remquof): Do not use BP_SYM.
23453 (remquof): Likewise.
23454 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23456 (PARMS): Do not use macros from bp-asm.h.
23457 (__remquol): Do not use BP_SYM.
23458 (remquol): Likewise.
23459 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23461 (PARMS): Do not use macros from bp-asm.h.
23464 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23465 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23467 (PARMS): Do not use macros from bp-asm.h.
23468 (strlen): Do not use BP_SYM.
23469 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23471 (PARMS): Do not use macros from bp-asm.h.
23475 (__mpn_add_n): Do not use BP_SYM.
23476 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23478 (PARMS): Do not use macros from bp-asm.h.
23481 (__mpn_addmul_1): Do not use BP_SYM.
23482 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23485 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23487 (PARMS): Do not use macros from bp-asm.h.
23490 (__mpn_lshift): Do not use BP_SYM.
23491 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23493 (PARMS): Do not use macros from bp-asm.h.
23497 (memcpy): Likewise. Do not use BP_SYM.
23498 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23499 libc_hidden_def and weak_alias.
23500 (mempcpy): Do not use BP_SYM in weak_alias.
23501 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23503 (PARMS): Do not use macros from bp-asm.h.
23506 [!BZERO_P] (CHR): Likewise.
23507 (memset): Likewise. Do not use BP_SYM.
23508 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23510 (PARMS): Do not use macros from bp-asm.h.
23513 (__mpn_mul_1): Do not use BP_SYM.
23514 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23516 (PARMS): Do not use macros from bp-asm.h.
23519 (__mpn_rshift): Do not use BP_SYM.
23520 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23522 (PARMS): Do not use macros from bp-asm.h.
23525 (strchr): Likewise. Do not use BP_SYM.
23526 (index): Do not use BP_SYM in weak_alias.
23527 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23529 (PARMS): Do not use macros from bp-asm.h.
23532 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23533 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23535 (PARMS): Do not use macros from bp-asm.h.
23536 (strlen): Do not use BP_SYM.
23537 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23539 (PARMS): Do not use macros from bp-asm.h.
23543 (__mpn_sub_n): Do not use BP_SYM.
23544 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23546 (PARMS): Do not use macros from bp-asm.h.
23549 (__mpn_submul_1): Do not use BP_SYM.
23550 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23552 (PARMS): Do not use macros from bp-asm.h.
23556 (__mpn_add_n): Do not use BP_SYM.
23557 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23560 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23562 (PARMS): Do not use macros from bp-asm.h.
23565 (memcmp): Do not use BP_SYM.
23566 (bcmp): Do not use BP_SYM in weak_alias.
23567 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23569 (PARMS): Do not use macros from bp-asm.h.
23573 (memcpy): Likewise. Do not use BP_SYM.
23574 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23576 (PARMS): Do not use macros from bp-asm.h.
23580 (memmove): Likewise. Do not use BP_SYM.
23581 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23583 (PARMS): Do not use macros from bp-asm.h.
23587 (__mempcpy): Likewise. Do not use BP_SYM.
23588 (mempcpy): Do not use BP_SYM in weak_alias.
23589 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23591 (PARMS): Do not use macros from bp-asm.h.
23594 [!BZERO_P] (CHR): Likewise.
23595 (memset): Likewise. Do not use BP_SYM.
23596 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23598 (PARMS): Do not use macros from bp-asm.h.
23600 (strcmp): Do not use BP_SYM.
23601 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23603 (PARMS): Do not use macros from bp-asm.h.
23606 [USE_AS_STRTOK_R] (SAVE): Likewise.
23607 (FUNCTION): Likewise. Do not use BP_SYM.
23608 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23610 (strtok_r): Likewise.
23611 (__GI___strtok_r): Likewise.
23612 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23613 (PARMS): Do not use macros from bp-asm.h.
23616 (__mpn_lshift): Do not use BP_SYM.
23617 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23618 (PARMS): Do not use macros from bp-asm.h.
23621 (__memchr): Do not use BP_SYM.
23622 (memchr): Do not use BP_SYM in weak_alias.
23623 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23624 (PARMS): Do not use macros from bp-asm.h.
23627 (memcmp): Do not use BP_SYM.
23628 (bcmp): Do not use BP_SYM in weak_alias.
23629 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23630 (PARMS): Do not use macros from bp-asm.h.
23633 (__mpn_mul_1): Do not use BP_SYM.
23634 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23636 (PARMS): Do not use macros from bp-asm.h.
23639 (__rawmemchr): Do not use BP_SYM.
23640 (rawmemchr): Do not use BP_SYM in weak_alias.
23641 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23642 (PARMS): Do not use macros from bp-asm.h.
23645 (__mpn_rshift): Do not use BP_SYM.
23646 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23647 (PARMS): Do not use macros from bp-asm.h.
23648 (SIGMSK): Likewise.
23649 (__sigsetjmp): Likewise. Do not use BP_SYM.
23650 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23651 (_start): Do not use BP_SYM.
23652 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23653 (PARMS): Do not use macros from bp-asm.h.
23656 (__stpcpy): Likewise. Do not use BP_SYM.
23657 (stpcpy): Do not use BP_SYM in weak_alias.
23658 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23660 (PARMS): Do not use macros from bp-asm.h.
23664 (__stpncpy): Likewise. Do not use BP_SYM.
23665 (stpncpy): Do not use BP_SYM in weak_alias.
23666 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23667 (PARMS): Do not use macros from bp-asm.h.
23670 (strchr): Likewise. Do not use BP_SYM.
23671 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23673 (PARMS): Do not use macros from bp-asm.h.
23676 (__strchrnul): Likewise. Do not use BP_SYM.
23677 (strchrnul): Do not use BP_SYM in weak_alias.
23678 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23680 (PARMS): Do not use macros from bp-asm.h.
23682 (strcspn): Do not use BP_SYM.
23683 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23685 (PARMS): Do not use macros from bp-asm.h.
23688 (strpbrk): Likewise. Do not use BP_SYM.
23689 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23691 (PARMS): Do not use macros from bp-asm.h.
23694 (strrchr): Likewise. Do not use BP_SYM.
23695 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23696 (PARMS): Do not use macros from bp-asm.h.
23698 (strspn): Do not use BP_SYM.
23699 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23700 (PARMS): Do not use macros from bp-asm.h.
23704 (FUNCTION): Likewise. Do not use BP_SYM.
23705 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23707 (strtok_r): Likewise.
23708 (__GI___strtok_r): Likewise.
23709 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23710 (PARMS): Do not use macros from bp-asm.h.
23714 (__mpn_sub_n): Do not use BP_SYM.
23715 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23717 (PARMS): Do not use macros from bp-asm.h.
23720 (__mpn_submul_1): Do not use BP_SYM.
23721 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23723 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23725 (PARMS): Do not use macros from bp-asm.h.
23730 (__clone): Do not use BP_SYM.
23731 (clone): Do not use BP_SYM in weak_alias.
23732 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23734 (PARMS): Do not use macros from bp-asm.h.
23736 (__mmap64): Do not use BP_SYM.
23737 (mmap64): Do not use BP_SYM in weak_alias.
23738 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23739 <bp-sym.h> and <bp-asm.h>.
23740 (PARMS): Do not use macros from bp-asm.h.
23741 (__posix_fadvise64_l64): Do not use BP_SYM.
23742 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23743 (PARMS): Do not use macros from bp-asm.h.
23745 (semtimedop): Do not use BP_SYM.
23746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23749 2013-02-21 Allan McRae <allan@archlinux.org>
23751 * manual/message.texi (Charset conversion in gettext):
23752 Move @end statement to beginning of line.
23754 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23761 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23762 (denorm): Likewise.
23763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23766 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23768 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23769 tail-call to the resolved function if pltexit isn't needed.
23771 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23774 or Y being zero as being unlikely.
23775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23778 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23780 * manual/nss.texi (System Databases and Name Service Switch):
23781 Remove frobnicate @pxref.
23783 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23785 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23786 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23788 2013-02-20 Petr Machata <pmachata@redhat.com>
23790 * elf/elf.h (R_ARM_TARGET1): New macro.
23791 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23792 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23793 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23794 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23795 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23796 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23797 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23798 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23799 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23800 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23801 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23802 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23803 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23804 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23805 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23806 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23807 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23808 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23809 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23810 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23811 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23812 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23813 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23814 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23815 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23816 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23817 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23818 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23819 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23820 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23821 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23822 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23823 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23824 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23825 (R_ARM_THM_GOT_BREL12): Likewise.
23826 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23827 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23828 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23829 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23830 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23831 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23832 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23833 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23834 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23836 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23838 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23839 __attribute_used__ to __attribute__ ((unused)).
23841 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23843 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23846 comment formatting.
23847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23849 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23852 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23854 (ENTER): Remove both macro definitions.
23856 (CHECK_BOUNDS_LOW): Likewise.
23857 (CHECK_BOUNDS_HIGH): Likewise.
23858 (CHECK_BOUNDS_BOTH): Likewise.
23859 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23860 (RETURN_BOUNDED_POINTER): Likewise.
23861 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23862 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23863 (POP_ERRNO_LOCATION_RETURN): Likewise.
23864 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23865 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23866 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23868 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23869 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23870 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23871 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23872 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23873 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23874 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23875 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23876 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23877 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23878 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23879 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23881 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23883 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23884 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23886 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23887 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23888 * sysdeps/i386/i586/memset.S (memset): Likewise.
23889 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23890 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23891 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23893 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23894 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23895 Change uses of L(2) to L(out).
23896 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23897 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23898 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23899 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23900 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23902 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23903 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23905 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23906 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23907 (RETURN): Do not use macro LEAVE.
23908 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23909 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23910 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23911 * sysdeps/i386/i686/memset.S (memset): Likewise.
23912 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23913 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23914 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23915 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23917 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23918 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23919 L(1_2) and L(1_3) into L(1).
23920 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23921 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23922 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23923 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23924 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23925 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23926 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23927 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23928 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23930 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23931 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23932 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23933 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23934 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23935 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23936 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23937 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23938 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23939 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23940 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23941 * sysdeps/i386/strspn.S (strspn): Likewise.
23942 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23944 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23945 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23946 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23947 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23948 L(1_3) into L(1_1).
23949 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23950 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23951 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23953 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23955 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23957 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23960 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23962 * math/atest-exp.c (exp_mpn): Remove ROUND.
23963 * math/atest-exp2.c (exp_mpn): Likewise.
23964 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23966 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23967 * stdlib/tst-tls-atexit-lib.c: Likewise.
23968 * stdlib/tst-tls-atexit.c: Likewise.
23970 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23972 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23973 and __attribute_alloc_size__.
23975 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23977 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23978 __attribute_alloc_size__.
23979 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23980 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23982 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23984 * include/programs/xmalloc.h: New file.
23985 * catgets/gencat.c: Include it.
23986 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23987 * elf/pldd.c: Likewise.
23988 * iconv/iconv_charmap.c: Likewise.
23989 * iconv/iconvconfig.c: Likewise.
23990 * iconv/strtab.c: Likewise.
23991 * locale/programs/locale.c: Likewise.
23992 * locale/programs/localedef.h: Likewise.
23993 * locale/programs/simple-hash.c: Likewise.
23994 * nscd/nscd.h: Likewise.
23995 * nss/makedb.c: Likewise.
23996 * sysdeps/generic/ldconfig.h: Likewise.
23998 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24000 * Versions.def: Add GLIBC_2.18.
24001 * include/link.h (struct link_map): New member l_tls_dtor_count.
24002 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24003 (__call_tls_dtors): Likewise.
24004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24005 __cxa_thread_atexit_impl.
24006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24022 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24023 (tests): Add test case tst-tls-atexit.
24024 (modules-names): Add shared library for tst-tls-atexit.
24025 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24026 (GLIBC_PRIVATE): Add __call_tls_dtors.
24027 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24029 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24030 * stdlib/tst-tls-atexit.c: New test case.
24031 * stdlib/tst-tls-atexit-lib.c: New test case.
24033 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24035 * elf/Versions (ld): Add _dl_find_dso_for_object.
24036 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24037 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24038 (dl_open_worker): Use _dl_find_dso_for_object.
24039 * elf/dl-sym.c (do_sym): Likewise.
24040 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24042 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24044 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24045 Syntactic changes only.
24046 (_dl_runtime_profile): Do a tail-call to the resolved function.
24048 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24051 * sysdeps/x86_64/bp-asm.h: Remove file.
24052 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24053 <bp-sym.h> and <bp-asm.h>.
24054 (__clone): Do not use BP_SYM.
24055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24056 <bp-sym.h> and <bp-asm.h>.
24057 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24058 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24060 (_setjmp): Do not use BP_SYM.
24061 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24063 (setjmp): Do not use BP_SYM.
24064 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24066 (mempcpy): Do not use BP_SYM in weak_alias.
24067 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24069 (strchr): Do not use BP_SYM.
24070 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24072 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24073 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24074 (_start): Do not use BP_SYM.
24075 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24077 (strcat): Do not use BP_SYM.
24078 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24080 (STRCMP): Do not use BP_SYM.
24081 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24083 (STRCPY): Do not use BP_SYM.
24084 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24086 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24088 (FUNCTION): Do not use BP_SYM.
24089 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24091 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24093 2013-02-17 Andreas Jaeger <aj@suse.de>
24095 * time/Versions: Sort entries.
24096 * string/Versions: Likewise.
24097 * resolv/Versions: Likewise.
24098 * posix/Versions: Likewise.
24099 * iconv/Versions: Likewise.
24100 * elf/Versions: Likewise.
24101 * wcsmbs/Versions: Likewise.
24103 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24105 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24106 loop termination condition.
24108 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24109 variable to calculate EZ.
24112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24113 the lower precision input.
24115 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24118 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24119 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24120 (run-via-rtld-prefix): Do not handle %-bp tests.
24121 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24122 (all-object-suffixes): Remove .ob.
24123 (bppfx): Remove variable.
24124 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24125 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24126 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24127 [$(build-bounded) = yes] (libtype.ob): Likewise.
24128 * Makerules (elide-routines.ob): Remove variable.
24129 (do-tests-clean): Do not handle *-bp.out.
24130 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24131 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24132 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24133 (tests): Do not include $(tests-bp.out).
24134 (xtests): Do not include $(xtests-bp.out).
24135 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24136 [$(build-bounded) = yes] ($(addprefix
24137 $(objpfx),$(binaries-bounded))): Remove rule.
24138 ($(objpfx)%-bp.out): Remove rule.
24139 * config.make.in (build-bounded): Remove variable.
24140 * crypt/Makefile [$(build-bounded) = yes]
24141 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24142 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24143 append to variable.
24144 [$(build-bounded) = yes] (install-lib): Likewise.
24145 [$(build-bounded) = yes] (generated): Likewise.
24146 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24148 * intl/Makefile [$(build-bounded) = yes]
24149 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24150 * math/Makefile [$(build-bounded) = yes]
24151 ($(tests:%=$(objpfx)%-bp): Likewise.
24152 * misc/Makefile [$(build-bounded) = yes]
24153 ($(objpfx)tst-tsearch-bp): Likewise.
24154 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24155 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24157 * string/Makefile (o-objects.ob): Remove variable.
24158 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24159 (CFLAGS-.ob): Remove variable.
24160 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24161 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24162 both definitions of variable.
24163 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24164 (ASFLAGS-.ob): Remove variable.
24166 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24169 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24170 Remove __BOUNDED_POINTERS__ from condition.
24171 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24172 * string/bits/string2.h [!__NO_STRING_INLINES &&
24173 !__BOUNDED_POINTERS__]: Likewise.
24174 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24176 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24177 Remove conditional code.
24178 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24179 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24180 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24184 * csu/libc-start.c: Do not include <bp-sym.h>.
24185 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24186 * elf/dl-open.c: Do not include <bp-sym.h>.
24187 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24188 * math/fegetenv.c: Do not include <bp-sym.h>.
24189 (fegetenv): Do not use BP_SYM in versioned symbols.
24190 * nptl/sysdeps/pthread/bits/libc-lockP.h
24191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24194 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24196 (__pthread_mutex_destroy): Likewise.
24197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24198 (__pthread_mutex_lock): Likewise.
24199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24200 (__pthread_mutex_trylock): Likewise.
24201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24202 (__pthread_mutex_unlock): Likewise.
24203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24204 (__pthread_mutexattr_init): Likewise.
24205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24206 (__pthread_mutexattr_destroy): Likewise.
24207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24208 (__pthread_mutexattr_settype): Likewise.
24209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24210 (__pthread_rwlock_init): Likewise.
24211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24212 (__pthread_rwlock_destroy): Likewise.
24213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24214 (__pthread_rwlock_rdlock): Likewise.
24215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24216 (__pthread_rwlock_tryrdlock): Likewise.
24217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24218 (__pthread_rwlock_wrlock): Likewise.
24219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24220 (__pthread_rwlock_trywrlock): Likewise.
24221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24222 (__pthread_rwlock_unlock): Likewise.
24223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24224 (__pthread_key_create): Likewise.
24225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24226 (__pthread_setspecific): Likewise.
24227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24228 (__pthread_getspecific): Likewise.
24229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24232 (_pthread_cleanup_push_defer): Likewise.
24233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24234 (_pthread_cleanup_pop_restore): Likewise.
24235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24236 (pthread_setcancelstate): Likewise.
24237 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24239 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24240 (memchr): Do not use BP_SYM in weak_alias.
24241 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24242 (fegetenv): Do not use BP_SYM in versioned symbols.
24243 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24244 (fesetenv): Do not use BP_SYM in versioned symbols.
24245 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24246 (feupdateenv): Do not use BP_SYM in versioned symbols.
24247 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24248 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24249 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24250 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24251 (open64): Do not use BP_SYM in weak_alias.
24252 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24253 (fegetenv): Do not use BP_SYM in versioned symbols.
24254 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24255 (fesetenv): Do not use BP_SYM in versioned symbols.
24256 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24257 (feupdateenv): Do not use BP_SYM in versioned symbols.
24258 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24259 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24260 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24261 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24262 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24263 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24264 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24266 (__libc_start_main): Do not use BP_SYM.
24268 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24271 redundant return line.
24273 (denorm): Likewise.
24274 (dbl_mp): Likewise.
24275 (sub_magnitudes): Likewise.
24281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24283 (denorm): Likewise.
24284 (dbl_mp): Likewise.
24285 (sub_magnitudes): Likewise.
24292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24294 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24295 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24298 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24299 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24301 of __mul for squares.
24302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24306 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24307 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24309 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24312 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24314 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24315 prototype or function definition. Rename ubp_* variables and
24316 parameters. Remove argv definitions conditional on
24317 [__BOUNDED_POINTERS__].
24318 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24319 * elf/dl-runtime.c (_dl_fixup): Likewise.
24320 * include/set-hooks.h (RUN_HOOK): Likewise.
24321 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24323 * string/strcpy.c (strcpy): Do not use __unbounded.
24324 * sysdeps/generic/frame.h (struct layout): Likewise.
24325 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24326 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24327 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24328 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24329 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24330 (__backtrace): Likewise.
24331 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24333 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24334 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24335 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24337 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24338 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24339 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24340 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24341 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24342 Do not use __unbounded.
24343 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24344 Rename __unboundedrlimits parameter to rlimits in prototype.
24345 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24346 Do not use __unbounded.
24347 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24348 not use __ptrvalue.
24349 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24350 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24352 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24353 __ptrvalue or __unbounded.
24354 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24355 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24357 (__new_msgctl): Do not use __ptrvalue.
24358 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24360 (__libc_msgrcv): Do not use __ptrvalue.
24361 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24362 startup_info): Do not use __unbounded.
24363 (__libc_start_main): Likewise. Rename ubp_* variables and
24364 parameters. Remove argv definitions conditional on
24365 [__BOUNDED_POINTERS__].
24366 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24368 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24372 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24374 (__new_shmctl): Do not use __ptrvalue.
24375 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24376 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24378 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24380 (__libc_sigaction): Likewise.
24381 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24382 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24384 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24386 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24388 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24390 * string/mempcpy.c: Implement by calling memcpy.
24392 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24400 values in the mantissa.
24402 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24403 minimize writes to Z.
24404 (sub_magnitudes): Simplify code a bit.
24406 2013-02-12 Roland McGrath <roland@hack.frob.com>
24408 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24409 from the message. The linker prefixes all warnings with that already.
24411 2013-02-12 Andreas Schwab <schwab@suse.de>
24414 * posix/regexec.c (extend_buffers): Add parameter min_len.
24415 (check_matching): Pass minimum needed length.
24416 (clean_state_log_if_needed): Likewise.
24417 (get_subexp): Likewise.
24418 * posix/Makefile (tests): Add bug-regex34.
24419 (bug-regex34-ENV): Define.
24420 * posix/bug-regex34.c: New file.
24423 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24424 elements compare against the byte sequence of it, not its name.
24425 * posix/Makefile (tests): Add bug-regex35.
24426 (bug-regex35-ENV): Define.
24427 * posix/bug-regex35.c: New file.
24429 2013-02-11 Tom de Vries <tom@codesourcery.com>
24431 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24433 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24434 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24435 (CHECK_EOL): Add undef.
24437 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24439 * bits/stdlib-bsearch.h: New file.
24440 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24441 * stdlib/stdlib.h: Likewise.
24443 2013-02-11 Roland McGrath <roland@hack.frob.com>
24445 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24446 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24448 * manual/search.texi (Array Search Function): Add missing const in
24450 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24451 declaration to use rlim_t.
24452 (Basic Scheduling Functions): Remove erroneous const from
24453 sched_getparam prototype. Remove erroneous * from
24454 sched_get_priority_max and sched_get_priority_min prototypes.
24455 (Resource Usage): Fix summary @comment on vtimes to refer to
24456 sys/vtimes.h rather than vtimes.h.
24457 Add missing *s in vtimes prototype.
24458 (Limits on Resources): Fix ulimit prototype to return long int.
24459 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24460 prototypes to use long int rather than double.
24461 (BSD Random): Fix initstate and setstate to use char *, not void *.
24462 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24463 prototype to make second argument 'struct aiocb64 *const[]'.
24464 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24465 (Status of AIO Operations): Remove erroneous const in aio_return and
24466 aio_return64 prototypes.
24467 (Synchronizing I/O): Fix sync prototype to return void.
24468 * manual/startup.texi (Suboptions): Remove an erroneous const in
24469 getsubopt prototype.
24470 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24471 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24472 use size_t rather than int.
24473 (Scanning All Users): Likewise for getpwent_r.
24474 (Setting Groups): Add missing const to setgroups prototype.
24475 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24476 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24477 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24478 'const void *' rather than 'const char *'.
24479 (Host Address Functions): Likewise for inet_ntop.
24480 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24481 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24482 ssize_t for return value.
24483 (Sending Data): Likewise for send, sendto, sendmsg.
24484 (Socket Option Functions): Add a missing const in setsockopt prototype.
24485 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24486 use wchar_t for the argument.
24487 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24488 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24490 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24491 double/float/long double for second argument.
24492 Fix return types of significand, significandf, significandl.
24493 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24494 argument in fchmod prototype.
24495 (File Owner): Use uid_t and gid_t in fchown prototype.
24496 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24497 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24498 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24499 use 'const struct dirent **' as argument types to CMP function pointer
24501 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24502 (File Times): Fix summary magic @comment for struct utimbuf and utime
24503 to refer to utime.h, not time.h.
24504 * manual/string.texi (Argz Functions): Add missing const in
24505 argz_extract and argz_next prototypes.
24506 (Finding Tokens in a String): Likewise for basename.
24507 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24508 (Copying and Concatenation): Fix typo in wmemmove prototype.
24509 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24510 (Signal Stack): Remove erroneous const in sigstack prototype.
24511 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24513 (Simple Calendar Time): Likewise for stime.
24514 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24516 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24517 say sys/sysctl.h instead.
24518 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24519 and vsyslog prototypes.
24521 2013-02-11 Tom de Vries <tom@codesourcery.com>
24523 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24526 2013-02-11 Roland McGrath <roland@hack.frob.com>
24528 * misc/sys/mman.h: Fix typo in mremap comment.
24530 2013-02-08 Roland McGrath <roland@hack.frob.com>
24532 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24533 the '\0' terminator.
24535 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24538 * debug/segfault.c: Don't include <bp-checks.h>.
24539 * sysdeps/generic/bp-checks.h: Remove file.
24540 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24541 (__GETDENTS): Don't use CHECK_N.
24542 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24543 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24544 (__getgroups): Don't use CHECK_N.
24545 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24546 (setgroups): Don't use CHECK_N.
24547 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24548 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24549 (__libc_msgrcv): Don't use CHECK_N.
24550 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24551 (__libc_msgsnd): Don't use CHECK_N.
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24554 (__libc_pread): Don't use CHECK_N.
24555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24556 include <bp-checks.h>.
24557 (__libc_pread64): Don't use CHECK_N.
24558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24559 include <bp-checks.h>.
24560 (__libc_pwrite): Don't use CHECK_N.
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24562 include <bp-checks.h>.
24563 (__libc_pwrite64): Don't use CHECK_N.
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24566 (__libc_pread): Don't use CHECK_N.
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24568 include <bp-checks.h>.
24569 (__libc_pread64): Don't use CHECK_N.
24570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24571 include <bp-checks.h>.
24572 (__libc_pwrite): Don't use CHECK_N.
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24574 include <bp-checks.h>.
24575 (__libc_pwrite64): Don't use CHECK_N.
24576 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24577 (do_pread): Don't use CHECK_N.
24578 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24579 (do_pread64): Don't use CHECK_N.
24580 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24581 (do_pwrite): Don't use CHECK_N.
24582 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24583 (do_pwrite64): Don't use CHECK_N.
24584 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24585 (__libc_readv): Don't use CHECK_N.
24586 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24587 (semop): Don't use CHECK_N.
24588 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24590 (semtimedop): Don't use CHECK_N.
24591 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24592 (__libc_pread): Don't use CHECK_N.
24593 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24595 (__libc_pread64): Don't use CHECK_N.
24596 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24598 (__libc_pwrite): Don't use CHECK_N.
24599 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24601 (__libc_pwrite64): Don't use CHECK_N.
24602 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24604 (__libc_msgrcv): Don't use CHECK_N.
24605 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24606 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24607 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24608 (__libc_writev): Don't use CHECK_N.
24610 2013-02-08 Roland McGrath <roland@hack.frob.com>
24612 * string/strcpy.c: Removed unused variable.
24614 * Makeconfig (+sysdep-includes): Define with := rather than =.
24615 Use an existing include/ subdir of each sysdeps dir before it.
24617 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24619 * nscd/connection.c (register_traced_file): Comment function.
24620 [HAVE_INOTIFY] (union __inev): Define.
24621 [HAVE_INOTIFY] (inotify_check_files): New function.
24622 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24623 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24625 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24627 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24629 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24630 loaded if not already and that a failure is permanent.
24632 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24635 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24636 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24638 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24641 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24642 (CHECK_1_NULL_OK): Likewise.
24643 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24644 (__fxstat): Do not use CHECK_1.
24645 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24647 (___fxstat64): Do not use CHECK_1.
24648 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24650 (__fxstatat): Do not use CHECK_1.
24651 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24653 (__fxstatat64): Do not use CHECK_1.
24654 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24656 (__fxstat): Do not use CHECK_1.
24657 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24659 (__fxstatat): Do not use CHECK_1.
24660 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24662 (__getresgid): Do not use CHECK_1.
24663 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24665 (__getresuid): Do not use CHECK_1.
24666 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24668 (__lxstat): Do not use CHECK_1.
24669 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24671 (__old_msgctl): Do not use CHECK_1.
24672 (__new_msgctl): Likewise.
24673 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24675 (__new_setrlimit): Do not use CHECK_1.
24676 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24678 (__old_shmctl): Do not use CHECK_1.
24679 (__new_shmctl): Likewise.
24680 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24682 (__xstat): Do not use CHECK_1.
24683 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24684 (__lxstat): Do not use CHECK_1.
24685 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24687 (___lxstat64): Do not use CHECK_1.
24688 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24689 (__old_msgctl): Do not use CHECK_1.
24690 (__new_msgctl): Likewise.
24691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24693 (__gettimeofday): Do not use CHECK_1.
24694 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24695 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24696 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24698 (__gettimeofday): Do not use CHECK_1.
24699 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24700 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24701 (__new_shmctl): Do not use CHECK_1.
24702 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24704 (do_sigtimedwait): Do not use CHECK_1.
24705 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24707 (do_sigwaitinfo): Do not use CHECK_1.
24708 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24710 (msgctl): Do not use CHECK_1.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24713 (shmctl): Do not use CHECK_1.
24714 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24715 (ustat): Do not use CHECK_1.
24716 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24718 (__fxstat): Do not use CHECK_1.
24719 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24721 (__fxstatat): Do not use CHECK_1.
24722 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24724 (__lxstat): Do not use CHECK_1.
24725 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24727 (__xstat): Do not use CHECK_1.
24728 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24729 (__xstat): Do not use CHECK_1.
24730 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24731 (___xstat64): Do not use CHECK_1.
24734 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24736 (CHECK_BOUNDS_HIGH): Likewise.
24737 * string/strcpy.c: Do not include <bp-checks.h>.
24738 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24740 2013-02-07 Roland McGrath <roland@hack.frob.com>
24742 * nscd/nscd-client.h (__nscd_drop_map_ref):
24743 Add __attribute__ ((unused)).
24744 * nis/nss-nisplus.h (niserr2nss): Likewise.
24746 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24747 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24749 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24750 Remove inline keyword.
24751 * include/rounding-mode.h (round_away): Likewise.
24752 * libio/wfileops.c (adjust_wide_data): Likewise.
24753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24754 (__m128i_strloadu_tolower): Likewise.
24755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24756 (__m128i_strloadu_tolower): Likewise.
24757 * time/mktime.c (ydhms_diff): Likewise.
24758 * locale/elem-hash.h (elem_hash): Likewise.
24759 * locale/setlocale.c (setdata): Likewise.
24760 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24761 (re_string_wchar_at): Likewise.
24762 (bitset_not, bitset_merge, bitset_mask): Likewise.
24763 [!(__GNUC__ > 3)] (inline): Remove macro.
24764 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24765 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24766 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24767 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24768 * string/memcmp.c (memcmp_bytes): Likewise.
24769 * locale/programs/locarchive.c (compute_hashval): Likewise.
24770 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24771 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24772 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24773 * nss/getent.c (print_rpc, print_protocols): Likewise.
24774 (print_passwd, print_group, print_aliases): Likewise.
24775 * nis/nss-nisplus.h (niserr2nss): Likewise.
24776 * nscd/connections.c (restart_p): Likewise.
24777 Change return type to bool.
24779 2013-02-05 Roland McGrath <roland@hack.frob.com>
24781 * Makeconfig (all-Depend-files): Add existing
24782 $(sorted-subdirs:=/Depend) files.
24783 (all-subdirs): Remove nss.
24784 * sysdeps/unix/inet/Subdirs: Add it here instead.
24785 * hesiod/Depend: New file.
24787 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24788 instead of calling alloca.
24790 * io/lseek.c (__lseek): Rename to __libc_lseek.
24791 Define __lseek as an alias.
24793 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24795 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24797 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24798 else clause and remove check for non-standard endianness.
24800 2013-02-04 David S. Miller <davem@davemloft.net>
24802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24804 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24807 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24808 (__ubp_memchr): Remove prototype.
24809 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24810 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24811 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24812 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24813 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24815 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24816 (__ubp_memchr): Likewise.
24817 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24818 (__ubp_memchr): Likewise.
24819 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24820 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24821 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24822 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24824 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24825 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24826 (__getcwd): Do not use CHECK_STRING.
24827 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24829 (__real_chown): Do not use CHECK_STRING.
24830 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24832 (fchownat): Do not use CHECK_STRING.
24833 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24835 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24837 (__lchown): Do not use CHECK_STRING.
24838 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24839 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24840 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24841 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24843 include <bp-checks.h>.
24844 (truncate64): Do not use CHECK_STRING.
24845 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24847 (__real_chown): Do not use CHECK_STRING.
24848 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24850 (__lchown): Do not use CHECK_STRING.
24851 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24853 (__chown): Do not use CHECK_STRING.
24854 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24856 (truncate64): Do not use CHECK_STRING.
24857 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24859 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24860 (__xmknod): Do not use CHECK_STRING.
24861 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24863 (__xmknodat): Do not use CHECK_STRING.
24864 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24865 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24867 2013-02-04 Andreas Schwab <schwab@suse.de>
24870 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24871 * include/netdb.h: Likewise for h_errno.
24872 * elf/tst-stackguard1.c: Include <tls.h>.
24874 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24876 * elf/link.h (struct link_map): Extend the l_addr comment.
24877 * include/link.h (struct link_map): Likewise.
24879 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24882 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24883 (BOUNDED_1): Remove macro.
24884 * debug/backtrace.c: Don't include <bp-checks.h>.
24885 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24886 (__backtrace): Likewise.
24887 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24889 (__backtrace): Don't use BOUNDED_1.
24890 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24892 (__backtrace): Don't use BOUNDED_1.
24893 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24894 (__backtrace): Don't use BOUNDED_1.
24895 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24896 (shmat): Don't use BOUNDED_N.
24898 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24901 * sysdeps/generic/bp-start.h: Remove file.
24902 * csu/libc-start.c: Don't include <bp-start.h>.
24903 (LIBC_START_MAIN): Set up __environ directly instead of using
24904 INIT_ARGV_and_ENVIRON.
24905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24909 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24911 (CHECK_FCNTL): Likewise.
24912 (CHECK_N_PAGES): Likewise.
24915 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24917 (CHECK_SIGSET_NULL_OK): Likewise.
24918 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24920 (sigpending): Don't use CHECK_SIGSET.
24921 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24923 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24924 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24926 (do_sigsuspend): Don't use CHECK_SIGSET.
24927 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24929 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24930 (do_sigwait): Don't use CHECK_SIGSET.
24931 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24934 include <bp-checks.h>.
24935 (sigpending): Don't use CHECK_SIGSET.
24936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24937 include <bp-checks.h>.
24938 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24939 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24941 (sigpending): Don't use CHECK_SIGSET.
24942 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24944 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24947 * sysdeps/generic/bp-semctl.h: Remove file.
24948 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24949 <bp-checks.h> and <bp-semctl.h>.
24950 (__old_semctl): Don't use CHECK_SEMCTL.
24951 (__new_semctl): Likewise.
24952 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24954 (__old_semctl): Don't use CHECK_SEMCTL.
24955 (__new_semctl): Likewise.
24956 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24957 <bp-checks.h> and <bp-semctl.h>.
24958 (__old_semctl): Don't use CHECK_SEMCTL.
24959 (__new_semctl): Likewise.
24960 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24961 <bp-checks.h> and <bp-semctl.h>.
24962 (semctl): Don't use CHECK_SEMCTL.
24965 * Makerules (elide-bp-thunks): Remove variable.
24966 (elide-routines.oS): Don't use $(elide-bp-thunks).
24967 (elide-routines.os): Likewise.
24968 (elide-routines.o): Likewise.
24969 (elide-routines.op): Likewise.
24970 (elide-routines.og): Likewise.
24971 (objects): Don't use $(bp-thunks).
24972 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24974 (common-generated): Do not add s-proto-bp.d.
24975 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24978 Do not generate makefile rules for bounded-pointer thunks.
24979 * sysdeps/generic/bp-thunks.h: Remove file.
24980 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24981 * sysdeps/unix/s-proto-bp.S: Likewise.
24984 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24985 parts of result separately when argument is not close to line from
24986 -i to i and one part of argument is small.
24987 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24988 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24989 * math/libm-test.inc (cacos_test): Add more tests.
24990 (casin_test): Likewise.
24991 (casinh_test): Likewise.
24992 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2013-01-31 David S. Miller <davem@davemloft.net>
24997 * po/de.po: Update from translation team.
24999 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25001 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25003 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25005 * configure.in (_AC_PROG_CC_C89): New definition.
25006 * configure: Regenerate.
25008 * configure.in (AC_PROG_CPP): New definition.
25009 * configure: Regenerate.
25011 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25013 * debug/tst-backtrace.h: New file.
25014 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25015 (ret): Remove variable.
25017 (FAIL): Remove macro.
25018 (NO_INLINE): Likewise.
25019 (fn1): Use match function instead of strstr.
25020 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25021 (ret): Remove variable.
25023 (FAIL): Remove macro.
25024 (NO_INLINE): Likewise.
25025 (fn): Use match function instead of strstr.
25026 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25027 (ret): Remove variable.
25029 (FAIL): Remove macro.
25030 (NO_INLINE): Likewise.
25031 (handle_signal): Use match function instead of strstr.
25032 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25033 (ret): Remove variable.
25035 (FAIL): Remove macro.
25036 (NO_INLINE): Likewise.
25037 (handle_signal): Use match function instead of strstr.
25039 2013-01-23 Roland McGrath <roland@hack.frob.com>
25041 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25043 2013-01-23 David S. Miller <davem@davemloft.net>
25045 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25046 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25047 argument of CAS if possible.
25048 * sysdeps/sparc/sparc64/bits/atomic.h
25049 (__arch_compare_and_exchange_val_32_acq): Likewise.
25050 (__arch_compare_and_exchange_val_64_acq): Likewise.
25052 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25054 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25055 * sysdeps/posix/ulimit.c: ... this.
25056 Include <limits.h>.
25057 * sysdeps/unix/bsd/ulimit.c: Remove file.
25059 2013-01-23 Adam Conrad <adconrad@0c3.net>
25061 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25062 (LDFLAGS-tst-array5): Likewise.
25064 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25067 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25068 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25069 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25070 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25072 2013-01-21 David S. Miller <davem@davemloft.net>
25074 * sysdeps/sparc/backtrace.c: New file.
25075 * sysdeps/sparc/sparc32/backtrace.h: New file.
25076 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25077 * sysdeps/sparc/sparc64/backtrace.h: New file.
25078 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25079 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25082 2013-01-21 Andreas Schwab <schwab@suse.de>
25085 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25088 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25094 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25095 Mark Mitchell <mark@codesourcery.com>
25096 Tom de Vries <tom@codesourcery.com>
25097 Paul Pluzhnikov <ppluzhnikov@google.com>
25099 * debug/tst-backtrace2.c: New file.
25100 * debug/tst-backtrace3.c: Likewise.
25101 * debug/tst-backtrace4.c: Likewise.
25102 * debug/tst-backtrace5.c: Likewise.
25103 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25104 (CFLAGS-tst-backtrace3.c): Likewise.
25105 (CFLAGS-tst-backtrace4.c): Likewise.
25106 (CFLAGS-tst-backtrace5.c): Likewise.
25107 (LDFLAGS-tst-backtrace2): Likewise.
25108 (LDFLAGS-tst-backtrace3): Likewise.
25109 (LDFLAGS-tst-backtrace4): Likewise.
25110 (LDFLAGS-tst-backtrace5): Likewise.
25111 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25112 tst-backtrace4 and tst-backtrace5.
25114 2013-01-18 Anton Blanchard <anton@samba.org>
25115 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25117 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25118 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25119 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25120 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25122 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25123 "+r" and remove output regs list as redundant. Add explicit inline
25124 asm to specify register of return val to work around compiler codegen
25125 bug. Remove (int) cast on return value. Add return type parameter to
25126 use in macro so that this macro does not truncate return value for
25128 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25129 pass to INTERNAL_VSYSCALL_NCS.
25130 (INLINE_VSYSCALL): Add 'long int' as return type to
25131 INTERNAL_VSYSCALL_NCS macro invocation.
25132 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25133 INTERNAL_VSYSCALL_NCS macro invocation.
25134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25136 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25139 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25140 Fix application of SIMD FP exception mask.
25142 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25143 mp_no from a power of two.
25144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25145 __mpexp_twomm1. Use __pow_mp.
25147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25150 2013-01-17 David S. Miller <davem@davemloft.net>
25152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25154 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25157 * include/complex.h: Condition contents on [!_COMPLEX_H].
25158 (__kernel_casinhf): New prototype.
25159 (__kernel_casinh): Likewise.
25160 (__kernel_casinhl): Likewise.
25161 * math/Makefile (libm_calls): Add k_casinh.
25162 * math/k_casinh.c: New file.
25163 * math/k_casinhf.c: Likewise.
25164 * math/k_casinhl.c: Likewise.
25165 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25166 finite nonzero arguments.
25167 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25168 finite nonzero arguments.
25169 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25170 finite nonzero arguments.
25171 * math/s_casinh.c: Do not include <float.h>.
25172 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25173 * math/s_casinhf.c: Do not include <float.h>.
25174 (__casinhf): Move code for finite nonzero arguments to
25176 * math/s_casinhl.c: Do not include <float.h>.
25177 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25179 (__casinhl): Move code for finite nonzero arguments to
25181 * math/libm-test.inc (cacos_test): Add more tests.
25182 * sysdeps/i386/fpu/libm-test-ulps: Update.
25183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25185 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25187 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25188 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25189 [!HAVE_MREMAP]: Remove [defined linux] case.
25190 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25192 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25194 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25196 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25198 * elf/elf.h (R_386_SIZE32): New relocation.
25199 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25201 (elf_machine_rela): Likewise.
25202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25203 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25205 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25207 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25208 (FP_FAST_FMA): Do not define.
25209 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25210 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25211 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25212 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25213 !_SOFT_FLOAT]: Likewise.
25214 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25215 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25217 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25218 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25219 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25220 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25221 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25222 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25225 2013-01-16 Andreas Schwab <schwab@suse.de>
25228 * include/stdlib.h (__mktemp): Add declaration.
25229 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25230 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25232 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25234 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25236 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25237 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25238 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25240 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25241 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25245 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25246 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25247 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25249 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25250 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25252 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25254 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25256 2013-01-15 David S. Miller <davem@davemloft.net>
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25259 trunc{,f} to libm-sysdep_routes.
25260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25273 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25274 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25275 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25278 nearbyint{,f} to libm-sysdep_routes.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25290 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25292 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25293 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25295 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25296 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25297 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25299 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25300 libc_feholdexcept and libc_fesetenv.
25302 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25304 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25306 2013-01-14 David S. Miller <davem@davemloft.net>
25308 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25309 (SPARC_ASM_VIS2_IFUNC): Likewise.
25310 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25312 use of 'siam' instruction.
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25346 routines to libm-sysdep_routines.
25347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25350 fdim/fdimf to libm-sysdep_routines.
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25359 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25360 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25362 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25364 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25366 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25367 to optimize copies.
25369 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25374 local variable MPTWO.
25375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25378 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25380 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25383 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25385 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25387 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25389 * manual/pattern.texi (glob_t): Document gl_flags.
25390 (glob64_t): Likewise.
25392 2013-01-11 David S. Miller <davem@davemloft.net>
25394 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25395 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25396 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25397 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25398 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25399 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25400 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25401 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25402 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25403 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25404 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25405 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25406 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25408 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25409 sparc V9 rather than using V8 code.
25410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25415 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25418 2013-01-11 Roland McGrath <roland@hack.frob.com>
25420 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25421 not in the main loop.
25422 * configure: Regenerated.
25424 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25426 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25427 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25429 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25430 [!__GLIBC_HAVE_LONG_LONG] case.
25431 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25432 condition to just #else.
25433 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25434 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25435 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25436 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25438 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25439 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25440 #elif condition to just #else.
25441 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25442 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25443 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25444 #elif condition to just #else.
25446 2013-01-11 Steve Ellcey <sellcey@mips.com>
25448 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25449 (EF_MIPS_ARCH_64): Fix value.
25450 (EF_MIPS_ARCH_32R2): New.
25451 (EF_MIPS_ARCH_64R2): New.
25453 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25455 * Makeconfig (+link-pie-before-libc): New.
25456 (+link-pie-after-libc): Likewise.
25457 (+link-pie-tests): Likewise.
25458 (+link-pie): Rewritten.
25459 (link-before-libc): Remove $(config-LDFLAGS).
25460 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25461 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25462 (config-LDFLAGS): Renamed to ...
25463 (rtld-LDFLAGS): This.
25464 (rtld-tests-LDFLAGS): New macro.
25465 (link-libc-rpath-link): Likewise.
25466 (link-libc-tests-rpath-link): Likewise.
25467 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25468 (link-libc): Prepand $(link-libc-rpath-link).
25469 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25470 (test-program-prefix): New macro.
25471 (test-via-rtld-prefix): Likewise.
25472 (test-program-cmd): Likewise.
25473 (host-test-program-cmd): Likewise.
25474 * Makefile ($(common-objpfx)testrun.sh): Replace
25475 $(run-program-prefix) with $(test-program-prefix).
25476 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25478 ($(common-objpfx)shlib.lds): Likewise.
25479 (build-module-helper): Likewise.
25480 ($(common-objpfx)format.lds): Likewise.
25481 * Rules (binaries-pie-tests): New.
25482 (binaries-pie-notests): Likewise.
25483 (binaries-pie): Rewritten.
25484 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25485 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25486 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25487 (make-test-out): Replace $(host-built-program-cmd) with
25488 $(host-test-program-cmd).
25489 * config.make.in (build-hardcoded-path-in-tests): New variable.
25490 * configure.in (--enable-hardcoded-path-in-tests): New configure
25492 (hardcoded_path_in_tests): New AC_SUBST.
25493 * configure: Regenerated.
25494 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25495 $(built-program-cmd) with $(test-program-cmd).
25496 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25497 (test_program_cmd): This.
25498 * elf/Makefile ($(objpfx)order.out): Run test with
25499 $(test-program-prefix).
25500 ($(objpfx)order2.out): Likewise.
25501 ($(objpfx)tst-initorder.out): Likewise.
25502 ($(objpfx)tst-initorder2.out): Likewise.
25503 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25504 $(test-program-cmd).
25505 ($(objpfx)tst-array1-static.out): Likewise.
25506 ($(objpfx)tst-array2.out): Likewise.
25507 ($(objpfx)tst-array3.out): Likewise.
25508 ($(objpfx)tst-array4.out): Likewise.
25509 ($(objpfx)tst-array5.out): Likewise.
25510 ($(objpfx)tst-array5-static.out): Likewise.
25511 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25512 $(test-program-cmd).
25513 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25514 $(run-program-prefix) with $(test-program-prefix).
25515 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25516 (test_program_prefix): This.
25517 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25518 $(run-program-prefix) with $(test-program-prefix).
25519 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25520 (test_program_prefix): This.
25521 * iconvdata/tst-tables.sh: Likewise.
25522 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25523 $(run-program-prefix) with $(test-program-prefix).
25524 ($(objpfx)tst-translit.out): Likewise.
25525 ($(objpfx)tst-gettext2.out): Likewise.
25526 ($(objpfx)tst-gettext4.out): Likewise.
25527 ($(objpfx)tst-gettext6.out): Likewise.
25528 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25529 (test_program_prefix): This.
25530 * intl/tst-gettext2.sh: Likewise.
25531 * intl/tst-gettext4.sh Likewise.
25532 * intl/tst-gettext6.sh: Likewise.
25533 * intl/tst-translit.sh: Likewise.
25534 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25535 with $(test-program-cmd).
25536 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25537 $(run-program-prefix) with $(test-program-prefix).
25538 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25539 (test_program_prefix): This.
25540 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25541 $(run-program-prefix) with $(test-program-prefix).
25542 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25543 (test_program_prefix): This.
25544 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25545 * posix/Makefile ($(objpfx)globtest.out): Replace
25546 $(run-via-rtld-prefix) and $(test-wrapper) with
25547 $(test-program-prefix) and $(test-via-rtld-prefix).
25548 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25549 $(test-program-prefix).
25550 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25551 $(host-test-program-cmd).
25552 (tst-spawn-ARGS): Likewise.
25553 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25554 $(test-program-prefix).
25555 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25556 (test_via_rtld_prefix): This.
25557 (test_wrapper): Renamed to ...
25558 (test_program_prefix): This.
25559 (run_program_prefix): Replaced by test_program_prefix.
25560 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25561 (test_program_prefix): This.
25562 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25563 with $(host-test-program-cmd).
25564 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25565 $(run-program-prefix) with $(test-program-prefix).
25566 ($(objpfx)tst-printf.out): Likewise.
25567 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25568 $(test-program-cmd).
25569 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25570 (test_program_prefix): This.
25571 * stdio-common/tst-unbputc.sh: Likewise.
25572 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25573 $(run-program-prefix) with $(test-program-prefix).
25574 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25575 (test_program_prefix): This.
25576 * string/Makefile ($(objpfx)tst-svc.out): Replace
25577 $(built-program-cmd) with $(test-program-cmd).
25579 2013-01-11 Andreas Jaeger <aj@suse.de>
25582 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25583 value. Sync with Linux 3.7.
25585 2013-01-10 David S. Miller <davem@davemloft.net>
25587 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25588 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25589 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25591 2013-01-10 Roland McGrath <roland@hack.frob.com>
25593 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25595 * configure: Regenerated.
25597 2013-01-10 David S. Miller <davem@davemloft.net>
25599 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25600 sparc V9 rather than using V8 code.
25601 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25602 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25604 2013-01-10 Roland McGrath <roland@hack.frob.com>
25606 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25607 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25608 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25609 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25610 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25611 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25612 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25613 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25614 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25615 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25616 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25617 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25618 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25619 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25620 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25621 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25622 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25623 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25624 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25625 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25626 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25627 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25628 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25629 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25630 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25631 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25632 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25634 2013-01-10 David S. Miller <davem@davemloft.net>
25636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25638 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25640 * posix/Makefile (tests-static): New variable.
25641 (tests): Add $(tests-static).
25642 (tst-exec-static-ARGS): New variable.
25643 (tst-spawn-static-ARGS): Likewise.
25644 * posix/tst-exec-static.c: New file.
25645 * posix/tst-spawn-static.c: Likewise.
25646 * posix/tst-exec.c: Support run directly.
25647 * posix/tst-spawn.c: Likewise.
25649 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25651 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25653 * math/bits/mathcalls.h (llrint): Likewise.
25654 (llround): Likewise.
25655 * stdlib/stdlib.h (struct drand48_data): Likewise.
25656 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25657 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25658 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25660 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25662 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25663 (elf_greg_t): Likewise.
25664 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25665 (__jmp_buf): Likewise.
25666 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25668 (llrint): Likewise, for all definitions.
25669 (llrintl): Likewise.
25671 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25672 Remove [__GNUC__] condition.
25673 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25674 condition to just [__USE_ISOC99].
25675 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25677 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25680 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25681 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25683 (_POSIX_V6_ILP32_OFF32): Likewise.
25684 (_XBS5_ILP32_OFF32): Likewise.
25685 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25686 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25688 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25690 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25693 doubles __mpexp_twomm1. Adjust usage.
25694 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25697 2013-01-10 Andreas Schwab <schwab@suse.de>
25700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25701 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25703 2013-01-09 David S. Miller <davem@davemloft.net>
25706 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25707 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25708 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25709 (TCP_FASTOPEN): Define.
25710 (tcp_repair_opt): New structure.
25711 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25713 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25714 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25715 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25716 (tcp_cookie_transactions): New structure.
25718 2013-01-09 Anton Blanchard <anton@samba.org>
25720 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25721 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25722 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25723 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25725 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25727 * include/features.h (__USE_ANSI): Remove.
25729 2013-01-09 Roland McGrath <roland@hack.frob.com>
25731 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25733 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25735 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25737 * sysdeps/s390/fpu/libm-test-ulps: Update.
25739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25741 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25745 (denorm): Likewise.
25746 (__mp_dbl): Likewise.
25747 (__dbl_mp): Likewise.
25748 (add_magnitudes): Likewise.
25749 (sub_magnitudes): Likewise.
25755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25759 (denorm): Likewise.
25760 (__mp_dbl): Likewise.
25761 (__dbl_mp): Likewise.
25762 (add_magnitudes): Likewise.
25763 (sub_magnitudes): Likewise.
25769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25773 (denorm): Likewise.
25774 (__mp_dbl): Likewise.
25775 (__dbl_mp): Likewise.
25776 (add_magnitudes): Likewise.
25777 (sub_magnitudes): Likewise.
25784 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25786 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25787 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25788 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25789 2 && __USE_EXTERN_INLINES]: Likewise.
25791 2013-01-08 Andreas Jaeger <aj@suse.de>
25794 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25796 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25797 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25799 2013-01-07 Anton Blanchard <anton@samba.org>
25801 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25802 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25803 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25804 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25805 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25806 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25807 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25808 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25811 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25812 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25815 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25816 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25817 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25818 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25819 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25821 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25822 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25824 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25825 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25826 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25827 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25828 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25830 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25831 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25833 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25834 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25835 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25836 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25837 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25840 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25843 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25845 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25847 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25848 (__MALLOC_PMT): Likewise.
25849 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25850 [__GNUC__], only on [_LIBC].
25851 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25852 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25853 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25854 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25855 forward declaration.
25856 (realloc_hook_ini): Likewise.
25857 (memalign_hook_ini): Likewise.
25858 (__libc_memalign): Do not use __MALLOC_PMT in variable
25860 (__libc_valloc): Likewise.
25861 (__libc_pvalloc): Likewise.
25862 (__libc_calloc): Likewise.
25863 (__posix_memalign): Likewise.
25866 * math/s_casinh.c: Include <float.h>.
25867 (__casinh): Do not do computation with squaring and square root
25868 for large arguments.
25869 * math/s_casinhf.c: Include <float.h>.
25870 (__casinhf): Do not do computation with squaring and square root
25871 for large arguments.
25872 * math/s_casinhl.c: Include <float.h>.
25873 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25874 (__casinhl): Do not do computation with squaring and square root
25875 for large arguments.
25876 * math/libm-test.inc (casin_test): Add more tests.
25877 (casinh_test): Likewise.
25878 * sysdeps/i386/fpu/libm-test-ulps: Update.
25879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25881 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25883 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25884 (__x86_64_raw_data_cache_size): Likewise.
25885 (__x86_64_data_cache_size_half): Likewise.
25886 (__x86_64_raw_data_cache_size_half): Likewise.
25887 (__x86_64_shared_cache_size): Likewise.
25888 (__x86_64_raw_shared_cache_size): Likewise.
25889 (__x86_64_shared_cache_size_half): Likewise.
25890 (__x86_64_raw_shared_cache_size_half): Likewise.
25891 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25893 (__x86_data_cache_size): This.
25894 (__x86_64_raw_data_cache_size): Renamed to ...
25895 (__x86_raw_data_cache_size): This.
25896 (__x86_64_data_cache_size_half): Renamed to ...
25897 (__x86_data_cache_size_half): This.
25898 (__x86_64_raw_data_cache_size_half): Renamed to ...
25899 (__x86_raw_data_cache_size_half): This.
25900 (__x86_64_shared_cache_size): Renamed to ...
25901 (__x86_shared_cache_size): This.
25902 (__x86_64_raw_shared_cache_size): Renamed to ...
25903 (__x86_raw_shared_cache_size): This.
25904 (__x86_64_shared_cache_size_half): Renamed to ...
25905 (__x86_shared_cache_size_half): This.
25906 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25907 (__x86_raw_shared_cache_size_half): This.
25908 * sysdeps/x86_64/memcpy.S: Updated.
25909 * sysdeps/x86_64/memset.S: Likewise.
25910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25911 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25914 2013-01-04 David S. Miller <davem@davemloft.net>
25916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25918 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25920 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25921 1 to avoid redefinition warning.
25922 (__USE_GNU): Don't define.
25923 (init_signaling_nan): Protoize.
25925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25927 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25929 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25931 (__cpymn): Likewise.
25932 (norm): Remove commented code.
25933 (denorm): Likewise.
25934 (__mp_dbl): Likewise.
25936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25937 (__cpymn): Likewise.
25938 (norm): Remove commented code.
25939 (denorm): Likewise.
25940 (__mp_dbl): Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25944 mp_no value for 1.0 and 2.0.
25945 (norm): Use RADIXI instead of radixi.d.
25946 (denorm): Likewise.
25947 (__mul): Use 0.0 instead of zero.d.
25948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25949 mp_no value for 1.0 and 2.0.
25950 (norm): Use RADIXI instead of radixi.d.
25951 (denorm): Likewise.
25952 (__mul): Use 0.0 instead of zero.d.
25954 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25957 * math/s_casinh.c (__casinh): Reduce finite argument to first
25958 quadrant then set signs of results at the end.
25959 * math/s_casinhf.c (__casinhf): Likewise.
25960 * math/s_casinhl.c (__casinhl): Likewise.
25961 * math/libm-test.inc (casin_test): Add more tests.
25962 (casinh_test): Likewise.
25963 * sysdeps/i386/fpu/libm-test-ulps: Update.
25964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25968 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25970 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25972 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25974 (denorm): Likewise.
25975 (__mp_dbl): Likewise.
25978 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25979 and adjust the header comment.
25981 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25982 variable name from declaration.
25984 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25987 Initialize COMMON_CPUID_INDEX_7 element.
25988 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25989 (CPUID_RTM): Likewise.
25990 (HAS_RTM): Likewise.
25991 (COMMON_CPUID_INDEX_7): New enum.
25993 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25996 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25997 size is zero, record memory as freed.
25999 2013-01-03 Andreas Jaeger <aj@suse.de>
26001 * po/ia.po: Add new Interlingua translation.
26003 2012-01-03 Allan McRae <allan@archlinux.org>
26005 * locale/programs/localedef.c: Fix description of '--posix' flag.
26007 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26009 * NEWS: Update dates in second copyright notice.
26010 * README: Update copyright dates in example.
26011 * manual/libc.texinfo: Update copyright dates.
26012 * scripts/test-installation.pl: Update copyright date in --version
26015 * hurd/ctty-input.c: Fix copyright notice formatting.
26016 * hurd/ctty-output.c: Likewise.
26017 * hurd/dtable.c: Likewise.
26018 * hurd/hurd-raise.c: Likewise.
26019 * hurd/hurdprio.c: Likewise.
26020 * hurd/msgportdemux.c: Likewise.
26021 * misc/sys/file.h: Likewise.
26022 * misc/sys/ioctl.h: Likewise.
26023 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26024 * sysdeps/mach/hurd/chdir.c: Likewise.
26025 * sysdeps/mach/hurd/fchdir.c: Likewise.
26026 * sysdeps/mach/hurd/rename.c: Likewise.
26027 * sysdeps/mach/hurd/rmdir.c: Likewise.
26028 * sysdeps/mach/hurd/seekdir.c: Likewise.
26029 * sysdeps/mach/hurd/setsid.c: Likewise.
26030 * sysdeps/posix/wait3.c: Likewise.
26032 * All files with FSF copyright notices: Update copyright dates
26033 using scripts/update-copyrights.
26034 * intl/plural.c: Regenerated.
26035 * locale/programs/charmap-kw.h: Likewise.
26036 * locale/programs/locfile-kw.h: Likewise.
26038 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26040 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26043 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26044 calculation loop and add branch prediction.
26046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26047 check access beyond bounds of m1np.
26049 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26051 (__inv): Remove local variable MPTWO to use the global
26053 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26056 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26057 MP3HALFS static const.
26059 2013-01-01 David S. Miller <davem@davemloft.net>
26061 * po/ca.po: Update from translation team.
26063 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26065 * scripts/update-copyrights: New file.
26066 * Makeconfig: Reformat copyright notice.
26067 * ctype/ctype.h: Likewise.
26068 * debug/swprintf_chk.c: Likewise.
26069 * elf/dl-cache.c: Likewise.
26070 * elf/dl-debug.c: Likewise.
26071 * elf/dl-object.c: Likewise.
26072 * grp/initgroups.c: Likewise.
26073 * hurd/Makefile: Likewise.
26074 * hurd/hurd/signal.h: Likewise.
26075 * hurd/hurdfault.c: Likewise.
26076 * hurd/hurdioctl.c: Likewise.
26077 * hurd/hurdlookup.c: Likewise.
26078 * hurd/intr-msg.c: Likewise.
26079 * iconv/gconv_open.c: Likewise.
26080 * libio/swprintf.c: Likewise.
26081 * locale/lc-ctype.c: Likewise.
26082 * locale/nl_langinfo.c: Likewise.
26083 * mach/Machrules: Likewise.
26084 * mach/Makefile: Likewise.
26085 * malloc/obstack.h: Likewise.
26086 * manual/Makefile: Likewise.
26087 * manual/tsort.awk: Likewise.
26088 * misc/bits/stab.def: Likewise.
26089 * nis/nis_print_group_entry.c: Likewise.
26090 * nis/nis_table.c: Likewise.
26091 * nis/nss_compat/compat-pwd.c: Likewise.
26092 * nis/nss_compat/compat-spwd.c: Likewise.
26093 * po/Makefile: Likewise.
26094 * posix/fnmatch.c: Likewise.
26095 * posix/regex.h: Likewise.
26096 * resolv/Makefile: Likewise.
26097 * resolv/nss_dns/dns-network.c: Likewise.
26098 * resolv/res_hconf.c: Likewise.
26099 * scripts/gen-sorted.awk: Likewise.
26100 * soft-fp/soft-fp.h: Likewise.
26101 * stdio-common/printf.h: Likewise.
26102 * stdlib/monetary.h: Likewise.
26103 * stdlib/random.c: Likewise.
26104 * stdlib/random_r.c: Likewise.
26105 * sysdeps/generic/Makefile: Likewise.
26106 * sysdeps/gnu/Makefile: Likewise.
26107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26130 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26131 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26132 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26135 * sysdeps/mach/hurd/errnos.awk: Likewise.
26136 * sysdeps/mach/hurd/fork.c: Likewise.
26137 * sysdeps/mach/hurd/getcwd.c: Likewise.
26138 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26139 * sysdeps/mach/hurd/mmap.c: Likewise.
26140 * sysdeps/mach/hurd/utimes.c: Likewise.
26141 * sysdeps/mach/hurd/xmknod.c: Likewise.
26142 * sysdeps/posix/profil.c: Likewise.
26143 * sysdeps/posix/readdir_r.c: Likewise.
26144 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26145 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26146 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26147 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26149 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26150 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26151 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26153 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26155 * sysdeps/pthread/lio_listio.c: Likewise.
26156 * sysdeps/sparc/dl-procinfo.h: Likewise.
26157 * sysdeps/unix/i386/sysdep.S: Likewise.
26158 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26159 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26160 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26161 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26163 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26164 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26165 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26166 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26167 * sysdeps/wordsize-32/divdi3.c: Likewise.
26168 * time/sys/time.h: Likewise.
26169 * wcsmbs/Makefile: Likewise.
26171 2013-01-01 David S. Miller <davem@davemloft.net>
26173 * po/fr.po: Update from translation team.
26175 * catgets/gencat.c: Update copyright year.
26176 * csu/version.c: Likewise.
26177 * debug/catchsegv.sh: Likewise.
26178 * debug/pcprofiledump.c: Likewise.
26179 * debug/xtrace.sh: Likewise.
26180 * elf/ldconfig.c: Likewise.
26181 * elf/ldd.bash.in: Likewise.
26182 * elf/pldd.c: Likewise.
26183 * elf/sotruss.ksh: Likewise.
26184 * elf/sprof.c: Likewise.
26185 * iconv/iconv_prog.c: Likewise.
26186 * iconv/iconvconfig.c: Likewise.
26187 * locale/programs/locale.c: Likewise.
26188 * locale/programs/localedef.c: Likewise.
26189 * login/programs/pt_chown.c: Likewise.
26190 * malloc/memusage.sh: Likewise.
26191 * malloc/memusagestat.c: Likewise.
26192 * malloc/mtrace.pl: Likewise.
26193 * nscd/nscd.c: Likewise.
26194 * nss/getent.c: Likewise.
26195 * nss/makedb.c: Likewise.
26196 * posix/getconf.c: Likewise.
26198 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26200 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26203 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26205 * math/bits/mathcalls.h (modf): Use __nonnull.
26207 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26209 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26210 (split): Use macro CN instead of the bare value.
26211 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26214 instead of the bare value.
26215 (power1): Likewise.
26217 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26219 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26221 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26223 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26225 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26227 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26228 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26230 2012-12-28 Andreas Jaeger <aj@suse.de>
26232 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26233 values are from Linux 3.7.
26235 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26236 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26238 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26240 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26243 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26245 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26246 variables with preprocessor constants.
26247 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26248 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26249 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26251 2012-12-27 Bruno Haible <bruno@clisp.org>
26254 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26257 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26260 and use variable directly.
26261 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26263 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26265 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26266 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26268 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26270 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26271 include directive. Remove local variable MPONE.
26272 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26273 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26274 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26276 2012-12-25 David S. Miller <davem@davemloft.net>
26278 * version.h (RELEASE): Set to "development".
26279 (VERSION): Set to "2.17.90".
26280 * NEWS: Add 2.18 section.
26282 2012-12-21 David S. Miller <davem@davemloft.net>
26284 * po/hr.po: Update from translation team.
26286 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26288 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26290 2012-12-19 Steve Ellcey <sellcey@mips.com>
26292 * NEWS: Mention new memcpy for MIPS.
26294 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26296 * manual/contrib.texi (Contributors): Spelling correction.
26298 2012-12-15 David S. Miller <davem@davemloft.net>
26300 * po/ru.po: Update from translation team.
26302 2012-12-13 David S. Miller <davem@davemloft.net>
26304 * NEWS: Mention IFUNC testsuite enhancements.
26306 * po/pl.po: Update from translation team.
26307 * po/bg.po: Likewise.
26309 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26310 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26312 2012-12-11 David S. Miller <davem@davemloft.net>
26314 * po/sv.po: Update from translation team.
26316 * po/vi.po: Update from translation team.
26318 * po/cs.po: Update from translation team.
26320 * po/de.po: Update from translation team.
26321 * po/eo.po: Likewise.
26322 * po/nl.po: Likewise.
26324 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26327 * manual/argp.texi (Argp Helper Functions): Move node to follow
26328 Argp Parsing State.
26331 * manual/conf.texi (Limits on File System Capacity): Mention if
26332 terminating null is included in the max size.
26334 2012-12-10 Andreas Jaeger <aj@suse.de>
26336 * po/cs.po: Update from translation team.
26338 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26341 void pointer and cast to uintptr_t.
26342 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26344 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26345 * sysdeps/s390/s390-64/memset.S: Likewise.
26347 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26350 * menual/message.texi (Message Translation): Fix typos.
26351 (Helper programs for gettext): Likewise.
26353 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26356 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26359 2012-12-07 David S. Miller <davem@davemloft.net>
26361 * po/libc.pot: Update.
26363 2012-12-07 Richard Henderson <rth@redhat.com>
26366 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26367 normal/normal case to before the switch.
26368 (_FP_DIV): Likewise.
26370 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26371 Mike Frysinger <vapier@gentoo.org>
26373 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26374 check for __NR_fadvise64_64.
26376 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26378 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26379 0, not just to plain "0" as a statement.
26380 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26383 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26385 * NEWS: Use sourceware.org in Bugzilla URL.
26387 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26390 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26392 * stdio-common/tst-put-error.c (do_test): Add newline to the
26393 padded test to ensure flush.
26395 2012-12-05 Jeff Law <law@redhat.com>
26397 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26399 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26401 * README: Don't refer to ports add-on as distributed separately.
26402 Mention AArch64 in list of systems supported in the ports add-on.
26404 * LICENSES: Add more non-FSF copyright and license notices.
26406 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26409 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26411 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26412 10000 as width of padded output.
26414 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26419 variable LX with __attribute__ ((unused)).
26420 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26422 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26425 with __attribute__ ((unused)).
26427 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26429 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26431 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26433 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26434 (CFLAGS-nldbl-acos.c): New variable.
26435 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26474 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26475 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26476 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26477 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26478 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26479 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26480 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26481 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26482 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26483 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26484 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26485 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26486 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26487 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26488 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26489 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26490 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26491 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26492 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26493 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26494 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26495 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26496 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26497 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26498 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26499 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26500 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26501 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26502 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26503 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26504 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26505 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26506 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26507 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26508 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26509 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26510 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26511 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26512 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26513 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26514 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26515 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26516 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26517 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26518 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26519 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26520 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26521 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26522 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26523 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26524 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26525 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26526 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26527 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26528 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26529 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26530 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26531 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26534 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26538 whole low double instead of just low 47 bits when splitting values
26541 2012-12-03 Allan McRae <allan@archlinux.org>
26543 * manual/stdio.texi (Predefined Printf Handlers): Remove
26544 @hsep and @vsep usage.
26546 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26548 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26549 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26551 2012-12-03 Jeff Law <law@redhat.com>
26553 * time/sys/time.h (settimeofday): Do not mark TV argument
26556 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26558 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26559 when currently writing and seek to current position when not.
26560 * libio/Makefile (tests): Remove bug-fclose1.
26561 * libio/bug-fclose1.c: Delete.
26563 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26565 * manual/arith.texi (feenableexcept): Fix typo.
26566 (fedisableexcept): Likewise.
26568 2012-11-30 Roland McGrath <roland@hack.frob.com>
26570 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26571 second, differently-typed declaration, rather than a cast.
26573 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26575 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26576 * include/rpc/svc.h: ... here.
26578 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26581 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26582 depending n and resplen2 to catch cases where answer
26585 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26587 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26588 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26590 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26592 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26594 2012-11-29 Roland McGrath <roland@hack.frob.com>
26596 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26598 2012-11-28 Jeff Law <law@redhat.com>
26601 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26602 dataset_temporary. Track alloca usage into alloca_used.
26603 If dataset is large allocate and release it via malloc/free.
26605 2012-06-04 Florian Weimer <fweimer@redhat.com>
26608 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26610 2012-11-28 David S. Miller <davem@davemloft.net>
26612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26614 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26617 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26618 of pi/2 rounded to nearest to 64 bits.
26619 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26620 nearest to 64 bits.
26621 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26624 2012-11-28 Jeff Law <law@redhat.com>
26625 Martin Osvald <mosvald@redhat.com>
26628 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26629 * sunrpc/svc.c: Include time.h.
26630 (__svc_accept_failed): New function.
26631 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26632 any reason other than EINTR, call __svc_accept_failed.
26633 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26634 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26636 2012-11-28 Andreas Schwab <schwab@suse.de>
26638 * scripts/abilist.awk: Also handle indirect functions in .opd
26641 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26644 * sysdeps/x86/fpu/powl_helper.c: New file.
26645 * sysdeps/x86/fpu/Makefile: Likewise.
26646 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26648 (__ieee754_powl): Use __powl_helper for finite arguments except
26649 integer exponents below 8.
26650 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26652 (__ieee754_powl): Use __powl_helper for finite arguments except
26653 integer exponents below 8.
26654 * math/libm-test.inc (pow_test): Add more tests and enable some
26655 previously disabled tests.
26656 * sysdeps/i386/fpu/libm-test-ulps: Update.
26657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26659 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26660 Carlos O'Donell <carlos_odonell@mentor.com>
26662 * nss/makedb.c (is_prime): Assert that input is odd and greater
26663 than 4. Note that fact in a comment too.
26664 (next_prime): Add 4 to input.
26666 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26669 * libio/Makefile (tests): Add test case tst-fwrite-error.
26670 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26671 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26672 * libio/tst-fwrite-error.c: New test case.
26674 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26676 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26677 before casting to void *.
26678 * include/libc-internal.h (__pointer_type): New macro.
26679 (__integer_if_pointer_type_sub): Likewise.
26680 (__integer_if_pointer_type): Likewise.
26681 (cast_to_integer): Likewise.
26682 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26683 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26684 before casting to atomic64_t.
26685 (atomic_exchange_acq): Likewise.
26686 (__arch_exchange_and_add_body): Likewise.
26687 (__arch_add_body): Likewise.
26688 (atomic_add_negative): Likewise.
26689 (atomic_add_zero): Likewise.
26691 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26693 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26694 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26695 (add_fdes): Likewise.
26696 (linear_search_fdes): Likewise.
26697 (binary_search_unencoded_fdes): Likewise.
26699 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26701 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26703 2012-11-24 Adam Conrad <adconrad@0c3.net>
26705 * configure.in: Autodetect C++ header directories.
26706 * configure: Regenerated.
26708 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26710 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26712 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26716 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26718 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26719 LDBL_MANT_DIG == 106]: Disable some tests.
26720 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26722 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26726 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26727 input for small inputs. Return +/- pi/2 for large inputs.
26728 * math/libm-test.inc (atan_test): Add more tests.
26730 * sysdeps/generic/unwind-dw2-fde-glibc.c
26731 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26732 __attribute__ ((unused)).
26735 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26736 x * y if x and y are nonzero and z is zero.
26739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26740 nonzero exponents with absolute value below 0x1p-117 to +/-
26744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26745 up arguments below 2**-450, not just those below 2**-500.
26746 * math/libm-test.inc (hypot_test): Add another test.
26749 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26750 Return a+b for ratio over 2**120, not 2**60.
26751 * math/libm-test.inc (hypot_test): Add another test.
26753 * math/libm-test.inc (clog_test): Use
26754 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26755 (clog10_test): Likewise.
26758 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26760 2012-11-22 Andreas Schwab <schwab@suse.de>
26762 * sysdeps/i386/fpu/libm-test-ulps: Update.
26764 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26766 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26767 printf output with newline.
26769 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26772 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26773 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26774 -z nodlopen, -z initfirst and -z execstack support.
26775 * configure: Regenerated.
26777 * elf/elf.h (DF_1_NODIRECT): New macro.
26778 (DF_1_IGNMULDEF): Likewise.
26779 (DF_1_NOKSYMS): Likewise.
26780 (DF_1_NOHDR): Likewise.
26781 (DF_1_EDITED): Likewise.
26782 (DF_1_NORELOC): Likewise.
26783 (DF_1_SYMINTPOSE): Likewise.
26784 (DF_1_GLOBAUDIT): Likewise.
26785 (DF_1_SINGLETON): Likewise.
26786 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26787 DT_1_SUPPORTED_MASK bits.
26788 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26790 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26792 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26794 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26796 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26799 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26800 (sendmmsg): Move declarations...
26801 * socket/sys/socket.h: ... here.
26802 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26803 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26805 * socket/recvmmsg.c: ... this new file.
26806 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26807 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26808 definition of __sendmmsg hidden.
26809 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26810 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26811 Move ENOSYS stub into and include it from...
26812 * socket/sendmmsg.c: ... this new file.
26813 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26814 (sysdep_routines): Move recvmmsg and sendmmsg...
26815 * socket/Makefile (routines): ... here.
26816 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26817 (GLIBC_PRIVATE): Add __sendmmsg.
26818 * include/sys/socket.h (__sendmmsg): Add declarations.
26819 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26822 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26825 variable I1 with __attribute__ ((unused)).
26826 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26828 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26830 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26831 DUMMY variables with __attribute__ ((unused)).
26833 * bits/byteswap.h: Include <bits/types.h>.
26834 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26836 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26838 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26839 string_t. Do not manually set errno.
26840 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26841 length with __strnlen. Make sure to both set errno and return it on
26844 2012-11-19 David S. Miller <davem@davemloft.net>
26846 With help from Joseph Myers.
26847 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26848 very large arguments properly.
26849 * math/libm-test.inc (atan_test): New tests.
26850 (atan2_test): New tests.
26851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26854 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26857 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26860 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26861 [POSIX] (EADDRNOTAVAIL): Likewise.
26862 [POSIX] (EAFNOSUPPORT): Likewise.
26863 [POSIX] (EALREADY): Likewise.
26864 [POSIX] (ECONNABORTED): Likewise.
26865 [POSIX] (ECONNREFUSED): Likewise.
26866 [POSIX] (ECONNRESET): Likewise.
26867 [POSIX] (EDESTADDRREQ): Likewise.
26868 [POSIX] (EDQUOT): Likewise.
26869 [POSIX] (EHOSTUNREACH): Likewise.
26870 [POSIX] (EIDRM): Likewise.
26871 [POSIX] (EISCONN): Likewise.
26872 [POSIX] (ELOOP): Likewise.
26873 [POSIX] (EMULTIHOP): Likewise.
26874 [POSIX] (ENETDOWN): Likewise.
26875 [POSIX] (ENETUNREACH): Likewise.
26876 [POSIX] (ENOBUFS): Likewise.
26877 [POSIX] (ENODATA): Likewise.
26878 [POSIX] (ENOLINK): Likewise.
26879 [POSIX] (ENOMSG): Likewise.
26880 [POSIX] (ENOPROTOOPT): Likewise.
26881 [POSIX] (ENOSR): Likewise.
26882 [POSIX] (ENOSTR): Likewise.
26883 [POSIX] (ENOTCONN): Likewise.
26884 [POSIX] (ENOTSOCK): Likewise.
26885 [POSIX] (EOPNOTSUPP): Likewise.
26886 [POSIX] (EOVERFLOW): Likewise.
26887 [POSIX] (EPROTO): Likewise.
26888 [POSIX] (EPROTONOSUPPORT): Likewise.
26889 [POSIX] (EPROTOTYPE): Likewise.
26890 [POSIX] (ESTALE): Likewise.
26891 [POSIX] (ETIME): Likewise.
26892 [POSIX] (ETXTBSY): Likewise.
26893 [POSIX] (EWOULDBLOCK): Likewise.
26894 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26895 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26896 [POSIX] (SEEK_CUR): Likewise.
26897 [POSIX] (SEEK_END): Likewise.
26898 [POSIX || UNIX98] (mode_t): Do not require.
26899 [POSIX] (off_t): Likewise.
26900 [POSIX] (pid_t): Likewise.
26901 [POSIX] (sys/stat.h): Do not allow header.
26902 [POSIX] (unistd.h): Likewise.
26903 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26904 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26905 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26906 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26908 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26909 sigevent): Specify elements.
26910 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26912 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26913 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26915 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26916 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26917 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26918 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26919 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26920 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26921 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26922 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26924 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26925 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26926 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26927 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26928 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26930 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26932 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26936 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26937 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26938 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26939 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26940 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26941 Specify lower bound on value.
26942 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26943 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26946 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26947 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26948 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26949 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26951 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26953 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26954 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26955 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26956 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26957 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26958 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26959 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26960 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26961 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26962 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26963 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26964 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26965 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26966 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26967 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26968 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26970 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26972 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26973 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26974 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26975 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26979 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26984 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26985 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26987 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26991 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26992 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26993 specify as optional.
26994 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26995 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26997 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26998 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26999 [XPG3] (NL_LANGMAX): Likewise.
27000 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27001 [POSIX || XPG3] (NL_NMAX): Likewise.
27002 [POSIX || XPG3] (NL_SETMAX): Likewise.
27003 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27004 [XPG3] (NZERO): Likewise.
27005 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27006 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27007 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27008 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27009 (REG_ERANGE): Expect.
27010 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27012 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27013 Use (void) in prototype.
27014 [POSIX] (*_t): Allow.
27015 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27016 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27017 (WRDE_BADVAL): Expect.
27019 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27021 [XPG3 || XPG4] (O_RSYNC): Likewise.
27022 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27024 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27025 [XPG3 || XPG4] (sigqueue): Likewise.
27026 [XPG3 || XPG4] (sigtimedwait): Likewise.
27027 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27028 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27029 [XPG3 || XPG4] (vsnprintf): Likewise.
27030 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27032 [XPG3 || XPG4] (blksize_t): Likewise.
27033 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27035 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27036 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27037 [XPG3 || XPG4] (struct itimerspec): Likewise.
27038 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27039 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27040 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27041 [XPG3 || XPG4] (clockid_t): Likewise.
27042 [XPG3 || XPG4] (timer_t): Likewise.
27043 [XPG3 || XPG4] (clock_getres): Likewise.
27044 [XPG3 || XPG4] (clock_gettime): Likewise.
27045 [XPG3 || XPG4] (clock_settime): Likewise.
27046 [XPG3 || XPG4] (nanosleep): Likewise.
27047 [XPG3 || XPG4] (timer_create): Likewise.
27048 [XPG3 || XPG4] (timer_delete): Likewise.
27049 [XPG3 || XPG4] (timer_gettime): Likewise.
27050 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27051 [XPG3 || XPG4] (timer_settime): Likewise.
27052 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27053 [XPG3 || XPG4] (getlogin_r): Likewise.
27054 [XPG3 || XPG4] (pread): Likewise.
27055 [XPG3 || XPG4] (pthread_atfork): Likewise.
27056 [XPG3 || XPG4] (pwrite): Likewise.
27059 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27062 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27064 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27065 finalizing MALLSTREAM.
27067 * sysdeps/mach/hurd/syncfs.c: New file.
27069 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27072 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27073 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27074 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27075 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27076 (_nss_dns_gethostbyname4_r): Likewise.
27077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27078 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27080 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27083 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27085 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27087 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27088 * elf/cache.c (print_entry): Print ",AArch64" for
27091 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27092 * elf/cache.c (print_entry): Print ",hard-float" for
27095 2012-11-18 David S. Miller <davem@davemloft.net>
27097 With help from Joseph Myers.
27098 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27100 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27102 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27103 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27105 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27106 * math/libm-test.inc (y0_test): New tests.
27107 (y1_test): New tests.
27108 * sysdeps/i386/fpu/libm-test-ulps: Update.
27109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27112 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27114 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27116 * configure: Regenerated.
27118 2012-11-17 David S. Miller <davem@davemloft.net>
27121 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27122 nonzero exponents with absolute value below 0x1p-128 to +/-
27125 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27127 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27129 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27131 * posix/getconf-speclist.c: New file.
27132 * posix/posix-envs.def: Likewise.
27133 * posix/confstr.c (START_ENV_GROUP): New macro.
27134 (END_ENV_GROUP): Likewise.
27135 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27136 (KNOWN_PRESENT_ENV_STRING): Likewise.
27137 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27138 (UNKNOWN_ENVIRONMENT): Likewise.
27139 (confstr): Include posix-envs.def instead of handling
27140 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27141 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27142 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27143 (END_ENV_GROUP): Likewise.
27144 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27145 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27146 (UNKNOWN_ENVIRONMENT): Likewise.
27147 (__sysconf): Include posix-envs.def instead of handling associated
27148 cases directly here.
27149 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27150 preprocessing getconf-speclist.c rather than running getconf or
27151 generating empty file.
27153 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27155 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27157 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27160 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27162 2012-11-16 David S. Miller <davem@davemloft.net>
27164 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27165 smaller than LDBL_EPSILON/2.0L, just return xm1.
27167 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27169 * elf/tst-array1.c (init): Set constructor priority to 1000.
27170 (fini): Set destructor priority to 1000.
27171 * elf/tst-array2dep.c: Likewise.
27173 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27176 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27177 (_IO_new_file_xsputn): Also return EOF if none of the input
27178 data was written when overflow failed.
27179 * libio/iopadn.c (_IO_padn): Likewise.
27180 * libio/iowpadn.c (_IO_wpadn): Likewise.
27181 * stdio-common/tst-put-error.c: Add copyright notice.
27182 (do_test): Add case for printing padded string.
27183 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27184 _IO_padn returned error.
27185 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27186 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27189 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27191 * libio/libioP.h: Add comment note that the references to C++
27192 bits are now obsolete.
27194 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27196 * math/libm-test.inc (check_complex): Use asprintf.
27198 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27200 * debug/pcprofiledump.c (print_version): Update copyright year.
27201 * malloc/memusagestat.c (print_version): Likewise.
27203 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27206 * elf/Makefile (tests): Add tst-audit8.
27207 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27208 ($(objpfx)tst-audit8.out): New target.
27209 (tst-audit8-ENV): New variable.
27210 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27211 audit if l_reloc_result is NULL.
27212 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27213 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27214 * elf/tst-audit8.c: New file.
27216 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27218 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27219 * misc/Makefile (CFLAGS-select.c): Define.
27220 * posix/Makefile (CFLAGS-pause.c): Define.
27222 2012-11-13 David S. Miller <davem@davemloft.net>
27224 * crypt/Makefile: Move test targets after toplevel Rules
27225 inclusion. Grab any necessary sysdep routines when linking.
27226 * crypt/md5.c (md5_process_block): Remove define, we will always
27227 name it __md5_process_block.
27228 (md5_finish_ctx): Update md5_process_block call.
27229 (md5_stream): Likewise.
27230 (md5_process_bytes): Likewise.
27231 (md5_process_block): Rename to __md5_process_block and move to ...
27232 * crypt/md5-block.c: ... here.
27233 * crypt/sha256.c (sha256_process_block): Move to ...
27234 * crypt/sha256-block.c: ... here.
27235 * crypt/sha512.c (sha512_process_block): Move to ...
27236 * crypt/sha512-block.c: ... here.
27237 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27239 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27240 * sysdeps/sparc/sparc64/multiarch/Makefile
27241 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27243 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27244 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27246 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27247 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27248 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27249 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27250 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27251 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27252 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27253 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27254 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27256 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27257 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27259 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27261 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27263 * timezone/tzselect.ksh: Update from tzcode git revision
27264 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27265 * timezone/zdump.c: Likewise.
27266 * timezone/zic.c: Likewise.
27267 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27268 in TZVERSION setting, not $(PKGVERSION).
27269 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27270 REPORT_BUGS_TO settings.
27273 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27276 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27278 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27279 detection to immediately after _FP_ROUND().
27280 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27283 2012-11-11 David S. Miller <davem@davemloft.net>
27285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27287 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27288 __close rather than their public counterparts.
27290 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27292 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27294 [UNIX98] (sem_timedwait): Do not expect.
27295 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27296 [XPG4 || UNIX98] (sockatmark): Do not expect.
27297 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27298 (clock_getcpuclockid): Do not expect.
27299 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27300 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27302 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27303 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27304 [UNIX98] (vwscanf): Likewise.
27305 [UNIX98] (vswscanf): Likewise.
27307 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27309 * timezone/version.h: Remove file.
27310 * timezone/README: Do not refer to version.h.
27311 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27312 $(objpfx)version.h.
27313 ($(objpfx)zdump.o): Likewise.
27314 ($(objpfx)version.h): New target.
27316 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27318 * timezone/README: Don't mention modification to tzselect.ksh.
27319 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27320 work on unmodified tzselect.ksh. Substitute version numbers in
27323 * Makefile (format-me): Remove.
27324 (INSTALL): Adjust indentation. Use commands directly instead of
27325 using $(format-me).
27327 * aclocal.m4 (ACX_PKGVERSION): New macro.
27328 (ACX_BUGURL): Likewise.
27329 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27330 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27331 (REPORT_BUGS_TO): Likewise.
27332 * configure: Regenerated.
27333 * config.h.in (PKGVERSION): New macro.
27334 (REPORT_BUGS_TO): Likewise.
27335 * config.make.in (PKGVERSION): New variable.
27336 (PKGVERSION_TEXI): Likewise.
27337 (REPORT_BUGS_TO): Likewise.
27338 (REPORT_BUGS_TEXI): Likewise.
27339 * Makefile (format-me): Use -I$(common-objpfx)manual.
27340 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27341 ($(common-objpfx)manual/%): New target.
27342 (manual/%): Remove target.
27343 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27344 (print_version): Use PKGVERSION.
27345 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27346 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27347 and REPORT_BUGS_TO.
27348 ($(objpfx)xtrace): Likewise.
27349 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27350 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27351 (print_version): Use PKGVERSION.
27352 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27353 (do_version): Use PKGVERSION.
27354 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27356 (common-ldd-rewrite): Likewise.
27357 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27358 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27359 (print_version): Use PKGVERSION.
27360 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27361 * elf/pldd.c (argp_program_bug_address): Remove variable.
27362 (more_help): New function.
27363 (argp): Use more_help.
27364 (print_version): Use PKGVERSION.
27365 * elf/sln.c (main): Use PKGVERSION.
27366 (usage): Use REPORT_BUGS_TO.
27367 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27368 (top level): Use PKGVERSION.
27369 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27370 (print_version): Use PKGVERSION.
27371 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27372 (print_version): Use PKGVERSION.
27373 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27374 (print_version): Use PKGVERSION.
27375 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27376 (print_version): Use PKGVERSION.
27377 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27378 (print_version): Use PKGVERSION.
27379 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27380 (print_version): Use PKGVERSION.
27381 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27383 ($(objpfx)memusage): Likewise.
27384 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27385 (do_version): Use PKGVERSION.
27386 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27387 (print_version): Use PKGVERSION.
27388 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27389 ($PKGVERSION): New variable.
27390 ($REPORT_BUGS_TO): Likewise.
27391 (usage): Use $REPORT_BUGS_TO.
27392 (top level): Use $PKGVERSION.
27393 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27394 ($(objpfx)pkgvers.texi): New rule.
27395 ($(objpfx)stamp-pkgvers): Likewise.
27396 * manual/install.texi: Include pkgvers.texi.
27397 (--with-pkgversion): Document new configure option.
27398 (--with-bugurl): Likewise.
27399 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27400 than necessarily for this particular distribution. Use
27401 REPORT_BUGS_TO for where to report bugs.
27402 * INSTALL: Regenerated.
27403 * manual/libc.texinfo: Include pkgvers.texi.
27404 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27405 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27406 (print_version): Use PKGVERSION.
27407 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27408 (print_version): Use PKGVERSION.
27409 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27410 (print_version): Use PKGVERSION.
27411 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27412 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27414 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27415 (print_version): Use PKGVERSION.
27416 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27417 (print_version): Use PKGVERSION.
27418 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27421 * timezone/checktab.awk: Update from tzcode 2012i.
27422 * timezone/ialloc.c: Likewise.
27423 * timezone/private.h: Likewise.
27424 * timezone/scheck.c: Likewise.
27425 * timezone/tzfile.h: Likewise.
27426 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27427 (TZVERSION): Hardcode tzcode version number.
27428 * timezone/zdump.c: Update from tzcode 2012i.
27429 * timezone/zic.c: Likewise.
27430 * timezone/version.h: New file.
27431 * timezone/README: Describe version.h. Update upstream location.
27434 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27435 (mktemp): Enable declaration.
27436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27453 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27454 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27455 for copies of such integer values.
27456 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27457 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27459 2012-11-09 Andreas Jaeger <aj@suse.de>
27461 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27462 definitions and declarations that are provided by
27463 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27465 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27467 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27468 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27469 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27472 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27474 * elf/elf.h: Update comment before AArch64 relocations.
27476 2012-11-07 David S. Miller <davem@davemloft.net>
27478 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27479 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27480 (__start_context): Declare.
27481 (__makecontext_ret): Delete.
27482 (__makecontext): Hook up __start_context instead of
27484 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27485 (sysdep_routines): Add __start_context when in stdlib.
27487 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27489 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27490 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27491 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27493 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27494 (READELF): New variable. Use it instead of hardcoded "readelf".
27496 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27498 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27499 * sysdeps/x86/Makefile: Here.
27500 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27501 * sysdeps/x86/tst-xmmymm.sh: This.
27503 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27505 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27507 [UNIX98] (pthread_barrier_t): Do not expect.
27508 [UNIX98] (pthread_barrierattr_t): Likewise.
27509 [UNIX98] (pthread_spinlock_t): Likewise.
27510 [UNIX98] (pthread_barrier_destroy): Likewise.
27511 [UNIX98] (pthread_barrier_init): Likewise.
27512 [UNIX98] (pthread_barrier_wait): Likewise.
27513 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27514 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27515 [UNIX98] (pthread_barrierattr_init): Likewise.
27516 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27517 [UNIX98] (pthread_getcpuclockid): Likewise.
27518 [UNIX98] (pthread_mutex_timedlock): Likewise.
27519 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27520 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27521 [UNIX98] (pthread_sigmask): Likewise.
27522 [UNIX98] (pthread_spin_destroy): Likewise.
27523 [UNIX98] (pthread_spin_init): Likewise.
27524 [UNIX98] (pthread_spin_lock): Likewise.
27525 [UNIX98] (pthread_spin_trylock): Likewise.
27526 [UNIX98] (pthread_spin_unlock): Likewise.
27527 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27529 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27530 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27531 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27532 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27533 [XPG3 || XPG4] (pthread_key_t): Likewise.
27534 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27535 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27536 [XPG3 || XPG4] (pthread_once_t): Likewise.
27537 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27538 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27539 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27540 [XPG3 || XPG4] (pthread_t): Likewise.
27542 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27544 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27546 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27547 Change function return type to int.
27549 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27550 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27551 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27552 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27553 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27554 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27555 [!POSIX] (posix_madvise): Likewise.
27556 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27558 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27559 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27560 (mode_t): Likewise.
27561 (posix_mem_offset): Likewise.
27562 (posix_typed_mem_get_info): Likewise.
27563 (posix_typed_mem_open): Likewise.
27565 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27566 Change condition to [XOPEN2K8].
27568 * conform/conformtest.pl: Preprocess allow-header data with -x c
27569 instead of from stdin.
27570 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27571 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27572 [C99-based standards] (cerfc): Likewise.
27573 [C99-based standards] (cexp2): Likewise.
27574 [C99-based standards] (cexpm1): Likewise.
27575 [C99-based standards] (clog10): Likewise.
27576 [C99-based standards] (clog1p): Likewise.
27577 [C99-based standards] (clog2): Likewise.
27578 [C99-based standards] (clgamma): Likewise.
27579 [C99-based standards] (ctgamma): Likewise.
27580 [C99-based standards] (cerff): Likewise.
27581 [C99-based standards] (cerfcf): Likewise.
27582 [C99-based standards] (cexp2f): Likewise.
27583 [C99-based standards] (cexpm1f): Likewise.
27584 [C99-based standards] (clog10f): Likewise.
27585 [C99-based standards] (clog1pf): Likewise.
27586 [C99-based standards] (clog2f): Likewise.
27587 [C99-based standards] (clgammaf): Likewise.
27588 [C99-based standards] (ctgammaf): Likewise.
27589 [C99-based standards] (cerfl): Likewise.
27590 [C99-based standards] (cerfcl): Likewise.
27591 [C99-based standards] (cexp2l): Likewise.
27592 [C99-based standards] (cexpm1l): Likewise.
27593 [C99-based standards] (clog10l): Likewise.
27594 [C99-based standards] (clog1pl): Likewise.
27595 [C99-based standards] (clog2l): Likewise.
27596 [C99-based standards] (clgammal): Likewise.
27597 [C99-based standards] (ctgammal): Likewise.
27598 * conform/data/inttypes.h-data [C99-based standards]: Include
27599 stdint.h-data. Remove all expectations for stdint.h contents.
27600 [C99-based standards] (PRI*): Do not allow.
27601 [C99-based standards] (SCN*): Likewise.
27602 [C99-based standards] (*_t): Likewise.
27603 [C99-based-standards] (PRId8): Expect macro.
27604 [C99-based-standards] (PRIi8): Likewise.
27605 [C99-based-standards] (PRIo8): Likewise.
27606 [C99-based-standards] (PRIu8): Likewise.
27607 [C99-based-standards] (PRIx8): Likewise.
27608 [C99-based-standards] (PRIX8): Likewise.
27609 [C99-based-standards] (SCNd8): Likewise.
27610 [C99-based-standards] (SCNi8): Likewise.
27611 [C99-based-standards] (SCNo8): Likewise.
27612 [C99-based-standards] (SCNu8): Likewise.
27613 [C99-based-standards] (SCNx8): Likewise.
27614 [C99-based-standards] (PRIdLEAST8): Likewise.
27615 [C99-based-standards] (PRIiLEAST8): Likewise.
27616 [C99-based-standards] (PRIoLEAST8): Likewise.
27617 [C99-based-standards] (PRIuLEAST8): Likewise.
27618 [C99-based-standards] (PRIxLEAST8): Likewise.
27619 [C99-based-standards] (PRIXLEAST8): Likewise.
27620 [C99-based-standards] (SCNdLEAST8): Likewise.
27621 [C99-based-standards] (SCNiLEAST8): Likewise.
27622 [C99-based-standards] (SCNoLEAST8): Likewise.
27623 [C99-based-standards] (SCNuLEAST8): Likewise.
27624 [C99-based-standards] (SCNxLEAST8): Likewise.
27625 [C99-based-standards] (PRIdFAST8): Likewise.
27626 [C99-based-standards] (PRIiFAST8): Likewise.
27627 [C99-based-standards] (PRIoFAST8): Likewise.
27628 [C99-based-standards] (PRIuFAST8): Likewise.
27629 [C99-based-standards] (PRIxFAST8): Likewise.
27630 [C99-based-standards] (PRIXFAST8): Likewise.
27631 [C99-based-standards] (SCNdFAST8): Likewise.
27632 [C99-based-standards] (SCNiFAST8): Likewise.
27633 [C99-based-standards] (SCNoFAST8): Likewise.
27634 [C99-based-standards] (SCNuFAST8): Likewise.
27635 [C99-based-standards] (SCNxFAST8): Likewise.
27636 [C99-based-standards] (PRId16): Likewise.
27637 [C99-based-standards] (PRIi16): Likewise.
27638 [C99-based-standards] (PRIo16): Likewise.
27639 [C99-based-standards] (PRIu16): Likewise.
27640 [C99-based-standards] (PRIx16): Likewise.
27641 [C99-based-standards] (PRIX16): Likewise.
27642 [C99-based-standards] (SCNd16): Likewise.
27643 [C99-based-standards] (SCNi16): Likewise.
27644 [C99-based-standards] (SCNo16): Likewise.
27645 [C99-based-standards] (SCNu16): Likewise.
27646 [C99-based-standards] (SCNx16): Likewise.
27647 [C99-based-standards] (PRIdLEAST16): Likewise.
27648 [C99-based-standards] (PRIiLEAST16): Likewise.
27649 [C99-based-standards] (PRIoLEAST16): Likewise.
27650 [C99-based-standards] (PRIuLEAST16): Likewise.
27651 [C99-based-standards] (PRIxLEAST16): Likewise.
27652 [C99-based-standards] (PRIXLEAST16): Likewise.
27653 [C99-based-standards] (SCNdLEAST16): Likewise.
27654 [C99-based-standards] (SCNiLEAST16): Likewise.
27655 [C99-based-standards] (SCNoLEAST16): Likewise.
27656 [C99-based-standards] (SCNuLEAST16): Likewise.
27657 [C99-based-standards] (SCNxLEAST16): Likewise.
27658 [C99-based-standards] (PRIdFAST16): Likewise.
27659 [C99-based-standards] (PRIiFAST16): Likewise.
27660 [C99-based-standards] (PRIoFAST16): Likewise.
27661 [C99-based-standards] (PRIuFAST16): Likewise.
27662 [C99-based-standards] (PRIxFAST16): Likewise.
27663 [C99-based-standards] (PRIXFAST16): Likewise.
27664 [C99-based-standards] (SCNdFAST16): Likewise.
27665 [C99-based-standards] (SCNiFAST16): Likewise.
27666 [C99-based-standards] (SCNoFAST16): Likewise.
27667 [C99-based-standards] (SCNuFAST16): Likewise.
27668 [C99-based-standards] (SCNxFAST16): Likewise.
27669 [C99-based-standards] (PRId32): Likewise.
27670 [C99-based-standards] (PRIi32): Likewise.
27671 [C99-based-standards] (PRIo32): Likewise.
27672 [C99-based-standards] (PRIu32): Likewise.
27673 [C99-based-standards] (PRIx32): Likewise.
27674 [C99-based-standards] (PRIX32): Likewise.
27675 [C99-based-standards] (SCNd32): Likewise.
27676 [C99-based-standards] (SCNi32): Likewise.
27677 [C99-based-standards] (SCNo32): Likewise.
27678 [C99-based-standards] (SCNu32): Likewise.
27679 [C99-based-standards] (SCNx32): Likewise.
27680 [C99-based-standards] (PRIdLEAST32): Likewise.
27681 [C99-based-standards] (PRIiLEAST32): Likewise.
27682 [C99-based-standards] (PRIoLEAST32): Likewise.
27683 [C99-based-standards] (PRIuLEAST32): Likewise.
27684 [C99-based-standards] (PRIxLEAST32): Likewise.
27685 [C99-based-standards] (PRIXLEAST32): Likewise.
27686 [C99-based-standards] (SCNdLEAST32): Likewise.
27687 [C99-based-standards] (SCNiLEAST32): Likewise.
27688 [C99-based-standards] (SCNoLEAST32): Likewise.
27689 [C99-based-standards] (SCNuLEAST32): Likewise.
27690 [C99-based-standards] (SCNxLEAST32): Likewise.
27691 [C99-based-standards] (PRIdFAST32): Likewise.
27692 [C99-based-standards] (PRIiFAST32): Likewise.
27693 [C99-based-standards] (PRIoFAST32): Likewise.
27694 [C99-based-standards] (PRIuFAST32): Likewise.
27695 [C99-based-standards] (PRIxFAST32): Likewise.
27696 [C99-based-standards] (PRIXFAST32): Likewise.
27697 [C99-based-standards] (SCNdFAST32): Likewise.
27698 [C99-based-standards] (SCNiFAST32): Likewise.
27699 [C99-based-standards] (SCNoFAST32): Likewise.
27700 [C99-based-standards] (SCNuFAST32): Likewise.
27701 [C99-based-standards] (SCNxFAST32): Likewise.
27702 [C99-based-standards] (PRId64): Likewise.
27703 [C99-based-standards] (PRIi64): Likewise.
27704 [C99-based-standards] (PRIo64): Likewise.
27705 [C99-based-standards] (PRIu64): Likewise.
27706 [C99-based-standards] (PRIx64): Likewise.
27707 [C99-based-standards] (PRIX64): Likewise.
27708 [C99-based-standards] (SCNd64): Likewise.
27709 [C99-based-standards] (SCNi64): Likewise.
27710 [C99-based-standards] (SCNo64): Likewise.
27711 [C99-based-standards] (SCNu64): Likewise.
27712 [C99-based-standards] (SCNx64): Likewise.
27713 [C99-based-standards] (PRIdLEAST64): Likewise.
27714 [C99-based-standards] (PRIiLEAST64): Likewise.
27715 [C99-based-standards] (PRIoLEAST64): Likewise.
27716 [C99-based-standards] (PRIuLEAST64): Likewise.
27717 [C99-based-standards] (PRIxLEAST64): Likewise.
27718 [C99-based-standards] (PRIXLEAST64): Likewise.
27719 [C99-based-standards] (SCNdLEAST64): Likewise.
27720 [C99-based-standards] (SCNiLEAST64): Likewise.
27721 [C99-based-standards] (SCNoLEAST64): Likewise.
27722 [C99-based-standards] (SCNuLEAST64): Likewise.
27723 [C99-based-standards] (SCNxLEAST64): Likewise.
27724 [C99-based-standards] (PRIdFAST64): Likewise.
27725 [C99-based-standards] (PRIiFAST64): Likewise.
27726 [C99-based-standards] (PRIoFAST64): Likewise.
27727 [C99-based-standards] (PRIuFAST64): Likewise.
27728 [C99-based-standards] (PRIxFAST64): Likewise.
27729 [C99-based-standards] (PRIXFAST64): Likewise.
27730 [C99-based-standards] (SCNdFAST64): Likewise.
27731 [C99-based-standards] (SCNiFAST64): Likewise.
27732 [C99-based-standards] (SCNoFAST64): Likewise.
27733 [C99-based-standards] (SCNuFAST64): Likewise.
27734 [C99-based-standards] (SCNxFAST64): Likewise.
27735 [C99-based-standards] (PRIdMAX): Likewise.
27736 [C99-based-standards] (PRIiMAX): Likewise.
27737 [C99-based-standards] (PRIoMAX): Likewise.
27738 [C99-based-standards] (PRIuMAX): Likewise.
27739 [C99-based-standards] (PRIxMAX): Likewise.
27740 [C99-based-standards] (PRIXMAX): Likewise.
27741 [C99-based-standards] (SCNdMAX): Likewise.
27742 [C99-based-standards] (SCNiMAX): Likewise.
27743 [C99-based-standards] (SCNoMAX): Likewise.
27744 [C99-based-standards] (SCNuMAX): Likewise.
27745 [C99-based-standards] (SCNxMAX): Likewise.
27746 [C99-based-standards] (PRIdPTR): Likewise.
27747 [C99-based-standards] (PRIiPTR): Likewise.
27748 [C99-based-standards] (PRIoPTR): Likewise.
27749 [C99-based-standards] (PRIuPTR): Likewise.
27750 [C99-based-standards] (PRIxPTR): Likewise.
27751 [C99-based-standards] (PRIXPTR): Likewise.
27752 [C99-based-standards] (SCNdPTR): Likewise.
27753 [C99-based-standards] (SCNiPTR): Likewise.
27754 [C99-based-standards] (SCNoPTR): Likewise.
27755 [C99-based-standards] (SCNuPTR): Likewise.
27756 [C99-based-standards] (SCNxPTR): Likewise.
27757 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27759 * conform/data/stdint.h-data: Update comments to clarify
27761 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27763 [C99-based standards] (INT8_MAX): Likewise.
27764 [C99-based standards] (INT16_MIN): Likewise.
27765 [C99-based standards] (INT16_MAX): Likewise.
27766 [C99-based standards] (INT32_MIN): Likewise.
27767 [C99-based standards] (INT32_MAX): Likewise.
27768 [C99-based standards] (INT64_MIN): Likewise.
27769 [C99-based standards] (INT64_MAX): Likewise.
27770 [C99-based standards] (UINT8_MAX): Likewise.
27771 [C99-based standards] (UINT16_MAX): Likewise.
27772 [C99-based standards] (UINT32_MAX): Likewise.
27773 [C99-based standards] (UINT64_MAX): Likewise.
27774 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27775 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27776 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27777 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27778 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27779 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27780 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27781 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27782 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27783 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27784 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27785 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27786 [C99-based standards] (INT_FAST8_MIN): Likewise.
27787 [C99-based standards] (INT_FAST8_MAX): Likewise.
27788 [C99-based standards] (INT_FAST16_MIN): Likewise.
27789 [C99-based standards] (INT_FAST16_MAX): Likewise.
27790 [C99-based standards] (INT_FAST32_MIN): Likewise.
27791 [C99-based standards] (INT_FAST32_MAX): Likewise.
27792 [C99-based standards] (INT_FAST64_MIN): Likewise.
27793 [C99-based standards] (INT_FAST64_MAX): Likewise.
27794 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27795 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27796 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27797 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27798 [C99-based standards] (INTPTR_MIN): Likewise.
27799 [C99-based standards] (INTPTR_MAX): Likewise.
27800 [C99-based standards] (UINTPTR_MAX): Likewise.
27801 [C99-based standards] (INTMAX_MIN): Likewise.
27802 [C99-based standards] (INTMAX_MAX): Likewise.
27803 [C99-based standards] (UINTMAX_MAX): Likewise.
27804 [C99-based standards] (PTRDIFF_MIN): Likewise.
27805 [C99-based standards] (PTRDIFF_MAX): Likewise.
27806 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27807 [C99-based standards] (SIZE_MAX): Likewise.
27808 [C99-based standards] (WCHAR_MAX): Likewise.
27809 [C99-based standards] (WINT_MAX): Likewise.
27810 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27811 constraint on value.
27812 [C99-based standards] (WCHAR_MIN): Likewise.
27813 [C99-based standards] (WINT_MIN): Likewise.
27814 [C99-based standards] (*_t): Allow.
27815 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27816 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27817 Include math.h-data and complex.h-data. Remove all expectations
27818 of math.h and complex.h contents.
27819 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27821 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27822 (struct tm): Expect tag.
27823 [C99-based-standards] (wcstof): Expect function.
27824 [C99-based-standards] (wcstold): Likewise.
27825 [C99-based-standards] (wcstoll): Likewise.
27826 [C99-based-standards] (wcstoull): Likewise.
27827 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27828 macro-int-constant. Specify type.
27829 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27830 constraint on value.
27831 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27833 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27835 [ISO C standards]: Do not allow headers.
27836 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27837 wcs[abcdefghijklmnopqrstuvwxyz]*.
27838 [ISO C standards] (*_t): Do not allow.
27839 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27841 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27842 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27844 [ISO C standards]: Do not allow headers.
27845 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27846 is[abcdefghijklmnopqrstuvwxyz]*.
27847 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27848 to[abcdefghijklmnopqrstuvwxyz]*.
27849 [ISO C standards] (*_t): Do not allow.
27850 * conform/data/stdalign.h-data: New file.
27851 * conform/data/stdbool.h-data: Likewise.
27852 * conform/data/stdnoreturn.h-data: Likewise.
27854 2012-11-07 Roland McGrath <roland@hack.frob.com>
27857 * manual/filesys.texi (Directory Entries): Typo fix.
27858 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27860 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27862 * elf/elf.h (EM_AARCH64): New macro.
27863 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27864 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27865 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27866 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27867 (R_AARCH64_TLSDESC): Likewise.
27868 (NT_ARM_TLS): Likewise.
27869 (NT_ARM_HW_BREAK): Likewise.
27870 (NT_ARM_HW_WATCH): Likewise.
27872 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27875 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27876 (__ieee754_powl): Saturate nonzero exponents with absolute value
27877 below 0x1p-79 to +/- 0x1p-79.
27878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27879 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27880 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27881 nonzero exponents with absolute value below 0x1p-32 to +/-
27883 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27884 (__ieee754_powl): Saturate nonzero exponents with absolute value
27885 below 0x1p-79 to +/- 0x1p-79.
27886 * math/libm-test.inc (pow_test): Add more tests.
27888 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27890 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27891 _dl_s390_cap_flags with kernel. Increase string length.
27892 (_dl_s390_platforms): Add z196 and zEC12.
27894 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27896 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27897 Change XOPEN21K to XOPEN2K.
27899 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27901 * string/memmove.c: Use memcpy when possible.
27903 2012-11-06 Andreas Jaeger <aj@suse.de>
27905 * po/eo.po: Update from translation team.
27907 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27911 exponent and small x and y exponents, scale x or y up. Increase
27912 by 2 the exponent used in scaling up.
27913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27915 * math/libm-test.inc (fma_test): Add more tests.
27916 (fma_test_towardzero): Likewise.
27917 (fma_test_downward): Likewise.
27918 (fma_test_upward): Likewise.
27920 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27923 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27927 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27928 namespace for names of struct fields.
27929 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27931 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27932 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27934 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27937 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27939 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27941 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27945 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27948 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27952 definitely overflow as x * y not x * y + z.
27953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27955 * math/libm-test.inc (fma_test): Add more tests.
27956 (fma_test_towardzero): Likewise.
27957 (fma_test_downward): Likewise.
27958 (fma_test_upward): Likewise.
27960 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27964 * include/stub-tag.h: Remove file.
27965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27967 * manual/maint.texi (Porting): Don't reference it.
27968 * Makerules ($(objpfx)stubs): Likewise.
27969 * dirent/closedir.c: Don't include <stub-tag.h>.
27970 * dirent/dirfd.c: Likewise.
27971 * dirent/fdopendir.c: Likewise.
27972 * dirent/getdents.c: Likewise.
27973 * dirent/getdents64.c: Likewise.
27974 * dirent/opendir.c: Likewise.
27975 * dirent/readdir.c: Likewise.
27976 * dirent/readdir64.c: Likewise.
27977 * dirent/readdir64_r.c: Likewise.
27978 * dirent/readdir_r.c: Likewise.
27979 * dirent/rewinddir.c: Likewise.
27980 * dirent/seekdir.c: Likewise.
27981 * dirent/telldir.c: Likewise.
27982 * gmon/profil.c: Likewise.
27983 * grp/setgroups.c: Likewise.
27984 * inet/if_index.c: Likewise.
27985 * io/access.c: Likewise.
27986 * io/chdir.c: Likewise.
27987 * io/chmod.c: Likewise.
27988 * io/chown.c: Likewise.
27989 * io/close.c: Likewise.
27990 * io/dup.c: Likewise.
27991 * io/dup2.c: Likewise.
27992 * io/dup3.c: Likewise.
27993 * io/euidaccess.c: Likewise.
27994 * io/faccessat.c: Likewise.
27995 * io/fchdir.c: Likewise.
27996 * io/fchmod.c: Likewise.
27997 * io/fchmodat.c: Likewise.
27998 * io/fchown.c: Likewise.
27999 * io/fchownat.c: Likewise.
28000 * io/fcntl.c: Likewise.
28001 * io/flock.c: Likewise.
28002 * io/fstatfs.c: Likewise.
28003 * io/fstatfs64.c: Likewise.
28004 * io/fstatvfs.c: Likewise.
28005 * io/fstatvfs64.c: Likewise.
28006 * io/futimens.c: Likewise.
28007 * io/fxstat.c: Likewise.
28008 * io/fxstat64.c: Likewise.
28009 * io/fxstatat.c: Likewise.
28010 * io/fxstatat64.c: Likewise.
28011 * io/getcwd.c: Likewise.
28012 * io/isatty.c: Likewise.
28013 * io/lchmod.c: Likewise.
28014 * io/lchown.c: Likewise.
28015 * io/link.c: Likewise.
28016 * io/linkat.c: Likewise.
28017 * io/lseek.c: Likewise.
28018 * io/lseek64.c: Likewise.
28019 * io/lxstat64.c: Likewise.
28020 * io/mkdir.c: Likewise.
28021 * io/mkdirat.c: Likewise.
28022 * io/mkfifo.c: Likewise.
28023 * io/mkfifoat.c: Likewise.
28024 * io/open.c: Likewise.
28025 * io/open64.c: Likewise.
28026 * io/openat.c: Likewise.
28027 * io/openat64.c: Likewise.
28028 * io/pipe.c: Likewise.
28029 * io/pipe2.c: Likewise.
28030 * io/poll.c: Likewise.
28031 * io/posix_fadvise.c: Likewise.
28032 * io/posix_fadvise64.c: Likewise.
28033 * io/posix_fallocate.c: Likewise.
28034 * io/posix_fallocate64.c: Likewise.
28035 * io/read.c: Likewise.
28036 * io/readlink.c: Likewise.
28037 * io/readlinkat.c: Likewise.
28038 * io/rmdir.c: Likewise.
28039 * io/sendfile.c: Likewise.
28040 * io/sendfile64.c: Likewise.
28041 * io/statfs.c: Likewise.
28042 * io/statfs64.c: Likewise.
28043 * io/statvfs.c: Likewise.
28044 * io/statvfs64.c: Likewise.
28045 * io/symlink.c: Likewise.
28046 * io/symlinkat.c: Likewise.
28047 * io/ttyname.c: Likewise.
28048 * io/ttyname_r.c: Likewise.
28049 * io/umask.c: Likewise.
28050 * io/unlink.c: Likewise.
28051 * io/unlinkat.c: Likewise.
28052 * io/utime.c: Likewise.
28053 * io/utimensat.c: Likewise.
28054 * io/write.c: Likewise.
28055 * io/xmknod.c: Likewise.
28056 * io/xmknodat.c: Likewise.
28057 * io/xstat.c: Likewise.
28058 * io/xstat64.c: Likewise.
28059 * login/getpt.c: Likewise.
28060 * login/grantpt.c: Likewise.
28061 * login/unlockpt.c: Likewise.
28062 * math/e_acoshl.c: Likewise.
28063 * math/e_acosl.c: Likewise.
28064 * math/e_asinl.c: Likewise.
28065 * math/e_atan2l.c: Likewise.
28066 * math/e_atanhl.c: Likewise.
28067 * math/e_coshl.c: Likewise.
28068 * math/e_expl.c: Likewise.
28069 * math/e_fmodl.c: Likewise.
28070 * math/e_gammal_r.c: Likewise.
28071 * math/e_hypotl.c: Likewise.
28072 * math/e_j0l.c: Likewise.
28073 * math/e_j1l.c: Likewise.
28074 * math/e_jnl.c: Likewise.
28075 * math/e_lgammal_r.c: Likewise.
28076 * math/e_log10l.c: Likewise.
28077 * math/e_log2l.c: Likewise.
28078 * math/e_logl.c: Likewise.
28079 * math/e_powl.c: Likewise.
28080 * math/e_rem_pio2l.c: Likewise.
28081 * math/e_sinhl.c: Likewise.
28082 * math/e_sqrtl.c: Likewise.
28083 * math/fclrexcpt.c: Likewise.
28084 * math/fedisblxcpt.c: Likewise.
28085 * math/feenablxcpt.c: Likewise.
28086 * math/fegetenv.c: Likewise.
28087 * math/fegetexcept.c: Likewise.
28088 * math/fegetround.c: Likewise.
28089 * math/feholdexcpt.c: Likewise.
28090 * math/fesetenv.c: Likewise.
28091 * math/fesetround.c: Likewise.
28092 * math/feupdateenv.c: Likewise.
28093 * math/fgetexcptflg.c: Likewise.
28094 * math/fraiseexcpt.c: Likewise.
28095 * math/fsetexcptflg.c: Likewise.
28096 * math/ftestexcept.c: Likewise.
28097 * math/k_cosl.c: Likewise.
28098 * math/k_rem_pio2l.c: Likewise.
28099 * math/k_sinl.c: Likewise.
28100 * math/k_tanl.c: Likewise.
28101 * math/s_asinhl.c: Likewise.
28102 * math/s_atanl.c: Likewise.
28103 * math/s_cbrtl.c: Likewise.
28104 * math/s_erfl.c: Likewise.
28105 * math/s_expm1l.c: Likewise.
28106 * math/s_log1pl.c: Likewise.
28107 * math/s_tanhl.c: Likewise.
28108 * misc/acct.c: Likewise.
28109 * misc/brk.c: Likewise.
28110 * misc/chflags.c: Likewise.
28111 * misc/chroot.c: Likewise.
28112 * misc/fchflags.c: Likewise.
28113 * misc/fgetxattr.c: Likewise.
28114 * misc/flistxattr.c: Likewise.
28115 * misc/fremovexattr.c: Likewise.
28116 * misc/fsetxattr.c: Likewise.
28117 * misc/fsync.c: Likewise.
28118 * misc/ftruncate.c: Likewise.
28119 * misc/futimes.c: Likewise.
28120 * misc/futimesat.c: Likewise.
28121 * misc/getdomain.c: Likewise.
28122 * misc/getdtsz.c: Likewise.
28123 * misc/gethostid.c: Likewise.
28124 * misc/gethostname.c: Likewise.
28125 * misc/getloadavg.c: Likewise.
28126 * misc/getpagesize.c: Likewise.
28127 * misc/getsysstats.c: Likewise.
28128 * misc/getxattr.c: Likewise.
28129 * misc/gtty.c: Likewise.
28130 * misc/ioctl.c: Likewise.
28131 * misc/lgetxattr.c: Likewise.
28132 * misc/listxattr.c: Likewise.
28133 * misc/llistxattr.c: Likewise.
28134 * misc/lremovexattr.c: Likewise.
28135 * misc/lsetxattr.c: Likewise.
28136 * misc/lutimes.c: Likewise.
28137 * misc/madvise.c: Likewise.
28138 * misc/mincore.c: Likewise.
28139 * misc/mlock.c: Likewise.
28140 * misc/mlockall.c: Likewise.
28141 * misc/mmap.c: Likewise.
28142 * misc/mprotect.c: Likewise.
28143 * misc/msync.c: Likewise.
28144 * misc/munlock.c: Likewise.
28145 * misc/munlockall.c: Likewise.
28146 * misc/munmap.c: Likewise.
28147 * misc/preadv.c: Likewise.
28148 * misc/preadv64.c: Likewise.
28149 * misc/ptrace.c: Likewise.
28150 * misc/pwritev.c: Likewise.
28151 * misc/pwritev64.c: Likewise.
28152 * misc/readv.c: Likewise.
28153 * misc/reboot.c: Likewise.
28154 * misc/remap_file_pages.c: Likewise.
28155 * misc/removexattr.c: Likewise.
28156 * misc/revoke.c: Likewise.
28157 * misc/select.c: Likewise.
28158 * misc/setdomain.c: Likewise.
28159 * misc/setegid.c: Likewise.
28160 * misc/seteuid.c: Likewise.
28161 * misc/sethostid.c: Likewise.
28162 * misc/sethostname.c: Likewise.
28163 * misc/setregid.c: Likewise.
28164 * misc/setreuid.c: Likewise.
28165 * misc/setxattr.c: Likewise.
28166 * misc/sstk.c: Likewise.
28167 * misc/stty.c: Likewise.
28168 * misc/swapoff.c: Likewise.
28169 * misc/swapon.c: Likewise.
28170 * misc/sync.c: Likewise.
28171 * misc/syncfs.c: Likewise.
28172 * misc/syscall.c: Likewise.
28173 * misc/truncate.c: Likewise.
28174 * misc/ualarm.c: Likewise.
28175 * misc/usleep.c: Likewise.
28176 * misc/ustat.c: Likewise.
28177 * misc/utimes.c: Likewise.
28178 * misc/vhangup.c: Likewise.
28179 * misc/writev.c: Likewise.
28180 * posix/_exit.c: Likewise.
28181 * posix/alarm.c: Likewise.
28182 * posix/execve.c: Likewise.
28183 * posix/fexecve.c: Likewise.
28184 * posix/fork.c: Likewise.
28185 * posix/fpathconf.c: Likewise.
28186 * posix/getaddrinfo.c: Likewise.
28187 * posix/getegid.c: Likewise.
28188 * posix/geteuid.c: Likewise.
28189 * posix/getgid.c: Likewise.
28190 * posix/getgroups.c: Likewise.
28191 * posix/getlogin.c: Likewise.
28192 * posix/getlogin_r.c: Likewise.
28193 * posix/getpgid.c: Likewise.
28194 * posix/getpid.c: Likewise.
28195 * posix/getppid.c: Likewise.
28196 * posix/getresgid.c: Likewise.
28197 * posix/getresuid.c: Likewise.
28198 * posix/getsid.c: Likewise.
28199 * posix/getuid.c: Likewise.
28200 * posix/glob64.c: Likewise.
28201 * posix/nanosleep.c: Likewise.
28202 * posix/pathconf.c: Likewise.
28203 * posix/pause.c: Likewise.
28204 * posix/posix_madvise.c: Likewise.
28205 * posix/pread.c: Likewise.
28206 * posix/pread64.c: Likewise.
28207 * posix/pwrite.c: Likewise.
28208 * posix/pwrite64.c: Likewise.
28209 * posix/sched_getaffinity.c: Likewise.
28210 * posix/sched_getp.c: Likewise.
28211 * posix/sched_gets.c: Likewise.
28212 * posix/sched_primax.c: Likewise.
28213 * posix/sched_primin.c: Likewise.
28214 * posix/sched_rr_gi.c: Likewise.
28215 * posix/sched_setaffinity.c: Likewise.
28216 * posix/sched_setp.c: Likewise.
28217 * posix/sched_sets.c: Likewise.
28218 * posix/sched_yield.c: Likewise.
28219 * posix/setgid.c: Likewise.
28220 * posix/setlogin.c: Likewise.
28221 * posix/setpgid.c: Likewise.
28222 * posix/setresgid.c: Likewise.
28223 * posix/setresuid.c: Likewise.
28224 * posix/setsid.c: Likewise.
28225 * posix/setuid.c: Likewise.
28226 * posix/sleep.c: Likewise.
28227 * posix/spawni.c: Likewise.
28228 * posix/sysconf.c: Likewise.
28229 * posix/times.c: Likewise.
28230 * posix/wait.c: Likewise.
28231 * posix/wait3.c: Likewise.
28232 * posix/wait4.c: Likewise.
28233 * posix/waitpid.c: Likewise.
28234 * resolv/gai_sigqueue.c: Likewise.
28235 * resource/getpriority.c: Likewise.
28236 * resource/getrlimit.c: Likewise.
28237 * resource/getrusage.c: Likewise.
28238 * resource/nice.c: Likewise.
28239 * resource/setpriority.c: Likewise.
28240 * resource/setrlimit.c: Likewise.
28241 * resource/ulimit.c: Likewise.
28242 * rt/aio_cancel.c: Likewise.
28243 * rt/aio_fsync.c: Likewise.
28244 * rt/aio_read.c: Likewise.
28245 * rt/aio_sigqueue.c: Likewise.
28246 * rt/aio_suspend.c: Likewise.
28247 * rt/aio_write.c: Likewise.
28248 * rt/clock_getres.c: Likewise.
28249 * rt/clock_gettime.c: Likewise.
28250 * rt/clock_nanosleep.c: Likewise.
28251 * rt/clock_settime.c: Likewise.
28252 * rt/lio_listio.c: Likewise.
28253 * rt/mq_close.c: Likewise.
28254 * rt/mq_getattr.c: Likewise.
28255 * rt/mq_notify.c: Likewise.
28256 * rt/mq_open.c: Likewise.
28257 * rt/mq_receive.c: Likewise.
28258 * rt/mq_send.c: Likewise.
28259 * rt/mq_setattr.c: Likewise.
28260 * rt/mq_timedreceive.c: Likewise.
28261 * rt/mq_timedsend.c: Likewise.
28262 * rt/mq_unlink.c: Likewise.
28263 * rt/shm_open.c: Likewise.
28264 * rt/shm_unlink.c: Likewise.
28265 * rt/timer_create.c: Likewise.
28266 * rt/timer_delete.c: Likewise.
28267 * rt/timer_getoverr.c: Likewise.
28268 * rt/timer_gettime.c: Likewise.
28269 * rt/timer_settime.c: Likewise.
28270 * setjmp/__longjmp.c: Likewise.
28271 * setjmp/setjmp.c: Likewise.
28272 * signal/kill.c: Likewise.
28273 * signal/killpg.c: Likewise.
28274 * signal/raise.c: Likewise.
28275 * signal/sigaction.c: Likewise.
28276 * signal/sigaltstack.c: Likewise.
28277 * signal/sigblock.c: Likewise.
28278 * signal/sigignore.c: Likewise.
28279 * signal/sigintr.c: Likewise.
28280 * signal/signal.c: Likewise.
28281 * signal/sigpause.c: Likewise.
28282 * signal/sigpending.c: Likewise.
28283 * signal/sigqueue.c: Likewise.
28284 * signal/sigreturn.c: Likewise.
28285 * signal/sigset.c: Likewise.
28286 * signal/sigsetmask.c: Likewise.
28287 * signal/sigstack.c: Likewise.
28288 * signal/sigsuspend.c: Likewise.
28289 * signal/sigtimedwait.c: Likewise.
28290 * signal/sigvec.c: Likewise.
28291 * signal/sigwait.c: Likewise.
28292 * signal/sigwaitinfo.c: Likewise.
28293 * signal/sysv_signal.c: Likewise.
28294 * socket/accept.c: Likewise.
28295 * socket/accept4.c: Likewise.
28296 * socket/bind.c: Likewise.
28297 * socket/connect.c: Likewise.
28298 * socket/getpeername.c: Likewise.
28299 * socket/getsockname.c: Likewise.
28300 * socket/getsockopt.c: Likewise.
28301 * socket/isfdtype.c: Likewise.
28302 * socket/listen.c: Likewise.
28303 * socket/recv.c: Likewise.
28304 * socket/recvfrom.c: Likewise.
28305 * socket/recvmsg.c: Likewise.
28306 * socket/send.c: Likewise.
28307 * socket/sendmsg.c: Likewise.
28308 * socket/sendto.c: Likewise.
28309 * socket/setsockopt.c: Likewise.
28310 * socket/shutdown.c: Likewise.
28311 * socket/sockatmark.c: Likewise.
28312 * socket/socket.c: Likewise.
28313 * socket/socketpair.c: Likewise.
28314 * stdio-common/ctermid.c: Likewise.
28315 * stdio-common/cuserid.c: Likewise.
28316 * stdio-common/remove.c: Likewise.
28317 * stdio-common/rename.c: Likewise.
28318 * stdio-common/renameat.c: Likewise.
28319 * stdio-common/tempname.c: Likewise.
28320 * stdlib/getcontext.c: Likewise.
28321 * stdlib/makecontext.c: Likewise.
28322 * stdlib/setcontext.c: Likewise.
28323 * stdlib/swapcontext.c: Likewise.
28324 * stdlib/system.c: Likewise.
28325 * streams/fattach.c: Likewise.
28326 * streams/fdetach.c: Likewise.
28327 * streams/getmsg.c: Likewise.
28328 * streams/getpmsg.c: Likewise.
28329 * streams/putmsg.c: Likewise.
28330 * streams/putpmsg.c: Likewise.
28331 * sysdeps/unix/bsd/getpt.c: Likewise.
28332 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28333 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28334 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28337 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28339 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28340 * sysvipc/msgctl.c: Likewise.
28341 * sysvipc/msgget.c: Likewise.
28342 * sysvipc/msgrcv.c: Likewise.
28343 * sysvipc/msgsnd.c: Likewise.
28344 * sysvipc/semctl.c: Likewise.
28345 * sysvipc/semget.c: Likewise.
28346 * sysvipc/semop.c: Likewise.
28347 * sysvipc/semtimedop.c: Likewise.
28348 * sysvipc/shmat.c: Likewise.
28349 * sysvipc/shmctl.c: Likewise.
28350 * sysvipc/shmdt.c: Likewise.
28351 * sysvipc/shmget.c: Likewise.
28352 * termios/tcdrain.c: Likewise.
28353 * termios/tcflow.c: Likewise.
28354 * termios/tcflush.c: Likewise.
28355 * termios/tcgetattr.c: Likewise.
28356 * termios/tcgetpgrp.c: Likewise.
28357 * termios/tcsendbrk.c: Likewise.
28358 * termios/tcsetattr.c: Likewise.
28359 * termios/tcsetpgrp.c: Likewise.
28360 * time/adjtime.c: Likewise.
28361 * time/clock.c: Likewise.
28362 * time/getitimer.c: Likewise.
28363 * time/gettimeofday.c: Likewise.
28364 * time/setitimer.c: Likewise.
28365 * time/settimeofday.c: Likewise.
28366 * time/stime.c: Likewise.
28367 * time/time.c: Likewise.
28369 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28371 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28374 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28376 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28378 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28382 FE_TONEAREST before applying Dekker multiplication and Knuth
28383 addition. Clear inexact exceptions and check for exact zero
28384 results afterwards.
28385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28386 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28388 * math/libm-test.inc (fma_test): Add more tests.
28389 (fma_test_towardzero): Likewise.
28390 (fma_test_downward): Likewise.
28391 (fma_test_upward): Likewise.
28392 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28394 (libc_fesetround): New macro.
28395 (libc_fesetroundf): Likewise.
28396 (libc_fesetroundl): Likewise.
28397 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28399 (libc_fesetround_387): Likewise.
28400 (libc_fesetroundf): New macro.
28401 (libc_fesetround): Likewise.
28402 (libc_fesetroundl): Likewise.
28403 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28405 (libc_fesetroundf): New macro.
28406 (libc_fesetround): Likewise.
28407 (libc_fesetroundl): Likewise.
28408 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28409 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28410 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28412 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28413 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28415 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28416 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28418 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28422 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28423 integer constant usable in #if and use that to give value to enum
28425 (FE_DIVBYZERO): Likewise.
28426 (FE_UNDERFLOW): Likewise.
28427 (FE_OVERFLOW): Likewise.
28428 (FE_INVALID): Likewise.
28429 (FE_INVALID_SNAN): Likewise.
28430 (FE_INVALID_ISI): Likewise.
28431 (FE_INVALID_IDI): Likewise.
28432 (FE_INVALID_ZDZ): Likewise.
28433 (FE_INVALID_IMZ): Likewise.
28434 (FE_INVALID_COMPARE): Likewise.
28435 (FE_INVALID_SOFTWARE): Likewise.
28436 (FE_INVALID_SQRT): Likewise.
28437 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28438 (FE_TONEAREST): Likewise.
28439 (FE_TOWARDZERO): Likewise.
28440 (FE_UPWARD): Likewise.
28441 (FE_DOWNWARD): Likewise.
28442 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28443 (FE_DIVBYZERO): Likewise.
28444 (FE_OVERFLOW): Likewise.
28445 (FE_UNDERFLOW): Likewise.
28446 (FE_INEXACT): Likewise.
28447 (FE_TONEAREST): Likewise.
28448 (FE_DOWNWARD): Likewise.
28449 (FE_UPWARD): Likewise.
28450 (FE_TOWARDZERO): Likewise.
28451 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28452 (FE_UNDERFLOW): Likewise.
28453 (FE_OVERFLOW): Likewise.
28454 (FE_DIVBYZERO): Likewise.
28455 (FE_INVALID): Likewise.
28456 (FE_TONEAREST): Likewise.
28457 (FE_TOWARDZERO): Likewise.
28458 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28459 (FE_OVERFLOW): Likewise.
28460 (FE_UNDERFLOW): Likewise.
28461 (FE_DIVBYZERO): Likewise.
28462 (FE_INEXACT): Likewise.
28463 (FE_TONEAREST): Likewise.
28464 (FE_TOWARDZERO): Likewise.
28465 (FE_UPWARD): Likewise.
28466 (FE_DOWNWARD): Likewise.
28467 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28468 (FE_DIVBYZERO): Likewise.
28469 (FE_OVERFLOW): Likewise.
28470 (FE_UNDERFLOW): Likewise.
28471 (FE_INEXACT): Likewise.
28472 (FE_TONEAREST): Likewise.
28473 (FE_DOWNWARD): Likewise.
28474 (FE_UPWARD): Likewise.
28475 (FE_TOWARDZERO): Likewise.
28477 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28479 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28481 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28483 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28484 commands. Quote $PWD.
28485 (blacklist_exports): Don't use remove_newlines. Replace "declare
28487 (remove_newlines): Remove.
28489 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28491 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28492 * stdlib/stdlib.h (atof): Moved to ...
28493 * include/bits/stdlib-float.h: Here. New file.
28494 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28495 * stdlib/bits/stdlib-float.h: New file.
28496 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28498 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28501 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28503 * conform/conformtest.pl (@headers): Add fenv.h.
28504 * conform/data/fenv.h-data: New file.
28505 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28506 include of <math/fenv.h>.
28508 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28509 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28510 && !UNIX98]. Enables tests for XOPEN2K8.
28511 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28512 POSIX2008]: Likewise.
28514 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28515 (struct rusage): Do not expect type or its members.
28518 * math/math.h (FP_NAN): Define macro to integer constant usable in
28519 #if and use that to give value to enum constant.
28520 (FP_INFINITE): Likewise.
28521 (FP_ZERO): Likewise.
28522 (FP_SUBNORMAL): Likewise.
28523 (FP_NORMAL): Likewise.
28525 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28527 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28528 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28531 2012-11-02 Roland McGrath <roland@hack.frob.com>
28533 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28534 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28535 autoconf-time if not.
28536 * configure.in: Remove AC_PREREQ.
28538 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28540 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28541 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28542 of the internal implementation.
28544 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28546 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28547 except include of <misc/sys/syslog.h>.
28549 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28552 function returns with a NULL context exit with zero.
28554 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28556 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28558 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28560 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28561 (run_program_cmd): This.
28562 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28563 (tst_langinfo): New variable. Use it.
28565 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28567 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28568 floating point opcodes.
28570 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28572 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28575 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28577 * sysdeps/mach/hurd/powerpc: Remove directory.
28578 * sysdeps/mach/powerpc: Likewise.
28580 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28582 * scripts/check-local-headers.sh: Ignore c++ headers.
28584 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28586 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28587 __libc_cleanup_region_start argument.
28589 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28594 x * y using scaling, not as x * y + z.
28595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28597 * math/libm-test.inc (fma_test): Add more tests.
28598 (fma_test_towardzero): Likewise.
28599 (fma_test_downward): Likewise.
28600 (fma_test_upward): Likewise.
28602 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28604 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28606 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28608 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28611 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28613 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28615 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28622 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28625 Fix the order of the list for glibc 2.17.
28626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28629 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28633 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28637 for low part of x being zero before using __atanl (y).
28638 * math/libm-test.inc (atan2_test): Add another test.
28640 * manual/install.texi (Configuring and compiling): Document
28641 general use of test-wrapper and test-wrapper-env.
28642 * INSTALL: Regenerated.
28644 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28645 (__fma): Do not extract and scale down low bits on after-rounding
28646 systems when result rounded to normal precision would have normal
28648 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28649 (__fmal): Do not extract and scale down low bits on after-rounding
28650 systems when result rounded to normal precision would have normal
28652 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28653 (__fmal): Do not extract and scale down low bits on after-rounding
28654 systems when result rounded to normal precision would have normal
28656 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28658 (fma_test): Add more tests.
28659 (fma_test_towardzero): Likewise.
28660 (fma_test_downward): Likewise.
28661 (fma_test_upward): Likewise.
28663 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28665 * sysdeps/i386/tininess.h: Renamed to ...
28666 * sysdeps/x86/tininess.h: This.
28667 * sysdeps/x86_64/tininess.h: Removed.
28669 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28671 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28672 input. Use $(build-program-cmd).
28673 ($(objpfx)tst-array1-static.out): Likewise.
28674 ($(objpfx)tst-array2.out): Likewise.
28675 ($(objpfx)tst-array3.out): Likewise.
28676 ($(objpfx)tst-array4.out): Likewise.
28677 ($(objpfx)tst-array5.out): Likewise.
28678 ($(objpfx)tst-array5-static.out): Likewise.
28680 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28682 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28685 * nss/nsswitch.h (nss_interface_function): Provide new
28686 macro for use with NSS functions.
28687 * grp/initgroups.c: Use new macro.
28688 * nss/getXXbyYY.c: Likewise.
28689 * nss/getXXbyYY_r.c: Likewise.
28690 * nss/getXXent.c: Likewise.
28691 * nss/getXXent_r.c: Likewise.
28692 * sysdeps/posix/getaddrinfo.c: Likewise.
28694 2012-10-30 Andreas Jaeger <aj@suse.de>
28696 * po/ru.po: Update Russion translation from translation project.
28698 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28703 result and shift together with sticky bit instead of replicating
28704 round-to-nearest rounding.
28705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28707 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28708 missing underflow exceptions.
28709 (fma_test_towardzero): Add more tests.
28710 (fma_test_downward): Likewise.
28711 (fma_test_upward): Likewise.
28714 * sysdeps/generic/tininess.h: New file.
28715 * sysdeps/i386/tininess.h: Likewise.
28716 * sysdeps/sh/tininess.h: Likewise.
28717 * sysdeps/x86_64/tininess.h: Likewise.
28718 * stdlib/tst-strtod-underflow.c: Likewise.
28719 * stdlib/tst-tininess.c: Likewise.
28720 * stdlib/strtod_l.c: Include <tininess.h>.
28721 (round_and_return): Do not set errno for exact underflow cases.
28722 Force an underflow exception when setting errno for underflow.
28723 Determine underflow based on rounding to normal precision if
28724 TININESS_AFTER_ROUNDING.
28725 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28726 ERANGE for exact underflow cases.
28727 * stdlib/Makefile (tests): Add tst-tininess and
28728 tst-strtod-underflow.
28729 ($(objpfx)tst-tininess): Use $(link-libm).
28730 ($(objpfx)tst-strtod-underflow): Likewise.
28732 2012-10-30 Andreas Jaeger <aj@suse.de>
28735 * elf/Makefile (tests): Remove conditional for have-initfini-array
28736 since this is now always required and the variable does not exist
28738 (tests-static): Likewise.
28739 (modules-names): Likewise.
28741 * po/eo.po: Add Esperanto translation from translation project.
28743 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28744 merged with constructor/destructor.
28745 (init_array): Likewise.
28746 * elf/tst-array2dep.c (fini_array): Likewise.
28747 (init_array): Likewise.
28749 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28751 * manual/message.texi: Delete @cartouche tags.
28753 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28755 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28757 * sysdeps/mach/hurd/fsync.c: Likewise.
28759 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28760 [_POSIX_REALTIME_SIGNALS]: Change condition to
28761 [_POSIX_REALTIME_SIGNALS > 0].
28763 2012-10-27 Andreas Jaeger <aj@suse.de>
28765 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28766 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28768 [__WORDSIZE != 64]: Likewise.
28770 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28772 * iconvdata/tst-table.sh: Remove ${SHELL}.
28773 * iconvdata/tst-tables.sh: Likewise.
28775 2012-10-25 David S. Miller <davem@davemloft.net>
28777 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28778 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28783 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28784 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28785 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28788 2012-10-25 Roland McGrath <roland@hack.frob.com>
28790 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28791 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28794 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28795 Jim Blandy <jimb@codesourcery.com>
28797 * scripts/cross-test-ssh.sh: New file.
28798 * manual/install.texi (Configuring and compiling): Document use of
28800 * INSTALL: Regenerated.
28802 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28804 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28807 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28809 * Makeconfig (run-program-prefix): Fix comment.
28811 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28812 Jim Blandy <jimb@codesourcery.com>
28814 * Makeconfig (test-wrapper): New variable,
28815 (test-wrapper-env): Likewise.
28816 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28817 (run-built-tests): Define to yes.
28818 (run-program-prefix): Use $(test-wrapper).
28819 (built-program-cmd): Likewise.
28820 * Rules (make-test-out): Use $(test-wrapper-env) and
28821 $(host-built-program-cmd).
28822 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28823 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28825 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28826 $(test-wrapper-env) to tst-rtld-load-self.sh.
28827 ($(objpfx)order2.out): Use $(test-wrapper).
28828 ($(objpfx)tst-initorder.out): Likewise.
28829 ($(objpfx)tst-initorder2.out): Likewise.
28830 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28831 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28832 (test_wrapper_env): New variable. Use it to run ld.so.
28833 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28834 Use it to run ld.so.
28835 (test_wrapper_env): Likewise.
28836 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28837 $(test-wrapper) to run-iconv-test.sh.
28838 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28839 (ICONV): Use $test_wrapper.
28840 * posix/Makefile ($(objpfx)globtest.out): Pass
28841 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28842 globtest.sh, not $(run-program-prefix).
28843 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28844 (test_wrapper): Likewise.
28845 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28846 set together with run_via_rtld_prefix.
28847 (run_program_prefix): Define in terms of test_wrapper and
28848 run_via_rtld_prefix.
28850 2012-10-24 Roland McGrath <roland@hack.frob.com>
28852 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28853 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28857 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28858 Declare __clock_getres, __clock_gettime, __clock_settime,
28859 __clock_nanosleep, and __clock_getcpuclockid.
28860 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28861 Remove librt_hidden_def (clock_gettime).
28862 * sysdeps/unix/clock_gettime.c: Likewise.
28863 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28864 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28865 * rt/clock_getres.c: Define __clock_getres as an alias.
28866 * sysdeps/posix/clock_getres.c: Likewise.
28867 * rt/clock_settime.c: Define __clock_settime as an alias.
28868 * sysdeps/unix/clock_settime.c: Likewise.
28869 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28870 * sysdeps/unix/clock_nanosleep.c: Likewise.
28871 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28872 * rt/clock-compat.c: New file.
28873 * rt/Makefile (librt-routines): Add clock-compat and move
28874 $(clock-routines) to ...
28875 (routines): ... here, new variable.
28876 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28877 Don't add get_clockfreq here.
28878 * rt/Versions (libc: GLIBC_2.17): New version set.
28879 Add clock_* symbols here.
28880 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28882 (GLIBC_2.17): Add clock_* symbols.
28883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28894 * NEWS: Mention the move.
28896 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28897 Use __open, __read, __close rather than their public counterparts.
28898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28899 (__get_clockfreq_via_cpuinfo): Likewise.
28900 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28901 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28903 * config.h.in (HAVE_IFUNC): New #undef.
28904 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28906 * configure: Regenerated.
28908 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28910 * configure.in: Move READELF check to start of file.
28911 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28912 libc_cv_asm_gnu_indirect_function in the process.
28913 * configure: Regenerated.
28915 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28917 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28918 send the output to /dev/null.
28919 (libc_cv_cc_with_libunwind): Likewise.
28920 (libc_cv_as_noexecstack): Likewise.
28921 * configure: Regenerate.
28923 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28925 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28927 * posix/globtest.sh (TMPDIR): Do not set.
28928 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28929 (testout): Likewise.
28931 2012-10-24 Andreas Jaeger <aj@suse.de>
28933 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28934 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28935 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28936 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28937 posix_fadvise64, posix_fallocate64.
28939 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28940 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28941 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28943 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28945 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28948 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28949 <bits/fcntl-linux.h>.
28950 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28953 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28954 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28955 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28956 [__WORDSIZE != 64]: Likewise.
28958 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28960 * Makeconfig (run-built-tests): New variable.
28961 * Rules [$(cross-compiling) = yes]: Change condition to
28962 [$(run-built-tests) = no].
28963 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28964 to [$(run-built-tests) = yes].
28965 * elf/Makefile [$(cross-compiling) = no]: Likewise
28966 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28967 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28968 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28969 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28970 * io/Makefile [$(cross-compiling) = no]: Likewise.
28971 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28972 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28973 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28974 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28975 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28976 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28977 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28978 * string/Makefile [$(cross-compiling) = no]: Likewise.
28980 * posix/Makefile ($(objpfx)globtest.out): Pass
28981 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28982 $(rtld-installed-name).
28983 * posix/globtest.sh (elf_objpfx): Remove variable.
28984 (rtld_installed_name): Likewise.
28985 (library_path): Likewise.
28986 (run_program_prefix): New variable. Use for running globtest
28989 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28990 Joseph Myers <joseph@codesourcery.com>
28992 * Makeconfig (host-built-program-cmd): New variable.
28993 * elf/Makefile (tst-stackguard1-ARGS): Use
28994 $(host-built-program-cmd).
28995 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28996 (tst-spawn-ARGS): Likewise.
28997 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28999 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29000 Jim Blandy <jimb@codesourcery.com>
29002 * Makeconfig (run-via-rtld-prefix): New variable.
29003 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29004 (built-program-cmd): Likewise.
29006 2012-10-22 Andreas Jaeger <aj@suse.de>
29008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29009 __O_RSYNC if it exists, otherwise to O_SYNC.
29011 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29012 Joseph Myers <joseph@codesourcery.com>
29014 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29016 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29018 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29021 2012-10-22 Andreas Jaeger <aj@suse.de>
29023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29028 bits/fcntl-linux.h.
29030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29031 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29038 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29039 Joseph Myers <joseph@codesourcery.com>
29041 * config.make.in (NM): New variable.
29043 2012-10-21 Andreas Jaeger <aj@suse.de>
29045 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29046 definitions and declarations that are provided by
29047 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29049 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29052 * elf/Makefile (tests-static): Add tst-leaks1-static.
29053 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29054 ($(objpfx)tst-leaks1-static): New rule.
29055 ($(objpfx)tst-leaks1-static-mem): Likewise.
29056 (tst-leaks1-static-ENV): New macro.
29057 * elf/dl-open.c (dl_open_worker): Check the main application
29058 only if SHARED is defined.
29059 * elf/tst-leaks1-static.c: New file.
29061 2012-10-20 Andreas Jaeger <aj@suse.de>
29063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29064 generic values for Linux.
29065 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29066 and declarations that are provided by <bits/fcntl-linux.h> and
29067 include <bits/fcntl-linux.h>.
29068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29071 2012-10-20 Roland McGrath <roland@hack.frob.com>
29073 * io/fcntl.h: Move include of <bits/types.h> to the top and
29074 include it unconditionally.
29076 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29078 * wcsmbs/Makefile (tests-ifunc): New variable.
29079 (tests): Add $(tests-ifunc).
29080 * wcsmbs/test-wcschr-ifunc.c: New file.
29081 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29082 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29083 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29084 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29085 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29087 * string/Makefile (tests-ifunc): New variable.
29088 (tests): Add $(tests-ifunc).
29089 * string/test-memccpy.c (TEST_NAME): New macro.
29090 * string/test-memchr.c (TEST_NAME): Likewise.
29091 * string/test-memcmp.c (TEST_NAME): Likewise.
29092 * string/test-memcpy.c (TEST_NAME): Likewise.
29093 * string/test-memmem.c (TEST_NAME): Likewise.
29094 * string/test-memmove.c (TEST_NAME): Likewise.
29095 * string/test-memset.c (TEST_NAME): Likewise.
29096 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29097 * string/test-stpcpy.c (TEST_NAME): Likewise.
29098 * string/test-stpncpy.c (TEST_NAME): Likewise.
29099 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29100 * string/test-strcasestr.c (TEST_NAME): Likewise.
29101 * string/test-strcat.c (TEST_NAME): Likewise.
29102 * string/test-strchr.c (TEST_NAME): Likewise.
29103 * string/test-strcmp.c(TEST_NAME): Likewise.
29104 * string/test-strcpy.c (TEST_NAME): Likewise.
29105 * string/test-strcspn.c (TEST_NAME): Likewise.
29106 * string/test-strlen.c (TEST_NAME): Likewise.
29107 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29108 * string/test-strncmp.c (TEST_NAME): Likewise.
29109 * string/test-strncpy.c (TEST_NAME): Likewise.
29110 * string/test-strnlen.c (TEST_NAME): Likewise.
29111 * string/test-strpbrk.c (TEST_NAME): Likewise.
29112 * string/test-strrchr.c (TEST_NAME): Likewise.
29113 * string/test-strspn.c (TEST_NAME): Likewise.
29114 * string/test-strstr.c (TEST_NAME): Likewise.
29115 * string/test-bcopy-ifunc.c: New file.
29116 * string/test-bzero-ifunc.c: Likewise.
29117 * string/test-memccpy-ifunc.c: Likewise.
29118 * string/test-memchr-ifunc.c: Likewise.
29119 * string/test-memcmp-ifunc.c: Likewise.
29120 * string/test-memcpy-ifunc.c: Likewise.
29121 * string/test-memmem-ifunc.c: Likewise.
29122 * string/test-memmove-ifunc.c: Likewise.
29123 * string/test-mempcpy-ifunc.c: Likewise.
29124 * string/test-memset-ifunc.c: Likewise.
29125 * string/test-rawmemchr-ifunc.c: Likewise.
29126 * string/test-stpcpy-ifunc.c: Likewise.
29127 * string/test-stpncpy-ifunc.c: Likewise.
29128 * string/test-strcasecmp-ifunc.c: Likewise.
29129 * string/test-strcasestr-ifunc.c: Likewise.
29130 * string/test-strcat-ifunc.c: Likewise.
29131 * string/test-strchr-ifunc.c: Likewise.
29132 * string/test-strchrnul-ifunc.c: Likewise.
29133 * string/test-strcmp-ifunc.c: Likewise.
29134 * string/test-strcpy-ifunc.c: Likewise.
29135 * string/test-strcspn-ifunc.c: Likewise.
29136 * string/test-strlen-ifunc.c: Likewise.
29137 * string/test-strncasecmp-ifunc.c: Likewise.
29138 * string/test-strncat-ifunc.c: Likewise.
29139 * string/test-strncmp-ifunc.c: Likewise.
29140 * string/test-strncpy-ifunc.c: Likewise.
29141 * string/test-strnlen-ifunc.c: Likewise.
29142 * string/test-strpbrk-ifunc.c: Likewise.
29143 * string/test-strrchr-ifunc.c: Likewise.
29144 * string/test-strspn-ifunc.c: Likewise.
29145 * string/test-strstr-ifunc.c: Likewise.
29147 * debug/Makefile (tests-ifunc): New variable.
29148 (tests): Add $(tests-ifunc).
29149 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29150 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29151 * debug/test-stpcpy_chk-ifunc.c: New file.
29152 * debug/test-strcpy_chk-ifunc.c: Likewise.
29154 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29157 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29158 header is not read in.
29160 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29162 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29163 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29164 directly. Pass built executable to script as
29165 $(built-program-cmd).
29166 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29167 $testprogram without using LD_LIBRARY_PATH and $ldso.
29169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29170 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29171 $(rtld-installed-name).
29172 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29173 (rtld_installed_name): Likewise.
29174 (library_path): Likewise.
29175 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29176 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29177 $(run-program-prefix) to tst-tables.sh.
29178 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29179 it to run tst-table-from and tst-table-to.
29180 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29181 Pass it to tst-table.sh.
29182 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29183 $(run-program-prefix) to tst-gettext.sh.
29184 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29186 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29188 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29189 to run tst-gettext.
29190 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29191 to run tst-gettext2.
29192 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29193 to run tst-translit.
29194 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29195 $(run-program-prefix) to tst-mtrace.sh.
29196 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29198 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29199 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29200 $(rtld-installed-name).
29201 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29202 (rtld_installed_name): Likewise.
29203 (run_program_prefix): New variable. Use it to run wordexp-test.
29205 * Makeconfig (ARCH): Remove all definitions.
29206 (machine): Likewise.
29207 [ARCH]: Remove conditional code.
29208 [!objdir]: Give error.
29209 [!objdir] (objpfx): Remove.
29210 [!objdir] (common-objpfx): Likewise.
29211 [!objdir] (common-objdir): Likewise.
29212 * configure.in (config_makefile): Remove. Hardcode Makefile in
29213 AC_CONFIG_FILES call.
29214 * configure: Regenerated.
29217 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29219 (testout): Likewise.
29221 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29222 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29223 $(rtld-installed-name).
29224 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29225 (rtld_installed_name): Likwise.
29226 (runit): Remove function.
29227 (run_getconf): New variable, Use it for running getconf binary.
29229 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29232 * string/test-memmem.c (check_result): New function.
29233 (do_one_test): Use it.
29234 (check1): New function.
29235 (test_main): Use it.
29237 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29239 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29241 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29243 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29244 (_G_LSEEK64): Likewise.
29245 (_G_MMAP64): Likewise.
29246 (_G_FSTAT64): Likewise.
29247 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29248 (_G_LSEEK64): Likewise.
29249 (_G_MMAP64): Likewise.
29250 (_G_FSTAT64): Likewise.
29251 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29252 unconditional. Call __mmap64 directly.
29253 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29254 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29255 __lseek64 directly.
29256 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29257 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29259 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29260 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29261 __lseek64 directly.
29262 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29263 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29264 __lseek64 directly.
29265 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29266 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29267 __lseek64 directly.
29268 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29269 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29270 __fxstat64 directly.
29271 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29272 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29274 (freopen64) [!_G_OPEN64]: Remove conditional code.
29275 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29277 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29278 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29280 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29281 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29283 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29284 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29286 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29287 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29289 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29290 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29292 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29293 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29295 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29297 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29300 * manual/memory.texi (Malloc Tunable Parameters): Add note
29301 about free list pointers overwriting some perturb bytes.
29302 Wording suggested by Roland McGrath.
29304 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29306 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29307 (lgamma_test): Likewise.
29308 (tgamma_test): Likewise.
29310 2012-10-16 Florian Weimer <fweimer@redhat.com>
29313 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29314 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29316 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29318 * NEWS: Mention BZ #14716.
29319 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29320 when removing AVAILABLE1_USES_J macro.
29322 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29325 (__bswap_64): __uint64_t for unsigned 64-bit int.
29327 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29329 * include/string.h (memmem): Declare libc hidden alias.
29330 * string/memmem.c (memmem): Define libc hidden alias.
29331 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29332 __read, __close instead of open, read, close.
29334 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29337 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29339 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29340 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29341 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29343 (__rawmemchr_sse2): Likewise.
29344 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29345 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29346 (__strchr_sse2): Likewise.
29347 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29348 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29349 (__strcasecmp_sse2): Likewise.
29350 (__strncasecmp_sse2): Likewise.
29351 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29352 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29353 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29354 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29355 (__strrchr_sse2): Likewise.
29356 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29358 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29359 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29360 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29361 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29362 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29363 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29364 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29365 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29366 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29367 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29368 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29369 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29370 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29371 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29372 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29373 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29374 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29375 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29376 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29377 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29378 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29379 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29380 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29381 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29382 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29384 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29385 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29386 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29387 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29391 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29392 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29393 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29394 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29396 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29398 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29399 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29400 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29401 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29404 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29405 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29406 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29407 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29408 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29409 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29410 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29411 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29412 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29413 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29414 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29415 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29416 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29417 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29418 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29420 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29421 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29422 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29424 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29425 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29426 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29428 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29429 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29430 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29431 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29432 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29433 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29434 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29435 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29436 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29437 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29438 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29439 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29440 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29441 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29442 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29443 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29445 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29446 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29447 * include/ifunc-impl-list.h: New file.
29448 * misc/ifunc-impl-list.c: Likewise.
29449 * misc/Makefile (routines): Add ifunc-impl-list.
29450 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29451 * string/test-string.h: Include <ifunc-impl-list.h>.
29452 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29453 TEST_NAME]: New variables.
29454 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29456 (test_init): Call __libc_ifunc_impl_list to initialize
29457 func_list if TEST_IFUNC and TEST_NAME are defined.
29459 * string/Makefile (strop-tests): Add bcopy and bzero.
29460 * string/test-bcopy.c: New file.
29461 * string/test-bzero.c: Likewise.
29462 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29464 * string/test-memset.c: Support bzero test if TEST_BZERO is
29466 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29468 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29470 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29473 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29475 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29476 * configure: Regenerated.
29478 * Makeconfig (+link-static-before-libc): Don't include
29479 $(link-static-libc).
29481 * libio/libio.h (_IO_pos_t): Remove.
29483 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29485 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29488 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29490 * crypt/crypt-entry.c: Include fips-private.h.
29491 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29492 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29493 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29494 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29496 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29498 * crypt/crypt-private.h: Include stdbool.h.
29499 (_ufc_setup_salt_r): Return bool.
29500 * crypt/crypt-entry.c: Include errno.h.
29501 (__crypt_r): Return NULL with EINVAL for bad salt.
29502 * crypt/crypt_util.c (bad_for_salt): New.
29503 (_ufc_setup_salt_r): Check that salt is long enough and within
29504 the specified alphabet.
29505 * crypt/badsalttest.c: New file.
29506 * crypt/Makefile (tests): Add it.
29507 ($(objpfx)badsalttest): New.
29509 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29511 * NEWS: Add entry for BZ #14602.
29513 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29515 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29517 * math/libm-test.inc: Update comment listing what functions and
29519 (isgreater_test): New function.
29520 (isgreaterequal_test): Likewise.
29521 (isless_test): Likewise.
29522 (islessequal_test): Likewise.
29523 (islessgreater_test): Likewise.
29524 (isunordered_test): Likewise.
29525 (main): Call the new functions.
29527 2012-10-09 Roland McGrath <roland@hack.frob.com>
29529 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29530 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29531 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29532 * sysdeps/i386/configure: Regenerated.
29533 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29534 * sysdeps/mach/configure: Regenerated.
29535 * sysdeps/mach/hurd/configure: Regenerated.
29536 * sysdeps/powerpc/configure: Regenerated.
29537 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29538 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29539 * sysdeps/s390/s390-32/configure: Regenerated.
29540 * sysdeps/s390/s390-64/configure: Regenerated.
29541 * sysdeps/sh/configure: Regenerated.
29542 * sysdeps/sparc/configure: Regenerated.
29543 * sysdeps/unix/sysv/linux/configure: Regenerated.
29544 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29545 * sysdeps/x86_64/configure: Regenerated.
29547 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29548 defined. Don't check if MAP is NULL.
29550 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29552 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29553 (_G_stat64): Likewise.
29554 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29555 (_G_stat64): Likewise.
29556 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29557 instead of struct _G_stat64.
29558 * libio/fileops.c (mmap_remap_check): Likewise.
29559 (decide_maybe_mmap): Likewise.
29560 (_IO_new_file_seekoff): Likewise.
29561 (_IO_file_stat): Likewise.
29562 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29564 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29565 instead of struct _G_stat64.
29566 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29568 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29571 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29573 (CHECK_EOL): New macro.
29574 (two_way_short_needle): Check beginning of haystack for EOL. Use
29576 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29577 Replace with CHECK_EOL.
29578 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29579 Replace with CHECK_EOL.
29581 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29583 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29585 * math/libm-test.inc: Update comment listing what functions and
29587 (finite_test): New function.
29588 (isinf_test): Likewise.
29589 (isnan_test): Likewise.
29590 (fpclassify_test): Test subnormal input.
29591 (isfinite_test): Likewise.
29592 (isnormal_test): Likewise.
29593 (main): Call the new functions.
29595 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29598 * Makerules (%.dynsym): Force C locale when running
29599 $(OBJDUMP) --dynamic-syms.
29601 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29603 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29606 2012-10-06 David S. Miller <davem@davemloft.net>
29608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29609 upper 32-bits of the length value in %o2 since we use branch-on-register
29610 tests which consider the entire 64-bit register.
29612 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29614 * string/test-strstr.c (check2): Add a test for page boundary.
29616 2012-10-05 David S. Miller <davem@davemloft.net>
29618 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29621 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29623 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29624 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29625 and bzero when HWCAP_SPARC_CRYPTO is present.
29627 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29630 * string/test-strstr.c (check2): New function.
29631 (test_main): Call check2.
29633 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29635 * string/bug-strcasestr1.c (do_test): Moved to ...
29636 * string/test-strcasestr.c (check1): Here. New function.
29637 (do_one_test): Break out result checking code into ...
29638 (check_result): This. New function.
29639 (do_one_test): Call check_result.
29640 (test_main): Call check1.
29641 * string/bug-strchr1.c (do_test): Moved to ...
29642 * string/test-strchr.c (check1): Here. New function.
29643 (do_one_test): Break out result checking code into ...
29644 (check_result): This. New function.
29645 (do_one_test): Call check_result.
29646 (test_main): Call check1.
29647 * string/bug-strstr1.c (main): Moved to ...
29648 * string/test-strstr.c (check1): Here. New function.
29649 (do_one_test): Break out result checking code into ...
29650 (check_result): This. New function.
29651 (do_one_test): Call check_result.
29652 (test_main): Call check1.
29653 * string/bug-strcasestr1.c: Removed.
29654 * string/bug-strchr1.c: Likewise.
29655 * string/bug-strstr1.c: Likewise.
29657 * elf/Makefile (dl-routines): Add hwcaps.
29658 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29659 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29660 (_dl_important_hwcaps): Moved to ...
29661 * elf/dl-hwcaps.c: Here. New file.
29662 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29665 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29666 if IS_IN_rtld isn't defined.
29668 * elf/dl-support.c (_dl_sysinfo_map): New.
29669 Include "get-dynamic-info.h" and "setup-vdso.h".
29670 (_dl_non_dynamic_init): Call setup_vdso.
29671 * elf/dynamic-link.h: Don't include <assert.h>.
29672 (elf_get_dynamic_info): Moved to ...
29673 * elf/get-dynamic-info.h: Here. New file.
29674 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29675 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29676 * elf/setup-vdso.h: Here. New file.
29677 * elf/rtld.c: Include "setup-vdso.h".
29678 (dl_main): Call setup_vdso.
29680 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29682 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29683 creal in comment listing functions tested. List finite, isinf,
29684 isnan, isless, islessequal, isgreater, isgreaterequal,
29685 islessgreater, isunordered, lgamma_r and pow10 as functions and
29686 macros not tested. Mention which functions not tested are aliases
29687 for other functions. Fix typo. Note that signs of NaNs are not
29690 * scripts/config.guess: Update from config.git.
29691 * scripts/config.sub: Likewise.
29693 2012-10-04 Roland McGrath <roland@hack.frob.com>
29695 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29696 * misc/madvise.c (madvise): Renamed to __madvise.
29697 Make madvise a weak alias.
29698 * include/sys/mman.h: Declare __madvise.
29699 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29700 * sysdeps/unix/syscalls.list
29701 (madvise): Make __madvise the strong name, and madvise a weak alias.
29702 * sysdeps/unix/sysv/linux/syscalls.list
29703 (madvise, mmap): Remove redundant entries.
29704 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29705 * malloc/malloc.c (mtrim): Likewise.
29706 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29708 2012-10-03 Roland McGrath <roland@hack.frob.com>
29710 * sysdeps/mach/hurd/dl-cache.c: File removed.
29711 * config.h.in (USE_LDCONFIG): New #undef.
29712 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29713 * configure: Regenerated.
29714 * elf/Makefile (dl-routines): Add dl-cache only under
29715 [$(use-ldconfig) = yes].
29716 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29717 cache on [USE_LDCONFIG].
29718 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29720 * elf/rtld.c (dl_main): Likewise.
29722 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29724 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29725 _SC_LEVEL4_CACHE_LINESIZE.
29727 2012-10-03 Roland McGrath <roland@hack.frob.com>
29729 * sysdeps/unix/bsd/confstr.h: File removed.
29731 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29733 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29736 2012-10-02 Roland McGrath <roland@hack.frob.com>
29738 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29739 Make 'mapoff' field ElfW(Off) rather than off_t.
29741 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29743 * nscd/Makefile: Remove nscd-cflags and all its users.
29744 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29745 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29748 * malloc.c (malloc_printerr): Clarify error message.
29750 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29754 Set bit_FMA_Usable if FMA is supported.
29755 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29757 (bit_FMA4_Usable): Updated.
29758 (index_FMA_Usable): New macro.
29759 (CPUID_FMA): Likewise
29760 (HAS_FMA): Defined with bit_FMA_Usable.
29762 2012-10-01 Roland McGrath <roland@hack.frob.com>
29764 * bits/types.h (__swblk_t): Type removed.
29765 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29766 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29768 (__SWBLK_T_TYPE): Likewise.
29769 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29770 (__SWBLK_T_TYPE): Likewise.
29771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29772 (__SWBLK_T_TYPE): Likewise.
29773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29774 (__SWBLK_T_TYPE): Likewise.
29776 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29777 Honza Horak <hhorak@redhat.com>
29779 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29780 (xdr_mapname): Use YPMAXMAP as maxsize.
29781 (xdr_peername): Use YPMAXPEER as maxsize.
29782 (xdr_keydat): Use YPAXRECORD as maxsize.
29783 (xdr_valdat): Use YPMAXRECORD as maxsize.
29785 2012-10-01 Roland McGrath <roland@hack.frob.com>
29787 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29789 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29790 * csu/init-first.c: ... here.
29791 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29792 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29793 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29794 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29795 * sysdeps/i386/init-first.c: File removed.
29796 * sysdeps/sh/init-first.c: File removed.
29798 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29802 if x * y might underflow to zero and z is zero.
29803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29805 * math/libm-test.inc (min_subnorm_value): New variable.
29806 (fma_test): Add more tests.
29807 (fma_test_towardzero): Likewise.
29808 (fma_test_downward): Likewise
29809 (fma_test_upward): Likewise.
29810 (initialize): Set min_subnorm_value.
29812 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29818 mode for addition resulting in exact zero.
29819 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29824 * math/libm-test.inc (fma_test): Add more tests.
29825 (fma_test_towardzero): New function.
29826 (fma_test_downward): Likewise.
29827 (fma_test_upward): Likewise.
29828 (main): Call the new functions.
29830 2012-09-28 David S. Miller <davem@davemloft.net>
29832 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29834 2012-09-28 Roland McGrath <roland@hack.frob.com>
29836 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29837 instead of SIGALRM.
29839 * sysdeps/gnu/_G_config.h: Moved to ...
29840 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29841 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29842 * sysdeps/generic/_G_config.h: ... here.
29844 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29846 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29848 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29849 Conditionalize target on [libnss_test1.so-version].
29851 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29853 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29854 (elfobjdir): Move out of conditionals.
29856 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29857 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29858 (__nss_lookup_function): Conditionalize label remove_from_tree on
29859 [!DO_STATIC_NSS || SHARED], matching its only use.
29861 2012-09-28 David S. Miller <davem@davemloft.net>
29863 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29864 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29866 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29870 when HWCAP_SPARC_CRYPTO is present.
29872 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29874 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29876 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29879 * stdio-common/vfprintf.c (process_string_arg): Revert
29882 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29884 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29886 * stdio-common/tst-sprintf.c: Include <locale.h>
29887 (main): Test sprintf's handling of incomplete multibyte
29890 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29892 * elf/dl-runtime.c (VERSYMIDX): Removed.
29893 * elf/dl-version.c (VERSYMIDX): Likewise.
29894 * elf/do-rel.h (VERSYMIDX): Likewise.
29895 (VALIDX): Likewise.
29896 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29897 * elf/rtld.c (VALIDX): Likewise.
29898 (ADDRIDX): Likewise.
29899 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29900 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29901 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29902 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29903 (VALIDX): Likewise.
29904 (ADDRIDX): Likewise.
29906 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29908 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29910 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29913 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29915 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29916 addresses are in the same scope as 192.0.2/24.
29917 * posix/gai.conf: Document new scope table defaults.
29919 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29922 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29923 for ftell. Compute offsets from write pointers instead.
29924 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29926 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29929 * libio/Makefile (tests): New test case tst-fseek.
29930 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29931 combination works in wide mode.
29932 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29933 state when the external buffer state changes.
29935 2012-09-27 David S. Miller <davem@davemloft.net>
29938 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29939 pass reloc->r_addend in as the 'high' argument to
29940 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29944 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29946 * rt/tst-aio2.c: Include <pthread.h>.
29947 * rt/tst-aio3.c: Likewise.
29949 2012-09-27 Steve Ellcey <sellcey@mips.com>
29951 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29953 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29955 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29956 contents on [SHARED].
29958 2012-09-26 Marek Polacek <polacek@redhat.com>
29962 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29963 for C++ and GCC <4.3 as well as for non GCC compilers.
29965 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29969 2012-09-25 Roland McGrath <roland@hack.frob.com>
29971 * Makefile.in (all, install): Declare with .PHONY.
29972 Reported by Michael Hope <michael.hope@linaro.org>.
29974 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29976 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29977 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29979 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29981 (sydep_routines): Add the new and the internal functions.
29982 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29983 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29985 (GLIBC_2.17): Add the new function.
29986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29987 (GLIBC_2.17): Likewise.
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29989 (GLIBC_2.17): Likewise.
29990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29991 (GLIBC_2.17): Likewise.
29992 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29994 2012-09-25 Alan Modra <amodra@gmail.com>
29996 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29997 Add release barrier before setting once_control to say
29998 initialisation is done. Add hints on lwarx. Use macro in
30000 (clear_once_control): Add release barrier.
30002 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30005 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30007 * math/s_clog10.c (__clog10): Likewise.
30008 * math/s_clog10f.c (__clog10f): Likewise.
30009 * math/s_clog10l.c (__clog10l): Likewise.
30010 * math/s_clogf.c (__clogf): Likewise.
30011 * math/s_clogl.c (__clogl): Likewise.
30012 * math/Makefile (libm-calls): Add x2y2m1.
30013 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30014 (__x2y2m1): Likewise.
30015 (__x2y2m1l): Likewise.
30016 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30017 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30020 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30021 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30022 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30023 * sysdeps/i386/fpu/libm-test-ulps: Update.
30024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30027 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30028 int as type of variable DEPTH.
30029 (glob): Use size_t instead of int as type of variables NEWCOUNT
30032 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30034 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30035 Add s_sincosf-sse2.
30036 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30037 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30038 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30039 macros for using routine as __sincosf_ia32.
30040 Use macro for function declaration and weak_alias.
30041 * sysdeps/i386/fpu/libm-test-ulps: Update.
30043 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30046 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30047 subnormal argument.
30048 * math/s_cexpf.c (__cexpf): Likewise.
30049 * math/s_csinf.c (__csinf): Likewise.
30050 * math/s_csinhf.c (__csinhf): Likewise.
30051 * math/s_ctanf.c (__ctanf): Likewise.
30052 * math/s_ctanhf.c (__ctanhf): Likewise.
30053 * math/s_ccosh.c (__ccoshf): Likewise.
30054 * math/s_cexp.c (__cexpl): Likewise.
30055 * math/s_csin.c (__csin): Likewise.
30056 * math/s_csinh.c (__csinh): Likewise.
30057 * math/s_ctan.c (__ctan): Likewise.
30058 * math/s_ctanh.c (ctanh): Likewise.
30059 * math/s_ccoshl.c (__ccoshl): Likewise.
30060 * math/s_cexpl.c (__cexpl): Likewise.
30061 * math/s_csinl.c (__csinl): Likewise.
30062 * math/s_csinhl.c (__csinhl): Likewise.
30063 * math/s_ctanl.c (__ctanl): Likewise.
30064 * math/s_ctanhl.c (__ctanhl): Likewise.
30066 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30068 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30069 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30070 (_IO_off_t): Define to __off_t, not _G_off_t.
30071 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30072 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30073 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30074 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30075 type of __dummy and __dummy2 fields.
30076 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30077 (_G_ssize_t): Likewise.
30078 (_G_off_t): Likewise.
30079 (_G_pid_t): Likewise.
30080 (_G_uid_t): Likewise.
30081 (_G_wchar_t): Likewise.
30082 (_G_wint_t): Likewise.
30083 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30084 (_G_ssize_t): Likewise.
30085 (_G_off_t): Likewise.
30086 (_G_pid_t): Likewise.
30087 (_G_uid_t): Likewise.
30088 (_G_wchar_t): Likewise.
30089 (_G_wint_t): Likewise.
30090 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30091 (_G_ssize_t): Likewise.
30092 (_G_off_t): Likewise.
30093 (_G_pid_t): Likewise.
30094 (_G_uid_t): Likewise.
30095 (_G_wchar_t): Likewise.
30096 (_G_wint_t): Likewise.
30098 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30100 * malloc/arena.c: Include malloc-sysdep.h.
30101 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30102 is sufficient to shrink the heap or an unmap is needed.
30103 * sysdeps/generic/malloc-sysdep.h: New file. Define
30104 new function check_may_shrink_heap.
30105 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30106 new function check_may_shrink_heap.
30108 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30110 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30113 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30115 * catgets/test-gencat.sh: Add "set -e".
30116 * elf/tst-pathopt.sh: Likewise.
30117 * grp/tst_fgetgrent.sh: Likewise.
30118 * iconvdata/run-iconv-test.sh: Likewise.
30119 * intl/tst-gettext.sh: Likewise.
30120 * intl/tst-gettext2.sh: Likewise.
30121 * intl/tst-gettext4.sh: Likewise.
30122 * intl/tst-gettext6.sh: Likewise.
30123 * intl/tst-translit.sh: Likewise.
30124 * io/ftwtest-sh: Likewise.
30125 * libio/test-freopen.sh: Likewise.
30126 * malloc/tst-mtrace.sh: Likewise.
30127 * posix/globtest.sh: Likewise.
30128 * posix/tst-getconf.sh: Likewise.
30129 * posix/wordexp-tst.sh: Likewise.
30130 * stdio-common/tst-printf.sh: Likewise.
30131 * stdio-common/tst-unbputc.sh: Likewise.
30132 * stdlib/tst-fmtmsg.sh: Likewise.
30133 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30134 * catgets/Makefile: Do not specify -e option when running
30135 testsuite shell scripts.
30136 * elf/Makefile: Likewise.
30137 * grp/Makefile: Likewise.
30138 * iconvdata/Makefile: Likewise.
30139 * intl/Makefile: Likewise.
30140 * io/Makefile: Likewise.
30141 * libio/Makefile: Likewise.
30142 * malloc/Makefile: Likewise.
30143 * posix/Makefile: Likewise.
30144 * stdio-common/Makefile: Likewise.
30145 * stdlib/Makefile: Likewise.
30146 * sysdeps/x86_64/Makefile: Likewise.
30148 * io/ftwtest-sh: Add copyright header.
30149 * posix/globtest.sh: Likewise.
30150 * posix/tst-getconf.sh: Likewise.
30151 * posix/wordexp-tst.sh: Likewise.
30152 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30154 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30157 * Makeconfig (+link): Defined as $(+link-static) if
30158 $(build-shared) isn't yes.
30159 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30161 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30163 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30166 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30167 new chunk size with MALLOC_ALIGN_MASK.
30169 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30172 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30174 (__printf_fphex): Determine rounding using get_rounding_mode and
30176 * stdio-common/tst-printf-round.c (struct hex_test): New
30178 (hex_tests): New variable.
30179 (test_hex_in_one_mode): New function.
30180 (do_test): Also run tests for hex float output.
30182 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30184 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30185 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30186 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30187 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30188 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30189 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30190 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30191 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30193 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30195 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30196 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30197 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30198 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30200 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30203 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30205 * elf/tst-rtld-load-self.sh: New test.
30206 * elf/Makefile: Run it.
30208 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30210 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30211 (tst-writev-ENV): Remove.
30212 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30214 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30216 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30218 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30220 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30222 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30224 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30225 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30226 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30229 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30232 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30233 * config.make.in (have-cpp-asm-debuginfo): Removed.
30234 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30235 * configure: Regenerated.
30237 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30240 * stdio-common/printf_fp.c: Include <stdbool.h> and
30242 (___printf_fp): Determine rounding using get_rounding_mode and
30244 * stdio-common/tst-printf-round.c: New file.
30245 * stdio-common/Makefile (tests): Add tst-printf-round.
30246 (link-libm): New variable.
30247 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30249 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30252 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30253 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30255 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30258 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30260 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30261 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30262 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30263 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30265 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30268 * include/rounding-mode.h: New file.
30269 * sysdeps/generic/get-rounding-mode.h: Likewise.
30270 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30271 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30272 (MAX_VALUE): New macro.
30273 (MIN_VALUE): Likewise.
30274 (overflow_value): New function.
30275 (underflow_value): Likewise.
30276 (round_and_return): Use overflow_value and underflow_value to
30277 determine return values in overflow and underflow cases. Use
30278 round_away to determine rounding depending on rounding mode.
30279 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30280 determine return values in overflow and underflow cases.
30281 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30282 (struct test_results): New structure.
30283 (struct test): Use struct test_results to store expected results
30284 for all rounding modes.
30285 (TEST): Include expected results for all rounding modes.
30286 (test_in_one_mode): New function.
30287 (do_test): Use test_in_one_mode to compute and check results.
30288 Check results for all rounding modes.
30289 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30292 2012-12-09 Allan McRae <allan@archlinux.org>
30294 * sysdeps/i386/fpu/libm-test-ulps: Update
30296 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30298 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30299 (_G_int32_t): Likewise.
30300 (_G_uint16_t): Likewise.
30301 (_G_uint32_t): Likewise.
30302 (_G_HAVE_BOOL): Likewise.
30303 (_G_HAVE_ATEXIT): Likewise.
30304 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30305 (_G_HAVE_IO_FILE_OPEN): Likewise.
30306 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30307 (_G_int32_t): Likewise.
30308 (_G_uint16_t): Likewise.
30309 (_G_uint32_t): Likewise.
30310 (_G_HAVE_BOOL): Likewise.
30311 (_G_HAVE_ATEXIT): Likewise.
30312 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30313 (_G_HAVE_IO_FILE_OPEN): Likewise.
30314 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30315 (_G_int32_t): Likewise.
30316 (_G_uint16_t): Likewise.
30317 (_G_uint32_t): Likewise.
30318 (_G_HAVE_BOOL): Likewise.
30319 (_G_HAVE_ATEXIT): Likewise.
30320 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30321 (_G_HAVE_IO_FILE_OPEN): Likewise.
30323 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30325 * csu/libc-tls.c: Update copyright years.
30327 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30329 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30330 [!_G_USING_THUNKS]: Remove conditional code.
30331 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30332 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30334 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30335 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30336 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30337 (_G_VTABLE_LABEL_PREFIX): Likewise.
30338 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30339 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30340 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30341 (_G_VTABLE_LABEL_PREFIX): Likewise.
30342 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30343 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30345 (_G_VTABLE_LABEL_PREFIX): Likewise.
30346 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30348 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30350 * libio/Makefile: Include ../Makeconfig before tests.
30351 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30352 only if $(build-shared) is yes.
30354 * iconv/gconv_db.c: Update copyright years.
30356 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30358 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30359 unwind info if defined PIC. Fix special cases description.
30360 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30362 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30364 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30366 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30368 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30370 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30373 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30374 (LDLIBS-tst-chk4): This.
30375 (LDFLAGS-tst-chk5): Renamed to ...
30376 (LDLIBS-tst-chk5): This.
30377 (LDFLAGS-tst-chk6): Renamed to ...
30378 (LDLIBS-tst-chk6): This.
30379 (LDFLAGS-tst-lfschk4): Renamed to ...
30380 (LDLIBS-tst-lfschk4): This.
30381 (LDFLAGS-tst-lfschk5): Renamed to ...
30382 (LDLIBS-tst-lfschk5): This.
30383 (LDFLAGS-tst-lfschk6): Renamed to ...
30384 (LDLIBS-tst-lfschk6): This.
30386 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30387 on $(common-objpfx)soversions.mk.
30389 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30392 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30395 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30397 * malloc/arena.c (arena_get_retry): New function that gets
30398 another arena for the caller to try its request on.
30399 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30400 current arena cannot fulfill the request.
30401 (__libc_memalign): Likewise.
30402 (__libc_memalign): Likewise.
30403 (__libc_pvalloc): Likewise.
30404 (__libc_calloc): Likewise.
30406 2012-09-05 John Tobey <john.tobey@gmail.com>
30409 * manual/arith.texi (Operations on Complex): Fix description
30410 of carg branch cut.
30412 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30415 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30419 * manual/memory.texi (Memory): Make order of menu items match
30422 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30424 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30425 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30426 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30428 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30430 * csu/libc-tls.c (static_dtv): Renamed to ...
30431 (_dl_static_dtv): This. Make it global.
30432 (_dl_initial_dtv): Removed.
30433 (__libc_setup_tls): Updated.
30434 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30435 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30438 2012-09-06 Petr Machata <pmachata@redhat.com>
30440 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30441 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30442 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30443 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30445 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30448 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30449 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30452 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30455 * Makeconfig (link-static-before-libc): Replace $(+prector)
30457 (link-static-after-libc): Replace $(+postctor) with
30459 (link-bounded): Replace $(+prector)/$(+postctor) with
30460 $(+prectorT)/$(+postctorT).
30461 (+prectorT): New macro.
30462 (+postctorT): Likewise.
30464 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30466 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30467 (round_str): Handle values above the maximum for IBM long double
30469 * stdlib/tst-strtod-round.c (tests): Regenerated.
30471 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30473 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30475 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30476 zarch_nohighgprs around the zarch optimized routines.
30477 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30478 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30479 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30482 2012-09-05 David S. Miller <davem@davemloft.net>
30484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30486 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30487 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30488 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30489 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30492 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30494 * malloc/arena.c: Fold copyright years.
30495 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30497 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30499 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30501 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30503 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30505 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30507 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30508 change internal state upon failure.
30510 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30512 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30513 * malloc/memusage.c (mmap): Likewise.
30514 (mmap64, mremap): Likewise. Adjust name in comment.
30516 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30518 * libio/fileops.c: Fix typos in comments.
30519 * libio/oldfileops.c: Likewise.
30520 * libio/wfileops.c: Likewise.
30522 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30525 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30526 (tst-malloc-usable-ENV): Set environment for test case.
30527 * malloc/hooks.c (malloc_check_get_size): New function to get
30529 * malloc/malloc.c (musable): Use malloc_check_get_size.
30530 * malloc/tst-malloc-usable.c: New test case.
30532 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30534 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30536 2012-09-05 Allan McRae <allan@archlinux.org>
30539 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30540 determine header location.
30541 * configure: Regenerated.
30543 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30545 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30547 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30548 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30550 (test): Regenerate.
30552 2012-09-04 David S. Miller <davem@davemloft.net>
30554 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30555 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30556 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30558 2012-09-04 Florian Weimer <fweimer@redhat.com>
30560 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30563 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30565 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30568 * libio/iogetdelim.c: Include <limits.h>.
30569 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30570 + len + 1 would overflow.
30572 2012-09-03 Andreas Jaeger <aj@suse.de>
30574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30575 * sysdeps/i386/fpu/libm-test-ulps: Update.
30577 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30579 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30580 Add s_sinf-sse2, s_conf-sse2.
30582 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30583 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30584 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30585 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30587 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30588 for using routine as __sinf_ia32.
30589 Use macro for function declaration and weak_alias.
30590 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30591 for using routine as __cosf_ia32.
30592 Use macro for function declaration and weak_alias.
30594 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30595 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30597 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30598 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30601 * math/libm-test.inc (cos_test): Add more test cases.
30602 (sin_test): Likewise.
30603 (sincos_test): Likewise.
30605 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30607 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30608 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30610 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30612 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30615 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30616 first element of the GOT.
30617 (elf_machine_load_address): Return the difference between
30618 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30620 2012-09-01 Allan McRae <allan@archlinux.org>
30623 * configure.in (AWK): Require gawk version 3.0 or later.
30624 * configure: Regenerated.
30626 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30628 * sysdeps/unix/sysv/linux/kernel-features.h
30629 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30630 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30631 [__NR_clock_getres]: Make code unconditional.
30632 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30633 (clock_getcpuclockid): Remove code left unreachable by removal of
30635 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30636 code unconditional.
30637 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30638 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30639 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30640 Make code unconditional.
30641 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30643 * sysdeps/unix/sysv/linux/clock_settime.c
30644 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30646 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30647 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30649 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30652 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30653 scripts/test-installation.pl.
30655 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30656 and $ld_so_version if it is set.
30658 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30661 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30662 failure if reading from procfs failed.
30663 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30665 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30667 * sysdeps/unix/sysv/linux/kernel-features.h
30668 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30669 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30670 Remove conditional code.
30671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30672 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30673 Remove conditional code.
30674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30675 * sysdeps/unix/sysv/linux/i386/fxstat.c
30676 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30678 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30679 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30681 * sysdeps/unix/sysv/linux/i386/lxstat.c
30682 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30684 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30685 Remove conditional code.
30686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30687 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30688 Remove conditional code.
30689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30690 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30691 <kernel-features.h>.
30692 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30694 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30695 Remove conditional code.
30696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30697 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30698 Remove conditional.
30700 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30703 * NEWS: Add fixed bug number.
30705 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30708 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30709 underflowing exponent in case of negative sign.
30710 * stdlib/tst-strtod-round-data: Add more tests.
30711 * stdlib/tst-strtod-round.c (tests): Regenerated.
30714 * stdlib/strtod_l.c (NDIG): Remove.
30715 (HEXNDIG): Likewise.
30716 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30717 smallest representable value.
30718 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30719 lie within an exact representation of 1/2 ulp of the result.
30720 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30722 (TENS_P9_IDX): Define unconditionally.
30723 (TENS_P9_SIZE): Likewise.
30724 (TENS_P10_IDX): Likewise.
30725 (TENS_P10_SIZE): Likewise.
30726 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30727 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30728 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30729 entries for 10^2^13 and 10^2^14.
30730 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30731 (TENS_P13_IDX): Define.
30732 (TENS_P13_SIZE): Likewise.
30733 (TENS_P14_IDX): Likewise.
30734 (TENS_P14_SIZE): Likewise.
30735 (_fpioconst_pow10): Change array size to
30736 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30738 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30739 1024]: Add entries for 10^2^13 and 10^2^14.
30740 [LAST_POW10 > _LAST_POW10]: Remove #error.
30741 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30742 (_fpioconst_pow10): Change array size to
30743 FPIOCONST_POW10_ARRAY_SIZE.
30744 * stdlib/gen-fpioconst.c: New file.
30745 * stdlib/gen-tst-strtod-round.c: Likewise.
30746 * stdlib/tst-strtod-round-data: Likewise.
30747 * stdlib/tst-strtod-round.c: Likewise.
30748 * stdlib/Makefile (tests): Add tst-strtod-round.
30751 * stdlib/strtod_l.c: Include <stdint.h>.
30752 (NDEBUG): Do not define.
30753 (round_and_return): Change EXPONENT parameter to type intmax_t.
30754 Rearrange calculations to avoid internal overflow possibilities.
30755 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30756 Rearrange calculations to avoid internal overflow possibilities.
30757 Assert that number fits inside MPNSIZE limbs.
30758 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30759 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30760 calculations and add assertions to avoid internal overflow
30761 possibilities. Add casts to avoid signed/unsigned operations.
30762 * stdlib/tst-strtod-overflow.c: New file.
30763 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30765 2012-08-25 Marek Polacek <polacek@redhat.com>
30767 * time/time.h: Fix some typos in comments.
30769 2012-08-23 Roland McGrath <roland@hack.frob.com>
30771 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30772 * posix/tst-rfc3484-2.c: Likewise.
30773 * posix/tst-rfc3484-3.c: Likewise.
30775 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30777 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30778 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30780 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30782 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30783 #include of fxstatat64.c.
30785 2012-08-22 Roland McGrath <roland@hack.frob.com>
30787 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30788 * shadow/getspent_r.c: Likewise.
30789 * shadow/getspnam.c: Likewise.
30790 * shadow/getspnam_r.c: Likewise.
30791 * gshadow/getsgent.c: Likewise.
30792 * gshadow/getsgent_r.c: Likewise.
30793 * gshadow/getsgnam.c: Likewise.
30794 * gshadow/getsgnam_r.c: Likewise.
30795 * inet/getnetbyad.c: Likewise.
30796 * inet/getnetbyad_r.c: Likewise.
30797 * inet/getnetbynm.c: Likewise.
30798 * inet/getnetbynm_r.c: Likewise.
30799 * inet/getnetent.c: Likewise.
30800 * inet/getnetent_r.c: Likewise.
30801 * inet/getproto.c: Likewise.
30802 * inet/getproto_r.c: Likewise.
30803 * inet/getprtent.c: Likewise.
30804 * inet/getprtent_r.c: Likewise.
30805 * inet/getprtname.c: Likewise.
30806 * inet/getprtname_r.c: Likewise.
30807 * inet/getrpcbyname.c: Likewise.
30808 * inet/getrpcbyname_r.c: Likewise.
30809 * inet/getrpcbynumber.c: Likewise.
30810 * inet/getrpcbynumber_r.c: Likewise.
30811 * inet/getrpcent.c: Likewise.
30812 * inet/getrpcent_r.c: Likewise.
30813 * inet/getaliasent.c: Likewise.
30814 * inet/getaliasent_r.c: Likewise.
30815 * inet/getaliasname.c: Likewise.
30816 * inet/getaliasname_r.c: Likewise.
30817 * nscd/getgrgid_r.c: Likewise.
30818 * nscd/getgrnam_r.c: Likewise.
30819 * nscd/gethstbyad_r.c: Likewise.
30820 * nscd/gethstbynm3_r.c: Likewise.
30821 * nscd/getpwnam_r.c: Likewise.
30822 * nscd/getpwuid_r.c: Likewise.
30823 * nscd/getsrvbynm_r.c: Likewise.
30824 * nscd/getsrvbypt_r.c: Likewise.
30825 * nscd/gai.c: Likewise.
30827 * configure.in (build_nscd): New substituted variable, set
30828 by --disable-build-nscd and defaults to $use_nscd.
30829 * configure: Regenerated.
30830 * config.make.in (build-nscd): New substituted variable.
30831 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30832 Change conditional to require [$(build-nscd) = yes] as well.
30833 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30836 * configure.in (use_nscd): New substituted variable, set by
30837 --disable-nscd. If enabled, define USE_NSCD.
30838 * configure: Regenerated.
30839 * config.h.in: Add USE_NSCD.
30840 * config.make.in (use-nscd): New substituted variable.
30841 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30842 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30843 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30844 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30845 (CFLAGS-getgrnam_r.c): Likewise.
30846 (CFLAGS-initgroups.c): Likewise.
30847 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30848 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30850 * inet/getnetgrent_r.c
30851 (nscd_setnetgrent): New function, broken out of ...
30852 (setnetgrent): ... here. Call it.
30853 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30854 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30855 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30856 * nscd/Makefile (routines, aux): Move definitions after include of
30857 Makeconfig. Conditionalize on [$(use-nscd) != no].
30858 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30859 Conditionalize on [USE_NSCD].
30860 (is_nscd, nscd_init_cb): Likewise.
30861 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30862 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30863 * nss/nss_db/db-init.c: Likewise.
30864 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30866 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30867 (make_request): Use it.
30868 (cache_valid_p): New function.
30869 (__check_pf): Use it.
30870 * NEWS: Add item for --disable-nscd.
30872 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30874 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30875 to support sed >= 4.2.1-20-ga9bf076.
30876 * configure: Regenerated.
30878 2012-08-22 Roland McGrath <roland@hack.frob.com>
30880 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30881 Conditionalize whole body on [IREL].
30883 2012-08-22 Jeff Law <law@redhat.com>
30886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30887 if the family is PF_UNSPEC.
30889 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30891 * Makerules (lib-version): Rename from V.
30892 (install-lib-nosubdir): Change V to lib-version.
30894 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30897 * powerpc32/power6/wcschr.c: New file.
30898 * powerpc32/power6/wcscpy.c: New file.
30899 * powerpc32/power6/wcsrchr.c: New file.
30900 * powerpc64/power6/wcschr.c: New file.
30901 * powerpc64/power6/wcscpy.c: New file.
30902 * powerpc64/power6/wcsrchr.c: New file.
30904 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30906 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30907 (two_way_short_needle): Use it.
30908 * string/strstr.c (AVAILABLE1_USES_J): Define.
30909 * string/strcasestr.c: Likewise.
30911 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30913 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30916 * NEWS: Add an entry.
30917 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30918 define their defaults.
30919 (two_way_short_needle): Detect end-of-string on-the-fly.
30920 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30921 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30922 * string/bug-strcasestr1.c: New test.
30923 * string/Makefile: Run it.
30925 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30928 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30929 the first character.
30931 2012-08-21 Roland McGrath <roland@hack.frob.com>
30933 * csu/elf-init.c (__libc_csu_irel): Function removed.
30934 * csu/libc-start.c (apply_irel): New function.
30935 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30937 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30939 * sysdeps/unix/sysv/linux/kernel-features.h
30940 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30941 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30942 <kernel-features.h>.
30943 [__NR_fadvise64_64]: Make code unconditional.
30944 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30945 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30946 !__NR_fadvise64_64)]: Likewise.
30947 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30948 !__NR_fadvise64_64))]: Likewise.
30949 [__NR_fadvise64]: Make code unconditional.
30950 [!__NR_fadvise64]: Remove conditional code.
30951 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30952 <kernel-features.h>.
30953 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30955 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30958 not include <kernel-features.h>.
30959 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30961 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30963 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30964 include <kernel-features.h>.
30965 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30967 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30970 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30972 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30973 slight instruction rearrangements per scrollpipe analysis.
30974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30976 2012-08-20 Roland McGrath <roland@hack.frob.com>
30978 * manual/syslog.texi (syslog; vsyslog, closelog):
30979 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30980 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30982 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30983 DSOCAPS to match condition on defining it.
30985 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30987 * sysdeps/unix/sysv/linux/kernel-features.h
30988 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30990 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30991 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30993 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30994 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30996 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30997 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30999 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31000 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31002 * sysdeps/unix/sysv/linux/kernel-features.h
31003 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31004 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31006 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31007 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31008 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31009 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31010 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31011 Make code unconditional.
31012 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31013 (__mmap64) [!__NR_mmap2]: Likewise.
31014 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31015 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31016 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31017 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31018 [__NR_mmap2]: Make code unconditional.
31019 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31020 (__mmap64) [!__NR_mmap2]: Likewise.
31022 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31024 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31026 2012-08-18 Andreas Jaeger <aj@suse.de>
31028 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31030 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31032 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31033 * include/unistd.h (__have_sock_cloexec): Likewise.
31034 (__have_pipe2): Likewise.
31035 (__have_dup3): Likewise.
31037 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31040 * include/unistd.h (__have_pipe2): Change define into an extern int.
31041 (__have_dup3): Likewise.
31042 * socket/have_sock_cloexec.c: Include fcntl.h.
31043 (__have_pipe2): New variable.
31044 (__have_dup3): Likewise.
31046 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31048 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31050 2012-08-17 Marek Polacek <polacek@redhat.com>
31052 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31053 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31055 2012-08-17 Roland McGrath <roland@hack.frob.com>
31057 * configure.in: Add AC_SUBST for sysheaders.
31058 * configure: Regenerated.
31059 * config.make.in (sysheaders): New substituted variable.
31061 * sysdeps/unix/mkfifo.c: Moved ...
31062 * sysdeps/posix/mkfifo.c: ... here.
31063 * sysdeps/unix/mkfifoat.c: Moved ...
31064 * sysdeps/posix/mkfifoat.c: ... here.
31066 * sysdeps/unix/utime.c: Moved ...
31067 * sysdeps/posix/utime.c: ... here.
31069 * sysdeps/unix/time.c: Moved ...
31070 * sysdeps/posix/time.c: ... here.
31071 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31072 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31074 * sysdeps/unix/nice.c: Moved ...
31075 * sysdeps/posix/nice.c: ... here.
31077 * sysdeps/unix/alarm.c: Moved ...
31078 * sysdeps/posix/alarm.c: ... here.
31080 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31082 2012-08-17 Jeff Law <law@redhat.com>
31084 * intl/Makefile (codeset_mo): New variable.
31085 ($(codeset_mo)): New target.
31086 (tst-codeset.out): Depend on that. Remove explicit rule.
31087 (tst-gettext3.out, tst-gettext5.out): Likewise.
31088 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31089 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31090 * intl/tst-codeset.sh: Remove.
31091 * intl/tst-gettext3.sh: Likewise.
31092 * intl/tst-gettext5.sh: Likewise.
31094 2012-08-17 Roland McGrath <roland@hack.frob.com>
31096 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31097 * sysdeps/unix/syscalls.list: ... here.
31099 * sysdeps/posix/getaddrinfo.c
31100 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31101 (gaiconf_init, gaiconf_reload): Use them.
31102 [!_STATBUF_ST_NSEC]
31103 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31104 Define using time_t rather than struct timespec.
31106 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31107 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31109 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31111 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31112 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31115 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31116 __libc_cleanup_push argument.
31118 * bits/param.h: New file.
31119 * misc/sys/param.h: New file.
31120 * include/sys/param.h: New file.
31121 * misc/Makefile (headers): Add bits/param.h.
31122 * sysdeps/generic/sys/param.h: File removed.
31123 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31124 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31125 * sysdeps/mach/hurd/bits/param.h: New file.
31126 * sysdeps/mach/hurd/sys/param.h: File removed.
31128 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31131 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31133 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31134 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31137 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31138 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31139 rather than -D_IO_MTSAFE_IO conditionally.
31140 * stdio-common/Makefile (CPPFLAGS): Likewise.
31141 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31142 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31143 Use $(libio-mtsafe).
31144 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31145 of -D_IO_MTSAFE_IO.
31146 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31147 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31148 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31149 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31150 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31151 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31152 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31153 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31154 (CFLAGS-fread_u_chk.c): Likewise.
31155 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31156 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31157 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31158 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31159 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31160 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31161 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31162 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31163 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31165 * libio/Makefile: Test [$(libc-reentrant) = yes]
31166 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31169 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31170 * sysdeps/pthread/configure: File removed.
31171 * sysdeps/pthread/Makeconfig: New file.
31172 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31173 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31175 2012-08-16 Gary Benson <gbenson@redhat.com>
31177 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31178 unmapping the first object in a namespace.
31180 2012-08-16 Roland McGrath <roland@hack.frob.com>
31182 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31183 (__internal_setnetgrent): ... this. Add internal_function to
31184 definition. Add libc_hidden_def.
31185 (setnetgrent): Update caller.
31186 (internal_endnetgrent): Renamed to ...
31187 (__internal_endnetgrent): ... this. Add internal_function to
31188 definition. Add libc_hidden_def.
31189 (endnetgrent): Update caller.
31190 (internal_getnetgrent_r): Renamed to ...
31191 (__internal_getnetgrent_r): ... this. Add internal_function to
31192 definition. Add libc_hidden_def.
31193 (__getnetgrent_r): Update caller.
31194 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31196 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31198 * stdlib/longlong.h: Update from GCC.
31200 2012-08-16 Roland McGrath <roland@hack.frob.com>
31202 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31203 on _QL, which is set by umul_ppmm but never used.
31204 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31205 variables, which are set by GMP macros but never used.
31206 * stdio-common/_itowa.c (_itowa): Likewise.
31207 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31208 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31210 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31212 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31213 struct La_sh_regs is not constant.
31214 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31215 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31216 and struct La_sparc64_regs are not constant.
31218 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/unix/sysv/linux/kernel-features.h
31221 (__ASSUME_POSIX_TIMERS): Remove.
31222 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31224 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31225 Make code unconditional.
31226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31227 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31228 Make code unconditional.
31229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31230 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31231 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31233 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31234 Make code unconditional.
31235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31236 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31237 (__libc_missing_posix_timers): Remove.
31239 2012-08-15 Roland McGrath <roland@hack.frob.com>
31241 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31242 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31244 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31246 * elf/dl-sym.c: Include <stdlib.h>.
31248 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31249 constants, which avoids warnings in 32-bit builds.
31251 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31252 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31254 * misc/lseek.c: File moved to ...
31255 * io/lseek.c: ... here.
31257 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31259 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31260 shifting LEN more than 31 bits at once.
31262 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31265 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31266 segmentation fault for a case of two empty input strings.
31267 * string/test-strncasecmp.c (check1): Renamed to...
31268 (bz12205): ...this.
31269 (bz14195): Add new testcase for two empty input strings and N > 0.
31270 (test_main): Call new testcase, adapt for renamed function.
31272 2012-08-15 Andreas Jaeger <aj@suse.de>
31275 * crypt/md5test2.c: New test, based on test supplied by Serge
31276 Belyshev <belyshev@depni.sinp.msu.ru>.
31277 * crypt/Makefile (xtests): Add md5test-giant..
31278 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31280 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31283 * crypt/md5.c (md5_process_block): Don't assume the buffer
31284 length is less than 2**32.
31285 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31286 length is less than 2**64.
31288 2012-08-15 Roland McGrath <roland@hack.frob.com>
31290 * string/str-two-way.h: Include <sys/param.h>.
31291 (MAX): Macro removed.
31293 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31294 Move #define and #undef of memmove to just before and after
31295 including <string.h>.
31297 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31298 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31299 and after including <string.h>. Move declarations of
31300 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31301 to before #include "string/memmove.c".
31303 * include/dirent.h: Declare __getdirentries.
31305 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31306 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31308 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31310 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31311 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31312 * sysdeps/i386/configure: Regenerated.
31313 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31314 STABS_CURRENT_FILE, and STABS_FUN.
31315 (END): Remove call to STABS_FUN_END.
31316 (STABS_CURRENT_FILE1): Delete.
31317 (STABS_CURRENT_FILE): Likewise.
31318 (STABS_FUN): Likewise.
31319 (STABS_FUN_END): Likewise.
31320 (STABS_FUN2): Likewise.
31321 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31322 * sysdeps/x86_64/configure: Regenerated.
31324 2012-08-14 Roland McGrath <roland@hack.frob.com>
31326 * elf/dl-open.c: Include <atomic.h>.
31327 * elf/dl-lookup.c: Likewise.
31329 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31331 * sysdeps/unix/sysv/linux/kernel-features.h
31332 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31333 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31335 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31337 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31338 condition on __ASSUME_CLONE_THREAD_FLAGS.
31340 2012-08-14 Andreas Jaeger <aj@suse.de>
31342 * sysdeps/i386/fpu/libm-test-ulps: Update.
31344 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31346 * include/atomic.h (atomic_exchange_and_add): Split into ...
31347 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31350 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31354 2012-08-13 Jeff Law <law@redhat.com>
31356 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31357 null byte in the output string.
31359 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31361 * sysdeps/unix/sysv/linux/kernel-features.h
31362 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31363 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31364 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31366 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31367 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31368 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31370 2012-08-09 Jeff Law <law@redhat.com>
31373 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31374 When avoid_arena is set, don't retry in the that arena. Pick the
31375 next one, whatever it might be.
31376 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31377 (arena_lock): Pass in new parameter to arena_get2.
31378 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31380 (__libc_malloc): Unify retrying after main arena failure with
31381 __libc_memalign version.
31382 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31384 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31387 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31388 to __redirect_strstr.
31389 (__strstr_sse42): Use typeof __redirect_strstr.
31390 (__strstr_ia32): Likewise.
31391 (__libc_strstr): New prototype.
31392 (strstr): Renamed to ...
31393 (__libc_strstr): This.
31394 (strstr): New strong alias of __libc_strstr.
31395 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31396 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31399 (__libc_time): New prototype.
31400 (time_ifunc): Replace time with __libc_time.
31401 (time): New strong alias and hidden definition of __libc_time.
31402 (__GI_time): Remove strong alias.
31403 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31404 Include <stddef.h>.
31405 (memmove): Redefined to __redirect_memmove.
31406 (__memmove_sse2): Use typeof __redirect_memmove.
31407 (__memmove_ssse3): Likewise.
31408 (__memmove_ssse3_back): Likewise.
31409 (__libc_memmove): New prototype.
31410 (memmove): Renamed to ...
31411 (__libc_memmove): This.
31412 (memmove): New strong alias of __libc_memmove.
31414 2012-08-08 Mark Salter <msalter@redhat.com>
31417 (R_MN10300_TLS_GD): Define.
31418 (R_MN10300_TLS_LD): Likewise.
31419 (R_MN10300_TLS_LDO): Likewise.
31420 (R_MN10300_TLS_GOTIE): Likewise.
31421 (R_MN10300_TLS_IE): Likewise.
31422 (R_MN10300_TLS_LE): Likewise.
31423 (R_MN10300_TLS_DTPMOD): Likewise.
31424 (R_MN10300_TLS_DTPOFF): Likewise.
31425 (R_MN10300_TLS_TPOFF): Likewise.
31426 (R_MN10300_SYM_DIFF): Likewise.
31427 (R_MN10300_ALIGN): Likewise.
31428 (R_MN10300_NUM): Update.
31430 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31435 2012-08-08 Roland McGrath <roland@hack.frob.com>
31437 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31439 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31440 sysdeps/unix -> sysdeps/posix move.
31441 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31443 2012-08-07 Allan McRae <allan@archlinux.org>
31446 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31447 (SUNOS_CPP): Likewise.
31448 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31450 (open_input): Call CPP using execvp.
31452 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31454 * sysdeps/unix/sysv/linux/kernel-features.h
31455 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31456 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31457 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31458 (__ASSUME_WAITID_SYSCALL): Likewise.
31459 * sysdeps/unix/sysv/linux/dl-execstack.c
31460 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31461 code unconditional.
31462 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31464 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31465 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31466 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31468 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31470 [__ASSUME_WAITID_SYSCALL]: Likewise.
31471 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31473 2012-08-07 Roland McGrath <roland@hack.frob.com>
31475 * sysdeps/unix/closedir.c: Renamed to ...
31476 * sysdeps/posix/closedir.c: ... here.
31477 * sysdeps/unix/dirfd.c: Renamed to ...
31478 * sysdeps/posix/dirfd.c: ... here.
31479 * sysdeps/unix/dirstream.h: Renamed to ...
31480 * sysdeps/posix/dirstream.h: ... here.
31481 * sysdeps/unix/fdopendir.c: Renamed to ...
31482 * sysdeps/posix/fdopendir.c: ... here.
31483 * sysdeps/unix/opendir.c: Renamed to ...
31484 * sysdeps/posix/opendir.c: ... here.
31485 * sysdeps/unix/readdir.c: Renamed to ...
31486 * sysdeps/posix/readdir.c: ... here.
31487 * sysdeps/unix/readdir_r.c: Renamed to ...
31488 * sysdeps/posix/readdir_r.c: ... here.
31489 * sysdeps/unix/rewinddir.c: Renamed to ...
31490 * sysdeps/posix/rewinddir.c: ... here.
31491 * sysdeps/unix/seekdir.c: Renamed to ...
31492 * sysdeps/posix/seekdir.c: ... here.
31493 * sysdeps/unix/telldir.c: Renamed to ...
31494 * sysdeps/posix/telldir.c: ... here.
31495 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31496 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31497 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31498 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31500 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31501 * bits/fcntl.h: ... here.
31503 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31505 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31506 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31507 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31508 (struct flock): Move l_start, l_len to the beginning.
31509 Use __pid_t for l_pid.
31510 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31511 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31512 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31513 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31514 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31515 [__USE_LARGEFILE64] (struct flock64): New type.
31516 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31518 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31519 * bits/dirent.h: ... here.
31521 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31522 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31524 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31526 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31527 Change from 2.6.0 to 2.6.16.
31528 * sysdeps/unix/sysv/linux/configure: Regenerated.
31529 * sysdeps/unix/sysv/linux/kernel-features.h
31530 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31531 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31533 (__ASSUME_UTIMES): Likewise.
31534 (__ASSUME_CLONE_STOPPED): Remove.
31535 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31536 architectures, not kernel version.
31537 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31538 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31539 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31540 (__ASSUME_WAITID_SYSCALL): Likewise.
31541 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31542 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31543 * README: State 2.6.16 as minimum Linux kernel version. Do not
31544 refer to older versions.
31546 2012-08-06 Roland McGrath <roland@hack.frob.com>
31548 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31549 Define alphasort64 as an alias.
31550 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31551 Define versionsort64 as an alias.
31552 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31553 Define scandir64 as an alias.
31554 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31555 Define scandirat64 as an alias.
31556 * dirent/alphasort64.c (alphasort64):
31557 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31558 * dirent/versionsort64.c: Likewise.
31559 * dirent/scandir64.c: Likewise.
31560 * dirent/scandirat64.c: Likewise.
31561 * sysdeps/wordsize-64/alphasort.c: File removed.
31562 * sysdeps/wordsize-64/alphasort64.c: File removed.
31563 * sysdeps/wordsize-64/scandir.c: File removed.
31564 * sysdeps/wordsize-64/scandir64.c: File removed.
31565 * sysdeps/wordsize-64/scandirat.c: File removed.
31566 * sysdeps/wordsize-64/scandirat64.c: File removed.
31567 * sysdeps/wordsize-64/versionsort.c: File removed.
31568 * sysdeps/wordsize-64/versionsort64.c: File removed.
31569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31571 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31573 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31578 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31579 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31580 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31581 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31582 [defined __arch64__ || defined __sparcv9]
31583 (__INO_T_MATCHES_INO64_T): New macro.
31584 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31585 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31586 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31587 * sysdeps/unix/sysv/linux/bits/dirent.h
31588 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31589 (_DIRENT_MATCHES_DIRENT64): New macro.
31591 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31592 Define lockf64 as an alias.
31593 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31594 Define fseeko64 as an alias.
31595 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31596 Define ftello64 as an alias.
31597 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31598 Define _IO_fgetpos64 and fgetpos64 as aliases.
31599 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31600 Define _IO_fsetpos64 and fsetpos64 as aliases.
31601 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31602 Conditionalize body on this.
31603 * libio/fseeko64.c: Likewise.
31604 * libio/ftello64.c: Likewise.
31605 * libio/iofgetpos64.c: Likewise.
31606 * libio/iofsetpos64.c: Likewise.
31607 * sysdeps/wordsize-64/lockf.c: File removed.
31608 * sysdeps/wordsize-64/lockf64.c: File removed.
31609 * sysdeps/wordsize-64/fseeko.c: File removed.
31610 * sysdeps/wordsize-64/fseeko64.c: File removed.
31611 * sysdeps/wordsize-64/ftello.c: File removed.
31612 * sysdeps/wordsize-64/ftello64.c: File removed.
31613 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31614 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31615 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31616 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31617 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31618 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31619 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31621 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31623 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31624 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31625 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31628 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31630 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31632 [defined __arch64__ || defined __sparcv9]
31633 (__OFF_T_MATCHES_OFF64_T): New macro.
31634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31635 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31637 (__OFF_T_MATCHES_OFF64_T): New macro.
31639 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31641 * stdlib/secure-getenv.c (__secure_getenv): Replace
31642 GLIBC_2_16 with GLIBC_2_17.
31644 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31647 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31649 2012-08-03 David S. Miller <davem@davemloft.net>
31651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31653 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31657 (__ASSUME_CORRECT_SI_PID): Likewise.
31658 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31659 (__ASSUME_TMPFS_NAME): Likewise.
31660 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31661 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31662 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31663 (HAVE_AUX_SECURE): Make definition unconditional.
31664 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31665 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31667 2012-08-03 Roland McGrath <roland@hack.frob.com>
31669 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31670 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31671 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31672 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31673 __eloop_threshold instead of SYMLOOP_MAX.
31675 * sysdeps/generic/eloop-threshold.h: New file.
31676 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31678 * elf/chroot_canon.c (chroot_canon): Likewise.
31680 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31684 Change to 2.6.0 everywhere.
31685 * sysdeps/unix/sysv/linux/configure: Regenerated.
31686 * sysdeps/unix/sysv/linux/kernel-features.h
31687 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31688 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31690 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31691 (__ASSUME_FUTEX_REQUEUE): Remove.
31692 (__ASSUME_STATFS64): Define unconditionally.
31693 (__ASSUME_AT_SECURE): Likewise.
31694 (__ASSUME_CORRECT_SI_PID): Likewise.
31695 (__ASSUME_TGKILL): Define without depending on kernel version for
31697 (__ASSUME_UTIMES): Likewise.
31698 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31700 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31701 (__ASSUME_TMPFS_NAME): Likewise.
31702 * README: Update reference to Linux kernel versions.
31704 2012-08-02 Marek Polacek <polacek@redhat.com>
31707 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31708 libc_cv_asm_type_prefix with %.
31709 * configure: Regenerated.
31710 * include/libc-symbols.h: Remove comment about
31711 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31712 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31713 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31714 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31715 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31716 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31717 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31718 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31719 * elf/tst-unique2mod1.c: Likewise.
31720 * elf/tst-unique1mod2.c: Likewise.
31721 * elf/tst-unique1mod1.c: Likewise.
31722 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31723 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31724 Replace ASM_TYPE_DIRECTIVE with .type.
31725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31726 * sysdeps/i386/sysdep.h: Likewise.
31727 * sysdeps/x86_64/sysdep.h: Likewise.
31728 * sysdeps/sh/sysdep.h: Likewise.
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31730 Do not define ASM_TYPE_DIRECTIVE.
31731 * sysdeps/powerpc/sysdep.h: Likewise.
31732 * sysdeps/powerpc/powerpc32/sysdep.h:
31733 Replace ASM_TYPE_DIRECTIVE with .type.
31734 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31735 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31736 * sysdeps/i386/fpu/e_powf.S: Likewise.
31737 * sysdeps/i386/fpu/e_expl.S: Likewise.
31738 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31739 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31740 * sysdeps/i386/fpu/e_pow.S: Likewise.
31741 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31742 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31743 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31744 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31745 * sysdeps/i386/fpu/e_log2.S: Likewise.
31746 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31747 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31748 * sysdeps/i386/fpu/e_powl.S: Likewise.
31749 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31750 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31751 * sysdeps/i386/fpu/e_logl.S: Likewise.
31752 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31753 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31754 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31755 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31756 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31757 * sysdeps/i386/fpu/e_log.S: Likewise.
31758 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31759 * sysdeps/i386/fpu/e_logf.S: Likewise.
31760 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31761 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31762 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31763 * sysdeps/i386/fpu/e_log10.S: Likewise.
31764 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31765 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31766 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31767 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31768 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31769 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31770 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31771 * sysdeps/i386/i686/strtok.S: Likewise.
31772 * sysdeps/i386/i386-mcount.S: Likewise.
31773 * sysdeps/i386/strtok.S: Likewise.
31774 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31775 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31777 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31778 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31779 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31780 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31781 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31782 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31783 * sysdeps/x86_64/_mcount.S: Likewise.
31784 * sysdeps/x86_64/strtok.S: Likewise.
31785 * sysdeps/sh/_mcount.S: Likewise.
31787 2012-08-01 Roland McGrath <roland@hack.frob.com>
31789 * libio/iofopen.c: Include <fcntl.h>.
31790 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31791 (_IO_fopen64, fopen64): Define as aliases.
31792 * libio/iofopen64.c: Include <fcntl.h>.
31793 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31794 Conditionalize body on this.
31795 * sysdeps/wordsize-64/iofopen.c: File removed.
31796 * sysdeps/wordsize-64/iofopen64.c: File removed.
31798 2012-08-01 Marek Polacek <polacek@redhat.com>
31800 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31801 Use dlfcn directly instead of a variable.
31802 (binfmt-subdir): Do not define.
31805 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31807 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31808 Remove all definitions.
31809 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31810 <kernel-features.h>.
31811 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31812 (miss_F_GETOWN_EX): Remove all definitions.
31813 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31815 [!__ASSUME_FCNTL64]: Remove conditional code.
31816 [__ASSUME_FCNTL64]: Make code unconditional.
31817 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31818 <kernel-features.h>.
31819 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31820 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31821 (lockf64) [__NR_fcntl64]: Make code unconditional.
31822 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31824 * sysdeps/unix/sysv/linux/kernel-features.h
31825 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31826 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31827 Make code unconditional.
31828 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31829 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31831 [__NR_vfork]: Make code unconditional.
31832 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31833 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31835 [__NR_vfork]: Make code unconditional.
31836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31839 2012-08-01 Roland McGrath <roland@hack.frob.com>
31841 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31842 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31844 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31845 Define mkstemp64 as an alias.
31846 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31847 Define mkstemps64 as an alias.
31848 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31849 Define mkostemp64 as an alias.
31850 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31851 Define mkostemps64 as an alias.
31852 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31853 Conditionalize body on this.
31854 * misc/mkostemp64.c: Likewise.
31855 * misc/mkostemps64.c: Likewise.
31856 * misc/mkstemps64.c: Likewise.
31857 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31858 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31859 * sysdeps/wordsize-64/mkostemp.c: File removed.
31860 * sysdeps/wordsize-64/mkstemp.c: File removed.
31861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31862 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31864 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31867 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31868 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31869 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31870 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31872 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31873 compat_symbol macros from <shlib-compat.h> rather than the underlying
31874 default_symbol_version and symbol_version macros, so that DEFAULT
31875 lines in shlib-versions are respected.
31876 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31878 2012-08-01 Florian Weimer <fweimer@redhat.com>
31880 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31881 Declare with warn_unused_result.
31882 (setgid, setregid, setegid, setresgid): Likewise.
31883 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31885 * WUR-REPORT: Remove set*id functions.
31887 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31889 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31891 2012-07-31 Roland McGrath <roland@hack.frob.com>
31894 * include/sys/socket.h (__libc_accept, __libc_accept4):
31895 Add attribute_hidden.
31896 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31898 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31900 * inet/getnetgrent_r.c (setup): Likewise.
31902 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31904 2012-07-31 David S. Miller <davem@davemloft.net>
31906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31908 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31911 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31912 value between 1.0 and 2.0 and smaller part has absolute value less
31914 * math/s_clog10.c (__clog10): Likewise.
31915 * math/s_clog10f.c (__clog10f): Likewise.
31916 * math/s_clog10l.c (__clog10l): Likewise.
31917 * math/s_clogf.c (__clogf): Likewise.
31918 * math/s_clogl.c (__clogl): Likewise.
31919 * math/libm-test.inc (clog_test): Add more tests.
31920 (clog10_test): Likewise.
31921 * sysdeps/i386/fpu/libm-test-ulps: Update.
31922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31924 2012-07-31 Florian Weimer <fweimer@redhat.com>
31926 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31927 Exit with zero in case no suitable GID is found, and write a
31928 message to standard error.
31930 2012-07-30 Roland McGrath <roland@hack.frob.com>
31932 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31934 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31935 (MAXPATHLEN): Removed.
31936 (NOGROUP, NODEV): New macros.
31937 (setbit, clrbit, isset, isclr): New macros.
31938 (howmany, roundup, powerof2): New macros.
31939 (DEV_BSIZE): New macro.
31941 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31942 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31944 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31945 definition on [!__NO_LONG_DOUBLE_MATH].
31947 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31948 PTR_MANGLE and PTR_DEMANGLE.
31950 * socket/accept4.c (accept4): Rename to __libc_accept4.
31951 Define accept4 as a weak alias.
31953 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31954 on [_DIRENT_HAVE_D_TYPE].
31955 * io/ftw.c (ftw_dir): Likewise.
31957 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31959 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31961 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31962 Use the BSD numbers rather than the arbitrary ones we had.
31963 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31964 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31965 (SIGXCPU, SIGXFSZ): New macros.
31968 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31969 initializer on [_LIBC_REENTRANT].
31971 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31972 definitions inside [_POSIX_MAPPED_FILES].
31974 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31976 * dirent/opendir.c: Include <fcntl.h>.
31978 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31979 (__libc_getspecific): Likewise.
31980 (__libc_key_create): Likewise.
31982 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31983 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31984 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31985 (tmpfile64): Define as alias.
31986 * sysdeps/wordsize-64/tmpfile.c: File removed.
31987 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31988 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31991 * stdio-common/vfscanf.c: Include <stdbool.h>.
31992 * nss/makedb.c: Likewise.
31993 * stdio-common/_i18n_number.h: Likewise.
31994 * argp/argp-help.c: Likewise.
31995 * posix/wordexp.c: Likewise.
31996 * sysdeps/posix/spawni.c: Likewise.
31997 * nss/nss_files/files-initgroups.c: Likewise.
31998 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31999 * nss/nss_files/files-initgroups.c: Likewise.
32000 * nss/nss_db/db-netgrp.c: Likewise.
32001 * nss/nss_db/db-initgroups.c: Likewise.
32002 * io/fchmodat.c: Include <sys/stat.h>.
32004 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32005 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32007 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32010 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32011 Add multiple inclusion protection.
32013 2012-07-27 David S. Miller <davem@davemloft.net>
32015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32017 2012-07-27 Gary Benson <gbenson@redhat.com>
32020 * elf/rtld.c: Include <stap-probe.h>.
32021 (dl_main): Added static probes "init_start" and "init_complete".
32022 * elf/dl-load.c: Include <stap-probe.h>.
32023 (lose): Take new parameter "nsid".
32024 Added static probe "map_failed".
32025 (_dl_map_object_from_fd): Pass namespace id to lose.
32026 Added static probe "map_start".
32027 (open_verify): Pass namespace id to lose.
32028 * elf/dl-open.c: Include <stap-probe.h>.
32029 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32030 and "reloc_complete".
32031 * elf/dl-close.c: Include <stap-probe.h>.
32032 (_dl_close_worker): Added static probes "unmap_start" and
32034 * elf/rtld-debugger-interface.txt: New file documenting the above.
32036 2012-07-26 Roland McGrath <roland@hack.frob.com>
32038 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32039 rather than a string variable.
32040 * sunrpc/rpc_main.c (h_output): Likewise.
32041 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32043 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32045 * inet/check_native.c: New file.
32047 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32050 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32051 if larger part has absolute value 1.0.
32052 * math/s_clog10.c (__clog10): Likewise.
32053 * math/s_clog10f.c (__clog10f): Likewise.
32054 * math/s_clog10l.c (__clog10l): Likewise.
32055 * math/s_clogf.c (__clogf): Likewise.
32056 * math/s_clogl.c (__clogl): Likewise.
32057 * math/libm-test.inc (clog_test): Add more tests.
32058 (clog10_test): Likewise.
32059 * sysdeps/i386/fpu/libm-test-ulps: Update.
32060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32062 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32063 (pltexit): Likewise.
32064 (La_regs): Likewise.
32065 (La_retval): Likewise.
32066 (int_retval): Likewise.
32067 Update #error for removed macros to refer only to definitions in
32069 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32071 (pltexit): Likewise.
32072 (La_regs): Likewise.
32073 (La_retval): Likewise.
32074 (int_retval): Likewise.
32075 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32077 (pltexit): Likewise.
32078 (La_regs): Likewise.
32079 (La_retval): Likewise.
32080 (int_retval): Likewise.
32081 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32083 (pltexit): Likewise.
32084 (La_regs): Likewise.
32085 (La_retval): Likewise.
32086 (int_retval): Likewise.
32087 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32089 (pltexit): Likewise.
32090 (La_regs): Likewise.
32091 (La_retval): Likewise.
32092 (int_retval): Likewise.
32093 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32095 (pltexit): Likewise.
32096 (La_regs): Likewise.
32097 (La_retval): Likewise.
32098 (int_retval): Likewise.
32099 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32101 (pltexit): Likewise.
32102 (La_regs): Likewise.
32103 (La_retval): Likewise.
32104 (int_retval): Likewise.
32105 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32106 macro definitions in tst-audit.h.
32107 * sysdeps/i386/tst-audit.h: New file.
32108 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32109 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32110 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32111 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32112 * sysdeps/sh/tst-audit.h: Likewise.
32113 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32114 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32115 * sysdeps/x86_64/tst-audit.h: Likewise.
32117 2012-07-26 Andreas Jaeger <aj@suse.de>
32119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32122 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32123 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32124 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32126 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32127 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32128 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32130 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32133 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32135 (si_call_addr, si_syscall, si_arch): Define new macro.
32136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32138 (si_call_addr, si_syscall, si_arch): Define new marcro.
32139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32141 (si_call_addr, si_syscall, si_arch): Define new macro.
32142 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32144 (si_call_addr, si_syscall, si_arch): Define new macro.
32146 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32150 Change to 2.4.21 where previously 2.4.1.
32151 * sysdeps/unix/sysv/linux/configure: Regenerated.
32152 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32153 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32154 Linux kernel version.
32155 (__ASSUME_STD_AUXV): Remove.
32156 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32158 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32159 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32160 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32161 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32162 (__ASSUME_NETLINK_SUPPORT): Likewise.
32163 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32164 (__no_netlink_support): Remove conditional definition.
32165 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32167 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32168 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32169 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32170 (if_nameindex_ioctl): Remove.
32171 (if_nameindex_netlink): Do not handle __no_netlink_support.
32172 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32174 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32175 Remove conditional code.
32176 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32178 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32180 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32181 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32182 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32184 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32185 [!__ASSUME_STD_AUXV]: Remove conditional code.
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32187 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32188 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32190 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32191 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32193 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32195 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32198 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32203 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32206 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32207 code unconditional.
32208 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32210 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32212 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32215 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32217 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32220 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32221 code unconditional.
32222 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32224 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32226 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32229 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32230 code unconditional.
32231 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32233 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32235 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32238 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32240 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32242 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32243 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32244 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32245 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32246 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32247 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32248 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32249 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32250 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32251 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32252 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32253 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32255 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32256 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32258 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32260 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32261 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32262 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32264 2012-07-25 Florian Weimer <fweimer@redhat.com>
32266 * Versions.def: Add GLIBC_2.17.
32267 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32268 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32269 Introduce __libc_secure_getenv.
32270 * stdlib/Versions (2.17): Add secure_getenv
32271 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32272 * stdlib/secure-getenv.c: Rename __secure_getenv to
32273 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32274 symbol __secure_getenv for GLIBC_2.0.
32275 * stdlib/tst-secure-getenv.c: New.
32276 * stdlib/Makefile (tests): Add testcase.
32277 * manual/startup.texi (Environment Access): Document
32279 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32280 __libc_secure_getenv.
32281 * inet/ruserpass.c (ruserpass): Likewise.
32282 * malloc/mtrace.c (mtrace): Likewise.
32283 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32284 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32285 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32286 * sysdeps/posix/tempname.c: Likewise. Evaluate
32287 HAVE_SECURE_GETENV.
32288 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32289 __secure_getenv to __libc_secure_getenv.
32290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32303 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32305 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32306 (struct La_i86_retval): Likewise.
32307 (struct La_x86_64_regs): Likewise.
32308 (struct La_x86_64_retval): Likewise.
32309 (struct La_x32_regs): Likewise.
32310 (struct La_x32_retval): Likewise.
32311 (struct La_ppc32_regs): Likewise.
32312 (struct La_ppc32_retval): Likewise.
32313 (struct La_ppc64_regs): Likewise.
32314 (struct La_ppc64_retval): Likewise.
32315 (struct La_sh_regs): Likewise.
32316 (struct La_sh_retval): Likewise.
32317 (struct La_s390_32_regs): Likewise.
32318 (struct La_s390_32_retval): Likewise.
32319 (struct La_s390_64_regs): Likewise.
32320 (struct La_s390_64_retval): Likewise.
32321 (struct La_sparc32_regs): Likewise.
32322 (struct La_sparc32_retval): Likewise.
32323 (struct La_sparc64_regs): Likewise.
32324 (struct La_sparc64_retval): Likewise.
32325 (struct audit_ifaces): Remove architecture-specific pltenter and
32327 * sysdeps/i386/ldsodefs.h: New file.
32328 * sysdeps/powerpc/ldsodefs.h: Likewise.
32329 * sysdeps/s390/ldsodefs.h: Likewise.
32330 * sysdeps/sh/ldsodefs.h: Likewise.
32331 * sysdeps/sparc/ldsodefs.h: Likewise.
32332 * sysdeps/x86_64/ldsodefs.h: Likewise.
32334 2012-07-25 Marek Polacek <polacek@redhat.com>
32337 * math/libm-test.inc (yn_test): Add another test.
32338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32339 to ERANGE when the result is +-Inf.
32340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32341 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32345 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32347 * conform/data/time.h-data (NULL): Use macro-constant. Require
32349 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32351 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32353 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32355 * configure.in <sysdeps resolving>: Correct printing
32357 * configure: Regenerate.
32359 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32361 * math/w_ilogb.c: Include <limits.h>.
32362 * math/w_ilogbl.c: Likewise.
32364 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32366 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32367 va_copy. Document allowing for unavailable va_copy only as
32368 pre-C99 compatibility.
32369 * manual/string.texi (Copying and Concatenation): Use va_copy
32370 instead of __va_copy in concat example.
32372 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32374 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32375 (__sendto): Use create_address_port. Initialize APORT and deallocate
32378 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32379 with O_NOLINK passed to __file_name_lookup.
32381 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32382 with O_NOLINK passed to __file_name_lookup.
32384 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32385 negative N or less than NGIDS.
32387 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32388 type to string_t. Set ERANGE as errno and return it if NAME is not big
32389 enough. Use memcpy instead of strncpy.
32391 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32393 * elf/Makefile (check-data): Remove.
32394 (localplt.data): New vpath directive.
32395 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32396 instead of $(check-data).
32397 * scripts/data/localplt-generic.data: Move to ...
32398 * sysdeps/generic/localplt.data: ... here.
32399 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32400 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32401 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32404 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32407 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32410 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32413 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32416 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32420 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32422 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32423 PPC32 and PPC64 files.
32424 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32425 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32427 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32429 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32430 __makecontext_ret to ...
32431 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32432 ... here and call exit if uc_link is NULL. New file.
32433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32434 __makecontext_ret.S.
32435 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32436 __makecontext_ret to ...
32437 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32438 ... here and call exit if uc_link is NULL. New file.
32439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32440 __makecontext_ret.S.
32442 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32444 * elf/elf.h (R_390_IRELATIVE): New definition.
32445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32446 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32447 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32448 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32449 (elf_machine_lazy_rel): Likewise.
32450 * sysdeps/s390/dl-irel.h: New file.
32451 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32452 * sysdeps/s390/s390-64/memset.S: New asm code.
32453 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32454 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32455 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32456 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32457 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32458 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32459 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32460 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32461 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32462 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32463 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32464 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32465 * sysdeps/s390/s390-32/memset.S: New asm code.
32466 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32468 2012-07-17 Marek Polacek <polacek@redhat.com>
32471 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32472 * sysdeps/s390/s390-64/configure.in: Likewise.
32473 * sysdeps/sparc/configure.in: Likewise.
32474 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32475 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32476 * sysdeps/i386/configure.in: Likewise.
32477 * sysdeps/x86_64/configure.in: Likewise.
32478 * sysdeps/sh/configure.in: Likewise.
32479 * sysdeps/s390/s390-32/configure: Regenerated.
32480 * sysdeps/s390/s390-64/configure: Likewise.
32481 * sysdeps/x86_64/configure: Likewise.
32482 * sysdeps/sh/configure: Likewise.
32483 * sysdeps/powerpc/powerpc64/configure: Likewise.
32484 * sysdeps/powerpc/powerpc32/configure: Likewise.
32485 * sysdeps/sparc/configure: Likwise.
32486 * sysdeps/i386/configure: Likewise.
32488 * elf/dl-open.c: Comment fixes.
32490 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32492 * Makefile [CXX] (check-data): Remove.
32493 [CXX] (c++-types.data): New vpath directive.
32494 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32495 vpath. Do not allow for C++ type data being missing.
32496 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32497 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32498 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32499 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32500 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32501 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32502 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32505 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32508 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32511 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32514 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32517 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32520 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32523 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32526 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32527 definitions to architecture-specific files.
32528 (TLS_IE): Likewise.
32529 (TLS_LD): Likewise.
32530 (TLS_GD): Likewise.
32531 * sysdeps/i386/tls-macros.h: New file.
32532 * sysdeps/powerpc/tls-macros.h: Likewise.
32533 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32534 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32535 * sysdeps/sh/tls-macros.h: Likewise.
32536 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32537 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32538 * sysdeps/x86_64/tls-macros.h: Likewise.
32540 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32543 zero value for regular exit case.
32545 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32546 (__start_context): Preserve zero value for regular exit case.
32548 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32549 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32551 * manual/setjmp.texi (setcontext): Clarify normal process
32552 termination when uc_link is the null pointer.
32553 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32556 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32558 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32559 preprocessor. Test for each exception mask separately.
32561 2012-07-16 Andreas Jaeger <aj@suse.de>
32563 * po/ru.po: Update from translation team.
32565 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32567 * conform/data/string.h-data (NULL): Use macro-constant. Require
32569 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32570 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32571 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32572 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32575 2012-07-13 Andreas Jaeger <aj@suse.de>
32577 * po/fr.po: Update from translation team.
32579 2012-07-12 Marek Polacek <polacek@redhat.com>
32582 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32586 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32590 Change to 2.4.1 where previously 2.4.0.
32591 * sysdeps/unix/sysv/linux/configure: Regenerated.
32592 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32593 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32595 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32596 (__ASSUME_AT_CLKTCK): Remove.
32597 (__ASSUME_AT_PAGESIZE): Likewise.
32598 (__ASSUME_AT_XID): Likewise.
32599 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32600 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32601 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32603 (HAVE_AUX_PAGESIZE): Likewise.
32604 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32605 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32606 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32608 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32612 the temporary buffer used to invoke __gethostbyname2_r,
32613 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32614 host_data / struct gaih_addrtuple.
32615 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32616 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32617 header file nss/nsswitch.h.
32618 * nss/nsswitch.h (global scope): Add definition of implementation
32619 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32620 resolv/nss_dns/dns-host.c).
32622 2012-07-11 Andreas Jaeger <aj@suse.de>
32624 * po/fr.po: Update from translation team.
32626 * po/sv.po: Update from translation team
32627 * po/fr.po: Another update from translation team.
32629 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32632 for subnormals or multiply small sinh result by itself.
32633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32636 2012-07-11 David S. Miller <davem@davemloft.net>
32638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32640 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32643 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32644 (INTERNAL_MARK): Shift it here.
32646 2012-07-10 Marek Polacek <polacek@redhat.com>
32649 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32650 libc_cv_asm_global_directive with .globl.
32651 * configure: Regenerated.
32652 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32654 * sysdeps/i386/configure: Regenerated.
32655 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32657 * sysdeps/x86_64/configure: Regenerated.
32658 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32659 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32660 * elf/tst-unique2mod2.c: Likewise.
32661 * elf/tst-unique2mod1.c: Likewise.
32662 * elf/tst-unique1mod2.c: Likewise.
32663 * elf/tst-unique1mod1.c: Likewise.
32664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32665 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32668 * sysdeps/mach/sysdep.h: Likewise.
32669 * sysdeps/i386/sysdep.h: Likewise.
32670 * sysdeps/i386/i386-mcount.S: Likewise.
32671 * sysdeps/x86_64/_mcount.S: Likewise.
32672 * sysdeps/x86_64/sysdep.h: Likewise.
32673 * sysdeps/sh/_mcount.S: Likewise.
32674 * sysdeps/sh/sysdep.h: Likewise.
32675 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32676 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32677 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32679 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32680 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32681 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32682 * locale/localeinfo.h: Likewise.
32683 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32684 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32686 2012-07-09 Roland McGrath <roland@hack.frob.com>
32689 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32691 * manual/message.texi (The Uniforum approach): Likewise.
32692 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32693 (glibc iconv Implementation): Likewise.
32695 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32698 * math/s_clog.c (__clog): Avoid scaling a value down where that
32699 could result in underflow.
32700 * math/s_clog10.c (__clog10): Likewise.
32701 * math/s_clog10f.c (__clog10f): Likewise.
32702 * math/s_clog10l.c (__clog10l): Likewise.
32703 * math/s_clogf.c (__clogf): Likewise.
32704 * math/s_clogl.c (__clogl): Likewise.
32705 * math/libm-test.inc (clog_test): Add more tests.
32706 (clog10_test): Likewise.
32707 * sysdeps/i386/fpu/libm-test-ulps: Update.
32708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32710 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32713 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32714 by 7 not 8 to examine high bit of fractional part.
32717 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32718 for call to __mcount_internal.
32719 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32720 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32721 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32723 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32726 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32727 approximation for values within 0x1p-13f of an odd multiple of
32729 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32730 exception. Add more tests.
32731 * sysdeps/i386/fpu/libm-test-ulps: Update.
32734 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32735 inputs and return -1 for them. Do not check for +Inf in case not
32736 reachable for +Inf.
32737 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32738 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32740 and return -1 for them. Do not check for +Inf in case not
32741 reachable for +Inf.
32742 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32745 and return -1 for them. Do not check for +Inf in case not
32746 reachable for +Inf.
32747 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32748 spurious underflow.
32749 * sysdeps/i386/fpu/libm-test-ulps: Update.
32750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32752 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32754 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32756 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32760 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32761 could result in spurious underflow. Scale down values above
32762 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32763 * math/s_csqrtf.c (__csqrtf): Likewise.
32764 * math/s_csqrtl.c (__csqrtl): Likewise.
32765 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32766 spurious underflow.
32767 * sysdeps/i386/fpu/libm-test-ulps: Update.
32768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32770 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32772 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32774 * catgets/xopen-msg.awk: New file.
32775 * catgets/xopen-msg.sed: Removed.
32777 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32779 * intl/po2test.awk: New file.
32780 * intl/po2test.sed: Removed.
32782 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32785 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32786 or multiply small sinh result by itself.
32787 * math/s_ctanf.c (__ctanf): Likewise.
32788 * math/s_ctanh.c (__ctanh): Likewise.
32789 * math/s_ctanhf.c (__ctanhf): Likewise.
32790 * math/s_ctanhl.c (__ctanhl): Likewise.
32791 * math/s_ctanl.c (__ctanl): Likewise.
32792 * math/libm-test.inc (ctan_test_tonearest): New function.
32793 (ctan_test_towardzero): Likewise.
32794 (ctan_test_downward): Likewise.
32795 (ctan_test_upward): Likewise.
32796 (ctanh_test_tonearest): Likewise.
32797 (ctanh_test_towardzero): Likewise.
32798 (ctanh_test_downward): Likewise.
32799 (ctanh_test_upward): Likewise.
32800 (main): Call these new functions.
32801 * sysdeps/i386/fpu/libm-test-ulps: Update.
32802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32804 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32806 * .gitignore: Delete /ports entry.
32808 2012-07-03 Andreas Jaeger <aj@suse.de>
32810 * po/bg.po: Update from translation team.
32811 * po/cs.po: Likewise.
32812 * po/de.po: Likewise.
32813 * po/hr.po: Likewise.
32814 * po/nl.pl: Likewise.
32815 * po/pl.po: Likewise.
32816 * po/vi.po: Likewise.
32818 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32820 * Makeconfig [!+link] (+link-before-libc): New variable.
32821 [!+link] (+link-after-libc): Likewise.
32822 [!+link] (+link-tests): Likewise.
32823 [!+link] (+link): Define in terms of $(+link-before-libc) and
32824 $(+link-after-libc).
32825 [!+link-static] (+link-static-before-libc): New variable.
32826 [!+link-static] (+link-static-after-libc): Likewise.
32827 [!+link-static] (+link-static-tests): Likewise.
32828 [!+link-static] (+link-static): Define in terms of
32829 $(+link-static-before-libc) and $(+link-static-after-libc).
32830 [build-shared] (link-libc-before-gnulib): New variable.
32831 [build-shared] (link-libc-tests): Likewise.
32832 [build-shared] (link-libc): Define in terms of
32833 $(link-libc-before-gnulib).
32834 [!build-shared] (link-libc-tests): New variable.
32835 (link-libc-static-tests): New variable.
32836 [!gnulib] (gnulib-arch): New variable.
32837 [!gnulib] (gnulib-tests): Likewise.
32838 [!gnulib] (static-gnulib-arch): Likewise.
32839 [!gnulib] (static-gnulib-tests): Likewise.
32840 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32841 Define with "=" instead of ":=".
32842 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32843 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32844 * Rules (binaries-all-notests): New variable.
32845 (binaries-all-tests): Likewise.
32846 (binaries-static-notests): Likewise.
32847 (binaries-static-tests): Likewise.
32848 (binaries-all): Define using $(binaries-all-notests) and
32849 $(binaries-all-tests).
32850 (binaries-static): Define using $(binaries-static-notests) and
32851 $(binaries-static-tests).
32852 (binaries-shared-tests): New variable.
32853 (binaries-shared-notests): Likewise.
32854 (binaries-shared): Remove variable.
32855 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32856 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32857 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32858 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32859 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32860 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32861 * elf/Makefile (sln-modules): New variable.
32862 (extra-objs): Add $(sln-modules:=.o).
32863 (ldconfig-modules): Add static-stubs.
32864 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32865 * elf/static-stubs.c: New file.
32868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32869 by 7 not 8 to examine high bit of fractional part. Use volatile
32870 variables when splitting into final array of floats if
32871 __FLT_EVAL_METHOD__ != 0.
32872 * math/libm-test.inc (cos_test): Add another test.
32873 (sin_test): Likewise.
32874 * sysdeps/i386/fpu/libm-test-ulps: Update.
32877 * math/libm-test.inc (cosh_test): Add more tests.
32879 * version.h (RELEASE): Set to "development".
32880 (VERSION): Set to "2.16.90".
32882 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32884 * NEWS: Update copyright. Remove last-updated date.
32885 Mention math library bug fixes and timezone data changes.
32886 * README: Mention GNU/Hurd, x32, and HPPA support status.
32888 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32890 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32892 2012-06-27 Andreas Jaeger <aj@suse.de>
32894 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32896 2012-06-25 Andreas Jaeger <aj@suse.de>
32898 * sysdeps/s390/fpu/libm-test-ulps: Update.
32900 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32901 Thomas Schwinge <thomas@codesourcery.com>
32903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32904 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32908 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32910 * sysdeps/mach/start.c: Remove file.
32911 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32912 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32913 * sysdeps/sh/init-first.c: Likewise.
32915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32916 registers for frame unwinding purposes, add CFI directives.
32917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32919 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32922 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32923 __fortify_fail returning.
32924 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32927 sysdeps/sh/____longjmp_chk.S.
32928 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32929 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32930 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32931 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32933 * sysdeps/sh/abort-instr.h: New file.
32934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32935 process in case exit returns.
32937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32938 initialize the GOT register before use.
32940 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32941 calculation of ARGC > 4.
32943 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32944 meaningful names to some local labels.
32946 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32947 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32949 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32950 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32951 (__arch_compare_and_exchange_val_16_acq): Likewise.
32952 (__arch_compare_and_exchange_val_32_acq): Likewise.
32953 (atomic_exchange_and_add): Fix gUSA sequence.
32954 (atomic_add): Likewise.
32955 (atomic_add_negative): Likewise.
32956 (atomic_add_zero): Likewise.
32957 (atomic_bit_test_set): Likewise.
32959 2012-06-22 Andreas Schwab <schwab@redhat.com>
32962 * include/link.h (struct link_map): Add l_free_initfini.
32963 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32965 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32966 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32967 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32970 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32972 * configure.in: Use AC_LANG_SOURCE.
32973 * configure: Regenerate.
32975 2012-06-22 Roland McGrath <roland@hack.frob.com>
32977 * configure.in (libc_cv_localstatedir): New substituted variable.
32978 * configure: Regenerated.
32979 * config.make.in (localstatedir): New variable, substituted from
32980 libc_cv_localstatedir.
32981 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32982 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32983 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32984 * sysdeps/gnu/configure: Regenerated.
32986 2012-06-21 Jeff Law <law@redhat.com>
32989 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32990 free. Simplify list management for _LIBC case.
32992 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32996 Clear sign bit of 64-bit integer value before comparing against
32999 * sysdeps/mach/configure: Regenerated.
33001 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33004 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33006 2012-06-21 Jeff Law <law@redhat.com>
33009 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33010 uint16_t for elements in the "seen" array to avoid char overflows.
33011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33012 * elf/dl-open.c (dl_open_worker): Likewise.
33014 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33016 * scripts/list-sources.sh: Scan PORTS for translations.
33017 * po/libc.pot: Regenerated.
33019 2012-06-21 Andreas Jaeger <aj@suse.de>
33022 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33024 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33025 * bits/byteswap-16.h (__bswap_16): Likewise.
33026 * bits/byteswap.h (__bswap_constant_16): Likewise.
33028 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/i386/fpu_control.h: Removed.
33032 * sysdeps/x86_64/fpu_control.h: Moved to ...
33033 * sysdeps/x86/fpu_control.h: Here.
33035 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33036 (_FPU_SETCW): Likewise.
33038 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33042 * sysdeps/x86/fpu/bits/mathinline.h: This.
33043 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33047 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33048 functions if __x86_64__ is defined.
33050 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33052 * string/endian.h: Add !__ASSEMBLER__ condition for including
33053 conversion interfaces.
33055 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33059 of ABS(x) in calculating zero to negative powers other than odd
33061 * math/libm-test.inc (pow_test): Add more tests.
33063 2012-06-15 Andreas Jaeger <aj@suse.de>
33065 * manual/contrib.texi (Contributors): Update entry of Liubov
33066 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33069 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33071 * string/string.h: Add __wur to GNU version of strerror_r.
33073 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33076 * string/Makefile (tests): Add tst-strtok_r.
33077 * string/tst-strtok_r.c: New file.
33078 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33079 RAX_LP/RDX_LP on SAVE_PTR.
33081 2012-06-14 Roland McGrath <roland@hack.frob.com>
33083 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33085 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33087 * libm_test.inc (csqrt_test): Allow more spurious underflow
33089 (j0_test): Likewise.
33090 (j1_test): Likewise.
33091 (y0_test): Likewise.
33092 (y1_test): Likewise.
33094 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33096 * po/Makefile (libc.pot): Use UTF-8 charset.
33098 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33101 Suppress sign-conversion warning from FD_SET.
33102 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33103 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33104 not unsigned long int.
33105 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33107 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33111 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33112 __extern_always_inline instead of __extern_inline.
33113 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33114 (__signbit): Likewise.
33115 (__signbitl): Support C++ namespace.
33116 (lrintf): New inline function.
33118 (llrintf): Likewise.
33119 (llrint): Likewise.
33129 (floorf): Likewise.
33130 (nearbyint): Likewise.
33131 (nearbyintf): Likewise.
33133 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33135 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33136 non-default versions.
33138 2012-06-11 Roland McGrath <roland@hack.frob.com>
33141 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33143 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33145 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33146 (FE_UPWARD, FE_DOWNWARD): Don't define.
33147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33152 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33153 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33155 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33159 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33162 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33165 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33166 * sysdeps/i386/fpu/Implies: New file.
33167 * sysdeps/x86_64/fpu/Implies: Likewise.
33168 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33169 * sysdeps/x86/fpu/bits/fenv.h: This.
33171 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33174 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33177 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33178 character 0xffff that matches the last element of the
33181 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33186 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33189 values higher than 25.6283.
33191 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33194 subnormal exponent extraction and add some __builtin_expect.
33195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33196 Fix for subnormal mantissa calculation.
33198 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33200 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33201 cpu2 is -1 and errno is not ENOSYS.
33203 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33206 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33207 * sysdeps/x86/bits/string.h: This.
33208 * sysdeps/x86_64/bits/string.h: Removed.
33210 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33211 if not compiling for x86-64, but compiling for >= i486.
33213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33214 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33217 New macro from Linux kernel 3.4.0.
33218 (FP_XSTATE_MAGIC2): Likewise.
33219 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33220 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33221 (struct _fpx_sw_bytes): New struct.
33222 (struct _xsave_hdr): Likewise.
33223 (struct _ymmh_state): Likewise.
33224 (struct _xstate): Likewise.
33226 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33227 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33229 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33230 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33231 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33233 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33235 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33236 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33237 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33238 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33240 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33243 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33244 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33245 (sysdep_headers): Include sys/platform/ppc.h.
33246 * sysdeps/powerpc/test-gettimebase.c: Test for
33247 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33248 * manual/Makefile (appendices): Include platform.texi.
33249 * manual/contrib.texi (Contributors): Update @node pointers.
33250 * manual/maint.texi (Maintenance): Likewise.
33251 (Platform): New node.
33252 * manual/platform.texi: New file. Document the new features.
33254 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33255 Jakub Jelinek <jakub@redhat.com>
33258 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33259 where __builtin_expect is unavailable.
33261 2012-06-03 David S. Miller <davem@davemloft.net>
33263 * stdlib/longlong.h: Updated from GCC.
33265 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33268 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33269 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33272 (GLIBC_2.16): Likewise.
33274 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33278 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33281 (default-abi): New variable.
33282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33283 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33287 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33289 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33292 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33293 definition. Document in comment.
33295 2012-06-01 David S. Miller <davem@davemloft.net>
33297 * stdlib/longlong.h: Updated from GCC.
33299 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33302 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33303 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33304 sys/debugreg.h sys/io.h here.
33305 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33306 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33308 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33309 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33310 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33311 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33312 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33313 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33316 Define only if __x86_64__ is defined.
33318 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33322 Use int64_t for variable i.
33323 * math/libm-test.inc (fmod_test): Add more tests.
33325 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33326 z computation is not scheduled after fetestexcept.
33327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33328 Use math_force_eval instead of asm to ensure calculation scheduled
33329 before exception test.
33330 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33331 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33333 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33336 computation is not scheduled after fetestexcept.
33338 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33342 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33344 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33346 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33347 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33349 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33352 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33354 (__WCHAR_MIN): Support __WORDSIZE == 64.
33355 (__WCHAR_MAX): Likewise.
33357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33362 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33365 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33366 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33368 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33369 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33371 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33372 Defined to 1 if __x86_64__ isn't defined.
33373 (_STAT_VER_LINUX_OLD): New.
33374 (st_atime): Remove duplicate.
33375 (st_mtime): Likewise.
33376 (st_ctime): Likewise.
33378 2012-05-31 David S. Miller <davem@davemloft.net>
33380 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33383 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33385 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33389 * elf/dl-reloc.c: Include <_itoa.h>.
33390 (_dl_reloc_bad_type): Remove use of INTUSE.
33391 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33392 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33393 * stdio-common/psiginfo.c (psiginfo): Likewise.
33394 * stdio-common/psignal.c (psignal): Likewise.
33395 * string/strsignal.c (strsignal): Likewise.
33396 * include/signal.h (_sys_siglist): Declare hidden proto.
33397 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33398 INTVARDEF with libc_hidden_data_def.
33399 * stdio-common/itoa-udigits.c: Likewise.
33400 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33401 (_itoa_lower_digits_internal): Remove declaration.
33402 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33403 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33404 (_sys_sigabbrev_internal): Remove aliases.
33405 (_sys_siglist): Define hidden alias.
33407 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33412 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33416 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33418 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33419 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33420 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33421 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33423 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33425 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33426 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33427 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33437 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33438 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33439 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33441 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33444 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33445 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33446 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33448 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33449 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33452 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33456 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33458 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33459 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33461 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33463 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33465 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33467 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33469 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33471 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33473 * math/math.h (M_El): Use two more decimal places.
33474 (M_LOG2El): Likewise.
33475 (M_LOG10El): Likewise.
33476 (M_LN2l): Likewise.
33477 (M_LN10l): Likewise.
33479 (M_PI_2l): Likewise.
33480 (M_PI_4l): Likewise.
33481 (M_1_PIl): Likewise.
33482 (M_2_PIl): Likewise.
33483 (M_2_SQRTPIl): Likewise.
33484 (M_SQRT2l): Likewise.
33485 (M_SQRT1_2l): Likewise.
33487 2012-05-31 David S. Miller <davem@davemloft.net>
33489 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33490 values between float registers.
33491 * sysdeps/sparc/sparc64/memset.S: Likewise.
33492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33494 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33496 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33497 -D_FORTIFY_SOURCE=1.
33498 (CPPFLAGS-tst-longjmp_chk.c): Define.
33499 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33500 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33501 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33502 CFLAGS-tst-wchar-h.c.
33504 2012-05-31 Marek Polacek <polacek@redhat.com>
33507 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33508 __endmntent_internal): Remove declaration.
33509 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33510 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33511 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33513 2012-05-30 David S. Miller <davem@davemloft.net>
33515 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33516 (___Q_simulate_exceptions): Use real FP ops rather than writing
33518 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33521 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33524 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33525 * sysdeps/x86/bits/xtitypes.h: This.
33527 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33528 * sysdeps/x86/bits/wordsize.h: This.
33530 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33531 * sysdeps/x86/bits/huge_vall.h: This.
33533 * sysdeps/i386/bits/select.h: Removed.
33534 * sysdeps/x86_64/bits/select.h: Renamed to ...
33535 * sysdeps/x86/bits/select.h: This.
33537 * sysdeps/i386/bits/setjmp.h: Removed.
33538 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33539 * sysdeps/x86/bits/setjmp.h: This.
33541 * sysdeps/i386/bits/mathdef.h: Removed.
33542 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33543 * sysdeps/x86/bits/mathdef.h: This.
33545 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33548 * include/sys/socket.h (__connect_internal)
33549 (__libc_sa_len_internal): Remove declaration.
33550 (__connect, __libc_sa_len): Declare hidden_proto.
33551 (SA_LEN): Remove use of INTUSE.
33552 * socket/connect.c: Add libc_hidden_def.
33553 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33554 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33555 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33557 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33558 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33559 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33560 of adding _internal alias.
33562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33565 * sysdeps/i386/bits/link.h: Removed.
33566 * sysdeps/i386/bits/linkmap.h: Likewise.
33567 * sysdeps/x86_64/bits/link.h: Renamed to ...
33568 * sysdeps/x86/bits/link.h: This.
33569 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33570 * sysdeps/x86/bits/linkmap.h: This.
33572 * sysdeps/i386/bits/endian.h: Removed.
33573 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33574 * sysdeps/x86/bits/endian.h: This.
33576 * sysdeps/i386/bits/byteswap.h: Removed.
33577 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33578 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33579 * sysdeps/x86/bits/byteswap.h: This.
33580 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33581 * sysdeps/x86/bits/byteswap-16.h: This.
33582 * sysdeps/i386/Implies: Add x86.
33583 * sysdeps/x86_64/Implies: Likewise.
33585 2012-05-30 David S. Miller <davem@davemloft.net>
33587 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33588 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33589 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33590 (FP_TRAPPING_EXCEPTIONS): Define.
33591 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33592 (FP_TRAPPING_EXCEPTIONS): Define.
33593 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33594 subnormals only when inexact has been signalled or underflow
33595 exceptions are enabled.
33596 (_FP_PACK_CANONICAL): Likewise.
33598 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33602 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33604 2012-05-30 Richard Henderson <rth@twiddle.net>
33606 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33607 with #ifndef NOT_IN_libc.
33609 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33610 marked to avoid plt entry.
33612 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33615 * Makeconfig (default-abi): New macro.
33616 (abi-includes): Likewise.
33617 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33618 $(abi-$(default-abi)-lib-soname) for soname if defined.
33619 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33621 * Makefile (installed-stubs): Likewise.
33622 * include/stubs-biarch.h: Removed.
33623 * scripts/lib-names.awk: Only handle one library at a time.
33624 * scripts/soversions.awk: Remove WORDSIZE support.
33625 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33627 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33629 (syscall-list-default-condition): Likewise.
33630 (syscall-list-default-condition): Likewise.
33631 (syscall-list-includes): Likewise.
33632 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33633 syscall-list-* with abi-*. Handle undefined abi-variants.
33634 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33635 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33636 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33637 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33638 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33639 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33641 (syscall-list-32-options): Likewise.
33642 (syscall-list-32-condition): Likewise.
33643 (syscall-list-64-options): Likewise.
33644 (syscall-list-64-condition): Likewise.
33645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33647 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33650 (abi-64-ld-soname): New macro.
33651 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33652 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33655 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33656 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33658 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33660 * sysdeps/unix/sysv/linux/kernel-features.h
33661 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33662 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33663 include <kernel-features.h>.
33664 [!__NR_ftruncate64]: Remove conditional code.
33665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33666 [__NR_ftruncate64]: Make code unconditional.
33667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33668 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33669 include <kernel-features.h>.
33670 [!__NR_ftruncate64]: Remove conditional code.
33671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33672 [__NR_ftruncate64]: Make code unconditional.
33673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33675 include <kernel-features.h>.
33676 [!__NR_ftruncate64]: Remove conditional code.
33677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33678 [__NR_ftruncate64]: Make code unconditional.
33679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33681 include <kernel-features.h>.
33682 [!__NR_ftruncate64]: Remove conditional code.
33683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33684 [__NR_ftruncate64]: Make code unconditional.
33685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33687 * configure.in (libc_cv_fpie): Weaken to a compile test using
33688 LIBC_TRY_CC_OPTION.
33689 * configure: Regenerated.
33691 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33706 2012-05-27 David S. Miller <davem@davemloft.net>
33708 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33710 (__Q_simulate_exceptions): Return void. Change to simulate
33711 exceptions by writing into the %fsr.
33712 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33713 (__Qp_handle_exceptions): Likewise.
33715 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33716 __Qp_handle_exceptions.
33717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33718 __Qp_handle_exceptions.
33719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33720 as unused and give dummy FP_RND_NEAREST initializer.
33721 (FP_INHIBIT_RESULTS): Define.
33722 (___Q_simulate_exceptions): Update declaration.
33723 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33726 as unused and give dummy FP_RND_NEAREST initializer.
33727 (__Qp_handle_exceptions): Update declaration.
33728 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33731 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33733 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33734 the temporary FPU control word.
33735 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33736 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33738 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33739 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33740 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33741 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33743 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33744 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33747 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33752 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33754 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33755 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33756 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33757 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33759 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33760 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33763 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33765 * po/h.po: Update from translation team.
33767 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33769 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33772 handling of denormals.
33773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33774 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33776 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33782 2012-05-26 Marek Polacek <polacek@redhat.com>
33785 * math/libm-test.inc (fma_test): Don't always expect underflow
33788 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33791 * elf/tst-execstack.c: Include stackinfo.h.
33792 (do_test): Adjust test case to ensure that pthread_getattr_np
33793 behaviour remains the same after marking stack executable.
33795 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33797 * sysdeps/unix/sysv/linux/kernel-features.h
33798 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33799 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33801 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33802 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33803 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33808 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33810 * configure.in: Define the default includes to being none.
33811 * configure: Regenerated.
33813 2012-05-25 Roland McGrath <roland@hack.frob.com>
33815 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33816 * sysdeps/x86_64/setjmp.S: Likewise.
33817 * sysdeps/i386/bsd-setjmp.S: Likewise.
33818 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33819 * sysdeps/i386/setjmp.S: Likewise.
33820 * sysdeps/i386/__longjmp.S: Likewise.
33821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33822 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33824 * include/stap-probe.h: New file.
33825 * configure.in: Handle --enable-systemtap.
33826 * configure: Regenerated.
33827 * config.h.in (USE_STAP_PROBE): New #undef.
33828 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33829 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33830 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33832 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33836 to 2.4.0 where earlier.
33837 * sysdeps/unix/sysv/linux/configure: Regenerated.
33838 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33839 <kernel-features.h>.
33840 [__ASSUME_32BITUIDS]: Make code unconditional.
33841 [!__ASSUME_32BITUIDS]: Remove conditional code.
33842 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33843 <kernel-features.h>.
33844 [__ASSUME_32BITUIDS]: Make code unconditional.
33845 [!__ASSUME_32BITUIDS]: Remove conditional code.
33846 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33847 [__ASSUME_32BITUIDS]: Make code unconditional.
33848 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33849 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33850 <kernel-features.h>.
33851 [__ASSUME_32BITUIDS]: Make code unconditional.
33852 [!__ASSUME_32BITUIDS]: Remove conditional code.
33853 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33854 <kernel-features.h>.
33855 [__ASSUME_32BITUIDS]: Make code unconditional.
33856 [!__ASSUME_32BITUIDS]: Remove conditional code.
33857 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33858 <kernel-features.h>.
33859 [__ASSUME_32BITUIDS]: Make code unconditional.
33860 [!__ASSUME_32BITUIDS]: Remove conditional code.
33861 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33862 <kernel-features.h>.
33863 [__ASSUME_32BITUIDS]: Make code unconditional.
33864 [!__ASSUME_32BITUIDS]: Remove conditional code.
33865 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33866 <kernel-features.h>.
33867 [__ASSUME_32BITUIDS]: Make code unconditional.
33868 [!__ASSUME_32BITUIDS]: Remove conditional code.
33869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33870 <kernel-features.h>.
33871 [__ASSUME_32BITUIDS]: Make code unconditional.
33872 [!__ASSUME_32BITUIDS]: Remove conditional code.
33873 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33874 <kernel-features.h>.
33875 [__ASSUME_32BITUIDS]: Make code unconditional.
33876 [!__ASSUME_32BITUIDS]: Remove conditional code.
33877 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33878 <kernel-features.h>.
33879 [__ASSUME_32BITUIDS]: Make code unconditional.
33880 [!__ASSUME_32BITUIDS]: Remove conditional code.
33881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33882 <kernel-features.h>.
33883 [__ASSUME_32BITUIDS]: Make code unconditional.
33884 [!__ASSUME_32BITUIDS]: Remove conditional code.
33885 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33886 <kernel-features.h>.
33887 [__ASSUME_32BITUIDS]: Make code unconditional.
33888 [!__ASSUME_32BITUIDS]: Remove conditional code.
33889 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33890 <kernel-features.h>.
33891 [__NR_setresgid] (__setresgid): Do not declare.
33892 [__ASSUME_32BITUIDS]: Make code unconditional.
33893 [!__ASSUME_32BITUIDS]: Remove conditional code.
33894 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33895 <kernel-features.h>.
33896 [__NR_setresuid] (__setresuid): Do not declare.
33897 [__ASSUME_32BITUIDS]: Make code unconditional.
33898 [!__ASSUME_32BITUIDS]: Remove conditional code.
33899 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33900 <kernel-features.h>.
33901 [__ASSUME_32BITUIDS]: Make code unconditional.
33902 [!__ASSUME_32BITUIDS]: Remove conditional code.
33903 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33904 <kernel-features.h>.
33905 [__ASSUME_32BITUIDS]: Make code unconditional.
33906 [!__ASSUME_32BITUIDS]: Remove conditional code.
33907 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33908 <kernel-features.h>.
33909 [__ASSUME_32BITUIDS]: Make code unconditional.
33910 [!__ASSUME_32BITUIDS]: Remove conditional code.
33911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33912 <kernel-features.h>.
33913 [__ASSUME_32BITUIDS]: Make code unconditional.
33914 [!__ASSUME_32BITUIDS]: Remove conditional code.
33915 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33916 <kernel-features.h>.
33917 [__ASSUME_32BITUIDS]: Make code unconditional.
33918 [!__ASSUME_32BITUIDS]: Remove conditional code.
33919 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33920 <kernel-features.h>.
33921 [__ASSUME_32BITUIDS]: Make code unconditional.
33922 [!__ASSUME_32BITUIDS]: Remove conditional code.
33923 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33924 <kernel-features.h>.
33925 [__ASSUME_32BITUIDS]: Make code unconditional.
33926 [!__ASSUME_32BITUIDS]: Remove conditional code.
33927 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33928 <kernel-features.h>.
33929 [__ASSUME_32BITUIDS]: Make code unconditional.
33930 [!__ASSUME_32BITUIDS]: Remove conditional code.
33931 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33932 <kernel-features.h>.
33933 [__ASSUME_32BITUIDS]: Make code unconditional.
33934 [!__ASSUME_32BITUIDS]: Remove conditional code.
33935 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33936 <kernel-features.h>.
33937 [__ASSUME_32BITUIDS]: Make code unconditional.
33938 [!__ASSUME_32BITUIDS]: Remove conditional code.
33939 * sysdeps/unix/sysv/linux/kernel-features.h
33940 (__ASSUME_SETRESUID_SYSCALL): Remove.
33941 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33942 (__ASSUME_32BITUIDS): Likewise.
33943 (__ASSUME_LDT_WORKS): Likewise.
33944 (__ASSUME_O_DIRECTORY): Likewise.
33945 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33946 architecture but not kernel version.
33947 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33948 (__ASSUME_MMAP2_SYSCALL): Likewise.
33949 (__ASSUME_STAT64_SYSCALL): Likewise.
33950 (__ASSUME_IPC64): Likewise.
33951 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33952 <kernel-features.h>.
33953 [__ASSUME_32BITUIDS]: Make code unconditional.
33954 [!__ASSUME_32BITUIDS]: Remove conditional code.
33955 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33956 <kernel-features.h>.
33957 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33958 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33959 132096]: Remove conditional code.
33960 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33962 <kernel-features.h>.
33963 [__ASSUME_32BITUIDS]: Make code unconditional.
33964 [!__ASSUME_32BITUIDS]: Remove conditional code.
33965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33966 <kernel-features.h>.
33967 [__ASSUME_32BITUIDS]: Make code unconditional.
33968 [!__ASSUME_32BITUIDS]: Remove conditional code.
33969 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33970 <kernel-features.h>.
33971 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33973 (__setresgid): Do not declare.
33974 [__ASSUME_32BITUIDS]: Make code unconditional.
33975 [!__ASSUME_32BITUIDS]: Remove conditional code.
33976 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33977 <kernel-features.h>.
33978 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33980 (__setresuid): Do not declare.
33981 [__ASSUME_32BITUIDS]: Make code unconditional.
33982 [!__ASSUME_32BITUIDS]: Remove conditional code.
33983 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33984 <kernel-features.h>.
33985 [__ASSUME_32BITUIDS]: Make code unconditional.
33986 [!__ASSUME_32BITUIDS]: Remove conditional code.
33987 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33988 <kernel-features.h>.
33989 [__ASSUME_32BITUIDS]: Make code unconditional.
33990 [!__ASSUME_32BITUIDS]: Remove conditional code.
33992 2012-05-25 Richard Henderson <rth@twiddle.net>
33994 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33995 dl_hwcap to ifunc resolver.
33996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33998 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33999 dl_hwcap to ifunc resolver.
34000 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34002 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34005 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34006 for |x| <= 2**-26, not 2**-57.
34007 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34010 2012-05-24 Jeff Law <law@redhat.com>
34012 * stdio-common/Makefile (tests): Add bug25.
34013 * stdio-common/bug25.c: New test.
34015 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34018 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34019 multiple of MALLOC_ALIGNMENT in size.
34020 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34022 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34024 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34026 (FILENAME_MAX): Use macro-int-constant.
34027 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34028 (_IOFBF): Use macro-int-constant.
34029 (_IOLBF): Likewise.
34030 (_IONBF): Likewise.
34031 (SEEK_CUR): Likewise.
34032 (SEEK_END): Likewise.
34033 (SEEK_SET): Likewise.
34034 (TMP_MAX): Likewise.
34035 (EOF): Use macro-int-constant. Require < 0.
34036 (NULL): Use macro-constant. Require == 0.
34037 (stdin): Require type to be FILE *.
34038 (stdout): Likewise.
34039 (stderr): Likewise.
34040 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34041 macro-int-constant.
34042 (EXIT_SUCCESS): Likewise.
34043 (NULL): Use macro-constant. Require == 0.
34044 (RAND_MAX): Use macro-int-constant.
34045 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34046 [C99-based standards] (strtof): Require function.
34047 [C99-based standards] (strtold): Likewise.
34048 [C99-based standards] (strtoll): Likewise.
34049 [C99-based standards] (strtoull): Likewise.
34050 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34051 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34052 [ISO || ISO99 || ISO11] (math.h): Likewise.
34053 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34057 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34060 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34061 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34062 * intl/dgettext.c (DCGETTEXT): Likewise.
34063 * intl/gettext.c (DCGETTEXT): Likewise.
34064 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34065 * posix/regex_internal.h (gettext): Likewise.
34066 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34067 Remove declaration.
34068 * include/argz.h (__argz_count_internal)
34069 (__argz_stringify_internal): Remove declaration.
34070 (__argz_count, __argz_stringify): Declare hidden proto.
34071 * intl/dcgettext.c: Remove use of INTDEF.
34072 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34073 * string/argz-stringify.c: Likewise.
34074 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34075 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34076 Declare hidden proto.
34077 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34078 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34079 Declare hidden proto.
34080 * include/stdio.h (__asprintf_internal): Don't declare.
34081 (__asprintf): Don't define as macro. Declare hidden proto.
34082 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34083 (__fsetlocking): Declare hidden proto.
34084 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34085 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34087 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34088 (_IO_setlinebuf): Remove use of INTUSE.
34089 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34090 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34091 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34092 Remove declaration.
34093 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34094 (_IO_do_flush): Remove use of INTUSE.
34095 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34096 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34097 (_IO_adjust_column, _IO_least_wmarker)
34098 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34099 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34100 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34101 (_IO_default_doallocate, _IO_wdefault_doallocate)
34102 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34103 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34104 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34105 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34106 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34107 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34108 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34109 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34110 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34111 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34112 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34113 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34114 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34116 (_IO_flush_all_internal, _IO_adjust_column_internal)
34117 (_IO_default_uflow_internal, _IO_default_finish_internal)
34118 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34119 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34120 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34121 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34122 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34123 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34124 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34125 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34126 (_IO_file_close_internal, _IO_file_close_it_internal)
34127 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34128 (_IO_file_init_internal, _IO_file_attach_internal)
34129 (_IO_file_fopen_internal, _IO_file_read_internal)
34130 (_IO_file_sync_internal, _IO_file_seek_internal)
34131 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34132 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34133 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34134 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34135 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34136 (_IO_list_all_internal, _IO_link_in_internal)
34137 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34138 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34139 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34140 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34141 (_IO_do_write_internal, _IO_padn_internal)
34142 (_IO_getline_info_internal, _IO_getline_internal)
34143 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34144 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34145 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34146 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34147 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34148 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34149 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34150 with libc_hidden_ver, remove use of INTUSE.
34151 * libio/genops.c: Likewise.
34152 * libio/freopen.c: Likewise.
34153 * libio/freopen64.c: Likewise.
34154 * libio/iofclose.c: Likewise.
34155 * libio/iofdopen.c: Likewise.
34156 * libio/iofflush.c: Likewise.
34157 * libio/iofflush_u.c: Likewise.
34158 * libio/iofgets.c: Likewise.
34159 * libio/iofgets_u.c: Likewise.
34160 * libio/iofopen.c: Likewise.
34161 * libio/iofopncook.c: Likewise.
34162 * libio/iofread.c: Likewise.
34163 * libio/iofread_u.c: Likewise.
34164 * libio/ioftell.c: Likewise.
34165 * libio/iofwrite.c: Likewise.
34166 * libio/iogetline.c: Likewise.
34167 * libio/iogets.c: Likewise.
34168 * libio/iogetwline.c: Likewise.
34169 * libio/iopadn.c: Likewise.
34170 * libio/iopopen.c: Likewise.
34171 * libio/ioseekoff.c: Likewise.
34172 * libio/ioseekpos.c: Likewise.
34173 * libio/iosetbuffer.c: Likewise.
34174 * libio/iosetvbuf.c: Likewise.
34175 * libio/ioungetc.c: Likewise.
34176 * libio/ioungetwc.c: Likewise.
34177 * libio/iovdprintf.c: Likewise.
34178 * libio/iovsprintf.c: Likewise.
34179 * libio/iovsscanf.c: Likewise.
34180 * libio/memstream.c: Likewise.
34181 * libio/obprintf.c: Likewise.
34182 * libio/oldfileops.c: Likewise.
34183 * libio/oldiofclose.c: Likewise.
34184 * libio/oldiofdopen.c: Likewise.
34185 * libio/oldiofopen.c: Likewise.
34186 * libio/oldiopopen.c: Likewise.
34187 * libio/oldstdfiles.c: Likewise.
34188 * libio/putc.c: Likewise.
34189 * libio/setbuf.c: Likewise.
34190 * libio/setlinebuf.c: Likewise.
34191 * libio/stdfiles.c: Likewise.
34192 * libio/strops.c: Likewise.
34193 * libio/vasprintf.c: Likewise.
34194 * libio/vscanf.c: Likewise.
34195 * libio/vsnprintf.c: Likewise.
34196 * libio/vswprintf.c: Likewise.
34197 * libio/wfiledoalloc.c: Likewise.
34198 * libio/wfileops.c: Likewise.
34199 * libio/wgenops.c: Likewise.
34200 * libio/wmemstream.c: Likewise.
34201 * libio/wstrops.c: Likewise.
34202 * libio/__fpurge.c: Likewise.
34203 * libio/__fsetlocking.c: Likewise.
34204 * assert/assert.c: Likewise.
34205 * debug/fgets_chk.c: Likewise.
34206 * debug/fgets_u_chk.c: Likewise.
34207 * debug/fread_chk.c: Likewise.
34208 * debug/fread_u_chk.c: Likewise.
34209 * debug/gets_chk.c: Likewise.
34210 * debug/obprintf_chk.c: Likewise.
34211 * debug/vasprintf_chk.c: Likewise.
34212 * debug/vdprintf_chk.c: Likewise.
34213 * debug/vsnprintf_chk.c: Likewise.
34214 * debug/vsprintf_chk.c: Likewise.
34215 * malloc/mtrace.c: Likewise.
34216 * misc/error.c: Likewise.
34217 * misc/syslog.c: Likewise.
34218 * stdio-common/asprintf.c: Likewise.
34219 * stdio-common/fxprintf.c: Likewise.
34220 * stdio-common/getw.c: Likewise.
34221 * stdio-common/isoc99_fscanf.c: Likewise.
34222 * stdio-common/isoc99_scanf.c: Likewise.
34223 * stdio-common/isoc99_vfscanf.c: Likewise.
34224 * stdio-common/isoc99_vscanf.c: Likewise.
34225 * stdio-common/isoc99_vsscanf.c: Likewise.
34226 * stdio-common/printf-prs.c: Likewise.
34227 * stdio-common/printf_fp.c: Likewise.
34228 * stdio-common/printf_fphex.c: Likewise.
34229 * stdio-common/printf_size.c: Likewise.
34230 * stdio-common/putw.c: Likewise.
34231 * stdio-common/scanf.c: Likewise.
34232 * stdio-common/sprintf.c: Likewise.
34233 * stdio-common/tmpfile.c: Likewise.
34234 * stdio-common/vfprintf.c: Likewise.
34235 * stdio-common/vfscanf.c: Likewise.
34236 * stdlib/strfmon_l.c: Likewise.
34237 * sunrpc/openchild.c: Likewise.
34238 * sunrpc/xdr_stdio.c: Likewise.
34239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34240 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34242 2012-05-24 Roland McGrath <roland@hack.frob.com>
34244 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34246 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34247 in the third column, to generate for the shared library an IFUNC
34248 that uses _dl_vdso_vsym.
34249 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34250 * Makeconfig (object-suffixes-noshared): New variable.
34252 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34253 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34254 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34255 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34258 * include/sys/time.h (__gettimeofday): Remove macro.
34259 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34260 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34262 (__gettimeofday): Add libc_hidden_def.
34263 (gettimeofday): Add libc_hidden_weak.
34264 * sysdeps/mach/gettimeofday.c: Likewise.
34265 * sysdeps/posix/gettimeofday.c: Likewise.
34266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34267 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34269 (__gettimeofday_internal): Remove strong_alias.
34270 (__gettimeofday): Add libc_hidden_def.
34271 (gettimeofday): Add libc_hidden_weak.
34272 * sysdeps/unix/syscalls.list (gettimeofday):
34273 Remove __gettimeofday_internal alias.
34275 2012-05-24 Daniel Jacobowitz <drow@false.org>
34276 H.J. Lu <hongjiu.lu@intel.com>
34279 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34280 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34281 (largebin_index_32_big): New.
34282 (largebin_index): Use it for 16-byte alignment.
34283 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34284 correction with front_misalign.
34286 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34314 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34315 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34317 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34321 * math/libm-test.inc (exp_test): Add test from bug 14036.
34322 (pow_test): Add test from bug 10846.
34324 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34326 (special_function): Do not include flags in test name.
34327 (parse_args): Likewise.
34328 * sysdeps/i386/fpu/libm-test-ulps: Update.
34329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34330 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34334 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34336 * math/libm-test.inc ("Philosophy"): Update comment about
34338 (UNDERFLOW_EXCEPTION): New macro.
34339 (UNDERFLOW_EXCEPTION_OK): Likewise.
34340 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34341 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34342 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34343 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34344 (INVALID_EXCEPTION_OK): Update value.
34345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34346 (OVERFLOW_EXCEPTION_OK): Likewise.
34347 (IGNORE_ZERO_INF_SIGN): Likewise.
34348 (test_exceptions): Handle underflow exceptions.
34349 (acos_test): Update for underflow exception expectations.
34350 (cexp_test): Likewise.
34351 (clog_test): Likewise.
34352 (clog10_test): Likewise.
34353 (csqrt_test): Likewise.
34354 (ctan_test): Likewise.
34355 (ctanh_test): Likewise.
34356 (exp_test): Likewise.
34357 (exp10_test): Likewise.
34358 (exp2_test): Likewise.
34359 (expm1_test): Likewise.
34360 (fma_test): Likewise.
34361 (j0_test): Likewise.
34362 (jn_test): Likewise.
34363 (nexttoward_test): Likewise.
34364 (pow_test): Likewise.
34365 (scalbn_test): Likewise.
34366 (scalbln_test): Likewise.
34367 (tan_test): Likewise.
34368 (y1_test): Likewise.
34369 * sysdeps/i386/fpu/libm-test-ulps: Update.
34370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34372 2012-05-23 David S. Miller <davem@davemloft.net>
34374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34375 (__libc_sigaction): Remove unused local variables.
34377 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34379 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34381 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34383 mktime: avoid signed integer overflow
34384 * time/mktime.c (__mktime_internal): Do not mishandle the case
34385 where diff == INT_MIN.
34387 mktime: simplify computation of average
34388 * time/mktime.c (ranged_convert): Use new time_t_avg function
34389 instead of rolling our own (probably-slower) code.
34391 mktime: do not assume signed right shift propagates sign bit
34392 * time/mktime.c (isdst_differ): New static function.
34393 (__mktime_internal): No need to normalize tm_isdst now.
34394 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34397 mktime: merge another wrapv change from gnulib
34398 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34399 from some compilers.
34401 mktime: remove incorrect attempt at unusual arithmetics
34402 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34403 The code didn't really work on such machines anyway.
34404 (TYPE_MINIMUM): Assume two's complement.
34405 (twos_complement_arithmetic): Verify that long_int and time_t
34406 are two's complement (or unsigned, in the latter case).
34408 mktime: check signed shifts on long_int and time_t, too
34409 * time/mktime.c (SHR): Check that shifts work as desired
34410 on the types long_int and time_t too, as SHR is used on
34413 mktime: do not assume 'long' is wide enough
34414 * time/mktime.c (verify): Move decl up.
34415 (long_int): New type.
34416 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34417 to remove assumption in the code that 'long' is wide enough to
34418 store year values. This assumption is not true on x32 and on
34419 some non-glibc platforms.
34421 mktime: merge wrapv change from gnulib
34422 * time/mktime.c (WRAPV): New macro.
34423 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34424 (guess_time_tm, __mktime_internal): Do not assume that signed
34425 integer overflow wraps around; modern compilers generate code
34426 where this assumption is no longer valid.
34428 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34430 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34431 Replace "jmp L(pseudo_end)" with "ret".
34432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34435 2012-05-23 Andreas Jaeger <aj@suse.de>
34437 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34438 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34440 2012-05-23 Andreas Jaeger <aj@suse.de>
34441 Maximilian Attems <max@stro.at>
34443 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34446 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34449 code so that pseudo_end is just ret and the stack pointer is
34450 correct also for static library in error case.
34452 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34454 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34455 move to syscalls.list.
34456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34461 * manual/install.texi (Running make install): Do not mention Linux
34462 kernel version for which pt_chown is not needed.
34463 (Linux): Do not mention problems with nscd with 2.0 kernels.
34464 * INSTALL: Regenerated.
34466 2012-05-23 Andreas Jaeger <aj@suse.de>
34468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34469 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34471 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34473 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34475 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34481 * sysdeps/unix/sysv/linux/bits/in.h
34482 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34484 2012-05-22 Roland McGrath <roland@hack.frob.com>
34486 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34487 (PREPARE_VERSION): Just use assert instead, it will be elided
34488 under [NDEBUG] anyway.
34490 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34492 * sysdeps/unix/sysv/linux/Makefile: Include
34493 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34494 (sysdep_routines): Remove sysctl.
34495 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34496 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34497 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34498 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34499 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34501 2012-05-22 Andreas Jaeger <aj@suse.de>
34503 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34504 that pseudo_end is just ret and the stack pointer is correct also
34505 for static library in error case.
34507 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34510 * nss/nsswitch.c (defconfig_entries): New variable.
34511 (__nss_database_lookup): Don't leak defconfig entries.
34512 (nss_parse_service_list): Don't leak on error paths.
34513 (free_database_entries): New function.
34514 (free_defconfig): New function.
34515 (free_mem): Move common code to free_database_entries.
34517 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34521 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34523 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34524 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34527 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34528 (INTERNAL_SYSCALL_TYPES): Likewise.
34529 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34530 (LOAD_REGS_TYPES_[1-6]): Likewise.
34531 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34532 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34534 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34536 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34537 copysignl for GLIBC_2_0.
34538 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34539 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34541 logbl for GLIBC_2_0.
34542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34543 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34545 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34548 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34553 * time/mktime.c: Update copyright years.
34555 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34557 mktime: merge comment-quoting-style change from gnulib
34558 * time/mktime.c: Quote 'like this' in comments.
34559 The GNU coding standards suggest that we no longer quote `like this',
34560 as "`" and "'" are typically rendered asymmetrically nowadays.
34561 The typical gnulib style is to quote 'like this' when quoting
34562 code, and "like this" when quoting English.
34564 * time/mktime.c (compile-command): Add "-I.".
34566 mktime: merge mktime-internal.h change from gnulib
34567 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34569 mktime: merge time_r change from gnulib
34570 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34572 mktime: merge DEBUG change from gnulib
34573 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34574 case system <time.h> has a #define.
34576 mktime: merge <sys/types.h> change from gnulib
34577 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34578 since <time.t> is now guaranteed to define time_t.
34580 mktime: merge HAVE_CONFIG_H change from gnulib
34581 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34590 (struct rusage): Use anonymous union to pad each field to
34593 2012-05-21 David S. Miller <davem@davemloft.net>
34595 * Makefules (o-iterator): Remove .s cases.
34596 (compile-command.s): Delete.
34597 (COMPILE.s): Delete.
34598 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34600 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34602 * configure.in (libc_cv_predef_stack_protector): Only consider
34603 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34604 * configure: Regenerated.
34606 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34609 New macro. Use R*LP on int and pointer.
34610 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34612 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34613 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34615 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34616 [__WORDSIZE_TIME64_COMPAT32] instead of
34617 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34618 (struct utmp): Likewise.
34619 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34620 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34622 (__WORDSIZE_TIME64_COMPAT32): This.
34623 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34624 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34625 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34626 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34628 (__WORDSIZE_TIME64_COMPAT32): New macro.
34630 2012-05-21 Andreas Jaeger <aj@suse.de>
34632 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34633 only if [SHARED]. Add prototype for __wcschr_ia32.
34635 2012-05-21 Roland McGrath <roland@hack.frob.com>
34637 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34638 of %rbp unmolested in the jmp_buf while mangling the low bits.
34639 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34640 unmolested high bits of %rbp while demangling the low bits.
34641 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34643 2012-05-21 Andreas Jaeger <aj@suse.de>
34645 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34646 * sunrpc/svc_simple.c: Use it for registerrpc.
34647 * sunrpc/xcrypt.c: Use it for passwd2des.
34649 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34651 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34653 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34654 Don't define if [__SYSCALL_WORDSIZE != 32].
34655 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34658 2012-05-21 Bruno Haible <bruno@clisp.org>
34659 Andreas Jaeger <aj@suse.de>
34661 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34662 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34663 inptr and inend for must_buffer_ch.
34664 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34665 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34666 * stdio-common/Makefile (tests): Remove bug15.
34667 (bug15-ENV): Remove macro.
34668 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34671 2012-05-19 Andreas Jaeger <aj@suse.de>
34672 Roland McGrath <roland@hack.frob.com>
34674 * manual/contrib.texi: Completely rewritten. It contains now an
34675 alphabetical list of contributors and their contributions.
34677 2012-05-21 Richard Henderson <rth@twiddle.net>
34679 * misc/getauxval.c (__getauxval): Use unsigned long int.
34680 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34681 (getauxval): Use unsigned long int.
34683 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34685 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34687 2012-05-21 Roland McGrath <roland@hack.frob.com>
34689 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34690 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34691 __alignof__ (long double).
34693 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34697 2012-05-20 Richard Henderson <rth@twiddle.net>
34699 * misc/getauxval.c: New file.
34700 * misc/sys/auxv.h: New file.
34701 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34702 (routines): Add getauxval.
34703 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34705 * elf/dl-sysdep.c (_dl_auxv): Remove.
34706 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34707 * elf/dl-support.c (_dl_auxv): New variable.
34708 (_dl_aux_init): Initialize it.
34709 * manual/startup.texi (Auxiliary Vector): New node.
34710 * sysdeps/generic/bits/hwcap.h: New file.
34711 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34712 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34713 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34714 * sysdeps/sparc/sysdep.h: ... here. Include it.
34715 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34728 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34732 2012-05-19 David S. Miller <davem@davemloft.net>
34734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34736 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34739 * math/s_ccosh.c: Include <float.h>
34740 (__ccosh): Avoid internal overflow calculating sinh and cosh
34741 values before multiplying by sin and cos values.
34742 * math/s_ccoshf.c: Likewise.
34743 * math/s_ccoshl.c: Likewise.
34744 * math/s_csin.c: Likewise.
34745 * math/s_csinf.c: Likewise.
34746 * math/s_csinl.c: Likewise.
34747 * math/s_csinh.c: Likewise.
34748 * math/s_csinhf.c: Likewise.
34749 * math/s_csinhl.c: Likewise.
34750 * math/libm-test.inc (ccos_test): Add more tests.
34751 (ccosh_test): Likewise.
34752 (csin_test): Likewise.
34753 (csinh_test): Likewise.
34754 * sysdeps/i386/fpu/libm-test-ulps: Update.
34755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34757 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34759 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34760 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34762 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34764 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34766 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34767 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34768 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34769 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34770 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34771 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34772 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34773 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34774 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34775 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34776 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34777 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34778 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34779 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34780 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34781 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34782 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34783 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34784 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34785 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34786 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34787 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34788 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34789 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34790 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34791 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34792 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34793 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34794 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34795 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34796 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34798 2012-05-18 Andreas Jaeger <aj@suse.de>
34800 * csu/.gitignore: Delete.
34802 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34804 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34805 (timex): Use __syscall_slong_t.
34807 2012-05-18 Andreas Jaeger <aj@suse.de>
34808 Carlos O'Donell <carlos_odonell@mentor.com>
34810 * manual/install.texi (Configuring and compiling): Update
34811 description about files modified in the source directory.
34812 * INSTALL: Regenerated.
34814 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34816 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34817 value. Use "or" to set return value to -1.
34818 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34819 negate return value.
34821 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34823 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34824 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34825 failure if the compiler has Graphite support disabled.
34826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34828 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34829 (CFLAGS-memmove.c): Likewise.
34830 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34833 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34835 * sysdeps/x86_64/x32/_itoa.h: New file.
34837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34838 getdents system call only if kernel and user dirents have the
34839 same d_ino and d_off.
34841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34842 LLONG_MAX != LONG_MAX.
34843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34844 (_fitoa_word): Likewise.
34846 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34849 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34850 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34853 include <bits/wordsize.h>. Check __x86_64__ instead of
34855 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34856 if __x86_64__ is defined. Use anonymous union on fpstate.
34858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34861 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34863 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34864 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34866 Refer to _rtld_local_ro instead of _rtld_global_ro.
34867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34869 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34871 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34873 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34874 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34875 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34877 * sysdeps/powerpc/powerpc32/dl-machine.c
34878 (__elf_machine_runtime_setup) [PROF]: Don't reference
34881 2012-05-18 Andreas Jaeger <aj@suse.de>
34883 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34884 function only available for GCCs before 3.4 since GCC 3.4
34885 introduced a builtin.
34887 (llrintf): Likewise.
34888 (llrint): Likewise.
34895 (nearbyint): Likewise.
34896 (nearbyintf): Likewise.
34900 (floorf): Likewise.
34902 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34904 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34905 on both fields and cast pointer to __syscall_ulong_t.
34907 * bits/types.h (__fsword_t): New type.
34908 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34909 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34911 (__FSWORD_T_TYPE): Likewise.
34912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34913 (__FSWORD_T_TYPE): Likewise.
34914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34915 (__FSWORD_T_TYPE): Likewise.
34916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34917 (__FSWORD_T_TYPE): Likewise.
34918 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34919 __SWORD_TYPE with __fsword_t.
34920 (statfs64): Likewise.
34922 2012-05-17 David S. Miller <davem@davemloft.net>
34924 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34926 2012-05-17 Andreas Jaeger <aj@suse.de>
34928 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34931 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34933 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34935 2012-05-17 Andreas Jaeger <aj@suse.de>
34937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34940 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34942 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34944 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34946 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34947 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34949 2012-05-17 Andreas Jaeger <aj@suse.de>
34950 Carlos O'Donell <carlos_odonell@mentor.com>
34953 * sysdeps/x86_64/multiarch/init-arch.h
34954 (bit_YMM_Usable): Rename to...
34955 (bit_AVX_Usable): ... this.
34956 (bit_FMA4_Usable): New macro.
34957 (bit_XMM_state): New macro.
34958 (bit_YMM_state): New macro.
34959 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34960 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34961 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34962 (CPUID_OSXSAVE): New macro.
34963 (CPUID_AVX): New macro.
34964 (CPUID_FMA4): New macro.
34965 (index_YMM_Usable): Rename to...
34966 (index_AVX_Usable): ... this.
34967 (HAS_AVX): Use HAS_ARCH_FEATURE.
34968 (HAS_FMA4): Likewise.
34969 (HAS_YMM_USABLE): Remove.
34970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34971 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34973 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34974 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34975 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34976 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34977 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34979 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34981 * math/libm-test.c: Support platforms without multiple rounding modes.
34982 * math/bug-nextafter.c: Support platforms without FP exceptions.
34983 * math/bug-nexttoward.c: Likewise.
34984 * math/test-fenv.c: Likewise.
34985 * math/test-misc.c: Likewise.
34986 * stdlib/bug-getcontext.c: Likewise.
34988 2012-05-17 Andreas Jaeger <aj@suse.de>
34990 * manual/examples/search.c (critter_cmp): Change signature to
34992 * manual/string.texi (Collation Functions): Likewise.
34994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34996 * bits/types.h: Fold copyright years.
34997 * bits/typesizes.h: Likewise.
34998 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35002 * time/time.h: Likewise.
35004 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35007 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35008 in instead of returning them. Return void.
35009 (__libc_mallinfo): Accumulate over all arenas.
35010 (__malloc_stats): Adjust for change in int_mallinfo interface.
35012 2012-05-16 Roland McGrath <roland@hack.frob.com>
35015 * configure.in (NM): Add AC_CHECK_TOOL for it.
35016 (libc_extra_cflags): New substituted variable.
35017 Check for -fstack-protector being used implicitly.
35018 * configure: Regenerated.
35019 * config.make.in (config-extra-cflags): New variable,
35020 gets @libc_extra_cflags@.
35021 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35024 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35025 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35026 * configure: Regenerated.
35027 * config.make.in (CPPUNDEFS): New substituted variable.
35028 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35029 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35030 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35034 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35035 (mq_attr): Use __syscall_slong_t.
35037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35039 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35040 Check __x86_64__ instead of __WORDSIZE.
35041 (_STAT_VER_LINUX): Likewise.
35042 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35043 __syscall_ulong_t and __syscall_slong_t.
35044 (stat64): Likewise.
35046 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35050 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35052 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35054 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35056 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35059 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35060 include <bits/wordsize.h>. Check __x86_64__ instead of
35062 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35064 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35066 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35067 include <bits/wordsize.h>. Check __x86_64__ instead of
35069 (user_regs_struct): Use "__extension__ unsigned long long"
35070 instead of "unsigned long" if __x86_64__ is defined.
35071 (user): Likewise. Pad after pointer field if __ILP32__ is
35074 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35076 * configure.in (makeinfo): Require version 4.5 or later. Allow
35078 * configure: Regenerated.
35079 * manual/install.texi (texinfo): Increase version requirement to
35081 * INSTALL: Regenerated.
35083 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35087 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35089 * sysdeps/x86_64/x32/ffs.c: New file.
35091 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35093 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35094 defined. Use __syscall_ulong_t.
35095 (shminfo): Use __syscall_ulong_t.
35096 (shm_info): Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35103 (msgqnum_t): Use __syscall_ulong_t.
35104 (msglen_t): Likewise.
35105 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35108 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35111 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35113 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35114 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35116 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35120 include <bits/wordsize.h>. Check __x86_64__ instead of
35123 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35124 "unsigned long long int" if __x86_64__ is defined.
35125 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35128 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35129 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35131 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35133 (GET_PC): Cast to uintptr_t first.
35134 (GET_FRAME): Likewise.
35135 (GET_STACK): Likewise.
35137 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35139 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35140 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35141 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35144 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35145 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35157 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35163 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35167 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35169 * Makerules (+depfiles): Also collect depfiles from .oS in
35171 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35172 .oS, $(libnldbl-routines)).
35174 * Makerules (native-compile-mkdep-flags): Define.
35175 * sunrpc/Makefile (extra-objs): Add $(addprefix
35176 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35177 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35178 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35179 calling $(make-target-directory).
35181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35183 * bits/types.h (__snseconds_t): Removed.
35184 * time/time.h (struct timespec): Replace __snseconds_t with
35186 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35187 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35190 (__SNSECONDS_T_TYPE): Likewise.
35191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35192 (__SNSECONDS_T_TYPE): Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35194 (__SNSECONDS_T_TYPE): Likewise.
35196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35198 * sysdeps/mach/hurd/bits/typesizes.h
35199 (__SYSCALL_SLONG_TYPE): New macro.
35200 (__SYSCALL_ULONG_TYPE): Likewise.
35202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35204 * bits/types.h (__syscall_slong_t): New type.
35205 (__syscall_ulong_t): Likewise.
35207 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35208 (__SYSCALL_ULONG_TYPE): Likewise.
35209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35210 (__SYSCALL_SLONG_TYPE): Likewise.
35211 (__SYSCALL_ULONG_TYPE): Likewise.
35212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35213 (__SYSCALL_SLONG_TYPE): Likewise.
35214 (__SYSCALL_ULONG_TYPE): Likewise.
35215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35216 (__SYSCALL_SLONG_TYPE): Likewise.
35217 (__SYSCALL_ULONG_TYPE): Likewise.
35219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35221 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35222 Add sigaltstack-offsets.sym.
35223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35224 <sigaltstack-offsets.h>.
35225 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35226 longjmp_msg pointer.
35227 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35228 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35230 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35232 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35234 * elf/stackguard-macros.h: Remove file.
35235 * sysdeps/generic/stackguard-macros.h: New file.
35236 * sysdeps/i386/stackguard-macros.h: Likewise.
35237 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35238 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35239 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35240 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35241 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35242 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35243 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35244 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35245 <elf/stackguard-macros.h>.
35248 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35249 __aligned__ in attribute.
35250 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35251 (gregset_t): Likewise.
35253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35255 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35256 * sysdeps/x86_64/64/Implies-after: Here. New file.
35257 * sysdeps/x86_64/x32/Implies-after: New file.
35259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35261 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35262 and access return value for _dl_profile_fixup. Use R10_LP to
35265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35267 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35272 * sysdeps/x86_64/x32/sysdep.h: New file.
35274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35276 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35277 * sysdeps/x86_64/setjmp.S: Likewise.
35279 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35281 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35282 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35283 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35285 remove unused global constant.
35287 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35289 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35290 include of <not-cancel.h>.
35292 2012-05-15 Roland McGrath <roland@hack.frob.com>
35294 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35296 2012-05-15 Jeff Law <law@redhat.com>
35297 Andreas Jaeger <aj@suse.de>
35300 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35302 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35303 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35304 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35305 code changing __hst_map_handle.map.
35307 2012-05-15 Roland McGrath <roland@hack.frob.com>
35309 * configure.in (sysnames): Look for Implies-before and Implies-after
35311 * configure: Regenerated.
35313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35315 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35316 8-byte data alignment with LP_SIZE alignment.
35318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35320 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35325 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35330 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35337 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35338 (stackinfo_sub_sp): Likewise.
35340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35357 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35361 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35362 into R11_LP and load __x86_64_shared_cache_size_half into
35365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35367 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35370 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35379 powerpc32/power7/fpu/s_logb.c via #include.
35380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35381 powerpc32/power7/fpu/s_logbf.c via #include.
35382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35383 powerpc32/power7/fpu/s_logbl.c via #include.
35385 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35387 * README.libm: Remove file.
35389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35391 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35392 count for x32. Use R*_LP and omit operand-size suffix.
35394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35396 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35397 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35398 * sysdeps/x86_64/x32/shlib-versions: New file.
35400 2012-05-14 Roland McGrath <roland@hack.frob.com>
35402 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35403 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35404 Use _dl_fatal_printf instead.
35406 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35408 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35409 set if not set by the user. Do not allow for being unset.
35410 * sysdeps/unix/sysv/linux/configure: Regenerated.
35412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35414 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35415 the `q' suffix from lea and replace .quad with ASM_ADDR.
35417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35420 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35422 (PTR_DEMANGLE): Likewise.
35424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35426 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35428 (ASM_ADDR): Likewise.
35429 (RAX_LP): Likewise.
35430 (RBP_LP): Likewise.
35431 (RBX_LP): Likewise.
35432 (RCX_LP): Likewise.
35433 (RDI_LP): Likewise.
35434 (RSI_LP): Likewise.
35435 (RSP_LP): Likewise.
35438 (R10_LP): Likewise.
35439 (R10_LP): Likewise.
35440 (R11_LP): Likewise.
35441 (R12_LP): Likewise.
35442 (R13_LP): Likewise.
35443 (R14_LP): Likewise.
35444 (R15_LP): Likewise.
35446 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35448 * sysdeps/x86_64/x32/dl-machine.h: New file.
35450 2012-05-14 Andreas Jaeger <aj@suse.de>
35452 * manual/Makefile (subdir): Remove export of subdir.
35453 (all): Remove target.
35454 (.PHONY): Remove all from list.
35455 (mkinstalldirs): Remove.
35456 (.PHONY): Remove installdirs from list.
35457 ($(inst_infodir)/libc.info): Use make-target-directory.
35458 (installdirs): Remove.
35459 (subdir_%): Remove.
35460 (glibc-targets): Remove.
35463 ($(objpfx)stubs ../po/manual.pot): Remove.
35464 ($(objpfx)stamp%): Remove.
35465 (make-target-directory): Remove.
35466 (subdir_install): Remove.
35467 (routines): Remove.
35474 * manual/.gitignore: Remove, it's not needed anymore.
35475 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35477 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35479 (texis): Renamed to $(objpfx)texis.
35480 (texis-path): New, contains path to generated files.
35481 (chapters.%): Use texis-path for complete path, add extra argument
35483 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35484 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35485 (summary,texi, stamp-summary): Use complete path of
35486 files. Generate files in build dir.
35487 (dir-add.texi): Build in build dir.
35488 (libm-err.texi,stamp-libm-err): Likewise.
35489 (version.texi, stamp-version): Likewise.
35490 (.%c.texi): Likewise.
35491 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35492 (mostlyclean): Remove target.
35493 (realclean): Remove target.
35494 (generated): Add new variable with contents from mostlyclean and
35495 realclean, remove entries duplicated in common-mostlyclean, add
35496 stamp-libm-err and stamp-version.
35497 (generated-dirs): Add libc directory.
35498 ($(inst_infodir)/libc.info): Install files from build dir.
35500 * manual/install.texi (Configuring and compiling): Adjust since
35501 the info files are not part of the tar ball anymore.
35503 2012-05-14 Andreas Jaeger <aj@suse.de>
35505 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35508 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35512 to 2.2.0 where earlier.
35513 * sysdeps/unix/sysv/linux/configure: Regenerated.
35514 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35515 Remove conditional code.
35516 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35517 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35518 Remove conditional code.
35519 [!__NR_lchown]: Likewise.
35520 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35521 [__NR_lchown]: Likewise.
35522 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35523 comment referencing __ASSUME_LCHOWN_SYSCALL.
35524 * sysdeps/unix/sysv/linux/i386/sigaction.c
35525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35527 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35528 Remove conditional code.
35529 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35530 (__protocol_available): Remove #if 0 code.
35531 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35533 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35534 * sysdeps/unix/sysv/linux/kernel-features.h
35535 (__ASSUME_GETCWD_SYSCALL): Don't define.
35536 (__ASSUME_REALTIME_SIGNALS): Likewise.
35537 (__ASSUME_PREAD_SYSCALL): Likewise.
35538 (__ASSUME_PWRITE_SYSCALL): Likewise.
35539 (__ASSUME_POLL_SYSCALL): Likewise.
35540 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35541 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35543 (__ASSUME_SIOCGIFNAME): Don't define.
35544 (__ASSUME_MSG_NOSIGNAL): Likewise.
35545 (__ASSUME_SENDFILE): Define unconditionally.
35546 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35547 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35549 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35550 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35551 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35552 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35553 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35554 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35555 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35580 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35581 Remove conditional code.
35582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35583 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35584 Remove conditional code.
35585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35586 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35587 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35588 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35589 Remove conditional code.
35590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35591 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35592 Remove conditional code.
35593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35594 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35595 Remove conditional code.
35596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35597 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35598 Remove conditional code.
35599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35600 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35601 Remove conditional code.
35602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35603 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35606 * sysdeps/unix/sysv/linux/sigaction.c
35607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35609 * sysdeps/unix/sysv/linux/sigpending.c
35610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35612 * sysdeps/unix/sysv/linux/sigprocmask.c
35613 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35614 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35615 * sysdeps/unix/sysv/linux/sigsuspend.c
35616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35618 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35619 (__libc_missing_rt_sigs): Remove.
35620 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35621 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35622 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35623 Remove conditional code.
35624 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35625 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35627 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35628 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35630 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35632 2012-05-14 Andreas Jaeger <aj@suse.de>
35634 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35635 it's not used in glibc.
35636 (__coshm1): Likewise.
35637 (__acosh1p): Likewise.
35640 * manual/string.texi (Copying and Concatenation): Add missing
35641 variable in concat example.
35642 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35648 __builtin_clzl with __builtin_clzll.
35650 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35653 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35656 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35658 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35659 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35660 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35661 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35663 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35665 * NEWS: Update ia64 info.
35667 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35669 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35672 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35674 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35675 * sysdeps/unix/syscalls.list (dup3): Likewise.
35676 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35677 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35679 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35681 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35682 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35684 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35686 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35688 (TLS_IE): Use mov/add instead of movq/addq to load thread
35690 (TLS_GD_PREFIX): New.
35693 2012-05-11 David S. Miller <davem@davemloft.net>
35695 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35696 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35697 (_FPU_SETCW): Likewise.
35699 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35702 is 32-byte aligned.
35704 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35707 * iconvdata/gb18030.c: Update tables.
35708 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35709 characters specially.
35710 (BODY for TO_LOOP): Add encoding of missing ranges.
35712 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35715 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35716 * sysdeps/mach/hurd/dup3.c: Likewise.
35717 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35718 * sysdeps/powerpc/memmove.c:: Likewise.
35720 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35723 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35725 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35727 * elf/elf.h (R_X86_64_RELATIVE64): New.
35728 (R_X86_64_NUM): Updated.
35729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35730 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35731 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35732 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35733 tst-quad1pie tst-quad2pie
35734 (modules-names): Add tst-quadmod1 tst-quadmod2.
35735 ($(objpfx)tst-quad1): New dependency.
35736 ($(objpfx)tst-quad2): Likewise.
35737 ($(objpfx)tst-quad1pie): Likewise.
35738 ($(objpfx)tst-quad2pie): Likewise.
35739 * sysdeps/x86_64/tst-quad1.c: New file.
35740 * sysdeps/x86_64/tst-quad1pie.c: New file.
35741 * sysdeps/x86_64/tst-quad2.c: Likewise.
35742 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35743 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35744 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35745 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35746 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35750 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35751 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35752 * streams/stropts.h (t_scalar_t): Define type.
35754 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35755 (_PATH_PRESERVE): Set to "/var/lib".
35756 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35758 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35761 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35762 if __dir_mkfile succeeded.
35764 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35765 checking for _hurd_dtablesize. Unlock it right after having
35766 finished _hurd_dtable allocation.
35768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35770 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35771 * sysdeps/mach/hurd/configure: Regenerated.
35772 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35773 special-casing to...
35774 * sysdeps/gnu/configure.in: ... this new file.
35775 * sysdeps/unix/sysv/linux/configure: Regenerated.
35776 * sysdeps/gnu/configure: New generated file.
35778 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35779 for Linux: use nsec instead of usec, as well as:
35780 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35781 members of type struct timespec.
35782 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35784 (struct stat64): Likewise.
35785 (_STATBUF_ST_NSEC): New macro.
35786 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35789 __strtoul_internal rather than strtoul.
35791 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35793 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35798 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35799 which preserves existing values.
35800 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35802 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35804 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35805 TIMEOUT values. Return EINVAL for NFDS values either negative or
35806 greater than FD_SETSIZE.
35808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35810 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35811 allocated, call __vm_protect to finish enabling the existing space, and
35812 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35813 allocate the remainder.
35815 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35817 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35818 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35822 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35823 sysdeps/mach/hurd/readlink.c.
35825 * posix/tst-sysconf.c (posix_options): Only use
35826 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35827 _POSIX_SYNCHRONIZED_IO when they are defined
35828 * sysdeps/mach/hurd/bits/posix_opt.h:
35829 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35830 (_XOPEN_REALTIME): Undefine macro.
35831 (_XOPEN_REALTIME_THREADS): Undefine macro.
35832 (_XOPEN_SHM): Undefine macro.
35833 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35835 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35837 (_POSIX_ASYNC_IO): Undefine macro.
35838 (_POSIX_PRIORITIZED_IO): Undefine macro.
35839 (_POSIX_SPIN_LOCKS): Define macro to -1.
35841 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35842 SA_NODEFER, SA_RESETHAND.
35843 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35844 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35849 * elf/Makefile (pldd-modules): Define unconditionally.
35851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35853 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35857 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35858 Return ENOENT when name is empty.
35859 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35863 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35865 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35869 Fix mlock in all cases except non-readable pages.
35870 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35871 instead of VM_PROT_ALL as parameter to __vm_wire function.
35873 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35874 (__mkdir): When path is `/', just fail with EEXIST.
35875 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35879 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35880 <sys/uio.h> (for writev).
35881 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35882 and <sys/param.h> (for MIN).
35884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35886 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35887 REQUESTED_TIME. Properly set the remaining time and return EINTR
35890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35892 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35893 Depend on against $(link-rpcuserlibs).
35895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35897 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35898 (__libc_stack_end): Do not use attribute_relro.
35899 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35900 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35901 to libthread-provided value.
35902 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35905 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35908 * bits/libc-lock.h (__libc_once_get): New macro.
35909 * sysdeps/mach/bits/libc-lock.h: Likewise.
35910 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35912 instead of using implementation details.
35914 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35915 * libio/freopen.c: Likewise.
35916 * libio/freopen64.c: Likewise.
35917 * misc/syslog.c: Likewise.
35918 * nscd/connections.c: Likewise.
35919 * nscd/netgroupcache.c: Likewise.
35920 * sysdeps/posix/getcwd.c: Likewise.
35922 2012-05-10 Roland McGrath <roland@hack.frob.com>
35924 * math/w_ilogbf.c: Add #include <limits.h>.
35926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35928 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35929 path instead of returning without unlocking.
35931 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35932 immediate-write ioctls.
35933 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35937 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35938 __builtin_frame_address instead of making assumptions about the
35939 location of the return address relative to DATA. Force early load of
35940 the return address.
35941 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35942 __builtin_frame_address.
35945 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35946 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35947 implement dup3 and do some further code clean-ups.
35948 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35949 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35953 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35955 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35956 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35957 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35958 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35959 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35962 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35963 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35964 when handler == SIG_ERR, not when handler != SIG_ERR.
35966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35968 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35969 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35972 accept4 for GNU Hurd.
35973 * include/sys/socket.h (__libc_accept4): New prototype.
35974 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35975 to implement __libc_accept4.
35976 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35978 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35980 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35981 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35982 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35983 signal-defines.sym.
35985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35987 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35989 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35991 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35992 assertion on O_CLOEXEC flag.
35993 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35994 * hurd/intern-fd.c: Likewise.
35995 * hurd/port2fd.c: Likewise.
35997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36000 * bits/in.h (IPV6_PKTINFO): Define new macro.
36001 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36003 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36008 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36010 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36013 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36014 * math/libm-test.inc (logb_test) : Additional logb tests.
36016 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36017 Andreas Jaeger <aj@suse.de>
36019 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36020 * configure: Regenerated.
36021 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36022 * config.make.in (link-obsolete-rpc): New substituted variable.
36023 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36024 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36025 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36026 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36027 so that libc.a contains the symbols.
36028 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36029 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36030 * sunrpc/auth_none.c: Likewise.
36031 * sunrpc/auth_unix.c: Likewise.
36032 * sunrpc/authdes_prot.c: Likewise.
36033 * sunrpc/authuxprot.c: Likewise.
36034 * sunrpc/clnt_gen.c: Likewise.
36035 * sunrpc/clnt_perr.c: Likewise.
36036 * sunrpc/clnt_raw.c: Likewise.
36037 * sunrpc/clnt_simp.c: Likewise.
36038 * sunrpc/clnt_tcp.c: Likewise.
36039 * sunrpc/clnt_udp.c: Likewise.
36040 * sunrpc/clnt_unix.c: Likewise.
36041 * sunrpc/des_crypt.c: Likewise.
36042 * sunrpc/des_soft.c: Likewise.
36043 * sunrpc/get_myaddr.c: Likewise.
36044 * sunrpc/key_call.c: Likewise.
36045 * sunrpc/key_prot.c: Likewise.
36046 * sunrpc/netname.c: Likewise.
36047 * sunrpc/pm_getmaps.c: Likewise.
36048 * sunrpc/pm_getport.c: Likewise.
36049 * sunrpc/pmap_clnt.c: Likewise.
36050 * sunrpc/pmap_prot.c: Likewise.
36051 * sunrpc/pmap_prot2.c: Likewise.
36052 * sunrpc/pmap_rmt.c: Likewise.
36053 * sunrpc/publickey.c: Likewise.
36054 * sunrpc/rpc_cmsg.c: Likewise.
36055 * sunrpc/rpc_common.c: Likewise.
36056 * sunrpc/rpc_dtable.c: Likewise.
36057 * sunrpc/rpc_prot.c: Likewise.
36058 * sunrpc/rpc_thread.c: Likewise.
36059 * sunrpc/rtime.c: Likewise.
36060 * sunrpc/svc.c: Likewise.
36061 * sunrpc/svc_auth.c: Likewise.
36062 * sunrpc/svc_raw.c: Likewise.
36063 * sunrpc/svc_run.c: Likewise.
36064 * sunrpc/svc_tcp.c: Likewise.
36065 * sunrpc/svc_udp.c: Likewise.
36066 * sunrpc/svc_unix.c: Likewise.
36067 * sunrpc/svcauth_des.c: Likewise.
36068 * sunrpc/xcrypt.c: Likewise.
36069 * sunrpc/xdr.c: Likewise.
36070 * sunrpc/xdr_array.c: Likewise.
36071 * sunrpc/xdr_float.c: Likewise.
36072 * sunrpc/xdr_intXX_t.c: Likewise.
36073 * sunrpc/xdr_mem.c: Likewise.
36074 * sunrpc/xdr_rec.c: Likewise.
36075 * sunrpc/xdr_ref.c: Likewise.
36076 * sunrpc/xdr_sizeof.c: Likewise.
36077 * sunrpc/xdr_stdio.c: Likewise.
36079 2012-05-10 Roland McGrath <roland@hack.frob.com>
36081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36082 change. Update copyright years.
36084 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36086 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36088 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36089 Joseph Myers <joseph@codesourcery.com>
36090 Paul Pluzhnikov <ppluzhnikov@google.com>
36093 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36095 [cross-compiling] (extra-libs): Likewise.
36096 [cross-compiling] (extra-libs-others): Likewise.
36097 [cross-compiling] (librpcsvc-routines): Likewise.
36098 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36099 [cross-compiling] (omit-deps): Likewise.
36100 (sunrpc-CPPFLAGS): New variable.
36101 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36102 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36103 (cross-rpcgen-objs): New variable.
36104 (extra-objs): Append $(cross-rpcgen-objs).
36105 ($(cross-rpcgen-objs)): New rule.
36106 ($(objpfx)cross-rpcgen): Likewise.
36107 (rpcgen-cmd): Define to use $(built-program-file). Expand
36109 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36110 ($(objpfx)x%.stmp): Likewise.
36111 * sunrpc/proto.h [IS_IN_build] (_): Define.
36112 [IS_IN_build] (_libc_intl_domainname): Likewise.
36114 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36117 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36118 and R_X86_64_TPOFF64.
36120 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36122 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36123 sysdeps/unix/sysv/syscalls.list.
36126 * sysdeps/unix/sysv/syscalls.list: Remove file.
36128 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36131 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36132 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36133 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36134 (__LC_IDENTIFICATION): Make these macros useful in #if
36135 expressions, as required by C99.
36137 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36139 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36140 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36143 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36145 * stdlib/longlong.h: Updated from GCC.
36147 2012-05-09 Andreas Jaeger <aj@suse.de>
36149 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36150 default is first entry.
36151 (run_mode): Set type.
36152 (main): Remove informal message about syslog.
36153 (options): Fix typo.
36156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36159 (llrintf): Likewise.
36160 (llrint): Likewise.
36163 (nearbyint): Likewise.
36164 (nearbyintf): Likewise.
36166 2012-05-09 Andreas Jaeger <aj@suse.de>
36167 Pedro Alves <palves@redhat.com>
36169 * nscd/nscd.c (run_mode): Use enum.
36170 (main): Cleanup coding style issue.
36172 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36173 Andreas Jaeger <aj@suse.de>
36175 * nscd/nscd.c (go_background): Replaced with...
36176 (run_mode): ... this.
36177 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36178 (options): Add -F --foreground.
36179 (main): Implement it.
36180 (parse_opt): Parse it.
36182 2012-05-09 Andreas Jaeger <aj@suse.de>
36185 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36186 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36187 -Wconversion warning.
36188 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36191 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36193 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36195 (LC_ALL): Use macro-int-constant.
36196 (LC_COLLATE): Likewise.
36197 (LC_CTYPE): Likewise.
36198 (LC_MESSAGES): Likewise.
36199 (LC_MONETARY): Likewise.
36200 (LC_NUMERIC): Likewise.
36201 (LC_TIME): Likewise.
36202 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36203 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36205 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36207 [C99-based standards] (float_t): Expect type.
36208 [C99-based standards] (double_t): Expect type.
36209 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36211 [C99-based standards] (HUGE_VALL): Likewise.
36212 [C99-based standards] (INFINITY): Likewise.
36213 [C99-based standards] (NAN): Likewise.
36214 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36215 [C99-based standards] (FP_NAN): Likewise.
36216 [C99-based standards] (FP_NORMAL): Likewise.
36217 [C99-based standards] (FP_SUBNORMAL): Likewise.
36218 [C99-based standards] (FP_ZERO): Likewise.
36219 [C99-based standards] (FP_FAST_FMA): Use
36220 optional-macro-int-constant. Specify type. Require == 1.
36221 [C99-based standards] (FP_FAST_FMAF): Likewise.
36222 [C99-based standards] (FP_FAST_FMAL): Likewise.
36223 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36224 [C99-based standards] (FP_ILOGBNAN): Likewise.
36225 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36227 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36228 [C99-based standards] (math_errhandling): Specify type.
36229 [ISO99 || ISO11] (signgam): Do not allow.
36230 [non-C99-based standards] (copysignf): Do not allow.
36231 [non-C99-based standards] (exp2f): Likewise.
36232 [non-C99-based standards] (log2f): Likewise.
36233 [non-C99-based standards] (modff): Allow.
36234 [non-C99-based standards] (erff): Do not allow.
36235 [non-C99-based standards] (erfcf): Likewise.
36236 [non-C99-based standards] (gammaf): Likewise.
36237 [non-C99-based standards] (hypotf): Likewise.
36238 [non-C99-based standards] (j0f): Likewise.
36239 [non-C99-based standards] (j1f): Likewise.
36240 [non-C99-based standards] (jnf): Likewise.
36241 [non-C99-based standards] (lgammaf): Likewise.
36242 [non-C99-based standards] (tgammaf): Likewise.
36243 [non-C99-based standards] (y0f): Likewise.
36244 [non-C99-based standards] (y1f): Likewise.
36245 [non-C99-based standards] (ynf): Likewise.
36246 [non-C99-based standards] (isnanf): Likewise.
36247 [non-C99-based standards] (acoshf): Likewise.
36248 [non-C99-based standards] (asinhf): Likewise.
36249 [non-C99-based standards] (atanhf): Likewise.
36250 [non-C99-based standards] (cbrtf): Likewise.
36251 [non-C99-based standards] (expm1f): Likewise.
36252 [non-C99-based standards] (ilogbf): Likewise.
36253 [non-C99-based standards] (log1pf): Likewise.
36254 [non-C99-based standards] (logbf): Likewise.
36255 [non-C99-based standards] (nextafterf): Likewise.
36256 [non-C99-based standards] (remainderf): Likewise.
36257 [non-C99-based standards] (rintf): Likewise.
36258 [non-C99-based standards] (scalbf): Likewise.
36259 [non-C99-based standards] (copysignl): Likewise.
36260 [non-C99-based standards] (exp2l): Likewise.
36261 [non-C99-based standards] (log2l): Likewise.
36262 [non-C99-based standards] (modfl): Allow.
36263 [non-C99-based standards] (erfl): Do not allow.
36264 [non-C99-based standards] (erfcl): Likewise.
36265 [non-C99-based standards] (gammal): Likewise.
36266 [non-C99-based standards] (hypotl): Likewise.
36267 [non-C99-based standards] (j0l): Likewise.
36268 [non-C99-based standards] (j1l): Likewise.
36269 [non-C99-based standards] (jnl): Likewise.
36270 [non-C99-based standards] (lgammal): Likewise.
36271 [non-C99-based standards] (tgammal): Likewise.
36272 [non-C99-based standards] (y0l): Likewise.
36273 [non-C99-based standards] (y1l): Likewise.
36274 [non-C99-based standards] (ynl): Likewise.
36275 [non-C99-based standards] (isnanl): Likewise.
36276 [non-C99-based standards] (acoshl): Likewise.
36277 [non-C99-based standards] (asinhl): Likewise.
36278 [non-C99-based standards] (atanhl): Likewise.
36279 [non-C99-based standards] (cbrtl): Likewise.
36280 [non-C99-based standards] (expm1l): Likewise.
36281 [non-C99-based standards] (ilogbl): Likewise.
36282 [non-C99-based standards] (log1pl): Likewise.
36283 [non-C99-based standards] (logbl): Likewise.
36284 [non-C99-based standards] (nextafterl): Likewise.
36285 [non-C99-based standards] (remainderl): Likewise.
36286 [non-C99-based standards] (rintl): Likewise.
36287 [non-C99-based standards] (scalbl): Likewise.
36288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36289 [non-C99-based standards] (FP_*): Do not allow.
36290 [C99-based standards] (FP_*): Change to
36291 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36292 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36294 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36295 (SIG_ERR): Likewise.
36296 [X/Open-based standards] (SIG_HOLD): Likewise.
36297 (SIG_IGN): Likewise.
36298 (SIGABRT): Use macro-int-constant. Specify type. Require
36300 (SIGFPE): Likewise.
36301 (SIGILL): Likewise.
36302 (SIGINT): Likewise.
36303 (SIGSEGV): Likewise.
36304 (SIGTER): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36307 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36323 [X/Open-based standards] (SIGTRAP): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36328 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36331 2012-05-08 Ian Wienand <ianw@vmware.com>
36334 * time/tzset.c (__tzset_parse_tz): Update default rules for
36335 daylight time changes in the Energy Policy Act of 2005.
36337 2012-05-09 Andreas Jaeger <aj@suse.de>
36340 * elf/ldconfig.c (parse_conf): Change string to make clear that
36341 ldconfig only issued a warning if ld.so.conf does not exist.
36343 2012-05-08 David S. Miller <davem@davemloft.net>
36345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36346 movxtod instead of popping the value on the stack.
36348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36350 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36352 * config.h.in: Add HAVE_ARM_PCS_VFP.
36354 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36357 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36358 checking but the checks are disabled for any reason.
36360 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36362 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36363 and ELF64_R_TYPE with ELFW(R_TYPE).
36365 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36367 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36368 (ulimit): Likewise.
36370 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36371 (settimeofday): Likewise.
36373 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36375 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36376 a struct th_u2 inside the union, and move tu_block/tu_code into
36377 a new th_u3 union of tu_block/tu_code inside of that. Move
36378 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36379 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36380 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36381 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36382 (th_stuff): Change to th_u1.tu_stuff.
36384 (th_msg): Change to th_u1.th_u2.tu_data.
36386 2012-05-07 David S. Miller <davem@davemloft.net>
36388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36391 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36392 (SETUP_PIC_REG): Use it.
36393 (SETUP_PIC_REG_LEAF): Use it.
36395 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36401 (EXPL_FINITE): Likewise.
36402 (FLDLOG): Likewise.
36403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36404 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36408 (EXPL_FINITE): Likewise.
36409 (FLDLOG): Likewise.
36410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36411 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36413 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36414 test of -max_value argument for long double.
36415 * sysdeps/i386/fpu/libm-test-ulps: Update.
36416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36418 2012-05-06 David S. Miller <davem@davemloft.net>
36420 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36421 quad soft-float symbols whose references which are compiler
36423 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36425 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36431 (EXPL_FINITE): Likewise.
36432 (FLDLOG): Likewise.
36435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36436 Adjust comments for base varying.
36437 (__expl_finite): Change alias to EXPL_FINITE.
36438 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36440 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36441 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36442 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36443 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36446 (EXPL_FINITE): Likewise.
36447 (FLDLOG): Likewise.
36450 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36451 Adjust comments for base varying.
36452 (__expl_finite): Change alias to EXPL_FINITE.
36453 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36458 * math/libm-test.inc (check_float_internal): Correct ulp
36459 calculation for subnormal expected results.
36461 2012-05-06 Andreas Jaeger <aj@suse.de>
36463 * Makeconfig (+math-flags): New, set to -frounding-math.
36464 (+cflags): Add +math-flags so that all of glibc gets compiled with
36467 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36469 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36471 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36477 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36478 (__ieee754_expl): Allow for and saturate large arguments.
36479 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36480 (u_threshold): Likewise.
36481 (__exp): Call __ieee754_exp before checking for overflow and
36483 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36484 (u_threshold): Likewise.
36485 (__expf): Call __ieee754_expf before checking for overflow and
36487 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36488 (u_threshold): Likewise.
36489 (__expl): Call __ieee754_expl before checking for overflow and
36491 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36492 (__ieee754_expl): Allow for and saturate large arguments.
36493 * math/libm-test.inc (exp_test): Add another test. Do not allow
36494 missing overflow exception on overflow.
36495 (expm1_test): Do not allow missing overflow exception on overflow.
36497 * sysdeps/i386/fpu/e_expl.c: Move to ...
36498 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36499 rather than using inline asm.
36500 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36501 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36502 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36504 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36507 (signal): Likewise.
36511 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36513 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36514 sysdeps/unix/common/syscalls.list.
36515 (fchmod): Likewise.
36516 (fchown): Likewise.
36517 (ftruncate): Likewise.
36518 (getrusage): Likewise.
36519 (gettimeofday): Likewise.
36520 (setpgid): Likewise.
36521 (setregid): Likewise.
36522 (setreuid): Likewise.
36523 (sigaction): Likewise.
36524 (truncate): Likewise.
36525 (vhangup): Likewise.
36526 * sysdeps/unix/common/syscalls.list: Remove file.
36527 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36528 * sysdeps/unix/sysv/linux/Implies: Likewise.
36530 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36532 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36534 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36538 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36541 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36544 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36547 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36550 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36556 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36560 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36564 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36567 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36571 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36575 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36577 * sysdeps/unix/common/bits/dirent.h: Remove file.
36578 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36580 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36581 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36582 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36583 * sysdeps/unix/bsd/isatty.c: Likewise.
36584 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36585 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36586 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36588 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36592 long double comparison inaccuracies.
36593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36596 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36598 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36601 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36605 nonzero digits before rounding a hex value.
36606 * stdlib/tst-strtod.c (tests): Add another test.
36608 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36610 * sysdeps/s390/fpu/libm-test-ulps: Update.
36612 2012-05-03 Andreas Jaeger <aj@suse.de>
36614 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36615 does not get optimized out.
36616 (malloc_opt_barrier): New.
36618 2012-05-03 Andreas Jaeger <aj@suse.de>
36619 Roland McGrath <roland@hack.frob.com>
36621 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36622 intermediate file deletion.
36623 (generated): Add .symlist files.
36625 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36628 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36629 Redirect under this condition.
36630 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36631 [__USE_GNU] (__dprintf_chk): Not under this condition.
36632 [__USE_GNU] (__vdprintf_chk): Likewise.
36633 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36634 under this condition.
36635 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36636 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36637 [__USE_XOPEN2K8] (vdprintf): Likewise.
36638 [__USE_GNU] (__dprintf_chk): Not under this condition.
36639 [__USE_GNU] (__vdprintf_chk): Likewise.
36640 [__USE_GNU] (dprintf): Likewise.
36641 [__USE_GNU] (vdprintf): Likewise.
36643 2012-05-03 Roland McGrath <roland@hack.frob.com>
36645 * elf/Makefile (common-generated): Set this instead of generated for
36646 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36647 $(all-built-dso)-derived lists.
36649 2012-05-03 Andreas Jaeger <aj@suse.de>
36651 * sysdeps/i386/fpu/libm-test-ulps: Update.
36654 * FAQ.in: Likewise.
36655 * scripts/gen-FAQ.pl: Likewise.
36656 * manual/install.texi (Installation): Point to online location of
36658 * Makefile (files-for-dist): Remove FAQ.
36661 2012-05-02 Allan McRae <allan@archlinux.org>
36663 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36664 (LDFLAGS-reldepmod5.so): Likewise.
36665 (LDFLAGS-reldep6mod1.so): Likewise.
36666 (LDFLAGS-reldep6mod4.so): Likewise.
36667 (LDFLAGS-reldep8mod3.so): Likewise.
36668 (LDFLAGS-unload4mod1.so): Likewise.
36669 (LDFLAGS-unload4mod2.so): Likewise.
36670 (LDFLAGS-tst-initorder): Likewise.
36671 (LDFLAGS-tst-initordera2.so): Likewise.
36672 (LDFLAGS-tst-initordera3.so): Likewise.
36673 (LDFLAGS-tst-initordera4.so): Likewise.
36674 (LDFLAGS-tst-initorderb2.so): Likewise.
36675 (LDFLAGS-noload): Likewise.
36676 (LDFLAGS-next): Likewise.
36677 (LDFLAGS-order2mod1.so): Likewise.
36678 (LDFLAGS-order2mod2.so): Likewise.
36679 (LDFLAGS-tst-initorder2): Likewise.
36680 (LDFLAGS-tst-initorder2a.so): Likewise.
36681 (LDFLAGS-tst-initorder2b.so): Likewise.
36682 (LDFLAGS-tst-initorder2c.so): Likewise.
36683 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36685 2012-05-02 David S. Miller <davem@davemloft.net>
36687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36689 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36692 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36694 2012-05-02 Andreas Jaeger <aj@suse.de>
36696 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36697 since we manipulate rounding mode.
36698 (CPPFLAGS-test-idouble.c): Likewise.
36699 (CPPFLAGS-test-ifloat.c): Likewise.
36700 (CFLAGS-test-ldouble.c): Likewise.
36701 (CFLAGS-test-double.c): Likewise.
36702 (CFLAGS-test-float.c): Likewise.
36703 (CFLAGS-test-misc.c): Likewise.
36704 (CFLAGS-test-test-fenv.c): Likewise.
36706 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36711 comparisons to determine direction to adjust input.
36713 2012-05-01 Roland McGrath <roland@hack.frob.com>
36715 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36716 output to the target.
36718 * scripts/localplt.awk: New file.
36719 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36720 (check-localplt-CFLAGS): Variable removed.
36721 ($(all-built-dso:=.jmprel)): New static pattern rule.
36722 (generated): Add those targets.
36723 (localplt-built-dso): New variable.
36724 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36726 * elf/check-localplt.c: File removed.
36728 * scripts/check-execstack.awk: New file.
36729 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36730 (check-execstack-CFLAGS): Variable removed.
36731 ($(objpfx)check-execstack.h): Target removed.
36732 ($(objpfx)execstack-default): New target.
36733 (generated): Add that instead of check-execstack.h.
36734 ($(all-built-dso:=.phdr)): New static pattern rule.
36735 (generated): Add those targets.
36736 * elf/check-execstack.c: File removed.
36738 * scripts/check-textrel.awk: New file.
36739 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36740 (check-textrel-CFLAGS): Variable removed.
36741 (all-built-dso): Use := to define.o
36742 ($(all-built-dso:=.dyn)): New static pattern rule.
36743 (generated): Add those targets.
36744 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36745 * config.make.in (READELF): New substituted variable.
36746 * elf/check-textrel.c: File removed.
36748 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36750 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36752 * conform/data/ctype.h-data [C99-based standards] (isblank):
36754 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36755 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36757 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36758 Specify type. Require positive value.
36759 (EILSEQ): Likewise.
36760 (ERANGE): Likewise.
36761 [ISO || POSIX] (EILSEQ): Do not expect.
36762 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36763 Specify type. Require positive value.
36764 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36780 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36781 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36782 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36783 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36784 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36785 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36786 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36787 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36788 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36789 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36790 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36791 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36792 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36793 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36794 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36795 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36796 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36797 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36798 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36799 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36800 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36801 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36802 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36803 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36804 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36805 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36806 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36807 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36808 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36809 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36810 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36811 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36812 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36813 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36814 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36815 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36816 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36817 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36818 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36819 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36820 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36821 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36822 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36823 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36824 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36825 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36826 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36827 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36828 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36829 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36830 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36831 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36832 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36833 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36834 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36835 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36836 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36837 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36838 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36839 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36840 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36842 (FLT_ROUNDS): Expect as macro, not constant.
36843 (FLT_MANT_DIG): Use macro-int-constant.
36844 (DBL_MANT_DIG): Likewise.
36845 (LDBL_MANT_DIG): Likewise.
36846 (FLT_DIG): Likewise.
36847 (DBL_DIG): Likewise.
36848 (LDBL_DIG): Likewise.
36849 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36850 (DBL_MIN_EXP): Likewise.
36851 (LDBL_MIN_EXP): Likewise.
36852 (FLT_MAX_EXP): Use macro-int-constant.
36853 (DBL_MAX_EXP): Likewise.
36854 (LDBL_MAX_EXP): Likewise.
36855 (FLT_MAX_10_EXP): Likewise.
36856 (DBL_MAX_10_EXP): Likewise.
36857 (LDBL_MAX_10_EXP): Likewise.
36858 (FLT_MAX): Use macro-constant.
36859 (DBL_MAX): Likewise.
36860 (LDBL_MAX): Likewise.
36861 (FLT_EPSILON): Use macro-constant. Give upper bound.
36862 (DBL_EPSILON): Likewise.
36863 (LDBL_EPSILON): Likewise.
36864 (FLT_MIN): Likewise.
36865 (DBL_MIN): Likewise.
36866 (LDBL_MIN): Likewise.
36867 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36868 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36869 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36870 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36871 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36872 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36873 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36874 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36875 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36876 [ISO11] (FLT_TRUE_MIN): Likewise.
36877 [ISO11] (LDBL_TRUE_MIN): Likewise.
36878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36879 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36880 (SCHAR_MIN): Use macro-int-constant. Specify type.
36881 (SCHAR_MAX): Likewise.
36882 (UCHAR_MAX): Likewise.
36883 (CHAR_MIN): Likewise.
36884 (CHAR_MAX): Likewise.
36885 (MB_LEN_MAX): Use macro-int-constant.
36886 (SHRT_MIN): Use macro-int-constant. Specify type.
36887 (SHRT_MAX): Likewise.
36888 (USHRT_MAX): Likewise.
36889 (INT_MAX): Likewise.
36890 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36892 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36894 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36896 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36897 bound negative. Suffix upper bound with "L".
36898 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36900 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36902 [C99-based standards] (LLONG_MAX): Likewise.
36903 [C99-based standards] (ULLONG_MAX): Likewise.
36904 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36906 [ISO11] (max_align_t): Require type.
36907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36909 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36910 from $CFLAGS, without defining away __attribute__ calls.
36911 (checknamespace): Use $CFLAGS_namespace.
36913 * conform/conformtest.pl (@keywords): Only include C99 keywords
36914 for standards based on C99 or C11.
36916 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36918 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36921 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36922 usability of symbols in #if.
36924 * conform/conformtest.pl: If macro or constant types start
36925 "promoted:", expect the symbol to be of the following type
36926 promoted by the integer promotions.
36928 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36929 in one place. Also handle "macro-constant".
36931 * conform/conformtest.pl: Only accept expected macro values with
36932 "==". Parse all "macro" lines in one place.
36933 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36935 * conform/conformtest.pl: Handle braced types on "constant" lines
36936 instead of handling "typed-constant".
36937 * conform/data/signal.h-data: Use "constant" instead of
36940 * conform/conformtest.pl: Handle "optional-" at start of lines in
36941 one place rather than duplicating several cases. Handle each
36942 format of "macro" line with initial "optional-".
36944 * conform/conformtest.pl: Only accept expected constant or
36945 optional-constant values with "==". Parse all "constant" lines in
36946 one place. Parse all "optional-constant" lines in one place.
36947 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36948 * conform/data/fmtmsg.h-data: Likewise.
36949 * conform/data/netinet/in.h-data: Likewise.
36950 * conform/data/tar.h-data: Likewise.
36951 * conform/data/limits.h-data: Use "==" form on "constant" and
36952 "optional-constant" lines.
36954 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36955 Use -std=c99 for XOPEN2K.
36956 (@knownproblems): Remove.
36957 (newtoken): Don't check %isknown.
36959 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36960 Do not expect macro.
36961 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36973 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36974 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36976 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36977 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36991 [XPG3] (acosh): Likewise.
36992 [XPG3] (asinh): Likewise.
36993 [XPG3] (atanh): Likewise.
36994 [XPG3] (cbrt): Likewise.
36995 [XPG3] (expm1): Likewise.
36996 [XPG3] (ilogb): Likewise.
36997 [XPG3] (log1p): Likewise.
36998 [XPG3] (logb): Likewise.
36999 [XPG3] (nextafter): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37002 [XPG3] (remainder): Likewise.
37003 [XPG3] (rint): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37011 [UNIX98 || XOPEN2K] (scalb): Expect.
37012 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37013 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37150 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37151 _XOPEN_SOURCE_EXTENDED for XPG4.
37153 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37155 * Makeconfig (localtime): Remove variable.
37156 (inst_localtime-file): Likewise.
37158 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37179 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37183 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37184 comparisons to determine direction to adjust input.
37185 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37186 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37189 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37193 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37196 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37198 * math/libm-test.inc (nexttoward_test): Add more tests.
37200 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37204 in version GLIBC_2.1, not GLIBC_2.0.
37205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37208 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37211 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37214 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37215 * math/libm-test.inc (acos_test): Add more tests.
37216 (asin_test): Likewise.
37217 * sysdeps/i386/fpu/libm-test-ulps: Update.
37218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37221 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37223 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37224 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37225 * math/libm-test.inc (acos_test_tonearest): New function.
37226 (acos_test_towardzero): Likewise.
37227 (acos_test_downward): Likewise.
37228 (acos_test_upward): Likewise.
37229 (asin_test_tonearest): Likewise.
37230 (asin_test_towardzero): Likewise.
37231 (asin_test_downward): Likewise.
37232 (asin_test_upward): Likewise.
37233 (main): Call the new functions.
37234 * sysdeps/i386/fpu/libm-test-ulps: Update.
37235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37239 * math/e_exp10.c: Include <float.h>.
37240 (__ieee754_exp10): Handle underflow here rather than multiplying
37241 large negative argument by M_LN10.
37242 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37244 * math/e_exp10l.c: Include <float.h>.
37245 (__ieee754_exp10l): Handle underflow here rather than multiplying
37246 large negative argument by M_LN10l.
37247 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37248 spurious overflow exception on underflow.
37250 2012-04-29 Marek Polacek <polacek@redhat.com>
37252 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37253 (__fortify_function): New macro.
37254 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37255 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37256 __extern_always_inline.
37257 * libio/bits/stdio2.h: Likewise.
37258 * libio/bits/stdio.h: Likewise.
37259 * string/string.h: Likewise.
37260 * string/bits/string3.h: Likewise.
37261 * include/stdio.h: Likewise.
37262 * stdlib/bits/stdlib.h: Likewise.
37263 * stdlib/stdlib.h: Likewise.
37264 * rt/bits/mqueue2.h: Likewise.
37265 * rt/mqueue.h: Likewise.
37266 * posix/bits/unistd.h: Likewise.
37267 * posix/unistd.h: Likewise.
37268 * io/bits/poll2.h: Likewise.
37269 * io/bits/fcntl2.h: Likewise.
37270 * io/fcntl.h: Likewise.
37271 * io/sys/poll.h: Likewise.
37272 * misc/bits/syslog.h: Likewise.
37273 * misc/bits/syslog-ldbl.h: Likewise.
37274 * misc/sys/syslog.h: Likewise.
37275 * socket/bits/socket2.h: Likewise.
37276 * socket/sys/socket.h: Likewise.
37277 * debug/tst-chk1.c: Likewise.
37278 * wcsmbs/bits/wchar2.h: Likewise.
37279 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37280 * wcsmbs/wchar.h: Likewise.
37282 2012-04-29 Andreas Jaeger <aj@suse.de>
37284 * Makerules (tests): Remove enable-check-abi protection.
37285 (check-abi-warn): Remove.
37286 (check-abi-%): Remove check-abi-warn usage.
37288 * configure.in: Remove check-abi configure option.
37289 * configure: Regenerated.
37290 * config.make.in (enable-check-abi): Remove.
37292 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37295 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37296 double functions to double *_finite functions.
37299 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37300 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37302 * stdio-common/Makefile (tests): Add tst-sprintf3.
37303 * stdio-common/tst-sprintf3.c: New file.
37305 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37306 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37308 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37310 * conform/conformtest.pl: Remove duplicate typed-constant
37313 2012-04-28 David S. Miller <davem@davemloft.net>
37315 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37316 (check-abi-%): Remove AWK script prerequisite and explicit
37318 (check-abi): Rewrite to just diff the symlist with the abilist.
37319 (config-tls, config-abi-config): Delete, no longer used.
37320 (update-abi-%): Remove AWK script and explicit abilist directory.
37321 (update-abi): Rewrite to simply compare and conditionally copy the
37322 symlist and the sysdep abilist file. Remove update-abi-config
37324 * abilist/ld.abilist: Remove.
37325 * abilist/libBrokenLocale.abilist: Remove.
37326 * abilist/libanl.abilist: Remove.
37327 * abilist/libcrypt.abilist: Remove.
37328 * abilist/libdl.abilist: Remove.
37329 * abilist/librt.abilist: Remove.
37330 * abilist/libthread_db.abilist: Remove.
37331 * abilist/libutil.abilist: Remove.
37332 * scripts/extract-abilist.awk: Remove.
37333 * scripts/merge-abilist.awk: Remove.
37334 * sysdeps/generic/libcidn.abilist: New file.
37335 * sysdeps/generic/libnss_compat.abilist: New file.
37336 * sysdeps/generic/libnss_db.abilist: New file.
37337 * sysdeps/generic/libnss_dns.abilist: New file.
37338 * sysdeps/generic/libnss_files.abilist: New file.
37339 * sysdeps/generic/libnss_hesiod.abilist: New file.
37340 * sysdeps/generic/libnss_nis.abilist: New file.
37341 * sysdeps/generic/libnss_nisplus.abilist: New file.
37342 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37343 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37344 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37347 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37348 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37350 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37351 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37353 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37354 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37356 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37357 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37359 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37362 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37363 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37364 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37365 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37368 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37369 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37372 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37476 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37477 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37480 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37481 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37482 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37483 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37484 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37485 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37486 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37487 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37488 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37540 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37542 * conform/conformtest.pl: Fix typo in handling typed-constant from
37545 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37547 * README: Cut down references to pre-2.6 Linux kernels and
37548 Linuxthreads. Update lists of configurations in libc and ports
37549 and sort alphabetically. Say "or newer" with Linux kernel version
37552 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37554 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37557 * math/libm-test.inc (logb_test_downward): New test to expose
37558 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37561 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37564 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37566 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37567 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37569 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37571 * sysdeps/unix/i386/brk.S: Remove file.
37572 * sysdeps/unix/i386/dl-brk.S: Likewise.
37573 * sysdeps/unix/i386/pipe.S: Likewise.
37574 * sysdeps/unix/i386/sigreturn.S: Likewise.
37575 * sysdeps/unix/i386/syscall.S: Likewise.
37576 * sysdeps/unix/i386/vfork.S: Likewise.
37577 * sysdeps/unix/i386/wait.S: Likewise.
37579 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37580 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37582 * configure.in (arm*-none*): Do not allow without
37583 --enable-hacker-mode.
37584 (netbsd*): Remove case setting base_os.
37585 (386bsd*): Likewise.
37586 (freebsd*): Likewise.
37589 (sunos*): Likewise.
37590 (ultrix*): Likewise.
37591 (newsos*): Likewise.
37592 (dynix*): Likewise.
37598 (minix*): Likewise.
37599 (irix4*): Likewise.
37600 (irix6*): Likewise.
37601 (solaris[2-9]*): Likewise.
37603 * configure: Regenerated.
37605 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37609 overflow or cancellation in calculating denominator.
37610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37612 down expression to avoid unexpected rounding in newer GCCs.
37613 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37615 2012-04-26 David S. Miller <davem@davemloft.net>
37617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37618 long-double compat symbols.
37619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37633 2012-04-25 David S. Miller <davem@davemloft.net>
37635 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37636 HWCAP_* values only after the memory barriers have been defined.
37637 (atomic_full_barrier): Define.
37638 (atomic_read_barrier): Define.
37639 (atomic_write_barrier): Define.
37641 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37643 * shlib-versions: Add libgcc_s version information.
37644 * sysdeps/generic/libgcc_s.h: Remove.
37645 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37647 * sysdeps/gnu/unwind-resume.c: Likewise.
37648 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37650 2012-04-25 David S. Miller <davem@davemloft.net>
37652 * sysdeps/unix/sparc/brk.S: Delete.
37653 * sysdeps/unix/sparc/dl-brk.S: Delete.
37654 * sysdeps/unix/sparc/pipe.S: Delete.
37655 * sysdeps/unix/sparc/sysdep.S: Delete.
37656 * sysdeps/unix/sparc/sysdep.h: Delete.
37657 * sysdeps/unix/sparc/vfork.S: Delete.
37658 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37659 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37661 (ret_ERRVAL, r0, r1, MOVE): Define.
37662 (JUMPTARGET): Remove.
37663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37664 sysdeps/unix/sparc/sysdep.h
37665 (ENTRY, END): Remove.
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37668 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37670 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37671 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37674 * timezone/README: Update upstream location and email address for
37676 * timezone/zdump.c: Update from tzcode 2012b.
37677 * timezone/zic.c: Likewise.
37679 * configure.in (libc_cv_as_needed): Remove test.
37680 * configure: Regenerated.
37681 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37682 conditional definition.
37683 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37684 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37685 * config.make.in (have-as-needed): Remove variable.
37687 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37688 Paul Pluzhnikov <ppluzhnikov@google.com>
37690 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37693 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37695 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37696 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37697 * sysdeps/sh/strlen.S: Likewise.
37699 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37701 * sysdeps/unix/fork.S: Remove file.
37702 * sysdeps/unix/i386/fork.S: Likewise.
37703 * sysdeps/unix/sparc/fork.S: Likewise.
37705 * sysdeps/unix/system.c: Remove file.
37706 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37708 * sysdeps/unix/getegid.S: Remove file.
37709 * sysdeps/unix/geteuid.S: Likewise.
37711 2012-04-24 Roland McGrath <roland@hack.frob.com>
37713 * scripts/check-localplt.awk: New file.
37714 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37716 * scripts/data/localplt-generic.data: Add a comment.
37718 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37719 NODE when __dir_mkfile failed.
37720 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37721 Reported by Ludovic Courtès <ludo@gnu.org>.
37723 2012-04-24 Andreas Jaeger <aj@suse.de>
37725 * Makerules (common-clean): Also remove gen-as-const-headers
37728 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37730 * Makerules (native-compile): Do not change working directory for
37731 build. Use $(OUTPUT_OPTION) in command.
37732 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37734 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37737 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37738 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37739 * math/libm-test.inc (floor_test): Add more tests.
37740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37742 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37744 * sysdeps/unix/getdents.c: Remove file.
37745 * sysdeps/unix/sysv/getdents.c: Likewise.
37746 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37748 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37749 sysdeps/unix/mman/syscalls.list.
37751 (mprotect): Likewise.
37753 (munmap): Likewise.
37754 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37755 * sysdeps/unix/mman/syscalls.list: Remove.
37756 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37758 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37759 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37760 * configure: Regenerated.
37761 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37762 $(libgcc_s_suffix).
37763 * config.make.in (libgcc_s_suffix): Remove variable.
37765 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37767 * sysdeps/unix/sysv/gethostname.c: Move to ...
37768 * sysdeps/posix/gethostname.c: ... here.
37770 * sysdeps/unix/execve.S: Remove file.
37772 * sysdeps/unix/_exit.S: Remove file.
37774 2012-04-23 Andreas Jaeger <aj@suse.de>
37777 * manual/Makefile: Remove make dist support, there's no
37778 need for a stand-alone documentation tar ball.
37779 (TEXI2DVI): Define always, it's not in Makeconfig.
37782 (edition): Removed.
37783 (glibc-doc-$(edition).tar): Removed
37787 (ETAGS): Remove, it's in Makeconfig.
37788 (move-if-change): Remove, it's in Makeconfig.
37790 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37793 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37794 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37795 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37796 (strtod_l, strtof_l, strtold_l): Remove __wur.
37797 It is not necessarily an error to ignore strtol's return value.
37798 One can reliably look at the stored endptr to decide whether
37799 the number had valid syntax.
37801 2012-04-21 Andreas Jaeger <aj@suse.de>
37804 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37806 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37808 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37809 * sysdeps/unix/sysv/Versions: Remove file.
37811 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37816 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37820 version from __vm86.
37822 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37824 * sysdeps/unix/common/lxstat.c: Remove file.
37825 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37827 * sysdeps/unix/sysv/Makefile: Remove file.
37829 * sysdeps/unix/sysv/direct.h: Remove file.
37831 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37832 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37833 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37834 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37835 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37836 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37837 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37839 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37841 * sysdeps/unix/xmknod.c: Remove file.
37842 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37844 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37846 * sysdeps/unix/sysv/i386/time.S: Remove file.
37848 * sysdeps/unix/fxstat.c: Remove file.
37849 * sysdeps/unix/xstat.c: Likewise.
37850 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37852 * sysdeps/unix/sysv/sigaction.c: Remove file.
37854 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37855 (sysdep_headers): Remove variable.
37856 [termio.h not in sysdep_headers] (generated): Likewise.
37857 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37858 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37859 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37860 * sysdeps/unix/sysv/tcflow.c: Likewise.
37861 * sysdeps/unix/sysv/tcflush.c: Likewise.
37862 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37863 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37864 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37865 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37866 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37868 * sysdeps/unix/siglist.c: Remove file.
37870 * sysdeps/unix/getppid.S: Remove file.
37872 * sysdeps/unix/mkdir.c: Remove file.
37873 * sysdeps/unix/rmdir.c: Likewise.
37875 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37877 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37880 errlist-compat value.
37882 2012-04-18 David S. Miller <davem@davemloft.net>
37884 * sysdeps/generic/memcopy.h (reg_char): Delete.
37885 * debug/strcat_chk.c: Use char, not reg_char.
37886 * debug/strcpy_chk.c: Likewise.
37887 * debug/strncat_chk.c: Likewise.
37888 * debug/strncpy_chk.c: Likewise.
37889 * string/memchr.c: Likewise.
37890 * string/memrchr.c: Likewise.
37891 * string/rawmemchr.c: Likewise.
37892 * string/strcat.c: Likewise.
37893 * string/strchr.c: Likewise.
37894 * string/strchrnul.c: Likewise.
37895 * string/strcmp.c: Likewise.
37896 * string/strcpy.c: Likewise.
37897 * string/strncat.c: Likewise.
37898 * string/strncmp.c: Likewise.
37899 * string/strncpy.c: Likewise.
37901 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37903 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37904 __builtin_memcopy is called when src and dest ranges are known to not
37907 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37910 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37911 fwd_align_merge macro call.
37912 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37913 bwd_align_merge macro call.
37914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37916 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37919 bwd_align_merge macros.
37920 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37921 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37924 2012-04-18 David S. Miller <davem@davemloft.net>
37926 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37928 2012-04-18 Andreas Jaeger <aj@suse.de>
37931 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37932 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37935 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37936 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37939 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37940 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37941 Adjust for changed ldbl-128 files.
37943 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37944 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37945 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37947 2012-04-17 David S. Miller <davem@davemloft.net>
37949 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37951 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37953 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37954 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37955 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37956 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37957 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37958 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37960 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37963 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37964 * math/libm-test.inc: Add ilogb errno and exception tests.
37965 * math/w_ilogb.c: New file: ilogb wrapper.
37966 * math/w_ilogbf.c: New file: ilogbf wrapper.
37967 * math/w_ilogbl.c: New file: ilogbl wrapper.
37968 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37969 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37970 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37971 exception being thrown with 0.0 as argument.
37972 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37973 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37974 exception being thrown with 0.0 as argument.
37975 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37976 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37977 exception being thrown with 0.0 as argument.
37978 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37979 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37980 exception being thrown with 0.0 as argument.
37981 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37982 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37984 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37985 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37986 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37987 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37988 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37989 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37991 2012-04-17 Petr Baudis <pasky@ucw.cz>
37993 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37996 2012-04-16 Marek Polacek <polacek@redhat.com>
37998 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38000 2012-04-16 Marek Polacek <polacek@redhat.com>
38002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38003 operands of fdivp instruction.
38005 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38007 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38008 * elf/tst-auditmod3b.c: Likewise.
38009 * elf/tst-auditmod4b.c: Likewise.
38010 * elf/tst-auditmod5b.c: Likewise.
38011 * elf/tst-auditmod6b.c: Likewise.
38012 * elf/tst-auditmod6c.c: Likewise.
38013 * elf/tst-auditmod7b.c: Likewise.
38014 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38015 * sysdeps/x86_64/preconfigure.in: Likewise.
38016 * sysdeps/x86_64/preconfigure: Regenerated.
38018 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38023 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38026 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38028 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38031 * locale/iso-639.def: Fix gl language name. Spotted by
38034 2012-04-12 Roland McGrath <roland@hack.frob.com>
38037 * libio/libio.h (__io_write_fn): Update comment.
38039 2012-04-12 Petr Baudis <pasky@ucw.cz>
38042 * stdio.texi (Hook Functions): The user provided writer function
38043 is not allowed to return -1.
38045 2012-04-11 David S. Miller <davem@davemloft.net>
38047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38049 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38051 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38052 Add a leading slash to rtkaio.
38054 2012-04-11 Jim Meyering <meyering@redhat.com>
38057 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38058 It is not necessarily an error to ignore fwrite's return
38059 value. One can reliably use ferror to test for errors after
38062 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38064 * bits/types.h (__snseconds_t): New type.
38065 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38067 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38069 (__SNSECONDS_T_TYPE): Likewise.
38070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38071 (__SNSECONDS_T_TYPE): Likewise.
38072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38073 (__SNSECONDS_T_TYPE): Likewise.
38075 2012-04-10 Andreas Jaeger <aj@suse.de>
38078 * manual/time.texi (Processor Time): Return type of times is
38079 elapsed real time since an arbitrary point in the past.
38080 (CPU Time): Move CLK_TCK from here...
38081 (Processor Time): ...to here. Correct description.
38082 * manual/conf.texi (Constants for Sysconf): Correct description of
38085 2012-04-10 David S. Miller <davem@davemloft.net>
38088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38089 where the is a gap between DT_REL(A) and DT_JMPREL.
38091 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38094 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38095 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38097 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38099 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38100 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38101 (dl_main): Handle --inhibit-cache.
38102 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38104 * elf/dl-load.c (_dl_map_object): Use it.
38105 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38107 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38110 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38111 (__ieee754_powl): Saturate large exponents rather than testing for
38112 overflow of y*log2(x).
38113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38114 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38118 * math/s_ctan.c: Include <float.h>.
38119 (__ctan): Avoid internal overflow or cancellation in calculating
38121 * math/s_ctanf.c: Likewise.
38122 * math/s_ctanl.c: Likewise.
38123 * math/s_ctanh.c: Likewise.
38124 * math/s_ctanhf.c: Likewise.
38125 * math/s_ctanhl.c: Likewise.
38126 * math/libm-test.inc (ctan_test): Add more tests.
38127 (ctanh_test): Likewise.
38128 * sysdeps/i386/fpu/libm-test-ulps: Update.
38129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38131 2012-04-09 Andreas Jaeger <aj@suse.de>
38134 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38135 is an optional BSD extension.
38138 * manual/stdio.texi (Opening Streams): Document additional fopen
38141 2012-04-09 Roland McGrath <roland@hack.frob.com>
38143 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38144 %eax without telling the compiler.
38146 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38149 * manual/install.texi: Use sourceware.org.
38151 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38154 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38155 (__ieee754_pow): Generate overflow and underflow using huge*huge
38156 and tiny*tiny rather than just returning constant infinity or zero
38157 for large exponents.
38158 * math/libm-test.inc (pow_test): Require overflow exceptions for
38159 applicable cases of large exponents.
38162 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38163 (__ieee754_pow): Use iterative multiplication algorithm only for
38164 integer exponents with absolute value below 1024. Check for odd
38165 integer exponents when using algorithm for real exponents.
38166 * math/libm-test.inc (pow_test): Add more tests.
38167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38169 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38172 * math/libm-test.inc (exp_test): Do not allow overflow exception
38175 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38178 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38179 instead of __kernel_standard_f.
38181 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38183 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38184 * sysdeps/x86_64/memset_chk.S: Likewise.
38186 2012-04-08 Andreas Jaeger <aj@suse.de>
38189 * manual/startup.texi (Environment Access): Describe return value
38190 for putenv and setenv.
38193 * manual/filesys.texi (Directory Entries): Add description for
38197 * manual/filesys.texi (Directory Entries): Clarify that it's file
38198 system not operating system in the description of DT_UNKNOWN.
38201 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38203 2012-04-08 Stephen Compall <s11@member.fsf.org>
38206 * manual/llio.texi (Opening and Closing Files): Add cross
38207 reference to explain mode argument.
38209 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38211 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38212 * sysdeps/x86_64/memset_chk.S: Likewise.
38214 2012-04-07 David S. Miller <davem@davemloft.net>
38216 * elf/elf.h (R_SPARC_WDISP10): Define.
38217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38220 R_SPARC_SIZE64 and R_SPARC_H34.
38222 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38225 conditions and remove no longer applicable assertion.
38227 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38229 * bits/byteswap.h: Include <features.h>.
38230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38233 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38235 * bits/byteswap.h (__bswap_16): Removed.
38236 Include <bits/byteswap-16.h> to get __bswap_16.
38237 * sysdeps/i386/bits/byteswap.h: Likewise.
38238 * sysdeps/s390/bits/byteswap.h: Likewise.
38239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38240 * bits/byteswap-16.h: New file.
38241 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38242 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38243 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38244 * string/Makefile (headers): Add bits/byteswap-16.h.
38246 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38249 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38251 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38252 * nss/tst-nss-static.c: New.
38254 2012-04-06 Robert Millan <rmh@gnu.org>
38257 * manual/llio.texi (File Position Primitive): lseek
38258 refers to WHENCE when it really means OFFSET.
38260 2012-04-06 Andreas Jaeger <aj@suse.de>
38262 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38263 strncmp declarations.
38265 * abilist/libc.abilist: Add __poll and __ppoll.
38267 2012-04-05 David S. Miller <davem@davemloft.net>
38269 * scripts/check-local-headers.sh: Accept a host triplet in the
38270 path matched by the exclude regexp.
38272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38274 * sysdeps/powerpc/powerpc32/dl-machine.h
38275 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38276 * sysdeps/s390/s390-32/dl-machine.h
38277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38278 * sysdeps/sparc/sparc32/dl-machine.h
38279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38280 * sysdeps/sparc/sparc64/dl-machine.h
38281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38283 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38285 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38286 undefined symbol errors.
38288 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38291 2012-04-05 Michael Matz <matz@suse.de>
38294 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38296 2012-04-05 Andreas Jaeger <aj@suse.de>
38299 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38302 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38304 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38305 which ROUND is no valid rounding mode.
38307 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38311 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38313 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38315 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38316 an exception using FPU order intentionally.
38318 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38320 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38321 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38322 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38323 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38325 2012-04-05 Simon Josefsson <simon@josefsson.org>
38328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38329 EINVAL when BUFLEN is too smal.
38331 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38334 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38335 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38337 2012-04-03 Andreas Jaeger <aj@suse.de>
38340 * manual/setjmp.texi (System V contexts): Fix sentence.
38343 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38344 New macro for this case.
38345 [!__GNUC__] (__bswap_64): New inline function for this case.
38346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38347 * bits/byteswap.h: Likewise.
38348 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38349 ull, guard with __GLIBC_HAVE_LONG_LONG.
38351 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38352 __GLIBC_HAVE_LONG_LONG.
38354 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38355 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38357 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38360 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38361 inptr and inend, rather than using last_ch.
38363 2012-04-02 David S. Miller <davem@davemloft.net>
38365 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38366 * stdio-common/printf-parse.h (read_int): Change return type to
38367 'int', return -1 on INT_MAX overflow.
38368 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38369 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38370 overflows INT_MAX. Check for overflow of in-format-string precision
38371 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38372 SIZE_MAX not INT_MAX for integer overflow test.
38373 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38374 skip the construct in the format string but do not record anything.
38375 * stdio-common/bug22.c: Adjust to test both width/prevision
38376 INT_MAX overflow as well as total length INT_MAX overflow. Check
38377 explicitly for proper errno values.
38379 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38381 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38383 * string/test-strcmp.c [! WIDE]: Likewise.
38384 * time/tst-mktime2.c: Likewise for INT_MAX.
38385 * string/test-string.h: #include <sys/param.h> for MIN.
38387 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38388 * sysdeps/i386/init-first.c (init): Likewise.
38389 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38390 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38391 * sysdeps/sh/init-first.c (init): Likewise.
38393 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38395 * po/ru.po: Update from translation team.
38396 * po/vi.po: Likewise.
38398 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38400 * resolv/nss_dns/dns-host.c: Merge copyright years.
38402 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38405 Optimize memcpy with prefetch if
38406 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38407 src, dst pointers have unequal 16 byte alignments.
38409 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38412 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38413 from a CNAME entry and return the minimum ttl for the query.
38414 (gaih_getanswer_slice): Likewise.
38416 2012-03-30 Jeff Law <law@redhat.com>
38418 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38420 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38421 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38423 * resolv/nss_dns/dns-host.c: Update copyright year.
38425 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38427 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38428 requests to save a system call. Fix check that all bytes are sent.
38430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38431 comments for sendmmsg.
38433 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38437 with only 1 character between 0x0041 and 0x01b0.
38438 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38439 * wcsmbs/tst-mbsnrtowcs.c: New file.
38441 2012-03-29 David S. Miller <davem@davemloft.net>
38443 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38444 small copies by hand.
38446 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38449 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38450 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38453 2012-03-28 David S. Miller <davem@davemloft.net>
38455 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38456 that branches into memcpy.
38457 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38460 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38463 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38464 implementation too.
38465 * sysdeps/sparc/mempcpy.S: New file.
38467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38468 the IFUNC routine in the libc case.
38469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38471 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38472 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38473 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38474 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38475 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38476 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38477 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38478 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38480 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38481 loop to 256 bytes instead of 64 bytes and fix test signedness.
38483 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38484 * sysdeps/sparc/sparc32/Makefile: rather than here...
38485 * sysdeps/sparc/sparc64/Makefile: and here.
38487 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38489 * malloc/mallocbug.c: Avoid warnings about unused variables.
38491 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38494 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38495 in the right place. Discard and retry query if response is
38496 larger than input buffer size.
38498 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38503 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38504 x for large integer exponent.
38505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38506 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38507 sign of result as needed afterwards.
38508 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38509 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38510 result for underflowing pow the same as for overflow.
38511 (__kernel_standard_l): Handle powl overflow and underflow here
38512 rather than calling __kernel_standard.
38513 * math/libm-test.inc (pow_test): Add more tests.
38528 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38529 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38530 (__kernel_standard_l): New function.
38531 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38533 * math/w_acosl.c (__acosl): Likewise.
38534 * math/w_asinl.c (__asinl): Likewise.
38535 * math/w_atan2l.c (__atan2l): Likewise.
38536 * math/w_atanhl.c (__atanhl): Likewise.
38537 * math/w_coshl.c (__coshl): Likewise.
38538 * math/w_exp10l.c (__exp10l): Likewise.
38539 * math/w_exp2l.c (__exp2l): Likewise.
38540 * math/w_fmodl.c (__fmodl): Likewise.
38541 * math/w_hypotl.c (__hypotl): Likewise.
38542 * math/w_j0l.c (__j0l, __y0l): Likewise.
38543 * math/w_j1l.c (__j1l, __y1l): Likewise.
38544 * math/w_jnl.c (__jnl, __ynl): Likewise.
38545 * math/w_lgammal.c (__lgammal): Likewise.
38546 * math/w_log10l.c (__log10l): Likewise.
38547 * math/w_log2l.c (__log2l): Likewise.
38548 * math/w_logl.c (__logl): Likewise.
38549 * math/w_powl.c (__powl): Likewise.
38550 * math/w_remainderl.c (__remainderl): Likewise.
38551 * math/w_scalbl.c (sysv_scalbl): Likewise.
38552 * math/w_sinhl.c (__sinhl): Likewise.
38553 * math/w_sqrtl.c (__sqrtl): Likewise.
38554 * math/w_tgammal.c (__tgammal): Likewise.
38555 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38556 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38557 * math/libm-test.inc (acos_test): Add more tests.
38558 (acosh_test): Likewise.
38559 (asin_test): Likewise.
38560 (atanh_test): Likewise.
38561 (exp_test): Likewise.
38562 (exp10_test): Likewise.
38563 (exp2_test): Likewise.
38564 (expm1_test): Likewise.
38565 (lgamma_test): Likewise.
38566 (log_test): Likewise.
38567 (log10_test): Likewise.
38568 (log1p_test): Likewise.
38569 (log2_test): Likewise.
38570 (pow_test): Do not allow some spurious overflow exceptions.
38571 (sqrt_test): Add more tests.
38572 (tgamma_test): Likewise.
38573 (y0_test): Likewise.
38574 (y1_test): Likewise.
38575 (yn_test): Likewise.
38577 2012-03-27 Anton Blanchard <anton@samba.org>
38579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38585 2012-03-27 David S. Miller <davem@davemloft.net>
38587 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38589 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38590 have-as-vis3 check.
38592 2012-03-27 Andreas Jaeger <aj@suse.de>
38594 * sysdeps/x86_64/elf/configure.in: Moved to ...
38595 * sysdeps/x86_64/configure.in: ... here.
38596 * sysdeps/x86_64/elf/start.S: Moved to ...
38597 * sysdeps/x86_64/start.S: ... here.
38598 * sysdeps/x86_64/elf/configure: Delete.
38600 * sysdeps/x86_64/configure.in: Merge contents from
38601 sysdeps/i386/configure.in (without i686 check).
38603 * sysdeps/i386/elf/Versions: Merge into ...
38604 * sysdeps/i386/Versions: ... this.
38605 * sysdeps/i386/elf/Versions: Delete file.
38606 * sysdeps/i386/elf/start.S: Moved to ...
38607 * sysdeps/i386/start.S: ...here.
38608 * sysdeps/i386/elf/configure.in: Merge into...
38609 * sysdeps/i386/configure.in: ...here.
38610 * sysdeps/i386/elf/configure.in: Delete file.
38611 * sysdeps/i386/elf/configure: Delete file.
38613 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38614 * debug/backtracesyms.c: ... here.
38615 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38616 * debug/backtracesymsfd.c: ... here.
38617 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38618 * sysdeps/generic/ifunc-sel.h: ... here.
38620 * sysdeps/unix/i386/start.c: Delete file.
38621 * sysdeps/unix/sparc/start.c: Delete file.
38622 * sysdeps/unix/start.c: Delete file.
38624 * sysdeps/sh/elf/configure.in: Moved to ...
38625 * sysdeps/sh/configure.in: ... here.
38626 * sysdeps/sh/elf/start.S: Moved to ...
38627 * sysdeps/sh/start.S: ... here.
38628 * sysdeps/sh/elf/configure: Delete file.
38630 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38631 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38632 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38633 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38634 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38635 * sysdeps/powerpc/powerpc64/start.S: here.
38636 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38637 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38638 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38639 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38640 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38642 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38643 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38644 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38645 * sysdeps/powerpc/powerpc32/start.S: ... here.
38646 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38647 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38648 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38650 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38651 * sysdeps/powerpc/ifunc-sel.h: ... here.
38652 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38653 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38655 * sysdeps/sparc/elf/configure.in: Moved to ...
38656 * sysdeps/sparc/configure.in: ... here.
38657 * sysdeps/sparc/elf/configure: Delete file.
38658 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38659 * sysdeps/sparc/sparc32/start.S: ... here.
38660 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38661 * sysdeps/sparc/sparc64/start.S: ... here.
38662 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38663 * sysdeps/sparc/sparc32/Makefile: ... this.
38664 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38665 * sysdeps/sparc/sparc64/Makefile: ... this.
38667 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38668 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38669 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38670 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38671 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38672 * sysdeps/s390/s390-32/setjmp.S: ... here.
38673 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38674 * sysdeps/s390/s390-32/configure.in: ... here.
38675 * sysdeps/s390/s390-32/elf/configure: Delete file.
38676 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38677 * sysdeps/s390/s390-32/start.S: ... here.
38679 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38680 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38681 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38682 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38683 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38684 * sysdeps/s390/s390-64/setjmp.S: ... here.
38685 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38686 * sysdeps/s390/s390-64/configure.in: ... here
38687 * sysdeps/s390/s390-64/elf/configure: Delete file.
38688 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38689 * sysdeps/s390/s390-64/start.S: ... here.
38690 * sysdeps/s390/s390-64/elf/configure: Delete.
38692 * configure.in: Remove support for elf directories in sysdeps.
38694 * configure: Regenerated.
38695 * sysdeps/i386/configure: Regenerated.
38696 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38697 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38698 * sysdeps/s390/s390-32/configure: Regenerated.
38699 * sysdeps/s390/s390-64/configure: Regenerated.
38700 * sysdeps/sh/configure: Regenerated.
38701 * sysdeps/sparc/configure: Regenerated.
38702 * sysdeps/x86_64/configure: Regenerated.
38704 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38709 denormal result into account.
38711 2012-03-25 Roland McGrath <roland@hack.frob.com>
38713 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38714 Reported by Allan McRae <allan@archlinux.org>.
38716 2012-03-23 Jeff Law <law@redhat.com>
38718 * nss/getnssent.c (__nss_getent): Fix typo.
38720 2012-03-23 David S. Miller <davem@davemloft.net>
38722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38724 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38726 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38727 to pad to uint64_t for each field.
38728 (dl_tls_index): Replace unsigned long with uint64_t.
38730 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38731 Paul Pluzhnikov <ppluzhnikov@google.com>
38734 * grp/Makefile (otherlibs): Don't set it.
38735 * inet/Makefile (otherlibs): Likewise.
38736 * login/Makefile (otherlibs): Likewise.
38737 * nscd/Makefile (otherlibs): Likewise.
38738 * posix/Makefile (otherlibs): Likewise.
38739 * pwd/Makefile (otherlibs): Likewise.
38740 * rt/Makefile (otherlibs): Likewise.
38741 * sunrpc/Makefile (otherlibs): Likewise.
38742 * nss/Makefile (otherlibs): Likewise.
38743 Add libnss_files to routines and static-only-routines.
38744 ($(objpfx)getent): Remove rule.
38745 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38746 static-only-routines.
38748 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38751 * math/s_cexp.c: Include <float.h>.
38752 (__cexp): Handle exp result overflowing not necessarily
38753 overflowing both real and imaginary parts of result.
38754 * math/s_cexpf.c: Likewise.
38755 * math/s_cexpl.c: Likewise.
38756 * math/libm-test.inc (cexp_test): Add more tests.
38757 * sysdeps/i386/fpu/libm-test-ulps: Update.
38758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38762 * include/link.h (ELFW): New macro.
38763 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38764 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38766 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38768 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38771 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38773 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38775 (struct La_x32_retval): Likewise.
38777 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38779 * sysdeps/x86_64/preconfigure.in: New file.
38780 * sysdeps/x86_64/preconfigure: New generated file.
38782 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38785 * math/e_exp2l.c: Include <float.h>.
38786 (__ieee754_exp2l): Handle overflow and underflow cases
38787 separately. Only pass fractional part of argument to
38789 * math/libm-test.inc (exp2_test): Add more tests.
38791 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38792 negating x to take absolute value.
38793 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38795 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38798 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38799 computing low part if x was negated.
38800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38802 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38804 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38805 la_x32_gnu_pltexit.
38806 (pltexit): Cast int_retval to ptrdiff_t.
38807 * elf/tst-auditmod3b.c: Likewise.
38808 * elf/tst-auditmod4b.c: Likewise.
38809 * elf/tst-auditmod5b.c: Likewise.
38810 * elf/tst-auditmod6b.c: Likewise.
38811 * elf/tst-auditmod6c.c: Likewise.
38812 * elf/tst-auditmod7b.c: Likewise.
38814 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38815 and x32_gnu_pltexit.
38817 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38818 __ELF_NATIVE_CLASS.
38819 (La_x32_regs): New macro.
38820 (La_x32_retval): Likewise.
38821 (la_x32_gnu_pltenter): New function prototype.
38822 (la_x32_gnu_pltexit): Likewise.
38824 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38831 * configure.in (libc_cv_cc_nofma): Check for option to disable
38832 generation of FMA instructions.
38833 * configure: Regenerate.
38834 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38835 * sysdeps/ieee754/dbl-64/Makefile: New file.
38836 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38837 Remove brandred-fma4.
38838 (CFLAGS-brandred-fma4.c): Remove.
38839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38845 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38847 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38848 LLONG_MAX != LONG_MAX.
38849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38850 (_fitoa_word): Likewise.
38851 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38852 LLONG_MAX != LONG_MAX.
38853 * stdio-common/_itowa.h: Include <_itoa.h>.
38854 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38855 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38856 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38857 only if not defined.
38858 (_ITOA_WORD_TYPE): Likewise.
38859 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38860 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38862 2012-03-21 David S. Miller <davem@davemloft.net>
38864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38866 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38868 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38869 of x86_64 when setting libc_cv_slibdir, libdir and
38871 * sysdeps/unix/sysv/linux/configure: Regenerated.
38873 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38875 * manual/lang.texi (Old Varargs): Remove section.
38876 (How Variadic): Update menu.
38877 (va_start): Do not mention varargs.h.
38879 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38880 Joseph Myers <joseph@codesourcery.com>
38882 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38884 * configure: Regenerated.
38886 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38888 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38889 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38892 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38895 * Makefile (files-for-dist): Remove NOTES.
38896 (NOTES): Remove rule.
38897 * README: Don't refer to NOTES.
38898 * manual/creature.texi: Don't include macros.texi.
38899 * manual/intro.texi (creature.texi): Remove comment referring to
38902 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38903 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38904 * configure: Regenerated.
38905 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38906 LIBC_TRY_CC_OPTION.
38907 (libc_cv_as_i686): Likewise.
38908 (libc_cv_cc_avx): Likewise.
38909 (libc_cv_cc_sse2avx): Likewise.
38910 (libc_cv_cc_fma4): Likewise.
38911 (libc_cv_cc_novzeroupper): Likewise.
38912 * sysdeps/i386/configure: Regenerated.
38915 * sysdeps/i386/fpu/s_cexp.S: Remove.
38916 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38917 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38918 * math/libm-test.inc (cexp_test): Add more tests.
38919 * sysdeps/i386/fpu/libm-test-ulps: Update.
38920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38922 2012-03-21 Allan McRae <allan@archlinux.org>
38924 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38926 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38929 * math/w_exp2.c: Do not include <float.h>.
38930 (o_threshold, u_threshold): Remove.
38931 (__exp2): Calculate result before checking finiteness and calling
38933 * math/w_exp2f.c: Likewise.
38934 * math/w_exp2l.c: Likewise.
38935 * math/libm-test.inc (exp2_test): Require overflow exception for
38939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38940 range of signed 64-bit integers before using fistpll. Remove
38941 checks for whether integers fit in mantissa bits.
38942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38943 the range of signed 32-bit integers before using fistpl. Remove
38944 checks for whether integers fit in mantissa bits.
38945 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38946 (__ieee754_powl): Test for y outside the range of signed 64-bit
38947 integers before using fistpll. Reduce 64-bit values to 63-bit
38949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38950 divide-by-zero is raised for zero to large negative powers.
38951 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38952 (__ieee754_powl): Test for y outside the range of signed 64-bit
38953 integers before using fistpll. Reduce 64-bit values to 63-bit
38955 * math/libm-test.inc (pow_test): Add more tests.
38957 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38959 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38960 <stdio-common/_itoa.h>.
38961 * debug/segfault.c: Likewise.
38962 * elf/dl-cache.c: Likewise.
38963 * elf/dl-minimal.c: Likewise.
38964 * elf/dl-misc.c: Likewise.
38965 * elf/dl-sysdep.c: Likewise.
38966 * elf/dl-version.c: Likewise.
38967 * elf/rtld.c: Likewise.
38968 * hurd/hurdsock.c: Likewise.
38969 * hurd/lookup-retry.c: Likewise.
38970 * malloc/malloc.c: Likewise.
38971 * malloc/mtrace.c: Likewise.
38972 * nscd/nscd_getgr_r.c: Likewise.
38973 * nscd/nscd_getpw_r.c: Likewise.
38974 * nscd/nscd_getserv_r.c: Likewise.
38975 * posix/getopt_init.c: Likewise.
38976 * posix/wordexp.c: Likewise.
38977 * stdio-common/_itoa.c: Likewise.
38978 * stdio-common/printf_fphex.c: Likewise.
38979 * stdio-common/vfprintf.c: Likewise.
38980 * string/_strerror.c: Likewise.
38981 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38982 * sysdeps/i386/i686/hp-timing.h: Likewise.
38983 * sysdeps/mach/_strerror.c: Likewise.
38984 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38985 * sysdeps/mach/hurd/sethostid.c: Likewise.
38986 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38987 * sysdeps/mach/xpg-strerror.c: Likewise.
38988 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38990 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38991 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38992 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38993 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38995 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38996 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38997 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38998 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38999 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39000 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39001 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39002 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39003 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39004 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39005 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39006 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39007 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39008 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39010 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39012 * stdio-common/_itoa.h: Moved to ...
39013 * sysdeps/generic/_itoa.h: Here.
39015 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39017 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39018 instead of "_itoa.h" and "_itowa.h".
39019 * stdio-common/vfprintf.: Likewise.
39021 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39025 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39026 (__signbit): Likwise.
39027 (llrintf): Likwise.
39030 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39032 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39035 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39037 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39038 OVERFLOW_EXCEPTION_OK.
39039 * math/libm-test.inc ("Philosophy"): Update comment about
39041 (OVERFLOW_EXCEPTION): Define.
39042 (OVERFLOW_EXCEPTION_OK): Likewise.
39043 (INVALID_EXCEPTION_OK): Renumber.
39044 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39045 (IGNORE_ZERO_INF_SIGN): Likewise.
39046 (test_exceptions): Handle FE_OVERFLOW.
39047 (exp10_test): Expect overflow exceptions.
39048 (exp2_test): Likewise.
39049 (expm1_test): Likewise.
39050 (nextafter_test): Likewise.
39051 (pow_test): Likewise.
39052 (scalbn_test): Likewise.
39053 (scalbln_test): Likewise.
39055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39057 * sysdeps/x86_64/bits/atomic.h
39058 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39060 (atomic_exchange_acq): Likewise.
39061 (__arch_exchange_and_add_body): Likewise.
39062 (__arch_add_body): Likewise.
39063 (atomic_add_negative): Likewise.
39064 (atomic_add_zero): Likewise.
39066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39068 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39069 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39071 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39073 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39074 Check __x86_64__ instead of __WORDSIZE.
39076 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39078 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39080 2012-03-19 David S. Miller <davem@davemloft.net>
39082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39084 * sysdeps/sparc/fpu/fenv_private.h: New file.
39085 * sysdeps/sparc/fpu/math_private.h: Use it.
39086 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39088 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39089 (libc_feholdexcept_setroundl): Remove.
39090 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39092 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39093 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39097 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39098 int64_t instead of long int.
39099 (INSERT_WORDS64): Likwise.
39101 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39103 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39104 _Unwind_GetCFA return to _Unwind_Ptr first.
39106 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39109 * math/s_clog.c: Include <float.h>.
39110 (__clog): Scale large or subnormal inputs.
39111 * math/s_clogf.c: Likewise.
39112 * math/s_clogl.c: Likewise.
39113 * math/s_clog10.c: Include <float.h>.
39114 (M_LOG10_2): Define.
39115 (__clog10): Scale large or subnormal inputs.
39116 * math/s_clog10f.c: Likewise.
39117 * math/s_clog10l.c: Likewise.
39118 * math/libm-test.inc (clog_test): Add more tests.
39119 (clog10_test): Likewise.
39120 * sysdeps/i386/fpu/libm-test-ulps: Update.
39121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39124 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39126 * math/libm-test.inc (atan2_test): Add another test.
39128 * Makerules (common-objdir-compile): Remove.
39129 * sysdeps/unix/Makefile (config-generated): Do not add
39130 $(unix-generated) to variable.
39131 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39132 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39134 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39136 [generic bits/local_lim.h] (before-compile): Do not append to
39138 [generic bits/local_lim.h] (common-generated): Likewise.
39139 [generic sys/param.h] (before-compile): Do not append to variable.
39140 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39141 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39142 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39143 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39145 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39146 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39147 [generic sys/param.h] ($(addprefix
39148 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39149 [generic sys/param.h] (common-generated): Do not append to
39151 [generic sys/param.h] (sysdep_headers): Likewise.
39152 [generic bits/errno.h] (before-compile): Do not append to
39154 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39156 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39157 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39158 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39159 [generic bits/errno.h] (common-generated): Do not append to
39161 [generic bits/ioctls.h] (before-compile): Do not append to
39163 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39165 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39166 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39167 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39169 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39170 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39171 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39172 [generic bits/ioctls.h] (common-generated): Do not append to
39174 [generic sys/syscall.h] (syscall.h): Remove variable.
39175 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39177 [generic sys/syscall.h] (before-compile): Do not append to
39179 [generic sys/syscall.h] (common-generated): Likewise.
39180 * sysdeps/unix/errnos-tmpl.c: Remove file.
39181 * sysdeps/unix/errnos.awk: Likewise.
39182 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39183 * sysdeps/unix/ioctls.awk: Likewise.
39184 * sysdeps/unix/mk-local_lim.c: Likewise.
39185 * sysdeps/unix/snarf-ioctls: Likewise.
39187 2012-03-19 Richard Henderson <rth@twiddle.net>
39189 * sysdeps/i386/fpu/fenv_private.h: New file.
39190 * sysdeps/i386/fpu/math_private.h: Use it.
39191 (math_opt_barrier, math_force_eval): Remove.
39192 (libc_feholdexcept_setround_53bit): Remove.
39193 (libc_feupdateenv_53bit): Remove.
39194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39195 (math_opt_barrier, math_force_eval): Remove.
39196 (libc_feholdexcept): Remove.
39197 (libc_feholdexcept_setround): Remove.
39198 (libc_fetestexcept, libc_fesetenv): Remove.
39199 (libc_feupdateenv_test): Remove.
39200 (libc_feupdateenv, libc_feholdsetround): Remove.
39201 (libc_feresetround): Remove.
39203 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39204 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39206 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39207 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39208 (libc_feupdateenv_testl): New.
39209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39210 (libc_feupdateenv_testf): New.
39211 (libc_feupdateenv): Use libc_feupdateenv_test.
39212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39213 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39215 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39216 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39217 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39218 (libc_feresetround_noex): New.
39219 (libc_feresetround_noexf): New.
39220 (libc_feresetround_noexl): New.
39221 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39222 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39223 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39229 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39231 SET_RESTORE_ROUND_NOEX.
39232 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39233 SET_RESTORE_ROUND_NOEXF.
39234 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39235 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39236 (libc_feholdsetroundf): New.
39237 (libc_feresetround, libc_feresetroundf): New.
39239 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39240 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39241 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39243 * sysdeps/generic/math_private.h: Include <fenv.h>.
39244 (default_libc_feholdexcept): New.
39245 (default_libc_feholdexcept_setround): New.
39246 (default_libc_fesetenv, default_libc_feupdateenv): New.
39247 (libc_feholdexcept): Only define if undefined.
39248 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39249 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39250 (libc_feholdexcept_setroundl): Likewise.
39251 (libc_feholdexcept_setround_53bit): Likewise.
39252 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39253 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39254 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39255 (libc_feupdateenv_53bit): Likewise.
39256 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39257 (libc_feholdexcept): Convert from macro to inline function.
39258 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39259 (libc_fesetenv, libc_feupdateenv): Likewise.
39261 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39262 not previously defined.
39263 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39264 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39265 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39266 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39267 * sysdeps/ieee754/flt-32/math_private.h: New file.
39268 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39269 math_private.h below SET_FLOAT_WORD.
39270 (__isnan, __isinf_ns, __finite): Remove.
39271 (__isnanf, __isinf_nsf, __finitef): Remove.
39273 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39277 2012-03-17 David S. Miller <davem@davemloft.net>
39280 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39283 2012-03-16 David S. Miller <davem@davemloft.net>
39285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39291 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39292 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39293 sysdep_routines when subdir is sysvipc.
39294 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39295 __getshmlba helper.
39297 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39301 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39304 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39307 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39308 (__lround): Renamed to ...
39309 (__llround): This. Replace long int with long long int.
39310 Define lround functions as aliases of llround functions.
39311 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39313 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39315 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39316 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39317 adresses to uintptr_t. Replace "long int" and "unsigned long
39318 int" with "greg_t" on va_arg.
39320 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39322 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39323 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39325 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39326 Move e_machine check before EI_CLASS check. Handle x32
39327 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39328 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39329 SKIP_EM_IA_64 and include
39330 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39332 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39333 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39334 (add_system_dir): New macro.
39336 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39337 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39339 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39350 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39352 * math/w_j0f.c (j0f): Likewise.
39354 * math/w_j0l.c (__j0l): Likewise.
39356 * math/w_j1.c (j1): Likewise.
39358 * math/w_j1f.c (j1f): Likewise.
39360 * math/w_j1l.c (__j1l): Likewise.
39362 * math/w_jn.c (jn): Likewise.
39364 * math/w_jnf.c (jnf): Likewise.
39366 * math/w_jnl.c (__jnl): Likewise.
39368 * math/libm-test.inc (j0_test): Add more tests.
39369 (j1_test): Likewise.
39370 (jn_test): Likewise. Add trailing semicolon to existing test.
39371 (y0_test): Likewise.
39372 (y1_test): Likewise.
39373 * sysdeps/i386/fpu/libm-test-ulps: Update.
39374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39378 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39379 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39380 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39382 (__tanl): Set errno for infinite argument.
39383 * sysdeps/i386/fpu/mptan.c: Remove.
39384 * sysdeps/i386/fpu/s_tan.S: Likewise.
39385 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39386 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39387 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39388 * math/libm-test.inc (tan_test): Add more tests and enable more
39389 tests for double and long double.
39390 * sysdeps/i386/fpu/libm-test-ulps: Update.
39391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39393 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39395 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39396 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39398 2012-03-16 Roland McGrath <roland@hack.frob.com>
39400 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39401 * configure.in: Use it for both main tree and add-ons.
39402 * configure: Regenerated.
39404 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39406 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39408 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39410 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39414 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39415 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39416 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39418 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39420 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39422 != 0 for prec == 2.
39423 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39424 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39425 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39426 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39427 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39428 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39429 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39430 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39431 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39432 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39433 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39434 * math/libm-test.inc (cos_test): Add more tests and enable more
39435 tests for long double.
39436 (sin_test): Likewise.
39437 (sincos_test): Likewise.
39438 * sysdeps/i386/fpu/libm-test-ulps: Update.
39439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39441 2012-03-16 David S. Miller <davem@davemloft.net>
39443 * sysdeps/sparc/fpu/math_private.h: New file.
39445 2012-03-15 David S. Miller <davem@davemloft.net>
39447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39461 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39462 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39464 * sysdeps/sparc/sparc-ifunc.h: New file.
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39510 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39512 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39516 2012-03-15 Andreas Jaeger <aj@suse.de>
39519 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39520 ieee754/flt-32 implementation for sin, cos and sincos.
39521 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39522 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39523 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39524 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39525 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39526 ieee754/flt-32 implementation for tan.
39528 * math/libm-test.inc (cos_test): Enable some large input tests for
39530 (sin_test): Likewise.
39531 (sincos_test): Likewise.
39532 (tan_test): Add tests for large input.
39534 * sysdeps/i386/fpu/libm-test-ulps: Update.
39536 2012-03-15 Andreas Jaeger <aj@suse.de>
39539 * math/libm-test.inc (cos_test): Add more test cases.
39540 (sin_test): Likewise.
39541 (sincos_test): Likewise.
39543 2012-03-15 Andreas Jaeger <aj@suse.de>
39546 * math/libm-test.inc (cos_test): Add a test case for large input
39548 (sin_test): Likewise.
39549 (sincos_test): Likewise.
39551 2012-03-15 Andreas Jaeger <aj@suse.de>
39552 Joseph Myers <joseph@codesourcery.com>
39555 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39556 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39557 * sysdeps/i386/fpu/branred.c: Likewise.
39558 * sysdeps/i386/fpu/dosincos.c: Likewise.
39559 * sysdeps/i386/fpu/mpa.c: Likewise.
39560 * sysdeps/i386/fpu/s_cos.S: Likewise.
39561 * sysdeps/i386/fpu/s_sin.S: Likewise.
39562 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39563 * sysdeps/i386/fpu/sincos32.c: Likewise.
39565 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39567 (libc_feupdateenv_53bit): Define.
39568 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39570 (libc_feupdateenv_53bit): Define.
39572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39573 53 bit (without extend i386 double precision).
39575 * math/libm-test.inc (sincos_test): Add tests for large input.
39579 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39581 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39585 2012-03-15 David S. Miller <davem@davemloft.net>
39587 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39615 fmin/fmax sysdep routines.
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39618 2012-03-14 David S. Miller <davem@davemloft.net>
39620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39697 * sysdeps/sparc/configure.in: New file.
39698 * sysdeps/sparc/configure: Generate.
39699 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39700 * configure: Regenerate.
39701 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39702 * config.make.in (have-as-vis3): New.
39703 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39704 available use -Av9d instead of -Av9a.
39705 * sysdeps/sparc/sparc64/Makefile: Likewise.
39706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39722 fzeros/fnegs to load 0x80000000 into a float register instead of
39724 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39726 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39730 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39731 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39732 ($(inst_includedir)/bits/syscall.h): Remove rule.
39733 ($(objpfx)bits/syscall.d): Include instead of
39734 $(objpfx)syscall-list.d.
39735 (generated): Change syscall-list.h and syscall-list.d to
39736 bits/syscall.h and bits/syscall.d.
39738 2012-03-14 Roland McGrath <roland@hack.frob.com>
39741 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39743 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39746 * math/s_csqrt.c: Include <float.h>.
39747 (__csqrt): Scale large or subnormal inputs.
39748 * math/s_csqrtf.c: Likewise.
39749 * math/s_csqrtl.c: Likewise.
39750 * math/libm-test.inc (csqrt_test): Add more tests.
39751 * sysdeps/i386/fpu/libm-test-ulps: Update.
39752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39755 * math/libm-test.inc (hypot_test): Add more tests.
39757 2012-03-13 David S. Miller <davem@davemloft.net>
39760 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39761 double-precision for the calculation instead of scaling.
39763 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39766 manipulate bits before adding and subtracting TWO52[sx].
39767 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39772 2012-03-13 David S. Miller <davem@davemloft.net>
39774 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39775 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39777 rtld-global-offsets.h
39778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39780 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39783 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39785 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39786 'err' in the ifdef scope in which it is actually used.
39788 * nss/nss_db/db-init.c: Include string.h
39790 2012-03-12 David S. Miller <davem@davemloft.net>
39792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39793 masking out of the most significant byte of random value used.
39794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39795 Fix coding style in previous change.
39797 * sysdeps/unix/sysv/linux/kernel-features.h
39798 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39799 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39801 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39804 2012-03-11 David S. Miller <davem@davemloft.net>
39806 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39807 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39809 for 'resultvar' otherwise things get truncated on 64-bit.
39811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39812 Fix masking out of the most significant byte of random value used.
39814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39816 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39820 2012-03-09 David S. Miller <davem@davemloft.net>
39822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39823 variables with appropriate CPP guards.
39824 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39825 from the frame pointer, not the stack pointer. Correct layout
39826 comments. Fix test on resulting framesize and the management of
39827 the outregs buffer for pltexit. Preserve floating point return
39828 values across _dl_call_pltexit call.
39829 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39830 framesize and the management of the outregs buffer for pltexit.
39831 Preserve floating point return values across _dl_call_pltexit
39833 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39834 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39835 (la_sparc64_gnu_pltexit): New functions.
39836 (print_exit): Fix format string for return register value.
39838 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39840 * sunrpc/Makefile (others): Add rpcgen.
39841 ($(objpfx)rpcgen): Remove special build rule and dependency on
39843 * sunrpc/rpcgen.c: New file.
39845 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39848 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39849 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39850 * sysdeps/i386/crti.S: Likewise.
39851 * sysdeps/i386/crtn.S: Likewise.
39852 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39853 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39854 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39855 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39856 * sysdeps/sh/crti.S: Likewise.
39857 * sysdeps/sh/crtn.S: Likewise.
39858 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39861 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39863 * locale/programs/locfile-kw.gperf: Likewise.
39864 * locale/programs/charmap-kw.h: Regenerated.
39865 * locale/programs/locfile-kw.h: Likewise.
39868 * intl/plural.y: Replace FSF snail mail address with URL.
39869 * intl/plural.c: Regenerated.
39871 2012-03-09 Richard Henderson <rth@twiddle.net>
39873 * include/math_private.h: Remove file.
39874 * math/math_private.h: Move file ...
39875 * sysdeps/generic/math_private.h: ... here.
39877 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39878 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39879 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39881 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39882 and <math_private.h>.
39883 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39884 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39885 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39886 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39887 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39928 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39929 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39933 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39935 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39941 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39942 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39943 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39944 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39946 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39947 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39951 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39952 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39954 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39956 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39965 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39970 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39971 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39974 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39976 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39977 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39978 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39979 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39980 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39981 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39982 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39983 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39984 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39985 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39986 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39987 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39988 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39989 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39990 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39991 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39993 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39994 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39995 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39996 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39997 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39998 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39999 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40000 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40001 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40002 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40003 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40004 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40005 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40006 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40007 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40008 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40009 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40010 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40011 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40012 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40013 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40014 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40015 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40016 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40017 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40018 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40019 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40020 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40021 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40022 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40023 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40024 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40025 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40026 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40027 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40028 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40029 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40030 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40031 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40032 * sysdeps/ieee754/k_standard.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40160 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40165 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40166 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40179 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40181 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40182 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40183 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40193 * sysdeps/ieee754/s_lib_version.c: Likewise.
40194 * sysdeps/ieee754/s_matherr.c: Likewise.
40195 * sysdeps/ieee754/s_signgam.c: Likewise.
40196 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40197 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40198 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40199 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40200 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40201 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40202 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40203 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40204 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40205 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40206 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40207 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40208 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40210 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40211 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40212 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40213 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40214 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40218 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40220 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40221 * sunrpc/rpc_main.c: Likewise.
40222 * sunrpc/rpc_svcout.c: Likewise.
40224 2012-03-09 David S. Miller <davem@davemloft.net>
40226 * include/math_private.h: New file.
40228 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40230 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40231 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40232 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40233 from <bits/socket_type.h>.
40234 (enum __socket_type): Don't define here.
40235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40237 bits/socket_type.h.
40240 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40241 checking __USE_GNU.
40243 * Makerules ($(inst_includedir)/%.h): New rule.
40244 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40245 (install-others): Remove variable setting.
40246 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40248 2012-03-08 Richard Henderson <rth@twiddle.net>
40250 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40251 from macro to inline function; merge with the
40252 !__LIBC_INTERNAL_MATH_INLINES version.
40253 (__ieee754_sqrtf): Likewise.
40255 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40256 to inline function.
40257 (__rintf, __floor, __floorf): Likewise.
40259 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40260 macro to inline function.
40261 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40263 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40264 not <math/math_private.h>.
40266 2012-03-08 David S. Miller <davem@davemloft.net>
40268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40270 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40272 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40274 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40276 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40277 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40279 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40281 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40282 be defined individually, they must be defined as a block. Define
40283 S for printing a string instead of hidint the different by using a
40284 macro for adding the 'l'.
40285 * stdio-common/tst-fphex-wide.c: Adjust.
40287 2012-03-07 Marek Polacek <polacek@redhat.com>
40289 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40291 2012-03-08 Marek Polacek <polacek@redhat.com>
40294 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40295 * stdio-common/tst-fphex.c: Define a few macros to make the
40296 test reusable. Use them.
40297 * stdio-common/tst-fphex-wide.c: New file.
40299 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40302 * manual/macros.texi (gnusystems): New macro.
40303 (nongnusystems): Likewise.
40304 (gnulinuxhurdsystems): Likewise.
40305 (gnuhurdsystems): Likewise..
40306 (gnulinuxsystems): Likewise.
40307 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40308 variants of the GNU system, not "GNU system".
40309 * manual/conf.texi: Likewise.
40310 * manual/errno.texi: Likewise. Update example of errno macro
40312 * manual/filesys.texi: Likewise.
40313 (getumask): Document as specific to GNU/Hurd.
40314 * manual/install.texi: Likewise. Reword some references to
40316 * manual/intro.texi: Likewise.
40317 * manual/io.texi: Likewise.
40318 (File Name Portability): Detail which constraints are inapplicable
40319 to all GNU systems and which are only inapplicable to GNU/Hurd.
40320 * manual/job.texi: Likewise.
40321 * manual/llio.texi: Likewise.
40322 (O_NOCTTY): Document as present on GNU/Linux.
40323 * manual/maint.texi: Likewise.
40324 * manual/memory.texi: Likewise.
40325 * manual/pattern.texi: Likewise.
40326 * manual/pipe.texi: Likewise.
40327 * manual/process.texi: Likewise.
40328 * manual/resource.texi: Likewise.
40329 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40331 * manual/setjmp.texi: Likewise.
40332 * manual/signal.texi: Likewise.
40333 * manual/startup.texi: Likewise.
40334 * manual/stdio.texi: Likewise.
40335 * manual/terminal.texi: Likewise.
40336 (ONLCR): Document as POSIX.
40337 (OXTABS): Document availability on GNU/Linux as XTABS.
40338 (ONOEOT): Document availability separately from other bits.
40339 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40340 * manual/time.texi: Likewise.
40341 * manual/users.texi: Likewise.
40342 * INSTALL: Regenerated.
40343 * sysdeps/gnu/errlist.c: Regenerated.
40345 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40346 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40347 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40349 * configure: Regenerated.
40351 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40353 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40354 default includes instead of AC_HEADER_CHECK.
40355 * sysdeps/i386/configure: Regenerated.
40358 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40359 * math/s_cacoshf.c (__cacoshf): Likewise.
40360 * math/s_cacoshl.c (__cacoshl): Likewise.
40361 * math/s_casinh.c (__casinh): Set signs of result from argument.
40362 * math/s_casinhf.c (__casinhf): Likewise.
40363 * math/s_casinhl.c (__casinhl): Likewise.
40364 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40365 (casinh_test): Add more tests.
40366 * sysdeps/i386/fpu/libm-test-ulps: Update.
40367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40369 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40371 * po/zh_TW.po: Update from translation team.
40373 * login/Makefile (distribute): Remove variable.
40374 * catgets/Makefile: Likewise.
40375 * mach/Makefile: Likewise.
40376 * malloc/Makefile: Likewise.
40377 * misc/Makefile: Likewise.
40378 * iconv/Makefile: Likewise.
40379 * nscd/Makefile: Likewise.
40380 * hurd/Makefile: Likewise.
40381 * manual/Makefile: Likewise.
40382 * locale/Makefile: Likewise.
40383 * intl/Makefile: Likewise.
40384 * conform/Makefile: Likewise.
40385 * nss/Makefile: Likewise.
40386 * time/Makefile: Likewise.
40387 * soft-fp/Makefile: Likewise.
40388 * dirent/Makefile: Likewise.
40389 * gmon/Makefile: Likewise.
40390 * po/Makefile: Likewise.
40391 * rt/Makefile: Likewise.
40392 * socket/Makefile: Likewise.
40393 * math/Makefile: Likewise.
40394 * signal/Makefile: Likewise.
40395 * debug/Makefile: Likewise.
40396 * elf/Makefile: Likewise.
40397 * timezone/Makefile: Likewise.
40398 * stdlib/Makefile: Likewise.
40399 * iconvdata/Makefile: Likewise.
40400 * sunrpc/Makefile: Likewise.
40401 * io/Makefile: Likewise.
40402 * argp/Makefile: Likewise.
40403 * inet/Makefile: Likewise.
40404 * hesiod/Makefile: Likewise.
40405 * grp/Makefile: Likewise.
40406 * csu/Makefile: Likewise.
40407 * wctype/Makefile: Likewise.
40408 * crypt/Makefile: Likewise.
40409 * libio/Makefile: Likewise.
40410 * string/Makefile: Likewise.
40411 * nis/Makefile: Likewise.
40412 * resolv/Makefile: Likewise.
40413 * stdio-common/Makefile: Likewise.
40414 * wcsmbs/Makefile: Likewise.
40415 * dlfcn/Makefile: Likewise.
40416 * posix/Makefile: Likewise.
40419 * timezone/Makefile: Don't install timezone files, just the programs
40422 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40424 * nss/databases.def: Add missing gshadow entry.
40426 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40428 2012-03-06 Marek Polacek <polacek@redhat.com>
40431 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40432 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40433 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40434 * stdio-common/tst-long-dbl-fphex.c: New file.
40436 2012-03-06 David S. Miller <davem@davemloft.net>
40438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40439 (set_obp_int): New function.
40440 (get_obp_int): New function.
40441 (__get_clockfreq_via_dev_openprom): Likewise.
40442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40443 Avoid unused variable warnings on 'val' and use builtin_expect.
40444 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40446 (INLINE_CLONE_SYSCALL): Likewise.
40448 2012-03-05 David S. Miller <davem@davemloft.net>
40450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40452 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40456 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40457 only for |x| >= 40.
40458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40460 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40462 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40463 Replace gettimeofday with __vdso_gettimeofday.
40465 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40466 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40467 __vdso_clock_gettime and __vdso_getcpu.
40469 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40470 time with __vdso_time.
40472 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40474 * manual/lang.texi (size_t): Note types to which size_t may be
40475 equivalent with the GNU C Library, but do not describe when
40476 differences between them are significant.
40478 2012-03-05 Andreas Jaeger <aj@suse.de>
40480 * sysdeps/i386/fpu/libm-test-ulps: Update.
40482 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40485 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40486 (__ieee754_pow): Save and restore rounding mode and use
40487 round-to-nearest for main computations.
40488 * math/libm-test.inc (pow_test_tonearest): New function.
40489 (pow_test_towardzero): Likewise.
40490 (pow_test_downward): Likewise.
40491 (pow_test_upward): Likewise.
40492 (main): Call the new functions.
40493 * sysdeps/i386/fpu/libm-test-ulps: Update.
40494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497 * math/libm-test.inc (cosh_test_tonearest): New function.
40498 (cosh_test_towardzero): Likewise.
40499 (cosh_test_downward): Likewise.
40500 (cosh_test_upward): Likewise.
40501 (sinh_test_tonearest): Likewise.
40502 (sinh_test_towardzero): Likewise.
40503 (sinh_test_downward): Likewise.
40504 (sinh_test_upward): Likewise.
40505 (main): Call the new functions.
40506 * sysdeps/i386/fpu/libm-test-ulps: Update.
40507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40509 2012-03-05 Tom de Vries <tom@codesourcery.com>
40511 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40512 default stack guard is set in last bytes.
40513 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40515 2012-03-05 Kees Cook <keescook@chromium.org>
40517 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40520 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40521 possibly allocate from heap instead of stack.
40522 * stdio-common/bug-vfprintf-nargs.c: New file.
40523 * stdio-common/Makefile (tests): Add nargs overflow test.
40525 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40529 2012-03-03 Marek Polacek <polacek@redhat.com>
40531 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40532 * math/math_private.h: Likewise.
40533 * stdlib/tst-strtod.c: Likewise.
40534 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40535 * sysdeps/x86_64/bits/atomic.h: Likewise.
40537 2012-03-02 David S. Miller <davem@davemloft.net>
40539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40543 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40544 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40545 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40546 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40548 2012-03-02 Roland McGrath <roland@hack.frob.com>
40551 * manual/examples/README: New file, says the example source files
40552 can be used under GPL>=2.
40553 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40554 line containing just "*/".
40555 * manual/examples/add.c: Add copyright header (GPL>=2).
40556 * manual/examples/argp-ex1.c: Likewise.
40557 * manual/examples/argp-ex2.c: Likewise.
40558 * manual/examples/argp-ex3.c: Likewise.
40559 * manual/examples/argp-ex4.c: Likewise.
40560 * manual/examples/atexit.c: Likewise.
40561 * manual/examples/db.c: Likewise.
40562 * manual/examples/dir.c: Likewise.
40563 * manual/examples/dir2.c: Likewise.
40564 * manual/examples/execinfo.c: Likewise.
40565 * manual/examples/filecli.c: Likewise.
40566 * manual/examples/filesrv.c: Likewise.
40567 * manual/examples/fmtmsgexpl.c: Likewise.
40568 * manual/examples/genpass.c: Likewise.
40569 * manual/examples/inetcli.c: Likewise.
40570 * manual/examples/inetsrv.c: Likewise.
40571 * manual/examples/isockad.c: Likewise.
40572 * manual/examples/longopt.c: Likewise.
40573 * manual/examples/memopen.c: Likewise.
40574 * manual/examples/memstrm.c: Likewise.
40575 * manual/examples/mkfsock.c: Likewise.
40576 * manual/examples/mkisock.c: Likewise.
40577 * manual/examples/mygetpass.c: Likewise.
40578 * manual/examples/pipe.c: Likewise.
40579 * manual/examples/popen.c: Likewise.
40580 * manual/examples/rprintf.c: Likewise.
40581 * manual/examples/search.c: Likewise.
40582 * manual/examples/select.c: Likewise.
40583 * manual/examples/setjmp.c: Likewise.
40584 * manual/examples/sigh1.c: Likewise.
40585 * manual/examples/sigusr.c: Likewise.
40586 * manual/examples/stpcpy.c: Likewise.
40587 * manual/examples/strdupa.c: Likewise.
40588 * manual/examples/strftim.c: Likewise.
40589 * manual/examples/strncat.c: Likewise.
40590 * manual/examples/subopt.c: Likewise.
40591 * manual/examples/swapcontext.c: Likewise.
40592 * manual/examples/termios.c: Likewise.
40593 * manual/examples/testopt.c: Likewise.
40594 * manual/examples/testpass.c: Likewise.
40595 * manual/examples/timeval_subtract.c: Likewise.
40598 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40600 * manual/timeval_subtract.c.texi: ... here, new file.
40602 2012-03-02 David S. Miller <davem@davemloft.net>
40604 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40606 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40609 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40610 (__sin): Save and restore rounding mode and use round-to-nearest
40611 for all computations.
40612 (__cos): Save and restore rounding mode and use round-to-nearest
40613 for all computations.
40614 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40616 (tan): Save and restore rounding mode and use round-to-nearest for
40618 * math/libm-test.inc (cos_test_tonearest): New function.
40619 (cos_test_towardzero): Likewise.
40620 (cos_test_downward): Likewise.
40621 (cos_test_upward): Likewise.
40622 (sin_test_tonearest): Likewise.
40623 (sin_test_towardzero): Likewise.
40624 (sin_test_downward): Likewise.
40625 (sin_test_upward): Likewise.
40626 (tan_test_tonearest): Likewise.
40627 (tan_test_towardzero): Likewise.
40628 (tan_test_downward): Likewise.
40629 (tan_test_upward): Likewise.
40630 (main): Call the new functions.
40631 * sysdeps/i386/fpu/libm-test-ulps: Update.
40632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40635 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40636 small n, then large n, before computing and testing k+n.
40637 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40642 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40643 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40644 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40645 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40648 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40649 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40650 * math/libm-test.inc (scalbn_test): Add more tests.
40651 (scalbln_test): Likewise.
40653 * manual/filesys.texi (mode_t): Describe constraints on size and
40654 signedness, not exact equivalence to a particular type.
40656 (ino64_t): Likewise.
40658 (nlink_t): Likewise.
40659 (blkcnt_t): Likewise.
40660 (blkcnt64_t): Likewise.
40661 * manual/llio.texi (off_t): Likewise.
40664 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40665 (__ieee754_exp): Save and restore rounding mode and use
40666 round-to-nearest for all computations.
40667 * math/libm-test.inc (exp_test_tonearest): New function.
40668 (exp_test_towardzero): Likewise.
40669 (exp_test_downward): Likewise.
40670 (exp_test_upward): Likewise.
40671 (main): Call the new functions.
40672 * sysdeps/i386/fpu/libm-test-ulps: Update.
40673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40675 2012-03-01 Chris Demetriou <cgd@google.com>
40677 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40678 have predictable order.
40680 2012-03-01 David S. Miller <davem@davemloft.net>
40682 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40684 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40685 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40686 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40687 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40689 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40690 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40691 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40693 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40694 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40695 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40696 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40697 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40701 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40702 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40703 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40705 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40706 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40707 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40708 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40709 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40710 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40711 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40712 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40714 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40715 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40718 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40719 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40721 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40722 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40723 * sysdeps/sparc/elf/configure: Regenerated.
40725 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40727 * configure.in (AS, LD): Require binutils 2.20 or later.
40728 * configure: Regenerated.
40729 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40730 as required minimum version.
40731 * INSTALL: Regenerated.
40735 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40736 before squaring exponent.
40737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40738 bottom long double and 27 bits of top long double before squaring
40740 * math/libm-test.inc (erfc_test): Add more tests.
40741 * sysdeps/i386/fpu/libm-test-ulps: Update.
40742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40745 2012-03-01 Kai Tietz <ktietz@redhat.com>
40747 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40748 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40749 containing bit-fields.
40750 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40751 * soft-fp/single.h (_FP_UNION_S): Likewise.
40752 * soft-fp/double.h (_FP_UNION_D): Likewise.
40754 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40757 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40758 not include ../strcmp.S.
40759 [USE_AS_STRNCASECMP_L]: Likewise.
40760 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40761 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40762 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40763 (__strncasecmp_l_ia32): Define as alias to
40764 __strncasecmp_l_nonascii.
40767 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40768 * sysdeps/i386/fpu/libm-test-ulps: Update.
40769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40771 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40774 2012-02-29 Jeff Law <law@redhat.com>
40776 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40777 out of bounds read.
40779 2012-02-29 Marek Polacek <polacek@redhat.com>
40782 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40783 * elf/Makefile: Add rules to run tst-unused-dep.out.
40785 2012-02-28 David S. Miller <davem@davemloft.net>
40787 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40788 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40789 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40790 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40791 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40792 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40794 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40796 * math/libm-test.inc (llround_test): Move one test from
40797 lround_test. Use TEST_f_L in moved test.
40798 (lround_test): Move misplaced test to llround_test. Add testcase
40801 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40803 * sysdeps/x86_64/fpu/e_expf.S: New file.
40804 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40806 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40809 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40810 of remain_len that may cause incomplete multi-byte character and
40812 * posix/bug-regex33.c: New file.
40813 * posix/Makefile (tests): Add bug-regex33.
40815 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40817 * manual/macros.texi: New file.
40818 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40819 * manual/libc.texinfo: Include macros.texi.
40820 * manual/creatute.texi: Likewise.
40821 * manual/install.texi: Likewise.
40822 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40823 @glibcadj{} in references to the GNU C Library.
40824 * manual/charset.texi: Likewise.
40825 * manual/conf.texi: Likewise.
40826 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40827 when not using those macros.
40828 * manual/creature.texi: Likewise.
40829 * manual/crypt.texi: Likewise.
40830 * manual/errno.texi: Likewise.
40831 * manual/filesys.texi: Likewise.
40832 * manual/header.texi: Likewise.
40833 * manual/install.texi: Likewise.
40834 * manual/intro.texi: Likewise.
40835 * manual/io.texi: Likewise.
40836 * manual/job.texi: Likewise.
40837 * manual/lang.texi: Likewise.
40838 * manual/libc.texiinfo: Likewise.
40839 * manual/llio.texi: Likewise.
40840 * manual/locale.texi: Likewise.
40841 * manual/maint.texi: Likewise.
40842 * manual/math.texi: Likewise.
40843 * manual/memory.texi: Likewise.
40844 * manual/message.texi: Likewise.
40845 * manual/nss.texi: Likewise.
40846 * manual/pattern.texi: Likewise.
40847 * manual/process.texi: Likewise.
40848 * manual/resource.texi: Likewise.
40849 * manual/search.texi: Likewise.
40850 * manual/setjmp.texi: Likewise.
40851 * manual/signal.texi: Likewise.
40852 * manual/socket.texi: Likewise.
40853 * manual/startup.texi: Likewise.
40854 * manual/stdio.texi: Likewise.
40855 * manual/string.texi: Likewise.
40856 * manual/sysinfo.texi: Likewise.
40857 * manual/syslog.texi: Likewise.
40858 * manual/terminal.texi: Likewise.
40859 * manual/time.texi: Likewise.
40860 * manual/users.texi: Likewise.
40861 * INSTALL: Regenerated.
40862 * NOTES: Regenerated.
40863 * sysdeps/gnu/errlist.c: Regenerated.
40865 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40867 * include/dirent.h: Include <dirstream.h> before
40870 2012-02-28 David S. Miller <davem@davemloft.net>
40872 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40873 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40874 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40875 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40877 2012-02-27 David S. Miller <davem@davemloft.net>
40879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40881 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40882 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40885 frame pointer instead of stack pointer relative arg slot.
40886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40887 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40888 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40890 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40893 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40895 2012-02-27 David S. Miller <davem@davemloft.net>
40897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40901 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40902 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40903 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40904 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40906 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40908 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40909 later. Allow versions 5-9.
40910 * configure: Regenerated.
40911 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40912 required minimum version and 4.6 as recommended version. Do not
40913 mention bugs in GCC 2.7 and 2.8.
40914 * INSTALL: Regenerated.
40916 2012-02-27 David S. Miller <davem@davemloft.net>
40918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40922 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40923 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40924 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40925 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40928 manipulate bits before adding and subtracting TWO112[sx].
40929 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40931 2012-02-27 Roland McGrath <roland@hack.frob.com>
40934 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40935 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40936 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40937 being in POSIX, because they are in 1003.1-2008.
40939 * rt/tst-aio.c: Include <fcntl.h>.
40940 * rt/tst-aio7.c: Likewise.
40941 * rt/tst-aio64.c: Likewise.
40943 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40947 * manual/install.texi (--with-headers): Describe headers as
40948 interface headers, not private headers.
40949 (Specific advice for GNU/Linux systems): Describe use of headers
40950 from "make headers_install", not private headers from older
40952 * INSTALL: Regenerated.
40953 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40955 * sysdeps/unix/sysv/linux/configure: Regenerated.
40957 * manual/llio.texi (fclean): Remove documentation.
40959 * manual/Makefile (libc-texi-generated): New variable. Include
40961 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40962 $(libc-texi-generated), not duplicated list of files.
40963 (version.texi, stamp-version): New rules.
40964 (realclean): Remove $(libc-texi-generated), not individual files
40965 from that list. Do not remove dir-add.texinfo.
40966 * manual/libc.texinfo: Comment out uses of edition numbers and
40967 references to printed manual. Remove last-updated dates.
40968 (EDITION): Comment out.
40970 (VERSION, UPDATED): Remove.
40971 (version.texi): Include.
40973 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40975 * sysdeps/posix/spawni.c: Include <signal.h>.
40976 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40977 * sysdeps/pthread/aio_fsync.c: Likewise.
40979 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40981 * conform/Makefile (tests): Run only when not cross-compiling and
40982 when fast-check is not defined.
40984 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40985 * conform/data/limits.h-data: Fixes for POSIX2008.
40986 * conform/run-conformtest.sh: Run all tests.
40987 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40989 * include/bits/dlfcn.h: Likewise.
40990 * include/langinfo.h: Likewise.
40991 * include/monetary.h: Likewise.
40992 * include/sys/poll.h: Likewise.
40994 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40996 * posix/spawn.h: Define __need_sigset_t.
40997 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40998 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40999 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41000 to get sigevent_t only.
41001 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41002 only for __USE_GNU.
41003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41004 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41005 process_vm_writev only for __USE_GNU.
41006 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41008 * conform/Makefile: For now ignore errors from run-conformtest.
41009 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41010 POSIX to avoid namespace pollution. Don't prepend headers.
41011 * conform/data/aio.h-data: Fixes for POSIX testing.
41012 * conform/data/fcntl.h-data: Likewise.
41013 * conform/data/glob.h-data: Likewise.
41014 * conform/data/grp.h-data: Likewise.
41015 * conform/data/pthread.h-data: Likewise.
41016 * conform/data/pwd.h-data: Likewise.
41017 * conform/data/signal.h-data: Likewise.
41018 * conform/data/spawn.h-data: Likewise.
41019 * conform/data/stdio.h-data: Likewise.
41020 * conform/data/stdlib.h-data: Likewise.
41021 * conform/data/stropts.h-data: Likewise.
41022 * conform/data/sys/mman.h-data: Likewise.
41023 * conform/data/sys/stat.h-data: Likewise.
41024 * conform/data/sys/types.h-data: Likewise.
41025 * conform/data/sys/wait.h-data: Likewise.
41026 * conform/data/time.h-data: Likewise.
41027 * conform/data/unistd.h-data: Likewise.
41028 * conform/data/utime.h-data: Likewise.
41030 * io/sys/stat.h: fchmod was always in POSIX.
41031 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41032 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41033 * rt/aio.h: Define __need_timespec before including <time.h>.
41034 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41035 struct. Add forward declaration of pthread_attr_t and use it in
41037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41038 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41039 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41040 always remove CLK_TCK definition.
41042 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41044 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41046 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41048 * conform/run-conformtest.sh: New file.
41049 * conform/Makefile: Run run-conformtest for tests.
41050 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41053 * conform/data/uchar.h-data: New file.
41054 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41055 * conform/data/arpa/inet.h-data: Likewise.
41056 * conform/data/assert.h-data: Likewise.
41057 * conform/data/complex.h-data: Likewise.
41058 * conform/data/cpio.h-data: Likewise.
41059 * conform/data/ctype.h-data: Likewise.
41060 * conform/data/dirent.h-data: Likewise.
41061 * conform/data/dlfcn.h-data: Likewise.
41062 * conform/data/errno.h-data: Likewise.
41063 * conform/data/fcntl.h-data: Likewise.
41064 * conform/data/float.h-data: Likewise.
41065 * conform/data/fmtmsg.h-data: Likewise.
41066 * conform/data/fnmatch.h-data: Likewise.
41067 * conform/data/ftw.h-data: Likewise.
41068 * conform/data/glob.h-data: Likewise.
41069 * conform/data/grp.h-data: Likewise.
41070 * conform/data/iconv.h-data: Likewise.
41071 * conform/data/inttypes.h-data: Likewise.
41072 * conform/data/langinfo.h-data: Likewise.
41073 * conform/data/libgen.h-data: Likewise.
41074 * conform/data/limits.h-data: Likewise.
41075 * conform/data/locale.h-data: Likewise.
41076 * conform/data/math.h-data: Likewise.
41077 * conform/data/monetary.h-data: Likewise.
41078 * conform/data/mqueue.h-data: Likewise.
41079 * conform/data/ndbm.h-data: Likewise.
41080 * conform/data/net/if.h-data: Likewise.
41081 * conform/data/netdb.h-data: Likewise.
41082 * conform/data/netinet/in.h-data: Likewise.
41083 * conform/data/nl_types.h-data: Likewise.
41084 * conform/data/poll.h-data: Likewise.
41085 * conform/data/pthread.h-data: Likewise.
41086 * conform/data/pwd.h-data: Likewise.
41087 * conform/data/regex.h-data: Likewise.
41088 * conform/data/sched.h-data: Likewise.
41089 * conform/data/search.h-data: Likewise.
41090 * conform/data/semaphore.h-data: Likewise.
41091 * conform/data/setjmp.h-data: Likewise.
41092 * conform/data/signal.h-data: Likewise.
41093 * conform/data/spawn.h-data: Likewise.
41094 * conform/data/stdarg.h-data: Likewise.
41095 * conform/data/stdio.h-data: Likewise.
41096 * conform/data/stdlib.h-data: Likewise.
41097 * conform/data/string.h-data: Likewise.
41098 * conform/data/strings.h-data: Likewise.
41099 * conform/data/stropts.h-data: Likewise.
41100 * conform/data/sys/ipc.h-data: Likewise.
41101 * conform/data/sys/mman.h-data: Likewise.
41102 * conform/data/sys/msg.h-data: Likewise.
41103 * conform/data/sys/resource.h-data: Likewise.
41104 * conform/data/sys/select.h-data: Likewise.
41105 * conform/data/sys/sem.h-data: Likewise.
41106 * conform/data/sys/shm.h-data: Likewise.
41107 * conform/data/sys/socket.h-data: Likewise.
41108 * conform/data/sys/stat.h-data: Likewise.
41109 * conform/data/sys/statvfs.h-data: Likewise.
41110 * conform/data/sys/time.h-data: Likewise.
41111 * conform/data/sys/timeb.h-data: Likewise.
41112 * conform/data/sys/times.h-data: Likewise.
41113 * conform/data/sys/types.h-data: Likewise.
41114 * conform/data/sys/uio.h-data: Likewise.
41115 * conform/data/sys/un.h-data: Likewise.
41116 * conform/data/sys/utsname.h-data: Likewise.
41117 * conform/data/sys/wait.h-data: Likewise.
41118 * conform/data/syslog.h-data: Likewise.
41119 * conform/data/tar.h-data: Likewise.
41120 * conform/data/termios.h-data: Likewise.
41121 * conform/data/utime.h-data: Likewise.
41122 * conform/data/utmpx.h-data: Likewise.
41123 * conform/data/varargs.h-data: Likewise.
41124 * conform/data/wchar.h-data: Likewise.
41125 * conform/data/wctype.h-data: Likewise.
41126 * conform/data/wordexp.h-data: Likewise.
41128 * include/stropts.h: New file.
41129 * include/uchar.h: New file.
41130 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41131 * include/assert.h: Likewise.
41132 * include/ctype.h: Likewise.
41133 * include/dirent.h: Likewise.
41134 * include/dlfcn.h: Likewise.
41135 * include/fcntl.h: Likewise.
41136 * include/fnmatch.h: Likewise.
41137 * include/glob.h: Likewise.
41138 * include/grp.h: Likewise.
41139 * include/libio.h: Likewise.
41140 * include/locale.h: Likewise.
41141 * include/math.h: Likewise.
41142 * include/net/if.h: Likewise.
41143 * include/netdb.h: Likewise.
41144 * include/netinet/in.h: Likewise.
41145 * include/pthread.h: Likewise.
41146 * include/pwd.h: Likewise.
41147 * include/regex.h: Likewise.
41148 * include/sched.h: Likewise.
41149 * include/search.h: Likewise.
41150 * include/setjmp.h: Likewise.
41151 * include/signal.h: Likewise.
41152 * include/stdio.h: Likewise.
41153 * include/stdlib.h: Likewise.
41154 * include/string.h: Likewise.
41155 * include/sys/cdefs.h: Likewise.
41156 * include/sys/mman.h: Likewise.
41157 * include/sys/msg.h: Likewise.
41158 * include/sys/resource.h: Likewise.
41159 * include/sys/select.h: Likewise.
41160 * include/sys/socket.h: Likewise.
41161 * include/sys/stat.h: Likewise.
41162 * include/sys/statvfs.h: Likewise.
41163 * include/sys/time.h: Likewise.
41164 * include/sys/times.h: Likewise.
41165 * include/sys/uio.h: Likewise.
41166 * include/sys/utsname.h: Likewise.
41167 * include/sys/wait.h: Likewise.
41168 * include/termios.h: Likewise.
41169 * include/time.h: Likewise.
41170 * include/ulimit.h: Likewise.
41171 * include/unistd.h: Likewise.
41172 * include/utime.h: Likewise.
41173 * include/wchar.h: Likewise.
41174 * include/wctype.h: Likewise.
41175 * include/wordexp.h: Likewise.
41177 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41179 * time/time.h: TIME_UTC must be a macro.
41180 Make timespec_get available for ISO C11 only as well.
41182 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41184 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41185 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41187 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41189 * configure.in: Use -o not -a in test for unsupported multi-arch.
41191 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41193 * manual/texinfo.tex: Update to version 2012-01-19.16.
41195 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41197 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41199 2012-02-24 Roland McGrath <roland@hack.frob.com>
41202 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41203 * manual/fdl-1.3.texi: New file.
41204 * manual/fdl-1.1.texi: File removed.
41207 * manual/libc.texinfo (FDL_VERSION): New @set.
41208 Use it for mention of FDL in cover text.
41209 (Documentation License): Use it in @include file name.
41211 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41212 Roland McGrath <roland@hack.frob.com>
41215 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41216 (not LONG_LONG_MAX and LONG_LONG_MIN.
41217 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41218 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41220 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41222 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41226 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41227 manipulate bits before adding and subtracting TWO23[sx].
41228 * math/libm-test.inc (nearbyint_test): Add more tests.
41230 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41233 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41234 bits before adding and subtracting TWO23[sx].
41235 * math/libm-test.inc (rint_test): Add more tests.
41236 (rint_test_tonearest): Likewise.
41237 (rint_test_towardzero): Likewise.
41238 (rint_test_downward): Likewise.
41239 (rint_test_upward: Likewise.
41241 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41244 * include/stdc-predef.h: New file. Extracted from features.h.
41245 * include/features.h: Include stdc-predef.h.
41246 * Makefile (headers): Add stdc-predef.h.
41247 * CONFORMANCE (Compiler limitations): Update.
41249 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41251 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41253 2012-02-21 David S. Miller <davem@davemloft.net>
41255 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41256 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41258 2012-02-20 David S. Miller <davem@davemloft.net>
41260 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41261 using a normal save/restore sequence, rather than allocating a
41262 dummy stack frame just to store a frame pointer and restore.
41263 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41265 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41267 * manual/install.texi: Fix stray word in line-wrapped comment.
41269 2012-02-20 David S. Miller <davem@davemloft.net>
41271 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41272 both binutils and gcc support GOTDATA.
41274 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41275 "rd %pc" in the PIC register setup sequences.
41277 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41278 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41279 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41280 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41281 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41286 (SYSCALL_ERROR_HANDLER): Likewise.
41287 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41288 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41290 (SYSCALL_ERROR_HANDLER): Likewise.
41292 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41293 (HAVE_GCC_GOTDATA): New.
41294 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41295 relocation support in both binutils and gcc.
41296 * sysdeps/sparc/elf/configure: Regenerate.
41298 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41299 * sysdeps/sparc/sparc32/elf/configure: Delete.
41300 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41301 * sysdeps/sparc/sparc64/elf/configure: Delete.
41302 * sysdeps/sparc/elf/configure.in: New file.
41303 * sysdeps/sparc/elf/configure: Generate.
41305 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41306 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41307 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41308 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41309 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41311 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41313 * manual/install.texi: Do not mention specific glibc version
41315 * manual/libc.texinfo (VERSION, UPDATED): Update.
41316 (@copying): Use @copyright{} and range of years.
41318 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41321 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41322 [crti.S not in sysdirs] (generated): Do not append.
41323 [crti.S not in sysdirs] (omit-deps): Likewise.
41324 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41325 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41326 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41327 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41328 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41330 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41331 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41332 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41333 * csu/defs.awk: Remove file.
41334 * sysdeps/generic/initfini.c: Likewise.
41335 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41337 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41340 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41342 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41343 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41344 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41345 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41346 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41347 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41349 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41350 (__EPOLL_PACKED): Define to empty if not defined by
41352 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41356 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41358 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41359 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41360 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41361 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41363 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41367 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41369 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41376 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41378 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41381 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41383 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41384 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41386 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41388 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41391 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41393 * math/w_acos.c: Use non-signaling floating-point comparisons.
41394 * math/w_acosf.c: Likewise.
41395 * math/w_acosh.c: Likewise.
41396 * math/w_acoshf.c: Likewise.
41397 * math/w_acoshl.c: Likewise.
41398 * math/w_acosl.c: Likewise.
41399 * math/w_asin.c: Likewise.
41400 * math/w_asinf.c: Likewise.
41401 * math/w_asinl.c: Likewise.
41402 * math/w_atanh.c: Likewise.
41403 * math/w_atanhf.c: Likewise.
41404 * math/w_atanhl.c: Likewise.
41405 * math/w_exp2.c: Likewise.
41406 * math/w_exp2f.c: Likewise.
41407 * math/w_exp2l.c: Likewise.
41408 * math/w_j0.c: Likewise.
41409 * math/w_j0f.c: Likewise.
41410 * math/w_j0l.c: Likewise.
41411 * math/w_j1.c: Likewise.
41412 * math/w_j1f.c: Likewise.
41413 * math/w_j1l.c: Likewise.
41414 * math/w_jn.c: Likewise.
41415 * math/w_jnf.c: Likewise.
41416 * math/w_log.c: Likewise.
41417 * math/w_log10.c: Likewise.
41418 * math/w_log10f.c: Likewise.
41419 * math/w_log10l.c: Likewise.
41420 * math/w_log2.c: Likewise.
41421 * math/w_log2f.c: Likewise.
41422 * math/w_log2l.c: Likewise.
41423 * math/w_logf.c: Likewise.
41424 * math/w_logl.c: Likewise.
41425 * math/w_sqrt.c: Likewise.
41426 * math/w_sqrtf.c: Likewise.
41427 * math/w_sqrtl.c: Likewise.
41428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41429 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41431 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41432 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41434 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41437 * manual/string.texi (strnlen): Use correct parameter name in
41438 equivalent expression.
41440 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41443 * manual/users.texi (seteuid): Consistently use neweuid for
41446 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41449 * manual/nss.texi (Services in the NSS configuration): Correct
41450 list of services in example configuration file.
41452 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41455 * manual/arith.texi: Remove statements about negative zero
41456 behaving identically to zero.
41458 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41461 * manual/install.texi: Do not document upgrading from libc5.
41463 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41466 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41468 2012-02-18 David S. Miller <davem@davemloft.net>
41470 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41471 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41472 %o7 across the call.
41473 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41476 SETUP_PIC_REG_LEAF.
41477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41478 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41479 * sysdeps/sparc/crtn.S: Likewise.
41481 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41483 * aout/Makefile: Remove.
41485 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41488 * manual/examples/argp-ex1.c (main): Format definition in GNU
41490 * manual/examples/argp-ex2.c (main): Likewise.
41491 * manual/examples/argp-ex3.c (main): Likewise.
41492 * manual/examples/argp-ex4.c (main): Likewise.
41493 * manual/examples/longopt.c (main): Use new-style prototype
41495 * manual/examples/strncat.c (main): Specify return type and use
41496 (void) for arguments.
41497 * manual/examples/subopt.c (main): Use char **argv argument.
41499 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41502 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41505 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41508 * manual/string.texi (strchr): Change when strchrnul is
41511 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41514 * manual/locale.texi (setlocale): Document LOCPATH.
41516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41519 * manual/process.texi (execle): Move @dots{} before last argument.
41521 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41524 * manual/charset.texi (Generic Charset Conversion): Fix typo
41525 (LC_TYPE -> LC_CTYPE).
41527 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41530 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41531 (scalbnf): Likewise.
41532 (scalbnl): Likewise.
41533 (scalbln): Likewise.
41534 (scalblnf): Likewise.
41535 (scalblnl): Likewise.
41536 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41537 (vwarnx): Likewise.
41540 * manual/filesys.texi (telldir): Use braces around return type.
41541 * manual/llio.texi (mmap): Add space after comma.
41542 (mmap64): Likewise.
41543 * manual/math.texi (jn): Use @var{} on parameter names.
41549 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41551 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41553 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41554 (sched_get_priority_max): Likewise.
41555 * manual/signal.texi (sigvec): Add space after comma.
41556 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41558 (if_indextoname): Likewise.
41559 (if_freenameindex): Likewise.
41560 (sendto): Use ',' instead of '.' in prototype.
41561 * manual/startup.texi (syscall): Use @dots{} instead of literal
41563 * manual/stdio.texi (__fpending): Separate initial words of
41564 paragraph from @deftypefun line.
41565 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41567 (vsyslog): Use @var{} on parameter names.
41568 * manual/terminal.texi (stty): Use @var{} on parameter names.
41569 * manual/users.texi (getutmp): Use @var{} on parameter names.
41570 (getutmpx): Likewise.
41572 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41575 * manual/stdio.texi (fopen): Fix typos in description of
41578 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41581 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41582 get clock_id definition.
41584 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41587 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41588 (madvise): Cast every argument to void on its own.
41590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41593 * manual/startup.texi (Exit Status): Fix typo.
41595 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41598 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41599 * manual/examples/argp-ex2.c: Likewise.
41600 * manual/examples/argp-ex3.c: Likewise.
41602 2012-02-16 Richard Henderson <rth@redhat.com>
41604 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41605 * sysdeps/s390/s390-32/initfini.c: Remove.
41606 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41607 * sysdeps/s390/s390-64/initfini.c: Remove.
41609 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41611 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41612 compiler output for sysdeps/generic/initfini.c.
41613 * sysdeps/sh/elf/initfini.c: Remove file.
41615 2012-02-16 David S. Miller <davem@davemloft.net>
41618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41620 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41621 * sysdeps/sparc/crti.S: New file.
41622 * sysdeps/sparc/crtn.S: New file.
41623 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41624 * sysdeps/sparc/sparc64/Makefile: Likewise.
41626 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41629 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41631 2012-02-15 Roland McGrath <roland@hack.frob.com>
41634 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41636 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41637 (write, read, close): Likewise.
41638 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41640 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41642 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41643 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41644 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41645 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41647 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41651 2012-02-14 Marek Polacek <polacek@redhat.com>
41653 * sysdeps/x86_64/crti.S: New file.
41654 * sysdeps/x86_64/crtn.S: New file.
41655 * sysdeps/x86_64/elf/initfini.c: Remove file.
41657 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41659 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41660 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41661 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41662 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41664 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41668 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41670 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41671 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41672 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41673 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41675 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41679 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41681 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41682 __feraiseexcept instead of feraiseexcept.
41684 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41685 nanosleep invocations.
41686 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41687 strings, and add error checking for a nanosleep invocations.
41689 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41691 Replace FSF snail mail address with URLs, as per GNU coding standards.
41692 Most of the snail mail addresses were wrong anyway, and omitting
41693 them makes the source code easier to maintain. Almost all of the
41694 changes are to license notices and to locale LC_IDENTIFICATION
41695 addresses, except for this one:
41696 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41697 not its snail mail address.
41699 2012-02-09 Richard Henderson <rth@twiddle.net>
41701 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41702 of kernel-features.h.
41704 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41706 2012-02-08 Marek Polacek <polacek@redhat.com>
41708 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41709 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41710 * sysdeps/gnu/_G_config.h: Likewise.
41711 * sysdeps/generic/_G_config.h: Likewise.
41713 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41715 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41719 * sysdeps/powerpc/powerpc32/crti.S: New file.
41720 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41721 * sysdeps/powerpc/powerpc64/crti.S: New file.
41722 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41724 * Makeconfig (have-initfini): Don't set.
41725 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41726 * configure.in (nopic_initfini): Don't substitute.
41727 * config.h.in (HAVE_INITFINI): Don't #undef.
41728 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41729 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41731 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41733 Support crti.S and crtn.S provided directly by architectures.
41734 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41735 [crti.S in sysdirs] (omit-deps): Likewise.
41736 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41737 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41738 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41739 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41740 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41741 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41742 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41743 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41744 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41745 compiler output for sysdeps/generic/initfini.c.
41746 * sysdeps/i386/elf/Makefile: Remove file.
41747 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41749 2012-02-07 Marek Polacek <polacek@redhat.com>
41751 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41752 * sysdeps/gnu/_G_config.h: Likewise.
41753 * sysdeps/mach/hurd/_G_config.h: Likewise.
41755 2012-02-07 Marek Polacek <polacek@redhat.com>
41757 * math/Makefile (tests): Add tst-CMPLX2.
41758 * math/tst-CMPLX2.c: New file.
41760 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41762 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41764 * math/libm-test.inc (jn_test): Add missing L suffix.
41766 2012-02-06 Marek Polacek <polacek@redhat.com>
41768 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41769 * sysdeps/i386/fpu/e_powf.S: Likewise.
41770 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41771 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41772 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41773 * sysdeps/i386/fpu/e_pow.S: Likewise.
41774 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41775 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41776 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41777 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41778 * sysdeps/i386/fpu/e_log2.S: Likewise.
41779 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41780 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41781 * sysdeps/i386/fpu/e_powl.S: Likewise.
41782 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41783 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41784 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41785 * sysdeps/i386/fpu/e_logl.S: Likewise.
41786 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41787 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41788 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41789 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41790 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41792 * sysdeps/i386/fpu/e_log.S: Likewise.
41793 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41794 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41795 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41796 * sysdeps/i386/fpu/e_logf.S: Likewise.
41797 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41798 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41799 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41800 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41801 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41802 * sysdeps/i386/fpu/e_log10.S: Likewise.
41803 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41805 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41806 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41808 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41809 * sysdeps/i386/asm-syntax.h: Likewise.
41810 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41812 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41813 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41814 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41815 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41816 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41817 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41818 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41819 * sysdeps/powerpc/sysdep.h: Likewise.
41820 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41821 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41823 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41826 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41828 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41830 * sysdeps/i386/sysdep.h: Include <features.h>.
41831 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41834 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41836 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41838 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41841 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41843 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41844 (SETUP_PIC_REG): Use GET_PC_THUNK.
41845 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41848 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41850 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41851 for non-PIC compilation.
41852 (SETUP_PIC_REG): Add .p2align directive.
41853 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41854 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41855 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41856 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41858 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41859 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41861 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41862 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41863 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41864 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41865 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41866 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41867 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41868 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41869 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41870 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41871 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41872 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41873 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41875 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41876 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41879 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41880 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41881 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41882 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41883 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41885 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41886 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41887 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41888 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41889 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41890 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41891 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41892 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41893 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41895 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41897 * math/tst-CMPLX.c: Include <stdio.h>.
41899 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41901 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41903 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41904 * sysdeps/sparc/bits/mathdef.h: Likewise.
41906 2012-01-31 Marek Polacek <polacek@redhat.com>
41908 * libio/libio.h: Don't define _PARAMS.
41909 * locale/programs/config.h: Don't define PARAMS.
41910 * stdlib/strtol_l.c: Likewise.
41911 (__strtol_l): Remove PARAMS from the prototype.
41913 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41915 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41916 names. Just use the correct names. Remove unnecessary wrapper
41918 * malloc/arena.c: Likewise.
41919 * malloc/hooks.c: Likewise.
41921 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41922 ARENA_TEST says not to. Simplify test for creation of a new arena.
41923 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41925 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41927 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41929 (update_get_addr): New function.
41930 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41931 GET_ADDR_MODULE parameter.
41933 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41935 * crypt/cert.c: Remove __STDC__ conditionals.
41936 * crypt/crypt-entry.c: Likewise.
41937 * crypt/crypt_util.c: Likewise.
41938 * libio/filedoalloc.c: Likewise.
41939 * libio/fileops.c: Likewise.
41940 * libio/genops.c: Likewise.
41941 * libio/iofclose.c: Likewise.
41942 * libio/iofdopen.c: Likewise.
41943 * libio/iofopen.c: Likewise.
41944 * libio/iofopen64.c: Likewise.
41945 * libio/iogetdelim.c: Likewise.
41946 * libio/iopopen.c: Likewise.
41947 * libio/obprintf.c: Likewise.
41948 * libio/oldfileops.c: Likewise.
41949 * libio/oldiofclose.c: Likewise.
41950 * libio/oldiofdopen.c: Likewise.
41951 * libio/oldiofopen.c: Likewise.
41952 * libio/oldiopopen.c: Likewise.
41953 * libio/wfiledoalloc.c: Likewise.
41954 * libio/wgenops.c: Likewise.
41955 * locale/programs/xmalloc.c: Likewise.
41956 * misc/syslog.c: Likewise.
41957 * stdio-common/xbug.c: Likewise.
41958 * string/memchr.c: Likewise.
41959 * string/memcmp.c: Likewise.
41960 * string/memrchr.c: Likewise.
41961 * string/rawmemchr.c: Likewise.
41962 * sysdeps/posix/getcwd.c: Likewise.
41963 * time/strftime_l.c: Likewise.
41965 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41967 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41968 * config.make.in (config-cflags-sse2avx): Define.
41969 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41972 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41974 * scripts/config.guess: Update from upstream config git repository.
41975 * scripts/config.sub: Likewise.
41977 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41979 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41981 (R_TILEPRO_*, R_TILEGX_*): New macros.
41983 * scripts/firstversions.awk: Fix bug in version range handling.
41985 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41987 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41989 * include/sys/epoll.h: New file.
41990 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41993 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41995 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41996 Avoid unnecessary __WORDSIZE == 64 test.
41997 (fmaxf): Use VEX format if possible.
42002 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42003 * math/math_private.h: Remove libc_fegetround* and
42005 * sysdeps/i386/configure.in: Check for -msse2avx.
42006 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42007 also if SSE2AVX is defined.
42008 Remove libc_fegetround* and libc_fesetround*.
42009 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42010 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42011 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42013 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42014 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42016 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42017 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42019 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42021 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42025 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42027 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42030 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42032 * Makeconfig (libm): Define.
42033 * elf/Makefile: Add rules to build and run tst-relsort1.
42034 * elf/tst-relsort1.c: New file.
42035 * elf/tst-relsort1mod1.c: New file.
42036 * elf/tst-relsort1mod2.c: New file.
42038 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42040 * math/s_ldexp.c: Remove __STDC__ conditionals.
42041 * math/s_ldexpf.c: Likewise.
42042 * math/s_ldexpl.c: Likewise.
42043 * math/s_nextafter.c: Likewise.
42044 * math/s_nexttowardf.c: Likewise.
42045 * math/s_significand.c: Likewise.
42046 * math/s_significandf.c: Likewise.
42047 * math/s_significandl.c: Likewise.
42048 * math/w_jnl.c: Likewise.
42049 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42050 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42055 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42056 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42057 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42058 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42059 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42061 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42062 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42063 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42065 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42068 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42069 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42071 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42073 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42074 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42075 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42076 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42077 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42078 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42079 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42080 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42081 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42082 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42083 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42085 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42086 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42087 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42088 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42089 * sysdeps/ieee754/k_standard.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42129 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42169 * sysdeps/ieee754/s_matherr.c: Likewise.
42170 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42171 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42175 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42177 * crypt/md5.h: Remove __STDC__ conditionals.
42178 * libio/libioP.h: Likewise.
42179 * locale/programs/config.h: Likewise.
42180 * sysdeps/generic/sysdep.h: Likewise.
42181 * sysdeps/i386/asm-syntax.h: Likewise.
42182 * sysdeps/s390/asm-syntax.h: Likewise.
42183 * sysdeps/unix/sysdep.h: Likewise.
42184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42187 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42189 * libio/libio.h: Remove __STDC__ conditionals.
42190 * malloc/obstack.h: Likewise.
42191 * math/complex.h: Likewise.
42192 * math/math.h: Likewise.
42193 * sysdeps/generic/_G_config.h: Likewise.
42194 * sysdeps/gnu/_G_config.h: Likewise.
42195 * sysdeps/mach/hurd/_G_config.h: Likewise.
42196 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42197 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42198 * sysdeps/sparc/bits/mathdef.h: Likewise.
42200 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42203 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42204 Clean up HAS_* macros.
42205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42206 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42216 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42218 * elf/tst-unique3.cc (gets): Remove declaration.
42219 * elf/tst-unique3lib.cc (gets): Likewise.
42220 * elf/tst-unique3lib2.cc (gets): Likewise.
42221 * elf/tst-unique4.cc (gets): Likewise.
42223 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42225 * include/stdio.h: Add C++ protection. Add gets declarations and
42227 * debug/tst-chk1.c: Don't declare gets here.
42228 * stdio-common/tst-gets.c: Likewise.
42230 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42232 * posix/glob: Remove directory.
42234 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42236 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42238 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42240 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42241 of the non-standard EPFNOSUPPORT.
42243 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42245 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42246 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42247 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42249 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42251 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42253 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42255 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42257 * nscd/grpcache.c (cache_addgr): Likewise.
42258 * nscd/hstcache.c (cache_addhst): Likewise.
42259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42260 * nscd/pwdcache.c (cache_addpw): Likewise.
42261 * nscd/servicescache.c (cache_addserv): Likewise.
42263 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42265 * malloc/malloc.c: Various cleanups.
42266 * malloc/hooks.c: Likewise.
42268 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42269 * stdlib/bug-fmtmsg1.c: New file.
42271 * stdlib/fmtmsg.c (init): Add missing unlock.
42272 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42274 2012-01-12 Marek Polacek <polacek@redhat.com>
42276 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42279 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42281 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42282 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42283 macro to ensure uniqueness of label name.
42284 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42285 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42287 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42289 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42291 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42292 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42296 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42298 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42300 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42301 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42302 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42304 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42306 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42307 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42311 * math/bits/math-finite.h: Add ldexp support.
42313 2012-01-10 Marek Polacek <polacek@redhat.com>
42315 * locale/programs/localedef.h (show_archive_content): Add noreturn
42318 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42320 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42322 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42324 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42326 * io/Makefile (headers): Add bits/poll2.h.
42328 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42331 typo #include statement.
42333 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42335 * include/sys/cdefs.h: Define __attribute_alloc_size.
42336 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42337 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42338 * elf/pldd.c: Likewise.
42339 * iconv/iconv_charmap.c: Likewise.
42340 * iconv/iconvconfig.c: Likewise.
42341 * iconv/strtab.c: Likewise.
42342 * locale/programs/locale.c: Likewise.
42343 * locale/programs/localedef.h: Likewise.
42344 * locale/programs/simple-hash.c: Likewise.
42345 * nscd/nscd.h: Likewise.
42346 * nss/makedb.c: Likewise.
42347 * sysdeps/generic/ldconfig.h: Likewise.
42348 * locale/programs/localedef.c: Remove xmalloc prototype.
42349 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42351 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42353 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42356 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42358 * math/Makefile (tests): Add tst-CMPLX.
42359 * math/tst-CMPLX.c: New file.
42361 * math/complex.h (CMPLXL): Fix typo.
42363 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42364 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42366 * debug/tst-chk1.c: Add poll and ppoll tests.
42367 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42368 * include/sys/poll.h: Add hidden proto for ppoll.
42369 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42370 * sysdeps/mach/hurd/ppoll.c: Likewise.
42371 * io/ppoll.c: Likewise.
42372 * debug/poll_chk.c: New file.
42373 * debug/ppoll_chk.c: New file.
42374 * include/bits/poll2.h: New file.
42375 * io/bits/poll2.h: New file.
42378 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42380 * configure.in: static is always set to yes. Remove.
42381 * config.make.in: Don't set build-static.
42382 * Makeconfig: Remove use of build-static.
42383 * dlfcn/Makefile: Likewise.
42384 * elf/Makefile: Likewise.
42385 * math/Makefile: Likewise.
42386 * misc/Makefile: Likewise.
42387 * nptl/Makefile: Likewise.
42388 * sysdeps/mach/hurd/Makefile: Likewise.
42390 * configure.in: PWD_P is not used anymore.
42391 * config.make.in: Remove PWD_P entry.
42393 * configure.in: Remove last remnants of RANLIB.
42394 No need to check for signed size_t anymore.
42395 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42397 Remove __builtin_expect test because we require at least gcc 3.4.
42398 * aclocal.m4: Likewise.
42400 * wcsmbs/mbrtoc16.c: Implement using towc function.
42401 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42402 * wcsmbs/wcsmbsload.c: Likewise.
42403 * iconv/gconv_simple.c: Likewise.
42404 * iconv/gconv_int.h: Likewise.
42405 * iconv/gconv_builtin.h: Likewise.
42406 * iconv/iconv_prog.c: Remove CHAR16 handling.
42408 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42410 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42412 * configure.in: Remove --with-elf and --enable-bounded options.
42413 Dont set base_machine for ia64. More non-ELF conditions removed.
42414 Remove testing and setting of leading underscore information.
42415 * config.make.in (build-bounded): Set to no.
42416 * config.h.in: Remove NO_UNDERSCORES entry.
42417 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42419 * csu/start.c: Remove !NO_UNDERSCORE code.
42420 * locale/localeinfo.h: Likewise.
42421 * sysdeps/generic/machine-gmon.h: Likewise.
42422 * sysdeps/generic/sysdep.h: Likewise.
42423 * sysdeps/i386/sysdep.h: Likewise.
42424 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42425 * sysdeps/mach/sysdep.h: Likewise.
42426 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42428 * sysdeps/sh/sysdep.h: Likewise.
42429 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42430 * sysdeps/unix/i386/sysdep.S: Likewise.
42431 * sysdeps/unix/sparc/start.c: Likewise.
42432 * sysdeps/unix/sparc/sysdep.S: Likewise.
42433 * sysdeps/unix/sparc/sysdep.h: Likewise.
42434 * sysdeps/unix/start.c: Likewise.
42435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42436 * sysdeps/x86_64/sysdep.h: Likewise.
42438 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42441 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42443 * argp/argp-fmtstream.h: Use const instead __const.
42444 * argp/argp.h: Likewise.
42445 * assert/assert.h: Likewise.
42446 * bits/fenv.h: Likewise.
42447 * bits/sched.h: Likewise.
42448 * bits/sigset.h: Likewise.
42449 * bits/sigthread.h: Likewise.
42450 * catgets/nl_types.h: Likewise.
42451 * conform/data/pthread.h-data: Likewise.
42452 * crypt/crypt-private.h: Likewise.
42453 * crypt/crypt.h: Likewise.
42454 * crypt/crypt_util.c: Likewise.
42455 * ctype/ctype.h: Likewise.
42456 * debug/execinfo.h: Likewise.
42457 * debug/mbsnrtowcs_chk.c: Likewise.
42458 * debug/mbsrtowcs_chk.c: Likewise.
42459 * debug/wcsnrtombs_chk.c: Likewise.
42460 * debug/wcsrtombs_chk.c: Likewise.
42461 * debug/wcstombs_chk.c: Likewise.
42462 * dirent/dirent.h: Likewise.
42463 * dlfcn/dlfcn.h: Likewise.
42464 * elf/neededtest4.c: Likewise.
42465 * grp/grp.h: Likewise.
42466 * gshadow/gshadow.h: Likewise.
42467 * iconv/gconv.h: Likewise.
42468 * iconv/gconv_int.h: Likewise.
42469 * iconv/gconv_simple.c: Likewise.
42470 * iconv/iconv.h: Likewise.
42471 * iconv/loop.c: Likewise.
42472 * iconv/skeleton.c: Likewise.
42473 * include/aio.h: Likewise.
42474 * include/aliases.h: Likewise.
42475 * include/argz.h: Likewise.
42476 * include/arpa/inet.h: Likewise.
42477 * include/assert.h: Likewise.
42478 * include/dirent.h: Likewise.
42479 * include/dlfcn.h: Likewise.
42480 * include/execinfo.h: Likewise.
42481 * include/fcntl.h: Likewise.
42482 * include/fenv.h: Likewise.
42483 * include/glob.h: Likewise.
42484 * include/grp.h: Likewise.
42485 * include/libintl.h: Likewise.
42486 * include/mntent.h: Likewise.
42487 * include/netdb.h: Likewise.
42488 * include/pwd.h: Likewise.
42489 * include/rpc/netdb.h: Likewise.
42490 * include/sched.h: Likewise.
42491 * include/search.h: Likewise.
42492 * include/shadow.h: Likewise.
42493 * include/signal.h: Likewise.
42494 * include/stdio.h: Likewise.
42495 * include/stdlib.h: Likewise.
42496 * include/string.h: Likewise.
42497 * include/sys/socket.h: Likewise.
42498 * include/sys/stat.h: Likewise.
42499 * include/sys/statfs.h: Likewise.
42500 * include/sys/statvfs.h: Likewise.
42501 * include/sys/syslog.h: Likewise.
42502 * include/sys/time.h: Likewise.
42503 * include/sys/uio.h: Likewise.
42504 * include/time.h: Likewise.
42505 * include/unistd.h: Likewise.
42506 * include/utmp.h: Likewise.
42507 * include/wchar.h: Likewise.
42508 * include/wctype.h: Likewise.
42509 * inet/aliases.h: Likewise.
42510 * inet/arpa/inet.h: Likewise.
42511 * inet/netinet/ether.h: Likewise.
42512 * inet/netinet/in.h: Likewise.
42513 * intl/libintl.h: Likewise.
42514 * io/bits/fcntl2.h: Likewise.
42515 * io/fcntl.h: Likewise.
42516 * io/ftw.h: Likewise.
42517 * io/sys/poll.h: Likewise.
42518 * io/sys/stat.h: Likewise.
42519 * io/sys/statfs.h: Likewise.
42520 * io/sys/statvfs.h: Likewise.
42521 * io/utime.h: Likewise.
42522 * libio/bits/stdio.h: Likewise.
42523 * libio/bits/stdio2.h: Likewise.
42524 * libio/libio.h: Likewise.
42525 * libio/libioP.h: Likewise.
42526 * libio/stdio.h: Likewise.
42527 * locale/lc-ctype.c: Likewise.
42528 * locale/locale.h: Likewise.
42529 * login/utmp.h: Likewise.
42530 * malloc/arena.c: Likewise.
42531 * malloc/malloc.c: Likewise.
42532 * malloc/malloc.h: Likewise.
42533 * malloc/mcheck.c: Likewise.
42534 * malloc/mtrace.c: Likewise.
42535 * math/bits/mathcalls.h: Likewise.
42536 * math/fenv.h: Likewise.
42537 * math/math_private.h: Likewise.
42538 * misc/bits/error.h: Likewise.
42539 * misc/bits/syslog.h: Likewise.
42540 * misc/err.h: Likewise.
42541 * misc/error.h: Likewise.
42542 * misc/fstab.h: Likewise.
42543 * misc/mntent.h: Likewise.
42544 * misc/regexp.h: Likewise.
42545 * misc/search.h: Likewise.
42546 * misc/sgtty.h: Likewise.
42547 * misc/sys/mman.h: Likewise.
42548 * misc/sys/syslog.h: Likewise.
42549 * misc/sys/uio.h: Likewise.
42550 * misc/sys/xattr.h: Likewise.
42551 * misc/ttyent.h: Likewise.
42552 * nis/rpcsvc/ypclnt.h: Likewise.
42553 * nss/nss.h: Likewise.
42554 * posix/bits/unistd.h: Likewise.
42555 * posix/fnmatch.h: Likewise.
42556 * posix/glob.h: Likewise.
42557 * posix/sched.h: Likewise.
42558 * posix/spawn.h: Likewise.
42559 * posix/sys/wait.h: Likewise.
42560 * posix/unistd.h: Likewise.
42561 * posix/wordexp.h: Likewise.
42562 * pwd/pwd.h: Likewise.
42563 * resolv/netdb.h: Likewise.
42564 * resource/sys/resource.h: Likewise.
42565 * rt/aio.h: Likewise.
42566 * rt/bits/mqueue2.h: Likewise.
42567 * rt/mqueue.h: Likewise.
42568 * shadow/shadow.h: Likewise.
42569 * signal/signal.h: Likewise.
42570 * socket/send.c: Likewise.
42571 * socket/sendto.c: Likewise.
42572 * socket/sys/socket.h: Likewise.
42573 * stdio-common/printf.h: Likewise.
42574 * stdlib/bits/stdlib.h: Likewise.
42575 * stdlib/fmtmsg.h: Likewise.
42576 * stdlib/monetary.h: Likewise.
42577 * stdlib/stdlib.h: Likewise.
42578 * stdlib/ucontext.h: Likewise.
42579 * streams/stropts.h: Likewise.
42580 * string/argz.h: Likewise.
42581 * string/bits/string2.h: Likewise.
42582 * string/string.h: Likewise.
42583 * string/strings.h: Likewise.
42584 * sunrpc/rpc/auth.h: Likewise.
42585 * sunrpc/rpc/auth_des.h: Likewise.
42586 * sunrpc/rpc/clnt.h: Likewise.
42587 * sunrpc/rpc/netdb.h: Likewise.
42588 * sunrpc/rpc/pmap_clnt.h: Likewise.
42589 * sunrpc/rpc/xdr.h: Likewise.
42590 * sysdeps/generic/inttypes.h: Likewise.
42591 * sysdeps/generic/net/if.h: Likewise.
42592 * sysdeps/generic/sys/swap.h: Likewise.
42593 * sysdeps/gnu/net/if.h: Likewise.
42594 * sysdeps/gnu/utmpx.h: Likewise.
42595 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42596 * sysdeps/i386/i486/bits/string.h: Likewise.
42597 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42598 * sysdeps/s390/bits/string.h: Likewise.
42599 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42600 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42601 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42602 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42603 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42604 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42605 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42606 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42607 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42608 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42609 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42610 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42611 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42612 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42613 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42614 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42615 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42618 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42620 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42621 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42622 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42623 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42624 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42625 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42626 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42627 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42628 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42629 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42630 * sysvipc/sys/ipc.h: Likewise.
42631 * sysvipc/sys/msg.h: Likewise.
42632 * sysvipc/sys/sem.h: Likewise.
42633 * sysvipc/sys/shm.h: Likewise.
42634 * termios/termios.h: Likewise.
42635 * time/sys/time.h: Likewise.
42636 * time/time.h: Likewise.
42637 * wcsmbs/bits/wchar2.h: Likewise.
42638 * wcsmbs/uchar.h: Likewise.
42639 * wcsmbs/wchar.h: Likewise.
42640 * wctype/wctype.h: Likewise.
42643 * Makeconfig: Remove all but ELF support including AIX support.
42644 * Makerules: Likewise.
42645 * config.h.in: Likewise.
42646 * config.make.in: Likewise.
42647 * configure: Likewise.
42648 * configure.in: Likewise.
42649 * csu/Makefile: Likewise.
42650 * csu/version.c: Likewise.
42651 * debug/Makefile: Likewise.
42652 * dlfcn/Makefile: Likewise.
42653 * elf/Makefile: Likewise.
42654 * extra-lib.mk: Likewise.
42655 * iconv/Makefile: Likewise.
42656 * include/libc-symbols.h: Likewise.
42657 * include/shlib-compat.h: Likewise.
42658 * resolv/Makefile: Likewise.
42659 * resolv/res_libc.c: Likewise.
42660 * rt/Makefile: Likewise.
42661 * sysdeps/i386/asm-syntax.h: Likewise.
42662 * sysdeps/i386/sysdep.h: Likewise.
42663 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42664 * sysdeps/mach/sysdep.h: Likewise.
42665 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42666 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42667 * sysdeps/s390/asm-syntax.h: Likewise.
42668 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42670 * sysdeps/sh/sysdep.h: Likewise.
42671 * sysdeps/unix/sparc/sysdep.h: Likewise.
42672 * sysdeps/wordsize-32/divdi3.c: Likewise.
42673 * sysdeps/x86_64/sysdep.h: Likewise.
42675 * argp/Versions: Remove _argp_unlock_xxx.
42678 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42679 * abilist/libBrokenLocale.abilist: Likewise.
42680 * abilist/libanl.abilist: Likewise.
42681 * abilist/libc.abilist: Likewise.
42682 * abilist/libcrypt.abilist: Likewise.
42683 * abilist/libdl.abilist: Likewise.
42684 * abilist/libm.abilist: Likewise.
42685 * abilist/libnsl.abilist: Likewise.
42686 * abilist/libpthread.abilist: Likewise.
42687 * abilist/libresolv.abilist: Likewise.
42688 * abilist/librt.abilist: Likewise.
42689 * abilist/libthread_db.abilist: Likewise.
42690 * abilist/libutil.abilist: Likewise.
42691 * abilist/libnss_db.abilist: New file.
42693 * scripts/abilist.awk: Add support for indirect functions.
42695 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42697 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42699 * shlib-versions: Remove entries for ports architectures.
42701 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42703 * elf/stackguard-macros.h: Remove support for IA-64.
42704 * elf/tst-auditmod1.c: Likewise.
42705 * sysdeps/generic/ldsodefs.h: Likewise.
42707 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42708 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42712 * configure.in: Remove --enable-omitfp support.
42714 * config.make.in: Likewise.
42715 * Makeconfig: Likewise.
42716 * manual/install.texi: Likewise.
42718 In case anyone cares, the IA-64 architecture could move to ports.
42719 * sysdeps/ia64/*: Removed.
42720 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42721 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42724 * configure.in: Remove entries for unsupported architectures.
42727 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42728 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42730 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42731 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42732 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42733 fall back to using wcrtomb.
42734 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42735 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42737 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42738 * wcsmbs/tst-c16c32-1.c: New file.
42740 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42743 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42745 * elf/tst-unique3.cc: Add explicit declaration of gets.
42746 * elf/tst-unique3lib.cc: Likewise.
42747 * elf/tst-unique3lib2.cc: Likewise.
42748 * elf/tst-unique4.cc: Likewise.
42750 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42752 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42755 * assert/assert.h (static_assert): Don't define for C++.
42756 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42757 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42759 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42761 * iconv/loop.c (single loop): Fix assertion in storing of
42764 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42766 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42768 * posix/getconf.c: Update copyright year.
42769 * nss/getent.c: Likewise.
42770 * nss/makedb.c: Likewise.
42771 * iconv/iconvconfig.c: Likewise.
42772 * iconv/iconv_prog.c: Likewise.
42773 * elf/ldconfig.c: Likewise.
42774 * elf/pldd.c: Likewise.
42775 * elf/sotruss.ksh: Likewise.
42776 * catgets/gencat.c: Likewise.
42777 * csu/version.c: Likewise.
42778 * elf/ldd.bash.in: Likewise.
42779 * elf/sprof.c (print_version): Likewise.
42780 * locale/programs/locale.c: Likewise.
42781 * locale/programs/localedef.c: Likewise.
42782 * login/programs/pt_chown.c: Likewise.
42783 * nscd/nscd.c (print_version): Likewise.
42784 * debug/xtrace.sh: Likewise.
42785 * malloc/memusage.sh: Likewise.
42786 * malloc/mtrace.pl: Likewise.
42787 * debug/catchsegv.sh: Likewise.
42789 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42791 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42794 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42797 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42798 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42800 * iconv/gconv_int.h: Likewise.
42801 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42802 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42803 from libc for GLIBC_2.16.
42804 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42805 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42806 * wcsmbs/uchar.h: Really define mbstate_t.
42807 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42808 * wcsmbs/c16rtomb.c: New file.
42809 * wcsmbs/mbrtoc16.c: New file.
42810 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42811 for C/POSIX locale.
42812 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42813 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42815 * wcsmbs/wchar.h: Add missing __restrict.
42817 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42820 * time/Makefile (routines): Add timespec_get.
42821 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42822 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42823 timespec for ISO C11.
42824 * time/timespec_get.c: New file.
42825 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42826 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42829 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42830 * stdlib/stdlib.h: Declare aligned_alloc.
42831 * Versions.def: Add GLIBC_2.16 for libc.
42832 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42835 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42838 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42842 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42845 * assert/assert.h (static_assert): Define.
42847 * version.h: Update for 2.16 development version.
42850 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42853 * version.h (RELEASE): Bump for 2.15 release.
42854 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42856 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42857 Patch by Marek Polacek <mpolacek@redhat.com>.
42859 * bits/byteswap.h: Protect long long constants with __extension__.
42860 * sysdeps/i386/bits/byteswap.h: Likewise.
42861 * sysdeps/ia64/bits/byteswap.h: Likewise.
42862 * sysdeps/s390/bits/byteswap.h: Likewise.
42863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42865 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42868 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42869 destination buffer.
42870 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42872 2011-12-23 Marek Polacek <polacek@redhat.com>
42874 * elf/dl-addr.c (determine_info): Add inline keyword.
42875 * elf/tst-auditmod4b.c (check_avx): Likewise.
42876 * elf/tst-auditmod6b.c (check_avx): Likewise.
42877 * elf/tst-auditmod6c.c (check_avx): Likewise.
42878 * elf/tst-auditmod7b.c (check_avx): Likewise.
42880 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42882 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42885 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42888 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42889 processing for last bytes.
42891 2011-08-06 Bruno Haible <bruno@clisp.org>
42894 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42895 U+0385, not to U+1FEE.
42898 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42899 entry for U+00A5 U+0301.
42901 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42904 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42905 buffer for the output is too small.
42907 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42911 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42912 SSE flags if possible.
42914 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42918 processing for last bytes.
42920 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42922 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42923 (syscall-list-default-options, syscall-list-default-condition)
42924 (syscall-list-includes): Define.
42925 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42926 list of ABIs and options and #if conditions for each ABI. Do not
42927 handle common syscalls between ABIs specially.
42928 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42930 (syscall-list-variants, syscall-list-32bit-options)
42931 (syscall-list-32bit-condition, syscall-list-64bit-options)
42932 (syscall-list-64bit-condition): Define.
42933 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42934 (syscall-list-variants, syscall-list-32bit-options)
42935 (syscall-list-32bit-condition, syscall-list-64bit-options)
42936 (syscall-list-64bit-condition): Define.
42937 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42939 (syscall-list-variants, syscall-list-32bit-options)
42940 (syscall-list-32bit-condition, syscall-list-64bit-options)
42941 (syscall-list-64bit-condition): Define.
42942 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42944 (syscall-list-variants, syscall-list-32bit-options)
42945 (syscall-list-32bit-condition, syscall-list-64bit-options)
42946 (syscall-list-64bit-condition): Define.
42948 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42950 * locale/iso-639.def: Add brx entry.
42953 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42954 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42956 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42957 __feraiseexcept_renamed.
42959 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42962 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42963 EPOLLET with unsigned values.
42964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42967 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42968 to large cancellation.
42969 * math/s_cacoshf.c: Likewise.
42970 * math/s_cacoshl.c: Likewise.
42972 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42976 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42977 * math/s_cacoshf.c: Likewise.
42978 * math/s_cacoshl.c: Likewise.
42980 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42983 * iconv/gconv.h: Define __GCONV_SWAP.
42984 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42985 * iconvdata/utf-16.c: Likewise.
42986 * iconvdata/utf-32.c: Likewise.
42988 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42991 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42992 numerator after shifting it by one limb.
42994 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42996 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42997 under [__USE_EXTERN_INLINES].
42999 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43002 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43004 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43006 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43007 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43009 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43010 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43011 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43012 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43013 for strncasecmp/strncasecmp_l compilation.
43014 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43015 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43017 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43020 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43023 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43026 * time/tzfile.c (__tzfile_read): Check values from file header.
43028 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43030 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43031 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43032 * powerpc/powerpc32/dl-start.S: Likewise.
43033 * powerpc/powerpc32/elf/start.S: Likewise.
43034 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43035 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43036 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43037 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43038 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43039 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43040 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43041 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43042 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43043 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43044 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43045 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43046 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43047 * powerpc/powerpc32/memset.S: Likewise.
43048 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43049 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43050 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43051 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43052 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43053 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43054 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43055 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43056 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43057 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43058 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43059 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43060 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43062 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43064 * math/libm-test.inc: Added more nearbyint tests.
43065 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43066 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43068 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43070 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43072 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43075 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43077 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43078 Add wcscpy-ssse3 wcscpy-c.
43079 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43080 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43081 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43082 * sysdeps/x86_64/wcschr.S: New file.
43083 * sysdeps/x86_64/wcsrchr.S: New file.
43084 * string/test-strcmp.c: Remove checking of wcscmp function for
43086 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43087 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43088 wcsrchr-sse2 wcsrchr-c.
43089 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43090 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43091 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43092 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43093 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43094 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43095 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43096 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43097 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43098 * wcsmbc/wcschr.c (WCSCHR): New macro.
43100 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43102 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43103 * wcsmbs/test-wcsrchr.c: New file.
43104 * string/test-strrchr.c: Add wcsrchr support.
43106 * wcsmbs/test-wcscpy.c: New file.
43107 * string/test-strcpy.c: Add wcscpy support.
43110 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43112 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43115 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43118 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43120 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43122 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43123 Minor optimizations.
43125 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43126 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43127 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43129 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43131 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43132 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43133 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43134 for gcc to avoid warnings.
43135 * inet/Makefile (tests): Add tst-checks.
43136 * inet/tst-checks.c: New file.
43138 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43141 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43144 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43145 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43147 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43149 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43151 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43154 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43156 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43158 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43159 conditional on GCC version.
43160 (__arch_compare_and_exchange_val_8_acq)
43161 (__arch_compare_and_exchange_val_16_acq)
43162 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43163 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43164 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43166 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43168 * sysdeps/sh/backtrace.c: New file.
43170 2011-12-02 Andreas Schwab <schwab@redhat.com>
43172 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43175 2011-12-01 Andreas Schwab <schwab@redhat.com>
43177 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43178 falling back to utime.
43180 2011-11-30 Andreas Schwab <schwab@redhat.com>
43182 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43183 expectations for float.
43185 2011-11-29 Andreas Schwab <schwab@redhat.com>
43187 * locale/weight.h (findidx): Add parameter len.
43188 * locale/weightwc.h (findidx): Likewise.
43189 * posix/fnmatch_loop.c (FCT): Adjust caller.
43190 * posix/regcomp.c (build_equiv_class): Likewise.
43191 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43192 * posix/regexec.c (check_node_accept_bytes): Likewise.
43193 * string/strcoll_l.c (STRCOLL): Likewise.
43194 * string/strxfrm_l.c (STRXFRM): Likewise.
43196 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43198 * Makefile.in: Remove CVSOPT handling.
43199 * configure.in: Remove use of AC_REVISION.
43200 * iconvdata/Makefile (distribute): No need to filter out CVS.
43201 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43204 2011-11-16 Andreas Schwab <schwab@redhat.com>
43206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43207 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43208 [USE_AS_STRNCASECMP_L]: Likewise.
43209 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43210 NO_TLS_DIRECT_SEG_REFS.
43211 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43212 Fix argument offsets for non-PIC.
43213 [USE_AS_STRNCASECMP_L]: Likewise.
43214 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43215 NO_TLS_DIRECT_SEG_REFS.
43217 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43219 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43221 * locale/loadlocale.c (_nl_load_locale): Likewise.
43223 2011-11-15 Andreas Schwab <schwab@redhat.com>
43225 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43226 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43227 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43228 (SYSCALL_GETTIME): Set errno on error.
43230 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43231 count references to noai6ai_cached.
43233 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43235 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43237 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43238 FD_CLOEXEC for /proc/self/maps.
43240 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43241 FD_CLOEXEC for /proc/meminfo.
43243 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43246 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43247 FD_CLOEXEC for given file.
43249 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43251 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43252 FD_CLOEXEC for /etc/hosts.
43253 (_gethtent): Likewise.
43255 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43257 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43258 cancellation and set FD_CLOEXEC for /etc/netgroup.
43260 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43261 reading /etc/publickey.
43263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43264 allow cancellation when reading /etc/group.
43266 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43268 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43270 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43271 when using data file.
43273 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43275 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43276 (write_nis_obj): Use "c" and "e" in fopen.
43278 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43280 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43282 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43284 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43286 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43289 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43291 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43293 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43295 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43296 file parsing and set FD_CLOEXEC.
43298 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43300 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43302 2011-11-14 Andreas Schwab <schwab@redhat.com>
43304 * malloc/arena.c (arena_get2): Don't call reused_arena when
43305 _int_new_arena failed.
43307 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43309 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43310 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43314 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43315 to compile strcasecmp and strncasecmp.
43316 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43317 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43321 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43323 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43324 locale-defines.sym to gen-as-const-headers.
43325 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43326 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43328 to compile strcasecmp and strncasecmp.
43329 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43330 strcasecmp_l and strncasecmp_l.
43331 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43332 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43333 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43334 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43335 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43336 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43337 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43338 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43339 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43340 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43341 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43343 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43345 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43346 result of SYSDEP_GETTIME_CPU to retval.
43347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43348 parameter list to macro. Remove trailing semicolon. Adjust users.
43350 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43353 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43355 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43357 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43358 from unused variable.
43360 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43362 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43365 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43368 * sunrpc/rpc_prot.c (rejected): Fix case value.
43370 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43371 unsigned long long int to avoid warnings in shift.
43373 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43375 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43378 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43379 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43380 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43382 * nis/nis_table.c (nis_list): Use variable of correct type for
43383 result of __follow_path call.
43385 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43387 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43388 of math functions ceil, trunc, floor, round, and sqrt, when
43389 avaliable on the platform.
43390 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43392 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43393 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43394 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43396 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43398 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43399 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43401 2011-11-11 Roland McGrath <roland@hack.frob.com>
43403 * include/unistd.h: Fix __readlink return type.
43404 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43406 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43408 * stdlib/ucontext.h: Undo last change for makecontext.
43410 2011-11-11 Andreas Schwab <schwab@redhat.com>
43412 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43414 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43415 * setjmp/setjmp.h: Mark functions as non-leaf.
43416 * setjmp/bits/setjmp2.h: Likewise.
43417 * stdlib/ucontext.h: Likewise.
43419 2011-11-10 Andreas Schwab <schwab@redhat.com>
43421 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43422 (reused_arena): Don't check arena limit.
43423 (arena_get2): Atomically check arena limit.
43425 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43427 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43428 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43433 2011-11-07 Andreas Schwab <schwab@redhat.com>
43435 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43436 handler when locking.
43438 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43439 Fix size of allocated buffer.
43441 2011-11-04 Andreas Schwab <schwab@redhat.com>
43444 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43445 declarations for long double functions.
43446 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43448 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43450 2011-11-03 Andreas Schwab <schwab@redhat.com>
43452 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43455 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43458 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43460 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43462 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43464 * include/alloca.h (stackinfo_alloca_round): Define.
43465 (extend_alloca): Use it.
43466 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43467 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43470 * scripts/check-local-headers.sh: Ignore libaudit.h.
43472 * nscd/Makefile (extra-objs): Make recursively expanded.
43474 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43476 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43479 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43480 * posix/tst-rfc3484-2.c: Likewise.
43481 * posix/tst-rfc3484-3.c: Likewise.
43483 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43485 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43487 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43488 process_vm_writev from libc using GLIBC_2.15 version.
43490 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43492 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43494 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43497 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43500 * nss/getent.c (initgroups_keys): Show error message in case no group
43503 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43504 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43505 __bump_nl_timestamp.
43506 * nscd/connections (nscd_init): When host database is served open
43507 netlink socket and request notification about configuration changes.
43508 (main_loop_poll): Track netlink file descriptor and bump timestamp
43509 in case data becomes available.
43510 (main_loop_epoll): Likewise.
43511 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43512 (database_pers_head): Add extra_data fileds.
43513 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43514 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43515 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43518 in6ai data, call __free_in6ai.
43519 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43520 Add -DHAVE_NETLINK.
43521 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43522 interface information. Reuse previous data if netlink timestamp
43524 (__bump_nl_timestamp): New function.
43525 (__free_in6ai): New function.
43527 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43529 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43530 close_not_cancel_no_status here.
43531 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43533 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43536 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43539 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43540 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43541 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43543 2011-07-03 Andreas Jaeger <aj@suse.de>
43546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43547 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43548 * math/libm-test.inc (sin_test): Add test case.
43550 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43553 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43554 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43556 * elf/chroot_canon.c (chroot_canon): Cleanups.
43558 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43561 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43562 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43564 * string/test-strchr.c: Make usable for strchrnul testing.
43565 * string/test-strchrnul.c: New file.
43566 * string/Makefile (strop-tests): Add strchrnul.
43568 * po/it.po: Update from translation team.
43569 * po/es.po: Likewise.
43571 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43573 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43574 the three constants needed as parameters. Drop the others.
43575 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43576 __m128i_strloadu_tolower.
43577 Create and initialize variable zero and use it in all the places
43578 where _mm_setzero_si128 was used.
43580 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43581 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43582 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43585 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43586 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43587 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43588 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43589 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43590 __mpranred, __mptan.
43591 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43592 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43593 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43594 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43595 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43596 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43598 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43599 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43601 2011-10-28 Andreas Schwab <schwab@redhat.com>
43603 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43604 redefine if SHARED.
43605 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43608 wide char related routines to wcsmbs subdir.
43610 2011-10-27 Andreas Schwab <schwab@redhat.com>
43613 * misc/sys/cdefs.h (__THROWNL): Define.
43614 * posix/unistd.h: Use __THREADNL instead of __THREAD
43615 for memory synchronization functions.
43617 2011-10-26 Roland McGrath <roland@hack.frob.com>
43620 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43622 * manual/stdio.texi (Obstack Streams): Node removed.
43624 2011-10-26 Andreas Schwab <schwab@redhat.com>
43626 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43627 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43630 * math/math_private.h (math_force_eval): Allow non-addressable
43632 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43634 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43636 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43637 file is not needed.
43639 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43641 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43642 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43644 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43645 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43646 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43652 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43653 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43654 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43655 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43658 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43659 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43660 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43661 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43662 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43663 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43664 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43665 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43666 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43668 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43669 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43672 place. Use VEX encoding when compiling for AVX.
43674 2011-10-25 Andreas Schwab <schwab@redhat.com>
43676 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43677 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43679 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43681 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43683 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43684 useless if() expression.
43685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43689 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43696 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43697 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43698 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43699 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43700 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43701 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43702 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43703 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43705 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43707 2011-10-25 Andreas Schwab <schwab@redhat.com>
43709 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43711 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43713 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43715 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43716 .text section. Avoid duplicate constants.
43717 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43727 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43728 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43729 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43730 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43731 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43732 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43733 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43734 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43735 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43737 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43738 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43739 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43744 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43746 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43750 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43751 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43752 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43753 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43755 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43756 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43757 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43759 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43760 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43761 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43763 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43765 * sysdeps/x86_64/dla.h: Move to ...
43766 * sysdeps/x86_64/fpu/dla.h: ...here.
43767 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43768 situations. Use __builtin_fma only for gcc 4.6 and up.
43770 * config.make.in: Add have-mfma4 entry.
43771 * configure.in: Substitute libc_cv_cc_fma4.
43772 * math/Makefile (dbl-only-routines): Add sincostab.
43773 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43774 Use __sincostab not sincos.
43775 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43777 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43782 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43783 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43784 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43785 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43787 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43788 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43790 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43791 define aliases when function name is a macro.
43792 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43793 sysdeps/ieee754/dbl-64/sincos.tbl.
43794 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43795 fma4-enabled routines.
43796 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43797 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43798 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43799 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43800 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43803 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43805 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43806 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43807 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43808 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43818 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43819 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43821 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43827 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43832 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43835 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43838 2011-10-24 Andreas Schwab <schwab@redhat.com>
43840 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43842 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43846 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43850 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43851 Remove unused variable magic_bits.
43852 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43854 * string/strnlen.c: Define and use STRNLEN macro.
43855 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43856 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43858 * wcsmbs/wcslen.c: Define and use WCSLEN.
43859 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43860 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43861 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43862 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43863 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43864 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43865 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43867 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43870 strnlen-sse2-no-bsf.
43871 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43872 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43873 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43874 Add strnlen support.
43875 (USE_AS_STRNLEN): New macro.
43876 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43877 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43878 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43879 * sysdeps/x86_64/wcslen.S: New file.
43881 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43883 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43884 XMM-moves are used for copying on small sizes.
43886 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43888 * wcsmbs/Makefile (strop-tests): Add wcschr.
43889 * wcsmbs/test-wcschr.c: New file.
43890 * string/test-strchr.c: Update.
43891 Add wcschr support.
43894 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43896 * wcsmbs/Makefile (strop-tests): Add wcslen.
43897 * wcsmbs/test-wcslen.c: New file.
43898 * string/test-strlen.c: Update.
43899 Add wcslen support.
43902 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43904 * po/it.po: Update from translation team.
43906 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43908 * sysdeps/x86_64/wcscmp.S: Update.
43909 Fix wrong comparison semantics.
43910 wcscmp shall use signed comparison not unsigned.
43911 Don't use substraction to avoid overflow bug.
43912 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43913 * wcsmbc/wcscmp.c: Likewise.
43914 * string/test-strcmp.c: Likewise.
43915 Add new tests to check cases with negative values.
43917 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43919 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43920 * sysdeps/x86_64/dla.h: ...here. New file.
43921 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43926 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43931 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43933 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43934 __ynl_finite aliases.
43936 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43940 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43942 [DLA_FMA] (EMULV): Use DLA_FMA.
43943 [DLA_FMA] (MUL12): Use EMULV.
43944 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43945 that are not needed.
43946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43954 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43956 * math/s_nan.c: Undef __nan.
43957 * math/s_nanf.c: Undef __nanf.
43958 * math/s_nanl.c: Undef __nanl.
43959 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43962 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43964 * math/s_catan.c: Add branch predictions.
43965 * math/s_catanf.c: Likewise.
43966 * math/s_catanh.c: Likewise.
43967 * math/s_catanhf.c: Likewise.
43968 * math/s_catanhl.c: Likewise.
43969 * math/s_catanl.c: Likewise.
43970 * math/s_cexp.c: Likewise.
43971 * math/s_cexpf.c: Likewise.
43972 * math/s_cexpl.c: Likewise.
43973 * math/s_clog.c: Likewise.
43974 * math/s_clog10.c: Likewise.
43975 * math/s_clog10f.c: Likewise.
43976 * math/s_clog10l.c: Likewise.
43977 * math/s_clogf.c: Likewise.
43978 * math/s_clogl.c: Likewise.
43979 * math/s_csqrt.c: Likewise.
43980 * math/s_csqrtf.c: Likewise.
43981 * math/s_csqrtl.c: Likewise.
43982 * math/s_ctanf.c: Likewise.
43983 * math/s_ctanh.c: Likewise.
43984 * math/s_ctanhf.c: Likewise.
43985 * math/s_ctanhl.c: Likewise.
43986 * math/s_ctanl.c: Likewise.
43988 * math/math_private.h: Define __nan, __nanf, __nanl.
43989 * math/s_cacosh.c: Include <math_private.h>.
43990 * math/s_cacoshl.c: Likewise.
43991 * math/s_casinh.c: Likewise.
43992 * math/s_casinhf.c: Likewise.
43993 * math/s_casinhl.c: Likewise.
43994 * math/s_ccos.c: Rely entire on ccosh.
43995 * math/s_ccosf.c: Rely entire on ccoshf.
43996 * math/s_ccosl.c: Rely entirely on ccoshl.
43997 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43998 Remove tests for FE_INVALID.
43999 * math/s_ccoshf.c: Likewise.
44000 * math/s_ccoshl.c: Likewise.
44001 * math/s_csin.c: Likewise.
44002 * math/s_csinf.c: Likewise.
44003 * math/s_csinh.c Likewise.
44004 * math/s_csinhf.c: Likewise.
44005 * math/s_csinhl.c: Likewise.
44006 * math/s_csinl.c: Likewise.
44007 * math/s_ctan.c: Likewise.
44008 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44009 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44010 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44012 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44015 compilation problems.
44017 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44020 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44022 * sysdeps/i386/configure.in: Test for -mfma4 option.
44023 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44024 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44025 COMMON_CPUID_INDEX_80000001.
44026 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44027 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44028 use it if FMA3 is not supported.
44029 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44031 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44032 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44034 2011-10-20 Andreas Schwab <schwab@redhat.com>
44037 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44038 it would create a cycle with a link time dependency.
44040 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44042 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44044 * string/Makefile (strop-tests): Add rawmemchr.
44045 * string/test-rawmemchr.c: New file.
44047 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44049 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44050 when compiling str{,n}casecmp and when AVX is available. Hook up
44051 new optimized code in initializers.
44053 2011-10-19 Andreas Schwab <schwab@redhat.com>
44055 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44056 __feraiseexcept instead of feraiseexcept.
44058 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44060 * math/math_private.h: Define defaults for libc_fetestexcept and
44062 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44063 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44065 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44066 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44067 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44068 libc_fetestexcept and libc_feupdateenv.
44070 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44071 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44072 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44073 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44074 libc_feholdexcept_setround.
44076 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44077 Add s_nearbyint-c and s_nearbyintf-c.
44078 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44079 nearbyintf inlines.
44080 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44081 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44082 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44083 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44085 * math/math_private.h: Define defaults for libc_fegetround,
44086 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44087 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44088 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44090 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44091 standard functions.
44092 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44093 Remove comments and hacks for old compiler versions.
44094 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44095 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44096 libc_feholdexceptl.
44098 2011-10-18 Andreas Schwab <schwab@redhat.com>
44100 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44101 (__feraiseexcept_renamed): Add __NTH.
44102 (feraiseexcept): Add __NTH. Rename local variables to fix
44103 namespace violations.
44105 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44107 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44109 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44111 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44112 recently added interfaces.
44113 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44115 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44116 about macro parameter expansion.
44118 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44119 __NO_MATH_INLINES is defined. Cleanups.
44121 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44122 and __floorf is target has SSE4.1.
44123 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44124 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44125 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44126 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44128 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44130 (floorf): Likewise.
44132 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44134 2011-10-17 Andreas Schwab <schwab@redhat.com>
44136 * misc/sys/cdefs.h: Fix last change.
44138 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44141 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44143 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44145 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44147 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44148 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44150 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44151 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44153 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44154 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44155 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44156 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44157 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44158 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44159 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44160 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44161 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44162 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44163 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44164 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44166 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44168 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44169 ceil, ceilf, floor, floorf.
44171 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44172 Perform IRELATIVE relocations last.
44174 * elf/do-rel.h: Add another parameter nrelative, replacing the
44175 local variable with the same name. Change name of the function
44176 to end in Rel or Rela (uppercase).
44177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44178 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44179 elf_dynamic_do_##reloc function.
44181 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44183 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44184 is sufficient, at least on modern CPUs.
44186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44188 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44189 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44191 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44193 * math/bits/math-finite.h: Add entries for exp.
44194 * math/e_expl.c: Add __*_finite alias.
44195 * sysdeps/i386/fpu/e_exp.S: Likewise.
44196 * sysdeps/i386/fpu/e_expf.S: Likewise.
44197 * sysdeps/i386/fpu/e_expl.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44199 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44202 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44203 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44204 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44206 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44207 is sufficient, at least on modern CPUs.
44209 * ctype/ctype-info.c (__ctype_init): Define.
44210 * include/ctype.h (__ctype_init): Declare.
44211 (__ctype_b_loc): The variable is always initialized.
44212 (__ctype_toupper_loc): Likewise.
44213 (__ctype_tolower_loc): Likewise.
44214 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44215 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44217 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44219 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44221 * configure.in: Also look in $cxxmachine/include for C++ system
44224 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44226 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44227 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44228 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44229 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44230 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44231 (USE_AS_WMEMCMP): New macro.
44233 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44234 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44235 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44236 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44238 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44239 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44240 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44241 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44242 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44243 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44244 (USE_AS_WMEMCMP): New macro.
44245 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44246 * sysdeps/string/test-memcmp.c: Update.
44247 Fix simple_wmemcmp.
44249 * wcsmbs/wmemcmp.c: Update.
44250 (WMEMCMP): New macro.
44253 2011-10-12 Andreas Jaeger <aj@suse.de>
44256 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44258 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44260 * libio/iofwide.c (do_length): Avoid warning.
44262 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44264 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44266 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44268 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44269 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44270 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44271 * sysdeps/i386/i686/fpu/e_log.S: New file.
44272 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44273 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44275 * ctype/ctype.h: Add support for inlined isXXX functions when
44276 compiling C++ code.
44278 2011-10-14 Andreas Schwab <schwab@redhat.com>
44280 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44284 2011-10-13 Roland McGrath <roland@hack.frob.com>
44287 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44289 2011-10-13 Andreas Schwab <schwab@redhat.com>
44291 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44292 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44295 * sysdeps/x86_64/memrchr.S: Check for zero size.
44297 * string/stratcliff.c: Add memrchr tests.
44299 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44302 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44303 rawmemchr-sse2 rawmemchr-sse2-bsf.
44304 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44305 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44306 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44307 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44308 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44309 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44310 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44311 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44312 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44313 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44314 * string/memrchr.c (MEMRCHR): New macro.
44316 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44318 Add integration with gcc's -ffinite-math-only and optimize wrapper
44320 * Versions.def: Define GLIBC_2.15 version for libm.
44321 * math/Makefile (headers): Add bits/math-finite.h.
44322 * math/bits/math-finite.h: New file.
44323 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44324 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44325 * math/e_acoshl.c: Add __*_finite alias.
44326 * math/e_acosl.c: Likewise.
44327 * math/e_asinl.c: Likewise.
44328 * math/e_atan2l.c: Likewise.
44329 * math/e_atanhl.c: Likewise.
44330 * math/e_coshl.c: Likewise.
44331 * math/e_exp10.c: Likewise.
44332 * math/e_exp10f.c: Likewise.
44333 * math/e_exp10l.c: Likewise.
44334 * math/e_exp2l.c: Likewise.
44335 * math/e_fmodl.c: Likewise.
44336 * math/e_gammal_r.c: Likewise.
44337 * math/e_hypotl.c: Likewise.
44338 * math/e_j0l.c: Likewise.
44339 * math/e_j1l.c: Likewise.
44340 * math/e_jnl.c: Likewise.
44341 * math/e_lgammal_r.c: Likewise.
44342 * math/e_log10l.c: Likewise.
44343 * math/e_log2l.c: Likewise.
44344 * math/e_logl.c: Likewise.
44345 * math/e_powl.c: Likewise.
44346 * math/e_sinhl.c: Likewise.
44347 * math/e_sqrtl.c: Likewise.
44348 * math/e_scalb.c: Completely rewritten and optimized.
44349 * math/e_scalbf.c: Likewise.
44350 * math/e_scalbl.c: Likewise.
44351 * math/w_acos.c: Likewise.
44352 * math/w_acosf.c: Likewise.
44353 * math/w_acosl.c: Likewise.
44354 * math/w_acosh.c: Likewise.
44355 * math/w_acoshf.c: Likewise.
44356 * math/w_acoshl.c: Likewise.
44357 * math/w_asin.c: Likewise.
44358 * math/w_asinf.c: Likewise.
44359 * math/w_asinl.c: Likewise.
44360 * math/w_atan2.c: Likewise.
44361 * math/w_atan2f.c: Likewise.
44362 * math/w_atan2l.c: Likewise.
44363 * math/w_atanh.c: Likewise.
44364 * math/w_atanhf.c: Likewise.
44365 * math/w_atanhl.c: Likewise.
44366 * math/w_exp10.c: Likewise.
44367 * math/w_exp10f.c: Likewise.
44368 * math/w_exp10l.c: Likewise.
44369 * math/w_fmod.c: Likewise.
44370 * math/w_fmodf.c: Likewise.
44371 * math/w_fmodl.c: Likewise.
44372 * math/w_j0.c: Likewise.
44373 * math/w_j0f.c: Likewise.
44374 * math/w_j0l.c: Likewise.
44375 * math/w_j1.c: Likewise.
44376 * math/w_j1f.c: Likewise.
44377 * math/w_j1l.c: Likewise.
44378 * math/w_jn.c: Likewise.
44379 * math/w_jnf.c: Likewise.
44380 * math/w_log.c: Likewise.
44381 * math/w_logf.c: Likewise.
44382 * math/w_logl.c: Likewise.
44383 * math/w_log10.c: Likewise.
44384 * math/w_log10f.c: Likewise.
44385 * math/w_log10l.c: Likewise.
44386 * math/w_log2.c: Likewise.
44387 * math/w_log2f.c: Likewise.
44388 * math/w_log2l.c: Likewise.
44389 * math/w_pow.c: Likewise.
44390 * math/w_powf.c: Likewise.
44391 * math/w_powl.c: Likewise.
44392 * math/w_remainder.c: Likewise.
44393 * math/w_remainderf.c: Likewise.
44394 * math/w_remainderl.c: Likewise.
44395 * math/w_scalb.c: Likewise.
44396 * math/w_scalbf.c: Likewise.
44397 * math/w_scalbl.c: Likewise.
44398 * math/w_sqrt.c: Likewise.
44399 * math/w_sqrtf.c: Likewise.
44400 * math/w_sqrtl.c: Likewise.
44401 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44402 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44404 * math/math_private.h: Declare __kernel_standard_f.
44405 * math/w_cosh.c: Remove cruft and optimize a bit.
44406 * math/w_coshf.c: Likewise.
44407 * math/w_coshl.c: Likewise.
44408 * math/w_exp2.c: Likewise.
44409 * math/w_exp2f.c: Likewise.
44410 * math/w_exp2l.c: Likewise.
44411 * math/w_hypot.c: Likewise.
44412 * math/w_hypotf.c: Likewise.
44413 * math/w_hypotl.c: Likewise.
44414 * math/w_lgamma.c: Likewise.
44415 * math/w_lgamma_r.c: Likewise.
44416 * math/w_lgammaf.c: Likewise.
44417 * math/w_lgammaf_r.c: Likewise.
44418 * math/w_lgammal.c: Likewise.
44419 * math/w_lgammal_r.c: Likewise.
44420 * math/w_sinh.c: Likewise.
44421 * math/w_sinhf.c: Likewise.
44422 * math/w_sinhl.c: Likewise.
44423 * math/w_tgamma.c: Likewise.
44424 * math/w_tgammaf.c: Likewise.
44425 * math/w_tgammal.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44427 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44428 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44429 Minor optimizations. Pretty printing. Remove cruft.
44430 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44432 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44434 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44435 * sysdeps/i386/fpu/e_asin.S: Likewise.
44436 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44437 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44438 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44439 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44440 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44441 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44442 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44443 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44444 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44445 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44446 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44447 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44448 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44449 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44450 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44451 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44452 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44453 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44454 * sysdeps/i386/fpu/e_log.S: Likewise.
44455 * sysdeps/i386/fpu/e_log10.S: Likewise.
44456 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44458 * sysdeps/i386/fpu/e_log2.S: Likewise.
44459 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44460 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44461 * sysdeps/i386/fpu/e_logf.S: Likewise.
44462 * sysdeps/i386/fpu/e_logl.S: Likewise.
44463 * sysdeps/i386/fpu/e_pow.S: Likewise.
44464 * sysdeps/i386/fpu/e_powf.S: Likewise.
44465 * sysdeps/i386/fpu/e_powl.S: Likewise.
44466 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44467 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44468 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44469 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44470 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44471 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44472 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44473 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44474 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44475 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44476 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44482 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44491 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44492 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44493 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44496 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44499 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44500 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44501 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44502 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44503 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44504 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44505 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44506 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44507 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44508 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44509 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44510 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44511 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44512 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44513 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44514 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44515 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44516 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44555 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44558 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44560 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44561 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44563 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44566 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44567 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44568 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44569 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44570 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44571 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44572 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44573 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44574 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44575 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44576 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44577 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44578 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44579 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44580 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44581 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44582 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44583 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44584 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44585 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44586 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44587 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44588 (__isnanf): Likewise.
44589 (__isinf_ns): Likewise.
44590 (__isinf_nsf): Likewise.
44591 (__finite): Likewise.
44592 (__finitef): Likewise.
44593 (__ieee754_sqrt): Define as macro.
44594 (__ieee754_sqrtf): Define as macro.
44595 (__ieee754_sqrtl): Define as macro.
44596 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44598 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44599 __FINITE_MATH_ONLY__ consistent.
44600 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44602 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44604 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44607 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44609 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44611 * po/ja.po: Update from translation team.
44613 2011-10-08 Roland McGrath <roland@hack.frob.com>
44615 * locale/programs/locarchive.c (prepare_address_space): New function.
44616 (create_archive, enlarge_archive, open_archive): Use it.
44618 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44619 inside [SHARED], where it is used.
44621 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44623 * nss/getent.c (netgroup_keys): Remove unused variable.
44624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44626 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44628 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44629 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44632 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44633 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44634 * math/Makefile (libm-calls): Add s_isinf_ns.
44635 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44636 * math/multc3.c: Likewise.
44637 * math/s_casin.c: Likewise.
44638 * math/s_casinf.c: Likewise.
44639 * math/s_casinl.c: Likewise.
44640 * math/s_ccos.c: Likewise.
44641 * math/s_ccosf.c: Likewise.
44642 * math/s_ccosl.c: Likewise.
44643 * math/s_ctan.c: Likewise.
44644 * math/s_ctanf.c: Likewise.
44645 * math/s_ctanh.c: Likewise.
44646 * math/s_ctanhf.c: Likewise.
44647 * math/s_ctanhl.c: Likewise.
44648 * math/s_ctanl.c: Likewise.
44649 * math/w_fmod.c: Likewise.
44650 * math/w_fmodf.c: Likewise.
44651 * math/w_fmodl.c: Likewise.
44652 * math/w_remainder.c: Likewise.
44653 * math/w_remainderf.c: Likewise.
44654 * math/w_remainderl.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44656 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44659 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44660 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44661 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44662 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44664 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44666 * stdio-common/printf_fphex.c: Likewise.
44667 * stdio-common/printf_size.c: Likewise.
44669 * math/e_exp10.c: Include math_private.h using <...> not "...".
44670 * math/e_exp10f.c: Likewise.
44671 * math/e_exp10l.c: Likewise.
44672 * math/e_exp2l.c: Likewise.
44673 * math/e_j0l.c: Likewise.
44674 * math/e_j1l.c: Likewise.
44675 * math/e_jnl.c: Likewise.
44676 * math/e_lgammal_r.c: Likewise.
44677 * math/e_rem_pio2l.c: Likewise.
44678 * math/e_scalb.c: Likewise.
44679 * math/e_scalbf.c: Likewise.
44680 * math/e_scalbl.c: Likewise.
44681 * math/k_cosl.c: Likewise.
44682 * math/k_sinl.c: Likewise.
44683 * math/k_tanl.c: Likewise.
44684 * math/s_cacoshf.c: Likewise.
44685 * math/s_catan.c: Likewise.
44686 * math/s_catanf.c: Likewise.
44687 * math/s_catanh.c: Likewise.
44688 * math/s_catanhf.c: Likewise.
44689 * math/s_catanhl.c: Likewise.
44690 * math/s_catanl.c: Likewise.
44691 * math/s_ccosh.c: Likewise.
44692 * math/s_ccoshf.c: Likewise.
44693 * math/s_ccoshl.c: Likewise.
44694 * math/s_cexp.c: Likewise.
44695 * math/s_cexpf.c: Likewise.
44696 * math/s_cexpl.c: Likewise.
44697 * math/s_clog.c: Likewise.
44698 * math/s_clog10.c: Likewise.
44699 * math/s_clog10f.c: Likewise.
44700 * math/s_clog10l.c: Likewise.
44701 * math/s_clogf.c: Likewise.
44702 * math/s_clogl.c: Likewise.
44703 * math/s_csin.c: Likewise.
44704 * math/s_csinf.c: Likewise.
44705 * math/s_csinh.c: Likewise.
44706 * math/s_csinhf.c: Likewise.
44707 * math/s_csinhl.c: Likewise.
44708 * math/s_csinl.c: Likewise.
44709 * math/s_csqrt.c: Likewise.
44710 * math/s_csqrtf.c: Likewise.
44711 * math/s_csqrtl.c: Likewise.
44712 * math/s_ctan.c: Likewise.
44713 * math/s_ctanf.c: Likewise.
44714 * math/s_ctanh.c: Likewise.
44715 * math/s_ctanhf.c: Likewise.
44716 * math/s_ctanhl.c: Likewise.
44717 * math/s_ctanl.c: Likewise.
44718 * math/s_ldexp.c: Likewise.
44719 * math/s_ldexpf.c: Likewise.
44720 * math/s_ldexpl.c: Likewise.
44721 * math/s_significand.c: Likewise.
44722 * math/s_significandf.c: Likewise.
44723 * math/s_significandl.c: Likewise.
44724 * math/w_acos.c: Likewise.
44725 * math/w_acosf.c: Likewise.
44726 * math/w_acosh.c: Likewise.
44727 * math/w_acoshf.c: Likewise.
44728 * math/w_acoshl.c: Likewise.
44729 * math/w_acosl.c: Likewise.
44730 * math/w_asin.c: Likewise.
44731 * math/w_asinf.c: Likewise.
44732 * math/w_asinl.c: Likewise.
44733 * math/w_atan2.c: Likewise.
44734 * math/w_atan2f.c: Likewise.
44735 * math/w_atan2l.c: Likewise.
44736 * math/w_atanh.c: Likewise.
44737 * math/w_atanhf.c: Likewise.
44738 * math/w_atanhl.c: Likewise.
44739 * math/w_cosh.c: Likewise.
44740 * math/w_coshf.c: Likewise.
44741 * math/w_coshl.c: Likewise.
44742 * math/w_dremf.c: Likewise.
44743 * math/w_exp10.c: Likewise.
44744 * math/w_exp10f.c: Likewise.
44745 * math/w_exp10l.c: Likewise.
44746 * math/w_exp2.c: Likewise.
44747 * math/w_exp2f.c: Likewise.
44748 * math/w_fmod.c: Likewise.
44749 * math/w_fmodf.c: Likewise.
44750 * math/w_fmodl.c: Likewise.
44751 * math/w_hypot.c: Likewise.
44752 * math/w_hypotf.c: Likewise.
44753 * math/w_hypotl.c: Likewise.
44754 * math/w_j0.c: Likewise.
44755 * math/w_j0f.c: Likewise.
44756 * math/w_j0l.c: Likewise.
44757 * math/w_j1.c: Likewise.
44758 * math/w_j1f.c: Likewise.
44759 * math/w_j1l.c: Likewise.
44760 * math/w_jn.c: Likewise.
44761 * math/w_jnf.c: Likewise.
44762 * math/w_jnl.c: Likewise.
44763 * math/w_lgamma.c: Likewise.
44764 * math/w_lgamma_r.c: Likewise.
44765 * math/w_lgammaf.c: Likewise.
44766 * math/w_lgammaf_r.c: Likewise.
44767 * math/w_lgammal.c: Likewise.
44768 * math/w_lgammal_r.c: Likewise.
44769 * math/w_log.c: Likewise.
44770 * math/w_log10.c: Likewise.
44771 * math/w_log10f.c: Likewise.
44772 * math/w_log10l.c: Likewise.
44773 * math/w_log2.c: Likewise.
44774 * math/w_log2f.c: Likewise.
44775 * math/w_log2l.c: Likewise.
44776 * math/w_logf.c: Likewise.
44777 * math/w_logl.c: Likewise.
44778 * math/w_pow.c: Likewise.
44779 * math/w_powf.c: Likewise.
44780 * math/w_powl.c: Likewise.
44781 * math/w_remainder.c: Likewise.
44782 * math/w_remainderf.c: Likewise.
44783 * math/w_remainderl.c: Likewise.
44784 * math/w_scalb.c: Likewise.
44785 * math/w_scalbf.c: Likewise.
44786 * math/w_scalbl.c: Likewise.
44787 * math/w_sinh.c: Likewise.
44788 * math/w_sinhf.c: Likewise.
44789 * math/w_sinhl.c: Likewise.
44790 * math/w_sqrt.c: Likewise.
44791 * math/w_sqrtf.c: Likewise.
44792 * math/w_sqrtl.c: Likewise.
44793 * math/w_tgamma.c: Likewise.
44794 * math/w_tgammaf.c: Likewise.
44795 * math/w_tgammal.c: Likewise.
44797 * po/ja.po: Update from translation team.
44799 2011-09-29 Andreas Jaeger <aj@suse.de>
44802 * sunrpc/netname.c (netname2host): Fix logic.
44806 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44808 * math/w_remainder.c (__remainder): Likewise.
44809 * math/w_remainderf.c (__remainderf): Likewise.
44810 * math/libm-test.inc (remainder_test): Add test cases.
44812 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44814 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44817 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44819 * string/test-memcmp.c: Avoid unncessary #defines.
44820 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44822 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44824 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44825 Use new sse2 version for core i3 - i7 as it's faster
44826 than sse42 version.
44827 (bit_Prefer_PMINUB_for_stringop): New.
44828 * sysdeps/x86_64/rawmemchr.S: Update.
44829 Replace with faster SSE2 version.
44830 * sysdeps/x86_64/memrchr.S: New file.
44831 * sysdeps/x86_64/memchr.S: Update.
44832 Replace with faster SSE2 version.
44834 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44836 * elf/dl-load.c (lose): Add cast to avoid warning.
44838 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44840 * po/ca.po: Update from translation team.
44842 * inet/getnetgrent_r.c: Hook up nscd.
44843 * nscd/Makefile (routines): Add nscd_netgroup.
44844 (nscd-modules): Add netgroupcache.
44845 (CFLAGS-netgroupcache.c): Define.
44846 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44847 (cache_search): Add const to second parameter.
44848 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44850 (dbs): Add netgrdb entry.
44851 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44852 (verify_persistent_db): Handle netgrdb.
44853 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44854 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44856 (netgroup_response_header): Define.
44857 (innetgroup_response_header): Define.
44858 (datahead): Add netgroup_response_header and innetgroup_response_header
44860 * nscd/nscd.conf: Add entries for netgroup cache.
44861 * nscd/nscd.h (dbtype): Add netgrdb.
44862 (_PATH_NSCD_NETGROUP_DB): Define.
44863 (netgroup_iov_disabled): Declare.
44864 (xmalloc, xcalloc, xrealloc): Move declarations here.
44865 (cache_search): Adjust prototype.
44866 Add netgroup-related prototypes.
44867 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44868 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44869 (__nscd_innetgr): Declare.
44870 * nscd/selinux.c (perms): Use access_vector_t as element type and
44871 add netgroup-related initializers.
44872 * nscd/netgroupcache.c: New file.
44873 * nscd/nscd_netgroup.c: New file.
44874 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44875 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44876 For four parameters use innetgr.
44877 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44878 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44879 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44880 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44882 * nscd/connections.c (register_traced_file): Don't register file
44883 for disabled databases.
44885 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44887 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44889 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44890 from tree and freeing node.
44892 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44894 * nss/nsswitch.c (__nss_database_lookup): Handle
44895 nss_parse_service_list out of memory case.
44897 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44899 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44900 out of memory case.
44902 2011-10-04 Andreas Schwab <schwab@redhat.com>
44904 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44905 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44907 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44908 elf_machine_rela, elf_machine_lazy_rel.
44909 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44910 (ELF_DYNAMIC_DO_REL): Likewise.
44911 (ELF_DYNAMIC_DO_RELA): Likewise.
44912 (ELF_DYNAMIC_RELOCATE): Likewise.
44913 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44914 to ELF_DYNAMIC_DO_REL.
44915 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44916 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44917 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44919 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44920 skip_ifunc, don't call ifunc function if non-zero.
44921 (elf_machine_rela): Likewise.
44922 (elf_machine_lazy_rel): Likewise.
44923 (elf_machine_lazy_rela): Likewise.
44924 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44925 (elf_machine_lazy_rel): Likewise.
44926 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44928 (elf_machine_lazy_rel): Likewise.
44929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44931 (elf_machine_lazy_rel): Likewise.
44932 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44933 (elf_machine_lazy_rel): Likewise.
44934 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44935 (elf_machine_lazy_rel): Likewise.
44936 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44937 (elf_machine_lazy_rel): Likewise.
44938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44939 (elf_machine_lazy_rel): Likewise.
44940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44941 (elf_machine_lazy_rel): Likewise.
44942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44943 (elf_machine_lazy_rel): Likewise.
44945 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44947 * nss/nss_files/files-init.c (_nss_files_init): Use static
44948 initialization for all the *_traced_file variables.
44950 2011-09-28 Andreas Schwab <schwab@redhat.com>
44952 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44954 2011-09-27 Roland McGrath <roland@hack.frob.com>
44957 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44959 2011-09-27 Andreas Schwab <schwab@redhat.com>
44961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44962 Reread the line before reparsing it.
44964 2011-09-26 Andreas Schwab <schwab@redhat.com>
44966 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44968 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44969 Maxim Kuvyrkov <maxim@codesourcery.com>
44970 Joseph Myers <joseph@codesourcery.com>
44972 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44973 if needed for __stack_chk_guard.
44975 2011-09-19 Roland McGrath <roland@hack.frob.com>
44977 * sysdeps/posix/spawni.c (script_execute): Always define it.
44978 It will be optimized away if unused.
44979 (maybe_script_execute): New function.
44980 (__spawni): Call it.
44982 * Makerules: Don't include tls.make.
44983 (config-tls): Always set to thread.
44984 * tls.make.c: File removed.
44986 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44988 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44989 * config.make.in (CPPFLAGS-config): New substituted variable.
44991 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44996 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44997 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44999 2011-09-15 Roland McGrath <roland@hack.frob.com>
45001 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45002 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45004 (CALL_FAIL): Likewise.
45005 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45006 (CALL_FAIL): Macro removed.
45007 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45009 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45011 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45012 for __FINITE_MATH_ONLY__ == 1.
45014 2011-09-15 Andreas Schwab <schwab@redhat.com>
45016 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45017 __ieee754_sqrt instead of sqrt.
45018 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45019 __ieee754_sqrtf instead of sqrtf.
45020 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45021 __floorf instead of floorf.
45022 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45023 __floorf, __truncf instead of floorf, truncf.
45025 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45027 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45029 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45030 __extern_always_inline.
45031 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45034 2011-09-14 Andreas Schwab <schwab@redhat.com>
45036 * elf/rtld.c (dl_main): Also relocate in dependency order when
45037 doing symbol dependency testing.
45039 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45042 Always define `refsym'.
45044 2011-09-13 Andreas Schwab <schwab@redhat.com>
45046 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45047 (__FD_ELT): Renamed from __FDELT.
45048 * misc/bits/select2.h (__FD_ELT): Likewise.
45049 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45050 __FD_MASK instead of __FDELT, __FDMASK.
45051 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45053 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45056 * elf/Makefile (gen-ldd): Fix pattern.
45058 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45059 (init_tls): Likewise.
45061 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45065 2011-09-12 Andreas Schwab <schwab@redhat.com>
45067 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45068 `struct cmsghdr *' instead of `void *'.
45069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45072 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45074 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45076 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45077 ldd_rewrite_script.
45079 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45081 * configure.in: Remove --with-tls option.
45082 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45083 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45084 out in case it is missing.
45085 * sysdeps/ia64/elf/configure.in: Likewise.
45086 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45087 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45088 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45089 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45090 * sysdeps/sh/elf/configure.in: Likewise.
45091 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45092 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45093 * sysdeps/x86_64/elf/configure.in: Likewise.
45094 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45095 * sysdeps/mach/hurd/tls.h: Likewise.
45098 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45101 * configure.in: Fix use of AC_INIT.
45103 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45105 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45107 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45109 * malloc/hooks.c: Likewise.
45112 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45113 variables statically.
45114 (narenas): Initialize.
45115 (list_lock): Initialize.
45116 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45117 initializtion of main_arena and list_lock. Small cleanups.
45118 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45119 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45120 Add initializers to main_arena and mp_.
45121 (malloc_state): Remove pagesize member. Change all users to use
45124 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45125 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45126 is always initialized.
45128 * malloc/malloc.c: Removed unused configurations and dead code.
45129 * malloc/arena.c: Likewise.
45130 * malloc/hooks.c: Likewise.
45131 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45133 * include/tls.h: Removed. USE___THREAD must always be defined.
45134 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45135 * elf/dl-libc.c: Likewise.
45136 * elf/dl-tsd.c: Likewise.
45137 * include/errno.h: Likewise.
45138 * include/netdb.h: Likewise.
45139 * include/resolv.h: Likewise.
45140 * inet/herrno-loc.c: Likewise.
45141 * inet/herrno.c: Likewise.
45142 * malloc/arena.c: Likewise.
45143 * malloc/hooks.c: Likewise.
45144 * malloc/malloc.c: Likewise.
45145 * resolv/res-state.c: Likewise.
45146 * resolv/res_libc.c: Likewise.
45147 * sysdeps/i386/dl-machine.h: Likewise.
45148 * sysdeps/ia64/dl-machine.h: Likewise.
45149 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45150 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45151 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45152 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45153 * sysdeps/sh/dl-machine.h: Likewise.
45154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45155 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45156 * sysdeps/unix/i386/sysdep.S: Likewise.
45157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45158 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45163 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45167 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45168 * sysdeps/x86_64/dl-machine.h: Likewise.
45169 * tls.make.c: Likewise.
45171 * configure.in: Remove --with-__thread option. Make tests for
45172 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45173 tls_model attribute fail if no support is available. Remove
45175 * Makeconfig: Adjust for dropped configure option. All features are
45177 * Makerules: Likewise.
45178 * Versions.def: Likewise.
45179 * argp/argp-fmtstream.c: Likewise.
45180 * argp/argp-fmtstream.h: Likewise.
45181 * argp/argp-help.c: Likewise.
45182 * assert/assert.c: Likewise.
45183 * config.h.in: Likewise.
45184 * config.make.in: Likewise.
45185 * configure: Likewise.
45186 * configure.in: Likewise.
45187 * csu/Versions: Likewise.
45188 * csu/init.c: Likewise.
45189 * elf/tst-audit2.c: Likewise.
45190 * elf/tst-tls10.c: Likewise.
45191 * elf/tst-tls10.h: Likewise.
45192 * elf/tst-tls11.c: Likewise.
45193 * elf/tst-tls12.c: Likewise.
45194 * elf/tst-tls14.c: Likewise.
45195 * elf/tst-tlsmod11.c: Likewise.
45196 * elf/tst-tlsmod12.c: Likewise.
45197 * elf/tst-tlsmod13.c: Likewise.
45198 * elf/tst-tlsmod13a.c: Likewise.
45199 * elf/tst-tlsmod14a.c: Likewise.
45200 * elf/tst-tlsmod15b.c: Likewise.
45201 * elf/tst-tlsmod16a.c: Likewise.
45202 * elf/tst-tlsmod16b.c: Likewise.
45203 * elf/tst-tlsmod7.c: Likewise.
45204 * elf/tst-tlsmod8.c: Likewise.
45205 * elf/tst-tlsmod9.c: Likewise.
45206 * gmon/gmon.c: Likewise.
45207 * grp/fgetgrent_r.c: Likewise.
45208 * grp/putgrent.c: Likewise.
45209 * hurd/fopenport.c: Likewise.
45210 * include/libc-symbols.h: Likewise.
45211 * include/tls.h: Likewise.
45212 * intl/gettextP.h: Likewise.
45213 * intl/loadinfo.h: Likewise.
45214 * locale/global-locale.c: Likewise.
45215 * locale/localeinfo.h: Likewise.
45216 * mach/devstream.c: Likewise.
45217 * malloc/arena.c: Likewise.
45218 * malloc/set-freeres.c: Likewise.
45219 * misc/err.c: Likewise.
45220 * misc/getttyent.c: Likewise.
45221 * misc/mntent_r.c: Likewise.
45222 * posix/getopt.c: Likewise.
45223 * posix/wordexp.c: Likewise.
45224 * pwd/fgetpwent_r.c: Likewise.
45225 * resolv/Versions: Likewise.
45226 * resolv/res_hconf.c: Likewise.
45227 * shadow/fgetspent_r.c: Likewise.
45228 * shadow/putspent.c: Likewise.
45229 * stdio-common/printf_fphex.c: Likewise.
45230 * stdio-common/tmpfile.c: Likewise.
45231 * stdlib/abort.c: Likewise.
45232 * stdlib/fmtmsg.c: Likewise.
45233 * sunrpc/auth_unix.c: Likewise.
45234 * sunrpc/clnt_perr.c: Likewise.
45235 * sunrpc/clnt_tcp.c: Likewise.
45236 * sunrpc/clnt_udp.c: Likewise.
45237 * sunrpc/clnt_unix.c: Likewise.
45238 * sunrpc/openchild.c: Likewise.
45239 * sunrpc/svc_simple.c: Likewise.
45240 * sunrpc/svc_tcp.c: Likewise.
45241 * sunrpc/svc_udp.c: Likewise.
45242 * sunrpc/svc_unix.c: Likewise.
45243 * sunrpc/xdr.c: Likewise.
45244 * sunrpc/xdr_array.c: Likewise.
45245 * sunrpc/xdr_rec.c: Likewise.
45246 * sunrpc/xdr_ref.c: Likewise.
45247 * sunrpc/xdr_stdio.c: Likewise.
45249 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45251 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45253 2011-07-03 Andreas Jaeger <aj@suse.de>
45255 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45256 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45257 regenerate with gen-libm-tests.pl.
45259 2010-05-12 Petr Baudis <pasky@suse.cz>
45262 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45263 around j0() zero points by switching to j1().
45264 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45269 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45271 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45273 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45276 Patch in part by Pavel Roskin <proski@gnu.org>.
45279 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45281 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45282 Free memory block if necessary.
45285 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45286 be NULL. Don't lock in this case.
45288 2011-09-09 Roland McGrath <roland@hack.frob.com>
45290 * elf/elf.h (ELFOSABI_GNU): New macro.
45291 (ELFOSABI_LINUX): Define to that.
45293 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45295 * string/strncat.c (strncat): Undef the symbol in case it has been
45296 defined in bits/string.h.
45298 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45300 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45302 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45305 2011-08-17 Andreas Jaeger <aj@suse.de>
45307 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45309 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45310 Ian Lance Taylor <iant@google.com>
45312 * math/libm-test.inc (lround_test): New testcase.
45313 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45315 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45317 * Makefile: Remove support for automatic cvs check-ins.
45318 * Makerules: Likewise.
45319 * config.make.in: Likewise.
45320 * configure.in: Likewise.
45321 * intl/Makefile: Likewise.
45322 * locale/Makefile: Likewise.
45323 * po/Makefile: Likewise.
45324 * posix/Makefile: Likewise.
45325 * sysdeps/gnu/Makefile: Likewise.
45326 * sysdeps/mach/hurd/Makefile: Likewise.
45327 * sysdeps/sparc/sparc32/Makefile: Likewise.
45330 * posix/Makefile (bug-regex32-ENV): Define.
45331 Patch by John Stanley <jpsinthemix@verizon.net>.
45333 * misc/Makefile (headers): Add bits/select2.h.
45334 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45335 * misc/bits/select2.h: New file.
45336 * include/bits/select2.h: New file.
45337 * debug/Makefile (routines): Add fdelt_chk.
45338 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45339 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45341 * debug/fdelt_chk.c: New file.
45343 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45344 * wcsmbs/test-wmemcmp.c: Likewise.
45345 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45346 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45348 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45350 * string/Makefile (strop-tests): Add memcmp.
45351 * string/test-wmemcmp.c: New file.
45352 * string/test-memcmp.c: Add wmemcmp support.
45354 2011-09-08 Roland McGrath <roland@hack.frob.com>
45357 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45360 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45361 garbage value in a __mach_port_mod_refs call in the cases of the
45362 task-self and thread-self ports.
45364 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45366 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45368 2011-09-08 Andreas Schwab <schwab@redhat.com>
45370 * elf/dl-load.c (lose): Check for non-null L.
45372 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45374 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45376 * elf/dl-libc.c (dlerror_run): Pass back error code from
45380 * elf/dl-load.c (lose): Free l_origin if it is valid.
45382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45384 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45385 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45387 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45388 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45389 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45391 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45393 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45394 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45395 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45396 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45397 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45398 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45399 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45400 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45401 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45402 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45404 2011-08-15 Alan Modra <amodra@gmail.com>
45407 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45408 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45409 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45410 ppc_mcount to static-only-routines.
45411 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45413 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45414 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45416 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45418 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45419 for finite and infinity parameters.
45421 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45424 and add nop instructions for throughput optimization.
45425 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45427 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45430 aligned copy for power7 with vector-scalar instructions.
45431 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45433 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45438 2011-09-07 Andreas Schwab <schwab@redhat.com>
45441 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45444 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45446 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45447 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45448 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45449 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45452 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45454 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45455 Forgot to demangle the pointer.
45457 * sysdeps/i386/sysdep.h: Define atom_text_section.
45458 * sysdeps/x86_64/sysdep.h: Likewise.
45459 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45460 section with atom_text_section.
45461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45462 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45463 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45467 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45468 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45469 already be defined. Change to take two parameters and don't assign
45470 result to variable. Adjust all users.
45471 Define INTERNAL_GETTIME if not already defined.
45472 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45475 HAVE_CLOCK_GETTIME_VSYSCALL.
45476 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45479 gettimeofday vsyscall, just use time.
45481 2011-09-06 Andreas Schwab <schwab@redhat.com>
45483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45486 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45488 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45492 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45494 syscall if possible.
45496 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45498 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45499 e_ident. Don't pass to find_mapsXX.
45500 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45502 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45505 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45506 * sysdeps/x86_64/multiarch/strchr.S: Update.
45507 Check bit_slow_BSF bit.
45508 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45509 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45510 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45512 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45515 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45517 (tryshell): Define.
45518 (__spawni): Change last parameter to be flag. Test
45519 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45520 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45521 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45522 * posix/spawni.c: Likewise.
45523 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45524 * posix/spawnp.c: Likewise. Change normal version to use
45525 SPAWN_XFLAGS_USE_PATH.
45526 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45527 SPAWN_XFLAGS_TRY_SHELL.
45530 * posix/glob.h: Remove gcc 1.x support.
45533 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45535 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45538 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45540 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45541 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45542 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45544 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45547 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45549 * sysdeps/x86_64/wcscmp.S: New file.
45551 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45552 wcscmp-c wcscmp-sse2
45553 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45554 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45555 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45556 * wcsmbs/wcscmp.c: Allow renaming.
45558 2011-09-05 David S. Miller <davem@davemloft.net>
45560 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45561 stack slot, rather than the struct return pointer slot.
45562 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45563 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45565 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45567 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45569 * po/ja.po: Update from translation team.
45572 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45573 kernel in 64-bit binaries.
45575 2011-09-01 David S. Miller <davem@davemloft.net>
45577 * elf/elf.h (HWCAP_SPARC_*): Move to..
45578 * sysdeps/sparc/sysdep.h: this new file and add new values.
45579 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45580 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45581 _DL_HWCAP_COUNT to 24.
45582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45584 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45585 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45586 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45588 instead of magic constants.
45589 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45591 2011-08-31 David S. Miller <davem@davemloft.net>
45593 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45595 Reimplement to do errno handling inline.
45596 (SYSCALL_ERROR_HANDLER): New macro.
45597 (__SYSCALL_STRING): Do not do errno handling in asm.
45598 (__CLONE_SYSCALL_STRING): Delete.
45599 (__INTERNAL_SYSCALL_STRING): Delete.
45600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45601 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45602 (PSEUDO): Reimplement to do errno handling inline.
45603 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45604 (SYSCALL_ERROR_HANDLER): New macro.
45605 (__SYSCALL_STRING): Do not do errno handling in asm.
45606 (__CLONE_SYSCALL_STRING): Delete.
45607 (__INTERNAL_SYSCALL_STRING): Delete.
45608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45609 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45611 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45612 (inline_syscall*): Add 'err' argument.
45613 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45614 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45615 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45616 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45618 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45619 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45621 2011-08-30 Andreas Schwab <schwab@redhat.com>
45623 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45625 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45627 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45630 2011-08-24 David S. Miller <davem@davemloft.net>
45632 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45634 2011-08-24 Andreas Schwab <schwab@redhat.com>
45636 * elf/Makefile: Add rules to build and run unload8 test.
45637 * elf/unload8.c: New file.
45638 * elf/unload8mod1.c: New file.
45639 * elf/unload8mod1x.c: New file.
45640 * elf/unload8mod2.c: New file.
45641 * elf/unload8mod3.c: New file.
45643 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45646 2011-08-23 David S. Miller <davem@davemloft.net>
45648 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45649 subtract stack bias.
45650 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45651 %sp not %fp in calculations.
45652 (_JMPBUF_UNWINDS_ADJ): Likewise.
45654 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45655 (aio_suspend): Call it to force an exception region around the
45656 AIO_MISC_WAIT() invocation.
45658 2011-08-23 Andreas Schwab <schwab@redhat.com>
45660 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45663 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45665 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45667 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45668 and <dl-machine.h>.
45669 (Elf64_FuncDesc): Remove.
45671 2011-08-22 David S. Miller <davem@davemloft.net>
45673 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45674 sigaltstack check, add missing cfi directives.
45675 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45676 missing cfi directives, and sigaltstack handling.
45678 2011-08-16 Andreas Schwab <schwab@redhat.com>
45681 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45682 object is seen twice.
45683 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45685 * elf/Makefile (distribute): Add tst-initorder2.c.
45686 (tests): Add tst-initorder2.
45687 (modules-names): Add tst-initorder2a tst-initorder2b
45688 tst-initorder2c tst-initorder2d. Add rules to build them.
45689 ($(objpfx)tst-initorder2.out): New rule.
45690 * elf/tst-initorder2.c: New file.
45691 * elf/tst-initorder2.exp: New file.
45693 2011-08-22 Andreas Schwab <schwab@redhat.com>
45695 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45697 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45698 dependencies back to end of function.
45700 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45701 $(elfobjdir)/ld.so.
45703 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45706 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45708 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45709 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45710 of __vdso_gettimeofday.
45711 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45712 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45714 (_libc_vdso_platform_setup): Remove initialization of
45715 __vdso_gettimeofday and __vdso_time.
45717 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45719 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45720 and fgetc_unlocked.
45721 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45724 * elf/dl-open.c (add_to_global): Report additions to the global scope
45725 for LD_DEBUG=scopes.
45726 (dl_open_worker): Also print scope of newly loaded dependencies.
45727 (_dl_show_scope): Indicate if there is no scope.
45730 * stdio-common/Makefile (tests): Add bug24.
45731 * stdio-common/bug24.c: New file.
45733 2011-08-19 Andreas Jaeger <aj@suse.de>
45736 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45737 non-existant file when using close-on-exec mode.
45739 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45742 the very first instruction.
45744 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45745 the CFI state in the end.
45746 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45747 inclusion of dl-trampoline.h.
45748 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45750 2011-08-19 Andreas Schwab <schwab@redhat.com>
45752 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45753 expectations for long double.
45755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45756 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45758 2011-08-14 David S. Miller <davem@davemloft.net>
45760 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45761 artificual limit depends upon the system page size.
45763 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45765 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45766 * resolv/Makefile: Define CFLAGS-libresolv.
45768 2011-08-17 Andreas Schwab <schwab@redhat.com>
45770 * nss/makedb.c (compute_tables): Make variables used in nested
45773 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45775 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45776 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45777 if buffer was too small.
45779 * elf/pldd.c (main): Attach to all threads in the process.
45780 Rewrite /proc handling to use *at functions.
45782 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45784 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45785 specifies first scope to show.
45786 (dl_open_worker): Update callers. Move printing scope of new
45787 object to before the relocation.
45788 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45789 * sysdeps/generic/ldsodefs.h: Update declaration.
45791 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45792 string for the scope number.
45794 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45796 * nscd/servicescache.c (cache_addserv): Make sure written is always
45799 2011-08-14 Roland McGrath <roland@hack.frob.com>
45801 * sysdeps/i386/i486/bits/atomic.h
45802 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45803 statement expression, so as to suppress "set but not used" warning.
45804 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45806 * string/strncat.c (STRNCAT): Use prototype definition.
45808 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45809 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45811 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45812 (localedef-modules): Add localedef.
45813 (locale-modules): Add locale.
45815 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45816 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45817 to avoid a warning.
45819 2011-08-14 David S. Miller <davem@davemloft.net>
45821 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45822 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45824 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45826 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45827 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45828 * elf/rtld.c (dl_main): Set l_name of vDSO.
45829 Call _dl_show_scope when DL_DEBUG_SCOPES.
45830 (process_dl_debug): Recognize scopes flag and also set it for all.
45831 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45832 Declare _dl_show_scope.
45834 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45835 (do_dlopen): Pass caller_dlopen to dl_open.
45836 (__libc_dlopen_mode): Initialize caller_dlopen.
45838 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45839 of libc. Make tolower call locale-independent. Optimize a bit by
45840 using isdigit instead of isalnum.
45841 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45843 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45845 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45846 was a dependency or dynamically loaded.
45848 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45850 * intl/l10nflist.c: Allow architecture-specific pop function.
45851 * sysdeps/x86_64/l10nflist.c: New file.
45853 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45856 2011-08-10 Andreas Schwab <schwab@redhat.com>
45858 * include/dirent.h: Add libc_hidden_proto for scandirat and
45859 scandirat64. Don't declare __scandirat64.
45860 * dirent/scandirat.c: Add libc_hidden_def.
45861 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45862 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45864 2011-08-10 David S. Miller <davem@davemloft.net>
45866 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45868 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45870 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45872 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45874 * Versions.def [libc]: Add GLIBC_2.15.
45875 * dirent/Makefile (routines): Add scandirat and scandirat64.
45876 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45878 * dirent/dirent.h: Declare scandirat and scandirat64.
45879 * dirent/scandirat.c: New file.
45880 * dirent/scandirat64.c: New file.
45881 * sysdeps/wordsize-64/scandirat.c: New file.
45882 * sysdeps/wordsize-64/scandirat64.c: New file.
45883 * dirent/opendir.c: Define opendirat.
45884 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45886 * dirent/scandir64.c: Adjust for scandir.c change.
45887 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45888 __scandirat64, and __scandir_cancel_handler.
45889 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45890 additional parameter and use openat instead of open (outside of ld.so).
45891 Add new __opendir as wrapper around __opendirat.
45892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45893 here without requiring old scandirat implementation.
45895 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45897 * dirent/scandir.c (cancel_handler): Renamed to
45898 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45899 defined. Adjust users.
45900 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45901 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45903 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45905 * string/test-string.h (IMPL): Use __STRING to expand name and then
45908 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45911 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45913 * string/Makefile: Update.
45914 (strop-tests): Append strncat.
45915 * string/test-wcscmp.c: New file.
45916 New comprehensive test for wcscmp.
45917 * string/test-strcmp.c: Update.
45918 (WIDE): New define.
45920 2011-07-22 Andreas Schwab <schwab@redhat.com>
45922 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45925 2011-07-26 Andreas Schwab <schwab@redhat.com>
45927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45928 encoding to ACE if AI_IDN.
45930 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45933 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45935 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45937 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45938 Fix overflow bug in strncat.
45939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45941 * string/test-strncat.c: Update.
45942 Add new tests for checking overflow bugs.
45944 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45947 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45948 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45949 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45951 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45952 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45953 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45954 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45957 (USE_AS_STRCAT): Define.
45958 Add strcat and strncat support.
45959 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45961 2011-07-25 Andreas Schwab <schwab@redhat.com>
45963 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45964 __n bigger than INT_MAX+1.
45965 (__strncmp_g): Likewise.
45967 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45969 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45970 * libio/stido.h: Likewise.
45972 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45977 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45980 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45984 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45989 (_dl_x86_64_save_sse): Likewise.
45991 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45993 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45995 (_dl_x86_64_save_sse): Likewise.
45997 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45999 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46001 2011-07-21 Andreas Schwab <schwab@redhat.com>
46003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46005 (_dl_x86_64_save_sse): Use correct AVX check.
46007 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46010 bug in strncpy/strncat.
46011 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46013 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46015 * string/tester.c (test_strcat): Add tests for different alignments
46016 of source and destination.
46017 (test_strncat): Likewise.
46019 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46022 * posix/glob.c (glob): Check passed in values before using them in
46023 expressions to avoid some overflows.
46024 (glob_in_dir): Likewise.
46027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46028 check for AVX enablement so that we don't crash with old kernels and
46030 * elf/tst-audit4.c: Add same checks here.
46031 * elf/tst-audit6.c: Likewise.
46033 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46035 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46037 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46039 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46041 * po/cs.po: Update from translation team.
46042 * po/bg.po: Likewise.
46044 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46046 * misc/sys/cdefs.h: Add support for const attribute.
46047 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46048 to gnu_dev_{major,minor,makedev} functions.
46050 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46052 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46054 2011-07-20 Andreas Schwab <schwab@redhat.com>
46056 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46059 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46062 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46063 register in order to avoid conflicts with the soft frame pointer
46064 being held in r11 when necessary.
46065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46066 (INTERNAL_VSYSCALL_NCS): Likewise.
46068 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46070 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46071 * elf/dl-fini.c (_dl_fini): Adjust caller.
46072 * elf/dl-close.c (_dl_close_worker): Likewise.
46073 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46075 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46077 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46078 "aux_cache->nlibs < 0".
46080 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46081 in the reload-count case.
46083 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46086 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46087 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46088 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46089 * sysdeps/x86_64/multiarch/strcat.S: New file.
46090 * sysdeps/x86_64/multiarch/strncat.S: New file.
46091 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46092 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46093 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46094 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46096 (USE_AS_STRCAT): Define.
46097 Add strcat and strncat support.
46098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46100 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46101 * string/strncat.c: Update.
46102 (USE_AS_STRNCAT): Define.
46103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46104 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46106 * sysdeps/x86_64/multiarch/init-arch.h
46107 (bit_Prefer_PMINUB_for_stringop): New.
46108 (index_Prefer_PMINUB_for_stringop): Likewise.
46109 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46110 bit_Prefer_PMINUB_for_stringop.
46112 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46114 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46116 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46117 of casting of buffer.
46118 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46119 buffer32 and buffer64.
46120 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46121 writes instead of casting of buffer.
46122 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46124 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46127 2011-07-19 Andreas Schwab <schwab@redhat.com>
46129 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46131 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46133 * nscd/nscd.c (termination_handler): Don't do anything for a database
46134 if it has not yet been initialized.
46136 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46138 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46140 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46142 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46144 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46146 * po/nl.po: Update from translation team.
46147 * po/sv.po: Likewise.
46149 2011-07-16 Roland McGrath <roland@hack.frob.com>
46151 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46152 now disallowed by GCC.
46154 * configure.in (use-default-link): Default to yes if a test -shared
46155 link meets our qualifications.
46156 * configure: Regenerated.
46158 * config.make.in (output-format): New variable.
46159 * configure.in: Check for ld --print-output-format support.
46160 * configure: Regenerated.
46161 * Makerules ($(common-objpfx)format.lds)
46162 [$(output-format) != unknown]: Just use $(output-format),
46163 instead of the linker-script munging.
46165 2011-07-14 Roland McGrath <roland@hack.frob.com>
46167 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46168 of $(common-objpfx)shlib.lds.
46169 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46171 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46172 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46174 * configure.in (-z relro check): Adjust test code to add a large
46175 writable data section after it.
46176 * configure: Regenerated.
46178 2011-07-11 Roland McGrath <roland@hack.frob.com>
46180 * configure.in (-z relro check): Fix test code to make the variable
46182 * configure: Regenerated.
46184 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46186 * nscd/nscd.h (struct traced_file): Define.
46187 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46188 elements. Add traced_files.
46189 (inotify_fd): Declare.
46190 (register_traced_file): Declare.
46191 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46192 (inotify_fd): Export.
46193 (resolv_conf_descr): Remove.
46194 (nscd_init): Move inotify descriptor creation to main.
46195 Don't register files for notification here.
46196 (register_traced_file): New function.
46197 (invalidate_cache): Don't use reset_res to determine whether to call
46198 res_init, go through the list of registered files.
46199 (main_loop_poll): The inotify descriptors are now stored in the
46200 structures for the traced files.
46201 (main_loop_epoll): Likewise
46202 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46203 to __nss_disable_nscd.
46204 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46205 for a database anymore. Check the records for all the registered
46207 * nss/Makefile (libnss_files-routines): Add files-init.
46208 (libnss_db-routines): Add db-init.
46209 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46210 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46211 * nss/nss_db/db-init.c: New file.
46212 * nss/nss_files/files-init.c: New file.
46213 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46214 __nss_lookup_function.
46215 (__nss_lookup_function): Call nss_load_library.
46216 (nss_load_all_libraries): New function.
46217 (__nss_disable_nscd): Take parameter with callback function for files
46218 to register. Set is_nscd. Load all the DSOs for the NSS modules
46219 used for the cached services.
46220 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46221 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46222 options for features to all the files in nscd.
46224 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46226 2011-07-10 Roland McGrath <roland@hack.frob.com>
46228 * csu/elf-init.c (__libc_csu_init): Comment typo.
46230 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46232 * po/pl.po: Update from translation team.
46233 * po/ja.po: Likewise.
46234 * po/ru.po: Likewise.
46235 * po/ko.po: Likewise.
46236 * po/fr.po: Likewise.
46238 2011-07-09 Roland McGrath <roland@hack.frob.com>
46240 * configure.in (.ctors/.dtors header and trailer check):
46241 Use an empirical test on a built program.
46242 * configure: Regenerated.
46244 * configure.in (-z relro check): Use an empirical test on a built DSO.
46245 Detect, but do not require, on ia64.
46246 * configure: Regenerated.
46248 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46249 Update tests that use readelf to use $READELF instead.
46250 * configure: Regenerated.
46252 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46254 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46255 if the result is not used.
46257 2011-07-05 Andreas Jaeger <aj@suse.de>
46260 * stdlib/tst-strtod.c: Add testcase.
46262 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46264 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46265 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46266 The latter has a higher limit. Take additional parameter to pass to
46268 (__pathconf): Pass file to __statfs_link_max.
46269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46271 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46275 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46276 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46278 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46279 (__statfs_filesize_max): Likewise.
46280 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46282 2011-07-05 Andreas Jaeger <aj@suse.de>
46284 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46286 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46288 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46290 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46293 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46295 * Makefile (strop-tests): Add strncat.
46296 * string/test-strncat.c: New file.
46298 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46300 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46302 2011-06-21 Andreas Jaeger <aj@suse.de>
46304 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46305 Copy rule from iconvdata/Makefile.
46307 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46310 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46311 but no long options are defined, just return 'W'.
46313 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46316 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46318 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46320 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46322 (innetgr): Likewise.
46324 2011-07-05 Roland McGrath <roland@hack.frob.com>
46326 * config.make.in (install_root): Default to $(DESTDIR).
46328 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46330 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46332 2011-07-02 Roland McGrath <roland@hack.frob.com>
46334 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46336 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46337 containing directory rather than embedding absolute directory names.
46339 * scripts/check-local-headers.sh: Rewritten using awk.
46340 Match by word, not by line. Print error messages for matches.
46341 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46343 * Makerules [shlib-lds-flags empty]:
46344 ($(common-objpfx)libc_pic.opts): New target.
46345 ($(common-objpfx)libc_pic.os.clean): New target.
46346 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46348 * config.make.in (OBJCOPY): New variable.
46349 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46350 * configure: Regenerated.
46352 * config.make.in (use-default-link): New variable.
46353 * configure.in (use_default_link): Grok --with-default-link to set it.
46354 * configure: Regenerated.
46355 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46356 (shlib-lds, shlib-lds-flags): Define to empty.
46358 * Makerules (shlib-lds): New variable.
46359 (shlib-lds-flags): New variable.
46360 (build-shlib, build-moduile, build-module-asneeded): Use it.
46361 ($(common-objpfx)libc.so): Use $(shlib-lds).
46362 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46363 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46365 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46366 DT_FLAGS/DT_FLAGS_1 with zero flags.
46368 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46369 linker script munging.
46371 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46373 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46375 * crypt/sha512.c (sha512_process_block): Perform total addition using
46376 128-bit if possible.
46377 (__sha512_finish_ctx): Likewise.
46378 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46380 * crypt/sha256.c (SWAP64): Define.
46381 (sha256_process_block): Perform total addition using 64-bit if
46383 (__sha256_finish_ctx): Likewise.
46385 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46387 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46389 * nscd/hstcache.c (cache_addhst): Likewise.
46390 * nscd/grpcache.c (cache_addgr): Likewise.
46391 * nscd/aicache.c (addhstaiX): Likewise
46392 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46394 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46396 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46398 * nscd/hstcache.c (cache_addhst): Likewise.
46399 * nscd/grpcache.c (cache_addgr): Likewise.
46400 * nscd/aicache.c (addhstaiX): Likewise
46402 2011-07-01 Andreas Schwab <schwab@redhat.com>
46404 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46405 domain only when needed.
46407 2011-06-30 Andreas Schwab <schwab@redhat.com>
46409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46410 is always restored.
46412 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46414 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46415 are re-adding the entry.
46416 * nscd/servicescache.c (cache_addserv): Likewise.
46418 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46420 * sysdeps/generic/dl-irel.h: fix protection against multiple
46422 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46424 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46427 * malloc/memusage.sh: Fix quoting in message.
46428 * debug/xtrace.sh: Likewise.
46430 * configure.in: Remove support for --experimental-malloc option, make
46432 * config.make.in: Likewise.
46433 * malloc/Makefile: Likewise.
46435 2011-06-27 Andreas Schwab <schwab@redhat.com>
46437 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46438 two-byte characters.
46440 2011-06-27 Roland McGrath <roland@hack.frob.com>
46442 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46443 AC_CACHE_CHECK invocation.
46444 * configure: Regenerated.
46446 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46448 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46451 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46452 bit from old_res_options.
46454 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46456 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46457 value type for setfct.
46459 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46462 __gettimeofday instead of gettimeofday.
46464 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46466 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46468 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46470 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46475 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46478 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46479 strcpy-sse2-unaligned strncpy-sse2-unaligned
46480 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46481 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46482 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46483 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46484 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46485 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46487 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46488 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46489 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46490 (STRCPY): Support SSE2 and SSSE3 versions.
46492 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46495 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46496 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46497 kernels which artificially limit size of requests.
46499 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46502 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46503 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46504 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46505 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46506 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46507 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46508 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46511 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46512 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46513 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46514 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46515 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46517 Enable unaligned load optimization for Intel Core i3, i5 and i7
46519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46521 (index_Fast_Unaligned_Load): Define.
46522 (HAS_FAST_UNALIGNED_LOAD): Define.
46524 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46526 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46528 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46532 until it is clear that the information is realy needed.
46533 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46535 2011-06-22 Andreas Schwab <schwab@redhat.com>
46537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46539 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46542 /sys/devices/system/cpu/online if it is usable.
46544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46545 reading the information from the /proc filesystem to once a second.
46547 2011-06-21 Andreas Jaeger <aj@suse.de>
46549 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46550 NULL after inclusion of kernel headers.
46552 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46554 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46555 calls to internal_setent.
46558 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46559 addresses using gethostbyname4_r ignore IPv4 addresses.
46561 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46562 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46564 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46566 2011-06-20 David S. Miller <davem@davemloft.net>
46568 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46570 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46572 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46573 (elf_irel): Use it.
46574 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46575 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46576 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46577 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46578 * sysdeps/x86_64/dl-irel.h: Likewise.
46580 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46581 * elf/dl-sym.c: Likewise.
46583 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46585 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46586 need to dereference resplen2.
46588 2011-06-14 Andreas Schwab <schwab@redhat.com>
46590 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46592 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46594 * Makeconfig: Define vardbdir and inst_vardbdir.
46595 * nss/Makefile: Add rules to install db-Makefile.
46597 * nss/nss_db/db-XXX.c: Cleanup.
46599 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46600 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46602 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46603 * nss/makedb.c: Implement -g option to specify that value strings
46604 are generated and should not be added to table iterated over for
46606 * nss/nss_db/db-initgroups.c: New file.
46608 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46611 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46612 (internal_getgrouplist): Adjust to name change.
46613 Update use_initgroups_entry if this is not the first call.
46614 * nss/databases.def: Add initgroups entry.
46616 * nss/makedb.c (compute_tables): Check result of multiple hash table
46617 sizes to minimize maximum chain length.
46619 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46621 * Versions.def: Add entry for libnss_db.
46622 * shlib-versions: Likewise.
46623 * nss/Makefile: Add rules to build libnss_db.
46624 * nss/Versions: Add libnss_db information. Organize libnss_files
46626 * nss/db-Makefile: Add gshadow support. Change rules for the new
46627 makedb progra. Some minor improvements to generate smaller files.
46628 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46630 * nss/makedb.c: ...here.
46631 Improve database format to be smaller and require less memory at
46633 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46635 * nss/nss_db/db-netgrp.c: Likewise.
46636 * nss/nss_db/db-open.c: Likewise.
46637 * nss/nss_files/flies-XXX.x: Adjust comments.
46638 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46639 * nss/nss_files/files-grp.c: Likewise.
46640 * nss/nss_files/files-hosts.c: Likewise.
46641 * nss/nss_files/files-network.c: Likewise.
46642 * nss/nss_files/files-proto.c: Likewise.
46643 * nss/nss_files/files-pwd.c: Likewise.
46644 * nss/nss_files/files-rpc.c: Likewise.
46645 * nss/nss_files/files-service.c: Likewise.
46646 * nss/nss_files/files-sgrp.c: Likewise.
46647 * nss/nss_files/files-spwd.c: Likewise.
46648 * nss/nss_db/db-alias.c: Removed.
46649 * nss/nss_db/dummy-db.h: Removed.
46651 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46653 * nss/makedb.c: Rewritten to not use database library.
46654 * nss/Makefile: Update to build new makedb program.
46656 2011-06-14 Andreas Jaeger <aj@suse.de>
46658 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46659 memset declaration.
46661 2011-06-10 Andreas Schwab <schwab@redhat.com>
46663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46666 2011-06-10 Roland McGrath <roland@hack.frob.com>
46668 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46669 * elf/Makefile ($(objpfx)ld.so): Likewise.
46671 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46672 Don't list ld.so twice in dependencies.
46674 * posix/bug-regex31.c: Include <stdlib.h>.
46676 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46678 * nis/nss_compat/compat-spwd.c
46679 (getspent_next_nss_netgr): Remove unused variable.
46680 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46682 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46683 nonmembers" output to use the right array.
46685 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46687 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46689 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46690 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46691 * catgets/gencat.c (read_input_file): Likewise.
46692 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46694 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46695 variable definition inside #if's controlling its use.
46697 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46699 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46701 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46703 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46706 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46708 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46709 * configure: Regenerated.
46711 * Makerules: Revert last change.
46712 * elf/Makefile: Likewise.
46714 2011-06-09 Roland McGrath <roland@hack.frob.com>
46716 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46717 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46718 (reloc-link): Likewise.
46720 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46722 * elf/Makefile: Add rules to build pldd.
46723 * elf/pldd.c: New file.
46724 * elf/pldd-xx.c: New file.
46726 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46728 * version.h: Update for 2.15 development version.
46730 2011-06-07 David S. Miller <davem@davemloft.net>
46732 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46735 elf_machine_lazy_rel): Likewise.
46736 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46738 elf_machine_lazy_rel): Likewise.
46739 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46740 dl_hwcap via passed in argument.
46741 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46744 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46746 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46748 2011-06-06 Roland McGrath <roland@hack.frob.com>
46751 * manual/fdl-1.1.texi: New file, verbatim from:
46752 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46753 * manual/lgpl-2.1.texi: New file, verbatim from:
46754 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46755 * manual/Makefile (licenses): New variable, list those new file names.
46757 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46759 * manual/fdl.texi: File removed.
46760 * manual/lesser.texi: File removed.
46761 * manual/libc.texinfo (Copying, Documentation License):
46762 Use new @include file names, put @appendix directive before @include.
46764 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46767 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46768 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46769 (mq_open): Add __NTH.
46771 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46774 Assume Intel Core i3/i5/i7 processor if AVX is available.
46776 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46781 2011-05-31 Andreas Schwab <schwab@redhat.com>
46783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46784 memory. Use alloca_account. Fix memory leak when retrying.
46786 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46788 * version.h (RELEASE): Bump for 2.14 release.
46789 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46791 * config.make.in (RANLIB): Remove entry.
46793 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46795 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46796 (libc.pot): Work around missing support for .ksh extension in xgettext.
46799 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46800 if both request failed.
46801 (send_dg): In case of server errors clear resplen or *resplen2.
46804 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46805 when there are multiple maps.
46806 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46807 (_dl_fini): Remove test here.
46809 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46811 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46814 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46815 bit from old_res_options.
46816 (gaih_inet): Likewise.
46819 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46822 * resolv/res_init.c (res_setoptions): Make the code more compact.
46825 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46829 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46831 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46834 * malloc/malloc.h: Declare malloc hook variables as volatile.
46836 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46840 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46841 raise in the comment.
46842 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46844 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46846 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46849 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46850 grow the buffers more if it already has to be sufficient.
46851 (build_wcs_upper_buffer): Likewise.
46852 * posix/regexec.c (check_matching): Likewise.
46853 (clean_state_log_if_needed): Likewise.
46854 (extend_buffers): Don't enlarge buffers beyond size of the input
46856 Patches mostly by Emil Wojak <emil@wojak.eu>.
46857 * posix/bug-regex32.c: New file.
46858 * posix/Makefile (tests): Add bug-regex32.
46860 * locale/findlocale.c (_nl_find_locale): Return right away if
46861 _nl_explode_name failed.
46862 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46864 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46866 * debug/xtrace.sh: Unify messages.
46867 * malloc/memusage.sh: Likewise.
46870 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46871 time symbol from vDSO. Substitute with vsyscall if not available.
46872 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46875 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46876 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46877 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46878 Add sendmmsg and internal_sendmmsg.
46879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46880 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46881 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46883 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46884 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46885 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46887 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46890 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46891 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46893 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46897 * iconvdata/Makefile (tests): Add bug-iconv9.
46898 * iconvdata/bug-iconv9.c: New file.
46900 2011-05-27 Andreas Schwab <schwab@redhat.com>
46903 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46905 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46908 (struct user_regs_struct): Change intcs field back to cs.
46910 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46912 * po/ja.po: Update from translation team.
46914 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46917 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46918 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46920 2011-05-20 Andreas Schwab <schwab@redhat.com>
46922 * stdlib/longlong.h: Update from GCC.
46924 2011-05-23 Andreas Schwab <schwab@redhat.com>
46926 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46928 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46929 Add parameter name.
46930 (__sysconf): Pass it down.
46932 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46935 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46938 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46939 add in in __libc_use_alloca calls. Adjust callers.
46940 (glob): Use malloc in some situations.
46942 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46943 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46946 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46948 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46949 and CLOCK_BOOTTIME_ALARM.
46952 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46955 * string/_strerror.c (__strerror_r): Print negative errors as signed
46959 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46960 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46961 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46963 * configure.in: Fix typo in redirection and correct removal of test
46964 files in two cases.
46967 * locale/setlocale.c (new_composite_name): Fix test to check for
46968 identical name of all categories.
46971 * libio/filedoalloc.c (local_isatty): New function.
46972 (_IO_file_doallocate): Use local_isatty.
46973 * stdio-common/perror.c (perror): In case a new stream is used
46974 forward the stream error.
46975 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46978 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46983 * include/alloca.h (extend_alloca_account): Define.
46986 * posix/regex.h: Fix comments with documentation of user-accessible
46987 fields after compilation and describe correct free'ing of pattern
46988 after re_compile_pattern.
46989 Patch by Reuben Thomas <rrt@sc3d.org>.
46991 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46993 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46994 and -mno-altivec to prevent the compiler from using Altivec and/or
46995 VSX instructions when the corresponding registers are not available.
46997 2011-05-19 Andreas Schwab <schwab@redhat.com>
46999 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47001 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47003 * libio/freopen.c (freopen): Use __dup2, not dup2.
47004 * libio/freopen64.c (freopen64): Likewise.
47006 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47009 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47010 * math/Makefile (tests): Add test-powl.
47011 (CFLAGS-test-powl.c): Define.
47012 * math/test-powl.c: New file.
47014 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47016 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47018 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47021 * iconvdata/gb18030.c: Update to GB18020-2005.
47023 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47025 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47026 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47027 Patch by Aharon Robbins <arnold@skeeve.com>.
47030 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47034 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47035 through underflows.
47038 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47039 point to strings before performing equality test for error_one_per_line
47043 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47047 (struct user_fpregs_struct): Avoid __uint*_t types.
47050 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47051 symbol info. Use it instead of calling _dl_addr locally.
47052 (lock_and_info): New function.
47053 (tr_freehook): Call lock_and_info and pass symbol info as additional
47054 parameter to tr_where.
47055 (tr_mallochook): Likewise.
47056 (tr_reallochook): Likewise.
47057 (tr_memalignhook): Likewise.
47059 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47060 used and couldn't be at all thread-safe.
47062 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47064 * libio/freopen.c (freopen): Don't close old file descriptor
47065 before the new one is opened. Instead dup the new file descriptor
47066 to the old one after the new stream is created.
47067 * libio/freopen64.c (freopen64): Likewise.
47068 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47069 * libio/fileops.c (_IO_new_file_close_it): Handle new
47070 _IO_FLAGS2_NOCLOSE flag.
47071 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47072 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47073 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47074 _IO_FLAGS2_NOCLOSE flag.
47075 * include/unistd.h: Add hidden_proto for dup3.
47076 Define __have_dup3.
47077 * io/dup3.c: Define hidden symbol.
47078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47081 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47082 when an incomplete long option is used.
47083 * posix/tst-getopt_long1.c: New file.
47084 * posix/Makefile (tests): Add tst-getopt_long1.
47087 * scripts/config.guess: Update from autoconf-2.68.
47088 * scripts/config.sub: Likewise.
47091 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47093 (has_cpuclock): ...this. New function.
47094 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47095 macro here based on has_cpuclock code.
47098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47099 First byte (not low byte) is now always NUL.
47100 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47103 Use non-cancelable interfaces.
47106 * locale/iso-639.def: Add entry for Sorani.
47109 * include/stdlib.h: Move include protection to the right place.
47110 Define abort_msg_s. Declare __abort_msg with it.
47111 * stdlib/abort.c (__abort_msg): Adjust type.
47112 * assert/assert.c (__assert_fail_base): New function. Majority
47113 of code from __assert_fail. Allocate memory for __abort_msg with
47115 (__assert_fail): Now call __assert_fail_base.
47116 * assert/assert-perr.c: Remove bulk of implementation. Use
47117 __assert_fail_base.
47118 * include/assert.hL Declare __assert_fail_base.
47119 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47121 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47123 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47127 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47128 until all modules are registered in the DTV.
47129 * elf/Makefile: Add rules to build and run tst-tls19.
47130 * elf/tst-tls19.c: New file.
47131 * elf/tst-tls19mod1.c: New file.
47132 * elf/tst-tls19mod2.c: New file.
47133 * elf/tst-tls19mod3.c: New file.
47134 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47137 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47141 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47142 two-byte sequence errors.
47143 * iconvdata/Makefile (tests): Add bug-iconv8.
47144 * iconvdata/bug-iconv8.c: New file.
47147 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47150 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47153 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47154 (dummy_getcfa): New function.
47155 (init): Get _Unwind_GetCFA address, use dummy if not found.
47156 (backtrace_helper): In recursion check, also check whether CFA changes.
47157 (__backtrace): Completely initialize arg.
47159 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47160 storing incomplete byte sequence in state object. Avoid testing for
47161 guaranteed too small input if we know there is enough data available.
47163 2011-05-11 Andreas Schwab <schwab@redhat.com>
47165 * Makeconfig (+link-pie): Indent.
47166 * Rules (binaries-pie): Define if $(have-fpie) and
47168 (binaries-shared): Also filter out $(binaries-pie).
47169 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47170 * nscd/Makefile (others-pie): Add nscd.
47171 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47172 ($(objpfx)nscd): Remove command override.
47173 * login/Makefile (others-pie): Add pt_chown.
47174 ($(objpfx)pt_chown): Remove command override.
47175 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47176 remove command overrides.
47178 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47180 * libio/tst_putwc.c: Fix error messages.
47183 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47184 currently writing and seek to current position when not.
47185 * libio/Makefile (tests): Add bug-fclose1.
47186 * libio/bug-fclose1.c: New file.
47188 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47191 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47192 don't set DF_1_NODELETE here.
47193 (do_lookup_x): When entering new entry test for copy relocation
47194 and if necessary set DF_1_NODELETE flag.
47195 * elf/tst-unique4.cc: New file.
47196 * elf/tst-unique4.h: New file.
47197 * elf/tst-unique4lib.cc: New file.
47198 * elf/Makefile: Add rules to build and run tst-unique4.
47199 Patch by Piotr Bury <pbury@goahead.com>.
47201 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47204 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47207 * misc/mntent_r.c (addmntent): Flush the stream after the output
47210 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47211 (is_trusted_path_normalize): Skip initial colon. Append slash
47212 to empty buffer. Duplicate is_trusted_path code but allow
47213 constructed patch to be prefix.
47214 (is_dst): Allow $ORIGIN followed by /.
47215 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47216 Correct testing of result of is_trusted_path_normalize
47217 (decompose_rpath): Fix warning.
47219 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47222 * grp/initgroups.c (internal_getgrouplist): When we found the service
47223 list through the initgroups entry in nsswitch.conf do not always
47224 continue on a successful lookup. Don't always use the
47225 __nss_group_database value if it is set.
47226 * nss/nsswitch.conf (initgroups): Change action for successful db
47227 lookup to continue for compatibility.
47229 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47232 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47234 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47236 * iconvdata/tst-tables.sh: Likewise.
47237 * iconvdata/cp770.c: New file.
47238 * iconvdata/cp771.c: New file.
47239 * iconvdata/cp772.c: New file.
47240 * iconvdata/cp773.c: New file.
47241 * iconvdata/cp774.c: New file.
47242 * iconvdata/testdata/CP770: New file.
47243 * iconvdata/testdata/CP770..UTF8: New file.
47244 * iconvdata/testdata/CP771: New file.
47245 * iconvdata/testdata/CP771..UTF8: New file.
47246 * iconvdata/testdata/CP772: New file.
47247 * iconvdata/testdata/CP772..UTF8: New file.
47248 * iconvdata/testdata/CP773: New file.
47249 * iconvdata/testdata/CP773..UTF8: New file.
47250 * iconvdata/testdata/CP774: New file.
47251 * iconvdata/testdata/CP774..UTF8: New file.
47253 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47255 * iconvdata/gen-8bit-gap.sh: Likewise.
47256 * iconvdata/gen-8bit.sh: Likewise.
47258 * locale/iso-639.def: Add ary entry.
47261 * locale/C-translit.h.in: Add U20A1 transliteration.
47264 * locale/iso-639.def: Add wae entry.
47265 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47268 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47272 * locale/C-translit.h.in: Add entry for U20B9.
47273 Patch by pravin.d.s@gmail.com.
47275 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47278 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47279 ENAMETOOLONG use generic getcwd.
47280 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47281 in rtld. Use *stat64.
47282 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47283 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47284 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47285 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47286 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47287 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47288 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47289 __fstatat64 macros.
47290 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47291 * dirent/rewinddir.c: Add libc_hidden_def.
47292 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47293 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47295 * include/dirent.h (__alloc_dir): Add flags parameter.
47296 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47297 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47299 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47300 from fdopendir if O_CLOEXEC is already set.
47302 2011-03-15 Alan Modra <amodra@gmail.com>
47304 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47305 l_tls_firstbyte_offset non-zero. Save padding offset in
47306 l_tls_firstbyte_offset for later use.
47307 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47308 freeing static tls block.
47310 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47312 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47313 where #ifdef was intended. The intent is to prevent ARG_MAX from
47314 being defined by the kernel headers.
47316 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47319 * resolv/resolv.h: Define RES_NOTLDQUERY.
47320 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47321 no-tld-query and set RES_NOTLDQUERY.
47322 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47323 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47324 modern BIND to search name as TLD unless forbidden.
47326 2011-05-07 Petr Baudis <pasky@suse.cz>
47327 Ulrich Drepper <drepper@gmail.com>
47330 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47331 (is_trusted_path): ...to here.
47332 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47333 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47334 using is_trusted_path_normalize() in setuid scripts.
47336 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47338 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47339 __BEGIN/__END_DECLS.
47341 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47344 NSS_STATUS_NOTFOUND if no record was found.
47346 2011-05-05 Andreas Schwab <schwab@redhat.com>
47348 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47349 (headers-not-in-tirpc): Remove rpc/netdb.h
47350 * resolv/netdb.h: Revert last change.
47352 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47354 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47355 circular dependency between libgcc.a and libc.a.
47357 2011-05-05 Andreas Schwab <schwab@redhat.com>
47359 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47360 * nis/Makefile: Don't install rpcsvc/*.
47361 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47362 instead of <rpc/types.h>.
47363 (MAXHOSTNAMELEN): Define.
47365 2011-05-03 Andreas Schwab <schwab@redhat.com>
47367 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47369 2011-04-28 Maciej Babinski <mbabinski@google.com>
47372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47373 gethostbyname4_r when IPv6 results are possible.
47375 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47378 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47379 _PC_PIPE_BUF handling.
47381 2011-04-30 Bruno Haible <bruno@clisp.org>
47384 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47385 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47387 * inet/getnameinfo.c (getnameinfo): Likewise.
47389 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47391 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47392 to groups setting in database lookup.
47393 * nss/nsswitch.conf: Add initgroups entry.
47395 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47398 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47400 Patch by Eric Blake <eblake@redhat.com>.
47402 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47404 * sunrpc/Makefile (need-export-routines): Add svc_run.
47405 (routines): Remove svc_run.
47406 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47407 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47408 * sunrpc/svc_run.c (svc_run): Likewise.
47409 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47411 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47414 problem in reallocation in last patch.
47416 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47418 * sunrpc/Makefile: Move inclusion of Rules.
47420 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47422 * nss/nss_files/files-initgroups.c: New file.
47423 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47424 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47425 _nss_files_initgroups_dyn.
47427 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47429 * elf/elf.h (R_ARM_IRELATIVE): Define.
47431 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47433 * po/ru.po: Update from translation team.
47435 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47437 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47440 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47443 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47444 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47446 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47447 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47449 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47451 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47457 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47460 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47462 * stdlib/bug-getcontext.c: New file.
47463 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47465 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47467 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47468 instructions into .machine "z9-109".
47469 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47470 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47472 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47474 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47475 between environment variables and auxiliary vector.
47477 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47479 * Makefile: Add rules to build linkobj/libc.so.
47480 * include/libc-symbols.h: Define libc_hidden_nolink.
47481 * include/rpc/auth.h: Mark functions which are to be hidden.
47482 * include/rpc/auth_des.h: Likewise.
47483 * include/rpc/auth_unix.h: Likewise.
47484 * include/rpc/clnt.h: Likewise.
47485 * include/rpc/des_crypt.h: Likewise.
47486 * include/rpc/key_prot.h: Likewise.
47487 * include/rpc/pmap_clnt.h: Likewise.
47488 * include/rpc/pmap_prot.h: Likewise.
47489 * include/rpc/pmap_rmt.h: Likewise.
47490 * include/rpc/rpc_msg.h: Likewise.
47491 * include/rpc/svc.h: Likewise.
47492 * include/rpc/svc_auth.h: Likewise.
47493 * include/rpc/xdr.h: Likewise.
47494 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47495 * nss/Makefile: Likewise.
47496 * sunrpc/Makefile: Don't install headers. Build library with normal
47497 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47498 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47499 for the compat linking library. Remove use of INTDEF/INTUSE.
47500 * sunrpc/auth_none.c: Likewise.
47501 * sunrpc/auth_unix.c: Likewise.
47502 * sunrpc/authdes_prot.c: Likewise.
47503 * sunrpc/authuxprot.c: Likewise.
47504 * sunrpc/clnt_gen.c: Likewise.
47505 * sunrpc/clnt_perr.c: Likewise.
47506 * sunrpc/clnt_raw.c: Likewise.
47507 * sunrpc/clnt_simp.c: Likewise.
47508 * sunrpc/clnt_tcp.c: Likewise.
47509 * sunrpc/clnt_udp.c: Likewise.
47510 * sunrpc/clnt_unix.c: Likewise.
47511 * sunrpc/des_crypt.c: Likewise.
47512 * sunrpc/des_soft.c: Likewise.
47513 * sunrpc/get_myaddr.c: Likewise.
47514 * sunrpc/key_call.c: Likewise.
47515 * sunrpc/key_prot.c: Likewise.
47516 * sunrpc/netname.c: Likewise.
47517 * sunrpc/pm_getmaps.c: Likewise.
47518 * sunrpc/pm_getport.c: Likewise.
47519 * sunrpc/pmap_clnt.c: Likewise.
47520 * sunrpc/pmap_prot.c: Likewise.
47521 * sunrpc/pmap_prot2.c: Likewise.
47522 * sunrpc/pmap_rmt.c: Likewise.
47523 * sunrpc/publickey.c: Likewise.
47524 * sunrpc/rpc_cmsg.c: Likewise.
47525 * sunrpc/rpc_common.c: Likewise.
47526 * sunrpc/rpc_dtable.c: Likewise.
47527 * sunrpc/rpc_prot.c: Likewise.
47528 * sunrpc/rpc_thread.c: Likewise.
47529 * sunrpc/rtime.c: Likewise.
47530 * sunrpc/svc.c: Likewise.
47531 * sunrpc/svc_auth.c: Likewise.
47532 * sunrpc/svc_authux.c: Likewise.
47533 * sunrpc/svc_raw.c: Likewise.
47534 * sunrpc/svc_run.c: Likewise.
47535 * sunrpc/svc_simple.c: Likewise.
47536 * sunrpc/svc_tcp.c: Likewise.
47537 * sunrpc/svc_udp.c: Likewise.
47538 * sunrpc/svc_unix.c: Likewise.
47539 * sunrpc/svcauth_des.c: Likewise.
47540 * sunrpc/xcrypt.c: Likewise.
47541 * sunrpc/xdr.c: Likewise.
47542 * sunrpc/xdr_array.c: Likewise.
47543 * sunrpc/xdr_float.c: Likewise.
47544 * sunrpc/xdr_intXX_t.c: Likewise.
47545 * sunrpc/xdr_mem.c: Likewise.
47546 * sunrpc/xdr_rec.c: Likewise.
47547 * sunrpc/xdr_ref.c: Likewise.
47548 * sunrpc/xdr_sizeof.c: Likewise.
47549 * sunrpc/xdr_stdio.c: Likewise.
47551 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47554 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47555 * sysdeps/ia64/dl-tls.h: Likewise.
47556 * sysdeps/powerpc/dl-tls.h: Likewise.
47557 * sysdeps/s390/dl-tls.h: Likewise.
47558 * sysdeps/sh/dl-tls.h: Likewise.
47559 * sysdeps/sparc/dl-tls.h: Likewise.
47560 * sysdeps/x86_64/dl-tls.h: Likewise.
47561 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47563 2011-03-14 Andreas Schwab <schwab@redhat.com>
47565 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47566 rpath element also skip the following colon.
47567 (expand_dynamic_string_token): Add is_path parameter and pass
47568 down to DL_DST_REQUIRED and _dl_dst_substitute.
47569 (decompose_rpath): Call expand_dynamic_string_token with
47570 non-zero is_path. Ignore empty rpaths.
47571 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47574 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47579 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47582 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47583 Patch by Filipe David Manana <fdmanana@apache.org>.
47585 2011-04-07 Andreas Schwab <schwab@redhat.com>
47587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47588 Maintain aligned stack.
47589 (CHECK_RSP): Remove unused macro.
47591 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47593 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47594 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47596 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47598 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47600 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47602 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47605 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47606 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47607 * sysdeps/x86_64/memmove.c: New file.
47608 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47609 (memcpy): Renamed to ...
47610 (__new_memcpy): This.
47611 (memcpy): Provide GLIBC_2_14 memcpy.
47612 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47613 (memcpy): Provide GLIBC_2_2_5 memcpy.
47615 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47618 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47620 2011-03-30 Andreas Schwab <schwab@redhat.com>
47622 * misc/syncfs.c: New file.
47623 * misc/Makefile (routines): Add syncfs.
47624 * posix/unistd.h: Declare syncfs.
47625 * sysdeps/unix/syscalls.list: Add syncfs.
47627 2011-04-01 Andreas Schwab <schwab@redhat.com>
47629 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47636 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47639 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47643 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47649 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47650 sync_file_range.c with -fexceptions.
47651 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47652 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47653 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47654 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47655 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47656 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47658 sync_file_range as cancellation point
47659 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47660 now a wrapper around __call_sync_file_range with cancellation handling.
47661 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47662 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47663 function name to __call_sync_file_range.
47664 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47665 Add call_sync_file_range.
47667 2011-04-01 Andreas Schwab <schwab@redhat.com>
47669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47674 * iconv/iconv.h: Fix typo in comment.
47675 * io/fcntl.h: Likewise.
47676 * libio/stdio.h: Likewise.
47677 * posix/spawn.h: Likewise.
47678 * posix/unistd.h: Likewise.
47679 * stdlib/stdlib.h: Likewise.
47680 * time/time.h: Likewise.
47681 * wcsmbs/wchar.h: Likewise.
47683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47684 open_by_handle): Add.
47685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47686 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47687 Augment a few comments.
47688 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47693 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47696 * io/fcntl.h (AT_EMPTY_PATH): Define.
47698 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47700 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47701 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47702 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47704 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47705 * Versions.def: Add GLIBC_2.14.
47706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47709 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47711 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47713 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47715 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47718 * string/test-strncmp.c (do_page_test): New function.
47719 (check2): Likewise.
47720 (test_main): Call check2.
47721 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47723 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47727 Handle cache information in CPU leaf 4.
47728 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47730 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47733 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47734 character representation.
47735 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47737 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47739 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47740 END(__isnan) to END(__isnanf) to match function entry point/label
47741 EALIGN(__isnanf,...).
47743 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47745 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47747 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47750 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47751 copy from the symbol referenced in the relocation to initialize the
47753 Patch by Piotr Bury <pbury@goahead.com>.
47754 * elf/Makefile: Add rules to build and tst-unique3.
47755 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47756 * elf/tst-unique3.cc: New file.
47757 * elf/tst-unique3.h: New file.
47758 * elf/tst-unique3lib.cc: New file.
47759 * elf/tst-unique3lib2.cc: New file.
47761 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47763 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47765 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47766 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47769 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47771 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47772 to-be-loaded object along a path to loader is ld.so.
47774 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47775 Ulrich Drepper <drepper@gmail.com>
47777 * sysdeps/x86_64/memset.S: After aligning destination, code
47778 branches to different locations depending on the value of
47779 misalignment, when multiarch is enabled. Fix this.
47781 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47783 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47784 Set _x86_64_preferred_memory_instruction for AMD processsors.
47785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47786 Set bit_Prefer_SSE_for_memop for AMD processors.
47788 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47790 * libio/fmemopen.c (fmemopen): Optimize a bit.
47792 2011-03-03 Andreas Schwab <schwab@redhat.com>
47794 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47796 2011-03-03 Roland McGrath <roland@redhat.com>
47798 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47800 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47802 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47803 __bzero_ultra1 instead of __memset_ultra1.
47805 2011-02-23 Andreas Schwab <schwab@redhat.com>
47806 Ulrich Drepper <drepper@gmail.com>
47809 * include/link.h (struct link_map): Add l_orig_initfini.
47810 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47811 returning unsuccessfully.
47812 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47813 close of a file loaded at startup, restore the original l_initfini
47815 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47816 list, store the pointer.
47817 * elf/Makefile ($(objpfx)noload-mem): New rule.
47818 (noload-ENV): Define.
47819 (tests): Add $(objpfx)noload-mem.
47820 * elf/noload.c: Include <memcheck.h>.
47821 (main): Call mtrace. Close all opened handles.
47823 2011-02-17 Andreas Schwab <schwab@redhat.com>
47826 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47827 dependencies are missing.
47829 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47831 Fix __if_freereq crash: Unlike the generic version which uses free,
47833 * sysdeps/mach/hurd/ifreq.h: New file.
47835 2011-01-27 Petr Baudis <pasky@suse.cz>
47836 Ulrich Drepper <drepper@gmail.com>
47839 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47840 to extend_alloca().
47841 * stdio-common/bug23.c: New file.
47842 * stdio-common/Makefile (tests): Add bug23.
47844 2010-09-28 Andreas Schwab <schwab@redhat.com>
47845 Ulrich Drepper <drepper@gmail.com>
47848 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47849 before performing relro protection. At old place add assertion
47850 to make sure nothing changed.
47852 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47853 Glauber de Oliveira Costa <glommer@gmail.com>
47855 * elf/elf.h: Add new ARM TLS relocs.
47857 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47860 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47862 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47864 * sysdeps/wordsize-64/tst-writev.c: New file.
47866 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47868 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47869 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47870 insns in _dl_start to prevent a TOC reference before relocs are
47873 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47876 * Makeconfig: Remove RANLIB definition.
47877 * Makerules: Don't use RANLIB.
47878 * aclocal.m4: Remove ranlib test.
47879 * configure.in: No need to check for ranlib.
47880 * elf/rtld-Rules: Don't use RANLIB.
47882 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47884 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47886 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47887 inclusion protection macro.
47889 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47890 SIGRTMIN and SIGRTMAX and print information in that case only when
47891 SIGRTMIN is defined.
47893 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47895 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47896 arginfo fn returning -1.
47898 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47899 and thousands string is zero terminated.
47901 2011-02-03 Andreas Schwab <schwab@redhat.com>
47903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47904 sysdeps/unix/sysv/linux/bits/socket.h.
47906 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47908 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47909 (__CPU_COUNT): Remove old macros.
47910 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47911 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47912 (__CPU_ALLOC, __CPU_FREE): Add macros.
47913 (__sched_cpualloc, __sched_cpufree): Add declarations.
47915 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47917 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47918 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47919 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47920 (readdhstai): Return value of addhstaiX call.
47921 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47922 (addgrbyX): Return value returned by cache_addgr.
47923 (readdgrbyname): Return value returned by addgrbyX.
47924 (readdgrbygid): Likewise.
47925 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47926 (addpwbyX): Return value returned by cache_addpw.
47927 (readdpwbyname): Return value returned by addhstbyX.
47928 (readdpwbyuid): Likewise.
47929 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47930 (addservbyX): Return value returned by cache_addserv.
47931 (readdservbyname): Return value returned by addservbyX:
47932 (readdservbyport): Likewise.
47933 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47934 (addhstbyX): Return value returned by cache_addhst.
47935 (readdhstbyname): Return value returned by addhstbyX.
47936 (readdhstbyaddr): Likewise.
47937 (readdhstbynamev6): Likewise.
47938 (readdhstbyaddrv6): Likewise.
47939 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47940 (readdinitgroups): Return value returned by addinitgroupsX.
47941 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47942 (prune_cache): Keep track of timeout value of re-added entries.
47943 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47944 * nscd/nscd.h: Adjust prototypes of readd* functions.
47946 2011-02-04 Roland McGrath <roland@redhat.com>
47948 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47949 (nis_stats): Likewise.
47950 * nis/nis_modify.c (nis_modify): Likewise.
47951 * nis/nis_remove.c (nis_remove): Likewise.
47952 * nis/nis_add.c (nis_add): Likewise.
47954 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47956 * posix/fnmatch_loop.c: Add some consts.
47958 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47960 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47963 * config.make.in (config-cflags-novzeroupper): Define.
47964 * configure.in: Substitute libc_cv_cc_novzeroupper.
47965 * elf/Makefile (AVX-CFLAGS): Define.
47966 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47967 (CFLAGS-tst-auditmod4a.c): Likewise.
47968 (CFLAGS-tst-auditmod4b.c): Likewise.
47969 (CFLAGS-tst-auditmod6b.c): Likewise.
47970 (CFLAGS-tst-auditmod6c.c): Likewise.
47971 (CFLAGS-tst-auditmod7b.c): Likewise.
47972 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47974 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47976 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47977 function to the callback.
47978 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47980 2011-02-02 Andreas Schwab <schwab@redhat.com>
47982 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47985 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47988 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47990 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47992 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47995 * elf/Makefile: Add rules to build and run new test.
47996 * elf/tst-initorder.c: New file.
47997 * elf/tst-initorder.exp: New file.
47998 * elf/tst-initordera1.c: New file.
47999 * elf/tst-initordera2.c: New file.
48000 * elf/tst-initordera3.c: New file.
48001 * elf/tst-initordera4.c: New file.
48002 * elf/tst-initorderb1.c: New file.
48003 * elf/tst-initorderb2.c: New file.
48004 * elf/tst-order-a1.c: New file.
48005 * elf/tst-order-a2.c: New file.
48006 * elf/tst-order-a3.c: New file.
48007 * elf/tst-order-a4.c: New file.
48008 * elf/tst-order-b1.c: New file.
48009 * elf/tst-order-b2.c: New file.
48010 * elf/tst-order-main.c: New file.
48011 New test case by George Gensure <werkt0@gmail.com>.
48013 2010-10-01 Andreas Schwab <schwab@redhat.com>
48015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48016 decoding ACE if AI_CANONIDN.
48018 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48020 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48022 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48024 * version.h (RELEASE): Bump for 2.13 release.
48025 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48027 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48029 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48031 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48033 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48034 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48035 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48036 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48038 * posix/getconf.c: Update copyright year.
48039 * catgets/gencat.c: Likewise.
48040 * csu/version.c: Likewise.
48041 * debug/catchsegv.sh: Likewise.
48042 * debug/xtrace.sh: Likewise.
48043 * elf/ldconfig.c: Likewise.
48044 * elf/ldd.bash.in: Likewise.
48045 * elf/sprof.c (print_version): Likewise.
48046 * iconv/iconv_prog.c: Likewise.
48047 * iconv/iconvconfig.c: Likewise.
48048 * locale/programs/locale.c: Likewise.
48049 * locale/programs/localedef.c: Likewise.
48050 * malloc/memusage.sh: Likewise.
48051 * malloc/mtrace.pl: Likewise.
48052 * nscd/nscd.c (print_version): Likewise.
48053 * nss/getent.c: Likewise.
48055 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48056 PF_CAIF, and PF_ALG.
48057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48059 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48061 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48062 (modules-names): Use them.
48063 (ifunc-test-modules, ifunc-pie-tests): Define.
48064 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48065 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48066 (test-extras): Likewise.
48067 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48068 $(compile-command.c).
48069 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48070 (all-built-dso): Define.
48071 (check-textrel.out, check-execstack.out): Depend on it.
48073 * configure.in: Don't override --enable-multi-arch.
48075 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48078 * nscd/hstcache.c (tryagain): Define.
48079 (cache_addhst): Return tryagain not notfound for temporary errors.
48080 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48083 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48086 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48087 to make the syscall.
48088 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48091 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48092 and fall back to matching as normal character if the string ends before
48093 the matching ']' is found. This is what POSIX requires.
48094 * posix/testfnm.c: Adjust test result.
48095 * posix/globtest.sh: Adjust test result. Add new test.
48096 * posix/tst-fnmatch.input: Likewise.
48097 * posix/tst-fnmatch2.c: Add new test.
48099 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48101 * elf/Makefile (check-execstack): Revert last change. Depend on
48103 (check-execstack.h): New target.
48104 (generated): Add check-execstack.h.
48105 * elf/check-execstack.c: Include "check-execstack.h".
48106 (main): Revert last change.
48107 (handle_file): Return zero if GNU_STACK is absent and
48108 DEFAULT_STACK_PERMS doesn't include PF_X.
48110 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48112 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48113 in child fails because the descriptor is already closed.
48114 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48115 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48116 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48119 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48123 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48124 temporary buffer used to handle multi lookups locally.
48125 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48127 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48129 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48132 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48134 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48135 alignment for SSE2.
48137 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48140 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48141 characters. When rounding increased number of integer digits recompute
48143 * stdio-common/tst-grouping.c: New file.
48144 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48146 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48148 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48149 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48151 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48153 * bits/select.h: Likewise.
48155 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48157 * po/ja.po: Update from translation team.
48159 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48162 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48163 implementation just like for lxstat, fxstatat, et al.
48165 2010-12-27 Jim Meyering <meyering@redhat.com>
48168 * posix/regexec.c (build_trtable): Return failure indication upon
48169 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48171 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48174 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48175 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48176 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48177 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48180 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48183 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48184 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48186 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48188 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48189 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48190 script has SORT_BY_INIT_PRIORITY.
48191 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48192 NO_CTORS_DTORS_SECTIONS is defined.
48193 * elf/soinit.c: Likewise.
48194 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48195 NO_CTORS_DTORS_SECTIONS is defined.
48196 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48197 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48198 * sysdeps/sh/init-first.c: Likewise.
48199 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48201 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48203 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48204 always use the slow path.
48206 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48208 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48209 similar rule which adds the sysdep directories to the header search in
48210 order to pick up the correct platform stackinfo.h.
48211 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48212 perform test if it is, otherwise return successfully without testing.
48213 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48214 DEFAULT_STACK_PERMS define in stackinfo.h.
48215 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48216 defined in stackinfo.h.
48217 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48218 DEFAULT_STACK_PERMS defined in stackinfo.h.
48219 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48220 * sysdeps/ia64/stackinfo.h: Likewise.
48221 * sysdeps/s390/stackinfo.h: Likewise.
48222 * sysdeps/sh/stackinfo.h: Likewise.
48223 * sysdeps/sparc/stackinfo.h: Likewise.
48224 * sysdeps/x86_64/stackinfo.h: Likewise.
48225 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48226 PF_X for powerpc64. Retain PF_X for powerpc32.
48228 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48230 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48232 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48233 GETDENTS_64BIT_ALIGNED.
48235 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48237 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48239 2010-12-10 Andreas Schwab <schwab@redhat.com>
48241 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48244 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48245 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48247 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48248 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48250 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48253 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48256 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48258 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48260 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48262 * po/it.po: Update from translation team.
48264 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48269 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48271 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48273 2010-11-24 Andreas Schwab <schwab@redhat.com>
48275 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48277 (gaih_getanswer_slice): Likewise.
48279 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48283 2010-05-31 Petr Baudis <pasky@suse.cz>
48286 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48287 silently even in the chroot mode.
48289 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48291 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48292 last patch a bit. Pretty printing
48294 2010-05-31 Petr Baudis <pasky@suse.cz>
48297 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48298 initialization of skip_initgroups_dyn.
48300 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48305 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48307 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48309 2010-11-11 Andreas Schwab <schwab@redhat.com>
48311 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48312 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48313 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48314 ($(objpfx)tst-fnmatch-mem): New rule.
48315 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48316 * posix/tst-fnmatch.c (main): Call mtrace.
48318 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48321 Support Intel processor model 6 and model 0x2c.
48323 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48325 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48328 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48331 * string/test-strncasecmp.c (check_result): New function.
48332 (do_one_test): Use it.
48333 (check1): New function.
48334 (test_main): Use it.
48335 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48336 Support strcasecmp and strncasecmp.
48338 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48341 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48344 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48346 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48350 * sysdeps/x86_64/multiarch/bzero.S: New file.
48351 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48352 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48353 * sysdeps/x86_64/multiarch/memset.S: New file.
48354 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48356 Set bit_Prefer_SSE_for_memop for Intel processors.
48357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48359 (index_Prefer_SSE_for_memop): Define.
48360 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48362 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48364 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48365 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48367 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48370 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48371 (__x86_64_raw_data_cache_size_half): Likewise.
48372 (__x86_64_raw_shared_cache_size): Likewise.
48373 (__x86_64_raw_shared_cache_size_half): Likewise.
48375 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48376 (__x86_64_raw_data_cache_size_half): Likewise.
48377 (__x86_64_raw_shared_cache_size): Likewise.
48378 (__x86_64_raw_shared_cache_size_half): Likewise.
48379 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48380 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48381 and __x86_64_raw_shared_cache_size_half. Round
48382 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48383 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48384 to multiple of 256 bytes.
48386 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48389 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48390 of inacessible symlinks. Verify result of symlink before returning it.
48391 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48392 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48394 2010-10-28 Erich Ritz <erichritz@gmail.com>
48396 * math/math.h (isinf): Fix typo in comment.
48398 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48400 * po/da.po: Update from translation team.
48402 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48404 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48405 is added to the list.
48407 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48408 Ulrich Drepper <drepper@gmail.com>
48410 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48411 the global list here. Move code to...
48412 (_dl_add_to_namespace_list): ...here. New function.
48413 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48414 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48415 * elf/dl-load.c (lose): Don't remove the element from the list.
48416 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48417 (_dl_map_object): Likewise.
48419 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48422 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48423 into all bytes of SSE register.
48424 Patch by Richard Li <richardpku@gmail.com>.
48426 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48429 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48432 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48434 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48435 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48436 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48437 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48442 2010-10-22 Andreas Schwab <schwab@redhat.com>
48444 * include/dlfcn.h (__RTLD_SECURE): Define.
48445 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48446 mode & __RTLD_SECURE instead.
48447 (open_path): Rename preloaded parameter to secure.
48448 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48449 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48450 * elf/dl-deps.c (openaux): Likewise.
48451 * elf/rtld.c (struct map_args): Remove is_preloaded.
48452 (map_doit): Don't use it.
48453 (dl_main): Likewise.
48454 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48455 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48457 2010-09-09 Andreas Schwab <schwab@redhat.com>
48459 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48460 (sysd-rules-targets): Remove duplicates.
48461 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48462 rtld-%.$o dependency.
48464 2010-10-18 Andreas Schwab <schwab@redhat.com>
48466 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48467 _dl_map_object do it.
48469 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48471 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48472 fast fma builtins, define the macros in the C99 standard.
48473 (FP_FAST_FMAF): Likewise.
48474 (FP_FAST_FMAL): Likewise.
48475 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48477 * bits/mathdef.h: Update copyright year.
48478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48480 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48482 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48483 builtins, define the macros in the C99 standard.
48484 (FP_FAST_FMAF): Likewise.
48485 (FP_FAST_FMAL): Likewise.
48486 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48488 (FP_FAST_FMAF): Likewise.
48490 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48493 * math/libm-test.inc (fma_test): Some new testcases.
48494 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48495 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48496 y and infinite z. Do multiplication by C already in long double.
48497 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48499 y and infinite z. Do bitwise or of inexact bit into u.d.
48500 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48501 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48502 * sysdeps/i386/fpu/s_fma.S: Removed.
48503 * sysdeps/i386/fpu/s_fmal.S: Removed.
48505 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48508 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48510 computation is not scheduled after fetestexcept. Fix value
48511 of minimum denormal long double.
48513 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48516 * math/libm-test.inc (fma_test): Add some more tests.
48517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48520 2010-10-15 Andreas Schwab <schwab@redhat.com>
48522 * scripts/data/localplt-s390-linux-gnu.data: New file.
48523 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48525 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48528 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48529 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48531 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48533 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48535 if one of x and y is very large and the other is subnormal.
48536 * sysdeps/s390/fpu/s_fmaf.c: New file.
48537 * sysdeps/s390/fpu/s_fma.c: New file.
48538 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48539 * sysdeps/powerpc/fpu/s_fma.S: New file.
48540 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48541 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48542 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48544 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48547 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48549 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48550 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48551 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48552 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48553 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48554 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48557 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48560 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48561 * posix/bug-regex31.input: Add test case.
48563 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48565 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48566 * posix/bug-regex31.input: New file.
48569 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48570 (parse_sub_exp): Fix last change, use postorder.
48572 * posix/bug-regex31.c: New file.
48573 * posix/Makefile: Add rules to build and run bug-regex31.
48575 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48578 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48581 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48582 to have entries in sys_siglist.
48585 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48588 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48591 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48592 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48593 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48594 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48595 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48596 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48597 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48598 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48599 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48600 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48601 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48602 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48603 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48604 * math/ftestexcept.c (fetestexcept): Likewise.
48605 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48606 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48607 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48608 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48609 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48610 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48611 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48613 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48616 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48619 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48621 * string/bug-strstr1.c: New file.
48622 * string/Makefile: Add rules to build and run bug-strstr1.
48624 2010-10-05 Eric Blake <eblake@redhat.com>
48627 * string/str-two-way.h (two_way_long_needle): Always clear memory
48628 when skipping input due to the shift table.
48630 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48633 * malloc/mcheck.c: Handle large requests.
48636 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48637 for strncmp and strncasecmp.
48638 * string/stratcliff.c: Add tests for strcmp and strncmp.
48639 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48641 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48643 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48646 2010-09-30 Andreas Jaeger <aj@suse.de>
48648 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48649 (CGROUP_SUPER_MAGIC): Define.
48650 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48651 Handle btrfs and cgroup file systems.
48652 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48655 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48657 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48658 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48660 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48663 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48664 trying to locate the ELF header.
48666 2010-09-27 Andreas Schwab <schwab@redhat.com>
48669 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48670 Mask out sign-bit copies when constructing f_fsid.
48672 2010-09-24 Petr Baudis <pasky@suse.cz>
48674 * debug/stack_chk_fail_local.c: Add missing licence exception.
48675 * debug/warning-nop.c: Likewise.
48677 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48679 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48680 implementing getdents64 using getdents syscall, set d_type if
48681 __ASSUME_GETDENTS32_D_TYPE.
48683 2010-09-16 Andreas Schwab <schwab@redhat.com>
48685 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48686 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48688 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48691 * posix/unistd.h: Undo change of feature selection for ftruncate from
48694 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48696 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48699 2010-09-20 Andreas Schwab <schwab@redhat.com>
48701 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48703 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48705 2010-09-14 Andreas Schwab <schwab@redhat.com>
48707 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48708 variables after CHECK_SP call.
48709 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48711 2010-09-13 Andreas Schwab <schwab@redhat.com>
48712 Ulrich Drepper <drepper@redhat.com>
48714 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48715 re-relocationg ld.so.
48716 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48717 _dl_init_paths call.
48718 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48721 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48723 * resolv/res_init.c (__res_vinit): Count the default server we added.
48725 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48726 Ulrich Drepper <drepper@redhat.com>
48729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48730 (____longjmp_chk): Use %ebx for saving value across system call.
48733 2010-09-06 Andreas Schwab <schwab@redhat.com>
48735 * manual/Makefile: Don't mix pattern rules with normal rules.
48737 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48739 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48741 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48742 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48743 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48744 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48748 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48751 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48752 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48754 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48756 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48757 * sysdeps/x86_64/addmul_1.S: Likewise.
48758 * sysdeps/x86_64/lshift.S: Likewise.
48759 * sysdeps/x86_64/mul_1.S: Likewise.
48760 * sysdeps/x86_64/rshift.S: Likewise.
48761 * sysdeps/x86_64/sub_n.S: Likewise.
48762 * sysdeps/x86_64/submul_1.S: Likewise.
48764 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48766 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48767 Define __sched_param instead of SCHED_* and sched_param when
48768 <bits/sched.h> is included with __need_schedparam defined.
48769 * bits/sched.h [__need_schedparam]
48770 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48771 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48772 (__defined_schedparam): Define to 1.
48773 (__sched_param): New structure, identical to sched_param.
48774 (__need_schedparam): Undefine.
48776 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48778 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48779 (epoll_create1): Declare.
48781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48783 2010-08-31 Andreas Schwab <schwab@redhat.com>
48786 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48787 shifting retval into place.
48789 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48791 * nis/rpcsvc/nis.h: Update copyright notice.
48792 * nis/rpcsvc/nis.x: Likewise.
48793 * nis/rpcsvc/nis_callback.h: Likewise.
48794 * nis/rpcsvc/nis_callback.x: Likewise.
48795 * nis/rpcsvc/nis_object.x: Likewise.
48796 * nis/rpcsvc/nis_tags.h: Likewise.
48797 * nis/rpcsvc/yp.h: Likewise.
48798 * nis/rpcsvc/yp.x: Likewise.
48799 * nis/rpcsvc/ypupd.h: Likewise.
48800 * nis/yp_xdr.c: Likewise.
48801 * nis/ypupdate_xdr.c: Likewise.
48803 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48804 mainly the body of pmap_getport. Add parameters to specify timeouts.
48805 (pmap_getport): Use __libc_rpc_getport.
48806 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48807 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48808 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48810 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48815 2010-08-27 Roland McGrath <roland@redhat.com>
48817 * sysdeps/i386/i686/multiarch/Makefile
48818 (CFLAGS-varshift.c): New variable.
48820 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48822 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48823 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48827 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48829 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48831 * sysdeps/x86_64/strlen.S: Unroll the loop.
48832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48833 strlen-sse2 strlen-sse2-bsf.
48834 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48835 __strlen_no_bsf if bit_Slow_BSF is set.
48836 (__strlen_sse42): Removed.
48837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48838 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48840 2010-08-25 Roland McGrath <roland@redhat.com>
48842 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48843 * sysdeps/x86_64/multiarch/varshift.c: New file.
48844 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48845 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48846 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48847 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48849 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48852 strlen-sse2 strlen-sse2-bsf.
48853 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48854 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48855 (__strlen_sse2): Removed.
48856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48859 bit_Slow_BSF for Atom.
48860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48861 (index_Slow_BSF): Define.
48862 (HAS_SLOW_BSF): Define.
48864 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48867 * resolv/res_init.c (__res_vinit): When no server address at all
48868 is given default to loopback.
48870 2010-08-24 Roland McGrath <roland@redhat.com>
48872 * configure.in: Remove config-name.h generation.
48873 * configure: Regenerated.
48874 * config-name.in: File removed.
48875 * scripts/config-uname.sh: New file.
48876 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48877 ($(objdir)config-name.h): New target.
48879 * sunrpc/rpc_parse.h: Avoid nested comment.
48881 2010-08-24 Richard Henderson <rth@redhat.com>
48882 Ulrich Drepper <drepper@redhat.com>
48883 H.J. Lu <hongjiu.lu@intel.com>
48885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48887 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48888 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48889 _mm_alignr_epi8 with _mm_loadu_si128.
48890 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48891 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48892 (__m128i_shift_right): Removed.
48893 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48894 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48895 * sysdeps/x86_64/multiarch/varshift.h: New file.
48896 * sysdeps/x86_64/multiarch/varshift.S: New file.
48898 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48900 * configure.in: Move assembler checks to before sysdep dir checking.
48902 2010-08-20 Petr Baudis <pasky@suse.cz>
48904 * LICENSES: Sync the sunrpc license.
48906 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48908 * sunrpc/auth_des.c: Update copyright notice once again.
48909 * sunrpc/auth_none.c: Likewise.
48910 * sunrpc/auth_unix.c: Likewise.
48911 * sunrpc/authdes_prot.c: Likewise.
48912 * sunrpc/authuxprot.c: Likewise.
48913 * sunrpc/bindrsvprt.c: Likewise.
48914 * sunrpc/clnt_gen.c: Likewise.
48915 * sunrpc/clnt_perr.c: Likewise.
48916 * sunrpc/clnt_raw.c: Likewise.
48917 * sunrpc/clnt_simp.c: Likewise.
48918 * sunrpc/clnt_tcp.c: Likewise.
48919 * sunrpc/clnt_udp.c: Likewise.
48920 * sunrpc/clnt_unix.c: Likewise.
48921 * sunrpc/des_crypt.c: Likewise.
48922 * sunrpc/des_soft.c: Likewise.
48923 * sunrpc/get_myaddr.c: Likewise.
48924 * sunrpc/getrpcport.c: Likewise.
48925 * sunrpc/key_call.c: Likewise.
48926 * sunrpc/key_prot.c: Likewise.
48927 * sunrpc/openchild.c: Likewise.
48928 * sunrpc/pm_getmaps.c: Likewise.
48929 * sunrpc/pm_getport.c: Likewise.
48930 * sunrpc/pmap_clnt.c: Likewise.
48931 * sunrpc/pmap_prot.c: Likewise.
48932 * sunrpc/pmap_prot2.c: Likewise.
48933 * sunrpc/pmap_rmt.c: Likewise.
48934 * sunrpc/rpc/auth.h: Likewise.
48935 * sunrpc/rpc/auth_unix.h: Likewise.
48936 * sunrpc/rpc/clnt.h: Likewise.
48937 * sunrpc/rpc/des_crypt.h: Likewise.
48938 * sunrpc/rpc/key_prot.h: Likewise.
48939 * sunrpc/rpc/netdb.h: Likewise.
48940 * sunrpc/rpc/pmap_clnt.h: Likewise.
48941 * sunrpc/rpc/pmap_prot.h: Likewise.
48942 * sunrpc/rpc/pmap_rmt.h: Likewise.
48943 * sunrpc/rpc/rpc.h: Likewise.
48944 * sunrpc/rpc/rpc_des.h: Likewise.
48945 * sunrpc/rpc/rpc_msg.h: Likewise.
48946 * sunrpc/rpc/svc.h: Likewise.
48947 * sunrpc/rpc/svc_auth.h: Likewise.
48948 * sunrpc/rpc/types.h: Likewise.
48949 * sunrpc/rpc/xdr.h: Likewise.
48950 * sunrpc/rpc_clntout.c: Likewise.
48951 * sunrpc/rpc_cmsg.c: Likewise.
48952 * sunrpc/rpc_common.c: Likewise.
48953 * sunrpc/rpc_cout.c: Likewise.
48954 * sunrpc/rpc_dtable.c: Likewise.
48955 * sunrpc/rpc_hout.c: Likewise.
48956 * sunrpc/rpc_main.c: Likewise.
48957 * sunrpc/rpc_parse.c: Likewise.
48958 * sunrpc/rpc_parse.h: Likewise.
48959 * sunrpc/rpc_prot.c: Likewise.
48960 * sunrpc/rpc_sample.c: Likewise.
48961 * sunrpc/rpc_scan.c: Likewise.
48962 * sunrpc/rpc_scan.h: Likewise.
48963 * sunrpc/rpc_svcout.c: Likewise.
48964 * sunrpc/rpc_tblout.c: Likewise.
48965 * sunrpc/rpc_util.c: Likewise.
48966 * sunrpc/rpc_util.h: Likewise.
48967 * sunrpc/rpcinfo.c: Likewise.
48968 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48969 * sunrpc/rpcsvc/key_prot.x: Likewise.
48970 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48971 * sunrpc/rpcsvc/mount.x: Likewise.
48972 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48973 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48974 * sunrpc/rpcsvc/rex.x: Likewise.
48975 * sunrpc/rpcsvc/rstat.x: Likewise.
48976 * sunrpc/rpcsvc/rusers.x: Likewise.
48977 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48978 * sunrpc/rpcsvc/spray.x: Likewise.
48979 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48980 * sunrpc/rtime.c: Likewise.
48981 * sunrpc/svc.c: Likewise.
48982 * sunrpc/svc_auth.c: Likewise.
48983 * sunrpc/svc_authux.c: Likewise.
48984 * sunrpc/svc_raw.c: Likewise.
48985 * sunrpc/svc_run.c: Likewise.
48986 * sunrpc/svc_simple.c: Likewise.
48987 * sunrpc/svc_tcp.c: Likewise.
48988 * sunrpc/svc_udp.c: Likewise.
48989 * sunrpc/svc_unix.c: Likewise.
48990 * sunrpc/svcauth_des.c: Likewise.
48991 * sunrpc/xcrypt.c: Likewise.
48992 * sunrpc/xdr.c: Likewise.
48993 * sunrpc/xdr_array.c: Likewise.
48994 * sunrpc/xdr_float.c: Likewise.
48995 * sunrpc/xdr_mem.c: Likewise.
48996 * sunrpc/xdr_rec.c: Likewise.
48997 * sunrpc/xdr_ref.c: Likewise.
48998 * sunrpc/xdr_sizeof.c: Likewise.
48999 * sunrpc/xdr_stdio.c: Likewise.
49001 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49004 2010-08-19 Andreas Schwab <schwab@redhat.com>
49006 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49008 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49010 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49012 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49013 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49014 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49015 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49016 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49017 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49019 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49020 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49021 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49022 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49023 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49025 2010-07-26 Anton Blanchard <anton@samba.org>
49027 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49028 * malloc/arena.c (heap_trim): Likewise.
49030 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49032 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49035 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49037 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49039 * sysdeps/i386/elf/Makefile: New file.
49041 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49043 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49044 from fanotify_init.
49045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49048 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49050 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49052 * sysdeps/multiarch/strcmp.S: Likewise.
49054 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49056 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49057 strncase_l-nonascii.
49058 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49059 Add strncase_l-ssse3.
49060 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49061 * sysdeps/x86_64/strcmp.S: Likewise.
49062 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49063 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49064 * sysdeps/x86_64/strncase.S: New file.
49065 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49066 * sysdeps/x86_64/strncase_l.S: New file.
49067 * string/Makefile (strop-tests): Add strncasecmp.
49068 * string/test-strncasecmp.c: New file.
49070 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49073 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49074 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49076 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49078 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49080 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49082 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49083 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49084 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49086 2010-05-01 Alan Modra <amodra@gmail.com>
49088 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49089 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49090 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49091 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49092 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49093 tidying. Don't tail-call __sigjmp_save for static lib.
49094 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49096 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49097 (CALL_MCOUNT): Add eh info, and nop after bl.
49098 (TAIL_CALL_SYSCALL_ERROR): New macro.
49099 (PSEUDO_RET): Use it.
49100 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49101 Correct save location of integer regs and cr.
49102 (_dl_profile_resolve): Correct cr save location. Delete nops
49103 after bl when SHARED. Reduce cfi size a little by better
49104 placement of cfi directives.
49105 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49106 make a stack frame. Instead use parm save area as a temp.
49107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49108 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49110 Don't make a stack frame for parent, use parm save area.
49111 Increase child stack frame to 112 bytes. Don't save unused reg,
49112 and adjust reg usage. Set up cfi on error recovery and
49113 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49115 (__makecontext): Add dummy nop after jump to exit.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49117 Use correct parm save area and cr save, reduce stack frame.
49118 Correct cfi for possible PSEUDO_RET frame setup.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49120 Branch to local label emitted by PSEUDO_RET rather than
49123 2010-08-12 Andreas Schwab <schwab@redhat.com>
49126 * locale/programs/locale.c (print_assignment): New function.
49127 (show_locale_vars): Use it.
49129 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49131 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49133 (struct statfs64): Likewise.
49134 (_STATFS_F_FLAGS): Define.
49135 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49137 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49138 (ST_VALID): Define locally.
49139 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49140 __statvfs_getflags, use the provided value.
49141 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49142 __ASSUME_STATFS_F_FLAGS.
49144 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49146 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49147 Add sys/fanotify.h.
49148 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49149 fanotify_mask for GLIBC_2.13.
49150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49151 fanotify_init and fanotify_mark.
49152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49153 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49155 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49157 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49158 prlimit64 for GLIBC_2.13.
49159 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49164 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49165 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49166 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49169 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49172 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49173 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49175 * nss/Makefile: Add rules to build and run tst-nss-test1.
49176 * shlib-versions: Add entry for libnss_test1.
49177 * nss/nss_test1.c: New file.
49178 * nss/tst-nss-test1.c: New file.
49180 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49181 (__nss_configure_lookup): Set appropriate entry in
49182 __nss_configure_lookup to true.
49183 * nss/nsswitch.h: Define enum with indeces of databases in
49184 databases and __nss_database_custom arrays. Declare
49185 __nss_database_custom.
49186 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49187 to avoid using nscd when custom rules are installed.
49188 * nss/getXXbyYY_r.c: Likewise.
49189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49191 * nss/nss_files/files-parse.c: Whitespace fixes.
49193 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49196 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49197 * posix/fnmatch_loop.c: Likewise.
49199 2010-07-17 Andi Kleen <ak@linux.intel.com>
49201 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49202 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49203 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49204 * Versions.def [GLIBC_2.13]: Add.
49206 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49208 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49209 Also fail if tpwd after pwuid call is NULL.
49211 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49213 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49214 when converting to ms.
49216 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49218 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49219 EOPNOTSUPP errors with ENOTTY.
49220 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49221 EOPNOTSUPP errors with ENOTTY.
49223 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49225 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49226 Add strcasecmp_l-ssse3.
49227 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49229 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49230 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49231 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49233 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49235 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49237 * string/Makefile (strop-tests): Add strcasecmp.
49238 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49239 strcasecmp_l-nonascii.
49240 (gen-as-const-headers): Add locale-defines.sym.
49241 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49242 * sysdeps/x86_64/strcasecmp.S: New file.
49243 * sysdeps/x86_64/strcasecmp_l.S: New file.
49244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49245 * sysdeps/x86_64/locale-defines.sym: New file.
49246 * string/test-strcasecmp.c: New file.
49248 * string/test-strcasestr.c: Test both ends of the range of characters.
49249 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49251 2010-07-29 Roland McGrath <roland@redhat.com>
49254 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49256 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49258 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49261 2010-07-27 Andreas Schwab <schwab@redhat.com>
49263 * manual/memory.texi (Malloc Tunable Parameters): Document
49266 2010-07-26 Roland McGrath <roland@redhat.com>
49269 * configure.in (-fgnu89-inline check): Set and substitute
49270 gnu89_inline, not libc_cv_gnu89_inline.
49271 * configure: Regenerated.
49272 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49274 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49276 * string/test-strnlen.c: New file.
49277 * string/Makefile (strop-tests): Add strnlen.
49278 * string/tester.c (test_strnlen): Add a few more test cases.
49279 * string/tst-strlen.c: Better error reporting.
49281 * sysdeps/x86_64/strnlen.S: New file.
49283 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49285 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49286 lower-latency instructions.
49288 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49290 * string/test-strcasestr.c: New file.
49291 * string/test-strstr.c: New file.
49292 * string/Makefile (strop-tests): Add strstr and strcasestr.
49293 * string/str-two-way.h: Don't undefine MAX.
49294 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49296 2010-07-21 Andreas Schwab <schwab@redhat.com>
49298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49299 strcasestr-nonascii.
49300 (CFLAGS-strcasestr-nonascii.c): Define.
49301 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49302 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49303 Remove unused attribute.
49305 2010-07-20 Roland McGrath <roland@redhat.com>
49307 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49308 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49309 ld.so.cache was broken. With it, there is no way to disable dsocaps
49310 like LD_HWCAP_MASK can disable hwcaps.
49312 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49314 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49316 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49318 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49319 call in strcasestr.
49320 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49321 __strcasestr_sse42_nonascii.
49322 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49323 strcasestr-nonascii.c.
49324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49326 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49328 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49329 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49330 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49331 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49333 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49338 2010-07-06 Andreas Schwab <schwab@redhat.com>
49341 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49344 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49347 _PC_PIPE_BUF using F_GETPIPE_SZ.
49349 2010-07-05 Roland McGrath <roland@redhat.com>
49351 * manual/arith.texi (Rounding Functions): Fix rint description
49352 implicit in round description.
49354 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49356 * elf/Makefile: Fix linking for a few tests to make recent linker
49359 2010-06-30 Andreas Schwab <schwab@redhat.com>
49361 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49362 $(common-objpfx)libc_nonshared.a.
49364 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49366 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49367 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49368 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49369 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49370 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49371 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49372 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49373 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49388 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49389 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49390 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49391 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49392 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49393 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49394 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49395 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49396 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49397 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49398 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49399 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49415 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49417 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49418 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49419 * string/memmove.c (memmove): Renamed to ...
49420 (MEMMOVE): ...this. Default to memmove.
49421 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49422 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49425 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49426 mempcpy-ssse3-back memmove-ssse3-back.
49427 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49430 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49431 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49432 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49433 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49434 * sysdeps/x86_64/multiarch/memmove.c: New file.
49435 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49436 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49437 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49438 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49439 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49442 (index_Fast_Copy_Backward): Define.
49443 (HAS_ARCH_FEATURE): Define.
49444 (HAS_FAST_REP_STRING): Define.
49445 (HAS_FAST_COPY_BACKWARD): Define.
49447 2010-06-21 Andreas Schwab <schwab@redhat.com>
49449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49450 Restore proper fallback handling.
49452 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49455 * posix/group_member.c (__group_member): Correct checking loop.
49457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49458 OOM in getpwuid_r correctly. Return error number when the caller
49459 should return, otherwise -1.
49460 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49461 call returning > 0 value.
49462 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49464 2010-06-07 Andreas Schwab <schwab@redhat.com>
49466 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49467 libc_nonshared.a from targets in modules-names.
49469 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49471 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49474 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49477 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49478 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49481 2010-06-02 Andreas Schwab <schwab@redhat.com>
49483 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49485 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49487 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49493 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49494 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49496 2010-06-14 Roland McGrath <roland@redhat.com>
49498 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49500 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49502 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49503 __REDIRECT followed by __THROW.
49504 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49505 * posix/getopt.h (getopt): Likewise.
49507 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49509 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49510 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49511 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49513 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49514 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49516 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49518 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49520 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49524 Properly check family and model.
49526 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49528 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49530 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49532 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49534 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49536 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49539 2010-05-19 Andreas Schwab <schwab@redhat.com>
49541 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49544 2010-05-21 Andreas Schwab <schwab@redhat.com>
49546 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49547 and internal_recvmmsg.
49548 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49549 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49550 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49551 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49553 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49554 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49555 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49557 2010-05-20 Andreas Schwab <schwab@redhat.com>
49559 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49561 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49563 POWER7 optimizations.
49564 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49565 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49567 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49569 * version.h: Update for 2.13 development version.
49571 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49573 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49574 exceptions. Return 0.
49576 2010-05-07 Roland McGrath <roland@redhat.com>
49578 * elf/ldconfig.c (main): Add a const.
49580 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49582 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49583 (args_options): Add no-idn option.
49584 (ahosts_keys_int): Add idn_flags to ai_flags.
49585 (parse_option): Handle 'i' option to clear idn_flags.
49587 * malloc/malloc.c (_int_free): Possible race in the most recently
49588 added check. Only act on the data if no current modification
49591 See ChangeLog.17 for earlier changes.