1 2014-08-01 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5 * sysdeps/arm/sysdep.h: ... here.
6 [!__ASSEMBLER__]: Include <stdint.h>.
8 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11 (HAVE_WCTYPE_H): Likewise.
12 (HAVE_ISWCTYPE): Likewise.
13 (ENABLE_NLS): Likewise.
14 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17 * posix/regex_internal.c: Check if DEBUG is defined and is
20 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21 (HAVE_MBSRTOWCS): Likewise.
22 * posix/fnmatch.c: Include string.h unconditionally.
24 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
26 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29 2014-07-31 Roland McGrath <roland@hack.frob.com>
31 * sysdeps/generic/safe-fatal.h: New file.
32 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33 * nptl/forward.c: Include it.
34 (__pthread_unwind): Use __safe_fatal as default action, rather
35 than a bogus use of INTERNAL_SYSCALL that could never work.
37 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38 * configure.ac (libc_cv_builtin_trap): New test.
39 * configure: Regenerated.
40 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41 (ABORT_INSTRUCTION): Define using __builtin_trap.
43 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45 * sysdeps/nptl/nptl-signals.h: New file.
46 * nptl/pthreadP.h: Include <nptl-signals.h>.
48 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
50 * sysdeps/s390/s390-64/utf16-utf32-z9.c
51 (ONE_DIRECTION): Define.
52 * sysdeps/s390/s390-64/utf8-utf16-z9.c
53 (ONE_DIRECTION): Define.
54 * sysdeps/s390/s390-64/utf8-utf32-z9.c
55 (ONE_DIRECTION): Define.
57 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
59 * sysdeps/s390/Makefile: Delete file.
60 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
61 * sysdeps/s390/__longjmp.c: Delete file.
62 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
63 Remove fields __flags and __reserved.
64 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
66 * sysdeps/s390/rtld-__longjmp.c: Delete file.
67 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
68 * sysdeps/s390/rtld-setjmp.S: Likewise.
69 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
70 * sysdeps/s390/s390-32/__longjmp.c: ... here.
71 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
72 * sysdeps/s390/s390-32/setjmp.S: ... here.
74 (__sigsetjmp): Remove setting __flags field.
75 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
76 * sysdeps/s390/s390-64/__longjmp.c: ... here.
77 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
78 * sysdeps/s390/s390-64/setjmp.S: ... here.
80 (__sigsetjmp): Remove setting __flags field.
81 * sysdeps/s390/setjmp.S: Delete file.
82 * sysdeps/s390/sigjmp.c: Likewise.
83 * sysdeps/s390/v1-longjmp.c: Likewise.
84 * sysdeps/s390/v1-setjmp.h: Likewise.
85 * sysdeps/s390/v1-sigjmp.c: Likewise.
86 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
87 Remove v1-longjmp_chk.
88 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
89 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
90 Include debug/longjmp_chk.c and add versioning.
91 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
92 Include nptl/pt-longjmp.c and add versioning.
93 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
94 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
96 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
98 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
99 (__getcontext): Remove setting __flags field.
101 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
102 Don't restore upper high grps.
103 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
105 (__swapcontext): Remove setting uc_flags field.
106 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
108 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
110 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
112 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
113 (__getcontext): Remove setting __flags field.
115 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
116 (__swapcontext): Remove setting uc_flags field.
117 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
118 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
119 Remove fields uc_high_gprs and __reserved.
120 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
121 New file with reverted content.
122 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
128 2014-07-31 Andreas Schwab <schwab@suse.de>
130 * config.h.in (HAVE_IFUNC): Define to 0.
131 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
134 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
137 memmove-avx-unaligned, memcpy-avx-unaligned and
138 mempcpy-avx-unaligned.
139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
140 Add tests for AVX memcpy functions.
141 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
142 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
144 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
145 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
147 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
148 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
150 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
151 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
152 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
154 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
160 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
163 * manual/llio.texi: Add section about open file description locks.
164 * manual/examples/ofdlocks.c: Example of open file description
166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
167 F_OFD_SETLK, and F_OFD_SETLKW.
169 2014-07-23 Allan McRae <allan@archlinux.org>
171 * po/es.po: Update Spanish translation from translation project.
173 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
175 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
177 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
180 * sysdeps/arm/dl-machine.h (elf_machine_rela)
181 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
182 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
184 2014-07-17 Joseph Myers <joseph@codesourcery.com>
187 * math/fesetenv.c (__fesetenv)
188 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
189 * math/feupdateenv.c (__feupdateenv)
190 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
192 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
193 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
194 (__ASSUME_SOCKETCALL): Do not define.
196 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
197 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
198 (__ASSUME_SOCKETCALL): Do not define.
199 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
200 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
201 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
202 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
203 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
204 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
205 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
206 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
209 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
210 (__ASSUME_SOCKETCALL): Do not define.
211 (__ASSUME_IPC64): Define unconditionally.
212 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
213 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
214 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
215 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
216 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
217 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
218 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
221 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
222 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
223 (__ASSUME_SOCKETCALL): Do not define.
224 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
225 (__ASSUME_FUTEX_LOCK_PI): Likewise.
226 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
227 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
228 (__ASSUME_REQUEUE_PI): Define unconditionally.
229 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
230 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
231 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
232 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
233 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
234 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
236 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
237 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
238 (__ASSUME_SOCKETCALL): Do not define.
239 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
240 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
241 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
242 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
243 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
244 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
246 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
247 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
248 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
249 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
250 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
251 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
252 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
253 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
254 (__ASSUME_GETCPU_SYSCALL): Likewise.
256 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
257 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
258 cases for individual architectures.
259 * sysdeps/gnu/configure: Regenerated.
260 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
261 LIBC_SLIBDIR_RTLDDIR.
262 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
263 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
264 LIBC_SLIBDIR_RTLDDIR.
265 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
267 LIBC_SLIBDIR_RTLDDIR.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
270 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
271 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
273 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
274 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
276 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
277 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
278 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
279 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
281 * sysdeps/aarch64/shlib-versions: Move to ...
282 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
283 * sysdeps/alpha/shlib-versions: Move to ...
284 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
285 * sysdeps/arm/shlib-versions: Move to ...
286 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
287 * sysdeps/hppa/shlib-versions: Move all contents except for
288 libgcc_s entry to ...
289 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
291 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
292 * sysdeps/ia64/shlib-versions: Move to ...
293 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
295 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
296 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
297 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
298 * sysdeps/microblaze/shlib-versions: Move to ...
299 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
300 * sysdeps/mips/shlib-versions: Move to ...
301 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
303 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
304 * sysdeps/tile/shlib-versions: Move to ...
305 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
306 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
308 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
309 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
311 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
313 2014-07-17 Will Newton <will.newton@linaro.org>
315 * sysdeps/arm/bits/atomic.h
316 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
317 (__arch_compare_and_exchange_bool_16_int): Likewise.
318 (__arch_compare_and_exchange_bool_64_int): Likewise.
320 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
323 2014-07-16 Roland McGrath <roland@hack.frob.com>
325 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
326 just Linux configurations. Test empirically that the compiler sets
327 __ARM_EABI__, rather than using the tuple to decide.
328 * sysdeps/arm/preconfigure: Regenerated.
329 * sysdeps/unix/sysv/linux/arm/configure: File removed.
330 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
331 contents appended ...
332 * sysdeps/arm/configure.ac: ... here.
333 * sysdeps/arm/configure: Regenerated.
335 2014-07-15 Roland McGrath <roland@hack.frob.com>
337 * nptl/pthread_kill.c: New file.
338 * nptl/pthread_sigmask.c: New file.
339 * nptl/pthread_sigqueue.c: New file.
341 * sysdeps/nptl/lowlevellock.h: New file.
342 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
343 * sysdeps/nptl/lowlevellock-futex.h: New file.
345 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
346 Remove dead declarations.
348 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
350 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
351 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
353 * sysdeps/x86_64/configure.ac: Likewise.
354 * sysdeps/i386/configure: Regenerated.
355 * sysdeps/x86_64/configure: Likewise.
356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
357 memset-avx2 only if config-cflags-avx2 is yes.
358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
359 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
361 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
362 only if HAVE_AVX2_SUPPORT is defined.
363 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
365 2014-07-14 Alan Modra <amodra@gmail.com>
368 * elf/elf.h (DT_PPC64_NUM): Correct value.
369 * NEWS: Add to fixed bug list.
371 2014-07-13 Jim Meyering <meyering@fb.com>
374 regex: don't deref NULL upon heap allocation failure
375 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
376 failure in one more place.
377 To trigger the segfault, configure grep -with-included-regex,
378 build it, and run these commands:
379 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
381 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
383 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
385 2014-07-11 Richard Henderson <rth@redhat.com>
387 * sysdeps/aarch64/libm-test-ulps: Update.
389 2014-07-10 Florian Weimer <fweimer@redhat.com>
392 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
393 * nptl/allocatestack.c (__nptl_setxid_error): New function.
394 (__nptl_setxid): Initialize error member. Call
396 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
397 * nptl/descr.h (struct xid_command): Add error member.
398 * nptl/tst-setuid3.c: New file.
399 * nptl/Makefile (tests): Add it.
401 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
403 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
405 (__lll_trylock): Use __lll_base_trylock.
406 (__lll_cond_trylock): Likewise.
408 2014-07-10 Roland McGrath <roland@hack.frob.com>
410 * nptl/pthread_create.c (start_thread): Use atomic_or and
411 lll_futex_wake directly rather than lll_robust_dead.
412 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
413 (lll_robust_dead): Macro removed.
414 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
415 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
416 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
417 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
419 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
420 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
421 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
422 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
423 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
424 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
425 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
426 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
427 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
430 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
431 Use atomic_compare_and_exchange_val_acq directly rather than
433 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
434 (__lll_robust_trylock, lll_robust_trylock): Removed.
435 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
436 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
437 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
438 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
439 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
440 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
441 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
442 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
444 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
445 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
446 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
447 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
450 2014-07-02 Florian Weimer <fweimer@redhat.com>
452 * manual/locale.texi (Locale Names): New section documenting
453 locale name syntax. Adjust menu and node chaining accordingly.
454 (Choosing Locale): Reference Locale Names, Locale Categories.
455 Mention setting LC_ALL=C. Reflect that name syntax is now
457 (Locale Categories): New section title. Reference Locale Names.
458 LC_ALL is an environment variable, but not a category.
459 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
460 description, now in Locale Name. Reference that section. Locale
461 name syntax is now documented.
463 2014-07-02 Florian Weimer <fweimer@redhat.com>
466 * locale/findlocale.c (name_present, valid_locale_name): New
468 (_nl_find_locale): Use the loc_name variable to store name
469 candidates. Call name_present and valid_locale_name to check and
470 validate locale names. Return an error if the locale is invalid.
472 2014-07-02 Florian Weimer <fweimer@redhat.com>
474 * locale/setlocale.c (setlocale): Use strdup for allocating
477 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
480 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
481 [!_LIBC && ENABLE_NLS]: Include gettext.h.
482 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
484 [USE_UNLOCKED_IO]: Include unlocked-io.h.
485 [!_LIBC]: Include code for Windows and Cygwin.
486 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
487 Include prototype for int strerror_r.
488 [!_LIBC] (is_open): New function.
489 (flush_stdout): New function.
490 (print_errno_message): Use it.
492 (error_at_line): Likewise.
493 (error_tail) Add function attribute macros. Use
496 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
498 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
500 * io/ftw.c: Include sys/param.h unconditionally.
502 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
505 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
507 (freecache): New function to free CACHE on exit.
509 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
512 2014-07-09 David S. Miller <davem@davemloft.net>
514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
516 * sysdeps/sparc/nptl/internaltypes.h: Delete.
517 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
518 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
519 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
520 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
521 * sysdeps/sparc/nptl/sem_init.c: Likewise.
522 * sysdeps/sparc/nptl/sem_post.c: Likewise.
523 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
524 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
525 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
526 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
527 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
528 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
530 2014-07-09 Andreas Schwab <schwab@suse.de>
532 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
534 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
539 2014-07-09 Will Newton <will.newton@linaro.org>
541 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
542 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
543 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
544 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
545 * sysdeps/hppa/start.S (_start): Likewise.
547 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
549 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
551 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
554 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
556 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
557 after checking that it is non-NULL.
559 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
561 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
563 * sysdeps/powerpc/memmove.c: Remove file.
564 * sysdeps/powerpc/powerpc32/power4/memcopy.h
565 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
567 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
569 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
570 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
571 string memmove instead of removed powerpc one.
573 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
574 [weak_alias]: Fix compiler warning due trailing data.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
576 [weak_alias]: Likewise.
577 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
578 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
581 (__libc_ifunc_impl_list): Add memmove functions.
583 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
585 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
587 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
589 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
591 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
593 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
595 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
597 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
599 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
601 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
603 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
605 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
607 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
609 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
611 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
613 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
615 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
617 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
620 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
623 to avoid alignment traps in non-cacheable memory.
624 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
628 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
629 file: multiarch power7 memmove.
630 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
631 multiarch default memmove.
632 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
633 multiarch memove for powerpc32/power4.
635 * string/bcopy.c: Use full path to include memmove.c.
636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
638 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
640 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
643 and memmove implementations.
644 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
645 optimized multiarch memmove for POWER7/powerpc64.
646 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
647 default multiarch memmove for powerpc64.
648 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
649 multiarch for powerpc64.
650 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
651 for POWER7/powerpc64.
652 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
653 memmove for POWER7/powerpc64.
655 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
658 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
659 __ELF_NATIVE_CLASS equal to 64.
661 2014-07-07 Roland McGrath <roland@hack.frob.com>
663 * sysdeps/nptl/lowlevellock.h: File removed.
665 * NEWS: NPTL is no longer an add-on!
666 * nptl/internaltypes.h: Moved ...
667 * sysdeps/nptl/internaltypes.h: ... here.
668 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
669 * sysdeps/nptl/fork.c: Likewise.
670 * sysdeps/nptl/gai_misc.h: Likewise.
671 * sysdeps/nptl/librt-cancellation.c: Likewise.
672 * sysdeps/nptl/jmp-unwind.c: Likewise.
673 * sysdeps/nptl/setxid.h: Likewise.
674 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
675 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
676 * sysdeps/unix/sysv/linux/arm/Implies: New file.
677 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
678 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
679 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
680 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
681 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
682 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
683 * sysdeps/unix/sysv/linux/mips/Implies: New file.
684 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
685 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
686 * sysdeps/unix/sysv/linux/sh/Implies: New file.
687 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
688 * sysdeps/unix/sysv/linux/tile/Implies: New file.
689 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
690 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
691 * nptl/Makeconfig: Moved ...
692 * sysdeps/nptl/Makeconfig: ... here.
693 * nptl/configure: File removed.
694 * nptl/ANNOUNCE: File removed.
695 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
696 * sysdeps/unix/sysv/linux/configure: Regenerated.
698 * nptl/Makefile (routines): Add libc_pthread_init,
699 libc_multiple_threads, register-atfork and unregister-atfork.
700 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
701 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
702 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
703 pthread-pi-defines.sym, structsem.sym.
704 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
705 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
706 [$(subdir) = nptl] (tests): Add tst-setgetname.
707 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
708 * sysdeps/unix/sysv/linux/sigaction.c: Just include
709 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
710 [!LIBC_SIGACTION]: Remove aliases.
711 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
712 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
713 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
714 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
715 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
716 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
719 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
720 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
721 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
722 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
723 __libc_allocate_rtsig_private.
724 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
725 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
726 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
727 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
728 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
729 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
730 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
731 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
732 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
733 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
734 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
735 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
736 * nptl/internaltypes.h: ... here.
737 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
738 * sysdeps/nptl/jmp-unwind.c: ... here.
739 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
740 * nptl/libc-lowlevellock.c: ... here.
741 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
742 * nptl/libc_multiple_threads.c: ... here.
743 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
744 * nptl/libc_pthread_init.c: ... here.
745 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
746 * nptl/lowlevelbarrier.sym: ... here.
747 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
748 * nptl/lowlevelcond.sym: ... here.
749 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
750 * nptl/lowlevellock.c: ... here.
751 * nptl/lowlevellock.h: Moved ...
752 * sysdeps/nptl/lowlevellock.h: ... here.
753 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
754 * nptl/lowlevelrobustlock.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
756 * nptl/lowlevelrobustlock.sym: ... here.
757 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
758 * nptl/lowlevelrwlock.sym: ... here.
759 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
760 * nptl/pt-fork.c: ... here.
761 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
762 * nptl/pthread-pi-defines.sym: ... here.
763 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
764 * nptl/pthread_attr_getaffinity.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
766 * nptl/pthread_attr_setaffinity.c: ... here.
767 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
768 * nptl/pthread_mutex_cond_lock.c: ... here.
769 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
771 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
772 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
773 * nptl/pthread_once.c: ... here, replacing old file.
774 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
775 * nptl/pthread_yield.c: ... here.
776 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
777 * nptl/register-atfork.c: ... here.
778 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
779 * nptl/sem_post.c: ... here.
780 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
781 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
782 * nptl/sem_timedwait.c: ... here.
783 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
784 * nptl/sem_trywait.c: ... here.
785 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
786 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
787 * nptl/sem_wait.c: ... here.
788 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
789 * nptl/structsem.sym: ... here.
790 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
791 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
792 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
793 * nptl/unregister-atfork.c: ... here.
794 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
795 * nptl/unwindbuf.sym: ... here.
796 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
797 * sysdeps/nptl/fork.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
799 * sysdeps/nptl/fork.h: ... here.
800 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
801 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
802 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
803 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
804 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
805 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
806 * sysdeps/unix/sysv/linux/getpid.c: ... here.
807 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
808 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
809 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
810 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
811 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
812 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
813 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
814 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
815 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
816 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
817 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
818 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
819 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
820 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
821 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
822 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
823 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
824 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
825 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
826 * sysdeps/unix/sysv/linux/raise.c: ... here.
827 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
828 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
829 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
830 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
831 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
832 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
833 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
834 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
835 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
836 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
837 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
838 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
839 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
840 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
841 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
843 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
845 * sysdeps/generic/memcopy.h: Add comment for
846 MEMCPY_OK_FOR_FWD_MEMMOVE.
848 2014-07-04 Will Newton <will.newton@linaro.org>
850 * string/memchr.c: Merge from gnulib.
851 [_LIBC]: Remove conditionals.
852 (__ptr_t): Remove define.
853 (LONG_MAX_32_BITS): Likewise.
854 (LONG_MAX): Likewise.
855 (MEMCHR): Use ANSI prototype and optimize algorithm.
857 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
859 2014-07-03 Roland McGrath <roland@hack.frob.com>
861 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
862 (lll_futex_timed_wait_bitset): Fix syscall argument count.
864 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
865 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
866 in a bare environment with no <stdlib.h> installed.
867 * sysdeps/nptl/configure: Regenerated.
869 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
871 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
872 AC_EGREP_CPP for kernel header checks, so they only succeed if
873 including <linux/version.h> actually works right.
874 * sysdeps/unix/sysv/linux/configure: Regenerated.
876 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
877 value so it's not diagnosed as unused.
879 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
880 thing) with "ifeq ($(subdir),rt)".
882 2014-07-03 Richard Henderson <rth@redhat.com>
884 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
885 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
886 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
888 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
889 (math_force_eval): New.
891 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
892 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
894 * sysdeps/alpha/fpu/s_round.c: Remove file.
895 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
897 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
898 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
899 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
900 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
901 (_dl_start, print_statistics): Likewise.
902 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
903 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
905 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
906 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
907 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
908 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
910 (HP_SMALL_TIMING_AVAIL): Define.
911 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
913 (HP_SMALL_TIMING_AVAIL): Define.
914 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
915 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
917 * sysdeps/aarch64/hp-timing.h: New file.
919 * sysdeps/generic/hp-timing.h: Remove dead comment.
920 * sysdeps/generic/hp-timing-common.h: New file.
921 * sysdeps/alpha/hp-timing.h: Include it.
922 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
923 * sysdeps/i386/i686/hp-timing.h: Likewise.
924 * sysdeps/ia64/hp-timing.h: Likewise.
925 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
926 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
927 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
928 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
929 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
930 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
933 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
934 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
935 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
936 * elf/rtld.c (_dl_start_final): Likewise.
937 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
938 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
939 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
940 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
941 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
943 (HP_TIMING_DIFF_INIT): Remove.
944 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
946 (HP_TIMING_DIFF_INIT): Remove.
947 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
948 * sysdeps/i386/i686/hp-timing.c: Remove file.
949 * sysdeps/x86_64/hp-timing.c: Remove file.
950 * sysdeps/ia64/hp-timing.c: Remove file.
951 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
952 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
953 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
954 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
956 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
957 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
958 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
959 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
960 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
961 (HP_TIMING_ACCUM): Remove.
962 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
964 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
966 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
967 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
968 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
969 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
971 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
973 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
975 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
977 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
979 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
981 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
983 Sync up with gettext.
984 * intl/loadmsgcat.c: Define O_BINARY if not defined.
985 [_MSC_VER]: Include malloc.h
986 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
987 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
988 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
989 TEMP_FAILURE_RETRY. Cast return of alloca.
990 [!_LIBC] Call gl_rwlock_init.
991 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
993 2014-07-02 Roland McGrath <roland@hack.frob.com>
995 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
996 before checking its value.
998 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1000 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1002 * debug/memcpy_chk.c: Don't include pagecopy.h.
1003 * debug/mempcpy_chk.c: Likewise.
1004 * string/memcpy.c: Likewise.
1005 * string/memmove.c: Likewise.
1006 * sysdeps/powerpc/memmove.c: Likewise.
1007 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1008 definition of PAGE_COPY_FWD_MAYBE here...
1009 * sysdeps/generic/pagecopy.h: ... from here.
1010 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1012 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1013 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1019 (__libc_ifunc_impl_list): Likewise.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1021 multiarch strcat for PPC64.
1022 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1023 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1025 2014-07-02 Roland McGrath <roland@hack.frob.com>
1027 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1029 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1031 * intl/loadmsgcat.c: Remove declaration of
1032 get_sysdep_segment_value.
1033 (get_sysdep_segment_value): Use ISO C style.
1034 (_nl_load_domain): Use ISO C style. Get rid of redundant
1035 semicolon. Fix typo and formatting in comment.
1036 (_nl_unload_domain): Use ISO C style.
1038 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1040 2014-07-02 Will Newton <will.newton@linaro.org>
1042 * malloc/obstack.c: Merge from gnulib master.
1043 [HAVE_CONFIG_H]: Remove conditional code.
1044 [!_LIBC]: Include config.h.
1045 [!ELIDE_CODE]: Don't include inttypes.h, include
1046 stdint.h unconditionally.
1047 (print_and_abort): Mark as _Noreturn.
1048 (_obstack_allocated_p): Mark as __attribute_pure__.
1049 (obstack_free): Rename to __obstack_free.
1050 [!__attribute__]: Remove conditional code.
1051 * malloc/obstack.h: Merge from gnulib master.
1052 [__cplusplus]: Move conditional down.
1053 [!__attribute_pure__]: Define __attribute_pure__ here
1054 if it is not already defined.
1055 (_obstack_memory_used): Mark as __attribute_pure__.
1056 [!__obstack_free]: Define as obstack_free.
1057 [__GNUC__]: Remove check for ancient NeXT gcc.
1059 2014-07-02 Will Newton <will.newton@linaro.org>
1060 Paul Eggert <eggert@cs.ucla.edu>
1062 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1064 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1066 * resolv/gethnamaddr.c: Add comment warning that the file is
1069 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1071 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1074 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1075 entry for aio_cancel and aio_cancel64.
1076 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1077 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1078 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1079 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1080 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1081 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1082 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1083 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1084 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1085 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1086 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1087 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1088 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1090 2014-07-01 Roland McGrath <roland@hack.frob.com>
1092 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1093 * nptl/pthread_mutex_lock.c: Likewise.
1094 * nptl/pthread_mutex_timedlock.c: Likewise.
1095 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1097 2014-07-01 Richard henderson <rth@redhat.com>
1099 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1100 (__isnan, __isnanl): Remove.
1101 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1103 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1105 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1109 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1111 * resolv/nss_dns/dns-host.c (getanswer_r)
1112 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1114 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1116 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1117 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1119 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1120 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1122 2014-07-01 Roland McGrath <roland@hack.frob.com>
1124 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1125 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1127 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1128 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1130 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1131 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1133 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1134 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1136 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1137 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1138 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1139 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1141 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1142 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1143 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1147 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1149 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1170 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1173 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1174 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1175 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1176 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1177 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1179 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1181 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1182 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1183 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1186 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1190 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1192 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1193 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1195 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1197 * sysdeps/arm/libm-test-ulps: Regenerated.
1199 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1200 Roland McGrath <roland@hack.frob.com>
1202 * test-skeleton.c (signal_handler): Kill the whole process group
1203 before killing the child individually.
1204 (main): Report any failure on `setpgid'.
1206 2014-06-30 Roland McGrath <roland@hack.frob.com>
1208 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1209 from _TLS_H to _ARM_NPTL_TLS_H.
1210 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1211 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1213 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1217 (__expm1l): Return argument unchanged when small but not
1220 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1222 (_FP_UNPACK_RAW_1_P): Likewise.
1223 (_FP_PACK_RAW_1): Likewise.
1224 (_FP_PACK_RAW_1_P): Likewise.
1225 (_FP_MUL_MEAT_1_wide): Likewise.
1226 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1227 (_FP_MUL_MEAT_1_hard): Likewise.
1228 (_FP_DIV_MEAT_1_imm): Likewise.
1229 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1230 (_FP_DIV_MEAT_1_udiv): Likewise.
1231 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1232 (_FP_UNPACK_RAW_2): Likewise.
1233 (_FP_UNPACK_RAW_2_P): Likewise.
1234 (_FP_PACK_RAW_2): Likewise.
1235 (_FP_PACK_RAW_2_P): Likewise.
1236 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1237 (_FP_MUL_MEAT_2_wide): Likewise.
1238 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1239 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1240 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1241 (_FP_MUL_MEAT_2_gmp): Likewise.
1242 (_FP_DIV_MEAT_2_udiv): Likewise.
1243 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1244 (_FP_FRAC_SRL_4): Likewise.
1245 (_FP_FRAC_SRST_4): Likewise.
1246 (_FP_FRAC_SRS_4): Likewise.
1247 (_FP_UNPACK_RAW_4): Likewise.
1248 (_FP_UNPACK_RAW_4_P): Likewise.
1249 (_FP_PACK_RAW_4): Likewise.
1250 (_FP_PACK_RAW_4_P): Likewise.
1251 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1252 (_FP_MUL_MEAT_4_wide): Likewise.
1253 (_FP_MUL_MEAT_4_gmp): Likewise.
1254 (umul_ppppmnnn): Likewise.
1255 (_FP_DIV_MEAT_4_udiv): Likewise.
1256 (__FP_FRAC_ADD_4): Likewise.
1257 (__FP_FRAC_SUB_3): Likewise.
1258 (__FP_FRAC_SUB_4): Likewise.
1259 (__FP_FRAC_DEC_3): Likewise.
1260 (__FP_FRAC_DEC_4): Likewise.
1261 (__FP_FRAC_ADDI_4): Likewise.
1262 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1263 (_FP_FRAC_SRL_8): Likewise.
1264 (_FP_FRAC_SRS_8): Likewise.
1266 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1268 (FP_UNPACK_RAW_EP): Likewise.
1269 (FP_PACK_RAW_E): Likewise.
1270 (FP_PACK_RAW_EP): Likewise.
1271 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1272 (_FP_ISSIGNAN): Likewise.
1273 (_FP_ADD_INTERNAL): Likewise.
1274 (_FP_FMA): Likewise.
1275 (_FP_CMP): Likewise.
1276 (_FP_SQRT): Likewise.
1277 (_FP_TO_INT): Likewise.
1278 (_FP_FROM_INT): Likewise.
1279 (FP_EXTEND): Likewise.
1280 (_FP_DIV_MEAT_N_loop): Likewise.
1282 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1284 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1287 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1291 result with correct sign in case of exponents that produce
1292 overflow except for X very close to 1.
1294 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1296 mktime: merge #if/#ifdef usage from glibc
1297 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1298 as that works with both Glibc's and Gnulib's style.
1299 See thread starting at Siddhesh Poyarekar's bug report at:
1300 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1302 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1304 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1305 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1306 * sysdeps/tile/tilegx/memmove.c: Remove file.
1308 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1310 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1311 abi-name definition.
1312 * scripts/soversions.awk: Do not handle or generate ABI lines.
1313 * shlib-versions: Remove ABI entries.
1314 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1315 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1317 2014-06-27 Roland McGrath <roland@hack.frob.com>
1319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1320 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1327 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1330 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1334 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1336 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1338 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1340 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1347 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1360 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1367 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1372 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1375 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1380 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1383 Identical file removed.
1384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1386 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1388 Identical file removed.
1389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1393 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1395 Identical file removed.
1396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1399 Identical file removed.
1400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1403 Identical file removed.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1405 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1407 Identical file removed.
1408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1410 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1412 Identical file removed.
1413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1419 Identical file removed.
1420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1422 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1425 Identical file removed.
1426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1428 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1430 Identical file removed.
1431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1433 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1442 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1444 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1445 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1446 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1447 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1448 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1450 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1453 * nscd/nscd.c (monitor_child): Return exit status of child
1454 instead of return value from wait syscall.
1456 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1458 * configure.ac (libc_commonpagesize): Remove variable.
1459 (libc_relro_required): Likewise.
1460 (libc_cv_z_relro): Remove configure test.
1461 * configure: Regenerated.
1462 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1464 (libc_relro_required): Likewise.
1465 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1466 (libc_relro_required): Likewise.
1467 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1468 (libc_relro_required): Likewise.
1469 * sysdeps/arm/preconfigure: Regenerated.
1470 * sysdeps/ia64/preconfigure: Remove file.
1471 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1473 (libc_relro_required): Likewise.
1477 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1478 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1479 recompute overflowing results in original rounding mode.
1480 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1481 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1482 recompute overflowing results in original rounding mode.
1483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1484 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1485 recompute overflowing results in original rounding mode.
1486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1487 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1488 recompute overflowing results in original rounding mode.
1489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1490 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1491 recompute overflowing results in original rounding mode.
1492 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1493 (libc_feholdsetround_ctx): New macro.
1494 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1495 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1498 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1500 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1501 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1502 corresponding .cpsetup call.
1504 2014-06-26 Roland McGrath <roland@hack.frob.com>
1506 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1507 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1508 * sysdeps/arm/Makefile [$(subdir) = csu]
1509 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1510 (static-only-routines): Add aeabi_read_tp here.
1511 (shared-only-routines): Add libc-aeabi_read_tp here.
1512 (CFLAGS-libc-start.c): Add -fexceptions here.
1513 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1514 (sysdep_routines, static-only-routines, shared-only-routines):
1515 Don't add to these here.
1516 (CFLAGS-libc-start.c): Likewise.
1518 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1519 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1520 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1521 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1522 * sysdeps/arm/Makefile [$(subdir) = rt]
1523 (librt-sysdep_routines, librt-shared-only-routines):
1524 Append rt-aeabi_unwind_cpp_pr1 here.
1525 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1526 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1527 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1528 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1529 Append nptl-aeabi_unwind_cpp_pr1 here.
1530 (tests): Filter out tst-cleanupx4 here.
1531 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1532 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1533 Don't do those here.
1535 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1537 * scripts/list-sources.sh: Do not handle ports specially.
1539 2014-06-26 Roland McGrath <roland@hack.frob.com>
1541 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1542 * sysdeps/arm/feupdateenv.c: Likewise.
1544 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1546 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1548 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1549 trailing whitespace removed.
1550 * scripts/config.guess: Update to version 2014-03-23.
1551 * scripts/config.sub: Update to version 2014-05-01
1552 * scripts/install-sh: Update to version 2013-12-25.23.
1553 * scripts/move-if-change: Update from gnulib.
1555 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1557 * debug/memmove_chk.c: Remove pagecopy.h include.
1559 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1561 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1562 identical to gnulib mktime.
1564 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1566 * configure.ac: Do not test for machine being rs6000. Do not test
1568 * configure: Regenerated.
1570 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1572 * configure: Regenerated.
1573 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1574 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1575 Remove configure test.
1576 * sysdeps/arm/configure: Regenerated.
1577 * sysdeps/nptl/configure.ac: Do not check
1578 libc_cv_asm_cfi_directives.
1579 * sysdeps/nptl/configure: Regenerated.
1580 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1581 * sysdeps/x86_64/nptl/configure: Remove generated file.
1582 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1584 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1586 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1588 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1589 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1590 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1593 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1594 instead of whether it is defined.
1595 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1596 * sysdeps/hppa/dl-machine.h: Likewise.
1597 * sysdeps/ia64/dl-machine.h: Likewise.
1598 * sysdeps/m68k/dl-machine.h: Likewise.
1599 * sysdeps/microblaze/dl-machine.h: Likewise.
1600 * sysdeps/mips/dl-machine.: Likewise.
1601 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1602 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1603 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1604 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1605 * sysdeps/sh/dl-machine.h: Likewise.
1606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1607 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1608 * sysdeps/tile/dl-machine.h: Likewise.
1609 * sysdeps/x86_64/dl-machine.h: Likewise.
1611 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1613 (verify_persistent_db): Likewise.
1615 2014-06-26 Roland McGrath <roland@hack.frob.com>
1617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1618 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1623 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1626 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1628 Identical file removed.
1629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1641 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1648 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1652 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1654 Identical file removed.
1655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1656 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1661 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1666 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1672 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1675 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1678 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1683 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1689 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1690 * sysdeps/unix/sysv/linux/s390/Versions
1691 (libpthread: GLIBC_2.19): New version set.
1692 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1694 (librt: GLIBC_2.3.3): New version set.
1695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1696 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1697 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1698 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1699 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1701 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1703 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1705 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1706 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1707 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1709 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1711 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1713 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1715 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1716 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1717 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1719 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1721 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1723 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1725 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1731 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1733 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1735 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1737 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1739 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1742 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1743 (__libc_vfork): Define the function under this name.
1744 [!NOT_IN_libc] (__vfork): Make this an alias.
1745 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1747 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1748 (__libc_vfork): Define the function under this name.
1749 [!NOT_IN_libc] (__vfork): Make this an alias.
1750 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1751 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1752 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1754 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1755 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1757 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1758 code that was previously under [RESET_PID].
1759 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1760 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1763 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1764 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1765 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1766 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1767 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1768 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1769 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1770 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1771 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1775 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1799 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1800 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1801 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1802 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1803 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1805 2014-06-25 Roland McGrath <roland@hack.frob.com>
1807 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1808 that was previously under [RESET_PID].
1809 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1811 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1813 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1814 not undefine and redefine.
1815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1816 [O_CLOEXEC]: Make code unconditional.
1817 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1818 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1819 <kernel-features.h>.
1820 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1821 conditional variable definition.
1822 (shm_open) [O_CLOEXEC]: Make code unconditional.
1823 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1826 * configure.ac (USE_REGPARMS): Don't define here.
1827 * configure: Regenerated.
1828 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1829 * sysdeps/i386/configure: Regenerated.
1831 * nptl/createthread.c: Don't include kernel-features.h.
1832 * nptl/pthread_cancel.c: Likewise.
1833 * nptl/pthread_condattr_setclock.c: Likewise.
1834 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1835 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1836 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1837 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1838 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1839 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1843 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1844 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1845 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1846 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1847 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1848 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1849 * nscd/gai.c: Likewise.
1850 * nss/nss_db/db-open.c: Likewise.
1851 * sysdeps/generic/ldsodefs.h: Likewise.
1852 * sysdeps/sh/nptl/tls.h: Likewise.
1853 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1854 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1855 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1856 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1857 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1858 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1859 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1860 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1862 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1863 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1864 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1865 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1866 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1867 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1868 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1869 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1870 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1871 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1872 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1875 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1876 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1877 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1878 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1879 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1880 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1881 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1882 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1883 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1884 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1885 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1886 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1887 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1888 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1889 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1890 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1891 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1892 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1893 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1894 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1895 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1896 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1897 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1898 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1900 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1903 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1904 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1905 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1906 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1907 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1908 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1933 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1934 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1935 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1936 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1937 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1938 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1940 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1941 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1942 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1943 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1944 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1945 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1946 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1947 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1948 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1951 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1952 * sysdeps/unix/sysv/linux/system.c: Likewise.
1953 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1954 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1955 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1956 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1957 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1959 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1961 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1962 * configure: Regenerated.
1963 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1965 * configure.ac (base_machine): Do not set specially for particular
1967 * configure: Regenerated.
1968 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1969 settings from configure.ac.
1970 * sysdeps/i386/preconfigure: New file.
1971 * sysdeps/s390/preconfigure: Likewise.
1972 * sysdeps/sh/preconfigure: Likewise.
1973 * sysdeps/sparc/preconfigure: Likewise.
1975 2014-06-25 Roland McGrath <roland@hack.frob.com>
1977 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1978 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1979 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1980 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1981 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1982 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1983 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1984 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1985 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1986 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1987 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1988 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1989 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1990 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1991 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1992 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1994 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1995 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1997 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1998 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1999 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2000 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2001 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2002 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2003 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2004 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2005 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2006 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2007 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2008 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2010 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2012 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2014 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2015 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2016 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2018 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2020 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2021 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2024 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2025 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2026 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2027 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2028 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2030 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2031 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2032 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2033 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2034 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2059 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2062 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2064 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2067 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2071 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2086 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2088 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2109 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2111 * timezone/checktab.awk: Update from tzcode 2014e.
2112 * timezone/private.h: Likewise.
2113 * timezone/tzfile.h: Likewise.
2114 * timezone/zdump.c: Likewise.
2115 * timezone/zic.c: Likewise.
2117 * sysdeps/unix/sysv/linux/kernel-features.h
2118 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2120 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2121 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2122 Remove conditional code.
2124 2014-06-25 Will Newton <will.newton@linaro.org>
2126 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2127 (_dl_arm_cap_flags): Add HWCAP2 values.
2128 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2129 (_DL_HWCAP_COUNT): Increase to 37.
2130 (_DL_HWCAP_LAST): New define.
2131 (_DL_HWCAP2_LAST): New define.
2132 (_dl_procinfo): Add support for printing
2134 (_dl_string_hwcap): Use _dl_hwcap_string.
2136 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2140 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2142 * README: Do not mention ports directory.
2144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2146 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2147 <kernel-features.h>.
2148 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2149 conditional variable definition.
2150 (__futimes): Update comment.
2151 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2152 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2155 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2156 arguments close to 0.
2157 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2159 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2161 * math/auto-libm-test-in: Add more tests of exp10.
2162 * math/auto-libm-test-out: Regenerated.
2163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2165 * sysdeps/unix/sysv/linux/kernel-features.h
2166 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2167 * sysdeps/unix/sysv/linux/readv.c: Do not include
2168 <kernel-features.h>.
2169 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2170 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2171 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2173 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2175 * sysdeps/unix/sysv/linux/writev.c: Do not include
2176 <kernel-features.h>.
2177 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2178 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2179 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2181 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2184 2014-06-25 Will Newton <will.newton@linaro.org>
2186 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2187 comment changes throughout the file. Remove checks
2188 for HAVE_*_H definitions that are not required.
2189 (__gen_tempname): Call abort if an unknown kind value is
2192 2014-06-25 Andreas Schwab <schwab@suse.de>
2195 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2196 scalbln, scalblnf, scalblnl in libc.
2198 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2201 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2202 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2203 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2205 2014-06-24 Roland McGrath <roland@hack.frob.com>
2207 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2208 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2209 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2210 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2212 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2213 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2215 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2216 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2217 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2218 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2219 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2220 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2221 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2222 * sysdeps/x86/bits/semaphore.h: ... here.
2223 * sysdeps/x86/nptl/elide.h: Moved ...
2224 * sysdeps/x86/elide.h: ... here.
2225 * sysdeps/x86_64/nptl/Implies: File removed.
2226 * sysdeps/i386/nptl/Implies: File removed.
2228 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2231 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2232 return the argument for normal arguments with exponent below -64.
2233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2235 * math/auto-libm-test-in: Add another test of expm1.
2236 * math/auto-libm-test-out: Regenerated.
2239 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2240 calling __erfcl for arguments at least 16.
2241 * math/auto-libm-test-in: Add more tests of erf.
2242 * math/auto-libm-test-out: Regenerated.
2244 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2245 individual architectures.
2246 * sysdeps/unix/sysv/linux/configure: Regenerated.
2247 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2248 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2249 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2250 (ldd_rewrite_script): Define variable.
2251 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2256 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2257 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2258 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2259 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2260 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2261 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2262 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2263 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2265 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2268 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2269 Rename member __data.d to __data.__elision_data.
2271 2014-06-24 Wilco <wdijkstr@arm.com>
2273 * NEWS: Add 16918 to fixed bug list.
2275 2014-06-24 Wilco <wdijkstr@arm.com>
2277 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2279 2014-06-24 Wilco <wdijkstr@arm.com>
2281 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2282 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2283 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2284 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2285 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2286 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2287 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2290 2014-06-24 Wilco <wdijkstr@arm.com>
2292 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2294 2014-06-24 Wilco <wdijkstr@arm.com>
2296 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2297 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2298 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2299 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2301 2014-06-24 Wilco <wdijkstr@arm.com>
2304 * sysdeps/arm/feupdateenv.c (feupdateenv):
2305 Rewrite to reduce FPSCR accesses and fix return value.
2307 2014-06-24 Wilco <wdijkstr@arm.com>
2309 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2310 Optimize to avoid unnecessary FPSCR writes.
2311 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2312 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2313 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2314 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2316 2014-06-24 Wilco <wdijkstr@arm.com>
2318 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2319 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2320 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2321 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2322 Call libc_fetestexcept_vfp.
2323 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2324 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2325 __SOFTFP__ ifdef so that they can be built for softfp.
2327 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2329 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2330 argument type signed char.
2332 * Makerules (check-abi): Dump diff of symlist if the test
2335 2014-06-23 Roland McGrath <roland@hack.frob.com>
2337 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2340 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2341 Remove unused variable ST.
2343 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2347 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2348 small arguments before calling __expm1.
2349 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2350 small arguments before calling __expm1f.
2351 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2352 small arguments before calling __expm1l.
2353 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2355 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2356 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2357 spurious underflow for some cosh tests.
2358 * math/auto-libm-test-out: Regenerated.
2359 * sysdeps/i386/fpu/libm-test-ulps: Update.
2362 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2363 (__ieee754_y1): Set errno if return value overflows.
2364 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2365 (__ieee754_y1f): Set errno if return value overflows.
2366 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2367 (__ieee754_y1l): Set errno if return value overflows.
2368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2369 (__ieee754_y1l): Set errno if return value overflows.
2370 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2371 * math/auto-libm-test-out: Regenerated.
2373 * math/gen-auto-libm-tests.c: Document use of
2374 ignore-zero-inf-sign.
2375 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2376 (input_flags): Add ignore-zero-inf-sign.
2377 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2378 * math/gen-libm-test.pl (generate_testfile): Handle
2379 ignore-zero-inf-sign.
2380 * math/auto-libm-test-in: Mark some cpow tests with
2381 ignore-zero-inf-sign and some with xfail-rounding.
2382 * math/auto-libm-test-out: Regenerated.
2383 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2384 * sysdeps/i386/fpu/libm-test-ulps: Update.
2385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2389 overflowing or underflowing operations take place with sign of
2391 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2393 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2394 (__ieee754_pow): Recompute overflowing and underflowing results in
2395 original rounding mode.
2396 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2397 (__powl_helper): Allow negative argument X and scale negated value
2398 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2399 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2400 overflowing or underflowing operations take place with sign of
2402 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2404 * math/auto-libm-test-in: Add more tests of pow.
2405 * math/auto-libm-test-out: Regenerated.
2406 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2407 (pow_tonearest_test_data): Remove.
2408 (pow_test_tonearest): Likewise.
2409 (pow_towardzero_test_data): Likewise.
2410 (pow_test_towardzero): Likewise.
2411 (pow_downward_test_data): Likewise.
2412 (pow_test_downward): Likewise.
2413 (pow_upward_test_data): Likewise.
2414 (pow_test_upward): Likewise.
2415 (main): Don't call removed functions.
2416 * sysdeps/i386/fpu/libm-test-ulps: Update.
2417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419 2014-06-23 Roland McGrath <roland@hack.frob.com>
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2595 2014-06-23 Will Newton <will.newton@linaro.org>
2596 Wilco <wdijkstr@arm.com>
2598 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2599 implementation. Include get-rounding-mode.h.
2600 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2601 [!libc_feholdsetround_noex_ctx]: Define
2602 libc_feholdsetround_noex_ctx.
2603 [!libc_feholdsetround_noexf_ctx]: Define
2604 libc_feholdsetround_noexf_ctx.
2605 [!libc_feholdsetround_noexl_ctx]: Define
2606 libc_feholdsetround_noexl_ctx.
2607 (libc_feholdsetround_ctx): New function.
2608 (libc_feresetround_ctx): New function.
2609 (libc_feholdsetround_noex_ctx): New function.
2610 (libc_feresetround_noex_ctx): New function.
2612 2014-06-23 Roland McGrath <roland@hack.frob.com>
2614 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2615 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2616 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2617 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2618 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2619 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2621 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2622 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2623 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2624 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2625 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2626 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2628 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2630 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2633 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2638 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2641 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2643 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2645 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2650 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2653 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2658 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2662 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2663 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2664 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2665 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2669 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2672 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2676 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2677 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2678 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2685 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2692 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2696 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2698 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2699 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2705 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2707 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2709 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2713 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2715 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2717 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2719 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2727 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2730 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2731 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2732 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2733 (IPV6_PMTUDISC_INTERFACE): Likewise.
2734 (IPV6_PMTUDISC_OMIT): Likewise.
2736 2014-06-23 Andreas Schwab <schwab@suse.de>
2738 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2739 Remove unused errout label.
2741 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2744 macro: hardware supports Vector Crypto instructions.
2746 2014-06-23 Will Newton <will.newton@linaro.org>
2748 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2749 rather than __builtin_expect.
2751 * elf/dl-lookup.c (undefined_msg): Remove variable.
2752 (_dl_lookup_symbol_x): Replace undefined_msg with string
2755 * elf/dl-lookup.c (do_lookup_unique): New function.
2756 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2757 to a separate function.
2759 2014-06-23 Andreas Schwab <schwab@suse.de>
2762 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2763 before reading the next line.
2765 2014-06-23 Will Newton <will.newton@linaro.org>
2767 * test-skeleton.c (signal_handler): Use printf and %m
2768 rather than perror. Use printf rather than fprintf to
2769 stderr. Use puts rather than fputs to stderr.
2772 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2774 * nscd/nscd.c (thread_info_t): Remove typedef.
2775 (thread_info): Remove variable.
2777 2014-06-21 Allan McRae <allan@archlinux.org>
2779 * NEWS: Mention CVE-2014-4043.
2781 2014-06-20 Roland McGrath <roland@hack.frob.com>
2783 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2784 * nptl/smp.h: ... here.
2786 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2788 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2789 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2790 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2791 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2793 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2794 * nptl/stack-aliasing.h: New file.
2795 * sysdeps/i386/i686/stack-aliasing.h: New file.
2796 * sysdeps/i386/i686/nptl/Makefile: File removed.
2797 * sysdeps/x86_64/stack-aliasing.h: New file.
2798 * sysdeps/x86_64/nptl/Makefile
2799 (CFLAGS-pthread_create.c): Variable removed.
2801 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2802 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2804 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2805 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2808 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2810 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2811 (__ASSUME_SIGFRAME_V2): Remove macro.
2812 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2813 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2814 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2815 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2816 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2817 Declare as function. Remove conditional macro definitions.
2818 (__default_rt_sa_restorer): Likewise.
2819 (__default_sa_restorer_v1): Remove declaration.
2820 (__default_sa_restorer_v2): Likewise.
2821 (__default_rt_sa_restorer_v1): Likewise.
2822 (__default_rt_sa_restorer_v2): Likewise.
2823 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2824 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2825 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2827 2014-06-20 Roland McGrath <roland@hack.frob.com>
2829 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2830 (libpthread-routines): Add sysdep.
2831 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2832 * sysdeps/unix/sysv/linux/sparc/Versions
2833 (libpthread: GLIBC_2.3.3): New version set.
2834 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2835 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2836 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2838 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2839 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2841 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2842 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2843 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2845 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2847 * sysdeps/sparc/nptl/sem_init.c: ... here.
2848 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2849 * sysdeps/sparc/nptl/sem_post.c: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2851 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2852 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2853 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2854 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2855 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2856 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2857 (libpthread-routines): Add cpu_relax.
2858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2860 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2861 (librt: GLIBC_2.3.3): New version set.
2862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2863 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2865 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2868 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2871 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2873 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2875 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2877 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2879 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2882 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2886 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2890 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2894 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2902 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2905 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2911 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2922 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2924 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2925 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2926 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2927 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2928 * nscd/nscd.c: Likewise.
2929 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2930 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2931 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2932 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2934 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2935 <kernel-features.h>.
2936 (init_mq_netlink): Remove conditional have_sock_cloexec
2937 definitions. Remove code conditional on have_sock_cloexec < 0.
2938 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2939 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2940 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2941 <kernel-features.h>.
2942 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2943 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2945 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2948 Add tests for memset_chk and memset.
2950 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2953 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2956 * elf/tst-dl-iter-static.c: New file.
2957 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2959 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2962 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2964 * sysdeps/unix/sysv/linux/kernel-features.h
2965 (__ASSUME_F_GETOWN_EX): Remove macro.
2966 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2967 <kernel-features.h>.
2968 (miss_F_GETOWN_EX): Remove variable or macro.
2969 (do_fcntl): Do not check miss_F_GETOWN_EX.
2970 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2975 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2976 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2978 * sysdeps/unix/sysv/linux/kernel-features.h
2979 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2980 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2981 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2982 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2984 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2987 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2988 Fix calculation of the symbol's value.
2989 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2990 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2991 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2992 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2993 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2994 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2995 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2996 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2997 (modules-names): Add `tst-armtlsdescmod',
2998 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2999 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3000 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3001 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3002 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3003 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3004 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3005 ($(objpfx)tst-armtlsdescloc): New dependency.
3006 ($(objpfx)tst-armtlsdescextnow): Likewise.
3007 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3008 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3010 * sysdeps/arm/configure: Regenerate.
3012 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3014 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3015 (__atfct_seterrno_2): Likewise.
3016 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3017 <kernel-features.h>.
3018 (__ASSUME_ATFCTS): Do not undefine and redefine.
3019 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3020 (__have_atfcts): Remove conditional definition.
3021 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3022 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3023 unreachable if [__ASSUME_ATFCTS].
3024 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3025 not undefine and redefine.
3026 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3027 <kernel-features.h>.
3028 (faccessat) [__NR_faccessat]: Make code unconditional.
3029 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3030 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3031 <kernel-features.h>.
3032 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3033 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3034 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3035 <kernel-features.h>.
3036 (fchownat) [__NR_fchownat]: Make code unconditional.
3037 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3038 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3039 <kernel-features.h>.
3040 (futimesat) [__NR_futimesat]: Make code unconditional.
3041 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3042 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3043 <kernel-features.h>.
3044 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3045 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3046 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3047 <kernel-features.h>.
3048 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3049 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3050 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3051 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3052 <kernel-features.h>.
3053 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3054 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3055 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3056 <kernel-features.h>.
3057 (linkat) [__NR_linkat]: Make code unconditional.
3058 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3059 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3060 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3061 <kernel-features.h>.
3062 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3063 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3064 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3065 <kernel-features.h>.
3066 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3067 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3068 * sysdeps/unix/sysv/linux/openat.c: Do not include
3069 <kernel-features.h>.
3070 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3071 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3072 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3073 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3075 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3076 <kernel-features.h>.
3077 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3078 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3079 result of INLINE_SYSCALL directly, not via int variable.
3080 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3081 <kernel-features.h>.
3082 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3083 (renameat) [__NR_renameat]: Make code unconditional.
3084 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3085 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3086 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3089 (__ASSUME_ATFCTS): Do not undefine and redefine.
3090 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3091 <kernel-features.h>.
3092 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3093 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3094 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3095 <kernel-features.h>.
3096 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3097 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3098 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3099 (__ASSUME_ATFCTS): Do not undefine and redefine.
3100 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3101 <kernel-features.h>.
3102 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3103 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3104 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3105 <kernel-features.h>.
3106 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3107 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3109 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3111 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3113 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3116 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3117 constructed tree before returning error.
3118 * posix/bug-regexp36.c: Expand test case.
3120 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3123 * math/libm-test.inc (scalbln_test_date):
3124 Add errno expectations.
3125 * math/w_scalblnf.c: New File.
3126 Add wrapper which checks for setting errno to ERANGE.
3127 Add weak_alias for corresponding scalbln function.
3128 * math/w_scalbln.c: Likewise.
3129 * math/w_scalblnl.c: Likewise.
3130 * math/Makefile (libm-calls): Add w_scalbln.
3131 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3132 Remove weak_alias for corresponding scalbln function.
3133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3137 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3138 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3139 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3140 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3141 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3142 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3143 Remove long_double_symbol for scalblnl function in libm, libc.
3144 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3145 Add wrapper which checks for setting errno to ERANGE.
3146 Add long_double_symbol for scalblnl function in libm, libc.
3147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3148 Remove long_double_symbol for scalblnl in libm.
3149 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3150 Add wrapper which checks for setting errno to ERANGE.
3151 Add long_double_symbol for scalblnl function in libm.
3152 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3153 Do not use wrapper because of own implementation.
3155 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3157 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3158 3 bytes for __pad1 for x32.
3159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3161 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3162 H.J. Lu <hongjiu.lu@intel.com>
3164 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3165 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3166 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3167 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3168 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3170 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3173 * posix/regcomp.c (parse_expression): Deallocate partially
3174 constructed tree before returning error.
3175 * posix/Makefile.c (tests): Add bug-regex36.
3176 (generated): Add bug-regex36.mtrace.
3177 (tests-special): Add $(objpfx)bug-regex36-mem.out
3178 (bug-regex36-ENV): New variable.
3179 ($(objpfx)bug-regex36-mem.out): New rule.
3180 * posix/bug-regex36.c: New file.
3182 2014-06-19 Will Newton <will.newton@linaro.org>
3184 * malloc/malloc.c (systrim): If extra is zero then return
3187 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3189 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3191 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3193 * sysdeps/aarch64/strchr.S: New file.
3195 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3198 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3199 from arguments -2 or below.
3200 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3201 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3203 2014-06-18 Andreas Schwab <schwab@suse.de>
3206 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3207 of a bracket expr not to run off the end of the string.
3208 * posix/Makefile (tests): Add tst-fnmatch3.
3209 * posix/tst-fnmatch3.c: New file.
3211 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3213 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3214 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3215 [$(cross-compiling) = no]: Likewise.
3216 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3217 [$(cross-compiling) = no]: Likewise.
3219 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3223 double, adjusted for any remainder from the high double.
3224 * math/libm-test.inc (nearbyint): Add tests.
3227 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3229 * nptl/sysdeps/powerpc/Makefile: Moved ...
3230 * sysdeps/powerpc/nptl/Makefile: ... here.
3231 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3232 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3233 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3234 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3235 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3236 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3237 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3238 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3239 * nptl/sysdeps/powerpc/tls.h: Moved ...
3240 * sysdeps/powerpc/nptl/tls.h: ... here.
3242 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3245 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3246 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3247 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3248 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3249 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3250 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3251 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3252 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3253 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3255 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3257 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3259 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3261 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3264 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3267 2014-06-16 Florian Weimer <fweimer@redhat.com>
3270 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3271 non-executed part of the test.
3273 2014-06-16 Andreas Schwab <schwab@suse.de>
3275 * string/bits/string2.h (strdup, strndup): Update feature guard.
3277 2014-06-14 David S. Miller <davem@davemloft.net>
3279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3281 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3283 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3284 that was previously under [RESET_PID].
3285 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3287 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3288 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3289 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3290 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3291 (__libc_vfork): New strong alias.
3292 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3294 2014-06-14 Andi Kleen <ak@linux.intel.com>
3296 * sysdeps/generic/elide.h: New file.
3298 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3300 * Makefile (installed-headers): Adjust path of pthread.h header.
3302 2014-06-13 Roland McGrath <roland@hack.frob.com>
3304 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3305 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3307 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3309 * nptl/sysdeps/s390/Makefile: Moved ...
3310 * sysdeps/s390/nptl/Makefile: ... here.
3311 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3312 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3313 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3314 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3315 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3316 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3317 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3318 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3319 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3320 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3321 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3322 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3323 * nptl/sysdeps/s390/tls.h: Moved ...
3324 * sysdeps/s390/nptl/tls.h: ... here.
3326 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3327 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3329 2014-06-13 David S. Miller <davem@davemloft.net>
3331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3334 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3338 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3339 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3340 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3341 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3342 Remove RESET_PID cpp guards.
3343 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3344 Remove RESET_PID cpp guards.
3345 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3347 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3349 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3352 2014-06-13 Andi Kleen <ak@linux.intel.com>
3354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3356 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3357 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3358 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3361 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3365 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3366 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3371 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3372 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3375 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3376 (pthread_rwlock_rdlock): Add elision.
3377 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3378 (pthread_rwlock_wrlock): Add elision.
3379 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3380 (pthread_rwlock_trywrlock): Add elision.
3381 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3382 (pthread_rwlock_tryrdlock): Add elision.
3383 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3384 (pthread_rwlock_tryrdlock): Add elision unlock.
3385 * nptl/sysdeps/pthread/pthread.h:
3386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3387 (PTHREAD_RWLOCK_INITIALIZER,
3388 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3389 Handle new elision field.
3390 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3391 * sysdeps/arm/nptl/bits/pthreadtypes.h
3392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3393 * sysdeps/sh/nptl/bits/pthreadtypes.h
3394 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3395 * sysdeps/tile/nptl/bits/pthreadtypes.h
3396 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3397 * sysdeps/a/nptl/bits/pthreadtypes.h
3398 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3399 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3400 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3401 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3402 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3403 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3405 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3406 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3407 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3409 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3411 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3413 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3415 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3416 (elision_init): Set try_xbegin to zero when no RTM.
3417 * sysdeps/x86/nptl/bits/pthreadtypes.h
3418 (pthread_rwlock_t): Change __pad1 to __rwelision.
3419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3421 2014-06-13 Andi Kleen <ak@linux.intel.com>
3423 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3424 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3425 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3426 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3428 2014-06-13 Meador Inge <meadori@codesourcery.com>
3431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3432 that the cached result has been set before returning it.
3434 2014-06-12 Roland McGrath <roland@hack.frob.com>
3436 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3437 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3438 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3439 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3441 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3443 * nptl/sysdeps/sparc/Makefile: Moved ...
3444 * sysdeps/sparc/nptl/Makefile: ... here.
3445 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3446 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3447 * nptl/sysdeps/sparc/tls.h: Moved ...
3448 * sysdeps/sparc/nptl/tls.h: ... here.
3449 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3450 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3451 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3452 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3453 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3454 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3455 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3456 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3457 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3458 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3459 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3460 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3461 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3462 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3463 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3464 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3465 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3468 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3471 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3474 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3478 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3480 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3481 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3483 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3484 (struct list_links): Type removed.
3485 (struct thread_node, struct timer_node): Replace struct list_links
3486 with struct list_head.
3487 (list_unlink_ip): Likewise.
3488 * sysdeps/pthread/timer_routines.c
3489 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3490 (list_append, list_insbefore): Likewise.
3491 (list_init): Function removed.
3492 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3493 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3494 * sysdeps/pthread/Makefile: ... here, new file.
3496 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3497 * sysdeps/nptl/Implies: ... here.
3498 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3499 * nptl/sysdeps/pthread/list.h: Moved ...
3500 * include/list.h: ... here.
3501 * nptl/sysdeps/pthread/createthread.c: Moved ...
3502 * nptl/createthread.c: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3504 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3505 * nptl/pt-longjmp.c: ... here.
3506 * nptl/sysdeps/pthread/Makefile: Moved ...
3507 * sysdeps/nptl/Makefile: ... here.
3508 * nptl/sysdeps/pthread/Subdirs: Moved ...
3509 * sysdeps/nptl/Subdirs: ... here.
3510 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3511 * sysdeps/nptl/aio_misc.h: ... here.
3512 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3513 * sysdeps/nptl/bits/libc-lock.h: ... here.
3514 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3515 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3516 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3517 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3518 * nptl/sysdeps/pthread/configure: Moved ...
3519 * sysdeps/nptl/configure: ... here.
3520 * nptl/sysdeps/pthread/configure.ac: Moved ...
3521 * sysdeps/nptl/configure.ac: ... here.
3522 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3523 * sysdeps/nptl/gai_misc.h: ... here.
3524 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3525 * sysdeps/nptl/librt-cancellation.c: ... here.
3526 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3527 * sysdeps/nptl/malloc-machine.h: ... here.
3528 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3529 * sysdeps/nptl/pthread-functions.h: ... here.
3530 * nptl/sysdeps/pthread/pthread.h: Moved ...
3531 * sysdeps/nptl/pthread.h: ... here.
3532 * nptl/sysdeps/pthread/setxid.h: Moved ...
3533 * sysdeps/nptl/setxid.h: ... here.
3534 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3535 * sysdeps/nptl/sigfillset.c: ... here.
3536 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3537 * sysdeps/nptl/tcb-offsets.h: ... here.
3538 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3539 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3540 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3541 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3542 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3543 * sysdeps/pthread/allocalim.h: ... here.
3544 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3545 * sysdeps/pthread/bits/sigthread.h: ... here.
3546 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3547 * sysdeps/pthread/flockfile.c: ... here.
3548 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3549 * sysdeps/pthread/ftrylockfile.c: ... here.
3550 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3551 * sysdeps/pthread/funlockfile.c: ... here.
3552 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3553 * sysdeps/pthread/posix-timer.h: ... here.
3554 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3555 * sysdeps/pthread/timer_create.c: ... here.
3556 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3557 * sysdeps/pthread/timer_delete.c: ... here.
3558 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3559 * sysdeps/pthread/timer_getoverr.c: ... here.
3560 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3561 * sysdeps/pthread/timer_gettime.c: ... here.
3562 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3563 * sysdeps/pthread/timer_routines.c: ... here.
3564 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3565 * sysdeps/pthread/timer_settime.c: ... here.
3566 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3567 * sysdeps/pthread/tst-timer.c: ... here.
3568 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3569 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3571 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3572 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3574 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3575 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3576 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3577 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3578 Update #include target.
3579 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3580 * sysdeps/i386/i686/nptl/Makefile: ... here.
3581 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3582 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3583 Update #include target.
3584 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3585 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3586 * nptl/sysdeps/i386/Makefile: Moved ...
3587 * sysdeps/i386/nptl/Makefile: ... here.
3588 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3589 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3590 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3591 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3592 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3593 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3594 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3595 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3596 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3597 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3598 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3599 * nptl/sysdeps/i386/tls.h: Moved ...
3600 * sysdeps/i386/nptl/tls.h: ... here.
3602 * sysdeps/sh/Makefile [$(subdir) = csu]
3603 (gen-as-const-headers): Add tcb-offsets.sym.
3604 * nptl/sysdeps/sh/Makefile: File removed.
3605 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3606 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3607 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3608 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3609 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3610 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3611 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3612 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3613 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3614 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3615 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3616 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3617 * nptl/sysdeps/sh/tls.h: Moved ...
3618 * sysdeps/sh/nptl/tls.h: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3620 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3622 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3624 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3625 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3626 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3628 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3629 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3630 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3632 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3634 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3636 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3638 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3640 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3642 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3650 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3652 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3654 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3656 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3657 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3658 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3659 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3660 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3661 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3662 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3663 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3664 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3665 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3666 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3668 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3670 * posix/spawn_faction_addopen.c: Include string.h.
3672 2014-06-11 Roland McGrath <roland@hack.frob.com>
3674 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3675 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3676 * nptl/sysdeps/x86_64/Makefile: Moved ...
3677 * sysdeps/x86_64/nptl/Makefile: ... here.
3678 * nptl/sysdeps/x86_64/configure: Moved ...
3679 * sysdeps/x86_64/nptl/configure: ... here.
3680 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3681 * sysdeps/x86_64/nptl/configure.ac: ... here.
3682 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3683 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3684 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3685 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3686 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3687 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3688 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3689 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3690 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3691 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3692 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3693 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3694 * nptl/sysdeps/x86_64/tls.h: Moved ...
3695 * sysdeps/x86_64/nptl/tls.h: ... here.
3696 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3697 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3698 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3699 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3701 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3703 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3707 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3709 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3711 [POSIX] (off_t): Likewise.
3712 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3713 [POSIX] (S_ISBLK): Require macro.
3714 [POSIX] (S_ISCHR): Likewise.
3715 [POSIX] (S_ISDIR): Likewise.
3716 [POSIX] (S_ISFIFO): Likewise.
3717 [POSIX] (S_ISREG): Likewise.
3718 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3720 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3722 [POSIX] (time_t): Likewise.
3723 [POSIX] (timer_t): Likewise.
3725 2014-06-11 Florian Weimer <fweimer@redhat.com>
3728 * posix/spawn_int.h (struct __spawn_action): Make the path string
3729 non-const to support deallocation.
3730 * posix/spawn_faction_addopen.c
3731 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3732 * posix/spawn_faction_destroy.c
3733 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3734 path in all spawn_do_open actions.
3735 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3736 posix_spawn_file_actions_addopen.
3738 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3740 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3741 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3742 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3743 conditional code always true.
3744 (__libc_vfork): New alias.
3746 2014-06-11 Roland McGrath <roland@hack.frob.com>
3748 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3749 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3751 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3753 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3754 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3756 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3757 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3759 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3760 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3762 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3764 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3765 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3766 multiarch strcmp for PPC64.
3767 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3768 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3770 multiarch optimizations.
3771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3772 (__libc_ifunc_impl_list): Likewise.
3774 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3776 * benchtests/scripts/validate_benchout.py: New script.
3777 * benchtests/Makefile (bench-func): Call it.
3778 * benchtests/scripts/benchout.schema.json: New file.
3780 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3782 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3783 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3784 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3785 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3786 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3787 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3788 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3789 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3790 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3791 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3792 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3793 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3794 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3795 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3796 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3797 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3902 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3903 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3907 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3918 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3923 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3926 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3931 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3933 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3934 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3935 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3936 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3937 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3939 2014-06-10 Wilco <wdijkstr@arm.com>
3941 * math/test-fenv-return.c: New file.
3942 * math/Makefile: Add new test test-fenv-return.
3944 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3947 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3949 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3950 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3951 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3952 0.0L for an argument of 1.0L.
3953 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3955 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3956 value when x - 1 is zero.
3957 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3964 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3966 2014-06-09 Roland McGrath <roland@hack.frob.com>
3968 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3969 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3971 2014-06-09 Roland McGrath <roland@hack.frob.com>
3973 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3974 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3976 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3977 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3979 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3980 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3982 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3983 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3985 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3986 if not already defined.
3987 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3988 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3989 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3990 (TLS_INIT_TP): Use it.
3991 (TLS_DEFINE_INIT_TP): New macro.
3992 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3994 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3996 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3998 [POSIX] (IXANY): Likewise.
3999 [POSIX] (OLCUC): Likewise.
4000 [POSIX || POSIX2008] (CBAUD): Do not allow.
4001 [POSIX || POSIX2008] (DEFECHO): Likewise.
4002 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4003 [POSIX || POSIX2008] (ECHOKE): Likewise.
4004 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4005 [POSIX || POSIX2008] (EXTA): Likewise.
4006 [POSIX || POSIX2008] (EXTB): Likewise.
4007 [POSIX || POSIX2008] (FLUSHO): Likewise.
4008 [POSIX || POSIX2008] (LOBLK): Likewise.
4009 [POSIX || POSIX2008] (PENDIN): Likewise.
4010 [POSIX || POSIX2008] (SWTCH): Likewise.
4011 [POSIX || POSIX2008] (VDISCARD): Likewise.
4012 [POSIX || POSIX2008] (VDSUSP): Likewise.
4013 [POSIX || POSIX2008] (VLNEXT): Likewise.
4014 [POSIX || POSIX2008] (VREPRINT): Likewise.
4015 [POSIX || POSIX2008] (VSTATUS): Likewise.
4016 [POSIX || POSIX2008] (VWERASE): Likewise.
4017 (B*): Change to B[0123456789]*.
4018 * conform/data/time.h-data [POSIX || UNIX98]
4019 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4020 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4021 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4022 [POSIX] (tm_*): Do not allow.
4024 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4026 * Makefile (install): Don't set LANGUAGE.
4027 * Makefile.in (install): Likewise.
4028 * assert/Makefile (test-assert-ENV): Remove variable.
4029 (test-assert-perr-ENV): Likewise.
4030 * elf/Makefile (neededtest4-ENV): Likewise.
4031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4032 [$(cross-compiling) = no]: Don't set LANGUAGE.
4033 * io/ftwtest-sh (LANG): Remove variable.
4034 * libio/Makefile (tst-widetext-ENV): Likewise.
4035 * manual/install.texi (Running make install): Don't refer to
4036 environment settings for make install.
4037 * INSTALL: Regenerated.
4038 * nptl/tst-tls6.sh: Don't set LANG.
4039 * posix/globtest.sh (LANG): Remove variable.
4040 * string/Makefile (tester-ENV): Likewise.
4041 (inl-tester-ENV): Likewise.
4042 (noinl-tester-ENV): Likewise.
4043 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4044 [$(cross-compiling) = no]: Don't set LANGUAGE.
4045 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4046 without explicit environment settings.
4048 2014-06-06 Roland McGrath <roland@hack.frob.com>
4050 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4051 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4053 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4055 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4057 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4058 other files in the crypt directory.
4059 * crypt/crypt.c: Remove duplicate includes.
4060 * crypt/crypt-entry.c: Likewise.
4061 * crypt/crypt_util.c: Likewise.
4063 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4065 * Makeconfig (run-program-env): New variable.
4066 (run-program-prefix-before-env): Likewise.
4067 (run-program-prefix-after-env): Likewise.
4068 (run-program-prefix): Define in terms of new variables.
4069 (built-program-cmd-before-env): New variable.
4070 (built-program-cmd-after-env): Likewise.
4071 (built-program-cmd): Define in terms of new variables.
4072 (test-program-prefix-before-env): New variable.
4073 (test-program-prefix-after-env): Likewise.
4074 (test-program-prefix): Define in terms of new variables.
4075 (test-program-cmd-before-env): New variable.
4076 (test-program-cmd-after-env): Likewise.
4077 (test-program-cmd): Define in terms of new variables.
4078 * Rules (make-test-out): Use $(run-program-env).
4079 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4080 (help): Do not mention environment variables. Mention
4081 --timeoutfactor option.
4082 (timeoutfactor): New variable.
4083 (blacklist_exports): Remove function.
4084 (exports): Remove variable.
4085 (command): Do not include ${exports}.
4086 * manual/install.texi (Configuring and compiling): Do not mention
4087 test wrappers preserving environment variables. Mention that last
4088 assignment to a variable must take precedence.
4089 * INSTALL: Regenerated.
4090 * benchtests/Makefile (run-bench): Use $(run-program-env).
4091 * catgets/Makefile ($(objpfx)test1.cat): Use
4092 $(built-program-cmd-before-env), $(run-program-env) and
4093 $(built-program-cmd-after-env).
4094 ($(objpfx)test2.cat): Do not specify environment variables
4096 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4097 $(run-program-env) and $(built-program-cmd-after-env).
4098 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4099 $(run-program-env) and $(test-program-cmd-after-env).
4100 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4102 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4103 run_program_env and test_program_cmd_after_env arguments.
4104 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4105 * elf/tst-pathopt.sh: Use run_program_env argument.
4106 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4107 $(test-wrapper-env) and $(run-program-env).
4108 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4109 run_program_env arguments.
4110 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4111 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4112 $(test-program-prefix-before-env), $(run-program-env) and
4113 $(test-program-prefix-after-env).
4114 ($(objpfx)tst-gettext2.out): Likewise.
4115 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4116 run_program_env and test_program_prefix_after_env arguments.
4117 * intl/tst-gettext2.sh: Likewise.
4118 * intl/tst-gettext4.sh: Do not set environment variables
4120 * intl/tst-gettext6.sh: Likewise.
4121 * intl/tst-translit.sh: Likewise.
4122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4123 $(test-program-prefix-before-env), $(run-program-env) and
4124 $(test-program-prefix-after-env).
4125 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4126 run_program_env and test_program_prefix_after_env arguments.
4127 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4128 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4129 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4130 explicitly with each use of ${test_wrapper_env}.
4131 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4132 $(test-program-prefix-before-env), $(run-program-env) and
4133 $(test-program-prefix-after-env).
4134 * posix/tst-getconf.sh: Do not set environment variables
4136 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4137 run_program_env and test_program_prefix_after_env arguments.
4138 * stdio-common/tst-printf.sh: Do not set environment variables
4140 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4141 $(test-program-prefix-before-env), $(run-program-env) and
4142 $(test-program-prefix-after-env).
4143 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4144 run_program_env and test_program_prefix_after_env arguments.
4145 Split $test calls into $test_pre and $test.
4146 * timezone/Makefile (build-testdata): Use
4147 $(built-program-cmd-before-env), $(run-program-env) and
4148 $(built-program-cmd-after-env).
4150 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4152 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4153 strlen for non SHARED builds.
4155 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4157 * nptl/allocatestack.c (check_list): Inlined function...
4158 (__reclaim_stacks): ... here.
4160 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4163 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4166 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4168 * Rules (make-test-out): Include
4169 LOCPATH=$(common-objpfx)localedata in default environment.
4170 * debug/Makefile (tst-chk1-ENV): Remove variable.
4171 (tst-chk2-ENV): Likewise.
4172 (tst-chk3-ENV): Likewise.
4173 (tst-chk4-ENV): Likewise.
4174 (tst-chk5-ENV): Likewise.
4175 (tst-chk6-ENV): Likewise.
4176 (tst-lfschk1-ENV): Likewise.
4177 (tst-lfschk2-ENV): Likewise.
4178 (tst-lfschk3-ENV): Likewise.
4179 (tst-lfschk4-ENV): Likewise.
4180 (tst-lfschk5-ENV): Likewise.
4181 (tst-lfschk6-ENV): Likewise.
4182 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4183 (tst-iconv7-ENV): Likewise.
4184 * intl/Makefile (LOCPATH-ENV): Likewise.
4185 (tst-codeset-ENV): Likewise.
4186 (tst-gettext3-ENV): Likewise.
4187 (tst-gettext5-ENV): Likewise.
4188 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4189 (tst-fopenloc-ENV): Likewise.
4190 (tst-fgetws-ENV): Remove variable.
4191 (tst-ungetwc1-ENV): Likewise.
4192 (tst-ungetwc2-ENV): Likewise.
4193 (bug-ungetwc2-ENV): Likewise.
4194 (tst-swscanf-ENV): Likewise.
4195 (bug-ftell-ENV): Likewise.
4196 (tst-fgetwc-ENV): Likewise.
4197 (tst-fseek-ENV): Likewise.
4198 (tst-ftell-partial-wide-ENV): Likewise.
4199 (tst-ftell-active-handler-ENV): Likewise.
4200 (tst-ftell-append-ENV): Likewise.
4201 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4202 (tst-regexloc-ENV): Likewise.
4203 (bug-regex1-ENV): Likewise.
4204 (tst-regex-ENV): Likewise.
4205 (tst-regex2-ENV): Likewise.
4206 (bug-regex5-ENV): Likewise.
4207 (bug-regex6-ENV): Likewise.
4208 (bug-regex17-ENV): Likewise.
4209 (bug-regex18-ENV): Likewise.
4210 (bug-regex19-ENV): Likewise.
4211 (bug-regex20-ENV): Likewise.
4212 (bug-regex22-ENV): Likewise.
4213 (bug-regex23-ENV): Likewise.
4214 (bug-regex25-ENV): Likewise.
4215 (bug-regex26-ENV): Likewise.
4216 (bug-regex30-ENV): Likewise.
4217 (bug-regex32-ENV): Likewise.
4218 (bug-regex33-ENV): Likewise.
4219 (bug-regex34-ENV): Likewise.
4220 (bug-regex35-ENV): Likewise.
4221 (tst-rxspencer-ENV): Likewise.
4222 (tst-rxspencer-no-utf8-ENV): Likewise.
4223 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4224 (tst-sscanf-ENV): Likewise.
4225 (tst-swprintf-ENV): Likewise.
4226 (tst-swscanf-ENV): Likewise.
4227 (test-vfprintf-ENV): Likewise.
4228 (scanf13-ENV): Likewise.
4229 (bug14-ENV): Likewise.
4230 (tst-grouping-ENV): Likewise.
4231 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4232 (tst-strtod3-ENV): Likewise.
4233 (tst-strtod4-ENV): Likewise.
4234 (tst-strtod5-ENV): Likewise.
4235 (testmb2-ENV): Likewise./
4236 * string/Makefile (tst-strxfrm-ENV): Likewise.
4237 (tst-strxfrm2-ENV): Likewise.
4238 (bug-strcoll1-ENV): Likewise.
4239 (test-strcasecmp-ENV): Likewise.
4240 (test-strncasecmp-ENV): Likewise.
4241 * time/Makefile (tst-strptime-ENV): Likewise.
4242 (tst-ftime_l-ENV): Likewise.
4243 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4244 (tst-mbrtowc-ENV): Likewise.
4245 (tst-wcrtomb-ENV): Likewise.
4246 (tst-mbrtowc2-ENV): Likewise.
4247 (tst-c16c32-1-ENV): Likewise.
4248 (tst-mbsnrtowcs-ENV): Likewise.
4250 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4252 * manual/resource.texi (How to get information about the memory
4253 subsystem?): Fix typo.
4254 Reported by Peon de la Parra Ivan <peon@keba.com>
4256 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4259 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4260 (pthread_spin_lock): Branch out of spin loop to proper location.
4261 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4262 (pthread_spin_lock): Likewise.
4264 * nptl/tst-spin4.c: New test.
4265 * nptl/Makefile (tests): Add tst-spin4.
4267 2014-06-03 Andreas Schwab <schwab@suse.de>
4270 * resolv/res_send.c (send_dg): Reload file descriptor after
4273 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4277 2014-06-03 Richard Henderson <rth@redhat.com>
4279 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4280 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4281 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4282 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4283 in the SAVE_PID block.
4284 (__libc_vfork): New alias.
4285 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4287 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4288 child in registers, not on the stack. Remove RESET_PID conditionals.
4289 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4291 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4293 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4295 2014-06-03 Wilco <wdijkstr@arm.com>
4297 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4298 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4299 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4300 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4301 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4304 2014-06-03 Wilco <wdijkstr@arm.com>
4306 * sysdeps/aarch64/fpu/math_private.h
4307 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4308 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4309 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4310 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4313 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4315 * crypt/crypt-private.h: Include ufc-crypt.h.
4316 (__b64_from_24bit): Declare extern.
4317 * crypt/crypt_util.c(__b64_from_24bit): New function.
4318 (b64t): New static const variable.
4319 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4320 (b64t): Remove variable.
4321 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4322 * crypt/sha256-crypt.c: Include crypt-private.h.
4323 (b64t): Remove variable.
4324 (__sha256_crypt_r): Remove b64_from_24bit and replace
4325 with __b64_from_24bit.
4326 * crypt/sha512-crypt.c: Likewise.
4328 2014-06-02 Roland McGrath <roland@hack.frob.com>
4330 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4331 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4332 Label the code __libc_vfork rather than __vfork.
4333 [!NOT_IN_libc] (vfork): Define as weak alias.
4334 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4335 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4336 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4338 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4340 * malloc/malloc.c (malloc_info): Fix format specifier for
4343 2014-06-02 Wilco <wdijkstr@arm.com>
4345 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4348 2014-06-02 Wilco <wdijkstr@arm.com>
4351 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4352 Rewrite to reduce FPCR/FPSR accesses.
4354 2014-06-01 David S. Miller <davem@davemloft.net>
4356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4358 2014-05-31 David S. Miller <davem@davemloft.net>
4360 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4361 to occur in round to nearest mode when |x| >= 2.0
4363 2014-05-30 Richard Henderson <rth@twiddle.net>
4365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4366 (PSEUDO_RET_NOERRNO): Remove.
4367 (ret): Don't redefine.
4368 (ret_NOERRNO): Define in terms of ret.
4369 (ret_ERRVAL): Likewise.
4371 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4372 use of PSEUDO_RET; perform the error check directly.
4374 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4376 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4379 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4381 * malloc/malloc (malloc_info): Fix formatting.
4383 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4384 Roland McGrath <roland@hack.frob.com>
4386 * malloc/malloc (malloc_info): Also print mmapped statistics.
4388 2014-05-30 Roland McGrath <roland@hack.frob.com>
4390 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4391 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4393 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4395 * malloc/malloc.c (malloc_info): Inline mi_arena.
4397 2014-05-29 Richard Henderson <rth@twiddle.net>
4399 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4400 Remove comma before expanding ASM_ARGS_##nr.
4401 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4402 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4404 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4405 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4406 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4407 (ASM_ARGS_1): Add leading comma.
4409 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4410 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4411 to __errno_location.
4412 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4413 Remove the expected plt for __errno_location.
4415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4416 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4420 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4421 it and break it down.
4422 (DOCARGS_0, DOCARGS_1): Do nothing.
4423 (DOCARGS_2): Update to store into the new stack frame.
4424 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4425 (UNDOCARGS_1): Update to restore from the new stack frame.
4426 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4427 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4430 (SINGLE_THREAD_P): New parameter for result regno.
4431 (PSEUDO): Update to match; use cbz instead of beq.
4433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4434 Use ENTRY to define the _nocancel entry point. Share the syscall
4435 and syscall error check paths with the cancel path.
4438 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4439 whitespace; tabs before and after asm mnemonics.
4441 2014-05-29 Eric Wong <normalperson@yhbt.net>
4444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4445 Call fstat64 or stat64 internally, depending on arguments passed.
4446 Replace stat buffer argument with file descriptor argument.
4447 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4448 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4449 Pass fd to __internal_statvfs instead of calling fstat64.
4450 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4451 Pass fd to __internal_statvfs64 instead of calling fstat64.
4452 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4453 Pass -1 to __internal_statvfs instead of calling stat64.
4454 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4455 Pass -1 to __internal_statvfs64 instead of calling stat64.
4457 2014-05-28 Roland McGrath <roland@hack.frob.com>
4459 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4460 that was previously under [RESET_PID].
4461 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4463 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4464 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4466 2014-05-27 Roland McGrath <roland@hack.frob.com>
4468 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4470 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4471 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4473 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4475 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4477 2014-05-27 Andreas Schwab <schwab@suse.de>
4479 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4481 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4482 * elf/rtld.c (init_tls, dl_main): Likewise.
4483 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4484 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4485 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4486 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4487 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4488 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4489 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4490 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4491 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4492 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4493 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4494 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4495 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4496 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4497 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4498 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4499 * sysdeps/generic/tls.h: Update description.
4501 2014-05-27 Will Newton <will.newton@linaro.org>
4504 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4505 and restore r2 rather than just restoring.
4507 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4510 * libio/tst-ftell-append.c: New test case.
4511 * libio/Makefile (tests): Add test case.
4512 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4514 * libio/wfileops.c (do_ftell_wide): Likewise.
4516 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4520 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4524 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4525 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4527 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4528 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4529 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4536 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4537 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4539 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4540 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4542 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4543 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4545 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4547 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4549 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4550 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4551 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4554 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4555 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4556 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4579 conditional [RESET_PID].
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4589 (__libc_vfork): New strong alias.
4590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4597 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4598 (__libc_vfork): New strong alias.
4599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4604 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4606 * malloc/malloc.c (mi_arena): New function.
4607 (malloc_info): Remove nested function mi_arena. Call non-nosted
4610 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4614 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4615 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4616 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4617 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4619 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4622 2014-05-26 Andreas Schwab <schwab@suse.de>
4625 * locale/programs/repertoire.c (repertoire_read): Add slash
4626 between I18NPATH element and file name.
4627 * locale/programs/locfile.c (locfile_read): Likewise.
4629 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4631 * nptl/pthread_mutexattr_settype.c
4632 (__pthread_mutexattr_settype):
4633 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4635 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4637 * nptl/tst-mutex5 (do_test):
4638 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4640 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4642 * benchtests/README: Document 'init' directive.
4643 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4645 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4646 (parse_file): Recognize 'init' directive.
4648 2014-05-26 Kyle McMartin <kyle@redhat.com>
4651 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4652 alignment of struct pthread.
4654 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4657 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4658 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4659 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4660 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4662 2014-05-25 Richard Henderson <rth@twiddle.net>
4664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4665 (SINGLE_THREAD_P_PIC): Remove.
4666 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4667 (SINGLE_THREAD_P_PIC): Remove.
4669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4670 branch to syscall error ...
4672 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4673 from __local_syscall_error to .Lsyscall_error.
4674 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4675 (SYSCALL_ERROR): Update label name.
4677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4678 Do not use DOARGS/UNDOARGS.
4679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4680 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4681 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4682 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4683 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4688 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4689 define if !NOT_IN_libc.
4690 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4691 define with non-default symbol versions.
4693 2014-05-23 Richard Henderson <rth@twiddle.net>
4695 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4696 (vfork, __vfork): Define via compat_symbol.
4698 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4699 [!HAVE_IFUNC] (vfork_compat): Remove.
4700 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4702 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4705 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4706 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4709 2014-05-23 Richard Henderson <rth@twiddle.net>
4711 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4712 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4713 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4714 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4716 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4717 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4718 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4719 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4720 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4721 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4722 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4723 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4724 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4725 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4726 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4727 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4728 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4755 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4756 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4757 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4758 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4759 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4760 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4761 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4763 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4764 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4765 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4766 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4767 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4768 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4769 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4770 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4771 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4773 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4774 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4775 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4776 before exiting on error.
4777 (__libc_vfork): New strong alias.
4778 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4779 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4781 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4782 that was previously under [RESET_PID].
4783 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4785 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4787 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4790 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4791 value when x - 1 is zero.
4792 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4793 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4794 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4795 0.0L for an argument of 1.0L.
4796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4798 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4799 value when x - 1 is zero.
4800 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4806 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4807 alphasort and versionsort.
4809 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4813 [copysignf]: Likewise.
4815 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4817 * crypt/md5-crypt.c: Fix formatting.
4819 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4821 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4822 (b64_from_24bit): New function.
4824 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4827 libc_hidden_builtin_def to ifunc.
4828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4829 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4831 2014-05-21 Roland McGrath <roland@hack.frob.com>
4833 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4834 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4836 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4838 * nscd/Depend (linuxthreads): Remove.
4840 * resolv/Depend (linuxthreads): Remove.
4841 * rt/Depend (linuxthreads): Remove.
4843 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4844 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4845 $(common-objpfx)elf/.
4846 (link-libc-before-gnulib): Likewise.
4847 (elfobjdir): Remove variable.
4848 * Makefile (install): Use $(elf-objpfx) instead of
4849 $(common-objpfx)elf/.
4850 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4852 (link-libc-deps): Likewise.
4853 ($(common-objpfx)libc.so): Likewise.
4854 ($(common-objpfx)linkobj/libc.so): Likewise.
4855 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4856 instead of $(common-objpfx)elf/.
4857 (symbolic-link-list): Likewise.
4858 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4859 [$(cross-compiling) = no]: Likewise.
4860 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4862 (static-gnulib-arch): Likewise.
4863 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4864 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4865 $(common-objpfx)elf/.
4867 2014-05-21 Richard Henderson <rth@redhat.com>
4869 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4870 (SINGLE_THREAD_P): Use the correct width load. Fold
4871 into the ldr offset.
4873 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4874 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4876 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4878 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4879 (libgcc_s_resume): Use __attribute_used__.
4880 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4883 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4886 optimization when used with float constants.
4888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4890 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4893 * locale/nl_langinfo_l.c: Make direct reference to every
4894 _nl_current_CATEGORY symbol.
4895 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4896 (tests-static): Add tst-langinfo-static.
4897 (tests-special): Add tst-langinfo-static.out.
4898 ($(objpfx)tst-langinfo.out): Redirect output.
4899 ($(objpfx)tst-langinfo-static.out): New.
4900 * localedata/tst-langinfo.sh: Send output to stdout.
4901 * localedata/tst-langinfo-static.c: New file.
4904 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4905 when the shift amount is modulo the limb size.
4907 2014-05-20 Richard Henderson <rth@redhat.com>
4910 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4911 Change type of sa_flags from unsigned int to int.
4914 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4916 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4918 2014-05-20 Will Newton <will.newton@linaro.org>
4920 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4921 Test the return value of the system call in the nocancel case.
4923 2014-05-20 Will Newton <will.newton@linaro.org>
4924 Yvan Roux <yvan.roux@linaro.org>
4926 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4927 #include of asm/ptrace.h.
4928 (PTRACE_GET_THREAD_AREA): Remove #undef.
4929 (PTRACE_GETHBPREGS): Likewise.
4930 (PTRACE_SETHBPREGS): Likewise.
4931 (struct user_regs_struct): New structure.
4932 (struct user_fpsimd_struct): New structure.
4933 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4934 #include of asm/ptrace.h and second #include of sys/user.h.
4935 (PTRACE_GET_THREAD_AREA): Remove #undef.
4936 (PTRACE_GETHBPREGS): Likewise.
4937 (PTRACE_SETHBPREGS): Likewise.
4938 (ELF_NGREG): Use new struct user_regs_struct.
4939 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4941 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4946 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4950 membar to avoid block loads/stores to overlap previous stores.
4952 2014-05-17 Richard Henderson <rth@redhat.com>
4954 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4955 Create the __##syscall_name##_nocancel entry point.
4956 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4957 Remove; let the sysdep-cancel.h code create it.
4959 2014-05-17 David S. Miller <davem@davemloft.net>
4961 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4962 Protect with __USE_GNU.
4963 (TIOCSET_TEMPT): Likewise.
4964 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4965 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4966 these are already provided in bits/ioctl-types.h
4968 2014-05-16 Roland McGrath <roland@hack.frob.com>
4970 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4971 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4973 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4974 Use wait4 regardless of [__NR_waitpid].
4976 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4979 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4980 (_FP_NANSIGN_Q): Set the quiet bit.
4982 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4984 * benchtests/Makefile
4985 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4986 not $(common-objpfx)math/libm.so.
4987 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4988 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4989 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4990 $(common-objpfx)dlfcn/libdl.so.
4991 ($(objpfx)tst-audit8): Depend on $(libm), not
4992 $(common-objpfx)math/libm.so.
4993 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4994 not $(common-objpfx)dlfcn/libdl.so.
4996 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4997 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4998 [$(build-shared) = yes].
4999 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5000 $(common-objpfx)nptl/libpthread.so.
5001 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5002 $(common-objpfx)math/libm.so$(libm.so-version) or
5003 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5004 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5005 $(common-objpfx)dlfcn/libdl.so.
5006 * setjmp/Makefile (link-libm): Remove variable.
5007 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5008 * stdio-common/Makefile (link-libm): Remove variable.
5009 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5010 * stdlib/Makefile (link-libm): Remove variable.
5011 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5012 ($(objpfx)tst-strtod-round): Likewise.
5013 ($(objpfx)tst-tininess): Likewise.
5014 ($(objpfx)tst-strtod-underflow): Likewise.
5015 ($(objpfx)tst-strtod6): Likewise.
5016 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5017 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5018 $(common-objpfx)dlfcn/libdl.so.
5020 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5023 BSD terminal modes definitions.
5025 2014-05-16 Roland McGrath <roland@hack.frob.com>
5027 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5028 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5030 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5031 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5032 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5033 Don't do #include_next.
5034 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5035 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5036 Don't do #include_next.
5037 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5038 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5039 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5040 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5042 2014-05-16 Allan McRae <allan@archlinux.org>
5044 * po/sv.po: Update Swedish translation from translation project.
5046 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5049 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5052 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5053 errno if the TIOCGPTN ioctl fails with an error different than
5055 * login/tst-ptsname.c: New file.
5056 * login/Makefile (tests): Add tst-ptsname.
5059 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5062 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5066 herrno to return EAI_AGAIN.
5068 2014-05-14 Roland McGrath <roland@hack.frob.com>
5070 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5071 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5072 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5079 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5087 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5088 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5089 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5093 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5097 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5099 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5101 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5106 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5126 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5128 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5130 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5135 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5139 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5141 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5145 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5156 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5158 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5161 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5162 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5163 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5164 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5166 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5168 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5170 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5172 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5174 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5176 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5178 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5179 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5180 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5181 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5182 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5184 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5186 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5187 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5188 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5190 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5192 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5193 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5195 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5196 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5197 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5199 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5202 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5208 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5211 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5213 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5216 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5217 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5218 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5220 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5221 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5222 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5231 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5233 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5240 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5242 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5244 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5247 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5253 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5258 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5261 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5263 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5265 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5266 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5267 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5276 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5278 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5285 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5287 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5289 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5291 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5293 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5299 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5302 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5307 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5309 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5312 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5313 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5314 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5316 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5318 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5324 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5326 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5327 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5329 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5338 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5340 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5341 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5342 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5344 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5345 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5346 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5348 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5349 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5351 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5352 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5354 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5355 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5356 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5358 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5360 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5362 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5368 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5370 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5373 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5375 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5382 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5396 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5397 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5398 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5400 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5402 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5404 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5405 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5409 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5410 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5411 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5412 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5414 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5415 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5416 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5417 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5418 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5419 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5420 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5421 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5422 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5423 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5428 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5429 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5431 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5433 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5434 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5435 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5436 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5437 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5438 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5439 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5440 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5441 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5464 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5466 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5472 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5473 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5474 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5475 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5476 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5479 that was previously under [RESET_PID].
5480 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5481 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5482 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5484 * sysdeps/i386/nptl/Implies: New file.
5485 * sysdeps/x86_64/nptl/Implies: New file.
5486 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5487 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5489 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5491 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5492 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5493 (__libc_vfork): New strong alias.
5494 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5495 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5497 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5498 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5499 (__libc_vfork): New strong alias.
5500 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5501 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5503 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5504 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5505 (__libc_vfork): New strong alias.
5506 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5507 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5508 * nptl/pt-vfork.c: New file.
5509 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5510 (libpthread: GLIBC_2.20): New version set (empty).
5512 2014-05-14 Will Newton <will.newton@linaro.org>
5514 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5517 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5520 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5521 arguments with exponent 65 or above.
5522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5523 arguments 0x1p113L or above.
5524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5525 to arguments 0x1p107L or above.
5526 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5527 positive arguments with exponent 65 or above.
5528 * math/auto-libm-test-in: Add more tests of log1p.
5529 * math/auto-libm-test-out: Regenerated.
5532 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5533 non-finite arguments is +0.
5534 * math/s_cacosf.c (__cacosf): Likewise.
5535 * math/s_cacosl.c (__cacosl): Likewise.
5536 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5537 * sysdeps/i386/fpu/libm-test-ulps: Update.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5543 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5544 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5545 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5546 for explicit high bit of mantissa when testing for argument equal
5548 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5549 * sysdeps/i386/fpu/libm-test-ulps: Update.
5550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5554 (__erf): Scale by 16 instead of 8 in potentially underflowing
5555 case. Ensure exception if result actually underflows.
5556 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5557 (__erff): Scale by 16 instead of 8 in potentially underflowing
5558 case. Ensure exception if result actually underflows.
5559 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5560 (efx8): Remove variable.
5561 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5562 case. Ensure exception if result actually underflows.
5563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5564 (efx8): Remove variable.
5565 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5566 case. Ensure exception if result actually underflows.
5567 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5568 (efx8): Remove variable.
5569 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5570 case. Ensure exception if result actually underflows.
5571 * math/auto-libm-test-in: Add more tests of erf.
5572 * math/auto-libm-test-out: Regenerated.
5574 2014-05-14 Andreas Schwab <schwab@suse.de>
5576 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5577 Remove code conditionalized on USE___THREAD.
5579 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5580 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5583 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5585 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5586 Define unconditionally.
5587 (__ASSUME_O_CLOEXEC): Likewise.
5588 (__ASSUME_SOCK_CLOEXEC): Likewise.
5589 (__ASSUME_IN_NONBLOCK): Likewise.
5590 (__ASSUME_PIPE2): Likewise.
5591 (__ASSUME_EVENTFD2): Likewise.
5592 (__ASSUME_SIGNALFD4): Likewise.
5593 (__ASSUME_DUP3): Likewise.
5594 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5595 (__ASSUME_DUP3): Do not define.
5596 (__ASSUME_EVENTFD2): Likewise.
5597 (__ASSUME_IN_NONBLOCK): Likewise.
5598 (__ASSUME_O_CLOEXEC): Likewise.
5599 (__ASSUME_PIPE2): Likewise.
5600 (__ASSUME_SIGNALFD4): Likewise.
5601 (__ASSUME_SOCK_CLOEXEC): Likewise.
5602 (__ASSUME_UTIMES): Undefine.
5603 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5604 (__ASSUME_UTIMES): Do not define.
5605 (__ASSUME_O_CLOEXEC): Likewise.
5606 (__ASSUME_SOCK_CLOEXEC): Likewise.
5607 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5608 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5610 (__ASSUME_PIPE2): Likewise.
5611 (__ASSUME_EVENTFD2): Likewise.
5612 (__ASSUME_SIGNALFD4): Likewise.
5613 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5614 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5616 (__ASSUME_EVENTFD2): Likewise.
5617 (__ASSUME_SIGNALFD4): Likewise.
5618 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5619 (__ASSUME_32BITUIDS): Likewise.
5620 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5621 (__ASSUME_IPC64): Likewise.
5622 (__ASSUME_ST_INO_64_BIT): Likewise.
5623 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5624 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5626 (__ASSUME_UTIMES): Do not define.
5627 (__ASSUME_PSELECT): Likewise.
5628 (__ASSUME_PPOLL): Likewise.
5629 (__ASSUME_O_CLOEXEC): Likewise.
5630 (__ASSUME_SOCK_CLOEXEC): Likewise.
5631 (__ASSUME_IN_NONBLOCK): Likewise.
5632 (__ASSUME_PIPE2): Likewise.
5633 (__ASSUME_EVENTFD2): Likewise.
5634 (__ASSUME_SIGNALFD4): Likewise.
5635 (__ASSUME_DUP3): Likewise.
5636 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5637 (__ASSUME_UTIMES): Likewise.
5638 (__ASSUME_O_CLOEXEC): Likewise.
5639 (__ASSUME_SOCK_CLOEXEC): Likewise.
5640 (__ASSUME_IN_NONBLOCK): Likewise.
5641 (__ASSUME_PIPE2): Likewise.
5642 (__ASSUME_EVENTFD2): Likewise.
5643 (__ASSUME_SIGNALFD4): Likewise.
5644 (__ASSUME_DUP3): Likewise.
5645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5646 (__ASSUME_UTIMES): Likewise.
5647 (__ASSUME_O_CLOEXEC): Likewise.
5648 (__ASSUME_SOCK_CLOEXEC): Likewise.
5649 (__ASSUME_IN_NONBLOCK): Likewise.
5650 (__ASSUME_PIPE2): Likewise.
5651 (__ASSUME_EVENTFD2): Likewise.
5652 (__ASSUME_SIGNALFD4): Likewise.
5653 (__ASSUME_DUP3): Likewise.
5654 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5656 (__ASSUME_UTIMES): Likewise.
5657 (__ASSUME_EVENTFD2): Likewise.
5658 (__ASSUME_SIGNALFD4): Likewise.
5659 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5660 (__ASSUME_O_CLOEXEC): Likewise.
5661 (__ASSUME_SOCK_CLOEXEC): Likewise.
5662 (__ASSUME_IN_NONBLOCK): Likewise.
5663 (__ASSUME_PIPE2): Likewise.
5664 (__ASSUME_EVENTFD2): Likewise.
5665 (__ASSUME_SIGNALFD4): Likewise.
5666 (__ASSUME_DUP3): Likewise.
5667 (__ASSUME_UTIMES): Undefine.
5669 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5670 feclearexcept. Remove symbol versioning code.
5671 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5672 symbol versioning code.
5673 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5674 symbol versioning code.
5675 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5676 feupdateenv. Remove symbol versioning code.
5677 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5678 fegetexceptflag. Remove symbol versioning code.
5679 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5680 fesetexceptflag. Remove symbol versioning code.
5681 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5682 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5683 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5684 (__posix_fadvise64_l32): Remove prototype.
5685 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5688 2014-05-13 Roland McGrath <roland@hack.frob.com>
5690 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5691 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5692 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5693 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5695 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5697 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5698 current working directory
5700 2014-05-13 Roland McGrath <roland@hack.frob.com>
5702 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5703 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5704 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5705 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5706 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5707 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5708 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5727 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5735 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5736 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5737 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5738 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5739 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5740 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5741 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5742 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5743 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5745 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5746 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5748 * sysdeps/unix/sysv/linux/arm/Makefile
5749 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5750 Add rt-aeabi_unwind_cpp_pr1.
5751 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5752 Add nptl-aeabi_unwind_cpp_pr1.
5753 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5754 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5755 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5756 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5757 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5758 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5760 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5761 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5762 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5763 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5765 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5766 Deconditionalize the code that was previously under [RESET_PID].
5767 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5769 * sysdeps/generic/exit-thread.h: New file.
5770 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5771 * include/unistd.h (__exit_thread): Remove declaration.
5772 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5773 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5774 * csu/libc-start.c: Include <exit-thread.h>.
5775 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5776 * nptl/pthread_create.c: Include <exit-thread.h>.
5777 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5778 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5779 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5780 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5781 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5782 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5783 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5784 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5785 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5786 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5787 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5788 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5789 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5790 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5791 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5792 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5793 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5795 2014-05-13 Andreas Schwab <schwab@suse.de>
5797 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5799 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5801 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5802 (__ASSUME_UTIMES): Do not condition on kernel version.
5803 (__ASSUME_PSELECT): Define unconditionally.
5804 (__ASSUME_PPOLL): Likewise.
5805 (__ASSUME_ATFCTS): Likewise.
5806 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5807 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5808 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5809 (__ASSUME_UTIMENSAT): Define unconditionally.
5810 (__ASSUME_PRIVATE_FUTEX): Likewise.
5811 (__ASSUME_FALLOCATE): Likewise.
5812 (__ASSUME_O_CLOEXEC): Likewise.
5813 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5814 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5815 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5816 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5817 (__ASSUME_IN_NONBLOCK): Likewise.
5818 (__ASSUME_PIPE2): Likewise.
5819 (__ASSUME_EVENTFD2): Likewise.
5820 (__ASSUME_SIGNALFD4): Likewise.
5821 (__ASSUME_DUP3): Likewise.
5822 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5823 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5824 (__ASSUME_AT_RANDOM): Likewise.
5825 (__ASSUME_PREADV): Likewise.
5826 (__ASSUME_PWRITEV): Likewise.
5827 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5828 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5829 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5830 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5831 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5833 (__ASSUME_O_CLOEXEC): Define unconditionally.
5834 (__ASSUME_PSELECT): Do not undefine conditionally.
5835 (__ASSUME_PPOLL): Likewise.
5836 (__ASSUME_ATFCTS): Likewise.
5837 (__ASSUME_SET_ROBUST_LIST): Likewise.
5838 (__ASSUME_UTIMENSAT): Likewise.
5839 (__ASSUME_FDATASYNC): Define unconditionally.
5840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5841 (__ASSUME_SIGFRAME_V2): Likewise.
5842 )__ASSUME_EVENTFD2): Likewise.
5843 (__ASSUME_SIGNALFD4): Likewise.
5844 (__ASSUME_PSELECT): Do not undefine conditionally.
5845 (__ASSUME_PPOLL): Likewise.
5846 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5847 (__ASSUME_PSELECT): Define unconditionally.
5848 (__ASSUME_PPOLL): Likewise.
5849 (__ASSUME_O_CLOEXEC): Likewise.
5850 (__ASSUME_SOCK_CLOEXEC): Likewise.
5851 (__ASSUME_IN_NONBLOCK): Likewise.
5852 (__ASSUME_PIPE2): Likewise.
5853 (__ASSUME_EVENTFD2): Likewise.
5854 (__ASSUME_SIGNALFD4): Likewise.
5855 (__ASSUME_DUP3): Likewise.
5856 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5857 (__ASSUME_O_CLOEXEC): Likewise.
5858 (__ASSUME_SOCK_CLOEXEC): Likewise.
5859 (__ASSUME_IN_NONBLOCK): Likewise.
5860 (__ASSUME_PIPE2): Likewise.
5861 (__ASSUME_EVENTFD2): Likewise.
5862 (__ASSUME_SIGNALFD4): Likewise.
5863 (__ASSUME_DUP3): Likewise.
5864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5865 (__ASSUME_EVENTFD2): Likewise.
5866 (__ASSUME_SIGNALFD4): Likewise.
5867 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5869 2014-05-12 Andreas Schwab <schwab@suse.de>
5872 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5873 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5874 than maximum RPC packet size.
5875 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5876 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5877 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5878 (_nss_nis_getservbyport_r): Likewise.
5880 2014-05-12 Will Newton <will.newton@linaro.org>
5882 * malloc/Makefile (tests): Add tst-mallopt.
5883 * malloc/tst-mallopt.c: New file.
5885 2014-05-09 Roland McGrath <roland@hack.frob.com>
5887 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5888 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5890 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5893 (tst-tlsmod6.so): Likewise.
5895 2014-05-09 Roland McGrath <roland@hack.frob.com>
5897 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5899 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5902 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5903 and <dl-procinfo.h>.
5904 (__fegetenv): Save SSE state in envp->__eip if supported.
5905 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5906 envp->__eip if supported.
5907 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5908 and <dl-procinfo.h>.
5909 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5910 __data_offset and __data_selector in environment to 0. Set SSE
5912 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5914 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5916 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5918 2014-05-09 Will Newton <will.newton@linaro.org>
5920 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5921 and libc_relro_required for ARM.
5922 * sysdeps/arm/preconfigure: Regenerate.
5924 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5925 Stefan Liebler <stli@linux.vnet.ibm.com>
5927 * config.make.in (enable-lock-elision): New Makefile variable.
5928 * configure.ac: Likewise.
5929 * configure: Regenerate.
5930 * sysdeps/s390/configure.ac:
5931 Add check for gcc transactions support.
5932 * sysdeps/s390/configure: Regenerate.
5933 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5934 Build elision files if enabled.
5935 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5936 Add lock elision support for s390.
5937 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5938 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5939 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5940 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5941 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5942 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5943 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5945 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5947 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5949 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5951 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5952 (__lll_timedlock_elision, __lll_lock_elision)
5953 (__lll_unlock_elision, __lll_trylock_elision)
5954 (lll_timedlock_elision, lll_lock_elision)
5955 (lll_unlock_elision, lll_trylock_elision): Add.
5956 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5957 (pthread_mutex_t): Add lock elision support for s390.
5959 2014-05-14 Wilco <wdijkstr@arm.com>
5961 * sysdeps/arm/fclrexcpt.c: Cleanup.
5962 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5963 * sysdeps/arm/feenablxcpt.c: Cleanup.
5964 * sysdeps/arm/fegetenv.c: Cleanup.
5965 * sysdeps/arm/fegetexcept.c: Cleanup.
5966 * sysdeps/arm/fegetround.c: Cleanup.
5967 * sysdeps/arm/feholdexcpt.c: Cleanup.
5968 * sysdeps/arm/fesetenv.c: Cleanup.
5969 * sysdeps/arm/fesetround.c: Cleanup.
5970 * sysdeps/arm/feupdateenv.c: Cleanup.
5971 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5972 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5973 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5974 * sysdeps/arm/ftestexcept.c: Cleanup.
5975 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5976 * sysdeps/arm/setfpucw.c: Cleanup.
5978 2014-05-09 Will Newton <will.newton@linaro.org>
5980 * sysdeps/arm/armv7/strcmp.S: New file.
5981 * NEWS: Mention addition of ARMv7 optimized strcmp.
5983 2014-05-08 Roland McGrath <roland@hack.frob.com>
5985 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5986 look for %.ac rather than %.in.
5988 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5989 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5990 * sysdeps/mach/hurd/configure: Regenerated.
5991 * sysdeps/unix/sysv/linux/configure: Regenerated.
5993 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5995 2014-05-07 Steve Ellcey <sellcey@mips.com>
5998 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6002 2014-05-07 Andreas Schwab <schwab@suse.de>
6004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6005 when skipping over non-matching result from nscd.
6007 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6010 * nptl/sockperf.c (client): Check socket return value.
6013 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6014 nscd security class.
6016 2014-05-06 Roland McGrath <roland@hack.frob.com>
6018 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6019 * sysdeps/arm/unwind.h: ... here.
6021 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6024 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6027 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6029 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6030 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6031 multiarch strncpy for PPC64.
6032 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6033 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6035 multiarch optimizations.
6036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6037 (__libc_ifunc_impl_list): Likewise.
6038 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6039 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6040 multiarch stpncpy for PPC64.
6041 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6042 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6044 2014-05-06 Andreas Schwab <schwab@suse.de>
6047 * gmon/mcount.c (_MCOUNT_DECL): Use
6048 atomic_compare_and_exchange_bool_acq instead of
6049 catomic_compare_and_exchange_bool_acq.
6051 2014-05-05 Roland McGrath <roland@hack.frob.com>
6053 * elf/Makefile (others, install-bin): Remove pldd.
6054 (pldd-modules): Variable removed.
6055 ($(objpfx)pldd): Target removed.
6056 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6057 (others, install-bin): Append pldd here.
6058 ($(objpfx)pldd): New target.
6060 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6061 to 0, so the first #if test emitted later doesn't see it undefined.
6062 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6063 * sysdeps/gnu/errlist.c: Regenerated.
6065 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6068 [libc_hidden_builtin_def]: Define to empty value.
6069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6070 [libc_hidden_builtin_def]: Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6072 [libc_hidden_builtin_def]: Likewise.
6073 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6074 [libc_hidden_builtin_def]: Likewise.
6075 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6076 __redirect_memcpy and define ifunc as default hidden symbol.
6077 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6078 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6080 2014-05-04 Adam Conrad <adconrad@0c3.net>
6082 * locale/iso-4217.def: Reintroduce XDR currency.
6084 2014-05-04 Allan McRae <allan@archlinux.org>
6086 * po/eo.po: Update Esperanto translation from translation project.
6088 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6090 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6091 and FEATURE_INDEX_MAX to 1.
6092 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6094 2014-05-01 Steve Ellcey <sellcey@mips.com>
6096 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6097 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6098 * iconvdata/big5.c (ONE_DIRECTION): Define.
6099 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6100 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6101 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6102 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6103 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6104 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6105 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6106 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6107 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6108 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6109 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6110 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6111 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6112 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6113 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6114 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6115 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6116 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6117 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6118 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6119 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6120 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6121 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6122 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6123 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6124 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6125 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6126 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6127 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6128 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6129 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6130 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6131 * iconvdata/johab.c (ONE_DIRECTION): Define.
6132 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6133 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6134 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6135 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6136 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6137 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6138 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6139 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6140 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6141 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6143 2014-05-01 Roland McGrath <roland@hack.frob.com>
6145 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6146 (_IO_JUMPS_OFFSET): Define to 0.
6148 * nptl/sysdeps/pthread/bits/libc-lock.h
6149 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6150 (__libc_lock_define_initialized_recursive): Always define using
6151 initializer. Modern compilers treat uninitialized (implicit zero) and
6152 explicit zero initializers the same (i.e. put the datum in bss).
6154 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6156 * nscd/nscd-client.h: Include <string.h>.
6158 2014-05-01 David S. Miller <davem@davemloft.net>
6161 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6162 multiple zero bytes exist at the end of a string.
6163 Reported by Aurelien Jarno <aurelien@aurel32.net>
6165 * string/test-strcmp.c (check): Add explicit test for situations where
6166 there are multiple zero bytes after the first.
6168 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6171 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6172 when compiling wprintf.
6173 * stdio-common/tstdiomisc.c (t3): New function.
6176 2014-05-01 Steve Ellcey <sellcey@mips.com>
6178 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6179 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6180 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6181 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6183 2014-05-01 Steve Ellcey <sellcey@mips.com>
6185 * stdlib/longlong.h: Updated from GCC.
6187 2014-05-01 Will Newton <will.newton@linaro.org>
6188 Bernard Ogden <bernie.ogden@linaro.org>
6190 * NEWS: Update fixed bug list.
6193 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6195 2014-04-30 David S. Miller <davem@davemloft.net>
6197 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6198 (libc_feholdexcept_setround_sparc_ctx): New function.
6199 (libc_fesetenv_sparc_ctx): Likewise.
6200 (libc_feupdateenv_sparc_ctx): Likewise.
6201 (libc_feholdsetround_sparc_ctx): Likewise.
6202 (libc_feholdexcept_setround_ctx): Define.
6203 (libc_feholdexcept_setroundf_ctx): Likewise.
6204 (libc_feholdexcept_setroundl_ctx): Likewise.
6205 (libc_fesetenv_ctx): Likewise.
6206 (libc_fesetenvf_ctx): Likewise.
6207 (libc_fesetenvl_ctx): Likewise.
6208 (libc_feupdateenv_ctx): Likewise.
6209 (libc_feupdateenvf_ctx): Likewise.
6210 (libc_feupdateenvl_ctx): Likewise.
6211 (libc_feresetround_ctx): Likewise.
6212 (libc_feresetroundf_ctx): Likewise.
6213 (libc_feresetroundl_ctx): Likewise.
6214 (libc_feholdsetround_ctx): Likewise.
6215 (libc_feholdsetroundf_ctx): Likewise.
6216 (libc_feholdsetroundl_ctx): Likewise.
6218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6219 with __USE_GNU instead of XOPEN cpp guards.
6221 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6225 with XOPEN cpp guards.
6227 2014-04-30 Julian Brown <julian@codesourcery.com>
6230 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6233 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6236 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6238 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6239 * sysdeps/unix/sysv/linux/configure: Regenerated.
6240 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6241 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6242 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6243 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6244 * README: Update reference to required Linux kernel version.
6245 * manual/install.texi (Linux): Update reference to required Linux
6246 kernel headers version.
6247 * INSTALL: Regenerated.
6249 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6251 [POSIX] (limits.h): Likewise.
6252 [POSIX] (math.h): Likewise.
6253 [POSIX] (sys/wait.h): Likewise.
6254 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6256 [POSIX] (stddef.h): Do not allow header inclusion.
6258 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6260 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6262 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6264 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6265 Return immediately after lll_futex_wake.
6267 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6270 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6272 (datahead_init_pos): Call datahead_init_common early.
6273 (datahead_init_neg): Likewise.
6275 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6276 datahead_init_neg): New functions.
6277 * nscd/aicache.c (addhstaiX): Use them.
6278 * nscd/grpcache.c (cache_addgr): Likewise.
6279 * nscd/hstcache.c (cache_addhst): Likewise.
6280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6281 * nscd/netgroupcache.c (do_notfound): Likewise.
6282 (addgetnetgrentX): Likewise.
6283 (addinnetgrX): Likewise.
6284 * nscd/pwdcache.c (cache_addpw): Likewise.
6285 * nscd/servicescache.c (cache_addserv): Likewise.
6287 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6288 Atsushi Onoe <atsushi@onoe.org>
6293 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6294 one response is valid.
6295 * resolv/res_send.c (send_dg): Check for validity of other
6296 response if the current response is a referral.
6298 2014-04-29 Steve Ellcey <sellcey@mips.com>
6300 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6302 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6305 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6306 Always divide by positive zero when computing -Inf result.
6307 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6308 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6310 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6313 FPSCR if value do not change.
6314 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6315 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6316 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6317 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6318 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6319 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6322 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6324 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6325 * sysdeps/unix/sysv/linux/hppa: Move directory from
6326 ports/systeps/unix/sysv/linux/hppa.
6327 * README: Update listing for hppa-*-linux-gnu.
6329 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6332 * manual/stdio.texi (Hook functions): Fix types of stream hook
6335 * socket/sys/socket.h: Fix typo in comment.
6337 2014-04-28 Wilco <wdijkstr@arm.com>
6339 * sysdeps/arm/fenv_private.h: New file.
6340 * sysdeps/arm/math_private.h: New file.
6341 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6343 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6345 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6347 (La_x86_64_retval): Likewise.
6349 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6351 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6352 fpsr if value didn't change.
6353 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6354 to fpcr if value didn't change.
6355 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6356 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6357 fpsr or fpcr if value didn't change.
6358 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6359 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6360 fpcr if value didn't change.
6361 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6362 to fpsr if value didn't change.
6364 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6366 * nptl/tst-sem3.c: Use test-skeleton.c
6367 (main): Rename to do_test. Use return instead of
6369 * nptl/tst-sem4.c: Use test-skeleton.c
6370 (main): Rename to do_test.
6372 2014-04-22 David S. Miller <davem@davemloft.net>
6374 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6375 (struct sigaction): New struct member __glibc_reserved0, change
6376 type of sa_flags to int.
6378 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6380 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6381 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6383 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6385 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6386 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6388 2014-04-22 Will Newton <will.newton@linaro.org>
6389 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6391 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6392 (__longjmp): Add longjmp and longjmp_target SystemTap
6394 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6395 (__sigsetjmp): Add setjmp SystemTap probe.
6397 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6399 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6402 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6404 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6406 * sysdeps/powerpc/fpu/fenv_private.h
6407 (libc_feholdexcept_setroundl_ctx): Define to
6408 libc_feholdexcept_setround_ppc_ctx.
6409 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6410 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6411 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6412 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6414 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6416 * sysdeps/aarch64/math-tests.h: New file.
6418 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6420 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6423 Check and set bit_AVX2_Usable.
6424 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6426 (bit_AVX2): Likewise.
6427 (index_AVX2_Usable): Likewise.
6428 (CPUID_AVX2): Likewise.
6429 (HAS_AVX2): Likewise.
6431 2014-04-17 Will Newton <will.newton@linaro.org>
6433 * manual/setjmp.texi (System V contexts): Add note that
6434 calling setcontext on a context created by a call to a
6435 signal handler is undefined. Update text to note that
6436 setcontext from a signal handler is possible but not
6440 * stdlib/tst-setcontext.c: Include signal.h.
6441 (main): Check that the signal stack before and
6442 after swapcontext is the same.
6444 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6445 Re-implement to restore registers in user code and avoid
6446 rt_sigreturn system call.
6448 2014-04-17 Wilco <wdijkstr@arm.com>
6450 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6451 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6452 * math/test-fenv.c: Skip exception trap tests on targets which only
6453 support non-stop mode.
6455 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6456 Wilco Dijkstra <wilco.dijkstra@arm.com>
6458 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6459 (libc_feholdsetround_aarch64_ctx)
6460 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6461 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6462 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6463 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6464 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6465 (libc_feresetround_noexl_ctx): Define.
6467 2014-04-16 Richard Henderson <rth@redhat.com>
6469 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6471 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6474 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6475 const from the non-libc, non-ldso copy.
6477 * sysdeps/alpha/libm-test-ulps: Regenerate.
6479 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6480 Wilco Dijkstra <wilco.dijkstra@arm.com>
6482 * sysdeps/aarch64/fpu/math_private.h: New file.
6484 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6486 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6488 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6490 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6491 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6493 Intel MPX bound registers before _dl_profile_fixup.
6494 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6495 registers after _dl_profile_fixup. Save and restore bound
6496 registers bnd0/bnd1 when calling _dl_call_pltexit.
6497 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6498 (LR_BND_OFFSET): Likewise.
6499 (LRV_BND0_OFFSET): Likewise.
6500 (LRV_BND1_OFFSET): Likewise.
6502 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6504 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6506 * sysdeps/mach/hurd/i386/tls.h: ... here.
6507 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6508 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6511 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6513 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6515 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6517 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6519 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6522 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6523 * sysdeps/s390/configure: Regenerate.
6526 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6527 Set round-to-nearest internally to reduce error accumulation.
6529 2014-04-16 Alan Modra <amodra@gmail.com>
6533 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6534 * math/libm-test.inc (frexp_test_data): Add tests.
6535 * NEWS: Update fixed bug list.
6537 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6539 * benchtests/Makefile: Depend on libraries in build directory.
6540 (bench-math): Separate out math tests.
6541 (bench-pthread): Separate out pthread tests.
6542 (bench): Include math and pthread tests.
6544 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6547 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6548 _dl_debug_initialize.
6550 * configure.ac: Remove SELinux header check.
6551 * configure: Regenerate.
6552 * nscd/selinux.c (perms): Array of const char* to permission names.
6553 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6554 default policy. Call string_to_security_class and string_to_av_perm to
6555 translate strings. Enforce default policy and call avs_has_perm with
6556 results of translated strings.
6558 2014-04-13 David S. Miller <davem@davemloft.net>
6560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6562 2014-04-12 Allan McRae <allan@archlinux.org>
6565 * manual/string.texi (Collation Functions): Fix qsort argument
6567 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6569 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6571 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6572 Make the test a no-op if there are no exceptions defined.
6574 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6576 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6577 enable-hardcoded-path-in-tests
6579 2014-04-11 Will Newton <will.newton@linaro.org>
6581 * benchtests/Makefile (extra-objs): Add json-lib.o.
6582 (bench-func): Tidy up JSON output.
6583 * benchtests/bench-skeleton.c: Include json-lib.h.
6584 (main): Use JSON library functions to do output of
6586 * benchtests/bench-timing-type.c (main): Output the
6587 timing type simply, leaving formatting to the user.
6588 * benchtests/json-lib.c: New file.
6589 * benchtests/json-lib.h: Likewise.
6591 2014-04-11 Torvald Riegel <triegel@redhat.com>
6594 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6595 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6596 memory barriers. Add comments.
6597 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6598 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6599 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6600 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6601 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6602 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6604 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6606 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6607 * sysdeps/s390/s390-64/configure.ac: ... this ...
6608 * sysdeps/s390/configure.ac: ... to here.
6609 * sysdeps/s390/s390-32/configure: Delete file.
6610 * sysdeps/s390/s390-64/configure: Delete file.
6611 * sysdeps/s390/configure: Regenerate.
6613 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6615 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6617 2014-04-11 Will Newton <will.newton@linaro.org>
6619 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6620 to zero if it is not defined elsewhere. (mtrim): Test
6621 the value of MALLOC_DEBUG with #if rather than #ifdef.
6623 2014-04-10 Torvald Riegel <triegel@redhat.com>
6625 * benchtests/pthread_once-inputs: New file.
6626 * benchtests/pthread_once-source.c: New file.
6627 * benchtests/README: Update documentation.
6629 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6630 H.J. Lu <hongjiu.lu@intel.com>
6632 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6633 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6634 * sysdeps/x86_64/configure: Regenerated.
6635 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6637 (REGISTER_SAVE_RAX): Likewise.
6638 (REGISTER_SAVE_RCX): Likewise.
6639 (REGISTER_SAVE_RDX): Likewise.
6640 (REGISTER_SAVE_RSI): Likewise.
6641 (REGISTER_SAVE_RDI): Likewise.
6642 (REGISTER_SAVE_R8): Likewise.
6643 (REGISTER_SAVE_R9): Likewise.
6644 (REGISTER_SAVE_BND0): Likewise.
6645 (REGISTER_SAVE_BND1): Likewise.
6646 (REGISTER_SAVE_BND2): Likewise.
6647 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6648 bound registers when calling _dl_fixup.
6650 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6653 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6655 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6656 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6657 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6658 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6659 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6660 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6661 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6663 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6666 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6667 pathconf(_PC_NAME_MAX).
6669 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6671 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6673 (__PTHREAD_SPINS): Move definition to ...
6674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6675 (__PTHREAD_SPINS): ... here.
6676 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6677 (__PTHREAD_SPIN): Likewise.
6678 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6679 (__PTHREAD_SPIN): Likewise.
6680 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6681 (__PTHREAD_SPIN): Likewise.
6682 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6683 (__PTHREAD_SPIN): Likewise.
6684 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6685 (__PTHREAD_SPIN): Likewise.
6686 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6687 (__PTHREAD_SPIN): Likewise.
6688 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6689 (__PTHREAD_SPIN): Likewise.
6690 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6691 (__PTHREAD_SPIN): Likewise.
6692 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6693 (__PTHREAD_SPIN): Likewise.
6694 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6695 (__PTHREAD_SPIN): Likewise.
6696 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6697 (__PTHREAD_SPIN): Likewise.
6698 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6699 (__PTHREAD_SPIN): Likewise.
6701 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6702 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6703 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6706 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6707 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6708 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6709 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6711 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6712 strlen symbol for non multi-arch builds.
6713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6714 missing hidden_def and weak_alias.
6716 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6718 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6720 2014-04-07 Will Newton <will.newton@linaro.org>
6722 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6723 and contents. [!_LIBC] Remove #ifndef and contents.
6724 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6725 * string/memccpy.c (__memccpy): Use ANSI prototype.
6726 * string/memfrob.c (memfrob): Likewise.
6727 * string/strcoll.c (STRCOLL): Likewise.
6728 * string/strlen.c (strlen): Likewise.
6729 * string/strtok.c (STRTOK): Likewise.
6730 * string/strcat.c: Remove unused #include of memcopy.h.
6731 (strcat): Use ANSI prototype.
6732 * string/strchr.c: Remove unused #include of memcopy.h.
6733 (strchr): Use ANSI prototype.
6734 * string/strcmp.c: Remove unused #include of memcopy.h.
6735 (strcmp): Use ANSI prototype.
6736 * string/strcpy.c: Remove unused #include of memcopy.h.
6737 (strcpy): Use ANSI prototype.
6739 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6741 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6742 * config.make.in (config-extra-cppflags): Set it from
6743 libc_extra_cppflags.
6744 * configure.ac (libc_extra_cflags): Make it accumulate over
6745 configure fragments.
6746 (libc_extra_cppflags): New flag.
6747 * configure. Regenerate.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6749 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6750 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6755 result for FE_DOWNWARD rounding mode.
6756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6760 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6762 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6763 in function argument name.
6765 2014-04-03 David Svoboda <svoboda@cert.org>
6768 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6771 2014-04-03 Roland McGrath <roland@hack.frob.com>
6773 * elf/dl-unmap-segments.h: New file.
6774 * sysdeps/generic/ldsodefs.h
6775 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6776 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6777 * elf/dl-fptr.c: Likewise.
6778 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6779 * sysdeps/aarch64/tlsdesc.c: Likewise.
6780 * sysdeps/arm/tlsdesc.c: Likewise.
6781 * sysdeps/i386/tlsdesc.c: Likewise.
6782 * sysdeps/tile/dl-runtime.c: Likewise.
6783 * sysdeps/x86_64/tlsdesc.c: Likewise.
6784 * elf/dl-load.h: New file.
6785 * elf/dl-load.c: Include it.
6786 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6787 Macros moved to dl-load.h.
6788 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6789 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6790 Use _dl_unmap_segments in place of __munmap.
6791 Break out segment-mapping loop into ...
6792 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6794 2014-04-03 Will Newton <will.newton@linaro.org>
6796 * elf/dl-lookup.c (do_lookup_x): Remove comment
6797 referring to nested function and move variable
6798 declarations down to before first use.
6800 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6804 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6806 * math/s_catanf.c (__catanf): Likewise.
6807 * math/s_catanh.c (__catanh): Likewise.
6808 * math/s_catanhf.c (__catanhf): Likewise.
6809 * math/s_catanhl.c (__catanhl): Likewise.
6810 * math/s_catanl.c (__catanl): Likewise.
6811 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6812 by positive zero when computing -Inf result.
6813 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6814 (catanh_test): Likewise.
6815 * sysdeps/i386/fpu/libm-test-ulps: Update.
6816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6820 instead of using underflowing value in computing result.
6821 * math/s_clog10.c (__clog10): Likewise.
6822 * math/s_clog10f.c (__clog10f): Likewise.
6823 * math/s_clog10l.c (__clog10l): Likewise.
6824 * math/s_clogf.c (__clogf): Likewise.
6825 * math/s_clogl.c (__clogl): Likewise.
6826 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6827 (clog10_test): Likewise.
6828 * sysdeps/i386/fpu/libm-test-ulps: Update.
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831 2014-04-02 Alan Modra <amodra@gmail.com>
6834 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6835 output when value is near a power of two. Use int64_t for lx and
6836 remove casts. Use decimal rather than hex exponent constants.
6837 Don't use long double multiplication when double will suffice.
6838 * math/libm-test.inc (nextafter_test_data): Add tests.
6839 * NEWS: Add 16739 and 16786 to bug list.
6841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6843 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6845 2014-04-01 Will Newton <will.newton@linaro.org>
6847 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6848 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6850 2014-04-01 Florian Weimer <fweimer@redhat.com>
6853 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6854 * nptl/tst-setuid2.c: New file.
6855 * nptl/Makefile (xtests): Add tst-setuid2.
6857 2014-04-01 Alan Modra <amodra@gmail.com>
6860 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6862 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6866 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6867 set errno as appropriate.
6868 * math/w_scalbf.c (__scalbf): Likewise.
6869 * math/w_scalbl.c (__scalbl): Likewise.
6870 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6871 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6872 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6876 * math/w_atan2.c: Include <errno.h>.
6877 (__atan2): Set errno for result underflowing to zero.
6878 * math/w_atan2f.c: Include <errno.h>.
6879 (__atan2f): Set errno for result underflowing to zero.
6880 * math/w_atan2l.c: Include <errno.h>.
6881 (__atan2l): Set errno for result underflowing to zero.
6882 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6884 * math/auto-libm-test-out: Regenerated.
6886 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6889 Encode instruction correctly in little endian.
6890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6892 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6894 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6899 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6902 * sysdeps/unix/sysv/linux/kernel-features.h
6903 [__sparc__ && !__arch64__ && !__sparc_v9__]
6904 (__ASSUME_SET_ROBUST_LIST): Do not define.
6905 [__sparc__ && !__arch64__ && !__sparc_v9__]
6906 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6907 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6910 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6911 (__ASSUME_REQUEUE_PI): Likewise.
6912 (__ASSUME_SET_ROBUST_LIST): Likewise.
6913 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6914 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6916 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6917 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6919 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6921 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6924 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6926 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6927 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6931 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6933 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6935 2014-03-31 Will Newton <will.newton@linaro.org>
6937 * benchtests/Makefile (bench): Add ffs and ffsll to list
6939 * benchtests/ffs-inputs: New file.
6940 * benchtests/ffsll-inputs: Likewise.
6942 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6945 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6946 too large before casting to int.
6947 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6948 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6949 * math/libm-test.inc (scalb_test_data): Add more tests.
6951 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6953 * benchtests/Makefile (DETAILED_OPT): New make option.
6954 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6956 * benchtests/bench-skeleton.c: Include stdbool.h.
6957 (main): Store and print timings per input.
6958 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6959 member to each argument value.
6960 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6961 (_print_arg_data): Initialize per-input timing to 0.
6963 * benchtests/Makefile (timing-type): New binary.
6964 (bench-clean): Also remove bench-timing-type.
6965 (bench): New target for timing-type.
6966 (bench-func): Print output in JSON format.
6967 * benchtests/bench-skeleton.c (main): Print output in JSON
6969 * benchtests/bench-timing-type.c: New file.
6970 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6971 (TIMING_PRINT_STATS): Remove.
6972 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6975 * benchtests/bench-modf.c: Remove.
6976 * benchtests/modf-inputs: New inputs file.
6978 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6981 * math/s_clog10.c (M_PI_LOG10E): New macro.
6982 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6983 imaginary parts are 0.
6984 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6985 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6986 imaginary parts are 0.
6987 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6988 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6989 imaginary parts are 0.
6990 * math/libm-test.inc (clog10_test_data): Update expected results
6991 for when real and imaginary parts are 0.
6993 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6995 * elf/dl-load.c: Finish conversion of __builtin_expect into
6998 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7002 1+x for argument with exponent below -67.
7003 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7005 * math/auto-libm-test-in: Add more tests of exp.
7006 * math/auto-libm-test-out: Regenerated.
7008 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7011 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7012 (nscd_getnetgrent): Use it.
7015 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7018 2014-03-27 Andi Kleen <ak@linux.intel.com>
7020 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7021 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7022 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7023 (lll_robust_unlock): Remove out of line section. Use cfi
7025 (LLL_STUB_UNWIND_INFO*): Remove.
7026 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7027 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7028 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7029 (lll_robust_unlock): Remove out of line section. Use cfi
7031 (LLL_STUB_UNWIND_INFO*): Remove.
7033 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7036 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7039 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7041 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7043 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7048 * math/test-fenv-preserve.c: New file.
7049 * math/Makefile (tests): Add test-fenv-preserve.
7051 2014-03-26 Will Newton <will.newton@linaro.org>
7053 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7055 2014-03-25 Roland McGrath <roland@hack.frob.com>
7057 * scripts/versionlist.awk: Partition the version sets and emit all
7058 GLIBC_* (sorted) before all others (sorted).
7060 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7062 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7063 GLIBC_2.2.5 version.
7065 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7070 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7075 2014-03-25 Andreas Schwab <schwab@suse.de>
7077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7078 label to be used after in6ailist is initialized.
7080 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7083 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7085 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7089 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7091 (fp_formats): Update initializers.
7092 (init_fp_formats): Initialize new field.
7093 (output_for_one_input_case): Allow underflow for results up to
7095 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7096 * math/auto-libm-test-in: Don't mark some underflows from asin and
7098 * math/auto-libm-test-out: Regenerated.
7099 * sysdeps/i386/fpu/libm-test-ulps: Update.
7100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102 2014-03-25 Andreas Schwab <schwab@suse.de>
7104 * libio/Makefile (tst-ftell-partial-wide-ENV)
7105 (tst-ftell-active-handler-ENV): Define.
7107 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7109 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7111 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7113 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7115 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7118 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7119 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7121 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7124 * elf/dl-load.c (open_verify): Add mode parameter.
7125 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7126 (open_path): Change from boolean 'secure' to complete flag 'mode'
7127 (_dl_map_object): Adjust.
7128 * elf/Makefile (tests): Add tst-dlopen-aout.
7129 * elf/tst-dlopen-aout.c: New test.
7131 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7134 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7135 (struct stat): Rename member pad0 to __glibc_reserved0.
7138 * sysdeps/s390/s390-32/bits/wordsize.h
7139 (__WORDSIZE32_SIZE_ULONG): New define.
7140 * sysdeps/s390/s390-64/bits/wordsize.h
7141 (__WORDSIZE32_SIZE_ULONG): Likewise.
7142 * sysdeps/generic/stdint.h (SIZE_MAX):
7143 Define as UL if __WORDSIZE32_SIZE_ULONG.
7146 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7147 (__glibc_reserved0): New variable.
7148 (sa_flags): Change type to int.
7150 * posix/Makefile (before-compile): Use += before-compile instead
7153 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7154 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7156 2014-03-20 Andreas Schwab <schwab@suse.de>
7159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7160 non-matching result from nscd.
7162 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7164 * scripts/bench.py: Moved to ...
7165 * benchtests/scripts/bench.py: ... here.
7166 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7168 2014-03-24 Andreas Schwab <schwab@suse.de>
7171 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7172 alloca_account and account alloca use for struct in6ailist.
7174 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7177 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7178 rounding mode to recompute results that overflow to infinity or
7180 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7182 * math/auto-libm-test-out: Regenerated.
7183 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7184 (ccosh_test): Likewise.
7185 (csin_test_data): Use plus_oflow.
7186 (csin_test): Use ALL_RM_TEST.
7187 (csinh_test_data): Use plus_oflow.
7188 (csinh_test): Use ALL_RM_TEST.
7189 * sysdeps/i386/fpu/libm-test-ulps: Update.
7190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7192 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7194 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7195 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7196 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7199 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7201 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7202 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7203 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7206 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7207 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7209 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7215 * scripts/bench.pl: Remove file.
7216 * scripts/bench.py: New benchmark script.
7217 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7218 * benchtests/README: Mention python dependency.
7219 * scripts/pylintrc: New file.
7220 * scripts/pylint: New file.
7222 * bits/mathdef.h: Use #ifdef instead of #if.
7223 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7224 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7225 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7226 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7227 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7228 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7230 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7233 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7235 and strpbrk-ppc64 objects.
7236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7237 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7238 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7239 multiarch strpbrk for POWER7.
7240 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7241 multiarch strpbrk for PPC64.
7242 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7244 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7247 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7249 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7250 (atan_test): Likewise.
7251 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7252 (atanh_test): Use ALL_RM_TEST.
7253 (atan2_test_data): Likewise.
7254 (cabs_test): Likewise.
7255 (cacosh_test): Likewise.
7256 (carg_test): Likewise.
7257 (casin_test): Likewise.
7258 (casinh_test): Likewise.
7259 (cbrt_test): Likewise.
7260 (csqrt_test): Likewise.
7261 (erf_test): Likewise.
7262 (erfc_test): Likewise.
7263 (pow10_test): Likewise.
7264 (exp2_test): Likewise.
7265 (hypot_test): Likewise.
7266 (j0_test): Likewise.
7267 (j1_test): Likewise.
7268 (lgamma_test): Likewise.
7269 (gamma_test): Likewise.
7270 (sincos_test): Likewise.
7271 (tanh_test): Likewise.
7272 (y0_test): Likewise.
7273 (y1_test): Likewise.
7274 * sysdeps/i386/fpu/libm-test-ulps: Update.
7275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7277 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7279 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7281 and strcspn-ppc64 objects.
7282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7283 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7284 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7285 multiarch strcspn for POWER7.
7286 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7287 multiarch strcspn for PPC64.
7288 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7290 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7293 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7295 * math/gen-libm-test.pl (generate_testfile): Expect only function
7296 name as argument to AUTO_TESTS_* and pass results for all rounding
7297 modes to parse_args.
7298 (parse_auto_input): Separate inputs of automatic tests from
7299 outputs before storing in %auto_tests.
7300 * math/libm-test.inc (acos_test_data): Update call to
7302 (acos_test): Use ALL_RM_TEST.
7303 (acos_tonearest_test_data): Remove.
7304 (acos_test_tonearest): Likewise.
7305 (acos_towardzero_test_data): Likewise.
7306 (acos_test_towardzero): Likewise.
7307 (acos_downward_test_data): Likewise.
7308 (acos_test_downward): Likewise.
7309 (acos_upward_test_data): Likewise.
7310 (acos_test_upward): Likewise.
7311 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7312 (asin_test_data): Likewise.
7313 (asin_test): Use ALL_RM_TEST.
7314 (asin_tonearest_test_data): Remove.
7315 (asin_test_tonearest): Likewise.
7316 (asin_towardzero_test_data): Likewise.
7317 (asin_test_towardzero): Likewise.
7318 (asin_downward_test_data): Likewise.
7319 (asin_test_downward): Likewise.
7320 (asin_upward_test_data): Likewise.
7321 (asin_test_upward): Likewise.
7322 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7323 (atan_test_data): Likewise.
7324 (atanh_test_data): Likewise.
7325 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7326 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7327 (carg_test_data): Likewise.
7328 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7329 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7330 (ccosh_test_data): Likewise.
7331 (cexp_test_data): Likewise.
7332 (clog_test_data): Likewise.
7333 (clog10_test_data): Likewise.
7334 (cos_test_data): Update call to AUTO_TESTS_f_f.
7335 (cos_test): Use ALL_RM_TEST.
7336 (cos_tonearest_test_data): Remove.
7337 (cos_test_tonearest): Likewise.
7338 (cos_towardzero_test_data): Likewise.
7339 (cos_test_towardzero): Likewise.
7340 (cos_downward_test_data): Likewise.
7341 (cos_test_downward): Likewise.
7342 (cos_upward_test_data): Likewise.
7343 (cos_test_upward): Likewise.
7344 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7345 (cosh_test): Use ALL_RM_TEST.
7346 (cosh_tonearest_test_data): Remove.
7347 (cosh_test_tonearest): Likewise.
7348 (cosh_towardzero_test_data): Likewise.
7349 (cosh_test_towardzero): Likewise.
7350 (cosh_downward_test_data): Likewise.
7351 (cosh_test_downward): Likewise.
7352 (cosh_upward_test_data): Likewise.
7353 (cosh_test_upward): Likewise.
7354 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7355 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7356 (ctan_test_data): Likewise.
7357 (ctan_test): Use ALL_RM_TEST.
7358 (ctan_tonearest_test_data): Remove.
7359 (ctan_test_tonearest): Likewise.
7360 (ctan_towardzero_test_data): Likewise.
7361 (ctan_test_towardzero): Likewise.
7362 (ctan_downward_test_data): Likewise.
7363 (ctan_test_downward): Likewise.
7364 (ctan_upward_test_data): Likewise.
7365 (ctan_test_upward): Likewise.
7366 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7367 (ctanh_test): Use ALL_RM_TEST.
7368 (ctanh_tonearest_test_data): Remove.
7369 (ctanh_test_tonearest): Likewise.
7370 (ctanh_towardzero_test_data): Likewise.
7371 (ctanh_test_towardzero): Likewise.
7372 (ctanh_downward_test_data): Likewise.
7373 (ctanh_test_downward): Likewise.
7374 (ctanh_upward_test_data): Likewise.
7375 (ctanh_test_upward): Likewise.
7376 (erf_test_data): Update call to AUTO_TESTS_f_f.
7377 (erfc_test_data): Likewise.
7378 (exp_test_data): Likewise.
7379 (exp_test): Use ALL_RM_TEST.
7380 (exp_tonearest_test_data): Remove.
7381 (exp_test_tonearest): Likewise.
7382 (exp_towardzero_test_data): Likewise.
7383 (exp_test_towardzero): Likewise.
7384 (exp_downward_test_data): Likewise.
7385 (exp_test_downward): Likewise.
7386 (exp_upward_test_data): Likewise.
7387 (exp_test_upward): Likewise.
7388 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7389 (exp10_test): Use ALL_RM_TEST.
7390 (exp10_tonearest_test_data): Remove.
7391 (exp10_test_tonearest): Likewise.
7392 (exp10_towardzero_test_data): Likewise.
7393 (exp10_test_towardzero): Likewise.
7394 (exp10_downward_test_data): Likewise.
7395 (exp10_test_downward): Likewise.
7396 (exp10_upward_test_data): Likewise.
7397 (exp10_test_upward): Likewise.
7398 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7399 (expm1_test_data): Likewise.
7400 (expm1_test): Use ALL_RM_TEST.
7401 (expm1_tonearest_test_data): Remove.
7402 (expm1_test_tonearest): Likewise.
7403 (expm1_towardzero_test_data): Likewise.
7404 (expm1_test_towardzero): Likewise.
7405 (expm1_downward_test_data): Likewise.
7406 (expm1_test_downward): Likewise.
7407 (expm1_upward_test_data): Likewise.
7408 (expm1_test_upward): Likewise.
7409 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7410 (fma_test): Use ALL_RM_TEST.
7411 (fma_towardzero_test_data): Remove.
7412 (fma_test_towardzero): Likewise.
7413 (fma_downward_test_data): Likewise.
7414 (fma_test_downward): Likewise.
7415 (fma_upward_test_data): Likewise.
7416 (fma_test_upward): Likewise.
7417 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7418 (j0_test_data): Update call to AUTO_TESTS_f_f.
7419 (j1_test_data): Likewise.
7420 (jn_test_data): Update call to AUTO_TESTS_if_f.
7421 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7422 (log_test_data): Update call to AUTO_TESTS_f_f.
7423 (log10_test_data): Likewise.
7424 (log1p_test_data): Likewise.
7425 (log2_test_data): Likewise.
7426 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7427 (pow_tonearest_test_data): Likewise.
7428 (sin_test_data): Update call to AUTO_TESTS_f_f.
7429 (sin_test): Use ALL_RM_TEST.
7430 (sin_tonearest_test_data): Remove.
7431 (sin_test_tonearest): Likewise.
7432 (sin_towardzero_test_data): Likewise.
7433 (sin_test_towardzero): Likewise.
7434 (sin_downward_test_data): Likewise.
7435 (sin_test_downward): Likewise.
7436 (sin_upward_test_data): Likewise.
7437 (sin_test_upward): Likewise.
7438 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7439 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7440 (sinh_test): Use ALL_RM_TEST.
7441 (sinh_tonearest_test_data): Remove.
7442 (sinh_test_tonearest): Likewise.
7443 (sinh_towardzero_test_data): Likewise.
7444 (sinh_test_towardzero): Likewise.
7445 (sinh_downward_test_data): Likewise.
7446 (sinh_test_downward): Likewise.
7447 (sinh_upward_test_data): Likewise.
7448 (sinh_test_upward): Likewise.
7449 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7450 (sqrt_test): Use ALL_RM_TEST.
7451 (sqrt_tonearest_test_data): Remove.
7452 (sqrt_test_tonearest): Likewise.
7453 (sqrt_towardzero_test_data): Likewise.
7454 (sqrt_test_towardzero): Likewise.
7455 (sqrt_downward_test_data): Likewise.
7456 (sqrt_test_downward): Likewise.
7457 (sqrt_upward_test_data): Likewise.
7458 (sqrt_test_upward): Likewise.
7459 (tan_test_data): Update call to AUTO_TESTS_f_f.
7460 (tan_test): Use ALL_RM_TEST.
7461 (tan_tonearest_test_data): Remove.
7462 (tan_test_tonearest): Likewise.
7463 (tan_towardzero_test_data): Likewise.
7464 (tan_test_towardzero): Likewise.
7465 (tan_downward_test_data): Likewise.
7466 (tan_test_downward): Likewise.
7467 (tan_upward_test_data): Likewise.
7468 (tan_test_upward): Likewise.
7469 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7470 (tgamma_test_data): Likewise.
7471 (y0_test_data): Likewise.
7472 (y1_test_data): Likewise.
7473 (yn_test_data): Update call to AUTO_TESTS_if_f.
7474 (main): Do not call removed functions.
7476 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7478 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7479 (ldexp_test_data): Remove.
7480 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7482 (scalb_test): Use ALL_RM_TEST.
7484 2014-03-19 Andreas Schwab <schwab@suse.de>
7486 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7488 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7492 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7493 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7494 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7495 (__ASSUME_PREADV): Undefine.
7496 (__ASSUME_PWRITEV): Likewise.
7498 2014-03-18 Roland McGrath <roland@hack.frob.com>
7500 * bits/mman-linux.h: Add comment about non-Linux use.
7501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7502 bits/mman-linux.h resting place.
7504 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7505 * bits/mman-linux.h: ... here.
7507 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7509 * conform/conformtest.pl: Add standard definition when calling C
7510 preprocessor on data files.
7511 (checknamespace): Remove unused variable.
7513 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7515 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7516 minus_oflow, plus_uflow and minus_uflow in expected results.
7517 * math/libm-test.inc (scalbn_test_data): Add more tests of
7518 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7520 (scalbn_test): Use ALL_RM_TEST.
7521 (scalbln_test_data): Add more tests of negative arguments. Use
7522 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7523 (scalbln_test): Use ALL_RM_TEST.
7525 2014-03-18 Roland McGrath <roland@hack.frob.com>
7527 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7529 2014-03-18 Will Newton <will.newton@linaro.org>
7531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7534 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7536 * Makerules [!subdir] (check-abi): Exit with error status if a
7539 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7541 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7542 for rint. Include results for all rounding modes.
7543 (nearbyint_test): Use ALL_RM_TEST.
7544 (rint_test_data): Include all tests used for nearbyint.
7546 2014-03-17 Will Newton <will.newton@linaro.org>
7548 * nptl/sysdeps/pthread/pthread.h: Revert previous
7551 * sysdeps/generic/ldsodefs.h: Revert previous
7554 * libio/genops.c: Revert previous change.
7555 * libio/libioP.h: Likewise.
7556 * stdio-common/vfprintf.c: Likewise.
7558 * sysdeps/generic/math_private.h: Revert previous
7561 * sysdeps/generic/math_private.h: Check whether
7562 HAVE_RM_CTX is defined with #ifdef rather
7565 * argp/argp-fmtstream.h: Check whether
7566 __STRICT_ANSI__ is defined with #ifdef rather
7568 * argp/argp.h: Likewise.
7570 * libio/genops.c: Check whether
7571 _IO_JUMPS_OFFSET is defined with #ifdef rather
7573 * libio/libioP.h: Likewise.
7574 * stdio-common/vfprintf.c: Likewise.
7576 * sysdeps/generic/ldsodefs.h: Check whether
7577 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7580 * nptl/sysdeps/pthread/pthread.h: Check
7581 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7584 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7586 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7588 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7592 * libio/fileops.c (_IO_file_open): Seek to end of file but
7593 don't cache the offset.
7594 (get_file_offset): Remove function.
7595 (do_ftell): Use cached offset when available.
7596 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7597 don't cache the offset.
7598 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7600 (do_one_test): Call it.
7601 (do_ftell_test): Fix up expected old offset for a+ mode.
7602 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7605 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7606 up test status with function return status.
7607 (do_write_test): Likewise.
7608 (do_append_test): Likewise.
7610 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7611 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7614 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7616 * math/gen-libm-test.pl (parse_args): Handle results specified for
7617 each rounding mode separately.
7618 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7619 tests and results from lrint_tonearest_test_data,
7620 lrint_towardzero_test_data, lrint_downward_test_data and
7621 lrint_upward_test_data.
7622 (lrint_test): Use ALL_RM_TEST.
7623 (lrint_tonearest_test_data): Remove.
7624 (lrint_test_tonearest): Likewise.
7625 (lrint_towardzero_test_data): Likewise.
7626 (lrint_test_towardzero): Likewise.
7627 (lrint_downward_test_data): Likewise.
7628 (lrint_test_downward): Likewise.
7629 (lrint_upward_test_data): Likewise.
7630 (lrint_test_upward): Likewise.
7631 (llrint_test_data): Merge in per-rounding-mode tests and results
7632 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7633 llrint_downward_test_data and llrint_upward_test_data.
7634 (llrint_test): Use ALL_RM_TEST.
7635 (llrint_tonearest_test_data): Remove.
7636 (llrint_test_tonearest): Likewise.
7637 (llrint_towardzero_test_data): Likewise.
7638 (llrint_test_towardzero): Likewise.
7639 (llrint_downward_test_data): Likewise.
7640 (llrint_test_downward): Likewise.
7641 (llrint_upward_test_data): Likewise.
7642 (llrint_test_upward): Likewise.
7643 (rint_test_data): Merge in per-rounding-mode tests and results
7644 from rint_tonearest_test_data, rint_towardzero_test_data,
7645 rint_downward_test_data and rint_upward_test_data. Add
7646 per-rounding-mode results for tests not in those arrays.
7647 (rint_test): Use ALL_RM_TEST.
7648 (rint_tonearest_test_data): Remove.
7649 (rint_test_tonearest): Likewise.
7650 (rint_towardzero_test_data): Likewise.
7651 (rint_test_towardzero): Likewise.
7652 (rint_downward_test_data): Likewise.
7653 (rint_test_downward): Likewise.
7654 (rint_upward_test_data): Likewise.
7655 (rint_test_upward): Likewise.
7656 (main): Don't call removed functions.
7658 2014-03-14 Roland McGrath <roland@hack.frob.com>
7660 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7661 "Compiled on ..." crapola. It is anti-useful.
7663 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7665 * scripts/evaluate-test.sh: Handle fourth argument to determine
7666 whether test run should stop on failure.
7667 * Makeconfig (stop-on-test-failure): New variable.
7668 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7669 $(stop-on-test-failure).
7670 * Makefile (tests): Give a summary of results from testing and
7671 exit with failure status if they include an ERROR or FAIL.
7673 * manual/install.texi (Configuring and compiling): Mention
7674 stop-on-test-failure=y.
7675 * INSTALL: Regenerated.
7677 2014-03-14 Roland McGrath <roland@hack.frob.com>
7679 * scripts/versionlist.awk: New file.
7680 * Makerules [$(build-shared) = yes]
7681 (postclean-generated): Add Versions.def, not Versions.def.v and
7683 ($(common-objpfx)Versions.def.v.i): Target removed.
7684 ($(common-objpfx)Versions.def): New target.
7685 ($(common-objpfx)Versions.all): Depend on that rather that
7686 $(common-objpfx)Versions.def.v.
7687 * Versions.def: File removed.
7689 * Makeconfig (+gccwarn): Add -Wundef.
7690 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7691 a dl-sysdep.h breaking its contract.
7692 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7693 * include/stackinfo.h: New file.
7694 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7695 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7696 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7697 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7698 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7699 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7700 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7701 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7702 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7703 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7704 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7705 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7706 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7707 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7708 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7710 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7715 * math/libm-test.inc (round_test_data): Add more tests.
7718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7720 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7725 * math/libm-test.inc (ceil_test_data): Add more tests.
7727 * math/libm-test.inc (trunc_test_data): Add more tests related to
7730 2014-03-14 Roland McGrath <roland@hack.frob.com>
7732 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7733 with #if rather than #ifdef.
7734 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7736 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7739 first. Disable AVX-512 GCC support if assembler doesn't support
7741 * sysdeps/x86_64/configure: Regenerated.
7743 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7745 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7746 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7747 (__old_pthread_attr_setstack): Likewise.
7748 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7749 [!_STACK_GROWS_DOWN]: Likewise.
7751 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7753 * config.make.in (have-bash2): Delete.
7754 * configure.ac (libc_cv_have_bash2): Delete.
7755 * configure: Regenerate.
7756 * elf/Makefile (common-ldd-rewrite): Rename to ...
7757 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7758 (sh-ldd-rewrite): Delete.
7759 (bash-ldd-rewrite): Delete.
7760 (have-bash2): Delete checks.
7761 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7764 * config.make.in (have-ksh): Delete.
7766 * configure.ac (libc_cv_have_ksh): Delete.
7767 * configure: Regenerate.
7769 * elf/Makefile: Delete $(have-ksh) check.
7770 ($(objpfx)sotruss): Change KSH to BASH.
7771 * elf/sotruss.ksh: Rename to ...
7772 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7773 function style to match POSIX. Drop ksh vim mode setting.
7775 * manual/time.texi (Specifying the Time Zone with TZ): Change
7776 Tuesday to Thursday.
7778 * debug/tst-longjmp_chk2.c: Update header comment.
7779 (stackoverflow_handler): Add comment. Call assert on pass value.
7781 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7783 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7784 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7785 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7786 (La_x86_64_vector): Add zmm.
7787 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7788 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7789 ($(objpfx)tst-audit10): New target.
7790 ($(objpfx)tst-audit10.out): Likewise.
7791 (tst-audit10-ENV): New.
7792 (AVX512-CFLAGS): Likewise.
7793 (CFLAGS-tst-audit10.c): Likewise.
7794 (CFLAGS-tst-auditmod10a.c): Likewise.
7795 (CFLAGS-tst-auditmod10b.c): Likewise.
7796 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7797 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7798 * sysdeps/x86_64/configure: Regenerated.
7799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7800 AVX-512 zmm register support.
7801 (_dl_x86_64_save_sse): Likewise.
7802 (_dl_x86_64_restore_sse): Likewise.
7803 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7804 size vector registers.
7805 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7806 (ZMM_SIZE): Likewise.
7807 * sysdeps/x86_64/tst-audit10.c: New file.
7808 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7809 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7811 2014-03-13 Roland McGrath <roland@hack.frob.com>
7813 * configure.ac (HAVE_EHDR_START): New check.
7814 * configure: Regenerated.
7815 * config.h.in (HAVE_EHDR_START): New #undef.
7816 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7817 assuming the lowest-addressed segment maps the start of the file.
7819 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7821 * INSTALL: Regenerated.
7823 2014-03-13 Will Newton <will.newton@linaro.org>
7825 * manual/setjmp.texi (System V contexts): Improve
7826 clarity and grammar of documentation.
7828 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7831 * elf/Makefile (tests): Add tst-pie2.
7832 (tests-pie): Add tst-pie2.
7833 * elf/tst-pie2.c: New file.
7834 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7836 * elf/rtld.c (map_doit): Load executable as lt_executable.
7837 (dl_main): Likewise.
7839 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7843 (__ASSUME_PSELECT): Undefine.
7845 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7849 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7851 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7852 selector for static builds.
7854 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7860 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7862 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7863 IFUNC selector for static builds.
7865 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7867 * sysdeps/mips/math_private.h [__mips_hard_float]
7868 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7869 libc_feresetround_mips_ctx.
7870 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7871 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7872 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7875 * math/s_nextafter.c (__nextafter): Do not return value from
7876 overflowing computation.
7877 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7878 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7883 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7884 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7886 2014-03-11 Roland McGrath <roland@hack.frob.com>
7888 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7889 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7890 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7891 the new mov targetting sp.
7893 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7896 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7897 Define it for static builds as well.
7898 (NO_BZERO_IMPL): Likewise.
7900 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7902 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7903 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7904 multiarch strspn for PPC64.
7905 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7906 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7908 (__libc_ifunc_impl_list): Likewise.
7909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7910 multiarch optimizations
7911 * string/strspn.c (strspn): Using macro to redefine symbol name.
7913 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7914 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7916 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7917 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7918 multiarch strncat for PPC64.
7919 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7920 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7922 (__libc_ifunc_impl_list): Likewise.
7923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7924 multiarch optimizations
7926 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7929 * nscd/nscd.service: Make service type forking.
7931 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7934 sign in non default rounding modes.
7935 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7937 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7939 * math/libm-test.inc (ALL_RM_TEST): New macro.
7940 (ceil_test): Use ALL_RM_TEST.
7941 (cimag_test): Likewise.
7942 (conj_test): Likewise.
7943 (copysign_test): Likewise.
7944 (cproj_test): Likewise.
7945 (creal_test): Likewise.
7946 (fabs_test): Likewise.
7947 (floor_test): Likewise.
7948 (fmax_test): Likewise.
7949 (fmin_test): Likewise.
7950 (fmod_test): Likewise.
7951 (fpclassify_test): Likewise.
7952 (frexp_test): Likewise.
7953 (ilogb_test): Likewise.
7954 (isfinite_test): Likewise.
7955 (finite_test): Likewise.
7956 (isgreater_test): Likewise.
7957 (isgreaterequal_test): Likewise.
7958 (isinf_test): Likewise.
7959 (isless_test): Likewise.
7960 (islessequal_test): Likewise.
7961 (islessgreater_test): Likewise.
7962 (isnan_test): Likewise.
7963 (isnormal_test): Likewise.
7964 (issignaling_test): Likewise.
7965 (isunordered_test): Likewise.
7966 (logb_test): Likewise.
7967 (logb_downward_test_data): Remove.
7968 (logb_test_downward): Likewise.
7969 (lround_test): Use ALL_RM_TEST.
7970 (llround_test): Likewise.
7971 (modf_test): Likewise.
7972 (nexttoward_test): Likewise.
7973 (remainder_test): Likewise.
7974 (drem_test): Likewise.
7975 (remainder_tonearest_test_data): Likewise.
7976 (remainder_test_tonearest): Likewise.
7977 (drem_test_tonearest): Likewise.
7978 (remainder_towardzero_test_data): Likewise.
7979 (remainder_test_towardzero): Likewise.
7980 (drem_test_towardzero): Likewise.
7981 (remainder_downward_test_data): Likewise.
7982 (remainder_test_downward): Likewise.
7983 (drem_test_downward): Likewise.
7984 (remainder_upward_test_data): Likewise.
7985 (remainder_test_upward): Likewise.
7986 (drem_test_upward): Likewise.
7987 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7988 (round_test): Use ALL_RM_TEST.
7989 (signbit_test): Likewise.
7990 (trunc_test): Likewise.
7991 (significand_test): Likewise.
7992 (main): Don't call removed functions.
7994 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7997 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7999 (ILL_ILLOPN): Likewise.
8000 (ILL_ILLADR): Likewise.
8001 (ILL_ILLTRP): Likewise.
8002 (ILL_PRVOPC): Likewise.
8003 (ILL_PRVREG): Likewise.
8004 (ILL_COPROC): Likewise.
8005 (ILL_BADSTK): Likewise.
8006 (FPE_INTDIV): Likewise.
8007 (FPE_INTOVF): Likewise.
8008 (FPE_FLTDIV): Likewise.
8009 (FPE_FLTOVF): Likewise.
8010 (FPE_FLTUND): Likewise.
8011 (FPE_FLTRES): Likewise.
8012 (FPE_FLTINV): Likewise.
8013 (FPE_FLTSUB): Likewise.
8014 (SEGV_MAPERR): Likewise.
8015 (SEGV_ACCERR): Likewise.
8016 (BUS_ADRALN): Likewise.
8017 (BUS_ADRERR): Likewise.
8018 (BUS_OBJERR): Likewise.
8019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8020 (TRAP_TRACE): Likewise.
8021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8023 (CLD_KILLED): Likewise.
8024 (CLD_DUMPED): Likewise.
8025 (CLD_TRAPPED): Likewise.
8026 (CLD_STOPPED): Likewise.
8027 (CLD_CONTINUED): Likewise.
8028 (POLL_IN): Likewise.
8029 (POLL_OUT): Likewise.
8030 (POLL_MSG): Likewise.
8031 (POLL_ERR): Likewise.
8032 (POLL_PRI): Likewise.
8033 (POLL_HUP): Likewise.
8034 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8036 (ILL_ILLOPN): Likewise.
8037 (ILL_ILLADR): Likewise.
8038 (ILL_ILLTRP): Likewise.
8039 (ILL_PRVOPC): Likewise.
8040 (ILL_PRVREG): Likewise.
8041 (ILL_COPROC): Likewise.
8042 (ILL_BADSTK): Likewise.
8043 (FPE_INTDIV): Likewise.
8044 (FPE_INTOVF): Likewise.
8045 (FPE_FLTDIV): Likewise.
8046 (FPE_FLTOVF): Likewise.
8047 (FPE_FLTUND): Likewise.
8048 (FPE_FLTRES): Likewise.
8049 (FPE_FLTINV): Likewise.
8050 (FPE_FLTSUB): Likewise.
8051 (SEGV_MAPERR): Likewise.
8052 (SEGV_ACCERR): Likewise.
8053 (BUS_ADRALN): Likewise.
8054 (BUS_ADRERR): Likewise.
8055 (BUS_OBJERR): Likewise.
8056 (BUS_MCEERR_AR): Likewise.
8057 (BUS_MCEERR_AO): Likewise.
8058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8059 (TRAP_TRACE): Likewise.
8060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8062 (CLD_KILLED): Likewise.
8063 (CLD_DUMPED): Likewise.
8064 (CLD_TRAPPED): Likewise.
8065 (CLD_STOPPED): Likewise.
8066 (CLD_CONTINUED): Likewise.
8067 (POLL_IN): Likewise.
8068 (POLL_OUT): Likewise.
8069 (POLL_MSG): Likewise.
8070 (POLL_ERR): Likewise.
8071 (POLL_PRI): Likewise.
8072 (POLL_HUP): Likewise.
8073 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8074 (ILL_ILLOPN): Likewise.
8075 (ILL_ILLADR): Likewise.
8076 (ILL_ILLTRP): Likewise.
8077 (ILL_PRVOPC): Likewise.
8078 (ILL_PRVREG): Likewise.
8079 (ILL_COPROC): Likewise.
8080 (ILL_BADSTK): Likewise.
8081 (FPE_INTDIV): Likewise.
8082 (FPE_INTOVF): Likewise.
8083 (FPE_FLTDIV): Likewise.
8084 (FPE_FLTOVF): Likewise.
8085 (FPE_FLTUND): Likewise.
8086 (FPE_FLTRES): Likewise.
8087 (FPE_FLTINV): Likewise.
8088 (FPE_FLTSUB): Likewise.
8089 (SEGV_MAPERR): Likewise.
8090 (SEGV_ACCERR): Likewise.
8091 (BUS_ADRALN): Likewise.
8092 (BUS_ADRERR): Likewise.
8093 (BUS_OBJERR): Likewise.
8094 (BUS_MCEERR_AR): Likewise.
8095 (BUS_MCEERR_AO): Likewise.
8096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8097 (TRAP_TRACE): Likewise.
8098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8100 (CLD_KILLED): Likewise.
8101 (CLD_DUMPED): Likewise.
8102 (CLD_TRAPPED): Likewise.
8103 (CLD_STOPPED): Likewise.
8104 (CLD_CONTINUED): Likewise.
8105 (POLL_IN): Likewise.
8106 (POLL_OUT): Likewise.
8107 (POLL_MSG): Likewise.
8108 (POLL_ERR): Likewise.
8109 (POLL_PRI): Likewise.
8110 (POLL_HUP): Likewise.
8111 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8113 (ILL_ILLOPN): Likewise.
8114 (ILL_ILLADR): Likewise.
8115 (ILL_ILLTRP): Likewise.
8116 (ILL_PRVOPC): Likewise.
8117 (ILL_PRVREG): Likewise.
8118 (ILL_COPROC): Likewise.
8119 (ILL_BADSTK): Likewise.
8120 (ILL_BADIADDR): Likewise.
8121 (ILL_BREAK): Likewise.
8122 (FPE_INTDIV): Likewise.
8123 (FPE_INTOVF): Likewise.
8124 (FPE_FLTDIV): Likewise.
8125 (FPE_FLTOVF): Likewise.
8126 (FPE_FLTUND): Likewise.
8127 (FPE_FLTRES): Likewise.
8128 (FPE_FLTINV): Likewise.
8129 (FPE_FLTSUB): Likewise.
8130 (FPE_DECOVF): Likewise.
8131 (FPE_DECDIV): Likewise.
8132 (FPE_DECERR): Likewise.
8133 (FPE_INVASC): Likewise.
8134 (FPE_INVDEC): Likewise.
8135 (SEGV_MAPERR): Likewise.
8136 (SEGV_ACCERR): Likewise.
8137 (SEGV_PSTKOVF): Likewise.
8138 (BUS_ADRALN): Likewise.
8139 (BUS_ADRERR): Likewise.
8140 (BUS_OBJERR): Likewise.
8141 (BUS_MCEERR_AR): Likewise.
8142 (BUS_MCEERR_AO): Likewise.
8143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8144 (TRAP_TRACE): Likewise.
8145 (TRAP_BRANCH): Likewise.
8146 (TRAP_HWBKPT): Likewise.
8147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8149 (CLD_KILLED): Likewise.
8150 (CLD_DUMPED): Likewise.
8151 (CLD_TRAPPED): Likewise.
8152 (CLD_STOPPED): Likewise.
8153 (CLD_CONTINUED): Likewise.
8154 (POLL_IN): Likewise.
8155 (POLL_OUT): Likewise.
8156 (POLL_MSG): Likewise.
8157 (POLL_ERR): Likewise.
8158 (POLL_PRI): Likewise.
8159 (POLL_HUP): Likewise.
8160 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8161 (ILL_ILLOPN): Likewise.
8162 (ILL_ILLADR): Likewise.
8163 (ILL_ILLTRP): Likewise.
8164 (ILL_PRVOPC): Likewise.
8165 (ILL_PRVREG): Likewise.
8166 (ILL_COPROC): Likewise.
8167 (ILL_BADSTK): Likewise.
8168 (FPE_INTDIV): Likewise.
8169 (FPE_INTOVF): Likewise.
8170 (FPE_FLTDIV): Likewise.
8171 (FPE_FLTOVF): Likewise.
8172 (FPE_FLTUND): Likewise.
8173 (FPE_FLTRES): Likewise.
8174 (FPE_FLTINV): Likewise.
8175 (FPE_FLTSUB): Likewise.
8176 (SEGV_MAPERR): Likewise.
8177 (SEGV_ACCERR): Likewise.
8178 (BUS_ADRALN): Likewise.
8179 (BUS_ADRERR): Likewise.
8180 (BUS_OBJERR): Likewise.
8181 (BUS_MCEERR_AR): Likewise.
8182 (BUS_MCEERR_AO): Likewise.
8183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8184 (TRAP_TRACE): Likewise.
8185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8187 (CLD_KILLED): Likewise.
8188 (CLD_DUMPED): Likewise.
8189 (CLD_TRAPPED): Likewise.
8190 (CLD_STOPPED): Likewise.
8191 (CLD_CONTINUED): Likewise.
8192 (POLL_IN): Likewise.
8193 (POLL_OUT): Likewise.
8194 (POLL_MSG): Likewise.
8195 (POLL_ERR): Likewise.
8196 (POLL_PRI): Likewise.
8197 (POLL_HUP): Likewise.
8198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8199 (ILL_ILLOPN): Likewise.
8200 (ILL_ILLADR): Likewise.
8201 (ILL_ILLTRP): Likewise.
8202 (ILL_PRVOPC): Likewise.
8203 (ILL_PRVREG): Likewise.
8204 (ILL_COPROC): Likewise.
8205 (ILL_BADSTK): Likewise.
8206 (FPE_INTDIV): Likewise.
8207 (FPE_INTOVF): Likewise.
8208 (FPE_FLTDIV): Likewise.
8209 (FPE_FLTOVF): Likewise.
8210 (FPE_FLTUND): Likewise.
8211 (FPE_FLTRES): Likewise.
8212 (FPE_FLTINV): Likewise.
8213 (FPE_FLTSUB): Likewise.
8214 (SEGV_MAPERR): Likewise.
8215 (SEGV_ACCERR): Likewise.
8216 (BUS_ADRALN): Likewise.
8217 (BUS_ADRERR): Likewise.
8218 (BUS_OBJERR): Likewise.
8219 (BUS_MCEERR_AR): Likewise.
8220 (BUS_MCEERR_AO): Likewise.
8221 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8222 (TRAP_TRACE): Likewise.
8223 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8225 (CLD_KILLED): Likewise.
8226 (CLD_DUMPED): Likewise.
8227 (CLD_TRAPPED): Likewise.
8228 (CLD_STOPPED): Likewise.
8229 (CLD_CONTINUED): Likewise.
8230 (POLL_IN): Likewise.
8231 (POLL_OUT): Likewise.
8232 (POLL_MSG): Likewise.
8233 (POLL_ERR): Likewise.
8234 (POLL_PRI): Likewise.
8235 (POLL_HUP): Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8237 (ILL_ILLOPN): Likewise.
8238 (ILL_ILLADR): Likewise.
8239 (ILL_ILLTRP): Likewise.
8240 (ILL_PRVOPC): Likewise.
8241 (ILL_PRVREG): Likewise.
8242 (ILL_COPROC): Likewise.
8243 (ILL_BADSTK): Likewise.
8244 (FPE_INTDIV): Likewise.
8245 (FPE_INTOVF): Likewise.
8246 (FPE_FLTDIV): Likewise.
8247 (FPE_FLTOVF): Likewise.
8248 (FPE_FLTUND): Likewise.
8249 (FPE_FLTRES): Likewise.
8250 (FPE_FLTINV): Likewise.
8251 (FPE_FLTSUB): Likewise.
8252 (SEGV_MAPERR): Likewise.
8253 (SEGV_ACCERR): Likewise.
8254 (BUS_ADRALN): Likewise.
8255 (BUS_ADRERR): Likewise.
8256 (BUS_OBJERR): Likewise.
8257 (BUS_MCEERR_AR): Likewise.
8258 (BUS_MCEERR_AO): Likewise.
8259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8260 (TRAP_TRACE): Likewise.
8261 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8263 (CLD_KILLED): Likewise.
8264 (CLD_DUMPED): Likewise.
8265 (CLD_TRAPPED): Likewise.
8266 (CLD_STOPPED): Likewise.
8267 (CLD_CONTINUED): Likewise.
8268 (POLL_IN): Likewise.
8269 (POLL_OUT): Likewise.
8270 (POLL_MSG): Likewise.
8271 (POLL_ERR): Likewise.
8272 (POLL_PRI): Likewise.
8273 (POLL_HUP): Likewise.
8274 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8275 (ILL_ILLOPN): Likewise.
8276 (ILL_ILLADR): Likewise.
8277 (ILL_ILLTRP): Likewise.
8278 (ILL_PRVOPC): Likewise.
8279 (ILL_PRVREG): Likewise.
8280 (ILL_COPROC): Likewise.
8281 (ILL_BADSTK): Likewise.
8282 (ILL_DBLFLT): Likewise.
8283 (ILL_HARDWALL): Likewise.
8284 (FPE_INTDIV): Likewise.
8285 (FPE_INTOVF): Likewise.
8286 (FPE_FLTDIV): Likewise.
8287 (FPE_FLTOVF): Likewise.
8288 (FPE_FLTUND): Likewise.
8289 (FPE_FLTRES): Likewise.
8290 (FPE_FLTINV): Likewise.
8291 (FPE_FLTSUB): Likewise.
8292 (SEGV_MAPERR): Likewise.
8293 (SEGV_ACCERR): Likewise.
8294 (BUS_ADRALN): Likewise.
8295 (BUS_ADRERR): Likewise.
8296 (BUS_OBJERR): Likewise.
8297 (BUS_MCEERR_AR): Likewise.
8298 (BUS_MCEERR_AO): Likewise.
8299 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8300 (TRAP_TRACE): Likewise.
8301 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8303 (CLD_KILLED): Likewise.
8304 (CLD_DUMPED): Likewise.
8305 (CLD_TRAPPED): Likewise.
8306 (CLD_STOPPED): Likewise.
8307 (CLD_CONTINUED): Likewise.
8308 (POLL_IN): Likewise.
8309 (POLL_OUT): Likewise.
8310 (POLL_MSG): Likewise.
8311 (POLL_ERR): Likewise.
8312 (POLL_PRI): Likewise.
8313 (POLL_HUP): Likewise.
8314 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8315 (ILL_ILLOPN): Likewise.
8316 (ILL_ILLADR): Likewise.
8317 (ILL_ILLTRP): Likewise.
8318 (ILL_PRVOPC): Likewise.
8319 (ILL_PRVREG): Likewise.
8320 (ILL_COPROC): Likewise.
8321 (ILL_BADSTK): Likewise.
8322 (FPE_INTDIV): Likewise.
8323 (FPE_INTOVF): Likewise.
8324 (FPE_FLTDIV): Likewise.
8325 (FPE_FLTOVF): Likewise.
8326 (FPE_FLTUND): Likewise.
8327 (FPE_FLTRES): Likewise.
8328 (FPE_FLTINV): Likewise.
8329 (FPE_FLTSUB): Likewise.
8330 (SEGV_MAPERR): Likewise.
8331 (SEGV_ACCERR): Likewise.
8332 (BUS_ADRALN): Likewise.
8333 (BUS_ADRERR): Likewise.
8334 (BUS_OBJERR): Likewise.
8335 (BUS_MCEERR_AR): Likewise.
8336 (BUS_MCEERR_AO): Likewise.
8337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8338 (TRAP_TRACE): Likewise.
8339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8341 (CLD_KILLED): Likewise.
8342 (CLD_DUMPED): Likewise.
8343 (CLD_TRAPPED): Likewise.
8344 (CLD_STOPPED): Likewise.
8345 (CLD_CONTINUED): Likewise.
8346 (POLL_IN): Likewise.
8347 (POLL_OUT): Likewise.
8348 (POLL_MSG): Likewise.
8349 (POLL_ERR): Likewise.
8350 (POLL_PRI): Likewise.
8351 (POLL_HUP): Likewise.
8352 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8353 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8356 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8357 before #include of <time.h>.
8358 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8359 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8360 (test-xfail-UNIX98/sched.h/conform): Likewise.
8362 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8364 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8365 error absence of trapping exception support.
8366 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8368 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8370 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8371 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8372 * timezone/Makefile (testdata): Move definition above include of
8374 (test-zones): New variable.
8375 (tests-special): Add zone files.
8376 (build-testdata): Use $(evaluate-test).
8378 * elf/Makefile (tests-special): Rename tests to end with .out.
8379 ($(objpfx)noload-mem): Likewise.
8380 ($(objpfx)tst-leaks1-mem): Likewise.
8381 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8382 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8383 $(objpfx)test-iconvconfig.out.
8384 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8385 set -e inside subshell and redirect output to file.
8386 * iconvdata/Makefile (generated): Rename tests to end with .out.
8388 (tests-special): Rename tests to end with .out.
8389 ($(objpfx)mtrace-tst-loading): Likewise.
8390 * intl/Makefile (generated): Likewise.
8391 (tests-special): Likewise.
8392 ($(objpfx)mtrace-tst-gettext): Likewise.
8393 * misc/Makefile (generated): Likewise.
8394 (tests-special): Likewise.
8395 ($(objpfx)tst-error1-mem): Likewise.
8396 * nptl/Makefile (tests-special): Likewise.
8397 ($(objpfx)tst-stack3-mem): Likewise.
8398 (generated): Likewise.
8399 * posix/Makefile (generated): Likewise.
8400 (tests-special): Likewise.
8401 (xtests-special): Likewise.
8402 ($(objpfx)tst-fnmatch-mem): Likewise.
8403 ($(objpfx)bug-regex2-mem): Likewise.
8404 ($(objpfx)bug-regex14-mem): Likewise.
8405 ($(objpfx)bug-regex21-mem): Likewise.
8406 ($(objpfx)bug-regex31-mem): Likewise.
8407 ($(objpfx)tst-vfork3-mem): Likewise.
8408 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8409 ($(objpfx)tst-pcre-mem): Likewise.
8410 ($(objpfx)tst-boost-mem): Likewise.
8411 ($(objpfx)bug-ga2-mem): Likewise.
8412 ($(objpfx)bug-glob2-mem): Likewise.
8413 * resolv/Makefile (generate): Likewise.
8414 (tests-special): Likewise.
8415 (xtests-special): Likewise.
8416 (generated): Likewise.
8417 ($(objpfx)mtrace-tst-leaks): Likewise.
8418 ($(objpfx)mtrace-tst-leaks2): Likewise.
8420 * scripts/merge-test-results.sh: New file.
8421 * Makefile (tests-special-notdir): New variable.
8422 (tests): Run merge-test-results.sh.
8424 * Rules (tests-special-notdir): New variable.
8425 (xtests-special-notdir): Likewise.
8426 (tests): Run merge-test-results.sh
8429 * Makeconfig (test-xfail-name): New variable.
8430 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8431 compute variable name for expected failures.
8432 * conform/Makefile (conformtest-headers-data): New variable.
8433 (conformtest-standards): Likewise.
8434 (conformtest-headers-ISO): Likewise.
8435 (conformtest-headers-ISO99): Likewise.
8436 (conformtest-headers-ISO11): Likewise.
8437 (conformtest-headers-POSIX): Likewise.
8438 (conformtest-headers-XPG3): Likewise.
8439 (conformtest-headers-XPG4): Likewise.
8440 (conformtest-headers-UNIX98): Likewise.
8441 (conformtest-headers-XOPEN2K): Likewise.
8442 (conformtest-headers-POSIX2008): Likewise.
8443 (conformtest-headers-XOPEN2K8): Likewise.
8444 (conformtest-header-list-base): Likewise.
8445 (conformtest-header-list-tests): Likewise.
8446 (conformtest-header-base): Likewise.
8447 (conformtest-header-tests): Likewise.
8448 (tests-special): Add $(conformtest-header-list-tests). If
8449 [$(fast-check) && !$(cross-compiling)], add
8450 $(conformtest-header-tests) instead of
8451 $(objpfx)run-conformtest.out.
8452 (generated): Add $(conformtest-header-list-base). If
8453 [$(fast-check) && !$(cross-compiling)], add
8454 $(conformtest-header-base). Remove previous setting.
8455 ($(conformtest-header-list-tests)): New target.
8456 (test-xfail-run-conformtest): Remove variable.
8457 ($(objpfx)run-conformtest.out): Remove target.
8458 (test-xfail-ISO11/complex.h/conform): New variable.
8459 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8460 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8461 (test-xfail-XPG3/varargs.h/conform): Likewise.
8462 (test-xfail-XPG4/varargs.h/conform): Likewise.
8463 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8464 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8465 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8466 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8467 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8468 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8469 (test-xfail-XPG3/ftw.h/conform): Likewise.
8470 (test-xfail-XPG3/grp.h/conform): Likewise.
8471 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8472 (test-xfail-XPG3/limits.h/conform): Likewise.
8473 (test-xfail-XPG3/pwd.h/conform): Likewise.
8474 (test-xfail-XPG3/search.h/conform): Likewise.
8475 (test-xfail-XPG3/signal.h/conform): Likewise.
8476 (test-xfail-XPG3/stdio.h/conform): Likewise.
8477 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8478 (test-xfail-XPG3/string.h/conform): Likewise.
8479 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8480 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8481 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8482 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8483 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8484 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8485 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8486 (test-xfail-XPG3/termios.h/conform): Likewise.
8487 (test-xfail-XPG3/time.h/conform): Likewise.
8488 (test-xfail-XPG3/unistd.h/conform): Likewise.
8489 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8490 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8491 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8492 (test-xfail-XPG4/netdb.h/conform): Likewise.
8493 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8494 (test-xfail-XPG4/signal.h/conform): Likewise.
8495 (test-xfail-XPG4/stdio.h/conform): Likewise.
8496 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8497 (test-xfail-XPG4/stropts.h/conform): Likewise.
8498 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8499 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8500 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8501 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8502 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8503 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8504 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8505 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8506 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8507 (test-xfail-XPG4/termios.h/conform): Likewise.
8508 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8509 (test-xfail-XPG4/unistd.h/conform): Likewise.
8510 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8511 (test-xfail-POSIX/sched.h/conform): Likewise.
8512 (test-xfail-POSIX/signal.h/conform): Likewise.
8513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8514 (test-xfail-POSIX/tar.h/conform): Likewise.
8515 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8516 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8517 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8518 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8519 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8520 (test-xfail-UNIX98/sched.h/conform): Likewise.
8521 (test-xfail-UNIX98/signal.h/conform): Likewise.
8522 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8523 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8524 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8525 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8526 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8527 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8528 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8529 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8530 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8531 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8532 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8533 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8534 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8535 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8536 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8537 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8538 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8539 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8540 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8541 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8542 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8543 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8544 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8545 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8546 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8547 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8548 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8549 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8550 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8551 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8552 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8553 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8554 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8555 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8556 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8557 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8558 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8559 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8560 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8561 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8562 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8563 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8564 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8565 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8566 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8567 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8568 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8569 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8570 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8571 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8572 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8573 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8574 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8575 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8576 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8577 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8578 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8579 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8580 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8581 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8582 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8583 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8584 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8585 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8586 (conformtest-cc-flags): Likewise.
8587 ($(conformtest-header-tests): New target.
8588 * conform/check-header-lists.sh: New file.
8589 * conform/run-conformtest.sh: Remove.
8591 * conform/conformtest.pl: Allow ' and \ in values given for
8593 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8595 [POSIX] (sys/types.h): Likewise.
8596 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8598 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8600 * conform/data/signal.h-data (SIGIO): Remove expectation.
8601 [XPG3] (SIGBUS): Do not expect.
8602 [POSIX || XPG3] (SIGPOLL): Likewise.
8603 [POSIX || XPG3] (SIGPROF): Likewise.
8604 [POSIX || XPG3] (SIGSYS): Likewise.
8605 [XPG3] (SIGTRAP): Likewise.
8606 [POSIX || XPG3] (SIGURG): Likewise.
8607 [POSIX || XPG3] (SIGVTALRM): Likewise.
8608 [POSIX || XPG3] (SIGXCPU): Likewise.
8609 [POSIX || XPG3] (SIGXFSZ): Likewise.
8610 [POSIX] (SA_SIGINFO): Expect.
8611 [XPG3] (siginfo_t): Do not expect type or contents.
8612 [POSIX] (si_pid): Do not expect element.
8613 [POSIX] (si_uid): Likewise.
8614 [POSIX] (si_addr): Likewise.
8615 [POSIX] (si_status): Likewise.
8616 [POSIX] (si_band): Likewise.
8617 [XPG4] (si_value): Likewise.
8618 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8619 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8620 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8621 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8622 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8623 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8624 [POSIX || XPG3] (ILL_COPROC): Likewise.
8625 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8626 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8627 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8628 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8629 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8630 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8631 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8632 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8633 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8634 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8635 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8636 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8637 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8638 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8639 [POSIX || XPG3] (CLD_EXITED): Likewise.
8640 [POSIX || XPG3] (CLD_KILLED): Likewise.
8641 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8642 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8643 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8644 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8645 [POSIX || XPG3] (POLL_IN): Likewise.
8646 [POSIX || XPG3] (POLL_OUT): Likewise.
8647 [POSIX || XPG3] (POLL_MSG): Likewise.
8648 [POSIX || XPG3] (POLL_ERR): Likewise.
8649 [POSIX || XPG3] (POLL_PRI): Likewise.
8650 [POSIX || XPG3] (POLL_HUP): Likewise.
8651 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8652 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8653 (SIG*): Do not allow.
8654 [XPG3] (si_*): Likewise.
8655 [XPG3] (SI_*): Likewise.
8656 [XPG3 || XPG4] (sigev_*): Likewise.
8657 [XPG3 || XPG4] (SIGEV_*): Likewise.
8658 [XPG3 || XPG4] (sival_*): Likewise.
8659 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8660 [POSIX || XPG3] (BUS_*): Likewise.
8661 [POSIX || XPG3] (CLD_*): Likewise.
8662 [POSIX || XPG3] (FPE_*): Likewise.
8663 [POSIX || XPG3] (ILL_*): Likewise.
8664 [POSIX || XPG3] (POLL_*): Likewise.
8665 [POSIX || XPG3] (SEGV_*): Likewise.
8666 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8667 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8668 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8669 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8670 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8671 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8672 Specify type and value.
8673 (TVERSLEN): Likewise.
8674 (REGTYPE): Likewise.
8675 (AREGTYPE): Likewise.
8676 (LNKTYPE): Likewise.
8677 (SYMTYPE): Likewise.
8678 (CHRTYPE): Likewise.
8679 (BLKTYPE): Likewise.
8680 (DIRTYPE): Likewise.
8681 (FIFOTYPE): Likewise.
8682 (CONTTYPE): Likewise.
8687 (TUWRITE): Likewise.
8690 (TGWRITE): Likewise.
8693 (TOWRITE): Likewise.
8695 [POSIX] (TSVTX): Expect constant.
8697 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8699 * Makefile (tests): Change dependencies to ....
8700 (tests-special): ... additions to this variable.
8701 (tests): Depend on $(tests-special).
8702 * Makerules (check-abi-list): New variable.
8703 (check-abi): Depend on $(check-abi-list).
8704 [$(subdir) = elf] (tests-special): Add
8705 $(objpfx)check-abi-libc.out.
8706 [$(build-shared) = yes && subdir] (tests-special): Add
8708 [$(build-shared) = yes && subdir] (tests): Do not depend on
8710 * Rules (tests): Depend on $(tests-special).
8711 (xtests): Depend on $(xtests-special).
8712 * catgets/Makefile (tests): Change dependencies to ....
8713 (tests-special): ... additions to this variable.
8714 * conform/Makefile (tests): Change dependencies to ....
8715 (tests-special): ... additions to this variable.
8716 * elf/Makefile (tests): Change dependencies to ....
8717 (tests-special): ... additions to this variable.
8718 * grp/Makefile (tests): Change dependencies to ....
8719 (tests-special): ... additions to this variable.
8720 * iconv/Makefile (xtests): Change dependencies to ....
8721 (xtests-special): ... additions to this variable.
8722 * iconvdata/Makefile (tests): Change dependencies to ....
8723 (tests-special): ... additions to this variable.
8724 * intl/Makefile (tests): Change dependencies to ....
8725 (tests-special): ... additions to this variable. Also add
8726 $(objpfx)tst-gettext.out.
8727 * io/Makefile (tests): Change dependencies to ....
8728 (tests-special): ... additions to this variable.
8729 * libio/Makefile (tests): Change dependencies to ....
8730 (tests-special): ... additions to this variable.
8731 * malloc/Makefile (tests): Change dependencies to ....
8732 (tests-special): ... additions to this variable.
8733 * misc/Makefile (tests): Change dependencies to ....
8734 (tests-special): ... additions to this variable.
8735 * nptl/Makefile (tests): Change dependencies to ....
8736 (tests-special): ... additions to this variable.
8737 * nptl_db/Makefile (tests): Change dependencies to ....
8738 (tests-special): ... additions to this variable.
8739 * posix/Makefile (tests): Change dependencies to ....
8740 (tests-special): ... additions to this variable.
8741 (xtests): Change dependencies to ....
8742 (xtests-special): ... additions to this variable.
8743 * resolv/Makefile (tests): Change dependencies to ....
8744 (tests-special): ... additions to this variable.
8745 (xtests): Change dependencies to ....
8746 (xtests-special): ... additions to this variable.
8747 * stdio-common/Makefile (tests): Change dependencies to ....
8748 (tests-special): ... additions to this variable.
8749 (do-tst-unbputc): Remove target.
8750 (do-tst-printf): Likewise.
8751 * stdlib/Makefile (tests): Change dependencies to ....
8752 (tests-special): ... additions to this variable.
8753 * string/Makefile (tests): Change dependencies to ....
8754 (tests-special): ... additions to this variable.
8755 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8756 (tests-special): ... additions to this variable.
8758 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8760 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8762 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8763 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8765 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8766 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8767 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8768 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8769 * conform/data/libgen.h-data [XPG3]: Likewise.
8770 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8771 * conform/data/ndbm.h-data [XPG3]: Likewise.
8772 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8773 * conform/data/netdb.h-data [XPG3]: Likewise.
8774 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8775 * conform/data/poll.h-data [XPG3]: Likewise.
8776 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8777 * conform/data/strings.h-data [XPG3]: Likewise.
8778 * conform/data/stropts.h-data [XPG3]: Likewise.
8779 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8780 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8781 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8783 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8784 * conform/data/sys/time.h-data [XPG3]: Likewise.
8785 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8786 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8787 * conform/data/sys/un.h-data [XPG3]: Likewise.
8788 * conform/data/syslog.h-data [XPG3]: Likewise.
8789 * conform/data/ucontext.h-data [XPG3]: Likewise.
8790 * conform/data/utmpx.h-data [XPG3]: Likewise.
8791 * conform/data/varargs.h-data [UNIX98]: Enable file.
8793 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8795 * math/libm-test.inc (struct test_f_f_data): Move expected results
8796 into structure for each rounding mode.
8797 (struct test_ff_f_data): Likewise.
8798 (struct test_ff_f_data_nexttoward): Likewise.
8799 (struct test_fi_f_data): Likewise.
8800 (struct test_fl_f_data): Likewise.
8801 (struct test_if_f_data): Likewise.
8802 (struct test_fff_f_data): Likewise.
8803 (struct test_c_f_data): Likewise.
8804 (struct test_f_f1_data): Likewise.
8805 (struct test_fF_f1_data): Likewise.
8806 (struct test_ffI_f1_data): Likewise.
8807 (struct test_c_c_data): Likewise.
8808 (struct test_cc_c_data): Likewise.
8809 (struct test_f_i_data): Likewise.
8810 (struct test_ff_i_data): Likewise.
8811 (struct test_f_l_data): Likewise.
8812 (struct test_f_L_data): Likewise.
8813 (struct test_fFF_11_data): Likewise.
8815 (RM_FE_DOWNWARD): Likewise.
8816 (RM_FE_TONEAREST): Likewise.
8817 (RM_FE_TOWARDZERO): Likewise.
8818 (RM_FE_UPWARD): Likewise.
8819 (RUN_TEST_LOOP_f_f): Update references to expected results.
8820 (RUN_TEST_LOOP_2_f): Likewise.
8821 (RUN_TEST_LOOP_fff_f): Likewise.
8822 (RUN_TEST_LOOP_c_f): Likewise.
8823 (RUN_TEST_LOOP_f_f1): Likewise.
8824 (RUN_TEST_LOOP_fF_f1): Likewise.
8825 (RUN_TEST_LOOP_fI_f1): Likewise.
8826 (RUN_TEST_LOOP_ffI_f1): Likewise.
8827 (RUN_TEST_LOOP_c_c): Likewise.
8828 (RUN_TEST_LOOP_cc_c): Likewise.
8829 (RUN_TEST_LOOP_f_i): Likewise.
8830 (RUN_TEST_LOOP_f_i_tg): Likewise.
8831 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8832 (RUN_TEST_LOOP_f_b): Likewise.
8833 (RUN_TEST_LOOP_f_b_tg): Likewise.
8834 (RUN_TEST_LOOP_f_l): Likewise.
8835 (RUN_TEST_LOOP_f_L): Likewise.
8836 (RUN_TEST_LOOP_fFF_11): Likewise.
8837 * math/gen-libm-test.pl (parse_args): Output four copies of
8838 expected results for each test.
8840 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8841 (__ASSUME_UTIMES): Remove.
8842 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8843 (__ASSUME_UTIMES): Likewise.
8845 * math/gen-auto-libm-tests.c: Update comment on output format.
8846 (output_for_one_input_case): Generate before-rounding and
8847 after-rounding information as conditions on output flags not
8848 floating-point format.
8849 * math/auto-libm-test-out: Regenerated.
8850 * math/gen-libm-test.pl (cond_value): New function.
8851 (or_cond_value): Use cond_value.
8852 (generate_testfile): Handle conditional exceptions.
8854 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8856 * math/libm-test.inc (max_valid_error): New variable.
8857 (init_max_error): Take new argument specifying whether function
8858 results are exactly determined. Set max_valid_error and bound
8859 other variables for errors based on this argument.
8860 (set_max_error): Do not record results above max_valid_error.
8861 (check_float_internal): Only accept errors of up to 0.5ulps if
8862 also at most max_valid_error.
8863 (START): Take new argument EXACT and pass it to init_max_error.
8864 (acos_test): Update call to START.
8865 (acos_test_tonearest): Likewise.
8866 (acos_test_towardzero): Likewise.
8867 (acos_test_downward): Likewise.
8868 (acos_test_upward): Likewise.
8869 (acosh_test): Likewise.
8870 (asin_test): Likewise.
8871 (asin_test_tonearest): Likewise.
8872 (asin_test_towardzero): Likewise.
8873 (asin_test_downward): Likewise.
8874 (asin_test_upward): Likewise.
8875 (asinh_test): Likewise.
8876 (atan_test): Likewise.
8877 (atanh_test): Likewise.
8878 (atan2_test): Likewise.
8879 (cabs_test): Likewise.
8880 (cacos_test): Likewise.
8881 (cacosh_test): Likewise.
8882 (carg_test): Likewise.
8883 (casin_test): Likewise.
8884 (casinh_test): Likewise.
8885 (catan_test): Likewise.
8886 (catanh_test): Likewise.
8887 (cbrt_test): Likewise.
8888 (ccos_test): Likewise.
8889 (ccosh_test): Likewise.
8890 (ceil_test): Likewise.
8891 (cexp_test): Likewise.
8892 (cimag_test): Likewise.
8893 (clog_test): Likewise.
8894 (clog10_test): Likewise.
8895 (conj_test): Likewise.
8896 (copysign_test): Likewise.
8897 (cos_test): Likewise.
8898 (cos_test_tonearest): Likewise.
8899 (cos_test_towardzero): Likewise.
8900 (cos_test_downward): Likewise.
8901 (cos_test_upward): Likewise.
8902 (cosh_test): Likewise.
8903 (cosh_test_tonearest): Likewise.
8904 (cosh_test_towardzero): Likewise.
8905 (cosh_test_downward): Likewise.
8906 (cosh_test_upward): Likewise.
8907 (cpow_test): Likewise.
8908 (cproj_test): Likewise.
8909 (creal_test): Likewise.
8910 (csin_test): Likewise.
8911 (csinh_test): Likewise.
8912 (csqrt_test): Likewise.
8913 (ctan_test): Likewise.
8914 (ctan_test_tonearest): Likewise.
8915 (ctan_test_towardzero): Likewise.
8916 (ctan_test_downward): Likewise.
8917 (ctan_test_upward): Likewise.
8918 (ctanh_test): Likewise.
8919 (ctanh_test_tonearest): Likewise.
8920 (ctanh_test_towardzero): Likewise.
8921 (ctanh_test_downward): Likewise.
8922 (ctanh_test_upward): Likewise.
8923 (erf_test): Likewise.
8924 (erfc_test): Likewise.
8925 (exp_test): Likewise.
8926 (exp_test_tonearest): Likewise.
8927 (exp_test_towardzero): Likewise.
8928 (exp_test_downward): Likewise.
8929 (exp_test_upward): Likewise.
8930 (exp10_test): Likewise.
8931 (exp10_test_tonearest): Likewise.
8932 (exp10_test_towardzero): Likewise.
8933 (exp10_test_downward): Likewise.
8934 (exp10_test_upward): Likewise.
8935 (pow10_test): Likewise.
8936 (exp2_test): Likewise.
8937 (expm1_test): Likewise.
8938 (expm1_test_tonearest): Likewise.
8939 (expm1_test_towardzero): Likewise.
8940 (expm1_test_downward): Likewise.
8941 (expm1_test_upward): Likewise.
8942 (fabs_test): Likewise.
8943 (fdim_test): Likewise.
8944 (floor_test): Likewise.
8945 (fma_test): Likewise.
8946 (fma_test_towardzero): Likewise.
8947 (fma_test_downward): Likewise.
8948 (fma_test_upward): Likewise.
8949 (fmax_test): Likewise.
8950 (fmin_test): Likewise.
8951 (fmod_test): Likewise.
8952 (fpclassify_test): Likewise.
8953 (frexp_test): Likewise.
8954 (hypot_test): Likewise.
8955 (ilogb_test): Likewise.
8956 (isfinite_test): Likewise.
8957 (finite_test): Likewise.
8958 (isgreater_test): Likewise.
8959 (isgreaterequal_test): Likewise.
8960 (isinf_test): Likewise.
8961 (isless_test): Likewise.
8962 (islessequal_test): Likewise.
8963 (islessgreater_test): Likewise.
8964 (isnan_test): Likewise.
8965 (isnormal_test): Likewise.
8966 (issignaling_test): Likewise.
8967 (isunordered_test): Likewise.
8968 (j0_test): Likewise.
8969 (j1_test): Likewise.
8970 (jn_test): Likewise.
8971 (ldexp_test): Likewise.
8972 (lgamma_test): Likewise.
8973 (gamma_test): Likewise.
8974 (lrint_test): Likewise.
8975 (lrint_test_tonearest): Likewise.
8976 (lrint_test_towardzero): Likewise.
8977 (lrint_test_downward): Likewise.
8978 (lrint_test_upward): Likewise.
8979 (llrint_test): Likewise.
8980 (llrint_test_tonearest): Likewise.
8981 (llrint_test_towardzero): Likewise.
8982 (llrint_test_downward): Likewise.
8983 (llrint_test_upward): Likewise.
8984 (log_test): Likewise.
8985 (log10_test): Likewise.
8986 (log1p_test): Likewise.
8987 (log2_test): Likewise.
8988 (logb_test): Likewise.
8989 (logb_test_downward): Likewise.
8990 (lround_test): Likewise.
8991 (llround_test): Likewise.
8992 (modf_test): Likewise.
8993 (nearbyint_test): Likewise.
8994 (nextafter_test): Likewise.
8995 (nexttoward_test): Likewise.
8996 (pow_test): Likewise.
8997 (pow_test_tonearest): Likewise.
8998 (pow_test_towardzero): Likewise.
8999 (pow_test_downward): Likewise.
9000 (pow_test_upward): Likewise.
9001 (remainder_test): Likewise.
9002 (drem_test): Likewise.
9003 (remainder_test_tonearest): Likewise.
9004 (drem_test_tonearest): Likewise.
9005 (remainder_test_towardzero): Likewise.
9006 (drem_test_towardzero): Likewise.
9007 (remainder_test_downward): Likewise.
9008 (drem_test_downward): Likewise.
9009 (remainder_test_upward): Likewise.
9010 (drem_test_upward): Likewise.
9011 (remquo_test): Likewise.
9012 (rint_test): Likewise.
9013 (rint_test_tonearest): Likewise.
9014 (rint_test_towardzero): Likewise.
9015 (rint_test_downward): Likewise.
9016 (rint_test_upward): Likewise.
9017 (round_test): Likewise.
9018 (scalb_test): Likewise.
9019 (scalbn_test): Likewise.
9020 (scalbln_test): Likewise.
9021 (signbit_test): Likewise.
9022 (sin_test): Likewise.
9023 (sin_test_tonearest): Likewise.
9024 (sin_test_towardzero): Likewise.
9025 (sin_test_downward): Likewise.
9026 (sin_test_upward): Likewise.
9027 (sincos_test): Likewise.
9028 (sinh_test): Likewise.
9029 (sinh_test_tonearest): Likewise.
9030 (sinh_test_towardzero): Likewise.
9031 (sinh_test_downward): Likewise.
9032 (sinh_test_upward): Likewise.
9033 (sqrt_test): Likewise.
9034 (sqrt_test_tonearest): Likewise.
9035 (sqrt_test_towardzero): Likewise.
9036 (sqrt_test_downward): Likewise.
9037 (sqrt_test_upward): Likewise.
9038 (tan_test): Likewise.
9039 (tan_test_tonearest): Likewise.
9040 (tan_test_towardzero): Likewise.
9041 (tan_test_downward): Likewise.
9042 (tan_test_upward): Likewise.
9043 (tanh_test): Likewise.
9044 (tgamma_test): Likewise.
9045 (trunc_test): Likewise.
9046 (y0_test): Likewise.
9047 (y1_test): Likewise.
9048 (yn_test): Likewise.
9049 (significand_test): Likewise.
9051 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9052 individual tests in comment.
9053 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9054 (prev_max_error): New variable.
9055 (prev_real_max_error): Likewise.
9056 (prev_imag_max_error): Likewise.
9057 (compare_ulp_data): Don't refer to test names in comment.
9058 (find_test_ulps): Remove function.
9059 (find_function_ulps): Likewise.
9060 (find_complex_function_ulps): Likewise.
9061 (init_max_error): Take function name as argument. Look up ulps
9063 (print_ulps): Remove function.
9064 (print_max_error): Use prev_max_error instead of calling
9066 (print_complex_max_error): Use prev_real_max_error and
9067 prev_imag_max_error instead of calling find_complex_function_ulps.
9068 (check_float_internal): Take max_ulp parameter instead of calling
9069 find_test_ulps. Don't call print_ulps.
9070 (check_float): Update call to check_float_internal.
9071 (check_complex): Update calls to check_float_internal.
9072 (START): Pass argument to init_max_error.
9073 * math/gen-libm-test.pl (%results): Don't include "kind"
9075 (parse_ulps): Don't handle ulps of individual tests.
9076 (print_ulps_file): Likewise.
9077 (output_ulps): Likewise.
9078 * math/README.libm-test: Update.
9079 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9081 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9082 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9083 * sysdeps/arm/libm-test-ulps: Likewise.
9084 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9085 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9086 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9087 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9088 * sysdeps/microblaze/libm-test-ulps: Likewise.
9089 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9090 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9092 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9093 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9094 * sysdeps/sh/libm-test-ulps: Likewise.
9095 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9096 * sysdeps/tile/libm-test-ulps: Likewise.
9097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9099 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9101 * math/libm-test.inc (print_complex_max_error): Check separately
9102 whether real and imaginary errors are within allowed range and
9103 pass 0 to print_complex_function_ulps instead of value within
9106 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9108 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9110 (get_handles_fopen): Likewise.
9111 (do_write_test): Likewise.
9113 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9115 * libio/fileops.c (do_ftell): Use cached offset when
9117 * libio/iofwide.c (do_ftell_wide): Likewise.
9118 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9120 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9123 * libio/libioP.h (get_file_offset): New function.
9124 * libio/fileops.c (get_file_offset): Likewise.
9125 (do_ftell): Likewise.
9126 (_IO_new_file_seekoff): Split out ftell logic.
9127 * libio/wfileops.c (do_ftell_wide): Likewise.
9128 (_IO_wfile_seekoff): Split out ftell logic.
9129 * libio/tst-ftell-active-handler.c: New test case.
9130 * libio/Makefile (tests): Add it.
9132 2014-03-03 Roland McGrath <roland@hack.frob.com>
9134 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9135 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9137 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9140 * nscd/connections.c (nscd_init): Call do_exit.
9141 (start_threads): Call do_exit and notify_parent.
9142 (begin_drop_privileges): Call do_exit.
9143 (finish_drop_privileges): Likewise.
9144 * nscd/selinux.c (preserve_capabilities): Likewise.
9145 (install_real_capabilities): Likewise.
9146 (nscd_selinux_enabled): Likewise.
9147 (avc_create_thread): Likewise.
9148 (avc_alloc_lock): Likewise.
9149 (nscd_avc_init): Likewise.
9150 * nscd/nscd.c (parent_fd): New static variable.
9151 (main): Create a pipe between parent and child processes.
9152 Skip closing parent_fd.
9153 (monitor_child): New function.
9154 (do_exit): Likewise.
9155 (notify_parent): Likewise.
9156 * nscd/nscd.h (notify_parent): Likewise.
9157 (do_exit): Likewise.
9159 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9161 * malloc/malloc.c (__libc_calloc): Revert last change.
9163 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9167 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9169 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9173 (__libc_ifunc_impl_list): Likewise.
9174 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9175 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9176 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9177 * string/strrchr.c: Define STRRCHR.
9179 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9181 * benchtest/bench-strtok.c (simple_strtok): Delete.
9182 (strtok_string): Use as benchmark.
9183 * string/strtok (STRTOK): New macro.
9185 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9187 * manual/threads.texi: Add header and standard comments to all
9190 * elf/dl-lookup.c (check_match): New function.
9191 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9192 (do_lookup_x): Remove nested function check_match. Use non-nested
9193 function check_match.
9195 2014-02-28 Roland McGrath <roland@hack.frob.com>
9197 * csu/Makefile (generated, before-compile): Use += rather than =.
9198 * catgets/Makefile (generated, generated-dirs): Likewise.
9199 * debug/Makefile (generated): Likewise.
9200 * dlfcn/Makefile (generated): Likewise.
9201 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9202 * iconvdata/Makefile (before-compile, generated): Likewise.
9203 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9204 * libio/Makefile (generated): Likewise.
9205 * malloc/Makefile (generated): Likewise.
9206 * manual/Makefile (generated, generated-dirs): Likewise.
9207 * misc/Makefile (generated): Likewise.
9208 * posix/Makefile (generated): Likewise.
9209 * resolv/Makefile (generated): Likewise.
9210 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9211 * timezone/Makefile (generated, generated-dirs): Likewise.
9213 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9215 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9218 power8 implementation.
9219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9220 file: POWER8 llround ifunc implementation.
9221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9222 (__lllround): Add POWER8 implementation.
9223 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9224 POWER8 llround implementation.
9226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9227 power8 implementation.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9229 file: POWER8 llrint ifunc implementation.
9230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9231 Add POWER8 implementation.
9232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9233 POWER8 llrint implementation.
9235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9236 power8 implementation.
9237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9238 file: POWER8 finite ifunc implementation.
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9240 Add POWER8 implementation.
9241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9243 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9244 POWER8 finite implementation.
9245 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9248 power8 implementation.
9249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9250 file: POWER8 isinf ifunc implementation.
9251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9252 POWER8 implementation.
9253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9256 isinf implementation.
9257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9259 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9260 (INIT_ARCH): Add hwcap2 initialization.
9261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9262 power8 implementation.
9263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9264 file: POWER8 isnan ifunc implementation.
9265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9266 POWER8 implementation.
9267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9270 isnan implementation.
9271 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9273 2014-02-27 Joey Ye <joey.ye@arm.com>
9275 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9276 (_FP_NANFRAC_Q): Set to zero.
9278 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9281 * math/auto-libm-test-in: New test inputs.
9282 * math/auto-libm-test-out: Regenerate.
9283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9288 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9290 * scripts/evaluate-test.sh: Take new argument indicating whether
9291 failure is expected.
9292 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9293 indicating whether failure is expected.
9294 * conform/Makefile (test-xfail-run-conformtest): New variable.
9295 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9297 * posix/Makefile (test-xfail-annexc): New variable.
9298 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9300 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9302 * argp/Makefile: Include Makeconfig immediately after defining
9304 * assert/Makefile: Likewise.
9305 * benchtests/Makefile: Likewise.
9306 * catgets/Makefile: Likewise.
9307 * conform/Makefile: Likewise.
9308 * crypt/Makefile: Likewise.
9309 * csu/Makefile: Likewise.
9310 (all): Remove target.
9311 * ctype/Makefile: Include Makeconfig immediately after defining
9313 * debug/Makefile: Likewise.
9314 * dirent/Makefile: Likewise.
9315 * dlfcn/Makefile: Likewise.
9316 * gmon/Makefile: Likewise.
9317 * gnulib/Makefile: Likewise.
9318 * grp/Makefile: Likewise.
9319 * gshadow/Makefile: Likewise.
9320 * hesiod/Makefile: Likewise.
9321 * hurd/Makefile: Likewise.
9322 (all): Remove target.
9323 * iconvdata/Makefile: Include Makeconfig immediately after
9325 * inet/Makefile: Likewise.
9326 * intl/Makefile: Likewise.
9327 * io/Makefile: Likewise.
9328 * libio/Makefile: Likewise.
9329 (all): Remove target.
9330 * locale/Makefile: Include Makeconfig immediately after defining
9332 * login/Makefile: Likewise.
9333 * mach/Makefile: Likewise.
9334 (all): Remove target.
9335 * malloc/Makefile: Include Makeconfig immediately after defining
9337 (all): Remove target.
9338 * manual/Makefile: Include Makeconfig immediately after defining
9340 * math/Makefile: Likewise.
9341 * misc/Makefile: Likewise.
9342 * nis/Makefile: Likewise.
9343 * nss/Makefile: Likewise.
9344 * po/Makefile: Likewise.
9345 (all): Remove target.
9346 * posix/Makefile: Include Makeconfig immediately after defining
9348 * pwd/Makefile: Likewise.
9349 * resolv/Makefile: Likewise.
9350 * resource/Makefile: Likewise.
9351 * rt/Makefile: Likewise.
9352 * setjmp/Makefile: Likewise.
9353 * shadow/Makefile: Likewise.
9354 * signal/Makefile: Likewise.
9355 * socket/Makefile: Likewise.
9356 * soft-fp/Makefile: Likewise.
9357 * stdio-common/Makefile: Likewise.
9358 * stdlib/Makefile: Likewise.
9359 * streams/Makefile: Likewise.
9360 * string/Makefile: Likewise.
9361 * sunrpc/Makefile: Likewise.
9362 (all): Remove target.
9363 * sysvipc/Makefile: Include Makeconfig immediately after defining
9365 * termios/Makefile: Likewise.
9366 * time/Makefile: Likewise.
9367 * timezone/Makefile: Likewise.
9368 (all): Remove target.
9369 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9371 * wctype/Makefile: Likewise.
9373 2014-02-26 Steve Ellcey <sellcey@mips.com>
9375 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9376 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9377 (libc_feholdexcept_setround_mips): Ditto.
9378 (libc_feholdsetround): New.
9379 (libc_feholdsetroundf): New.
9380 (libc_feholdsetroundl): New.
9381 (libc_feupdateenv_test_mips): New.
9382 (libc_feupdateenv_test): New.
9383 (libc_feupdateenv_testf): New.
9384 (libc_feupdateenv_testl): New.
9385 (libc_feresetround): New.
9386 (libc_feresetroundf): New.
9387 (libc_feresetroundl): New.
9388 (libc_fetestexcept_mips): New.
9389 (libc_fetestexcept): New.
9390 (libc_fetestexceptf): New.
9391 (libc_fetestexceptl): New.
9393 (libc_feholdexcept_setround_mips_ctx): New.
9394 (libc_feholdexcept_setround_ctx): New.
9395 (libc_feholdexcept_setroundf_ctx): New.
9396 (libc_feholdexcept_setroundl_ctx): New.
9397 (libc_fesetenv_mips_ctx): New.
9398 (libc_fesetenv_ctx): New.
9399 (libc_fesetenv_ctxf): New.
9400 (libc_fesetenv_ctxl): New.
9401 (libc_feupdateenv_mips_ctx): New.
9402 (libc_feupdateenv_ctx): New.
9403 (libc_feupdateenvf_ctx): New.
9404 (libc_feupdateenvl_ctx): New.
9405 (libc_feholdsetround_mips_ctx): New.
9406 (libc_feholdsetround_ctx): New.
9407 (libc_feholdsetroundf_ctx): New.
9408 (libc_feholdsetroundl_ctx): New.
9409 (libc_feresetround_mips_ctx): New.
9410 (libc_feresetround_ctx): New.
9411 (libc_feresetroundf_ctx): New.
9412 (libc_feresetroundl_ctx): New.
9414 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9416 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9418 * manual/ipc.texi: New file.
9419 * manual/Makefile (chapters): Add ipc.
9420 * manual/job.texi: Add "Inter-Process Communication" to next.
9421 * manual/process.texi: Add "Inter-Process Communication" to prev.
9423 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9427 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9429 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9431 * manual/arith.texi: Fix spaces after sentences.
9432 * manual/charset.texi: Likewise.
9433 * manual/errno.texi: Likewise.
9434 * manual/install.texi: Likewise.
9435 * manual/llio.texi: Likewise.
9436 * manual/locale.texi: Likewise.
9437 * manual/maint.texi: Likewise.
9438 * manual/math.texi: Likewise.
9439 * manual/memory.texi: Likewise.
9440 * manual/message.texi: Likewise.
9441 * manual/probes.texi: Likewise.
9442 * manual/resource.texi: Likewise.
9443 * manual/signal.texi: Likewise.
9444 * manual/socket.texi: Likewise.
9445 * manual/stdio.texi: Likewise.
9446 * manual/string.texi: Likewise.
9447 * manual/time.texi: Likewise.
9448 * manual/users.texi: Likewise.
9450 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9453 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9454 _DEFAULT_SOURCE is defined.
9456 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9457 Carlos O'Donell <carlos@redhat.com>
9460 * elf/dl-tls.c (_dl_count_modids): New function.
9461 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9462 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9463 audit library and increment generation counter.
9464 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9465 * elf/tst-audit9.c: New file.
9466 * elf/tst-auditmod9a.c: New file.
9467 * elf/tst-auditmod9b.c: New file.
9468 * elf/Makefile: Add rules to build and run tst-audit9.
9470 2014-02-25 Florian Weimer <fweimer@redhat.com>
9473 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9475 2014-02-25 Will Newton <will.newton@linaro.org>
9477 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9478 (__longjmp): Restore sp and lr before restoring callee
9479 saved registers. Add longjmp and longjmp_target
9480 SystemTap probe point.
9481 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9482 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9483 Define to zero to match jmpbuf layout.
9484 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9485 (__sigsetjmp): Save sp and lr before saving callee
9486 saved registers. Add setjmp SystemTap probe point.
9488 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9490 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9492 2014-02-24 Andreas Schwab <schwab@suse.de>
9495 * elf/pldd.c (wait_for_ptrace_stop): New function.
9496 (main): Call it after attaching.
9498 2014-02-22 Roland McGrath <roland@hack.frob.com>
9500 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9501 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9502 Versions files is now verboten.
9503 * hurd/Versions (libc: GLIBC_2.0):
9504 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9505 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9506 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9507 * mach/Versions: Likewise.
9509 * csu/Versions: Remove unused %include.
9510 * resolv/Versions: Likewise.
9512 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9514 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9515 ($(objpfx)check-local-headers.out): Likewise.
9516 ($(objpfx)begin-end-check.out): Likewise.
9517 * Makerules (check-abi-%.out): Likewise.
9518 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9519 ($(objpfx)test2.cat): Likewise.
9520 ($(objpfx)de/libc.cat): Likewise.
9521 ($(objpfx)test-gencat.out): Likewise.
9522 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9523 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9524 ($(objpfx)noload-mem): Likewise.
9525 ($(objpfx)tst-pathopt.out): Likewise.
9526 ($(objpfx)tst-rtld-load-self.out): Likewise.
9527 ($(objpfx)tst-array1-cmp.out): Likewise.
9528 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9529 ($(objpfx)tst-array2-cmp.out): Likewise.
9530 ($(objpfx)tst-array3-cmp.out): Likewise.
9531 ($(objpfx)tst-array4-cmp.out): Likewise.
9532 ($(objpfx)tst-array5-cmp.out): Likewise.
9533 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9534 ($(objpfx)check-textrel.out): Likewise.
9535 ($(objpfx)check-execstack.out): Likewise.
9536 ($(objpfx)check-localplt.out): Likewise.
9537 ($(objpfx)order2-cmp.out): Likewise.
9538 ($(objpfx)tst-leaks1-mem): Likewise.
9539 ($(objpfx)tst-leaks1-static-mem): Likewise.
9540 ($(objpfx)tst-initorder-cmp.out): Likewise.
9541 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9542 ($(objpfx)tst-unused-dep.out): Likewise.
9543 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9544 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9545 * iconv/Makefile (test-iconvconfig): Likewise.
9546 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9547 ($(objpfx)iconv-test.out): Likewise.
9548 ($(objpfx)tst-tables.out): Likewise.
9549 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9550 ($(objpfx)tst-gettext.out): Likewise.
9551 ($(objpfx)tst-translit.out): Likewise.
9552 ($(objpfx)tst-gettext2.out): Likewise.
9553 ($(objpfx)tst-gettext4.out): Likewise.
9554 ($(objpfx)tst-gettext6.out): Likewise.
9555 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9556 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9557 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9558 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9559 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9560 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9561 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9562 ($(objpfx)wordexp-tst.out): Likewise.
9563 ($(objpfx)annexc.out): Likewise.
9564 ($(objpfx)tst-fnmatch-mem): Likewise.
9565 ($(objpfx)bug-regex2-mem): Likewise.
9566 ($(objpfx)bug-regex14-mem): Likewise.
9567 ($(objpfx)bug-regex21-mem): Likewise.
9568 ($(objpfx)bug-regex31-mem): Likewise.
9569 ($(objpfx)tst-vfork3-mem): Likewise.
9570 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9571 ($(objpfx)tst-pcre-mem): Likewise.
9572 ($(objpfx)tst-boost-mem): Likewise.
9573 ($(objpfx)tst-getconf.out): Likewise.
9574 ($(objpfx)bug-ga2-mem): Likewise.
9575 ($(objpfx)bug-glob2-mem): Likewise.
9576 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9577 ($(objpfx)mtrace-tst-leaks2): Likewise.
9578 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9579 ($(objpfx)tst-printf.out): Likewise.
9580 ($(objpfx)tst-setvbuf1.out): Likewise.
9581 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9582 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9583 ($(objpfx)tst-fmtmsg.out): Likewise.
9584 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9585 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9587 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9588 * bits/sigaction.h [__USE_MISC]: Likewise.
9589 * bits/waitstatus.h: Update #endif comments.
9590 * ctype/ctype.h: Likewise.
9591 * dirent/dirent.h: Likewise.
9592 [__USE_MISC]: Remove redundant conditionals.
9593 * grp/grp.h: Update #endif comments.
9594 [__USE_GNU]: Remove redundant conditionals.
9595 [__USE_MISC]: Likewise.
9596 * inet/netinet/in.h [__USE_GNU]: Likewise.
9597 * io/sys/stat.h [__USE_MISC]: Likewise.
9598 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9599 * libio/bits/stdio.h: Update #endif comments.
9600 [__USE_MISC]: Remove redundant conditionals.
9601 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9602 * libio/stdio.h: Update #endif comments.
9603 [__USE_MISC]: Remove redundant conditionals.
9604 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9605 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9606 * math/math.h: Update #else and #endif comments.
9607 [__USE_MISC]: Remove redundant conditionals.
9608 * misc/sys/uio.h: Update #endif comments.
9609 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9610 * posix/glob.h [__USE_MISC]: Likewise.
9611 * posix/sys/types.h: Update #endif comments.
9612 [__USE_MISC]: Remove redundant conditionals.
9613 * posix/sys/wait.h: Update #endif comments.
9614 [__USE_MISC]: Remove redundant conditionals.
9615 * posix/unistd.h: Update #endif comments.
9616 [__USE_MISC]: Remove redundant conditionals.
9617 * pwd/pwd.h [__USE_GNU]: Likewise.
9618 [__USE_MISC]: Likewise.
9619 * resolv/netdb.h [__USE_GNU]: Likewise.
9620 * signal/signal.h: Update #endif comments.
9621 [__USE_MISC]: Remove redundant conditionals.
9622 * stdlib/stdlib.h: Update #else and #endif comments.
9623 [__USE_MISC]: Remove redundant conditionals.
9624 [__USE_GNU]: Likewise.
9625 * string/bits/string2.h [__USE_MISC]: Likewise.
9626 * string/string.h: Update #endif comments.
9627 [__USE_MISC]: Remove redundant conditionals.
9628 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9630 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9631 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9632 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9634 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9638 [__USE_MISC]: Remove redundant conditionals.
9639 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9640 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9641 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9642 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9643 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9645 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9646 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9648 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9649 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9651 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9653 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9654 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9656 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9658 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9659 * sysdeps/x86/bits/string.h: Update #endif comments.
9660 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9662 * time/sys/time.h: Update #endif comments.
9663 * time/time.h: Likewise.
9664 [__USE_MISC]: Remove redundant conditionals.
9666 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9669 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9671 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9673 * Versions.def (librt): Add GLIBC_2.17.
9675 2014-02-21 Adam Conrad <adconrad@0c3.net>
9677 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9678 synonym for _SYS_AUXV_H to allow direct inclusion.
9679 * sysdeps/sparc/bits/hwcap.h: Likewise.
9680 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9681 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9682 * sysdeps/sparc/sysdep.h: Likewise.
9684 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9686 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9688 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9690 * benchtests/bench-strrchr.c: Print length instead of position.
9692 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9695 * sysdeps/unix/sysv/linux/kernel-features.h
9696 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9697 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9698 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9699 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9701 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9702 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9703 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9704 (__ASSUME_SENDMMSG): Define instead of using previous
9705 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9707 (__ASSUME_SENDMMSG_SYSCALL): Define.
9708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9709 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9712 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9715 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9717 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9718 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9719 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9720 [__ASSUME_SENDMMSG]: Change conditionals to
9721 [__ASSUME_SENDMMSG_SOCKETCALL].
9722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9723 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9725 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9726 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9728 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9729 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9730 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9731 [!__ASSUME_SENDMMSG]: Change conditional to
9732 [!__ASSUME_SENDMMSG_SOCKETCALL].
9733 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9734 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9738 * sysdeps/unix/sysv/linux/kernel-features.h
9739 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9740 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9741 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9742 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9743 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9744 [__i386__ || __sparc__]
9745 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9746 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9747 (__ASSUME_RECVMMSG): Define instead of using previous
9748 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9749 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9750 (__ASSUME_RECVMMSG_SYSCALL): Define.
9751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9752 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9754 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9757 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9761 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9762 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9763 [__ASSUME_RECVMMSG]: Change condition to
9764 [__ASSUME_RECVMMSG_SOCKETCALL].
9765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9768 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9772 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9773 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9774 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9775 [!__ASSUME_RECVMMSG]: Change condition to
9776 [!__ASSUME_RECVMMSG_SOCKETCALL].
9777 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9778 (__ASSUME_RECVMMSG_SYSCALL): Define.
9781 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9782 __powerpc__ || __s390__ || __sh__ || __sparc__]
9783 (__ASSUME_SOCKETCALL): Define.
9784 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9785 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9786 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9787 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9788 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9789 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9790 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9791 (__ASSUME_ACCEPT4): Define instead of using previous
9792 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9793 __powerpc__ || __sparc__ || __s390__)] condition.
9794 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9795 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9796 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9797 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9798 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9799 [!__ASSUME_ACCEPT4]: Change condition to
9800 [!__ASSUME_ACCEPT4_SOCKETCALL].
9801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9802 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9803 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9805 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9806 __ASSUME_ACCEPT4_SYSCALL.
9807 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9808 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9809 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9810 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9811 __ASSUME_ACCEPT4_SYSCALL.
9812 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9813 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9814 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9815 [__ASSUME_ACCEPT4]: Change condition to
9816 [__ASSUME_ACCEPT4_SOCKETCALL].
9817 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9818 (__ASSUME_SOCKETCALL): Define.
9819 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9820 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9821 (__ASSUME_SOCKETCALL): Define.
9822 (__ASSUME_ACCEPT4): Remove.
9823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9825 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9826 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9831 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9833 (HWCAP_ARM_LPAE): Likewise.
9834 (HWCAP_ARM_EVTSTRM): Likewise.
9835 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9836 Add vpfd32, lpae and evtstrm.
9837 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9840 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9842 * math/auto-libm-test-in: Add tests of clog10.
9843 * math/auto-libm-test-out: Regenerated.
9844 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9845 * sysdeps/i386/fpu/libm-test-ulps: Update.
9846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9848 2014-02-18 Andreas Schwab <schwab@suse.de>
9851 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9852 Store non-zero if the second buffer was newly allocated.
9853 (send_dg): Likewise.
9854 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9855 to send_vc and send_dg.
9856 (res_nsend): Pass NULL for ansp2_malloced.
9857 * resolv/res_query.c (__libc_res_nquery): Add parameter
9858 answerp2_malloced and pass it down to __libc_res_nsend.
9859 (res_nquery): Pass additional NULL to __libc_res_nquery.
9860 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9861 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9862 second answer buffer if answerp2_malloced was set.
9863 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9864 (__libc_res_nquerydomain): Add parameter
9865 answerp2_malloced and pass it down to __libc_res_nquery.
9866 (res_nquerydomain): Pass additional NULL to
9867 __libc_res_nquerydomain.
9868 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9869 additional NULL to __libc_res_nsend and __libc_res_nquery.
9870 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9871 additional NULL to __libc_res_nsearch.
9872 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9873 parameter of __libc_res_nsearch to check for separately allocated
9875 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9877 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9878 additional NULL to __libc_res_nquery.
9879 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9881 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9882 * include/resolv.h: Update prototypes of __libc_res_nquery,
9883 __libc_res_nsearch, __libc_res_nsend.
9885 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9887 * math/auto-libm-test-in: Add tests of fma.
9888 * math/auto-libm-test-out: Regenerated.
9889 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9890 (fma_towardzero_test_data): Likewise.
9891 (fma_downward_test_data): Likewise.
9892 (fma_upward_test_data): Likewise.
9893 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9895 (rounding_modes): Add values for new field.
9896 (func_calc_method): Add value mpfr_fff_f.
9897 (func_calc_desc): Add mpfr_fff_f union field.
9898 (test_function): Add field exact_args.
9899 (FUNC): Add macro argument EXACT_ARGS.
9900 (FUNC_mpfr_f_f): Update call to FUNC.
9901 (FUNC_mpfr_f_f): Likewise.
9902 (FUNC_mpfr_ff_f): Likewise.
9903 (FUNC_mpfr_if_f): Likewise.
9904 (FUNC_mpc_c_f): Likewise.
9905 (FUNC_mpc_c_c): Likewise.
9906 (test_functions): Add fma. Update calls to FUNC.
9907 (handle_input_arg): Add argument exact_args.
9908 (add_test): Update call to handle_input_arg.
9909 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9910 (output_for_one_input_case): Update call to calc_generic_results.
9911 Recalculate exact zero results in each rounding mode.
9913 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9914 non-negative before setting low bit.
9915 * math/auto-libm-test-in: Mark one asin test possibly having
9917 * math/auto-libm-test-out: Regenerated.
9918 * sysdeps/i386/fpu/libm-test-ulps: Update.
9919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9921 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9923 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9924 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9925 ports/sysdeps/unix/sysv/linux/microblaze.
9926 * README: Add missing listing for microblaze*-*-linux-gnu.
9928 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9933 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9935 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9936 * sysdeps/unix/sysv/linux/ia64: Move directory from
9937 ports/sysdeps/unix/sysv/linux/ia64.
9938 * README: Update listing for ia64-*-linux-gnu.
9940 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9941 Joseph Myers <joseph@codesourcery.com>
9943 * Makeconfig (test-name): New variable.
9944 (evaluate-test): Likewise.
9945 * Makerules (do-test-clean): Remove .test-result files.
9946 (common-mostlyclean): Likewise.
9947 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9948 * scripts/evaluate-test.sh: New file.
9950 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9952 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9953 separate $(objpfx)tst-fopenloc-cmp.out and
9954 $(objpfx)tst-fopenloc-mem.out targets.
9955 (tests): Update dependencies.
9956 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9957 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9958 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9959 (tst-rxspencer-no-utf8-ARGS): New variable.
9960 (tst-rxspencer-no-utf8-ENV): Likewise.
9961 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9962 instead of $(objpfx)tst-rxspencer-mem.
9963 ($(objpfx)tst-rxspencer-mem): Change target to
9964 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9965 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9966 * posix/tst-rxspencer-no-utf8.c: New file.
9968 * elf/Makefile ($(objpfx)order.out): Remove rule.
9969 [$(run-built-tests) = yes] (tests): Depend on
9970 $(objpfx)order-cmp.out.
9971 ($(objpfx)order-cmp.out): New rule.
9972 [$(run-built-tests) = yes] (tests): Depend on
9973 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9974 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9975 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9976 $(objpfx)tst-array5-static-cmp.out.
9977 ($(objpfx)tst-array1.out): Remove rule.
9978 ($(objpfx)tst-array1-cmp.out): New rule.
9979 ($(objpfx)tst-array1-static.out): Remove rule.
9980 ($(objpfx)tst-array1-static-cmp.out): New rule.
9981 ($(objpfx)tst-array2.out): Remove rule.
9982 ($(objpfx)tst-array2-cmp.out): New rule.
9983 ($(objpfx)tst-array3.out): Remove rule.
9984 ($(objpfx)tst-array3-cmp.out): New rule.
9985 ($(objpfx)tst-array4.out): Remove rule.
9986 ($(objpfx)tst-array4-cmp.out): New rule.
9987 ($(objpfx)tst-array5.out): Remove rule.
9988 ($(objpfx)tst-array5-cmp.out): New rule.
9989 ($(objpfx)tst-array5-static.out): Remove rule.
9990 ($(objpfx)tst-array5-static-cmp.out): New rule.
9991 [$(run-built-tests) = yes] (tests): Depend on
9992 $(objpfx)order2-cmp.out.
9993 ($(objpfx)order2.out): Remove rule.
9994 ($(objpfx)order2-cmp.out): New rule.
9995 ($(objpfx)tst-initorder.out): Remove rule.
9996 [$(run-built-tests) = yes] (tests): Depend on
9997 $(objpfx)tst-initorder-cmp.out.
9998 ($(objpfx)tst-initorder-cmp.out): New rule.
9999 ($(objpfx)tst-initorder2.out): Remove rule.
10000 [$(run-built-tests) = yes] (tests): Depend on
10001 $(objpfx)tst-initorder2-cmp.out.
10002 ($(objpfx)tst-initorder2-cmp.out): New rule.
10003 [$(run-built-tests) = yes] (tests): Depend on
10004 $(objpfx)tst-unused-dep-cmp.out.
10005 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10006 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10007 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10008 on $(objpfx)tst-setvbuf1-cmp.out.
10009 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10010 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10011 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10012 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10013 ($(objpfx)tst-svc.out): Remove rule.
10014 ($(objpfx)tst-svc-cmp.out): New rule.
10016 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10018 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10019 * ctype/ctype.h [__USE_MISC]: Likewise.
10020 * dirent/dirent.h [__USE_MISC]: Likewise.
10021 * grp/grp.h [__USE_MISC]: Likewise.
10022 * io/fcntl.h [__USE_MISC]: Likewise.
10023 * io/sys/stat.h [__USE_MISC]: Likewise.
10024 * libio/stdio.h [__USE_MISC]: Likewise.
10025 * posix/unistd.h [__USE_MISC]: Likewise.
10026 * pwd/pwd.h [__USE_MISC]: Likewise.
10027 * stdlib.h [__USE_MISC]: Likewise.
10028 * string/bits/string2.h [__USE_MISC]: Likewise.
10029 * string/string.h [__USE_MISC]: Likewise.
10030 * time/time.h [__USE_MISC]: Likewise.
10032 2014-02-13 Andreas Schwab <schwab@suse.de>
10035 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10036 second answer buffer if it was separately allocated.
10038 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10040 * sysdeps/mips/math-tests.h: Include <features.h>.
10041 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10042 (ROUNDING_TESTS_long_double): Do not define.
10043 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10044 (EXCEPTION_TESTS_long_double): Likewise.
10045 * sysdeps/mips/mips64/libm-test-ulps: Update.
10047 * include/features.h (__USE_BSD): Remove macro definitions.
10048 (__USE_SVID): Likewise.
10049 (_BSD_SOURCE): Likewise.
10050 (_SVID_SOURCE): Likewise.
10051 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10052 from definition of _DEFAULT_SOURCE.
10053 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10055 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10056 * bits/mman.h [__USE_BSD]: Likewise.
10057 * bits/termios.h [__USE_BSD]: Likewise.
10058 * bits/waitstatus.h [__USE_BSD]: Likewise.
10059 * ctype/ctype.h [__USE_SVID]: Likewise.
10060 * dirent/dirent.h [__USE_BSD]: Likewise.
10061 * grp/grp.h [__USE_SVID]: Likewise.
10062 [__USE_BSD]: Likewise.
10063 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10064 * io/fcntl.h [__USE_BSD]: Likewise.
10065 * io/ftw.h [__USE_BSD]: Likewise.
10066 * io/sys/stat.h [__USE_BSD]: Likewise.
10067 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10068 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10069 * libio/stdio.h [__USE_SVID]: Likewise.
10070 [__USE_BSD]: Likewise.
10071 * math/math.h [__USE_SVID]: Likewise.
10072 [__USE_BSD]: Likewise.
10073 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10074 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10075 * misc/search.h [__USE_SVID]: Likewise.
10076 * misc/sys/mman.h [__USE_BSD]: Likewise.
10077 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10078 * misc/sys/uio.h [__USE_BSD]: Likewise.
10079 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10080 * posix/glob.h [__USE_BSD]: Likewise.
10081 * posix/regex.h [__USE_BSD]: Likewise.
10082 * posix/sys/types.h [__USE_BSD]: Likewise.
10083 [__USE_SVID]: Likewise.
10084 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10085 * posix/sys/wait.h [__USE_BSD]: Likewise.
10086 [__USE_SVID]: Likewise.
10087 * posix/unistd.h [__USE_BSD]: Likewise.
10088 [__USE_SVID]: Likewise.
10089 * pwd/pwd.h [__USE_SVID]: Likewise.
10090 * resolv/netdb.h [__USE_BSD]: Likewise.
10091 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10092 * signal/signal.h [__USE_BSD]: Likewise.
10093 [__USE_SVID]: Likewise.
10094 * socket/sys/socket.h [__USE_BSD]: Likewise.
10095 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10096 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10097 [__USE_SVID]: Likewise.
10098 * string/bits/string2.h [__USE_BSD]: Likewise.
10099 [__USE_SVID]: Likewise.
10100 * string/bits/string3.h [__USE_BSD]: Likewise.
10101 * string/endian.h [__USE_BSD]: Likewise.
10102 * string/string.h [__USE_SVID]: Likewise.
10103 [__USE_BSD]: Likewise.
10104 * string/strings.h [__USE_BSD]: Likewise.
10105 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10106 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10107 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10108 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10109 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10110 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10115 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10117 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10118 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10120 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10122 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10123 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10124 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10126 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10128 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10129 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10130 * termios/termios.h [__USE_BSD]: Likewise.
10131 * time/sys/time.h [__USE_BSD]: Likewise.
10132 * time/time.h [__USE_BSD]: Likewise.
10133 [__USE_SVID]: Likewise.
10135 * Makefile (subdir_targets): Remove subdir_lint.out.
10137 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10138 (do-tst-printf): Likewise.
10139 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10140 $(objpfx)tst-printf.out.
10142 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10144 * Makerules (check-abi-%): Change target to
10145 $(objpfx)check-abi-%.out.
10146 (check-abi target): Update dependencies.
10147 (check-abi-pattern variable): Redirect output of diff to $@.
10148 (check-abi variable): Likewise.
10149 * elf/Makefile (check-abi): Update dependencies.
10151 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10153 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10154 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10156 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10157 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10158 value has largest subnormal exponent.
10159 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10160 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10161 * sysdeps/aarch64/soft-fp/sfp-machine.h
10162 (_FP_TININESS_AFTER_ROUNDING): New macro.
10163 * sysdeps/alpha/soft-fp/sfp-machine.h
10164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10165 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10167 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10168 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10169 * sysdeps/mips/soft-fp/sfp-machine.h
10170 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10171 * sysdeps/powerpc/soft-fp/sfp-machine.h
10172 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10173 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10176 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10178 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10179 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10182 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10185 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10188 2014-02-12 Richard Henderson <rth@redhat.com>
10190 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10191 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10192 * sysdeps/unix/sysv/linux/alpha: Move directory from
10193 ports/sysdeps/unix/sysv/linux/alpha.
10194 * README: Update listing for alpha-*-linux-gnu.
10196 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10198 * include/features.h: Update comment documenting feature test
10200 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10202 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10203 (_SVID_SOURCE): Likewise.
10204 (_DEFAULT_SOURCE): Update description of default features.
10205 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10207 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10208 (S_ISVTX): Likewise.
10209 * manual/math.texi (Mathematical Constants): Likewise.
10210 * manual/signal.texi (Interrupted Primitives): Likewise.
10211 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10212 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10213 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10214 Don't refer to _SVID_SOURCE in warning text.
10216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10218 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10220 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10221 * sysdeps/mips/dl-lookup.c: Remove.
10222 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10224 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10227 * math/auto-libm-test-in: Add testcase for expl.
10228 * math/auto-libm-test-out: Regenerate.
10229 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10230 calculation of unsafe.
10231 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10233 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10235 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10236 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10237 ports/sysdeps/unix/sysv/linux/aarch64.
10238 * README: Update listing for aarch64*-*-linux-gnu.
10240 2014-02-11 Will Newton <will.newton@linaro.org>
10242 * manual/probes.texi (Mathematical Function Probes): Use
10243 "triggered" instead of "hit".
10245 * manual/probes.texi (Internal Probes): Add documentation
10246 of setjmp, longjmp and longjmp_target probes.
10248 * include/stap-probe.h: Add comment about probe argument
10251 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10252 definition. (tr_where, tr_freehook, tr_mallochook,
10253 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10255 2014-02-11 David S. Miller <davem@davemloft.net>
10257 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10258 processing int_tests.
10260 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10262 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10263 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10264 * sysdeps/unix/sysv/linux/mips: Move directory from
10265 ports/sysdeps/unix/sysv/linux/mips.
10266 * README: Update listing for mips-*-linux-gnu and
10267 mips64-*-linux-gnu.
10269 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10271 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10272 * sysdeps/unix/sysv/linux/m68k: Move directory from
10273 ports/sysdeps/unix/sysv/linux/m68k.
10274 * README: Update listing for m68k-*-linux-gnu.
10276 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10278 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10279 * sysdeps/unix/sysv/linux/generic: Move directory from
10280 ports/sysdeps/unix/sysv/linux/generic.
10281 * sysdeps/unix/sysv/linux/tile: Move directory from
10282 ports/sysdeps/unix/sysv/linux/tile.
10283 * README: Update listing for tile*-*-linux-gnu.
10285 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10287 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10289 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10290 * catgets/open_catalog.c (__open_catalog): Likewise.
10291 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10292 * debug/confstr_chk.c: Likewise.
10293 * debug/fread_chk.c (__fread_chk): Likewise.
10294 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10295 * debug/getgroups_chk.c: Likewise.
10296 * debug/mbsnrtowcs_chk.c: Likewise.
10297 * debug/mbsrtowcs_chk.c: Likewise.
10298 * debug/mbstowcs_chk.c: Likewise.
10299 * debug/memcpy_chk.c: Likewise.
10300 * debug/memmove_chk.c: Likewise.
10301 * debug/mempcpy_chk.c: Likewise.
10302 * debug/memset_chk.c: Likewise.
10303 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10304 * debug/strcat_chk.c (__strcat_chk): Likewise.
10305 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10306 * debug/strncat_chk.c (__strncat_chk): Likewise.
10307 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10308 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10309 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10310 * debug/wcpncpy_chk.c: Likewise.
10311 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10312 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10313 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10314 * debug/wcsncpy_chk.c: Likewise.
10315 * debug/wcsnrtombs_chk.c: Likewise.
10316 * debug/wcsrtombs_chk.c: Likewise.
10317 * debug/wcstombs_chk.c: Likewise.
10318 * debug/wmemcpy_chk.c: Likewise.
10319 * debug/wmemmove_chk.c: Likewise.
10320 * debug/wmempcpy_chk.c: Likewise.
10321 * debug/wmemset_chk.c: Likewise.
10322 * dirent/scandirat.c (SCANDIRAT): Likewise.
10323 * dlfcn/dladdr1.c (dladdr1): Likewise.
10324 * dlfcn/dladdr.c (dladdr): Likewise.
10325 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10326 * dlfcn/dlerror.c (__dlerror): Likewise.
10327 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10328 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10329 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10330 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10331 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10332 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10333 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10334 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10336 * elf/dl-conflict.c: Likewise.
10337 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10338 * elf/dl-dst.h: Likewise.
10339 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10340 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10341 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10342 * elf/dl-init.c (call_init, _dl_init): Likewise.
10343 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10344 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10345 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10347 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10349 * elf/dl-minimal.c (__libc_memalign): Likewise.
10350 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10351 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10352 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10353 * elf/dl-sym.c (do_sym): Likewise.
10354 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10355 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10356 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10357 * elf/dl-writev.h (_dl_writev): Likewise.
10358 * elf/ldconfig.c (search_dir): Likewise.
10359 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10360 (dl_main): Likewise.
10361 * elf/setup-vdso.h (setup_vdso): Likewise.
10362 * grp/compat-initgroups.c (compat_call): Likewise.
10363 * grp/fgetgrent.c (fgetgrent): Likewise.
10364 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10365 * grp/putgrent.c (putgrent): Likewise.
10366 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10368 * hurd/hurdinit.c: Likewise.
10369 * iconvdata/8bit-gap.c (struct): Likewise.
10370 * iconvdata/ansi_x3.110.c : Likewise.
10371 * iconvdata/big5.c : Likewise.
10372 * iconvdata/big5hkscs.c : Likewise.
10373 * iconvdata/cp1255.c: Likewise.
10374 * iconvdata/cp1258.c : Likewise.
10375 * iconvdata/cp932.c : Likewise.
10376 * iconvdata/euc-cn.c: Likewise.
10377 * iconvdata/euc-jisx0213.c : Likewise.
10378 * iconvdata/euc-jp.c: Likewise.
10379 * iconvdata/euc-jp-ms.c : Likewise.
10380 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10381 * iconvdata/gb18030.c : Likewise.
10382 * iconvdata/gbbig5.c (const): Likewise.
10383 * iconvdata/gbgbk.c: Likewise.
10384 * iconvdata/gbk.c : Likewise.
10385 * iconvdata/ibm1364.c : Likewise.
10386 * iconvdata/ibm930.c : Likewise.
10387 * iconvdata/ibm932.c: Likewise.
10388 * iconvdata/ibm933.c : Likewise.
10389 * iconvdata/ibm935.c : Likewise.
10390 * iconvdata/ibm937.c : Likewise.
10391 * iconvdata/ibm939.c : Likewise.
10392 * iconvdata/ibm943.c: Likewise.
10393 * iconvdata/iso_11548-1.c: Likewise.
10394 * iconvdata/iso-2022-cn.c : Likewise.
10395 * iconvdata/iso-2022-cn-ext.c : Likewise.
10396 * iconvdata/iso-2022-jp-3.c: Likewise.
10397 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10398 * iconvdata/iso-2022-kr.c : Likewise.
10399 * iconvdata/iso646.c (gconv_end): Likewise.
10400 * iconvdata/iso_6937-2.c : Likewise.
10401 * iconvdata/iso_6937.c : Likewise.
10402 * iconvdata/iso8859-1.c: Likewise.
10403 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10404 * iconvdata/shift_jisx0213.c : Likewise.
10405 * iconvdata/sjis.c : Likewise.
10406 * iconvdata/t.61.c : Likewise.
10407 * iconvdata/tcvn5712-1.c : Likewise.
10408 * iconvdata/tscii.c: Likewise.
10409 * iconvdata/uhc.c : Likewise.
10410 * iconvdata/unicode.c (gconv_end): Likewise.
10411 * iconvdata/utf-16.c (gconv_end): Likewise.
10412 * iconvdata/utf-32.c (gconv_end): Likewise.
10413 * iconvdata/utf-7.c (base64): Likewise.
10414 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10415 * iconv/gconv_close.c (__gconv_close): Likewise.
10416 * iconv/gconv_open.c (__gconv_open): Likewise.
10417 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10418 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10419 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10420 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10421 (ucs4le_internal_loop_single): Likewise.
10422 * iconv/iconv.c (iconv): Likewise.
10423 * iconv/iconv_close.c: Likewise.
10424 * iconv/loop.c (SINGLE): Likewise.
10425 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10426 * include/atomic.h: Likewise.
10427 * inet/inet6_option.c (option_alloc): Likewise.
10428 * intl/bindtextdom.c (set_binding_values): Likewise.
10429 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10430 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10431 * intl/localealias.c (read_alias_file): Likewise.
10432 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10433 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10434 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10435 * libio/fmemopen.c (fmemopen): Likewise.
10436 * libio/iofgets.c (_IO_fgets): Likewise.
10437 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10438 * libio/iofgetws.c (fgetws): Likewise.
10439 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10440 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10441 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10442 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10443 * locale/findlocale.c (_nl_find_locale): Likewise.
10444 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10445 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10447 * locale/setlocale.c (setlocale): Likewise.
10448 * login/programs/pt_chown.c (main): Likewise.
10449 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10450 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10451 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10452 (mmap, mmap64, mremap, munmap): Likewise.
10453 * math/e_exp2l.c: Likewise.
10454 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10455 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10456 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10457 * math/s_catan.c (__catan): Likewise.
10458 * math/s_catanf.c (__catanf): Likewise.
10459 * math/s_catanh.c (__catanh): Likewise.
10460 * math/s_catanhf.c (__catanhf): Likewise.
10461 * math/s_catanhl.c (__catanhl): Likewise.
10462 * math/s_catanl.c (__catanl): Likewise.
10463 * math/s_ccosh.c (__ccosh): Likewise.
10464 * math/s_ccoshf.c (__ccoshf): Likewise.
10465 * math/s_ccoshl.c (__ccoshl): Likewise.
10466 * math/s_cexp.c (__cexp): Likewise.
10467 * math/s_cexpf.c (__cexpf): Likewise.
10468 * math/s_cexpl.c (__cexpl): Likewise.
10469 * math/s_clog10.c (__clog10): Likewise.
10470 * math/s_clog10f.c (__clog10f): Likewise.
10471 * math/s_clog10l.c (__clog10l): Likewise.
10472 * math/s_clog.c (__clog): Likewise.
10473 * math/s_clogf.c (__clogf): Likewise.
10474 * math/s_clogl.c (__clogl): Likewise.
10475 * math/s_csin.c (__csin): Likewise.
10476 * math/s_csinf.c (__csinf): Likewise.
10477 * math/s_csinh.c (__csinh): Likewise.
10478 * math/s_csinhf.c (__csinhf): Likewise.
10479 * math/s_csinhl.c (__csinhl): Likewise.
10480 * math/s_csinl.c (__csinl): Likewise.
10481 * math/s_csqrt.c (__csqrt): Likewise.
10482 * math/s_csqrtf.c (__csqrtf): Likewise.
10483 * math/s_csqrtl.c (__csqrtl): Likewise.
10484 * math/s_ctan.c (__ctan): Likewise.
10485 * math/s_ctanf.c (__ctanf): Likewise.
10486 * math/s_ctanh.c (__ctanh): Likewise.
10487 * math/s_ctanhf.c (__ctanhf): Likewise.
10488 * math/s_ctanhl.c (__ctanhl): Likewise.
10489 * math/s_ctanl.c (__ctanl): Likewise.
10490 * math/w_pow.c: Likewise.
10491 * math/w_powf.c: Likewise.
10492 * math/w_powl.c: Likewise.
10493 * math/w_scalb.c (sysv_scalb): Likewise.
10494 * math/w_scalbf.c (sysv_scalbf): Likewise.
10495 * math/w_scalbl.c (sysv_scalbl): Likewise.
10496 * misc/error.c (error_tail): Likewise.
10497 * misc/pselect.c (__pselect): Likewise.
10498 * nis/nis_callback.c (__nis_create_callback): Likewise.
10499 * nis/nis_call.c (__nisfind_server): Likewise.
10500 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10501 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10502 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10503 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10504 * nis/nis_lookup.c (nis_lookup): Likewise.
10505 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10506 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10507 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10508 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10509 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10510 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10511 * nis/nss_compat/compat-initgroups.c (add_group)
10512 (internal_getgrent_r): Likewise.
10513 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10514 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10515 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10516 (internal_getspnam_r): Likewise.
10517 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10518 (_nss_nis_getaliasbyname_r): Likewise.
10519 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10520 (_nss_nis_getntohost_r): Likewise.
10521 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10522 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10523 (_nss_nis_getgrgid_r): Likewise.
10524 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10525 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10526 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10527 (_nss_nis_gethostbyname4_r): Likewise.
10528 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10529 (initgroups_netid): Likewise.
10530 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10531 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10532 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10533 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10534 (_nss_nis_getprotobynumber_r): Likewise.
10535 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10536 (_nss_nis_getsecretkey): Likewise.
10537 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10538 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10539 (_nss_nis_getpwuid_r): Likewise.
10540 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10541 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10542 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10543 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10544 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10545 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10546 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10548 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10549 (_nss_nisplus_getntohost_r): Likewise.
10550 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10551 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10552 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10553 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10555 * nis/nss_nisplus/nisplus-initgroups.c
10556 (_nss_nisplus_initgroups_dyn): Likewise.
10557 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10558 (_nss_nisplus_getnetbyaddr_r): Likewise.
10559 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10560 (_nss_nisplus_getprotobynumber_r): Likewise.
10561 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10562 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10563 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10565 * nis/nss_nisplus/nisplus-service.c
10566 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10567 (_nss_nisplus_getservbyport_r): Likewise.
10568 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10569 (_nss_nisplus_getspnam_r): Likewise.
10570 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10572 * nscd/aicache.c (addhstaiX): Likewise.
10573 * nscd/cache.c (cache_search, prune_cache): Likewise.
10574 * nscd/connections.c (register_traced_file, send_ro_fd)
10575 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10576 (main_loop_epoll): Likewise.
10577 * nscd/grpcache.c (addgrbyX): Likewise.
10578 * nscd/hstcache.c (addhstbyX): Likewise.
10579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10580 * nscd/mem.c (gc, mempool_alloc): Likewise.
10581 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10582 (addinnetgrX): Likewise.
10583 * nscd/nscd-client.h (__nscd_acquire_maplock)
10584 (__nscd_drop_map_ref): Likewise.
10585 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10586 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10589 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10590 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10591 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10592 (__nscd_get_map_ref): Likewise.
10593 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10594 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10596 * nscd/pwdcache.c (addpwbyX): Likewise.
10597 * nscd/selinux.c (preserve_capabilities): Likewise.
10598 * nscd/servicescache.c (addservbyX): Likewise.
10599 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10600 * posix/fnmatch.c (fnmatch): Likewise.
10601 * posix/getopt.c (_getopt_internal_r): Likewise.
10602 * posix/glob.c (glob, glob_in_dir): Likewise.
10603 * posix/wordexp.c (exec_comm_child): Likewise.
10604 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10605 (getanswer_r, gaih_getanswer_slice): Likewise.
10606 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10607 * resolv/res_init.c: Likewise.
10608 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10609 * resolv/res_query.c (__libc_res_nquery): Likewise.
10610 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10612 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10613 * stdio-common/perror.c (perror): Likewise.
10614 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10615 * stdio-common/tmpnam.c (tmpnam): Likewise.
10616 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10617 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10618 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10620 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10621 * stdlib/putenv.c (putenv): Likewise.
10622 * stdlib/setenv.c (__add_to_environ): Likewise.
10623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10624 * stdlib/strtol_l.c (INTERNAL): Likewise.
10625 * string/memmem.c (memmem): Likewise.
10626 * string/strerror.c (strerror): Likewise.
10627 * string/strnlen.c (__strnlen): Likewise.
10628 * string/test-memmem.c (simple_memmem): Likewise.
10629 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10630 * sunrpc/pm_getport.c (__get_socket): Likewise.
10631 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10632 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10633 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10634 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10636 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10637 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10638 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10639 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10640 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10641 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10645 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10646 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10648 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10649 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10651 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10652 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10653 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10654 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10655 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10656 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10658 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10660 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10662 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10665 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10666 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10667 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10668 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10669 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10671 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10674 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10675 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10679 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10683 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10685 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10686 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10687 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10689 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10690 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10691 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10692 * sysdeps/posix/sleep.c: Likewise.
10693 * sysdeps/posix/tempname.c: Likewise.
10694 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10695 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10697 * sysdeps/powerpc/powerpc32/dl-machine.h
10698 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10701 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10702 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10704 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10706 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10708 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10709 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10710 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10711 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10712 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10713 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10715 (elf_machine_lazy_rel): Likewise.
10716 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10717 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10718 (elf_machine_lazy_rel): Likewise.
10719 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10720 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10721 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10722 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10723 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10724 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10725 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10728 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10729 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10730 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10731 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10733 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10734 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10735 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10736 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10737 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10738 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10740 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10741 (__posix_fallocate64_l64): Likewise.
10742 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10743 (posix_fallocate): Likewise.
10744 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10747 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10748 (getifaddrs_internal): Likewise.
10749 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10750 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10751 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10752 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10753 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10754 (__posix_fallocate64_l64): Likewise.
10755 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10757 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10759 (__get_clockfreq): Likewise.
10760 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10761 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10762 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10765 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10766 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10767 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10769 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10770 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10771 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10773 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10774 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10775 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10777 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10778 (posix_fallocate): Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10780 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10781 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10782 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10783 (elf_machine_rela, elf_machine_rela_relative)
10784 (elf_machine_lazy_rel): Likewise.
10785 * time/asctime.c (asctime_internal): Likewise.
10786 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10787 * time/tzset.c (__tzset_parse_tz): Likewise.
10788 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10789 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10790 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10791 * wcsmbs/wcsmbsload.h: Likewise.
10794 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10796 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10797 (arena_get2): Remove THREAD_STATS conditionals.
10798 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10799 (__malloc_stats, int): Likewise.
10801 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10803 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10804 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10806 * manual/setjmp.texi: Fix typos/grammar errors.
10808 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10809 Only return early when n is <= 0. Delete unused return statement.
10811 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10812 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10813 * debug/tst-longjmp_chk3.c: New file.
10815 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10816 (test_main): Replace code with set_fortify_handler call.
10817 * debug/test-strcpy_chk.c: Likewise.
10818 * debug/tst-chk1.c: Likewise.
10819 * debug/tst-longjmp_chk.c: Likewise.
10820 * test-skeleton.c: Include fcntl.h & paths.h
10821 (set_fortify_handler): Define.
10823 * debug/tst-longjmp_chk.c: Add header comment and include
10824 ../test-skeleton.c.
10825 (do_test): Mark static.
10826 (TEST_FUNCTION): Define.
10828 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10829 (IP_PMTUDISC_INTERFACE): Likewise.
10830 (IP_MULTICAST_IF): Likewise.
10831 (IP_MULTICAST_TTL): Likewise.
10832 (IP_MULTICAST_LOOP): Likewise.
10833 (IP_ADD_MEMBERSHIP): Likewise.
10834 (IP_DROP_MEMBERSHIP): Likewise.
10835 (IP_UNBLOCK_SOURCE): Likewise.
10836 (IP_BLOCK_SOURCE): Likewise.
10837 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10838 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10839 (IP_MSFILTER): Likewise.
10840 (MCAST_JOIN_GROUP): Likewise.
10841 (MCAST_BLOCK_SOURCE): Likewise.
10842 (MCAST_UNBLOCK_SOURCE): Likewise.
10843 (MCAST_LEAVE_GROUP): Likewise.
10844 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10845 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10846 (MCAST_MSFILTER): Likewise.
10847 (IP_MULTICAST_ALL): Likewise.
10848 (IP_UNICAST_IF): Likewise.
10850 * timezone/Makefile: Delete $(have-ksh) check.
10851 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10852 * timezone/tzselect.ksh: Add +x mode bits.
10854 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10855 (ANON_INODE_FS_MAGIC): Likewise.
10856 (BDEVFS_MAGIC): Likewise.
10857 (BINFMTFS_MAGIC): Likewise.
10858 (BTRFS_TEST_MAGIC): Likewise.
10859 (CRAMFS_MAGIC_WEND): Likewise.
10860 (DEBUGFS_MAGIC): Likewise.
10861 (ECRYPTFS_SUPER_MAGIC): Likewise.
10862 (EXT3_SUPER_MAGIC): Likewise.
10863 (EXT4_SUPER_MAGIC): Likewise.
10864 (FUTEXFS_SUPER_MAGIC): Likewise.
10865 (HOSTFS_SUPER_MAGIC): Likewise.
10866 (HUGETLBFS_MAGIC): Likewise.
10867 (MINIX3_SUPER_MAGIC): Likewise.
10868 (MTD_INODE_FS_MAGIC): Likewise.
10869 (NILFS_SUPER_MAGIC): Likewise.
10870 (OPENPROM_SUPER_MAGIC): Likewise.
10871 (PIPEFS_MAGIC): Likewise.
10872 (PSTOREFS_MAGIC): Likewise.
10873 (QNX6_SUPER_MAGIC): Likewise.
10874 (RAMFS_MAGIC): Likewise.
10875 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10876 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10877 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10878 (SECURITYFS_MAGIC): Likewise.
10879 (SELINUX_MAGIC): Likewise.
10880 (SMACK_MAGIC): Likewise.
10881 (SOCKFS_MAGIC): Likewise.
10882 (SQUASHFS_MAGIC): Likewise.
10883 (STACK_END_MAGIC): Likewise.
10884 (TMPFS_MAGIC): Likewise.
10885 (USBDEVICE_SUPER_MAGIC): Likewise.
10886 (V9FS_MAGIC): Likewise.
10887 (XENFS_SUPER_MAGIC): Likewise.
10888 (CRAMFS_MAGIC): Fix typo in comment.
10889 (EXT2_SUPER_MAGIC): Update comment.
10890 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10892 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10894 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10895 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10896 * sysdeps/unix/sysv/linux/arm: Move directory from
10897 ports/sysdeps/unix/sysv/linux/arm.
10898 * README: Update listing for arm-*-linux-gnueabi.
10900 * README: Remove mention of am33.
10902 2014-02-07 Roland McGrath <roland@hack.frob.com>
10904 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10905 than the comma operator, to avoid "rhs of comma has no effect"
10907 (__sigfillset, __sigandset, __sigorset): Likewise.
10908 * include/signal.h (__sigemptyset): Likewise.
10909 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10911 2014-02-07 Allan McRae <allan@archlinux.org>
10913 * version.h (RELEASE): Set to "development".
10914 (VERSION): Set to "2.19.90"
10915 * NEWS: Add 2.20 section.
10917 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10920 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10922 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10924 * manual/contrib.texi: Update entry for Carlos O'Donell,
10925 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10927 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10929 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10931 * sysdeps/unix/sysv/linux/kernel-features.h
10932 [__LINUX_KERNEL_VERSION >= 0x020621]
10933 (__ASSUME_PROC_PID_TASK_COMM): Define.
10935 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10938 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10939 conversion when destination buffer does not have enough space.
10940 * libio/tst-ftell-partial-wide.c: New test case.
10941 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10943 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10944 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10945 Leonard and Allan McRae.
10947 2014-02-04 David S. Miller <davem@davemloft.net>
10949 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10952 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10981 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10983 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10984 * shlib-versions: Likewise.
10986 2014-02-04 Roland McGrath <roland@hack.frob.com>
10987 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10989 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10990 (abilist-pattern): New variable, set to %-le.abilist.
10992 * Makerules (abilist-pattern): New variable.
10993 (vpath): Use $(abilist-pattern) in place of %.abilist.
10994 (check-abi-% pattern rule): Likewise.
10995 (check-abi, update-abi): Likewise.
10997 2014-02-04 Eric Wong <normalperson@yhbt.net>
10999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11001 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11003 * manual/startup.texi: Add next, previous, and top entries for
11004 the `Program Arguments' and `Environment Variables' nodes.
11006 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11008 * manual/macros.texi: Add comments before MTASC-safety macros.
11010 * manual/users.texi: Document MTASC-safety properties.
11012 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11013 (pthread_getspecific, pthread_setspecific): Format with
11014 @deftypefun, and add @safety note.
11015 * manual/signal.texi: Move comments that analyze the above
11016 functions to their home place.
11018 2014-02-03 Allan McRae <allan@archlinux.org>
11020 * po/sl.po: Update Slovenian translation from translation project.
11022 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11024 * manual/time.texi (timegm): Add missing blank after @c.
11025 Reported by Joseph Myers <joseph@codesourcery.com>.
11027 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11029 * manual/check-safety.sh: New.
11030 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11032 * manual/terminal.texi: Document MTASC-safety properties.
11034 * manual/filesys.texi: Document MTASC-safety properties.
11036 * manual/errno.texi: Document MTASC-safety properties.
11038 * manual/intro.texi: Document safety identifiers and
11041 * manual/string.texi (wcstok): Fix prototype.
11042 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11044 * manual/time.texi: Document MTASC-safety properties.
11046 * manual/string.texi: Document MTASC-safety properties.
11048 * manual/threads.texi: Document MTASC-safety properties.
11050 * manual/stdio.texi: Document MTASC-safety properties.
11052 * manual/syslog.texi: Document MTASC-safety properties.
11054 * manual/sysinfo.texi: Document MTASC-safety properties.
11056 * manual/startup.texi: Document MTASC-safety properties.
11058 * manual/socket.texi: Document MTASC-safety properties.
11060 * manual/signal.texi: Document MTASC-safety properties.
11062 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11064 * manual/setjmp.texi: Document MTASC-safety properties.
11066 * manual/search.texi: Document MTASC-safety properties.
11068 * manual/resource.texi: Document MTASC-safety properties.
11070 * manual/process.texi: Document MTASC-safety properties.
11072 * manual/platform.texi: Document MTASC-safety properties.
11074 * manual/pipe.texi: Document MTASC-safety properties.
11076 * manual/pattern.texi: Document MTASC-safety properties.
11078 * manual/message.texi: Document MTASC-safety properties.
11081 * manual/memory.texi: Document MTASC-safety properties.
11083 * manual/math.texi: Document MTASC-safety properties.
11085 * manual/locale.texi: Document MTASC-safety properties.
11087 * manual/llio.texi: Document MTASC-safety properties.
11089 * manual/libdl.texi: New.
11091 * manual/lang.texi: Document MTASC-safety properties.
11093 * manual/job.texi: Document MTASC-safety properties.
11095 * manual/getopt.texi: Document MTASC-safety properties.
11097 * manual/ctype.texi: Document MTASC-safety properties.
11099 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11102 * csu/libc-tls.c (static_map): Remove variable.
11103 (__libc_setup_tls): Use main executable's link map for TLS data.
11104 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11105 casing for LM_ID_BASE and GL(dl_nns).
11106 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11107 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11108 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11109 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11110 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11112 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11115 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11117 * manual/debug.texi: Document MTASC-safety properties.
11119 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11122 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11123 of __x86_64__ when disabling x87 inline functions.
11125 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11127 * manual/charset.texi: Document MTASC-safety properties.
11129 * manual/crypt.texi: Document MTASC-safety properties.
11131 * manual/conf.texi: Document MTASC-safety properties.
11133 * manual/arith.texi: Document MTASC-safety properties.
11135 * manual/argp.texi: Document MTASC-safety properties.
11137 * manual/macros.texi: Introduce macros to document multi
11138 thread, asynchronous signal and asynchronous cancellation
11140 * manual/intro.texi: Introduce the properties themselves.
11142 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11144 * sysdeps/sh/sh4/Makefile: New file.
11146 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11148 * math/gen-libm-test.pl ($srcdir): New variable.
11149 ($auto_input): Use it.
11151 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11154 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11155 access beyond array bounds when parsing netgroups file.
11157 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11158 the old buffer before realloc.
11160 2014-01-27 Allan McRae <allan@archlinux.org>
11162 * po/fr.po: Update French translation from translation project.
11164 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11166 * sysdeps/sh/libm-test-ulps: Regenerate.
11168 2014-01-24 David S. Miller <davem@davemloft.net>
11170 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11172 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11175 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11177 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11181 string pointers after reallocation.
11183 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11185 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11186 __SH4A__ instead of __SH_FPU_ANY__.
11188 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11190 * sysdeps/sh/fpu_control.h: New file.
11191 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11192 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11193 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11194 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11195 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11196 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11197 * sysdeps/sh/sys/ucontext.h: Remove.
11198 * sysdeps/sh/sys: Remove directory.
11200 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11202 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11203 s390/sys/ucontext.h.
11204 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11205 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11207 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11210 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11212 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11216 Adjust the vDSO correctly for internal calls.
11217 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11219 2014-01-20 Allan McRae <allan@archlinux.org>
11221 * po/ca.po: Update Catalan translation from translation project.
11223 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11225 * sysdeps/s390/sotruss-lib.c: New file.
11227 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11231 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11232 local calls issues by not having a PLT stub required for IFUNC calls.
11233 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11235 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11237 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11238 * math/test-fpucw-static.c: Likewise.
11240 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11243 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11245 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11247 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11248 implementation for powerpc.
11250 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11253 * sysdeps/posix/system.c (__libc_system): Do not enable
11254 asynchronous cancellation.
11256 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11260 handling only for numbers special also in the IEEE case.
11262 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11266 2014-01-11 Allan McRae <allan@archlinux.org>
11268 * po/bg.po: Update Bulgarian translation from translation project.
11270 * po/de.po: Update German translation from translation project.
11272 2014-01-10 Roland McGrath <roland@hack.frob.com>
11274 * sysdeps/generic/gcc-compat.h: New file.
11276 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11278 * benchtests/asin-inputs: Correct slow inputs.
11279 * benchtests/acos-inputs: Likewise.
11281 2014-01-10 Allan McRae <allan@archlinux.org>
11283 * po:sv.po: Update Swedish translation from translation project.
11285 * po/vi.po: Update Vietnamese translation from translation project.
11287 * po/eo.po: Update Esperanto translation from translation project.
11289 * po/cs.po: Update Czech translation from translation project.
11291 * po/nl.po: Update Dutch translation from translation project.
11293 * po/pl.po: Update Polish translation from translation project.
11295 * po/ru.po: Update Russian translation from translation project.
11297 * po/uk.po: Update Ukrainian translation from translation project.
11299 2014-01-08 Brooks Moses <bmoses@google.com>
11301 * elf/dl-load.c: Fix comment typo.
11303 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11305 * po/header.pot: Rename to...
11306 * po/pot.header: ... this.
11307 * po/Makefile: Use pot.header.
11309 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11310 Maxim Kuvyrkov <maxim@kugelworks.com>
11313 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11314 SRC and DEST against LEN.
11316 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11321 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11323 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11327 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11330 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11331 for large positive arguments.
11333 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11335 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11337 * math/auto-libm-test-in: Mark various tests with
11338 xfail-rounding:ldbl-128ibm.
11339 * math/auto-libm-test-out: Regenerated.
11342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11343 Increase overflow threshold.
11345 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11348 * stdio-common/vfprintf.c: Check for integer overflow.
11350 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11352 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11353 the first argument and return value of __tls_get_addr_internal.
11355 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11357 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11358 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11360 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11362 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11363 * sysdeps/s390/rtld-global-offsets.sym: New file.
11364 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11366 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11368 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11378 halfs of GPRs for high_gprs contexts.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11380 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11382 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11386 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11387 for high GPRs (uc_high_gprs) and for future extensions
11389 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11390 for future extensions (__reserved).
11391 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11393 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11394 SC_HIGHGPRS offset definition.
11395 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11396 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11398 * Versions.def: Add GLIBC_2.19 for libpthread.
11399 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11400 siglongjmp for libpthread with GLIBC_2.19 symver.
11401 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11402 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11403 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11404 * sysdeps/s390/__longjmp.c: New file.
11405 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11406 * sysdeps/s390/longjmp.c: New file.
11407 * sysdeps/s390/setjmp.S: New file.
11408 * sysdeps/s390/sigjmp.S: New file.
11409 * sysdeps/s390/v1-longjmp.c: New file.
11410 * sysdeps/s390/v1-setjmp.h: New file.
11411 * sysdeps/s390/v1-sigjmp.c: New file.
11412 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11413 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11414 GLIBC_2.19 version.
11415 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11416 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11417 versioned symbols for ____longjmp_chk.
11418 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11428 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11429 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11430 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11431 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11432 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11433 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11434 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11435 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11436 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11437 * sysdeps/s390/rtld-__longjmp.c: New file.
11438 * sysdeps/s390/rtld-setjmp.S: New file.
11440 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11444 Return -__logl (x) for small positive arguments without evaluating
11447 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11449 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11451 (__ptrace_peeksiginfo_args): ... this.
11452 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11456 2014-01-06 Allan McRae <allan@archlinux.org>
11458 * inet/netinet/in.h: Fix typo in comment.
11460 2014-01-05 Andreas Jaeger <aj@suse.de>
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 2014-01-05 Allan McRae <allan@archlinux.org>
11466 * po/libc.pot: Regenerated.
11468 * malloc/memusagestat.c: Fix gettext call formatting.
11470 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11472 * nscd/nscd.c: Improve usage() output.
11474 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11476 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11477 * sysdeps/unix/sysv/linux/configure: Regenerated.
11478 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11479 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11481 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11484 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11485 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11487 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11490 extra tokens at end of #undef directive.
11491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11492 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11495 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11497 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11499 * math/auto-libm-test-in: Mark various tests with
11500 xfail-rounding:ldbl-128ibm.
11501 * math/auto-libm-test-out: Regenerated.
11503 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11507 numbers with subnormal high part when calculating exponent.
11510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11516 (__ieee754_acoshl): Use __log1pl not __log1p.
11518 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11520 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11521 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11522 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11523 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11524 (reused_arena, arena_get2): Convert to GNU style.
11525 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11526 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11527 (memalign_check, __malloc_set_state): Likewise.
11528 * malloc/mallocbug.c (main): Likewise.
11529 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11530 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11531 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11532 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11533 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11534 (__posix_memalign, malloc_info): Likewise.
11535 * malloc/malloc.h: Likewise.
11536 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11537 (mallochook, memalignhook, reallochook, mabort): Likewise.
11538 * malloc/mcheck.h: Likewise.
11539 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11540 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11541 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11542 * malloc/morecore.c (__default_morecore): Likewise.
11543 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11544 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11545 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11546 (print_and_abort): Likewise.
11547 * malloc/obstack.h: Likewise.
11548 * malloc/set-freeres.c (__libc_freeres): Likewise.
11549 * malloc/tst-mallocstate.c (main): Likewise.
11550 * malloc/tst-mtrace.c (main): Likewise.
11551 * malloc/tst-realloc.c (do_test): Likewise.
11553 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11556 * nscd/netgroupcache.c (do_notfound): New function.
11557 (addgetnetgrentX): Use it.
11560 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11561 NSS_STATUS_NOTFOUND.
11563 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11565 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11568 2014-01-01 Allan McRae <allan@archlinux.org>
11570 * scripts/update-copyrights: Update configure input file suffix.
11572 * NEWS: Update copyright year.
11573 * catgets/gencat.c: Likewise.
11574 * csu/version.c: Likewise.
11575 * debug/catchsegv.sh: Likewise.
11576 * debug/pcprofiledump.c: Likewise.
11577 * debug/xtrace.sh: Likewise.
11578 * elf/ldconfig.c: Likewise.
11579 * elf/ldd.bash.in: Likewise.
11580 * elf/pldd.c: Likewise.
11581 * elf/sotruss.ksh: Likewise.
11582 * elf/sprof.c: Likewise.
11583 * iconv/iconv_prog.c: Likewise.
11584 * iconv/iconvconfig.c: Likewise.
11585 * locale/programs/locale.c: Likewise.
11586 * locale/programs/localedef.c: Likewise.
11587 * login/programs/pt_chown.c: Likewise.
11588 * malloc/memusage.sh: Likewise.
11589 * malloc/memusagestat.c: Likewise.
11590 * malloc/mtrace.pl: Likewise.
11591 * manual/libc.texinfo: Likewise.
11592 * nscd/nscd.c: Likewise.
11593 * nss/getent.c: Likewise.
11594 * nss/makedb.c: Likewise.
11595 * posix/getconf.c: Likewise.
11596 * scripts/test-installation.pl: Likewise.
11598 * All files with FSF copyright notices: Update copyright dates
11599 using scripts/update-copyrights.
11600 * intl/plural.c: Regenerated.
11601 * locale/programs/charmap-kw.h: Likewise.
11602 * locale/programs/locfile-kw.h: Likewise.
11604 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11606 * sysdeps/unix/sysv/linux/configure: Regenerated.
11607 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11608 the linux/fanotify.h header.
11609 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11610 HAVE_LINUX_FANOTIFY_H is defined.
11612 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11614 * benchtests/cos-inputs: New inputs.
11615 * benchtests/sin-inputs: Likewise.
11617 * benchtests/atan-inputs: New inputs. Fix name of multiple
11618 precision fallback inputs.
11620 * benchtests/atanh-inputs: New inputs.
11621 * benchtests/tanh-inputs: Likewise.
11623 * benchtests/acosh-inputs: New inputs.
11624 * benchtests/asinh-inputs: Likewise.
11626 * benchtests/cosh-inputs: New inputs.
11627 * benchtests/sinh-inputs: Likewise.
11629 * benchtests/acos-inputs: Add more inputs.
11630 * benchtests/asin-inputs: Likewise.
11632 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11635 * manual/arith.texi: Fix spelling.
11636 * manual/charset.texi: Likewise.
11637 * manual/errno.texi: Likewise.
11638 * manual/filesys.texi: Likewise.
11639 * manual/lang.texi: Likewise.
11640 * manual/llio.texi: Likewise.
11641 * manual/locale.texi: Likewise.
11642 * manual/message.texi: Likewise.
11643 * manual/resource.texi: Likewise.
11644 * manual/search.texi: Likewise.
11645 * manual/setjmp.texi: Likewise.
11646 * manual/stdio.texi: Likewise.
11647 * manual/string.texi: Likewise.
11648 * manual/sysinfo.texi: Likewise.
11649 * manual/time.texi: Likewise.
11651 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11653 * po/sl.po: New file.
11655 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11657 * .gitignore: Add core/.gdbinit/.gdb_history.
11659 2013-12-27 Allan McRae <allan@archlinux.org>
11662 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11663 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11665 2013-12-24 Brooks Moses <bmoses@google.com>
11667 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11668 all compilers that claim C++98 compliance, not just GCC.
11669 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11672 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11674 * NEWS: Restore accidentally deleted bug-fix entries.
11676 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11677 Ondřej Bílka <neleai@seznam.cz>
11680 * malloc/malloc.c (_int_free): Perform sanity check only if we
11683 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11686 * manual/stdio.texi (String Input Conversions): Clarify that character
11687 classes are not supported.
11689 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11693 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11697 Calculate results for small negative arguments directly rather
11698 than using reflection formula with special underflow handling.
11700 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11701 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11702 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11703 (fchflags): Likewise.
11704 (revoke): Likewise.
11705 (setlogin): Likewise.
11706 (sigaltstack): Likewise.
11708 (sigblock): Remove.
11709 (sigsetmask): Likewise.
11711 (waitpid): Likewise.
11712 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11713 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11715 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11716 * sysdeps/unix/bsd/Makefile: ... here.
11717 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11718 * sysdeps/unix/bsd/Versions: ... here.
11719 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11720 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11721 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11722 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11723 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11724 * sysdeps/unix/bsd/sigblock.c: ... here.
11725 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11726 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11727 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11728 * sysdeps/unix/bsd/sigvec.c: ... here.
11729 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11730 * sysdeps/unix/bsd/tcdrain.c: ... here.
11731 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11732 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11733 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11734 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11735 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11736 * sysdeps/unix/bsd/wait.c: ... here.
11737 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11738 * sysdeps/unix/bsd/wait3.c: ... here.
11739 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11740 * sysdeps/unix/bsd/waitpid.c: ... here.
11742 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11745 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11746 round-to-nearest for [!USE_AS_EXPM1L].
11747 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11748 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11749 more tests of exp and exp10. Expect some exp10 tests to miss
11750 exceptions or fail in directed rounding modes.
11751 * math/auto-libm-test-out: Regenerated.
11752 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11753 (exp10_test_tonearest): New function.
11754 (exp10_towardzero_test_data): New array.
11755 (exp10_test_towardzero): New function.
11756 (exp10_downward_test_data): New array.
11757 (exp10_test_downward): New function.
11758 (exp10_upward_test_data): New array.
11759 (exp10_test_upward): New function.
11760 (main): Call the new functions.
11761 * sysdeps/i386/fpu/libm-test-ulps: Update.
11762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11764 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11766 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11767 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11768 * math/auto-libm-test-out: Regenerated.
11769 * math/libm-test.inc (acosh_test_data): Add more tests.
11770 (atanh_test_data): Likewise.
11771 (ceil_test_data): Likewise.
11772 (copysign_test_data): Likewise.
11773 * sysdeps/i386/fpu/libm-test-ulps: Update.
11774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776 * timezone/checktab.awk: Update from tzcode 2013i.
11777 * timezone/private.h: Likewise.
11778 * timezone/scheck.c: Likewise.
11779 * timezone/tzfile.h: Likewise.
11780 * timezone/tzselect.ksh: Likewise.
11781 * timezone/zdump.c: Likewise.
11782 * timezone/zic.c: Likewise.
11784 * math/auto-libm-test-in: Add tests of cpow.
11785 * math/auto-libm-test-out: Regenerated.
11786 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11787 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11789 (func_calc_desc): Add mpc_cc_c union field.
11790 (test_functions): Add cpow.
11791 (special_fill_2pi): New function.
11792 (special_real_inputs): Add 2pi.
11793 (calc_generic_results): Handle mpc_cc_c.
11794 * sysdeps/i386/fpu/libm-test-ulps: Update.
11795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11798 csqrt, ctan and ctanh.
11799 * math/auto-libm-test-out: Regenerated.
11800 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11801 (TEST_COND_x86): Likewise.
11802 (ccos_test_data): Use AUTO_TESTS_c_c.
11803 (ccosh_test_data): Likewise.
11804 (cexp_test_data): Likewise.
11805 (clog_test_data): Likewise.
11806 (csqrt_test_data): Likewise.
11807 (ctan_test_data): Likewise.
11808 (ctan_tonearest_test_data): Likewise.
11809 (ctan_towardzero_test_data): Likewise.
11810 (ctan_downward_test_data): Likewise.
11811 (ctan_upward_test_data): Likewise.
11812 (ctanh_test_data): Likewise.
11813 (ctanh_tonearest_test_data): Likewise.
11814 (ctanh_towardzero_test_data): Likewise.
11815 (ctanh_downward_test_data): Likewise.
11816 (ctanh_upward_test_data): Likewise.
11817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11819 (func_calc_desc): Add mpc_c_c union field.
11820 (FUNC_mpc_c_c): New macro.
11821 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11822 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11824 (special_fill_min_subnorm_p120): New function.
11825 (special_real_inputs): Add min_subnorm_p120.
11826 (calc_generic_results): Handle mpc_c_c.
11827 * sysdeps/i386/fpu/libm-test-ulps: Update.
11828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11830 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11832 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11833 (do_sin_slow): New functions.
11834 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11835 (cslow2, csloww1, csloww2): Use the new functions.
11837 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11838 Use M to change sign of result instead of X. Assume X is
11840 (csloww1): Likewise.
11844 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11845 arguments A and DA.
11849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11851 (sloww1): Don't adjust sign of DX.
11852 (csloww1): Likewise.
11853 (sloww2): Use X directly and don't adjust sign of DX.
11854 (csloww2): Likewise.
11856 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11858 * math/auto-libm-test-in: Add tests of cabs and carg.
11859 * math/auto-libm-test-out: Regenerated.
11860 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11861 (carg_test_data): Likewise.
11862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11864 (func_calc_desc): Add mpc_c_f union field.
11865 (test_functions): Add cabs and carg.
11866 (calc_generic_results): Handle mpc_c_f.
11868 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11869 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11870 as a macro and a compat symbol.
11871 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11872 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11873 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11874 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11875 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11876 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11878 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11880 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11882 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11884 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11886 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11888 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11889 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11892 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11896 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11898 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11899 trailing whitespace removed.
11900 * scripts/config.guess: Update to version 2013-11-29.
11901 * scripts/config.sub: Update to version 2013-10-01.
11903 * math/auto-libm-test-in: Add tests of sincos.
11904 * math/auto-libm-test-out: Regenerated.
11905 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11906 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11908 (func_calc_desc): Add mpfr_f_11 union field.
11909 (test_functions): Add sincos.
11910 (calc_generic_results): Handle mpfr_f_11.
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11914 2013-12-19 Andreas Schwab <schwab@suse.de>
11916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11920 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11922 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11924 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11925 * sysdeps/i386/fpu/libm-test-ulps: Update.
11926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11929 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11930 round-to-nearest mode when using frndint.
11931 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11932 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11935 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11937 * math/auto-libm-test-out: Regenerated.
11938 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11939 (TEST_COND_x86): Likewise.
11940 (expm1_tonearest_test_data): New array.
11941 (expm1_test_tonearest): New function.
11942 (expm1_towardzero_test_data): New array.
11943 (expm1_test_towardzero): New function.
11944 (expm1_downward_test_data): New array.
11945 (expm1_test_downward): New function.
11946 (expm1_upward_test_data): New array.
11947 (expm1_test_upward): New function.
11948 (main): Run the new test functions.
11949 * sysdeps/i386/fpu/libm-test-ulps: Update.
11950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11952 * include/features.h: Update comment documenting feature test
11953 macros. Mention _DEFAULT_SOURCE in comment.
11954 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11955 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11956 _BSD_SOURCE and _SVID_SOURCE.
11957 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11958 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11959 !_SVID_SOURCE]: Likewise.
11960 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11961 (__USE_POSIX_IMPLICITLY): Define.
11962 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11963 (_POSIX_SOURCE): Undefine and redefine.
11964 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11965 (_POSIX_C_SOURCE): Likewise.
11966 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11967 (Feature Test Macros): Update documentation of default features.
11969 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11971 * benchtests/Makefile: Add bench-strtok.
11972 * benchtests/bench-strtok.c: New file: strtok benchtest.
11974 2013-12-19 Allan McRae <allan@archlinux.org>
11976 * manual/install.texi: Suppress menu for plain text output.
11977 * INSTALL: Regenerated.
11979 2013-12-18 Brooks Moses <bmoses@google.com>
11982 * misc/getauxval.c: Include errno.h.
11983 (__getauxval): Set errno to ENOENT if the requested type is not
11985 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11986 don't declare with __attribute_const__.
11987 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11988 * manual/startup.texi: Document that getauxval sets errno.
11990 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11992 * math/auto-libm-test-in: Add tests of jn and yn.
11993 * math/auto-libm-test-out: Regenerated.
11994 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11995 (yn_test_data): Likewise.
11996 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11998 (func_calc_desc): Add mpfr_if_f union field.
11999 (FUNC_mpfr_if_f): New macro.
12000 (test_functions): Add jn and yn.
12001 (calc_generic_results): Assert type of second input for
12002 mpfr_ff_f. Handle mpfr_if_f.
12003 (output_for_one_input_case): Disable all checking for arguments
12004 fitting floating-point types in case of an integer argument.
12005 * sysdeps/i386/fpu/libm-test-ulps: Update.
12006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12009 Don't expect fegetround reference in libm.so.
12011 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12013 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12014 $(config-cflags-nofma).
12016 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12018 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12019 * math/auto-libm-test-out: Regenerated.
12022 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12023 to determine exponent and adjust argument to have exponent of -1.
12024 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12026 * math/auto-libm-test-out: Regenerated.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12032 * manual/probes.texi: Remove cases when per-thread arenas are
12035 2013-12-18 Andreas Schwab <schwab@suse.de>
12037 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12038 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12039 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12040 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12041 * sysdeps/i386/i686/multiarch/Makefile: Update.
12042 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12044 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12046 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12047 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12049 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12052 Support TZ transition times < 00:00:00.
12053 This is needed for version-3 tz-format files; it supports time
12054 stamps past 2037 for America/Godthab (the only entry in the tz
12055 database for which this change is relevant).
12056 * manual/time.texi (TZ Variable): Document transition times
12057 from -167:59:59 through -00:00:01.
12058 * time/tzset.c (tz_rule): Time of day is now signed.
12059 (__tzset_parse_tz): Parse negative time of day.
12061 Document TZ transition times >= 25:00:00.
12062 * manual/time.texi (TZ Variable): Document transition times from
12063 25:00:00 through 167:59:59. These are already supported, and this
12064 support will help with version-3 tz-format files.
12066 * manual/time.texi (TZ Variable): Modernize North America example
12067 to reflect current (i.e., 2007-and-later) daylight saving rules.
12069 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12071 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12073 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12074 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12077 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12078 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12079 * sysdeps/unix/bsd/clock.c: Likewise.
12080 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12081 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12082 * sysdeps/unix/bsd/init-posix.c: Likewise.
12083 * sysdeps/unix/bsd/poll.c: Likewise.
12084 * sysdeps/unix/bsd/ptsname.c: Likewise.
12085 * sysdeps/unix/bsd/seekdir.c: Likewise.
12086 * sysdeps/unix/bsd/setegid.c: Likewise.
12087 * sysdeps/unix/bsd/seteuid.c: Likewise.
12088 * sysdeps/unix/bsd/setgid.c: Likewise.
12089 * sysdeps/unix/bsd/setrgid.c: Likewise.
12090 * sysdeps/unix/bsd/setruid.c: Likewise.
12091 * sysdeps/unix/bsd/setsid.c: Likewise.
12092 * sysdeps/unix/bsd/setuid.c: Likewise.
12093 * sysdeps/unix/bsd/sigaction.c: Likewise.
12094 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12095 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12096 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12097 * sysdeps/unix/bsd/telldir.c: Likewise.
12098 * sysdeps/unix/bsd/times.c: Likewise.
12099 * sysdeps/unix/bsd/usleep.c: Likewise.
12101 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12102 ($(objpfx)libbsd-compat.a): Remove rule.
12104 * include/features.h (__FAVOR_BSD): Do not define.
12105 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12106 features conflicting with POSIX.
12107 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12108 (_BSD_SOURCE): Remove description of not being a subset of other
12109 feature test macros.
12110 * manual/job.texi (getpgrp): Do not document BSD version.
12111 (getpgid): Do not document by reference to BSD getpgrp.
12112 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12113 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12114 * signal/signal.h [__FAVOR_BSD]: Likewise.
12115 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12116 instead of making contents conditional on [__FAVOR_BSD].
12117 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12119 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12123 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12126 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12127 values below 2**-450, not 2**-500.
12128 * math/auto-libm-test-in: Don't allow spurious underflow from
12130 * math/auto-libm-test-out: Regenerated.
12134 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12135 values of ha and hb and sort them after adjusting subnormal
12137 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12139 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12140 values of ea and eb and sort them after adjusting subnormal
12142 * math/auto-libm-test-in: Do not expect some hypot tests of
12143 subnormals to fail. Add more hypot tests.
12144 * math/auto-libm-test-out: Regenerated.
12146 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12149 * sysdeps/sh/s_fma.c: New file.
12150 * sysdeps/sh/s_fmaf.c: New file.
12151 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12153 * sysdeps/sh/Implies: Add sh/soft-fp.
12155 2013-12-16 Roland McGrath <roland@hack.frob.com>
12157 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12158 level of indirection to members `objname', `errstring', `malloced'.
12159 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12160 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12161 it as the __longjmp argument (just pass 1 instead).
12162 (_dl_catch_error): Initialize C with argument pointers and address of
12163 volatile local ERRCODE rather than copying values out of C at return.
12165 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12167 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12168 * math/auto-libm-test-out: Regenerated.
12169 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12170 (hypot_test_data): Likewise.
12171 (pow_test_data): Likewise.
12172 (pow_tonearest_test_data): Likewise.
12173 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12175 (func_calc_desc): Add mpfr_ff_f union field.
12176 (FUNC_mpfr_ff_f): New macro.
12177 (test_functions): Add atan2, hypot and pow.
12178 (special_fill_min): New function.
12179 (special_fill_minus_min): Likewise.
12180 (special_fill_min_subnorm): Likewise.
12181 (special_fill_minus_min_subnorm): Likewise.
12182 (special_real_inputs): Add min, -min, min_subnorm and
12184 (calc_generic_results): Handle mpfr_ff_f.
12185 * sysdeps/i386/fpu/libm-test-ulps: Update.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188 2013-12-16 Will Newton <will.newton@linaro.org>
12190 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12191 (Aligned Memory Blocks): Add documentation for aligned_alloc
12192 and suggest it as an alternative to posix_memalign.
12193 (Hooks for Malloc): Document __memalign_hook is also called
12194 for aligned_alloc. (Summary of Malloc): Add summary for
12195 aligned alloc. Document __memalign_hook is also called
12198 2013-12-16 Will Newton <will.newton@linaro.org>
12200 * manual/memory.texi (Malloc Examples): Clarify default
12201 alignment documentation. Suggest posix_memalign rather
12202 than memalign or valloc.
12203 (Aligned Memory Blocks): Remove suggestion to use memalign
12204 or valloc. Remove obsolete comment about BSD.
12205 Document memalign errno values and mark the function obsolete.
12206 Document posix_memalign returned error codes. Mark valloc
12207 as obsolete. (Hooks for Malloc): __memalign_hook is also
12208 called for posix_memalign and valloc.
12209 (Summary of Malloc): Add posix_memalign to function summary.
12210 __memalign_hook is also called for posix_memalign and valloc.
12212 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12218 (sloww): Use mynumber union. Expand ternary operator into
12219 if-else statements.
12220 (cslow): use mynumber union.
12222 2013-12-16 Allan McRae <allan@archlinux.org>
12224 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12225 * configure: Regenerated.
12227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12230 * configure.ac: Added --enable-maintainer-mode. Check for
12231 autoconf when enabled.
12232 * configure: Regenerated.
12234 * nscd/nscd.service: New file.
12235 * nscd/nscd.tmpfiles: New file.
12237 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12240 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12241 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12242 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12243 (strstr): Add __strstr_sse2_unaligned ifunc.
12244 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12245 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12246 (strcasestr): Remove __strcasestr_sse42 ifunc.
12247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12251 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12253 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12254 * sysdeps/sh/bits/fenv.h: ... here.
12255 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12257 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12262 hypotf multiarch implementations.
12263 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12265 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12266 multiarch hypot for PPC64.
12267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12270 multiarch hypotf for PPC64.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12273 modff multiarch implementations.
12274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12277 multiarch modf for PPC64.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12281 multiarch modff for PPC64.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12284 and logl multiarch implementations.
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12288 multiarch logb for PPC64.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12292 multiarch logb for PPC64.
12293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12296 multiarch logb for PPC64.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12299 isinff multiarch implementation.
12300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12304 multiarch isinf for PPC64.
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12308 multiarch isinff for PPC64.
12310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12311 finitef multiarch implementation.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12316 multiarch finite for PPC64.
12317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12320 multiarch finitef for PPC64.
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12323 lrint multiarch implementation.
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12328 multiarch llrint for PPC64.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12330 multiarch lrint for PPC64.
12332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12333 copysignf multiarch implementation.
12334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12339 multiarch copysign for PPC64.
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12341 multiarch copysignf for PPC64.
12343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12344 multiarch implementation.
12345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12353 multiarch llround for PPC64.
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12355 multiarch trunc for PPC64.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12357 multiarch truncf for PPC64.
12359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12360 multiarch implementation.
12361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12369 multiarch llround for PPC64.
12370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12371 multiarch round for PPC64.
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12373 multiarch roundf for PPC64.
12375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12376 multiarch implementation.
12377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12385 multiarch llround for PPC64.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12387 multiarch floor for PPC64.
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12389 multiarch floorf for PPC64.
12391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12392 multiarch implementation.
12393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12401 multiarch llround for PPC64.
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12403 multiarch ceil for PPC64.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12405 multiarch ceilf for PPC64.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12408 multiarch implementation.
12409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12416 multiarch llround for PPC64.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12418 multiarch lround for PPC64.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12421 multiarch implementation.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12429 multiarch isnan for PPC64.
12430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12431 multiarch isnanf for PPC64.
12433 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12434 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12435 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12436 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12437 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12440 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12446 multiarch implementations.
12447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12450 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12451 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12452 multiarch stpcpy for PPC64.
12454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12455 multiarch implementations.
12456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12459 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12461 multiarch strcpy for PPC64.
12463 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12464 redefine function name.
12465 (_wordcopy_fwd_dest_aligned): Likewise.
12466 (_wordcopy_bwd_aligned): Likewise.
12467 (_wordcopy_bwd_dest_aligned): Likewise.
12468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12469 multiarch implementations.
12470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12471 (__libc_ifunc_impl_list): Likewise.
12472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12476 multiarch wcscpy for PPC64.
12478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12479 multiarch implementations.
12480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12481 (__libc_ifunc_impl_list): Likewise.
12482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12483 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12484 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12486 multiarch wcscpy for PPC64.
12488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12489 multiarch implementations.
12490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12491 (__libc_ifunc_impl_list): Likewise.
12492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12493 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12494 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12495 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12496 multiarch wcsrchr for PPC64.
12498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12499 multiarch implementations.
12500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12501 (__libc_ifunc_impl_list): Likewise.
12502 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12503 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12504 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12505 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12506 multiarch wcschr for PPC64.
12508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12509 multiarch implementations.
12510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12511 (__libc_ifunc_impl_list): Likewise.
12512 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12513 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12514 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12515 multiarch strchrnul for PPC64.
12517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12520 (__libc_ifunc_impl_list): Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12522 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12523 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12524 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12530 (__libc_ifunc_impl_list): Likewise.
12531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12534 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12538 multiarch implementations.
12539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12540 (__libc_ifunc_impl_list): Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12542 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12543 strncasecmp for PPC64.
12544 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12545 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12546 multiarch strncasecmp_l for PPC64.
12548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12549 multiarch implementations.
12550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12551 (__libc_ifunc_impl_list): Likewise.
12552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12554 multiarch strcasecmp for PPC64.
12555 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12557 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12558 multiarch strcasecmp_l for PPC64.
12560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12563 (__libc_ifunc_impl_list): Likewise.
12564 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12565 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12566 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12572 (__libc_ifunc_impl_list): Likewise.
12573 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12574 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12575 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12581 (__libc_ifunc_impl_list): Likewise.
12582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12583 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12584 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12585 rawmemrchr for PPC64.
12587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12590 (__libc_ifunc_impl_list): Likewise.
12591 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12592 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12593 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12599 (__libc_ifunc_impl_list): Likewise.
12600 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12601 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12602 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12608 (__libc_ifunc_impl_list): Likewise.
12609 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12611 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12614 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12615 avoid cretion of __bzero symbol.
12616 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12618 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12620 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12623 multiarch implementations.
12624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Likewise.
12626 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12627 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12628 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12629 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12631 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12633 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12637 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12639 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12643 (__libc_ifunc_impl_list): Likewise.
12644 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12646 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12647 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12651 multiarch for POWER/PPC64.
12652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12653 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12657 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12658 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12659 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12663 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12664 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12665 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12666 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12667 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12668 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12669 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12670 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12671 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12672 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12673 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12674 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12675 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12676 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12677 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12686 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12688 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12690 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12692 * benchtests/Makefile (bench): Add exp2 and log2.
12693 (LDLIBS-bench-exp2): Add -lm.
12694 (LDLIBS-bench-log2): Likewise.
12695 * benchtests/exp2-inputs: New inputs file.
12696 * benchtests/log2-inputs: New inputs file.
12697 * benchtests/log-inputs: Add new inputs.
12698 * benchtests/tan-inputs: Likewise.
12700 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12702 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12704 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12705 (csloww2): ... from here.
12707 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12708 instead of structures.
12709 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12710 (POLYNOMIAL): Likewise.
12711 (TAYLOR_SLOW): Likewise.
12717 (sloww1); Likewise.
12718 (sloww2): Likewise.
12719 (bsloww1): Likewise.
12720 (bsloww2): Likewise.
12721 (cslow2): Likewise.
12722 (csloww): Likewise.
12723 (csloww1): Likewise.
12724 (csloww2): Likewise.
12726 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12728 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12729 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12730 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12731 * malloc/hooks.c (realloc_check): Likewise.
12733 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12734 * malloc/arena.c: Remove PER_THREAD conditional.
12735 [!PER_THREAD]: Remove code.
12736 (ptmalloc_unlock_all2): Likewise.
12737 (ptmalloc_init): Likewise.
12738 (_int_new_arena): Likewise.
12739 (arena_get2): Likewise.
12740 * malloc/hooks.c (__malloc_get_state): Likewise.
12741 (__malloc_set_state): Likewise.
12742 * malloc/malloc.c: Likewise.
12743 (struct malloc_state): Likewise.
12744 (struct malloc_par): Likewise.
12745 (__libc_realloc): Likewise.
12746 (__libc_mallopt): Likewise.
12748 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12750 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12752 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12754 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12755 macro to a function. Check for zero perturb_byte.
12756 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12758 * malloc/malloc.c: (force_reg): Remove.
12759 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12760 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12761 force_reg by atomic_forced_read.
12762 * malloc/arena.c (ptmalloc_init): Likewise.
12763 * malloc/hooks.c (top_check): Likewise.
12765 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12769 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12773 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12775 * math/auto-libm-test-in: Add tests of lgamma.
12776 * math/auto-libm-test-out: Regenerated.
12777 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12778 (M_LOG_2_SQRT_PIl): Likewise.
12779 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12782 (func_calc_desc): Add mpfr_f_f1 union field.
12783 (ARGS1): New macro.
12791 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12792 (test_functions): Add lgamma.
12793 (calc_generic_results): Handle mpfr_f_f1.
12794 * sysdeps/i386/fpu/libm-test-ulps: Update.
12795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12799 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12800 __mpn_add_n for PowerPC64/POWER7.
12801 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12802 __mpn_sub_n for PowerPC64/POWER7.
12804 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12805 __mpn_addmul_1 for PowerPC64.
12806 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12807 __mpn_submul_1 for PowerPC64.
12808 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12810 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12813 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12816 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12820 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12822 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12823 add multiarch folders.
12824 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12825 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12826 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12827 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12828 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12829 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12830 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12831 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12832 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12833 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12834 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12843 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12849 multiarch __ieee754_hypot for PowerPC32.
12850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12855 multiarch __ieee754_hypotf for PowerPC32.
12857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12858 long_double_symbol only if __logbl is defined.
12859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12860 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12862 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12864 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12866 path for implementation.
12867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12868 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12870 logb, and logbl multiarch implementations for PowerPC32.
12871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12876 multiarch logb for PowerPC32.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12882 multiarch logbf for PowerPC32.
12883 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12887 multiarch logbl implementation for PowerPC32.
12889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12890 and modff multiarch implementations.
12891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12896 multiarch modf for PowerPC32.
12897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12902 multiarch modff for PowerPC32.
12904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12905 and lrintf multiarch implementations.
12906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12911 multiarch lrint for PowerPC32.
12912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12913 file: multiarch lrintf for PowerPC32.
12915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12916 and lroundf multiarch implementations.
12917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12924 multiarch lround for PowerPC32.
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12926 file: multiarch lroundf for PowerPC32.
12928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12929 copysign and copysignf multiarch implementations.
12930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12935 file: multiarch copysign for PowerPC32.
12936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12937 file: multiarch copysignf for PowerPC32.
12939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12940 and truncf multiarch implementations.
12941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12946 multiarch trunc for PowerPC32.
12947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12952 multiarch truncf for PowerPC32.
12954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12955 and roundf multiarch implementations.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12961 multiarch round for PowerPC32.
12962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12967 multiarch roundf for PowerPC32.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12970 and floorf multiarch implementations.
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12976 multiarch floor for PowerPC32.
12977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12982 multiarch floorf for PowerPC32.
12984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12985 and ceilf multiarch implementations.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12991 multiarch ceil for PowerPC32.
12992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12997 multiarch ceilf for PowerPC32.
12999 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13001 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13002 FINITEF is defined.
13003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13004 and finitef multiarch implementations.
13005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13010 multiarch finite for PowerPC32.
13011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13014 file: multiarch finitef for PowerPC32.
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13017 and isinff multiarch implementations.
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13023 multiarch isinf for PowerPC32.
13024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13027 multiarch isinff for PowerPC32.
13029 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13030 alias when __isnan is defined.
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13032 and isnanf multiarch implementations.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13042 multiarch isnan for PowerPC32.
13043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13048 multiarch isnanf for PowerPC32.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13051 and sqrtf multiarch implementations.
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13057 multiarch sqrt for PowerPC32.
13058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13063 multiarch sqrtf for PowerPC32.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13066 and llroundf multiarch implementations.
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13074 file: multiarch llround for PowerPC32.
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13076 file: multiarch llroundf for PowerPC32.
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13079 multiarch PowerPC32 fpu implementations.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13085 multiarch llrint for PowerPC32.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13095 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13097 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13099 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13101 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13102 multiarch wordcopy for PPC32.
13103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13106 (__libc_ifunc_impl_list): Likewise.
13107 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13108 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13110 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13112 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13114 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13122 multiarch wcscpy for PPC32.
13123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13126 (__libc_ifunc_impl_list): Likewise.
13127 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13128 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13129 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13130 sysdeps/powerpc/power6/wcscpy.c.
13132 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13140 multiarch wcsrchr for PPC32.
13141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13144 (__libc_ifunc_impl_list): Likewise.
13145 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13146 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13147 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13148 sysdeps/powerpc/power6/wcsrchr.c.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13156 multiarch wcschr for PPc32.
13157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13160 (__libc_ifunc_impl_list): Likewise.
13161 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13162 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13163 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13164 sysdeps/powerpc/power6/wcschr.c.
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13170 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13171 file: multiarch strchr for PPC32.
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13175 (__libc_ifunc_impl_list): Likewise.
13177 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13179 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13181 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13183 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13184 multiarch strchrnul for PPC32.
13185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13188 (__libc_ifunc_impl_list): Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13192 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13193 multiarch strncasecmp for PPC32.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13197 multiarch strncasecmp_l for PPC32.
13198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13199 strncasecmp multiarch objects.
13200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13201 (__libc_ifunc_impl_list): Likewise.
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13206 multiarch strncasecmp for PPC32.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13210 multiarch strcasecmp_l for PPC32.
13211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13214 (__libc_ifunc_impl_list): Likewise.
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13221 multiarch strncmp for PPC32.
13222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13225 (__libc_ifunc_impl_list): Likewise.
13227 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13228 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13231 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13235 (__libc_ifunc_impl_list): Likewise.
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13245 (__libc_ifunc_impl_list): Likewise.
13247 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13249 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13251 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13252 multiarch rawmemchr for PPC32.
13253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13256 (__libc_ifunc_impl_list): Likewise.
13258 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13262 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13263 file: memrchr multiarch for PPC32.
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13267 (__libc_ifunc_impl_list): Likewise.
13269 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13273 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13274 multiarch memchr for PPC32.
13275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13278 (__libc_ifunc_impl_list): Likewise.
13280 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13286 file: multiarch mempcpy for PPC32.
13287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13290 (__libc_ifunc_impl_list): Likewise.
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13296 multiarch bzero for PPC32.
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13302 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13303 file: multiarch memset for PPC32.
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13306 memset multiarch objects.
13307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13308 (__libc_ifunc_impl_list): Likewise.
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13319 (__libc_ifunc_impl_list): Likewise.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13330 multiarch memcpy for PPC32.
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13334 (__libc_ifunc_impl_list): Likewise.
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13337 support multiarch for POWER/PPC32.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13342 Implies file to make multiarch folder appers before the fpu and
13343 default folder for power4 configuration.
13345 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13347 * scripts/bench.pl: Append volatile keyword to type.
13349 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13351 * sysdeps/sh/sotruss-lib.c: New file.
13352 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13354 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13358 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13361 * math/w_tgamma.c: Include <errno.h>.
13362 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13363 * math/w_tgammaf.c: Include <errno.h>.
13364 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13365 * math/w_tgammal.c: Include <errno.h>.
13366 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13367 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13368 underflow. Add more tgamma tests.
13369 * math/auto-libm-test-out: Regenerated.
13370 * sysdeps/i386/fpu/libm-test-ulps: Update.
13371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13373 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13374 sin, sinh, tan, tanh, tgamma, y0 and y1.
13375 * math/auto-libm-test-out: Regenerated.
13376 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13377 (TEST_COND_x86): Likewise.
13378 (M_E2l): Remove macro.
13380 (M_2_SQRT_PIl): Likewise.
13381 (M_SQRT_PIl): Likewise.
13382 (M_1_DIV_El): Likewise.
13383 (log_test_data): Use AUTO_TESTS_f_f.
13384 (log10_test_data): Likewise.
13385 (log1p_test_data): Likewise.
13386 (log2_test_data): Likewise.
13387 (sin_test_data): Likewise.
13388 (sin_tonearest_test_data): Likewise.
13389 (sin_towardzero_test_data): Likewise.
13390 (sin_downward_test_data): Likewise.
13391 (sin_upward_test_data): Likewise.
13392 (sinh_test_data): Likewise.
13393 (sinh_tonearest_test_data): Likewise.
13394 (sinh_towardzero_test_data): Likewise.
13395 (sinh_downward_test_data): Likewise.
13396 (sinh_upward_test_data): Likewise.
13397 (tan_test_data): Likewise.
13398 (tan_tonearest_test_data): Likewise.
13399 (tan_towardzero_test_data): Likewise.
13400 (tan_downward_test_data): Likewise.
13401 (tan_upward_test_data): Likewise.
13402 (tanh_test_data): Likewise.
13403 (tgamma_test_data): Likewise.
13404 (y0_test_data): Likewise.
13405 (y1_test_data): Likewise.
13406 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13407 (special_real_inputs): Add pi/4.
13408 * sysdeps/i386/fpu/libm-test-ulps: Update.
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13411 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13413 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13414 "longjmp_target" static probes.
13415 (__longjmp): Rename to __longjmp_symbol.
13416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13417 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13418 on which longjmp to generate.
13419 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13422 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13423 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13424 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13425 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13426 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13427 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13429 __longjmp_symbol based on which __longjmp to generate.
13430 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13432 (setjmp): Rename to setjmp_symbol.
13433 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13434 (_setjmp): Rename to _setjmp_symbol.
13435 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13436 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13437 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13438 which setjmp to generate.
13439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13440 "longjmp_target" static probes.
13442 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13444 * benchtests/README: Add note about output arguments.
13445 * benchtests/bench-sincos.c: Remove file.
13446 * benchtests/sincos-inputs: New file.
13447 * scripts/bench.pl: Identify output arguments and define
13448 static variables for them.
13450 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13453 * Makefile (INSTALL): Add install-plain.texi as the primary
13455 * manual/install-plain.texi: New file.
13456 * manual/install.texi: Include node directive only for
13457 non-plaintext output.
13459 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13461 * stdlib/longlong.h: Update from GCC.
13465 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13466 * math/w_j0f.c (y0f): Likewise.
13467 * math/w_j0l.c (__y0l): Likewise.
13468 * math/w_j1.c (y1): Likewise.
13469 * math/w_j1f.c (y1f): Likewise.
13470 * math/w_j1l.c (__y1l): Likewise
13471 * math/w_jn.c (yn): Likewise.
13472 * math/w_jnf.c (ynf): Likewise.
13473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13474 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13475 value for Bessel function domain errors outside _SVID_ mode.
13476 Adjust sign of return value for yn (negative integer, 0).
13477 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13478 by zero in return for negative x and set sign appropriately for
13480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13482 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13483 expectations in error cases.
13484 (y1_test_data): Likewise.
13485 (yn_test_data): Likewise.
13486 * sysdeps/i386/fpu/libm-test-ulps: Update.
13487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13491 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13492 "64" to "64-v1". Add "64-v2".
13493 (abi-64-options): Rename to ...
13494 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13495 (abi-64-condition): Rename to ...
13496 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13497 (abi-64-ld-soname): Rename to ...
13498 (abi-64-v1-ld-soname): ... this.
13499 (abi-64-v2-options): Define.
13500 (abi-64-v2-condition): Likewise.
13501 (abi-64-v2-ld-soname): Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13503 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13508 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13509 Alan Modra <amodra@gmail.com>
13511 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13512 New versions for use with the ELFv2 ABI.
13513 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13514 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13516 (struct La_ppc64v2_retval): Likewise.
13517 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13518 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13519 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13520 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13521 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13523 Do not save or restore CR.
13524 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13525 (_dl_profile_resolve): Do no save or restore CR. Support extended
13526 return values for ELFv2 ABI. Fix location of FPR return registers.
13527 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13528 updated values for _CALL_ELF == 2.
13529 (La_regs, La_retval, int_retval): Likewise.
13531 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13533 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13534 (FRAME_MIN_SIZE_PARM): Likewise.
13535 (FRAME_BACKCHAIN): Likewise.
13536 (FRAME_CR_SAVE): Likewise.
13537 (FRAME_LR_SAVE): Likewise.
13538 (FRAME_TOC_SAVE): Likewise.
13539 (FRAME_PARM_SAVE): Likewise.
13540 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13541 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13542 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13543 (call_mcount_parm_offset): New macro.
13544 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13545 (PROF): Use symbolic stack frame offsets.
13546 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13548 Redefine in terms of FRAME_MIN_SIZE.
13549 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13550 (_dl_profile_resolve): Likewise. Update comment.
13551 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13552 symbols stack frame offsets.
13553 (__sigsetjmp): Likewise.
13554 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13555 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13556 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13557 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13560 (FRAME_BACKCHAIN): Remove.
13561 (FRAME_CR_SAVE): Likewise.
13562 (FRAME_LR_SAVE): Likewise.
13563 (FRAME_COMPILER_DW): Likewise.
13564 (FRAME_LINKER_DW): Likewise.
13565 (FRAME_TOC_SAVE): Likewise.
13566 (FRAME_PARM_SAVE): Likewise.
13567 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13568 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13569 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13571 (CHECK_SP): Use symbolic stack frame offsets.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13573 zone" instead of caller's parameter save area for temp storage.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13575 Likewise. Also, use symbolic stack frame offsets.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13577 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13578 our own stack frame instead of the caller's.
13579 (__socket): Use symbolic stack frame offsets.
13581 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13582 Alan Modra <amodra@gmail.com>
13584 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13586 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13587 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13588 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13590 (elf_machine_fixup_plt): Call it.
13591 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13593 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13594 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13595 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13596 r2 before calling target.
13598 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13599 Alan Modra <amodra@gmail.com>
13601 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13602 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13603 versions of macros to support ELFv2 ABI.
13604 (LOCALENTRY): New macro.
13605 (ENTRY, EALIGN): Use it.
13606 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13607 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13608 fall through into ENTRY entry point.
13609 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13610 Only define if _CALL_ELF != 2.
13612 (elf_machine_matches_host): Verify ABI version matches.
13613 (RTLD_START): Use LOCALENTRY.
13614 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13615 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13616 (PLT_ENTRY_WORDS): New macro.
13617 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13618 (elf_machine_runtime_setup): Support ELFv2 ABI.
13619 (elf_machine_fixup_plt): Likewise.
13620 (elf_machine_plt_conflict): Likewise.
13621 (resolve_ifunc): Likewise.
13622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13626 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13628 (makecontext): Support ELFv2 ABI.
13629 * elf/elf.h (EF_PPC64_ABI): Define.
13631 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13633 * sysdeps/powerpc/powerpc64/sysdep.h
13634 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13635 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13636 (ENTRY) [ASSEMBLER]: ... but instead here ...
13637 (EALIGN) [ASSEMBLER]: ... and here.
13638 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13639 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13640 (ENTRY_2) [!ASSEMBLER]: Use it.
13641 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13642 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13644 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13645 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13647 Use PPC64_LOAD_FUNCPTR.
13649 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13651 2013-12-04 Alan Modra <amodra@gmail.com>
13653 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13654 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13655 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13656 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13659 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13660 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13661 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13662 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13663 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13665 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13668 (__makecontext): Fix incorrect CFI when backtracing out of
13669 context created via makecontext.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13671 (__setcontext): Fix incorrect CFI during switch to new context.
13672 (__novec_setcontext): Likewise.
13674 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13677 * time/strptime_l.c (__strptime_internal): Allow modifiers
13679 * time/tst-strptime.c (day_tests): Add testcase.
13681 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13683 * scripts/bench.pl: Skip over blank lines.
13685 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13688 * manual/time.texi (Calendar Time): Clarify what timezone functions
13691 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13697 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13699 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13700 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13701 * debug/memset_chk.c (__memset_chk): Likewise.
13702 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13703 * debug/strncpy_chk.c: Likewise.
13705 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13710 (__ieee754_exp): For possibly underflowing results, check size of
13711 result and force underflow exception if required.
13712 * math/auto-libm-test-in: Add more tests of exp.
13713 * math/auto-libm-test-out: Regenerated.
13714 * sysdeps/i386/fpu/libm-test-ulps: Update.
13715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13719 * math/w_exp2f.c (__exp2f): Likewise.
13720 * math/w_exp2l.c (__exp2l): Likewise.
13721 * math/auto-libm-test-in: Do not allow missing errno on exp2
13723 * math/auto-libm-test-out: Regenerated.
13725 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13728 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13729 handle filename validation.
13730 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13733 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13736 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13737 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13738 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13740 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13742 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13744 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13746 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13747 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13748 Add more erfc tests.
13749 * math/auto-libm-test-out: Regenerated.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13754 exp2, expm1, j0 and j1.
13755 * math/auto-libm-test-out: Regenerated.
13756 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13757 (erfc_test_data): Likewise.
13758 (exp_test_data): Likewise.
13759 (exp_tonearest_test_data): Likewise.
13760 (exp_towardzero_test_data): Likewise.
13761 (exp_downward_test_data): Likewise.
13762 (exp_upward_test_data): Likewise.
13763 (exp10_test_data): Likewise.
13764 (exp2_test_data): Likewise.
13765 (expm1_test_data): Likewise.
13766 (j0_test_data): Likewise.
13767 (j1_test_data): Likewise.
13768 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13769 (input_flag_type): Add flag_xfail_rounding.
13770 (input_flags): Add xfail-rounding.
13771 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13772 (output_for_one_input_case): Handle flag_xfail_rounding.
13773 * sysdeps/i386/fpu/libm-test-ulps: Update.
13774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13776 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13779 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13782 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13785 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13786 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13787 (STAP_PROBE0): New macro.
13788 (STAP_PROBE1): Likewise.
13789 (STAP_PROBE2): Likewise.
13790 (STAP_PROBE3): Likewise.
13791 (STAP_PROBE4): Likewise.
13793 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13795 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13797 2013-12-02 Steve Ellcey <sellcey@mips.com>
13799 * benchtests/Makefile (bench): Add sqrt.
13800 (LDLIBS-bench-sqrt): New.
13801 * benchtests/sqrt-input: New.
13803 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13805 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13806 (GAIH_EAI): Likewise.
13807 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13808 (gaih_inet): Likewise.
13809 (getaddrinfo): Don't use GAIH_EAI.
13811 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13812 (struct gaih): Remove definition.
13814 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13816 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13817 Use HERRNOP directly.
13819 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13823 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13825 * math/gen-auto-libm-tests.c (test_functions): Add more
13826 single-argument functions.
13827 (special_fill_pi_2): New function.
13828 (special_fill_minus_pi_2): Likewise.
13829 (special_fill_pi_6): Likewise.
13830 (special_fill_minus_pi_6): Likewise.
13831 (special_fill_pi_3): Likewise.
13832 (special_fill_2pi_3): Likewise.
13833 (special_fill_e): Likewise.
13834 (special_fill_1_e): Likewise.
13835 (special_fill_e_minus_1): Likewise.
13836 (special_real_inputs): Add more special inputs.
13837 (output_for_one_input_case): Do not require ERANGE on underflow to
13838 zero if round-to-nearest result does not underflow to zero, unless
13839 exact results required.
13840 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13841 atan, atanh, cbrt, cos and cosh.
13842 * math/auto-libm-test-out: Regenerated.
13843 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13844 (acos_tonearest_test_data): Likewise.
13845 (acos_towardzero_test_data): Likewise.
13846 (acos_downward_test_data): Likewise.
13847 (acos_upward_test_data): Likewise.
13848 (acosh_test_data): Likewise.
13849 (asin_test_data): Likewise.
13850 (asin_tonearest_test_data): Likewise.
13851 (asin_towardzero_test_data): Likewise.
13852 (asin_upward_test_data): Likewise.
13853 (asinh_test_data): Likewise.
13854 (atan_test_data): Likewise.
13855 (atanh_test_data): Likewise.
13856 (cbrt_test_data): Likewise.
13857 (cos_test_data): Likewise.
13858 (cos_tonearest_test_data): Likewise.
13859 (cos_towardzero_test_data): Likewise.
13860 (cos_downward_test_data): Likewise.
13861 (cos_upward_test_data): Likewise.
13862 (cosh_test_data): Likewise.
13863 (cosh_tonearest_test_data): Likewise.
13864 (cosh_towardzero_test_data): Likewise.
13865 (cosh_downward_test_data): Likewise.
13866 (cosh_upward_test_data): Likewise.
13867 * sysdeps/i386/fpu/libm-test-ulps: Update.
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13873 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13874 * math/w_exp10f.c (__exp10f): Likewise.
13875 * math/w_exp10l.c (__exp10l): Likewise.
13876 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13877 errno settings in existing tests.
13880 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13881 precision control set to double precision.
13882 * sysdeps/i386/fpu/w_sqrt.c: New file.
13883 * math/auto-libm-test-in: Add more tests.
13884 * math/auto-libm-test-out: Update.
13886 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13887 (sqrt_test_tonearest): New function.
13888 (sqrt_towardzero_test_data): New variable.
13889 (sqrt_test_towardzero): New function.
13890 (sqrt_downward_test_data): New variable.
13891 (sqrt_test_downward): New function.
13892 (sqrt_upward_test_data): New variable.
13893 (sqrt_test_upward): New function.
13894 (main): Call the new functions.
13896 * math/gen-auto-libm-tests.c: New file.
13897 * math/auto-libm-test-in: Likewise.
13898 * math/auto-libm-test-out: New generated file.
13899 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13901 (%beautify): Add generated representations of zero.
13902 (top level): Set $auto_input and call parse_auto_input.
13903 (beautify): Remove trailing "f" from hex float constants.
13904 (parse_args): Handle XFAIL_TEST.
13905 (convert_condition): New function.
13906 (or_value): Likewise.
13907 (or_cond_value): Likewise.
13908 (generate_testfile): Handle AUTO_TESTS_* lines.
13909 (parse_auto_input): New function.
13910 * math/libm-test.inc (XFAIL_TEST): New macro.
13911 (ERRNO_UNCHANGED): Update value.
13912 (ERRNO_EDOM): Likewise.
13913 (ERRNO_ERANGE): Likewise.
13914 (IGNORE_RESULT): Likewise.
13915 (TEST_COND_flt_32): New macro.
13916 (TEST_COND_dbl_64): Likewise.
13917 (TEST_COND_ldbl_96_intel): Likewise.
13918 (TEST_COND_ldbl_96_m68k): Likewise.
13919 (TEST_COND_ldbl_128): Likewise.
13920 (TEST_COND_ldbl_128ibm): Likewise.
13921 (TEST_COND_long32): Likewise.
13922 (TEST_COND_long64): Likewise.
13923 (TEST_COND_before_rounding): Likewise.
13924 (TEST_COND_after_rounding): Likewise.
13925 (enable_test): Handle XFAIL_TEST flag.
13926 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13927 with finite results.
13928 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13929 auto-libm-test-out.
13931 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13935 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13936 __tls_get_addr_internal instead of __tls_get_offset in order to
13937 avoid GOT pointer dependency. Make rtld export
13938 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13939 __tls_get_addr since we are a __tls_get_offset platform.
13940 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13941 GOT pointer being set up before.
13942 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13944 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13946 * manual/math.texi (Errors in Math Functions): Document accuracy
13950 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13951 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13967 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13968 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13969 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13970 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13971 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13973 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13975 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13977 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13978 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13979 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13980 atomic-feupdateenv and flt-rounds.
13981 * sysdeps/powerpc/nofpu/Versions (libc): Add
13982 __atomic_feholdexcept, __atomic_feclearexcept,
13983 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13985 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13987 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13992 * manual/arith.texi (FP Exceptions): Document that exceptions may
13993 not be raised when matherr is used.
13994 (Math Error Reporting): Document overflow in directed rounding
13995 modes. Document that errno may not be set when finite values are
13996 returned on overflow. Document intent to set errno on underflow
13997 only for underflow to zero.
14000 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14001 round-to-nearest then adjust result for other rounding modes.
14002 * include/fenv.h (fegetround): Use libm_hidden_proto.
14003 * math/fegetround.c (fegetround): Use libm_hidden_def.
14004 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14005 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14006 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14009 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14010 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14011 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14012 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14014 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14017 * nss/Versions (libnss_files): Add
14018 _nss_files_gethostbyname3_r.
14019 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14021 (HOST_DB_LOOKUP): Remove macro.
14022 (_nss_files_gethostbyname_r): Implement function without the
14023 HOST_DB_LOOKUP macro.
14024 (_nss_files_gethostbyname2_r): Likewise.
14026 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14028 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14030 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14032 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14033 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14036 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14039 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14041 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14042 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14043 __fe_nomask_env_priv and attribute_hidden.
14044 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14045 (libc_feupdateenv_test_ppc): Likewise.
14046 (libc_feresetround_ppc): Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14048 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14049 compat_symbol macro.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14051 (__fe_nomask_env): Likewise.
14052 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14056 * string/Makefile: Remove ifunc tests.
14057 * string/test-string.h: Define TEST_IFUNC.
14058 * string/test-bcopy-ifunc.c: Remove.
14059 * string/test-bzero-ifunc.c: Likewise.
14060 * string/test-memccpy-ifunc.c: Likewise.
14061 * string/test-memchr-ifunc.c: Likewise.
14062 * string/test-memcmp-ifunc.c: Likewise.
14063 * string/test-memcpy-ifunc.c: Likewise.
14064 * string/test-memmem-ifunc.c: Likewise.
14065 * string/test-memmove-ifunc.c: Likewise.
14066 * string/test-mempcpy-ifunc.c: Likewise.
14067 * string/test-memrchr-ifunc.c: Likewise.
14068 * string/test-memset-ifunc.c: Likewise.
14069 * string/test-rawmemchr-ifunc.c: Likewise.
14070 * string/test-stpcpy-ifunc.c: Likewise.
14071 * string/test-stpncpy-ifunc.c: Likewise.
14072 * string/test-strcasecmp-ifunc.c: Likewise.
14073 * string/test-strcasestr-ifunc.c: Likewise.
14074 * string/test-strcat-ifunc.c: Likewise.
14075 * string/test-strchr-ifunc.c: Likewise.
14076 * string/test-strchrnul-ifunc.c: Likewise.
14077 * string/test-strcmp-ifunc.c: Likewise.
14078 * string/test-strcpy-ifunc.c: Likewise.
14079 * string/test-strcspn-ifunc.c: Likewise.
14080 * string/test-strlen-ifunc.c: Likewise.
14081 * string/test-strncasecmp-ifunc.c: Likewise.
14082 * string/test-strncat-ifunc.c: Likewise.
14083 * string/test-strncmp-ifunc.c: Likewise.
14084 * string/test-strncpy-ifunc.c: Likewise.
14085 * string/test-strnlen-ifunc.c: Likewise.
14086 * string/test-strpbrk-ifunc.c: Likewise.
14087 * string/test-strrchr-ifunc.c: Likewise.
14088 * string/test-strspn-ifunc.c: Likewise.
14089 * string/test-strstr-ifunc.c: Likewise.
14091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14093 * benchtests/Makefile: Remove ifunc tests.
14094 * benchtests/bench-string.h: Define TEST_IFUNC.
14095 * benchtests/bench-bcopy-ifunc.c: Remove.
14096 * benchtests/bench-bzero-ifunc.c: Likewise.
14097 * benchtests/bench-memccpy-ifunc.c: Likewise.
14098 * benchtests/bench-memchr-ifunc.c: Likewise.
14099 * benchtests/bench-memcmp-ifunc.c: Likewise.
14100 * benchtests/bench-memcpy-ifunc.c: Likewise.
14101 * benchtests/bench-memmem-ifunc.c: Likewise.
14102 * benchtests/bench-memmove-ifunc.c: Likewise.
14103 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14104 * benchtests/bench-memrchr-ifunc.c: Likewise.
14105 * benchtests/bench-memset-ifunc.c: Likewise.
14106 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14107 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14108 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14109 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14110 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14111 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14112 * benchtests/bench-strcat-ifunc.c: Likewise.
14113 * benchtests/bench-strchr-ifunc.c: Likewise.
14114 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14115 * benchtests/bench-strcmp-ifunc.c: Likewise.
14116 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14117 * benchtests/bench-strcpy-ifunc.c: Likewise.
14118 * benchtests/bench-strcspn-ifunc.c: Likewise.
14119 * benchtests/bench-strlen-ifunc.c: Likewise.
14120 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14121 * benchtests/bench-strncat-ifunc.c: Likewise.
14122 * benchtests/bench-strncmp-ifunc.c: Likewise.
14123 * benchtests/bench-strncpy-ifunc.c: Likewise.
14124 * benchtests/bench-strnlen-ifunc.c: Likewise.
14125 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14126 * benchtests/bench-strrchr-ifunc.c: Likewise.
14127 * benchtests/bench-strsep-ifunc.c: Likewise.
14128 * benchtests/bench-strspn-ifunc.c: Likewise.
14129 * benchtests/bench-strstr-ifunc.c: Likewise.
14131 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14133 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14137 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14138 * rt/aio.h: Likewise.
14139 * sysdeps/gnu/bits/utmp.h: Likewise.
14140 * sysdeps/gnu/bits/utmpx.h: Likewise.
14141 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14142 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14143 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14144 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14145 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14146 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14147 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14148 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14150 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14156 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14161 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14162 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14163 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14164 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14165 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14176 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14177 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14180 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14181 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14184 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14187 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14188 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14190 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14192 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14196 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14199 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14200 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14201 (__fesetround): Remove define.
14202 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14203 rounding and exceptions handling.
14204 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14205 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14206 (__fe_nomask_env): Likewise.
14207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14208 __fegetround instead of fegetround.
14209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14210 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14212 2013-11-21 Roland McGrath <roland@hack.frob.com>
14214 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14217 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14219 2013-11-21 Meador Inge <meadori@codesourcery.com>
14222 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14223 (encrypt_r): Likewise.
14224 * malloc/obstack.h (obstack_free): Likewise.
14225 * posix/unistd.h (encrypt): Likewise.
14227 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14229 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14230 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14231 DL_CALL_DT_FINI() that call the functions directly.
14232 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14233 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14234 * elf/dl-fini.c: Likewise.
14236 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14238 * malloc/hooks.c (memalign_check): Add alignment rounding.
14239 * malloc/malloc.c (_mid_memalign): New function.
14240 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14241 Implement by calling _mid_memalign.
14242 * manual/probes.texi (Memory Allocation Probes): Remove
14243 memory_valloc_retry and memory_pvalloc_retry.
14245 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14247 * locale/programs/locarchive.c (open_archive): Add const
14248 qualifier to ARCHIVEFNAME and copy default fname to
14252 * libio/tst-widetext.input: Rename Oriya to Odia.
14253 * locale/iso-639.def: Likewise.
14255 * manual/probes.texi (Mathematical Function Probes): Add
14256 documentation for sin, cos, asin and acos probes.
14257 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14258 (__sin32): Add slowasin probe.
14259 (__cos32): Add slowacos probe.
14260 (__mpsin): Add slowsin probe.
14261 (__mpcos): Add slowcos probe.
14263 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14266 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14267 thread-local __sim_exceptions_thread and global
14268 __sim_exceptions_global.
14269 (__sim_disabled_exceptions): Change to thread-local
14270 __sim_disabled_exceptions_thread and global
14271 __sim_disabled_exceptions_global.
14272 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14273 and global __sim_round_mode_global.
14274 (__simulate_exceptions): Use thread-local floating-point state and
14275 set global state from it as needed.
14276 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14277 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14278 __sim_round_mode_thread.
14279 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14280 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14281 and global __sim_exceptions_global.
14282 (__sim_disabled_exceptions): Change to thread-local
14283 __sim_disabled_exceptions_thread and global
14284 __sim_disabled_exceptions_global.
14285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14286 and global __sim_round_mode_global.
14287 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14288 (SIM_SET_GLOBAL): Likewise.
14289 * sysdeps/powerpc/soft-fp/sfp-machine.h
14290 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14291 __sim_round_mode_thread.
14292 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14293 __sim_disabled_exceptions_thread.
14294 (__sim_exceptions): Change to __sim_exceptions_thread.
14295 (__sim_disabled_exceptions): Change to
14296 __sim_disabled_exceptions_thread.
14297 (__sim_round_mode): Change to __sim_round_mode_thread.
14298 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14299 thread-local floating-point state and set global state from it as
14301 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14302 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14303 (__sim_disabled_exceptions): Remove extern declaration.
14304 (feenableexcept): Use thread-local floating-point state and set
14305 global state from it as needed.
14306 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14307 extern declaration.
14308 (__sim_disabled_exceptions): Likewise.
14309 (__sim_round_mode): Likewise.
14310 (__fegetenv): Use thread-local floating-point state.
14311 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14312 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14313 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14314 floating-point state and set global state from it as needed.
14315 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14316 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14317 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14319 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14320 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14322 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14323 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14324 Use __sim_round_mode_thread.
14325 * math/test-fenv-tls.c: New file.
14326 * math/Makefile (tests): Add test-fenv-tls.
14327 ($(objpfx)test-fenv-tls): Depend on
14328 $(common-objpfx)nptl/libpthread.so.
14330 2013-11-19 Andreas Schwab <schwab@suse.de>
14332 * locale/programs/locale.c (show_info): Decode wordarray elements.
14333 * locale/categories.def (LC_MONETARY): Add element for
14334 _NL_MONETARY_CRNCYSTR.
14335 * locale/C-monetary.c (conversion_rate): New variable.
14336 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14339 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14341 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14342 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14344 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14346 * elf/Makefile (tst-auxv): New test.
14347 * elf/tst-auxv.c: New
14348 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14350 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14352 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14353 (hidden_proto): Caller changed.
14354 (hidden_tls_proto): New macro.
14355 (libc_hidden_tls_proto): Likewise.
14356 (rtld_hidden_tls_proto): Likewise.
14357 (libm_hidden_tls_proto): Likewise.
14358 (libresolv_hidden_tls_proto): Likewise.
14359 (librt_hidden_tls_proto): Likewise.
14360 (libdl_hidden_tls_proto): Likewise.
14361 (libnss_files_hidden_tls_proto): Likewise.
14362 (libnsl_hidden_tls_proto): Likewise.
14363 (libnss_nisplus_hidden_tls_proto): Likewise.
14364 (libutil_hidden_tls_proto): Likewise.
14366 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14369 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14370 (decompose_rpath): Defer expansion to fillin_rpath.
14371 (_dl_init_paths): Pass linkmap to fillin_rpath.
14373 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14375 * benchtests/Makefile: Add strsep.
14376 * benchtests/bench-strsep.c: New file: strsep benchtest.
14377 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14379 2013-11-18 Andreas Schwab <schwab@suse.de>
14381 * locale/programs/locale.c (show_info) [case byte]: Check for
14382 '\377' instead of '\177'.
14383 * locale/C-monetary.c (not_available): Always use "\377".
14384 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14385 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14386 detect unavailable sign_posn locale elements.
14387 * locale/localeconv.c (__localeconv): For grouping and
14388 mon_grouping handle "\177" and "\377" like no grouping.
14389 (INT_ELEM): New macro. Use it to set all numeric members.
14390 * locale/programs/ld-monetary.c (monetary_read)
14391 <tok_mon_grouping>: Normalize single -1 to the empty string.
14392 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14395 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14399 when we match (nil).
14400 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14402 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14404 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14405 (NO_TEST_INLINE): Update value.
14406 (ERRNO_UNCHANGED): Likewise.
14407 (ERRNO_EDOM): Likewise.
14408 (ERRNO_ERANGE): Likewise.
14409 (IGNORE_RESULT): Likewise.
14410 (check_float_internal): Check signs of NaN results if
14411 TEST_NAN_SIGN used.
14412 (check_complex): Pass TEST_NAN_SIGN flag through to second
14413 check_float_internal call.
14414 (copysign_test_data): Add tests with quiet NaNs as second
14415 argument. Use TEST_NAN_SIGN.
14416 (fabs_test_data): Add test of negative quiet NaN argument. Use
14418 (signbit_test_data): Add tests of quiet NaN argument.
14419 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14421 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14423 (parse_args): Handle function results specified as IGNORE.
14424 * math/libm-test.inc (IGNORE_RESULT): New macro.
14425 (check_float_internal): Do not check numerical result if flag
14427 (check_complex): Pass through IGNORE_RESULT to second
14428 check_float_internal call.
14429 (check_int): Do not check numerical result if flag IGNORE_RESULT
14431 (check_long): Likewise.
14432 (check_bool): Likewise.
14433 (check_longlong): Likewise.
14434 (lrint_test_data): Add tests of infinite and NaN arguments.
14435 (lrint_tonearest_test_data): Likewise.
14436 (lrint_towardzero_test_data): Likewise.
14437 (lrint_downward_test_data): Likewise.
14438 (lrint_upward_test_data): Likewise.
14439 (llrint_test_data): Likewise.
14440 (llrint_tonearest_test_data): Likewise.
14441 (llrint_towardzero_test_data): Likewise.
14442 (llrint_downward_test_data): Likewise.
14443 (llrint_upward_test_data): Likewise.
14444 (lround_test_data): Likewise.
14445 (llround_test_data): Likewise.
14447 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14448 (ERRNO_UNCHANGED): Update value.
14449 (ERRNO_EDOM): Likewise.
14450 (ERRNO_ERANGE): Likewise.
14451 (NO_TEST_INLINE_FLOAT): New macro.
14452 (NO_TEST_INLINE_DOUBLE): Likewise.
14453 (enable_test): New function.
14454 (RUN_TEST_f_f): Check enable_test before running test.
14455 (RUN_TEST_2_f): Likewise.
14456 (RUN_TEST_fff_f): Likewise.
14457 (RUN_TEST_c_f): Likewise.
14458 (RUN_TEST_f_f1): Likewise.
14459 (RUN_TEST_fF_f1): Likewise.
14460 (RUN_TEST_fI_f1): Likewise.
14461 (RUN_TEST_ffI_f1): Likewise.
14462 (RUN_TEST_c_c): Likewise.
14463 (RUN_TEST_cc_c): Likewise.
14464 (RUN_TEST_f_i): Likewise.
14465 (RUN_TEST_f_i_tg): Likewise.
14466 (RUN_TEST_ff_i_tg): Likewise.
14467 (RUN_TEST_f_b): Likewise.
14468 (RUN_TEST_f_b_tg): Likewise.
14469 (RUN_TEST_f_l): Likewise.
14470 (RUN_TEST_f_L): Likewise.
14471 (RUN_TEST_fFF_11): Likewise.
14472 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14474 (cosh_test_data): Likewise.
14475 (exp_test_data): Likewise.
14476 (expm1_test_data): Likewise.
14477 (hypot_test_data): Likewise.
14478 (pow_test_data): Likewise.
14479 (sinh_test_data): Likewise.
14480 (tanh_test_data): Likewise.
14481 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14484 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14485 tests with quiet NaN input and output.
14486 (acosh_test_data): Likewise.
14487 (asin_test_data): Likewise.
14488 (asinh_test_data): Likewise.
14489 (atan_test_data): Likewise.
14490 (atanh_test_data): Likewise.
14491 (atan2_test_data): Likewise.
14492 (cbrt_test_data): Likewise.
14493 (cos_test_data): Likewise.
14494 (cosh_test_data): Likewise.
14495 (erf_test_data): Likewise.
14496 (erfc_test_data): Likewise.
14497 (exp_test_data): Likewise.
14498 (exp10_test_data): Likewise.
14499 (exp2_test_data): Likewise.
14500 (expm1_test_data): Likewise.
14501 (hypot_test_data): Likewise.
14502 (j0_test_data): Likewise.
14503 (j1_test_data): Likewise.
14504 (jn_test_data): Likewise.
14505 (lgamma_test_data): Likewise.
14506 (log_test_data): Likewise.
14507 (log10_test_data): Likewise.
14508 (log1p_test_data): Likewise.
14509 (log2_test_data): Likewise.
14510 (pow_test_data): Likewise.
14511 (scalb_test_data): Likewise.
14512 (sin_test_data): Likewise.
14513 (sincos_test_data): Likewise.
14514 (sinh_test_data): Likewise.
14515 (tan_test_data): Likewise.
14516 (tanh_test_data): Likewise.
14517 (tgamma_test_data): Likewise.
14518 (y0_test_data): Likewise.
14519 (y1_test_data): Likewise.
14520 (yn_test_data): Likewise.
14523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14524 argument being NaN and avoid computations with second argument in
14526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14527 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14528 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14530 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14532 * locale/iso-639.def: Add Chitwani Tharu (the).
14534 2013-11-14 Andreas Schwab <schwab@suse.de>
14536 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14537 word instead of empty string.
14539 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14542 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14544 (__fe_nomask_env): Likewise.
14546 2013-11-13 Steve Ellcey <sellcey@mips.com>
14548 * benchtests/bench-timing.h: Include time.h.
14550 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14553 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14555 * sysdeps/unix/sysv/linux/configure: Regenerated.
14557 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14560 * stdlib/strtod_l.c (round_and_return): Do not consider
14561 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14562 exponent one less than half the least subnormal exponent.
14563 * stdlib/test-strtod-round-data: Add more tests.
14564 * stdlib/tst-strtod-round.c (tests): Regenerated.
14566 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14569 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14570 (__fe_mask_env): Likewise.
14571 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14572 libm_hidden_proto and add function prototype.
14573 (__fe_mask_env): Add function prototype.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14575 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14577 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14579 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14581 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14583 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14584 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14586 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14588 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14589 of htab_find_slot().
14591 2013-11-11 David S. Miller <davem@davemloft.net>
14594 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14595 symbol in the non-vis3 case in static builds.
14596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14597 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14598 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14599 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14601 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14604 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14607 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609 * benchtests/Makefile: Add bench-strtod.
14610 * benchtests/bench-strtod.c: New file: strtod benchtest
14612 2013-11-11 Andreas Schwab <schwab@suse.de>
14615 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14616 terminating NUL in key length.
14618 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14621 Add artificial ODP entry for vDSO symbol for PPC64.
14622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14623 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14625 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14628 * nss/getent.c (services_keys): Recognize services starting with digit.
14630 2013-11-06 David S. Miller <davem@davemloft.net>
14633 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14634 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14636 2013-11-06 Will Newton <will.newton@linaro.org>
14638 * manual/memory.texi (Malloc Examples): Remove register
14639 keyword from examples.
14641 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14643 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14645 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14648 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14649 depending on [__GCC_IEC_559 > 0].
14650 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14651 depending on [__GCC_IEC_559_COMPLEX > 0].
14653 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14655 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14658 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14660 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14662 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14665 * malloc/malloc (malloc_info): Do not handle first bin as
14668 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14670 * locale/iso-639.def: Add Central Nahuatl (nhn).
14672 2013-11-01 Bruno Haible <bruno@clisp.org>
14675 * manual/math.texi (BSD Random): Specify range upper bound as
14678 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14680 * locale/iso-639.def: Add Meadow Mari (mhr).
14682 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14684 [BZ #14752], [BZ #15763]
14685 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14687 * rt/tst_shm.c: Add test for escaping directory.
14689 2013-10-31 Andreas Schwab <schwab@suse.de>
14692 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14693 followed by 'x' as part of digit sequence.
14694 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14696 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14699 * configure.ac: allow GNU Make 4.0 and greater.
14700 * configure: Regenerated.
14702 2013-10-30 Will Newton <will.newton@linaro.org>
14705 * malloc/hooks.c (memalign_check): Limit alignment to the
14706 maximum representable power of two.
14707 * malloc/malloc.c (__libc_memalign): Likewise.
14708 * malloc/tst-memalign.c (do_test): Add test for very
14709 large alignment values.
14710 * malloc/tst-posix_memalign.c (do_test): Likewise.
14712 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14715 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14716 (munmap_chunk): Likewise.
14717 (mremap_chunk): Likewise.
14719 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14722 * stdlib/div.c (div): Remove obsolete code.
14723 * stdlib/ldiv.c (ldiv): Likewise.
14724 * stdlib/lldiv.c (lldiv): Likewise.
14726 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14729 * nss/nss_files/files-XXX.c (get_contents_ret): New
14731 (get_contents): New function.
14732 (internal_getent): Use it. Expand size of LINEBUFLEN.
14734 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14736 * configure.in: Moved to ...
14737 * configure.ac: ... here. Change reference to configure.in
14739 * sysdeps/arm/preconfigure.ac: ... here.
14740 configure.in to configure.ac.
14741 * sysdeps/gnu/configure.in: Moved to ...
14742 * sysdeps/gnu/configure.ac: ... here.
14743 * sysdeps/i386/configure.in: Moved to ...
14744 * sysdeps/i386/configure.ac: ... here.
14745 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14746 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14747 * sysdeps/mach/configure.in: Moved to ...
14748 * sysdeps/mach/configure.ac: ... here.
14749 * sysdeps/mach/hurd/configure.in: Moved to ...
14750 * sysdeps/mach/hurd/configure.ac: ... here.
14751 * sysdeps/powerpc/configure.in: Moved to ...
14752 * sysdeps/powerpc/configure.ac: ... here.
14753 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14754 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14755 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14756 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14757 * sysdeps/s390/s390-32/configure.in: Moved to ...
14758 * sysdeps/s390/s390-32/configure.ac: ... here.
14759 * sysdeps/s390/s390-64/configure.in: Moved to ...
14760 * sysdeps/s390/s390-64/configure.ac: ... here.
14761 * sysdeps/sh/configure.in: Moved to ...
14762 * sysdeps/sh/configure.ac: ... here.
14763 * sysdeps/sparc/configure.in: Moved to ...
14764 * sysdeps/sparc/configure.ac: ... here.
14765 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14766 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14767 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14768 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14769 * sysdeps/x86_64/configure.in: Moved to ...
14770 * sysdeps/x86_64/configure.ac: ... here.
14771 * sysdeps/x86_64/preconfigure.in: Moved to ...
14772 * sysdeps/x86_64/preconfigure.ac: ... here.
14773 * aclocal.m4: Change reference to configure.in to configure.ac.
14774 * config.h.in: Likewise.
14775 * manual/install.texi: Likewise.
14776 * manual/maint.texi: Likewise.
14777 * Makefile: Likewise.
14778 * malloc/Makefile: Likewise.
14779 * nscd/Makefile: Likewise.
14780 * Makeconfig: Change reference to configure.in and
14781 preconfigure.in to configure.ac and preconfigure.ac
14783 * INSTALL: Regenerated.
14784 * configure: Likewise.
14785 * sysdeps/gnu/configure: Likewise.
14786 * sysdeps/i386/configure: Likewise.
14787 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14788 * sysdeps/mach/configure: Likewise.
14789 * sysdeps/mach/hurd/configure: Likewise.
14790 * sysdeps/powerpc/configure: Likewise.
14791 * sysdeps/powerpc/powerpc32/configure: Likewise.
14792 * sysdeps/powerpc/powerpc64/configure: Likewise.
14793 * sysdeps/s390/s390-32/configure: Likewise.
14794 * sysdeps/s390/s390-64/configure: Likewise.
14795 * sysdeps/sh/configure: Likewise.
14796 * sysdeps/sparc/configure: Likewise.
14797 * sysdeps/unix/sysv/linux/configure: Likewise.
14798 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14799 * sysdeps/x86_64/configure: Likewise.
14800 * sysdeps/x86_64/preconfigure: Likewise.
14802 2013-10-29 Andreas Schwab <schwab@suse.de>
14804 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14806 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14808 * benchtests/pow-inputs: Add new inputs.
14810 * benchtests/exp-inputs: Add new inputs.
14812 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14813 conditional check for return value.
14814 (__cos32): Likewise.
14816 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14818 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14819 to provide a boost for large inputs with word alignment.
14820 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14821 implementation based on optimized PPC64 strcpy.
14822 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14823 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14824 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14825 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14827 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14830 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14832 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14835 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14836 * time/tst-strptime.c (day_tests): Add testcase.
14838 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14841 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14843 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14846 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14847 MAP_FAILED on error.
14849 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14852 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14853 heap for large requests.
14855 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14858 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14859 result if the result has no associated interface.
14860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14861 interface for all 127.X.Y.Z addresses.
14863 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14865 * locale/iso-639.def: Add Ligurian (lij)
14867 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14870 * sunrpc/rpc_main.c: Document rpcgen -5.
14872 2013-10-19 Michael Stahl <mstahl@redhat.com>
14874 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14876 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14879 * posix/glob.c: Match only directories when trailing slash is present.
14880 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14881 (main): Add testcase.
14883 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14886 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14888 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14890 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14891 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14892 AUTH_DES and cindex for FIPS 140-2.
14893 (DES Encryption): Add cindex FIPS 46-3.
14895 * locale/locarchive.h (struct locarhandle): Add fname.
14896 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14897 if an optional argument was specified to --list-archive,
14899 * locale/programs/locarchive.c (show_archive_content): Take new
14900 argument fname and pass it via ah.fname to open_archive.
14901 * locale/programs/localedef.h: Update decl.
14902 (open_archive): If AH->fname is non-null, open that file
14903 rather than the default file name, and don't ignore ENOENT.
14904 (create_archive): Set AH.fname to NULL.
14905 (delete_locales_from_archive): Likewise.
14906 (add_locales_to_archive): Likewise.
14907 * locale/programs/locfile.c (write_all_categories): Likewise.
14909 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14910 Aldy Hernandez <aldyh@redhat.com>
14912 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14913 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14914 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14915 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14916 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14919 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14920 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14922 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14923 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14924 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14925 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14926 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14928 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14930 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14932 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14934 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14937 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14938 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14939 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14940 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14942 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14943 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14944 * sysdeps/powerpc/preconfigure: Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14947 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14948 Replace contents of file by #include of <fenv_libc.h>.
14949 * sysdeps/powerpc/soft-fp/sfp-machine.h
14950 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14952 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14965 Allow copysignl PLT reference to be missing.
14967 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14968 Joseph Myers <joseph@codesourcery.com
14971 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14973 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14975 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14977 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14978 * elf/tst-tls1.c: Likewise.
14979 * elf/tst-tls10.h: Likewise.
14980 * elf/tst-tls14.c: Likewise.
14981 * elf/tst-tls2.c: Likewise.
14982 * elf/tst-tls3.c: Likewise.
14983 * elf/tst-tls4.c: Likewise.
14984 * elf/tst-tls5.c: Likewise.
14985 * elf/tst-tls6.c: Likewise.
14986 * elf/tst-tls7.c: Likewise.
14987 * elf/tst-tls8.c: Likewise.
14988 * elf/tst-tls9.c: Likewise.
14989 * elf/tst-tlsmod1.c: Likewise.
14990 * elf/tst-tlsmod13.c: Likewise.
14991 * elf/tst-tlsmod13a.c: Likewise.
14992 * elf/tst-tlsmod14a.c: Likewise.
14993 * elf/tst-tlsmod16a.c: Likewise.
14994 * elf/tst-tlsmod16b.c: Likewise.
14995 * elf/tst-tlsmod2.c: Likewise.
14996 * elf/tst-tlsmod3.c: Likewise.
14997 * elf/tst-tlsmod4.c: Likewise.
14998 * elf/tst-tlsmod5.c: Likewise.
14999 * elf/tst-tlsmod6.c: Likewise.
15001 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15004 * malloc/malloc.c: remove checks for statistics.
15006 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15009 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15010 * inet/tst-network.c: Add testcase.
15012 2013-10-17 Andreas Schwab <schwab@suse.de>
15015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15016 to determine canonical name.
15018 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15020 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15021 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15044 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15045 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15079 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15082 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15083 make result into a quiet NaN.
15085 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15087 * soft-fp/adddf3.c: Fix horizontal whitespace.
15088 * soft-fp/addsf3.c: Likewise.
15089 * soft-fp/addtf3.c: Likewise.
15090 * soft-fp/divdf3.c: Likewise.
15091 * soft-fp/divsf3.c: Likewise.
15092 * soft-fp/divtf3.c: Likewise.
15093 * soft-fp/double.h: Likewise.
15094 * soft-fp/eqdf2.c: Likewise.
15095 * soft-fp/eqsf2.c: Likewise.
15096 * soft-fp/eqtf2.c: Likewise.
15097 * soft-fp/extenddftf2.c: Likewise.
15098 * soft-fp/extended.h: Likewise.
15099 * soft-fp/extendsfdf2.c: Likewise.
15100 * soft-fp/extendsftf2.c: Likewise.
15101 * soft-fp/extendxftf2.c: Likewise.
15102 * soft-fp/fixdfdi.c: Likewise.
15103 * soft-fp/fixdfsi.c: Likewise.
15104 * soft-fp/fixdfti.c: Likewise.
15105 * soft-fp/fixsfdi.c: Likewise.
15106 * soft-fp/fixsfsi.c: Likewise.
15107 * soft-fp/fixsfti.c: Likewise.
15108 * soft-fp/fixtfdi.c: Likewise.
15109 * soft-fp/fixtfsi.c: Likewise.
15110 * soft-fp/fixtfti.c: Likewise.
15111 * soft-fp/fixunsdfdi.c: Likewise.
15112 * soft-fp/fixunsdfsi.c: Likewise.
15113 * soft-fp/fixunsdfti.c: Likewise.
15114 * soft-fp/fixunssfdi.c: Likewise.
15115 * soft-fp/fixunssfsi.c: Likewise.
15116 * soft-fp/fixunssfti.c: Likewise.
15117 * soft-fp/fixunstfdi.c: Likewise.
15118 * soft-fp/fixunstfsi.c: Likewise.
15119 * soft-fp/fixunstfti.c: Likewise.
15120 * soft-fp/floatdidf.c: Likewise.
15121 * soft-fp/floatdisf.c: Likewise.
15122 * soft-fp/floatditf.c: Likewise.
15123 * soft-fp/floatsidf.c: Likewise.
15124 * soft-fp/floatsisf.c: Likewise.
15125 * soft-fp/floatsitf.c: Likewise.
15126 * soft-fp/floattidf.c: Likewise.
15127 * soft-fp/floattisf.c: Likewise.
15128 * soft-fp/floattitf.c: Likewise.
15129 * soft-fp/floatundidf.c: Likewise.
15130 * soft-fp/floatundisf.c: Likewise.
15131 * soft-fp/floatunditf.c: Likewise.
15132 * soft-fp/floatunsidf.c: Likewise.
15133 * soft-fp/floatunsisf.c: Likewise.
15134 * soft-fp/floatunsitf.c: Likewise.
15135 * soft-fp/floatuntidf.c: Likewise.
15136 * soft-fp/floatuntisf.c: Likewise.
15137 * soft-fp/floatuntitf.c: Likewise.
15138 * soft-fp/fmadf4.c: Likewise.
15139 * soft-fp/fmasf4.c: Likewise.
15140 * soft-fp/fmatf4.c: Likewise.
15141 * soft-fp/gedf2.c: Likewise.
15142 * soft-fp/gesf2.c: Likewise.
15143 * soft-fp/getf2.c: Likewise.
15144 * soft-fp/ledf2.c: Likewise.
15145 * soft-fp/lesf2.c: Likewise.
15146 * soft-fp/letf2.c: Likewise.
15147 * soft-fp/muldf3.c: Likewise.
15148 * soft-fp/mulsf3.c: Likewise.
15149 * soft-fp/multf3.c: Likewise.
15150 * soft-fp/negdf2.c: Likewise.
15151 * soft-fp/negsf2.c: Likewise.
15152 * soft-fp/negtf2.c: Likewise.
15153 * soft-fp/op-1.h: Likewise.
15154 * soft-fp/op-2.h: Likewise.
15155 * soft-fp/op-4.h: Likewise.
15156 * soft-fp/op-8.h: Likewise.
15157 * soft-fp/op-common.h: Likewise.
15158 * soft-fp/quad.h: Likewise.
15159 * soft-fp/single.h: Likewise.
15160 * soft-fp/soft-fp.h: Likewise.
15161 * soft-fp/sqrtdf2.c: Likewise.
15162 * soft-fp/sqrtsf2.c: Likewise.
15163 * soft-fp/sqrttf2.c: Likewise.
15164 * soft-fp/subdf3.c: Likewise.
15165 * soft-fp/subsf3.c: Likewise.
15166 * soft-fp/subtf3.c: Likewise.
15167 * soft-fp/truncdfsf2.c: Likewise.
15168 * soft-fp/trunctfdf2.c: Likewise.
15169 * soft-fp/trunctfsf2.c: Likewise.
15170 * soft-fp/trunctfxf2.c: Likewise.
15171 * soft-fp/unorddf2.c: Likewise.
15172 * soft-fp/unordsf2.c: Likewise.
15173 * soft-fp/unordtf2.c: Likewise.
15175 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15177 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15178 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15180 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15182 * elf/dl-libc.c: Clear initfini list after freeing.
15184 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15186 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15187 * soft-fp/addsf3.c: Likewise.
15188 * soft-fp/addtf3.c: Likewise.
15189 * soft-fp/divdf3.c: Likewise.
15190 * soft-fp/divsf3.c: Likewise.
15191 * soft-fp/divtf3.c: Likewise.
15192 * soft-fp/double.h: Likewise.
15193 * soft-fp/eqdf2.c: Likewise.
15194 * soft-fp/eqsf2.c: Likewise.
15195 * soft-fp/eqtf2.c: Likewise.
15196 * soft-fp/extenddftf2.c: Likewise.
15197 * soft-fp/extended.h: Likewise.
15198 * soft-fp/extendsfdf2.c: Likewise.
15199 * soft-fp/extendsftf2.c: Likewise.
15200 * soft-fp/extendxftf2.c: Likewise.
15201 * soft-fp/fixdfdi.c: Likewise.
15202 * soft-fp/fixdfsi.c: Likewise.
15203 * soft-fp/fixdfti.c: Likewise.
15204 * soft-fp/fixsfdi.c: Likewise.
15205 * soft-fp/fixsfsi.c: Likewise.
15206 * soft-fp/fixsfti.c: Likewise.
15207 * soft-fp/fixtfdi.c: Likewise.
15208 * soft-fp/fixtfsi.c: Likewise.
15209 * soft-fp/fixtfti.c: Likewise.
15210 * soft-fp/fixunsdfdi.c: Likewise.
15211 * soft-fp/fixunsdfsi.c: Likewise.
15212 * soft-fp/fixunsdfti.c: Likewise.
15213 * soft-fp/fixunssfdi.c: Likewise.
15214 * soft-fp/fixunssfsi.c: Likewise.
15215 * soft-fp/fixunssfti.c: Likewise.
15216 * soft-fp/fixunstfdi.c: Likewise.
15217 * soft-fp/fixunstfsi.c: Likewise.
15218 * soft-fp/fixunstfti.c: Likewise.
15219 * soft-fp/floatdidf.c: Likewise.
15220 * soft-fp/floatdisf.c: Likewise.
15221 * soft-fp/floatditf.c: Likewise.
15222 * soft-fp/floatsidf.c: Likewise.
15223 * soft-fp/floatsisf.c: Likewise.
15224 * soft-fp/floatsitf.c: Likewise.
15225 * soft-fp/floattidf.c: Likewise.
15226 * soft-fp/floattisf.c: Likewise.
15227 * soft-fp/floattitf.c: Likewise.
15228 * soft-fp/floatundidf.c: Likewise.
15229 * soft-fp/floatundisf.c: Likewise.
15230 * soft-fp/floatunsidf.c: Likewise.
15231 * soft-fp/floatunsisf.c: Likewise.
15232 * soft-fp/floatuntidf.c: Likewise.
15233 * soft-fp/floatuntisf.c: Likewise.
15234 * soft-fp/floatuntitf.c: Likewise.
15235 * soft-fp/fmadf4.c: Likewise.
15236 * soft-fp/fmasf4.c: Likewise.
15237 * soft-fp/fmatf4.c: Likewise.
15238 * soft-fp/gedf2.c: Likewise.
15239 * soft-fp/gesf2.c: Likewise.
15240 * soft-fp/getf2.c: Likewise.
15241 * soft-fp/ledf2.c: Likewise.
15242 * soft-fp/lesf2.c: Likewise.
15243 * soft-fp/letf2.c: Likewise.
15244 * soft-fp/muldf3.c: Likewise.
15245 * soft-fp/mulsf3.c: Likewise.
15246 * soft-fp/multf3.c: Likewise.
15247 * soft-fp/negdf2.c: Likewise.
15248 * soft-fp/negsf2.c: Likewise.
15249 * soft-fp/negtf2.c: Likewise.
15250 * soft-fp/op-1.h: Likewise.
15251 * soft-fp/op-2.h: Likewise.
15252 * soft-fp/op-4.h: Likewise.
15253 * soft-fp/op-8.h: Likewise.
15254 * soft-fp/op-common.h: Likewise.
15255 * soft-fp/quad.h: Likewise.
15256 * soft-fp/single.h: Likewise.
15257 * soft-fp/soft-fp.h: Likewise.
15258 * soft-fp/sqrtdf2.c: Likewise.
15259 * soft-fp/sqrtsf2.c: Likewise.
15260 * soft-fp/sqrttf2.c: Likewise.
15261 * soft-fp/subdf3.c: Likewise.
15262 * soft-fp/subsf3.c: Likewise.
15263 * soft-fp/subtf3.c: Likewise.
15264 * soft-fp/truncdfsf2.c: Likewise.
15265 * soft-fp/trunctfdf2.c: Likewise.
15266 * soft-fp/trunctfsf2.c: Likewise.
15267 * soft-fp/trunctfxf2.c: Likewise.
15268 * soft-fp/unorddf2.c: Likewise.
15269 * soft-fp/unordsf2.c: Likewise.
15270 * soft-fp/unordtf2.c: Likewise.
15272 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15275 * misc/error.c (error_tail): Fix possible buffer overflow.
15277 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15280 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15283 2013-10-14 P. J. McDermott <pj@pehjota.net>
15286 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15287 testing pipefail option.
15289 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15291 * soft-fp/double.h: Indent preprocessor directives inside #if.
15292 * soft-fp/extended.h: Likewise.
15293 * soft-fp/op-2.h: Likewise.
15294 * soft-fp/op-4.h: Likewise.
15295 * soft-fp/op-common.h: Likewise.
15296 * soft-fp/quad.h: Likewise.
15297 * soft-fp/single.h: Likewise.
15298 * soft-fp/soft-fp.h: Likewise.
15300 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15302 * iconv/iconv_prog.c: Fix typos.
15303 * stdio-common/psiginfo-data.h: Likewise.
15305 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15308 * locale/setlocale.c: Fix typo.
15310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15313 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15314 signaling NaN arguments.
15315 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15316 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15319 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15320 unordered operands.
15321 * soft-fp/gesf2.c (__gesf2): Likewise.
15322 * soft-fp/getf2.c (__getf2): Likewise.
15323 * soft-fp/ledf2.c (__ledf2): Likewise.
15324 * soft-fp/lesf2.c (__lesf2): Likewise.
15325 * soft-fp/letf2.c (__letf2): Likewise.
15327 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15328 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15329 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15330 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15331 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15332 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15333 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15334 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15335 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15336 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15337 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15338 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15339 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15340 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15341 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15342 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15343 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15344 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15345 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15346 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15347 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15348 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15349 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15350 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15351 * soft-fp/floattidf.c (__floattidf): Likewise.
15352 * soft-fp/floattisf.c (__floattisf): Likewise.
15353 * soft-fp/floattitf.c (__floattitf): Likewise.
15354 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15355 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15356 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15357 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15358 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15359 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15360 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15361 * soft-fp/gesf2.c (__gesf2): Likewise.
15362 * soft-fp/getf2.c (__getf2): Likewise.
15363 * soft-fp/ledf2.c (__ledf2): Likewise.
15364 * soft-fp/lesf2.c (__lesf2): Likewise.
15365 * soft-fp/letf2.c (__letf2): Likewise.
15367 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15368 Undefine and redefine.
15369 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15370 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15371 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15372 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15373 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15374 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15375 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15376 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15377 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15378 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15379 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15380 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15381 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15382 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15383 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15386 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15387 without decrementing exponent if mantissa >= that for the
15388 denominator, not >.
15389 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15390 denominator, not >. Decrement exponent in < case instead of
15391 incrementing in >= case.
15392 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15393 without decrementing exponent if mantissa >= that for the
15394 denominator, not >.
15396 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15397 computing saturated result for unsigned overflow.
15399 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15400 Jeff Law <law@redhat.com>
15402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15403 (atan2Mp): Add systemtap probe marker.
15404 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15405 (__ieee754_log): Add systemtap probe marker.
15406 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15407 (atanMp): Add systemtap probe marker.
15408 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15409 (tanMp): Add systemtap probe marker.
15410 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15411 (__slowexp): Add systemtap probe marker.
15412 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15413 (__slowpow): Add systemtap probe marker.
15414 * manual/probes.texi: Document probes.
15416 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15419 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15421 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15423 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15424 written to buffer but not flushed.
15425 * libio/iofwrite_u.c: Likewise.
15426 * libio/iopadn.c: Return bytes returned even if EOF was
15428 * libio/iowpadn.c: Likewise.
15429 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15430 if _IO_padn does not write the whole buffer.
15431 [!COMPILE_WPRINTF] (PAD): Likewise.
15433 2013-10-10 David S. Miller <davem@davemloft.net>
15435 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15438 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15440 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15441 instead of FSF address.
15442 * soft-fp/fixdfti.c: Likewise.
15443 * soft-fp/fixsfti.c: Likewise.
15444 * soft-fp/fixtfti.c: Likewise.
15445 * soft-fp/fixunsdfti.c: Likewise.
15446 * soft-fp/fixunssfti.c: Likewise.
15447 * soft-fp/fixunstfti.c: Likewise.
15448 * soft-fp/floattidf.c: Likewise.
15449 * soft-fp/floattisf.c: Likewise.
15450 * soft-fp/floattitf.c: Likewise.
15451 * soft-fp/floatuntidf.c: Likewise.
15452 * soft-fp/floatuntisf.c: Likewise.
15453 * soft-fp/floatuntitf.c: Likewise.
15454 * soft-fp/trunctfxf2.c: Likewise.
15456 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15457 * soft-fp/fixdfti.c: Likewise.
15458 * soft-fp/fixsfti.c: Likewise.
15459 * soft-fp/fixtfti.c: Likewise.
15460 * soft-fp/fixunsdfti.c: Likewise.
15461 * soft-fp/fixunssfti.c: Likewise.
15462 * soft-fp/fixunstfti.c: Likewise.
15463 * soft-fp/floattidf.c: Likewise.
15464 * soft-fp/floattisf.c: Likewise.
15465 * soft-fp/floattitf.c: Likewise.
15466 * soft-fp/floatuntidf.c: Likewise.
15467 * soft-fp/floatuntisf.c: Likewise.
15468 * soft-fp/floatuntitf.c: Likewise.
15469 * soft-fp/trunctfxf2.c: Likewise.
15471 2013-10-10 David S. Miller <davem@davemloft.net>
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15475 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15478 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15479 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15480 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15481 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15482 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15483 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15486 for NaNs before doing comparisons on argument.
15487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15490 2013-10-10 Will Newton <will.newton@linaro.org>
15492 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15493 passed to _int_memalign does not overflow.
15495 2013-10-10 Torvald Riegel <triegel@redhat.com>
15497 * scripts/bench.pl: Add include-sources directive.
15498 * benchtests/README: Update documentation.
15500 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15502 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15503 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15504 instead of FP_INIT_ROUNDMODE.
15505 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15506 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15509 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15510 copy class of input value.
15511 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15512 not handle exceptions.
15513 * soft-fp/negsf2.c (__negsf2): Likewise.
15514 * soft-fp/negtf2.c (__negtf2): Likewise.
15515 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15517 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15519 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15520 semicolon. From Linux kernel.
15522 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15524 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15526 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15529 * manual/socket.texi: Added statement about buffer
15530 for gethostbyname2_r.
15532 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15534 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15535 Use .p2align directive instead, throughout.
15536 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15538 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15541 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15542 * sysdeps/x86_64/strchr.S: Likewise.
15543 * sysdeps/x86_64/strrchr.S: Likewise.
15545 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15547 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15549 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15551 * sysdeps/generic/math_private.h (__mpsin1): Remove
15553 (__mpcos1): Likewise.
15554 (__mpsin): New argument __range_reduce.
15555 (__mpcos): Likewise.
15556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15557 (slow): Use __mpsin and __mpcos.
15561 (sloww1): Likewise.
15562 (sloww2): Likewise.
15563 (bsloww): Likewise.
15564 (bsloww1): Likewise.
15565 (bsloww2): Likewise.
15566 (cslow2): Likewise.
15567 (csloww): Likewise.
15568 (csloww1): Likewise.
15569 (csloww2): Likewise.
15570 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15571 range_reduce. Merge in __mpsin1.
15572 (__mpcos): Likewise.
15573 (__mpsin1): Remove.
15574 (__mpcos1): Likewise.
15576 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15578 * locale/loadlocale.c (_nl_intern_locale_data): Use
15580 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15581 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15582 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15583 obstack data is appropriately aligned.
15584 (obstack_int32_grow_fast): Likewise.
15585 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15586 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15587 (add_locale_uint32_array): Likewise.
15589 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15591 * benchtests/Makefile: Remove ARGLIST and RET variables.
15592 ($(objpfx)bench-%.c): Pass only function name to the script.
15593 * benchtests/README: Update documentation.
15594 * benchtests/acos-inputs: Add new directives.
15595 * benchtests/acosh-inputs: Likewise.
15596 * benchtests/asin-inputs: Likewise.
15597 * benchtests/asinh-inputs: Likewise.
15598 * benchtests/atan-inputs: Likewise.
15599 * benchtests/atanh-inputs: Likewise.
15600 * benchtests/cos-inputs: Likewise.
15601 * benchtests/cosh-inputs: Likewise.
15602 * benchtests/exp-inputs: Likewise.
15603 * benchtests/log-inputs: Likewise.
15604 * benchtests/pow-inputs: Likewise.
15605 * benchtests/rint-inputs: Likewise.
15606 * benchtests/sin-inputs: Likewise.
15607 * benchtests/sinh-inputs: Likewise.
15608 * benchtests/tan-inputs: Likewise.
15609 * benchtests/tanh-inputs: Likewise.
15610 * scripts/bench.pl: Add support for new directives.
15612 2013-10-07 Alan Modra <amodra@gmail.com>
15614 * README: Fix careless merge.
15616 2013-10-05 Alan Modra <amodra@gmail.com>
15618 * NEWS: Mention powerpc64le support and bugs fixed.
15619 * README: Both big-endian and little-endian powerpc64 supported.
15621 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15623 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15624 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15625 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15626 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15628 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15630 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15633 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15635 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15636 Move -mhard-float appending from
15637 ports/sysdeps/powerpc/powerpc32/Makefile.
15638 [$(with-fp) = yes] (ASFLAGS): Likewise.
15639 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15640 * sysdeps/powerpc/nofpu: Move directory from
15641 ports/sysdeps/powerpc/nofpu.
15642 * sysdeps/powerpc/soft-fp: Move directory from
15643 ports/sysdeps/powerpc/soft-fp.
15644 * sysdeps/powerpc/powerpc32/405: Move directory from
15645 ports/sysdeps/powerpc/powerpc32/405.
15646 * sysdeps/powerpc/powerpc32/440: Move directory from
15647 ports/sysdeps/powerpc/powerpc32/440.
15648 * sysdeps/powerpc/powerpc32/464: Move directory from
15649 ports/sysdeps/powerpc/powerpc32/464.
15650 * sysdeps/powerpc/powerpc32/476: Move directory from
15651 ports/sysdeps/powerpc/powerpc32/476.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15662 * README: Update for powerpc-*-linux-gnu software floating point
15665 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15666 case to powerpc/powerpc32*.
15667 * sysdeps/unix/sysv/linux/configure: Regenerated.
15669 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15670 (_FPU_MASK_OM): Define as 0x04.
15671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15679 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15686 and setcontext_e500.
15688 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15690 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15692 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15694 * manual/threads.texi (Default Thread Attributes): Fix typo.
15696 2013-10-04 Will Newton <will.newton@linaro.org>
15698 * malloc/Makefile: Add tst-memalign.
15699 * malloc/tst-memalign.c: New file.
15701 * malloc/tst-posix_memalign.c: Add comments.
15702 (do_test): Add comments and call free on all potentially
15703 allocated pointers. Add space after cast.
15705 * malloc/tst-pvalloc.c: Add comments.
15706 (do_test): Add comments and call free on all potentially
15707 allocated pointers. Remove duplicate check for NULL pointer.
15708 Add space after cast.
15710 * malloc/tst-valloc.c: Add comments.
15711 (do_test): Add comments and call free on all potentially
15712 allocated pointers. Remove duplicate check for NULL pointer.
15713 Add space after cast.
15715 2013-10-04 Alan Modra <amodra@gmail.com>
15717 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15718 Use stdint types in rather than __attribute__((mode())).
15719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15721 2013-10-04 Alan Modra <amodra@gmail.com>
15723 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15724 Correct handling of unaligned relocs for little-endian.
15725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15727 2013-10-04 Alan Modra <amodra@gmail.com>
15729 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15730 * configure: Regenerate.
15731 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15732 * shlib-versions: Likewise.
15734 2013-10-04 Alan Modra <amodra@gmail.com>
15736 * string/tester.c (test_memrchr): Increment reported test cycle.
15738 2013-10-04 Alan Modra <amodra@gmail.com>
15740 * string/test-memcpy.c (do_one_test): When reporting errors, print
15741 string address and don't overrun end of string.
15743 2013-10-04 Alan Modra <amodra@gmail.com>
15745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15746 insrdi. Make better use of reg selection to speed exit slightly.
15747 Schedule entry path a little better. Remove useless "are we done"
15748 checks on entry to main loop. Handle wrapping around zero address.
15749 Correct main loop count. Handle single left-over word from main
15750 loop inline rather than by using loop_small. Remove extra word
15751 case in loop_small caused by wrong loop count. Add little-endian
15753 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15758 support. Avoid rlwimi.
15759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15761 2013-10-04 Alan Modra <amodra@gmail.com>
15763 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15764 insrdi. Formatting.
15765 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15767 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15768 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15770 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15772 2013-10-04 Alan Modra <amodra@gmail.com>
15774 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15783 use of regs. Use power7 mtocrf. Tidy function tails.
15785 2013-10-04 Alan Modra <amodra@gmail.com>
15787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15788 Formatting. Consistently use rXXX register defines or rN defines.
15789 Use early exit labels that avoid restoring unused non-volatile regs.
15790 Make cr field use more consistent with rWORDn compares. Rename
15791 regs used as shift registers for unaligned loop, using rN defines
15792 for short lifetime/multiple use regs.
15793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15795 addi 1,1,64 to pop stack frame. Simplify return value code.
15796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15798 2013-10-04 Alan Modra <amodra@gmail.com>
15800 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15801 support. Correct typos, formatting. Optimize tail. Use insrdi
15802 rather than rlwimi.
15803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15804 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15805 little-endian support. Correct typos.
15806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15807 rather than rlwimi.
15808 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15809 in loop and entry code to keep "and." results.
15810 (strchr): Add little-endian support. Comment. Move cntlzd
15812 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15814 2013-10-04 Alan Modra <amodra@gmail.com>
15816 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15817 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15818 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15819 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15821 2013-10-04 Alan Modra <amodra@gmail.com>
15823 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15824 (rTMP): Define as r11.
15825 (strcmp): Add little-endian support. Optimise tail.
15826 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15834 2013-10-04 Alan Modra <amodra@gmail.com>
15836 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15837 little-endian support. Remove unnecessary "are we done" tests.
15838 Handle "s" wrapping around zero and extremely large "size".
15839 Correct main loop count. Handle single left-over word from main
15840 loop inline rather than by using small_loop. Correct comments.
15841 Delete "zero" tail, use "end_max" instead.
15842 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15844 2013-10-04 Alan Modra <amodra@gmail.com>
15846 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15847 support. Don't branch over align.
15848 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15849 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15850 support. Rearrange tmp reg use to suit. Comment.
15851 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15853 2013-10-04 Alan Modra <amodra@gmail.com>
15855 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15857 2013-10-04 Alan Modra <amodra@gmail.com>
15859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15860 conditional form of branch and link when obtaining pc.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15863 2013-10-04 Alan Modra <amodra@gmail.com>
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15870 2013-10-04 Alan Modra <amodra@gmail.com>
15872 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15873 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15874 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15876 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15878 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15880 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15881 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15883 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15884 Alistair Popple <alistair@ozlabs.au.ibm.com>
15885 Alan Modra <amodra@gmail.com>
15888 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15890 _dl_hwcap access for little-endian.
15891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15892 destroy vmx regs when saving unaligned.
15893 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15894 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15895 destroy vmx regs when saving unaligned.
15897 2013-10-04 Alan Modra <amodra@gmail.com>
15899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15900 Don't use a union to pack hi/low value.
15902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15904 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15908 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15909 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15910 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15912 2013-10-04 Alan Modra <amodra@gmail.com>
15914 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15915 constants to usual value for .cst8 section, and remove redundant
15917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15918 constant for 0x1p52. Load little-endian words of double from
15919 correct stack offsets.
15921 2013-10-04 Alan Modra <amodra@gmail.com>
15923 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15924 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15925 words of double from correct stack offsets.
15926 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15927 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15933 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15934 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15940 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15941 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15942 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15944 2013-10-04 Alan Modra <amodra@gmail.com>
15946 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15947 64-bit int/double union.
15948 (_FPU_SETCW): Likewise.
15949 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15950 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15952 2013-10-04 Alan Modra <amodra@gmail.com>
15954 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15955 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15957 2013-10-04 Alan Modra <amodra@gmail.com>
15959 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15960 use vector int constants.
15961 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15963 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15965 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15966 array with long long.
15967 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15968 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15969 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15970 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15972 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15973 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15975 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15976 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15977 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15978 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15981 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15983 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15984 (__signbit): Likewise. Correct for little-endian.
15985 (__signbitl): Call __signbit.
15986 (lrint): Correct for little-endian.
15987 (lrintf): Call lrint.
15989 2013-10-04 Alan Modra <amodra@gmail.com>
15991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15992 union 32-bit int array member with 64-bit int array.
15993 (t515, tm256): Double rather than long double.
15994 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15996 2013-10-04 Alan Modra <amodra@gmail.com>
15998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16000 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16002 version of math_ldbl.h.
16004 2013-10-04 Alan Modra <amodra@gmail.com>
16006 [BZ #15734], [BZ #15735]
16007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16008 all uses of ieee875 long double macros and unions. Simplify test
16009 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16010 ldbl_extract_mantissa value for ix,iy exponents. Properly
16011 normalize after ldbl_extract_mantissa, and don't add hidden bit
16012 already handled. Don't treat low word of ieee854 mantissa like
16013 low word of IBM long double and mask off bit when testing for
16015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16016 all uses of ieee875 long double macros and unions. Simplify tests
16017 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16018 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16019 two1022, instead use their values. Recognise that tests for large
16020 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16022 Rewrite all uses of ieee875 long double macros and unions. Simplify
16023 test for 0.0L and nan. Correct negation.
16024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16025 ieee875 long double macros and unions. Correct output for large
16026 magnitude x. Correct absolute value calculation.
16027 (__erfcl): Likewise.
16028 * math/libm-test.inc: Add tests for errors discovered in IBM long
16029 double versions of fmodl, remainderl, erfl and erfcl.
16031 2013-10-04 Alan Modra <amodra@gmail.com>
16033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16034 all uses of ieee854 long double macros and unions. Simplify tests
16035 for long doubles that are fully specified by the high double.
16036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16039 Remove dead code too.
16040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16041 (__ieee754_ynl): Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16045 Remove dead code too.
16046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16056 Comment on variable precision.
16057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16064 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16066 2013-10-04 Alan Modra <amodra@gmail.com>
16068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16070 all uses of ieee854 long double macros and unions.
16071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16079 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16084 Simplify sign and nan test too.
16085 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16100 2013-10-04 Alan Modra <amodra@gmail.com>
16102 * stdio-common/printf_size.c (__printf_size): Don't use
16103 union ieee854_long_double in fpnum union.
16104 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16105 signbit macro to retrieve sign from long double.
16106 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16107 retrieve sign from long double.
16108 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16109 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16112 * math/test-misc.c (main): Don't use union ieee854_long_double.
16114 2013-10-04 Alan Modra <amodra@gmail.com>
16117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16118 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16119 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16120 calculation. Remove unnecessary test for denormal exponent.
16121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16122 Correct handling of denormals. Avoid undefined shift behaviour.
16123 Correct normalisation of low mantissa when low double is denormal.
16124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16125 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16126 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16127 Correct normalisation of low mantissa. Test for overflow of high
16128 mantissa and normalise.
16129 (ldbl_nearbyint): Use more readable constant for two52.
16130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16131 (__mpn_construct_long_double): Fix test for overflow of high
16132 mantissa and correct normalisation. Avoid undefined shift.
16134 2013-10-04 Alan Modra <amodra@gmail.com>
16136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16137 (union ibm_extended_long_double): Define as an array of ieee754_double.
16138 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16140 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16150 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16152 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16153 page size instead of calling getpagesize.
16155 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16156 (LOCFILE_ALIGN_MASK): Likewise.
16157 (LOCFILE_ALIGN_UP): Likewise.
16158 (LOCFILE_ALIGNED_P): Likewise.
16159 * locale/programs/ld-collate.c (collate_output): Use the new
16160 macros instead of __alignof__ (int32_t).
16161 * locale/weight.h (findidx): Likewise.
16163 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16166 * manual/string.texi: Fix strncat and wcsncat.
16168 2013-10-03 Brooks Moses <bmoses@google.com>
16171 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16172 * Makerules: ...here, and adjust associated comments.
16174 2013-10-02 Will Newton <will.newton@linaro.org>
16176 * malloc/Makefile: Add tst-pvalloc.
16177 * malloc/tst-pvalloc.c: New file.
16179 2013-10-02 Will Newton <will.newton@linaro.org>
16181 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16182 improve test coverage.
16184 2013-10-02 Will Newton <will.newton@linaro.org>
16186 * malloc/Makefile: Add tst-posix_memalign.
16187 * malloc/tst-posix_memalign.c: New file.
16189 2013-10-01 Eric Blake <eblake@redhat.com>
16191 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16192 Use __THROWNL rather than __THROW on static functions.
16194 2013-09-30 Petr Machata <pmachata@redhat.com>
16196 * elf/elf.h (R_AARCH64_ABS16): New macro.
16197 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16198 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16199 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16200 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16201 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16202 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16203 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16204 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16205 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16206 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16207 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16208 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16209 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16210 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16211 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16212 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16213 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16214 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16215 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16216 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16217 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16218 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16219 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16220 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16221 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16222 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16223 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16224 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16225 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16226 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16228 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16230 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16231 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16233 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16235 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16237 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16239 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16241 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16243 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16245 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16246 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16247 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16248 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16249 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16250 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16251 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16252 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16253 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16254 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16255 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16256 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16258 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16260 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16262 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16264 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16266 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16267 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16268 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16269 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16270 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16271 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16272 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16273 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16274 (R_AARCH64_TLSDESC_LDR): Likewise.
16275 (R_AARCH64_TLSDESC_ADD): Likewise.
16276 (R_AARCH64_TLSDESC_CALL): Likewise.
16278 2013-09-30 Andreas Schwab <schwab@suse.de>
16281 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16282 the nss database lookup.
16283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16286 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16288 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16290 2013-09-28 P. J. McDermott <pj@pehjota.net>
16292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16293 ${Bash-specific parameter/pattern/string} parameter expansion.
16294 * sysdeps/unix/make-syscalls.sh: Likewise.
16296 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16298 * sysdeps/sh/stackguard-macros.h: New file.
16300 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16304 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16307 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16309 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16311 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16312 Fix thread ID register.
16314 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16316 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16317 [POSIX || UNIX98]: Require rather than permitting all symbols from
16319 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16320 element of struct sched_param.
16321 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16322 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16323 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16324 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16327 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16329 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16330 argument calculation.
16332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16334 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16336 [POSIX] (pthread_attr_t): Do not require type.
16337 [POSIX] (pthread_cond_t): Likewise.
16338 [POSIX] (pthread_condattr_t): Likewise.
16339 [POSIX] (pthread_key_t): Likewise.
16340 [POSIX] (pthread_mutex_t): Likewise.
16341 [POSIX] (pthread_mutexattr_t): Likewise.
16342 [POSIX] (pthread_once_t): Likewise.
16343 [POSIX] (pthread_t): Likewise.
16344 [POSIX-based standards] (pthread_atfork): Expect function.
16346 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16347 Richard Sandiford <richard@codesourcery.com>
16349 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16350 (swap_endianness_p): New extern variable.
16351 (set_big_endian): New inline function.
16352 (maybe_swap_uint32): Likewise.
16353 (maybe_swap_uint32_array): Likewise.
16354 (maybe_swap_uint32_obstack): Likewise.
16355 * locale/programs/locfile.c: Include <stdbool.h>.
16356 (swap_endianness_p): New variable.
16357 (add_locale_uint32): Call maybe_swap_uint32.
16358 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16359 (write_locale_data): Call maybe_swap_uint32_array.
16360 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16362 (obstack_int32_grow_fast): Likewise.
16363 (output_weightwc): Call maybe_swap_uint32_obstack.
16364 (collate_output): Likewise.
16365 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16366 (OPT_LITTLE_ENDIAN): Likewise.
16367 (options): Add --little-endian and --big-endian options.
16368 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16369 * locale/programs/locarchive.c: Include "locfile.h".
16373 (create_archive): Use the new macros to access fields of
16374 structures directly mapped from or written to locale archives.
16375 (oldlocrecentcmp): Likewise.
16376 (enlarge_archive): Likewise.
16377 (insert_name): Likewise.
16378 (add_alias): Likewise.
16379 (add_locale): Likewise.
16380 (delete_locales_from_archive): Likewise.
16381 (show_archive_content): Likewise.
16382 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16385 2013-09-24 Roland McGrath <roland@hack.frob.com>
16387 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16388 http://www.gnu.org/doc/freemanuals.texi.
16389 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16391 2013-09-24 Will Newton <will.newton@linaro.org>
16393 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16396 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16398 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16401 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16403 * manual/threads.texi (POSIX Threads): Fix a typo.
16405 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16408 * string/tst-strcoll-overflow.c: New test case.
16409 * string/Makefile (xtests): Add tst-strcoll-overflow.
16410 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16411 cache if string sizes may cause integer overflow.
16414 * string/strcoll_l.c (coll_seq): New members rule, idx,
16415 save_idx and back_us.
16416 (get_next_seq_nocache): New function.
16417 (do_compare_nocache): New function.
16418 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16421 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16424 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16425 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16426 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16429 * elf/Makefile (tests): Add tst-ptrguard1.
16430 (tests-static): Add tst-ptrguard1-static.
16431 (tst-ptrguard1-ARGS): Define.
16432 (tst-ptrguard1-static-ARGS): Define.
16433 * elf/tst-ptrguard1.c: New file.
16434 * elf/tst-ptrguard1-static.c: New file.
16435 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16436 * sysdeps/i386/stackguard-macros.h: Likewise.
16437 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16438 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16439 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16440 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16441 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16442 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16444 2013-09-23 Hector Marco <hecmargi@upv.es>
16445 Ismael Ripoll <iripoll@disca.upv.es>
16446 Carlos O'Donell <carlos@redhat.com>
16449 * sysdeps/generic/stackguard-macros.h: Define
16450 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16451 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16452 Define __pointer_chk_guard_local.
16453 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16454 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16456 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16459 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16461 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16463 * include/string.h (__ffs): Declare as hidden.
16464 * string/ffs.c (__ffs): Define as hidden.
16465 * sysdeps/i386/ffs.c (__ffs): Likewise.
16466 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16467 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16468 * sysdeps/s390/ffs.c (__ffs): Likewise.
16469 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16471 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16473 * NEWS: Mention malloc probes.
16475 * malloc/arena.c (new_heap): New memory_heap_new probe.
16476 (grow_heap): New memory_heap_more probe.
16477 (shrink_heap): New memory_heap_less probe.
16478 (heap_trim): New memory_heap_free probe.
16479 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16480 (systrim): New memory_sbrk_less probe.
16481 * manual/probes.texi: Document them.
16483 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16484 * manual/probes.texi: Document it.
16486 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16487 (__libc_realloc): Add memory_realloc_retry probe.
16488 (__libc_memalign): Add memory_memalign_retry probe.
16489 (__libc_valloc): Add memory_valloc_retry probe.
16490 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16491 (__libc_calloc): Add memory_calloc_retry probe.
16492 * manual/probes.texi: Document them.
16494 * malloc/arena.c (get_free_list): Add probe
16495 memory_arena_reuse_free_list.
16496 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16497 and memory_arena_reuse.
16498 (arena_get2) [!PER_THREAD]: Likewise.
16499 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16500 memory_arena_reuse_realloc.
16501 * manual/probes.texi: Document them.
16503 * malloc/malloc.c (__libc_free): Add
16504 memory_mallopt_free_dyn_thresholds probe.
16505 (__libc_mallopt): Add multiple memory_mallopt probes.
16506 * manual/probes.texi: Document them.
16508 * malloc/malloc.c: Include stap-probe.h.
16509 (__libc_mallopt): Add memory_mallopt probe.
16510 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16511 * manual/probes.texi: New.
16512 * manual/Makefile (chapters): Add probes.
16513 * manual/threads.texi: Set next node.
16515 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16517 [BZ #15963, #13985]
16518 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16519 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16520 Add `Chinese' to `nan' entry name.
16522 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16524 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16525 (POLYNOMIAL): Likewise.
16526 (TAYLOR_SINCOS): Likewise.
16527 (TAYLOR_SLOW): Likewise.
16528 (__sin): Use TAYLOR_SINCOS.
16530 (slow): Use TAYLOR_SLOW.
16532 (bsloww): Likewise.
16533 (csloww): Likewise.
16535 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16537 * stdlib/strtod_l.c: Fix buffer overrun.
16539 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 * benchtests/Makefile (bench): Add sincos.
16542 * benchtests/bench-sincos.c: New file.
16544 * math/libm-test.inc (cos_test_data): New test inputs.
16545 (sin_test_data): Likewise.
16547 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16553 (sloww1): Likewise.
16554 (sloww2): Likewise.
16555 (bsloww1): Likewise.
16556 (bsloww2): Likewise.
16557 (cslow2): Likewise.
16558 (csloww1): Likewise.
16559 (csloww2): Likewise.
16561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16570 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16572 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16573 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16574 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16575 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16576 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16577 * elf/cache.c (print_entry): Handle the new cache flags.
16579 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16580 Aldy Hernandez <aldyh@redhat.com>
16582 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16583 Change condition to [_SOFT_FLOAT].
16584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16596 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16599 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16602 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16605 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16606 (__longjmp): Use LOAD_GP to load saved GPRs.
16607 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16609 (__sigsetjmp): Use SAVE_GP to save GPRs.
16611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16612 Do not append -msoft-float.
16613 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16615 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16617 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16619 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16622 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16623 (_FPU_GETCW): Use initial "__" on variable and field names but not
16624 on macro parameter name.
16625 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16626 parentheses around reference to macro parameter.
16628 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16630 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16632 (ctype_startup): Use uint32_t in cast and sizeof for
16635 2013-09-11 Jia Liu <proljc@gmail.com>
16637 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16639 [__FreeBSD__]: Likewise.
16641 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16644 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16645 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16646 (strchr): Remove __strchr_sse42 ifunc selection.
16647 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16648 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16650 2013-09-11 Will Newton <will.newton@linaro.org>
16652 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16653 parameter to RES. Remove hardcoded 1000 value.
16654 * benchtests/bench-skeleton.c (main): Pass RES parameter
16655 to TIMING_INIT and multiply result by 1000.
16657 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16661 2013-09-11 Andreas Schwab <schwab@suse.de>
16663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16665 (O_TMPFILE) [__USE_GNU]: Define.
16666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16669 2013-09-11 Will Newton <will.newton@linaro.org>
16672 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16675 2013-09-11 Will Newton <will.newton@linaro.org>
16678 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16681 2013-09-11 Will Newton <will.newton@linaro.org>
16684 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16687 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16689 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16695 2013-09-10 Allan McRae <allan@archlinux.org>
16698 * manual/arith.texi (Parsing of Floats): Clarify
16702 * manual/install.texi (Running make install): Mention
16704 * INSTALL: Regenerated.
16706 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16708 * csu/init-first.c (_init): Remove the !SHARED condition around
16709 FPU control word initialization.
16710 * elf/dl-support.c (_dl_fpu_control): New variable.
16711 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16712 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16713 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16714 * math/test-fpucw-static.c: New file.
16715 * math/test-fpucw-ieee.c: New file.
16716 * math/test-fpucw-ieee-static.c: New file.
16717 * math/Makefile (tests): Add `test-fpucw-ieee' and
16719 (tests-static): New variable.
16720 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16722 [($(build-shared),yes)]
16723 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16725 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16728 2013-09-09 Allan McRae <allan@archlinux.org>
16731 * manual/string.texi (Collation Functions): Fix typo in
16733 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16736 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16739 * libio/memstream.c (open_memstream): Fix memory leak.
16740 * libio/wmemstream.c (open_wmemstream): Likewise.
16743 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16745 2013-09-09 Will Newton <will.newton@linaro.org>
16747 * malloc/Makefile: Add tst-realloc to tests.
16748 * malloc/tst-realloc.c: New file.
16750 2013-09-09 Allan McRae <allan@archlinux.org>
16753 * COPYING: Update from GNU website to fix FSF address.
16754 * COPYING.LIB: Likewise.
16756 2013-09-06 David S. Miller <davem@davemloft.net>
16758 * po/zh_TW.po: Update Chinese (traditional) translation from
16759 translation project.
16761 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16762 Joseph Myers <joseph@codesourcery.com>
16764 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16766 (obstack_chunk_alloc): New macro.
16767 (obstack_chunk_free): Likewise.
16768 (record_offset): New function.
16769 (init_locale_data): Likewise.
16770 (align_locale_data): Likewise.
16771 (add_locale_empty): Likewise.
16772 (add_locale_raw_data): Likewise.
16773 (add_locale_raw_obstack): Likewise.
16774 (add_locale_string): Likewise.
16775 (add_locale_wstring): Likewise.
16776 (add_locale_uint32): Likewise.
16777 (add_locale_uint32_array): Likewise.
16778 (add_locale_char): Likewise.
16779 (start_locale_structure): Likewise.
16780 (end_locale_structure): Likewise.
16781 (start_locale_prelude): Likewise.
16782 (end_locale_prelude): Likewise.
16783 (write_locale_data): Take locale_file structure rather than an
16785 * locale/programs/locfile.h: Include "obstack.h".
16786 (struct locale_file): Change to store locale file contents instead
16788 (init_locale_data): New prototype.
16789 (align_locale_data): Likewise.
16790 (add_locale_empty): Likewise.
16791 (add_locale_raw_data): Likewise.
16792 (add_locale_raw_obstack): Likewise.
16793 (add_locale_string): Likewise.
16794 (add_locale_wstring): Likewise.
16795 (add_locale_uint32): Likewise.
16796 (add_locale_uint32_array): Likewise.
16797 (add_locale_char): Likewise.
16798 (start_locale_structure): Likewise.
16799 (end_locale_structure): Likewise.
16800 (start_locale_prelude): Likewise.
16801 (end_locale_prelude): Likewise.
16802 (write_locale_data): Update prototype.
16803 * locale/programs/3level.h (struct TABLE): Remove result field.
16804 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16805 Use new locale_file interface.
16806 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16807 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16808 * locale/programs/ld-address.c (address_output): Use new
16809 locale_file interface.
16810 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16812 (collate_finish): Don't call collseq_table_finalize.
16813 (collate_output): Use new locale_file interface.
16814 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16816 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16817 (TABLE): Move defines earlier in file.
16818 (ELEMENT): Likewise.
16819 (DEFAULT): Likewise.
16820 (wctrans_table_add): Move macro and inline function earlier in
16822 (struct wctype_table): Move type earlier in file.
16823 (add_locale_wctype_table): New static prototype.
16824 (struct locale_ctype_t): Use logical types instead of struct iovec
16825 pointers for members.
16826 (ctype_output): Use new locale_file interface.
16827 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16828 new locale_file interface.
16829 (allocate_arrays): Update for use of new locale_file interface.
16830 * locale/programs/ld-identification.c (identification_output): Use
16831 new locale_file interface.
16832 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16833 * locale/programs/ld-messages.c (messages_output): Likewise.
16834 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16835 * locale/programs/ld-name.c (name_output): Likewise.
16836 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16837 * locale/programs/ld-paper.c (paper_output): Likewise.
16838 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16839 * locale/programs/ld-time.c (time_output): Likewise.
16841 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843 * benchtests/Makefile: Add memrchr benchmark.
16844 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16845 benchmark as memrchr.
16846 * benchtests/bench-memrchr-ifunc.c: New file.
16847 * benchtests/bench-memrchr.c: New file.
16849 2013-09-06 Will Newton <will.newton@linaro.org>
16851 * benchtests/Makefile (string-bench): Add memcpy.
16853 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16854 Cong Wang <amwang@redhat.com>
16857 * sysdeps/unix/sysv/linux/bits/in.h
16858 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16859 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16860 before __USE_KERNEL_IPV6_DEFS uses.
16861 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16863 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16864 sockaddr_in6, or ipv6_mreq.
16866 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16869 memory access for final bytes in some large inputs.
16870 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16872 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16874 * string/test-memrchr.c: New file.
16875 * string/test-memrchr-ifunc.c: New file.
16876 * string/Makefile: Add new memrchr testcase.
16878 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16880 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16881 fanotify_init returns EPERM.
16883 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16885 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16887 (top level): Treat second token from macro or constant entries for
16888 allowed headers as allowed.
16889 * include/complex.h: Condition internal declarations on
16891 * include/fenv.h: Condition include of <stdbool.h> and internal
16892 declarations on [!_ISOMAC].
16894 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16897 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16899 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16901 * configure.in (--enable-versioning): Remove configure option.
16902 (libc_cv_asm_symver_directive): Remove configure test.
16903 (libc_cv_ld_version_script_option): Likewise.
16904 (VERSIONING): Remove variable and AC_SUBST.
16905 (DO_VERSIONING): Remove AC_DEFINE.
16906 * configure: Regenerated.
16907 * config.h.in (DO_VERSIONING): Remove macro.
16908 * Makerules [$(versioning) = yes]: Change conditionals to
16909 [$(build-shared) = yes].
16910 * config.make.in (versioning): Remove variable.
16911 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16912 [$(build-shared) = yes].
16913 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16914 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16915 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16916 [$(build-shared) = yes].
16917 * extra-lib.mk [$(versioning) = yes]: Likewise.
16918 * hurd/Makefile [$(versioning) = yes]: Likewise.
16919 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16921 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16923 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16924 [SHARED && !NO_HIDDEN].
16925 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16927 [SHARED && DO_VERSIONING]: Likewise..
16928 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16929 [$(build-shared) = yes].
16930 * manual/install.texi (--disable-versioning): Remove
16932 * INSTALL: Regenerated.
16933 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16935 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16936 [$(build-shared) = yes].
16937 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16938 * sysdeps/i386/i686/multiarch/strstr-c.c
16939 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16940 [SHARED && !NO_HIDDEN].
16941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16942 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16943 * sysdeps/powerpc/powerpc32/dl-machine.c
16944 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16945 * sysdeps/powerpc/powerpc32/sysdep.h
16946 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16947 to [SHARED && PIC && !NO_HIDDEN].
16948 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16949 conditional to [SHARED].
16951 2013-09-04 Will Newton <will.newton@linaro.org>
16953 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16954 * benchtests/bench-string.h: Include bench-timing.h instead
16955 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16956 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16957 call to HP_TIMING_DIFF_INIT.
16958 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16959 instead of hp-timing.h macros.
16960 * benchtests/bench-memchr.c: Likewise.
16961 * benchtests/bench-memcmp.c: Likewise.
16962 * benchtests/bench-memcpy.c: Likewise.
16963 * benchtests/bench-memmem.c: Likewise.
16964 * benchtests/bench-memmove.c: Likewise.
16965 * benchtests/bench-memset.c: Likewise.
16966 * benchtests/bench-rawmemchr.c: Likewise.
16967 * benchtests/bench-strcasecmp.c: Likewise.
16968 * benchtests/bench-strcasestr.c: Likewise.
16969 * benchtests/bench-strcat.c: Likewise.
16970 * benchtests/bench-strchr.c: Likewise.
16971 * benchtests/bench-strcmp.c: Likewise.
16972 * benchtests/bench-strcpy.c: Likewise.
16973 * benchtests/bench-strcpy_chk.c: Likewise.
16974 * benchtests/bench-strlen.c: Likewise.
16975 * benchtests/bench-strncasecmp.c: Likewise.
16976 * benchtests/bench-strncat.c: Likewise.
16977 * benchtests/bench-strncmp.c: Likewise.
16978 * benchtests/bench-strncpy.c: Likewise.
16979 * benchtests/bench-strnlen.c: Likewise.
16980 * benchtests/bench-strpbrk.c: Likewise.
16981 * benchtests/bench-strrchr.c: Likewise.
16982 * benchtests/bench-strspn.c: Likewise.
16983 * benchtests/bench-strstr.c: Likewise.
16985 2013-09-04 Will Newton <will.newton@linaro.org>
16987 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16989 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16993 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16994 * math/libm-test.inc (lgamma_test_data): Add more tests.
16995 * sysdeps/i386/fpu/libm-test-ulps: Update.
16996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17000 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17004 Add strcmp-sse2-unaligned
17005 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17007 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17009 * Versions.def (libc): Add GLIBC_2.19.
17011 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17013 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17014 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17016 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17019 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17020 intermediate calculations in recurrence.
17021 (__ieee754_ynf): Likewise.
17022 * math/libm-test.inc (jn_test_data): Do not allow spurious
17023 underflow exception. Add more tests.
17024 (yn_test_data): Add more tests.
17025 * sysdeps/i386/fpu/libm-test-ulps: Update.
17026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17032 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17034 * csu/init-first.c: Fix then/than typos.
17035 * locale/programs/ld-collate.c: Likewise.
17036 * locale/programs/linereader.h: Likewise.
17037 * manual/charset.texi: Likewise.
17038 * manual/filesys.texi: Likewise.
17039 * manual/stdio.texi: Likewise.
17040 * manual/string.texi: Likewise.
17041 * stdlib/fmtmsg.c: Likewise.
17042 * sysdeps/i386/stpncpy.S: Likewise.
17043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17044 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17046 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17048 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17050 * elf/dl-open.c: Fix typos.
17051 * iconvdata/gbbig5.c: Likewise.
17052 * iconvdata/iso-2022-jp.c: Likewise.
17053 * iconv/gconv_int.h: Likewise.
17054 * iconv/loop.c: Likewise.
17055 * nis/rpcsvc/nis.h: Likewise.
17056 * resolv/ns_name.c: Likewise.
17057 * stdio-common/vfscanf.c: Likewise.
17058 * streams/stropts.h: Likewise.
17059 * sunrpc/rpc_thread.c: Likewise.
17060 * sysdeps/i386/strpbrk.S: Likewise.
17061 * sysdeps/ieee754/k_standard.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17064 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17065 * sysdeps/mach/hurd/profil.c: Likewise.
17066 * sysdeps/s390/dl-procinfo.h: Likewise.
17067 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17070 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17073 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17075 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17078 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17080 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17081 aix specific files.
17082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17087 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17088 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17091 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17092 Roland McGrath <roland@hack.frob.com>
17094 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17095 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17097 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17099 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17100 __executable_start symbol instead of _start.
17102 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17104 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17105 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17107 * sysdeps/gnu/ldsodefs.h: ... this new file.
17109 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17110 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17111 instead of ELFOSABI_LINUX.
17113 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17114 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17115 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17116 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17118 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17119 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17120 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17123 (ibm_extended_long_double): Add ieee_nan member.
17124 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17125 (do_test): New function.
17127 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17129 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17130 functions, renamed from truncdfsf_test, trunctfsf_test,
17132 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17134 (do_test): Run all these.
17136 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17138 * argp/argp-help.c: Fix typos.
17139 * argp/argp-parse.c: Likewise.
17140 * debug/backtracesyms.c: Likewise.
17141 * elf/elf.h: Likewise.
17142 * malloc/malloc.c: Likewise.
17143 * nis/nis_print.c: Likewise.
17144 * resolv/res_comp.c: Likewise.
17145 * stdlib/stdlib.h: Likewise.
17146 * sunrpc/clnt_tcp.c: Likewise.
17147 * sunrpc/clnt_udp.c: Likewise.
17148 * sunrpc/clnt_unix.c: Likewise.
17149 * sysdeps/unix/bsd/ptsname.c: Likewise.
17150 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17151 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17158 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17160 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17165 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17168 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17169 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17170 ($(objpfx)bug-dl-leaf): New rule.
17171 ($(objpfx)bug-dl-leaf.so): Likewise.
17172 ($(objpfx)bug-dl-leaf.out): Likewise.
17173 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17174 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17175 * dlfcn/bug-dl-leaf.c: New test.
17176 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17177 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17178 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17179 (dlclose): Likewise.
17180 (dlmopen): Likewise.
17182 2013-08-27 Roland McGrath <roland@hack.frob.com>
17184 * include/netdb.h [!_ISOMAC]:
17185 Don't include <tls.h>.
17186 (h_errno, __libc_h_errno): Move declaration and macros out of
17189 * include/resolv.h [_RESOLV_H_]:
17190 Don't include <tls.h>.
17191 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17192 * resolv/res_libc.c: Don't include <tls.h>.
17193 (_res): Use __attribute__ ((nocommon)) in place of
17194 __attribute__ ((section (".bss"))).
17196 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17197 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17199 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17201 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17202 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17204 * resolv/res_mkquery.c: Include <sys/time.h>.
17206 * inet/ifreq.c: Moved to ...
17207 * sysdeps/unix/ifreq.c: ... here.
17208 * inet/ifreq.c: New file, true stub version.
17210 * socket/sa_len.c: New file.
17211 * socket/Makefile (aux): Add it.
17212 * sysdeps/unix/sysv/linux/Makefile
17213 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17214 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17215 and #include <socket/sa_len.c>.
17216 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17217 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17220 * bits/socket.h: ... here.
17222 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17223 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17224 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17226 2013-08-27 Andreas Schwab <schwab@suse.de>
17229 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17230 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17231 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17232 * string/test-strcasecmp.c (test_main): Run tests in several
17234 * string/test-strncasecmp.c (test_main): Likewise.
17236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17237 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17238 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17240 (__strncasecmp_ssse3) [PIC]: Likewise.
17242 2013-08-26 Roland McGrath <roland@hack.frob.com>
17244 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17246 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17247 instead of explicitly declaring xdecrypt.
17248 * nis/nss_nis/nis-publickey.c: Likewise.
17250 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17253 * nscd/aicache.c: Include res_hconf.h.
17254 (addhstaiX): Initialize res_hconf.
17256 2013-08-26 Andreas Schwab <schwab@suse.de>
17258 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17259 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17261 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17263 * nscd/aicache.c (addhstaiX): Fix indentation.
17265 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17267 * configure.ac: Quote $build_pt_chown test.
17268 * configure: Regenerated.
17270 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17273 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17274 * math/s_cexpf.c (__cexpf): Likewise.
17275 * math/s_cexpl.c (__cexpl): Likewise.
17276 * math/libm-test.inc (cexp_test_data): Correct expected return
17277 value for NaN + i0. Add another test.
17279 2013-08-22 David S. Miller <davem@davemloft.net>
17281 * po/ca.po: Update Catalan translation from translation project.
17282 * po/uk.po: Add Ukrainian translations from translation project.
17284 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17287 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17288 is infinite, not alongside NaN test.
17289 * math/s_fdimf.c (__fdimf): Likewise.
17290 * math/s_fdiml.c (__fdiml): Likewise.
17291 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17292 errno is unchanged.
17294 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17296 * argp/argp-help.c: Fix typos.
17297 * crypt/speeds.c: Likewise.
17298 * csu/check_fds.c: Likewise.
17299 * elf/dl-load.c: Likewise.
17300 * elf/dl-open.c: Likewise.
17301 * elf/reldep3.c: Likewise.
17302 * elf/reldep.c: Likewise.
17303 * elf/sprof.c: Likewise.
17304 * iconv/iconv_charmap.c: Likewise.
17305 * iconv/skeleton.c: Likewise.
17306 * iconv/strtab.c: Likewise.
17307 * io/lockf64.c: Likewise.
17308 * libio/libioP.h: Likewise.
17309 * resolv/gai_notify.c: Likewise.
17310 * resolv/ns_name.c: Likewise.
17311 * resolv/ns_samedomain.c: Likewise.
17312 * resolv/res_send.c: Likewise.
17313 * stdlib/random.c: Likewise.
17314 * sunrpc/rpc/xdr.h: Likewise.
17315 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17320 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17323 * sysdeps/mach/hurd/check_fds.c: Likewise.
17324 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17325 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17328 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17330 * sysdeps/pthread/aio_notify.c: Likewise.
17331 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17332 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17334 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17335 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17337 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17339 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17340 version if bit_Slow_SSE4_2 is set.
17341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17344 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17347 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17348 trampoline stack frame information.
17349 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17351 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17352 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17353 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17354 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17355 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17356 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17358 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17359 interrupting a syscall and set with option SA_SIGINFO.
17361 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17364 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17365 argument is infinite.
17366 * math/s_cprojf.c (__cprojf): Likewise.
17367 * math/s_cprojl.c (__cprojl): Likewise.
17368 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17369 * math/libm-test.inc (cproj_test_data): Add more tests.
17371 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17373 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17374 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17375 size. Use __ffs to determine corresponding shift.
17377 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17378 Roland McGrath <roland@hack.frob.com>
17380 * Makefile (INSTALL): Remove trailing blank lines from output of
17383 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17385 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17386 Align 32 bit compat elf_greg to 8 bytes.
17388 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17390 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17392 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17394 * string/strcoll_l.c (coll_seq): New structure.
17395 (get_next_seq_cached): New function.
17396 (get_next_seq): New function.
17397 (do_compare): New function.
17398 (STRCOLL): Use GNU style definition. Simplify implementation
17399 by using get_next_seq, get_next_seq_cached and do_compare.
17401 2013-08-16 Florian Weimer <fweimer@redhat.com>
17405 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17407 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17409 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17410 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17411 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17413 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17414 GETDENTS_64BIT_ALIGNED.
17415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17416 * manual/filesys.texi (Reading/Closing Directory): Document
17417 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17419 * manual/conf.texi (Limits for Files): Add portability note to
17420 NAME_MAX, PATH_MAX.
17421 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17423 2013-08-13 Andreas Schwab <schwab@suse.de>
17426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17428 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17429 LDBL_MAX_EXP >= 16384]: Add tests for it.
17431 2013-08-12 David S. Miller <davem@davemloft.net>
17433 * version.h (RELEASE): Set to "development".
17434 (VERSION): Set to "2.18.90".
17435 * NEWS: Add 2.19 section.
17437 2013-08-03 David S. Miller <davem@davemloft.net>
17439 * po/ko.po: Update Korean translation from translation project.
17441 2013-08-01 David S. Miller <davem@davemloft.net>
17443 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17444 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17447 2013-07-30 David S. Miller <davem@davemloft.net>
17449 * po/fr.po: Update French translation from translation project.
17451 2013-07-28 David S. Miller <davem@davemloft.net>
17453 * po/cs.po: Update Czech translation from translation project.
17455 * po/sv.po: Update Swedish translation from translation project.
17457 2013-07-27 David S. Miller <davem@davemloft.net>
17459 * po/eo.po: Update Esperanto translation from translation project.
17461 * po/vi.po: Update Vietnamese translation from translation project.
17463 * po/de.po: Update German translation from translation project.
17465 2013-07-26 David S. Miller <davem@davemloft.net>
17467 * po/bg.po: Update Bulgarian translation from translation project.
17469 * po/nl.po: Update Dutch translation from translation project.
17470 * po/pl.po: Update Polish translation from translation project.
17471 * po/ru.po: Update Russian translation from translation project.
17473 2013-07-24 David S. Miller <davem@davemloft.net>
17475 * po/libc.pot: Update.
17477 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17479 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17480 variable page size.
17481 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17485 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17487 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17489 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17490 Andreas Schwab <schwab@suse.de>
17491 Roland McGrath <roland@hack.frob.com>
17492 Joseph Myers <joseph@codesourcery.com>
17493 Carlos O'Donell <carlos@redhat.com>
17496 * config.h.in: Define HAVE_PT_CHOWN.
17497 * config.make.in (build-pt-chown): New variable.
17498 * configure.in (--enable-pt_chown): New configure option.
17499 * configure: Regenerate.
17500 * login/Makefile: Include Makeconfig. Build pt_chown only if
17501 build-pt-chown is enabled.
17502 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17503 pt_chown to fix pty ownership.
17504 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17506 * manual/install.texi (Configuring and compiling): Mention
17507 --enable-pt_chown. Add @findex for grantpt.
17508 * INSTALL: Regenerate.
17510 2013-07-20 David S. Miller <davem@davemloft.net>
17512 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17513 difference between 32-bit and 64-bit.
17515 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17518 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17519 Avoid system header dependency with -ffreestanding.
17520 ($(objpfx)bits/syscall%d): Likewise.
17522 2013-07-13 David S. Miller <davem@davemloft.net>
17524 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17525 underflows from atanl/atan2l due to bug 15319.
17526 (casinh_test_data): Likewise.
17528 2013-07-07 David S. Miller <davem@davemloft.net>
17530 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17532 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17534 * sysdeps/i386/fpu/libm-test-ulps: Update.
17535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17537 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17539 * configure.in (--enable-lock-elision): Fix message text.
17540 * INSTALL: Regenerate.
17541 * configure: Regenerate.
17543 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17547 2013-07-03 Andreas Jaeger <aj@suse.de>
17549 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17551 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17552 (ptrace_peeksiginfo_args): Add.
17553 (__ptrace_peeksiginfo_flags): Add.
17554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17558 2013-07-03 Allan McRae <allan@archlinux.org>
17560 * sysdeps/i386/fpu/libm-test-ulps: Update.
17562 2013-07-02 David S. Miller <davem@davemloft.net>
17564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17566 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17570 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17572 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17575 2013-07-02 Andi Kleen <ak@linux.intel.com>
17577 * config.h.in (ENABLE_LOCK_ELISION): Add.
17578 * configure.in (--enable-lock-elision): Add option.
17579 * manual/install.texi: Document --enable lock elision.
17580 * configure: Regenerate
17581 * INSTALL: Regenerate.
17583 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17585 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17586 SSE4.2 strcasecmp for libc.a.
17587 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17589 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17592 * soft-fp/op-common.h (_FP_FMA): New macro.
17593 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17594 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17595 (_FP_MUL_MEAT_1_imm): ... here.
17596 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17597 (_FP_MUL_MEAT_1_wide): ... here.
17598 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17599 (_FP_MUL_MEAT_1_hard): ... here.
17600 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17601 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17602 (_FP_MUL_MEAT_2_wide): ... here.
17603 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17604 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17605 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17606 (_FP_MUL_MEAT_2_gmp): ... here.
17607 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17608 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17609 (_FP_MUL_MEAT_4_wide): ... here.
17610 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17611 (_FP_MUL_MEAT_4_gmp): ... here.
17612 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17613 (_FP_WFRACBITS_DW_S): Likewise.
17614 (_FP_WFRACXBITS_DW_S): Likewise.
17615 (_FP_HIGHBIT_DW_S): Likewise.
17616 (FP_FMA_S): Likewise.
17617 (_FP_FRAC_HIGH_DW_S): Likewise.
17618 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17619 (_FP_WFRACBITS_DW_D): Likewise.
17620 (_FP_WFRACXBITS_DW_D): Likewise.
17621 (_FP_HIGHBIT_DW_D): Likewise.
17622 (FP_FMA_D): Likewise.
17623 (_FP_FRAC_HIGH_DW_D): Likewise.
17624 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17625 (_FP_WFRACBITS_DW_E): Likewise.
17626 (_FP_WFRACXBITS_DW_E): Likewise.
17627 (_FP_HIGHBIT_DW_E): Likewise.
17628 (FP_FMA_E): Likewise.
17629 (_FP_FRAC_HIGH_DW_E): Likewise.
17630 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17631 (_FP_WFRACBITS_DW_Q): Likewise.
17632 (_FP_WFRACXBITS_DW_Q): Likewise.
17633 (_FP_HIGHBIT_DW_Q): Likewise.
17634 (FP_FMA_Q): Likewise.
17635 (_FP_FRAC_HIGH_DW_Q): Likewise.
17636 * soft-fp/fmasf4.c: New file.
17637 * soft-fp/fmadf4.c: Likewise.
17638 * soft-fp/fmatf4.c: Likewise.
17640 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17643 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17647 (index_Slow_SSE4_2): Likewise.
17648 (index_Prefer_PMINUB_for_stringop): Likewise.
17649 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17650 bit_Slow_SSE4_2 is set.
17651 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17654 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17656 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17657 rtld_global._dl_hwcap2.
17658 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17660 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17661 POWER8 feature descriptions defined in _dl_hwcap2.
17662 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17663 string handling for POWER8 feature bits.
17664 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17665 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17666 _dl_powerpc_cap_flags.
17667 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17668 * sysdeps/powerpc/rtld-global-offsets.sym
17669 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17670 _dl_hwcap2 in the rtld_global_ro structure.
17672 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17674 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17675 hardware capabilities in support of AT_HWCAP2.
17676 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17677 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17679 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17680 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17681 explicitly the unknown a_type display mechanism is used.
17682 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17683 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17685 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17686 to macro prototype for AT_HWCAP2 support.
17687 * sysdeps/i386/dl-procinfo.h: Likewise.
17688 * sysdeps/s390/dl-procinfo.h: Likewise.
17689 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17690 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17691 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17692 return -1 for unknown a_type display fallback.
17693 * sysdeps/sparc/dl-procinfo.h: Likewise.
17694 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17695 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17697 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17700 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17702 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17705 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17706 mprotect making __stack_prot writable.
17708 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17709 Joseph Myers <joseph@codesourcery.com>
17711 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17712 as being properly aligned.
17714 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17716 * dlfcn/modstatic5.c: New file.
17717 * dlfcn/tststatic5.c: New file.
17718 * dlfcn/Makefile (tests): Add tststatic5.
17719 (tests-static): Likewise.
17720 (modules-names): Add modstatic5.
17721 (tststatic5-ENV): New variable.
17722 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17725 * elf/dl-support.c (_dl_main_map): New variable.
17726 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17727 (_dl_nns, _dl_load_adds): Set to 1.
17728 (_dl_initial_searchlist): Refer to _dl_main_map.
17729 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17730 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17731 call to _dl_get_origin.
17732 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17734 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17735 * dlfcn/modstatic3.c: New file.
17736 * dlfcn/tststatic3.c: New file.
17737 * dlfcn/tststatic4.c: New file.
17738 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17739 (tests-static): Likewise.
17740 (modules-names): Add modstatic3.
17741 (tststatic3-ENV, tststatic4-ENV): New variables.
17742 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17743 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17745 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17747 * configure.in (CC): Require GCC version 4.4 or later.
17748 * configure: Regenerated.
17749 * manual/install.texi (Tools for Compilation): Update GCC version
17751 * INSTALL: Regenerated.
17753 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17756 * string/test-memcmp.c (check2): New.
17757 (main): Call check2.
17759 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17761 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17764 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17766 (dl_open_worker) [!SHARED]: ... here.
17768 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17770 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17772 2013-06-25 Richard Henderson <rth@redhat.com>
17774 * locale/programs/locarchive.c: Include <libc-internal.h>
17776 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17778 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17779 trailing whitespace removed.
17781 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17784 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17785 * locale/programs/locarchive.c: Include libc-mmap.h.
17786 (prepare_address_space): Take two new outputs (the mmap base and len).
17787 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17789 (create_archive): Declare new mmap base and len values for
17790 prepare_address_space, and store the result in ah.
17791 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17792 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17793 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17794 Declare new mmap base and len values for
17795 prepare_address_space, and store the result in new_ah.
17796 (open_archive): Declare new mmap base and len values for
17797 prepare_address_space, and store the result in ah.
17798 (close_archive): If ah->mmap_base is not NULL, use that and
17799 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17800 * sysdeps/generic/libc-mmap.h: New file.
17802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17804 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17805 (ALIGN_UP): Likewise.
17806 (PTR_ALIGN_DOWN): Likewise.
17807 (PTR_ALIGN_UP): Likewise.
17809 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17812 entry mapped to PPC_PLATFORM_POWER8.
17813 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17815 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17816 (_dl_string_platform): Add case for exporting platform position for
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17819 search path to sysdeps/powerpc/powerpc32/power8 directory.
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17821 search path to sysdeps/powerpc/powerpc64/power8 directory.
17822 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17823 power7 directories.
17824 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17825 power7 directories.
17827 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17829 * INSTALL: Regenerate.
17831 * nscd/connections.c (nscd_init): Fix comment.
17833 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17835 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17838 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17839 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17841 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17843 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17845 (DL_DST_REQ_STATIC): Remove macro.
17847 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17850 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17851 with a shift of 0 bits.
17853 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17855 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17858 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17861 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17863 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17865 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17866 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17867 accepts -fno-tree-loop-distribute-patterns.
17868 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17869 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17871 * string/memset.c (memset): Likewise.
17872 * string/test-memmove.c (simple_memmove): Disable loop transformation
17874 * string/test-memset.c (simple_memset): Likewise.
17875 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17876 * benchtests/bench-memset.c (simple_memset): Likewise.
17877 * configure: Regenerated.
17879 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17881 * math/test-misc.c (main): Ignore fesetround failure when failures
17882 of subsequent rounding tests would be ignored.
17885 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17886 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17887 * math/fegetenv.c (__fegetenv): Return 0.
17888 * math/fegetexcept.c (fegetexcept): Return 0.
17889 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17891 * math/feholdexcpt.c (feholdexcept): Return 0.
17892 * math/fesetenv.c (__fesetenv): Return 0.
17893 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17894 argument FE_TONEAREST.
17895 * math/feupdateenv.c (__feupdateenv): Return 0.
17896 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17898 2013-06-18 Roland McGrath <roland@hack.frob.com>
17900 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17901 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17902 ($(objpfx)rtld-%.os rules): Use them.
17904 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17909 2013-06-17 Roland McGrath <roland@hack.frob.com>
17911 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17912 length of target pattern, then descending length of dependency pattern.
17913 * configure.in (AWK): Require gawk 3.1.2 or newer.
17914 * manual/install.texi (Tools for Compilation): Say that we do.
17915 * configure: Regenerated.
17917 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17918 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17919 * scripts/sysd-rules.awk: ... this new script.
17920 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17921 than a glob-style pattern.
17923 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17925 * math/test-misc.c (main): Do not treat incorrectly rounded
17926 conversions as failure unless ROUNDING_TESTS passes.
17928 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17931 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17932 restore exception state around main square root computation, then
17933 check for inexactness explicitly.
17935 * math/libm-test.inc (fma_test_data): Add another test.
17937 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 * manual/threads.texi (Non-POSIX Extensions): New document
17940 node. Document pthread_getattr_default_np and
17941 pthread_setattr_default_np.
17943 * Versions.def (libpthread): Add GLIBC_2.18.
17944 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17964 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17967 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17969 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17970 H.J. Lu <hjl.tools@gmail.com>
17973 * sysdeps/x86_64/rtld-memset.c: Remove file.
17974 * sysdeps/x86_64/rtld-memset.S: New file.
17976 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17978 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17979 (test_in_one_mode): Take arguments for whether the rounding mode
17980 is supported for each floating-point type.
17981 (do_test): Pass new arguments to test_in_one_mode using
17984 2013-06-13 Roland McGrath <roland@hack.frob.com>
17986 * posix/tst-waitid.c (do_test): Distinguish different instances of
17987 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17988 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17989 before entering the kernel for waitpid.
17991 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17993 * NEWS: Fix note on clock function precision. Text by Roland
17996 2013-06-13 Roland McGrath <roland@hack.frob.com>
17998 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17999 it into place only when and if the sanity check passes.
18001 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18003 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18004 output for whether conversion result is exact. Take argument
18005 indicating whether type is IBM long double.
18006 (round_for_all): Change need_exact field to ibm_ld.
18007 * stdlib/tst-strtod-round.c (struct exactness): New type.
18008 (struct test): Change bool ld_ok field to struct exactness exact.
18009 (TEST): Update all definitions for change to field.
18010 (tests): Regenerate array contents.
18011 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18012 field value. Check for IBM long double here.
18013 (do_test): Update calls to test_in_one_mode.
18015 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18018 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18019 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18021 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18024 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18025 generated by the compiler on loop optimizations.
18026 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18027 general definitions.
18029 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18031 * math/bug-nextafter.c: Include <math-tests.h>.
18032 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18034 * math/bug-nexttoward.c: Include <math-tests.h>.
18035 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18037 * math/test-misc.c: Include <math-tests.h>.
18038 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18041 2013-06-12 Andreas Jaeger <aj@suse.de>
18043 * po/ia.po: Update Interlingua translation from translation
18046 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18048 * include/fenv.h: Include stdbool.h.
18049 (struct rm_ctx): New structure.
18050 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18052 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18053 (SET_RESTORE_ROUNDF): Likewise.
18054 (SET_RESTORE_ROUNDL): Likewise.
18055 (SET_RESTORE_ROUND_NOEX): Likewise.
18056 (SET_RESTORE_ROUND_NOEXF): Likewise.
18057 (SET_RESTORE_ROUND_NOEXL): Likewise.
18058 (SET_RESTORE_ROUND_53BIT): Likewise.
18059 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18060 (libc_feresetround_noexf_ctx): Likewise.
18061 (libc_feresetround_noexl_ctx): Likewise.
18062 (libc_feholdsetround_53bit_ctx): Likewise.
18063 (libc_feresetround_53bit_ctx): Likewise.
18064 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18065 (libc_feholdexcept_setround_sse_ctx): New function.
18066 (libc_fesetenv_sse_ctx): Likewise.
18067 (libc_feupdateenv_sse_ctx): Likewise.
18068 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18069 (libc_feholdexcept_setround_387_ctx): Likewise.
18070 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18071 (libc_feholdsetround_387_prec_ctx): Likewise.
18072 (libc_feholdsetround_387_ctx): Likewise.
18073 (libc_feholdsetround_387_53bit_ctx): Likewise.
18074 (libc_feholdsetround_sse_ctx): Likewise.
18075 (libc_feresetround_sse_ctx): Likewise.
18076 (libc_feresetround_387_ctx): Likewise.
18077 (libc_feupdateenv_387_ctx): Likewise.
18078 (libc_feholdexcept_setroundf_ctx): Define macro.
18079 (libc_fesetenvf_ctx): Likewise.
18080 (libc_feupdateenvf_ctx): Likewise.
18081 (libc_feholdsetroundf_ctx): Likewise.
18082 (libc_feresetroundf_ctx): Likewise.
18083 (libc_feholdexcept_setround_ctx): Likewise.
18084 (libc_fesetenv_ctx): Likewise.
18085 (libc_feupdateenv_ctx): Likewise.
18086 (libc_feholdsetround_ctx): Likewise.
18087 (libc_feresetround_ctx): Likewise.
18088 (libc_feholdexcept_setroundl_ctx): Likewise.
18089 (libc_feupdateenvl_ctx): Likewise.
18090 (libc_feholdsetroundl_ctx): Likewise.
18091 (libc_feresetroundl_ctx): Likewise.
18092 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18093 (libc_feresetround_53bit_ctx): Likewise.
18095 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18097 * locale/iso-639.def: Convert to UTF-8.
18099 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18101 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18102 (EXCEPTION_TESTS_double): Likewise.
18103 (EXCEPTION_TESTS_long_double): Likewise.
18104 (EXCEPTION_TESTS): Likewise.
18105 * math/libm-test.inc (test_exceptions): Only test exceptions if
18106 EXCEPTION_TESTS (FLOAT).
18108 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18110 * benchtests/Makefile (string-bench): Add strcpy_chk and
18112 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18113 * benchtests/bench-stpcpy_chk.c: New file.
18114 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18115 * benchtests/bench-strcpy_chk.c: New file.
18116 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18118 (do_test): Likewise.
18120 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18122 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18123 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18124 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18125 with tabs where appropriate.
18126 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18128 [PPC_PLATFORM_PPC440]: Likewise.
18129 [PPC_PLATFORM_PPC464]: Likewise.
18130 [PPC_PLATFORM_PPC476]: Likewise.
18131 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18132 ppc464, and ppc476 platform strings merging from ports/
18135 2013-06-11 Andreas Schwab <schwab@suse.de>
18138 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18139 (from_ucs4_idx): Regenerate.
18140 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18141 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18142 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18143 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18144 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18145 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18146 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18147 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18148 from FROM_LOOP and TO_LOOP specific macros.
18149 (BODY): Handle combining characters.
18150 * iconvdata/BIG5HKSCS.irreversible: Update.
18151 * iconvdata/BIG5HKSCS.precomposed: New file.
18152 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18154 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18156 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18158 * include/sys/time.h: Fix indentation and add copyright header.
18160 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18161 (do_test): Likewise.
18162 * string/test-memchr.c (do_one_test): Likewise.
18163 (do_test): Likewise.
18164 * string/test-memcmp.c (do_one_test): Likewise.
18165 (do_test): Likewise.
18166 * string/test-memcpy.c (do_one_test): Likewise.
18167 (do_test): Likewise.
18168 * string/test-memmem.c (do_one_test): Likewise.
18169 (do_test): Likewise.
18170 (do_random_tests): Likewise.
18171 * string/test-memmove.c (do_one_test): Likewise.
18172 (do_test): Likewise.
18173 * string/test-memset.c (do_one_test): Likewise.
18174 (do_test): Likewise.
18175 * string/test-rawmemchr.c (do_one_test): Likewise.
18176 (do_test): Likewise.
18177 * string/test-strcasecmp.c (do_one_test): Likewise.
18178 (do_test): Likewise.
18179 * string/test-strcasestr.c (do_one_test): Likewise.
18180 (do_test): Likewise.
18181 * string/test-strcat.c (do_one_test): Likewise.
18182 (do_test): Likewise.
18183 * string/test-strchr.c (do_one_test): Likewise.
18184 (do_test): Likewise.
18185 * string/test-strcmp.c (do_one_test): Likewise.
18186 (do_test): Likewise.
18187 * string/test-strcpy.c (do_one_test): Likewise.
18188 (do_test): Likewise.
18189 * string/test-string.h: Likewise.
18190 (test_init): Likewise.
18191 * string/test-strlen.c (do_one_test): Likewise.
18192 (do_test): Likewise.
18193 * string/test-strncasecmp.c (do_one_test): Likewise.
18194 (do_test): Likewise.
18195 * string/test-strncat.c (do_one_test): Likewise.
18196 (do_test): Likewise.
18197 * string/test-strncmp.c (do_one_test): Likewise.
18198 (do_test_limit): Likewise.
18199 (do_test): Likewise.
18200 * string/test-strncpy.c (do_one_test): Likewise.
18201 (do_test): Likewise.
18202 * string/test-strnlen.c (do_one_test): Likewise.
18203 (do_test): Likewise.
18204 * string/test-strpbrk.c (do_one_test): Likewise.
18205 (do_test): Likewise.
18206 * string/test-strrchr.c (do_one_test): Likewise.
18207 (do_test): Likewise.
18208 * string/test-strspn.c (do_one_test): Likewise.
18209 (do_test): Likewise.
18210 * string/test-strstr.c (do_one_test): Likewise.
18211 (do_test): Likewise.
18213 * benchtests/Makefile (string-bench): Add string benchmarks.
18214 * benchtests/bench-bcopy-ifunc.c: New file.
18215 * benchtests/bench-bcopy.c: New file.
18216 * benchtests/bench-bzero-ifunc.c: New file.
18217 * benchtests/bench-bzero.c: New file.
18218 * benchtests/bench-memccpy-ifunc.c: New file.
18219 * benchtests/bench-memccpy.c: New file.
18220 * benchtests/bench-memchr-ifunc.c: New file.
18221 * benchtests/bench-memchr.c: New file.
18222 * benchtests/bench-memcmp-ifunc.c: New file.
18223 * benchtests/bench-memcmp.c: New file.
18224 * benchtests/bench-memmem-ifunc.c: New file.
18225 * benchtests/bench-memmem.c: New file.
18226 * benchtests/bench-memmove-ifunc.c: New file.
18227 * benchtests/bench-memmove.c: New file.
18228 * benchtests/bench-mempcpy-ifunc.c: New file.
18229 * benchtests/bench-mempcpy.c: New file.
18230 * benchtests/bench-memset-ifunc.c: New file.
18231 * benchtests/bench-memset.c: New file.
18232 * benchtests/bench-rawmemchr-ifunc.c: New file.
18233 * benchtests/bench-rawmemchr.c: New file.
18234 * benchtests/bench-stpcpy-ifunc.c: New file.
18235 * benchtests/bench-stpcpy.c: New file.
18236 * benchtests/bench-stpncpy-ifunc.c: New file.
18237 * benchtests/bench-stpncpy.c: New file.
18238 * benchtests/bench-strcasecmp-ifunc.c: New file.
18239 * benchtests/bench-strcasecmp.c: New file.
18240 * benchtests/bench-strcasestr-ifunc.c: New file.
18241 * benchtests/bench-strcasestr.c: New file.
18242 * benchtests/bench-strcat-ifunc.c: New file.
18243 * benchtests/bench-strcat.c: New file.
18244 * benchtests/bench-strchr-ifunc.c: New file.
18245 * benchtests/bench-strchr.c: New file.
18246 * benchtests/bench-strchrnul-ifunc.c: New file.
18247 * benchtests/bench-strchrnul.c: New file.
18248 * benchtests/bench-strcmp-ifunc.c: New file.
18249 * benchtests/bench-strcmp.c: New file.
18250 * benchtests/bench-strcpy-ifunc.c: New file.
18251 * benchtests/bench-strcpy.c: New file.
18252 * benchtests/bench-strcspn-ifunc.c: New file.
18253 * benchtests/bench-strcspn.c: New file.
18254 * benchtests/bench-strlen-ifunc.c: New file.
18255 * benchtests/bench-strlen.c: New file.
18256 * benchtests/bench-strncasecmp-ifunc.c: New file.
18257 * benchtests/bench-strncasecmp.c: New file.
18258 * benchtests/bench-strncat-ifunc.c: New file.
18259 * benchtests/bench-strncat.c: New file.
18260 * benchtests/bench-strncmp-ifunc.c: New file.
18261 * benchtests/bench-strncmp.c: New file.
18262 * benchtests/bench-strncpy-ifunc.c: New file.
18263 * benchtests/bench-strncpy.c: New file.
18264 * benchtests/bench-strnlen-ifunc.c: New file.
18265 * benchtests/bench-strnlen.c: New file.
18266 * benchtests/bench-strpbrk-ifunc.c: New file.
18267 * benchtests/bench-strpbrk.c: New file.
18268 * benchtests/bench-strrchr-ifunc.c: New file.
18269 * benchtests/bench-strrchr.c: New file.
18270 * benchtests/bench-strspn-ifunc.c: New file.
18271 * benchtests/bench-strspn.c: New file.
18272 * benchtests/bench-strstr-ifunc.c: New file.
18273 * benchtests/bench-strstr.c: New file.
18275 * benchtests/Makefile: Disable parallel execution of targets.
18276 (string-bench): Add memcpy.
18277 (benchset): New variable to store a list of benchmark sets.
18278 (bench-func): Renamed from bench.
18279 (bench-set): New target.
18280 (bench): Depend on bench-func and bench-set.
18281 * benchtests/README: Add section on benchmark sets.
18282 * benchtests/bench-memcpy-ifunc.c: New file.
18283 * benchtests/bench-memcpy.c: New file.
18284 * benchtests/bench-string.h: New file.
18286 2013-06-11 Andreas Schwab <schwab@suse.de>
18289 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18290 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18291 values in the triple.
18292 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18293 terminator in the group key.
18295 2013-06-11 Andreas Jaeger <aj@suse.de>
18297 * po/zh_TW.po: Update Chinese (traditional) translation from
18298 translation project.
18300 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18302 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18303 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18304 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18306 (clock_getcpuclockid): Likewise.
18307 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18308 Add weak_alias and libc_hidden_def.
18309 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18310 * rt/clock_gettime.c (clock_gettime): Rename to
18311 __clock_gettime. Add weak_alias and libc_hidden_def.
18312 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18313 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18314 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18315 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18316 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18318 * rt/clock_settime.c (clock_settime): Rename to
18319 __clock_settime. Add weak_alias and libc_hidden_def.
18320 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18322 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18324 * mach/err_boot.sub: Remove trailing whitespace.
18325 * mach/err_ipc.sub: Likewise.
18326 * mach/err_mach.sub: Likewise.
18328 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18329 (ROUNDING_TESTS_double): Likewise.
18330 (ROUNDING_TESTS_long_double): Likewise.
18331 (ROUNDING_TESTS): Likewise.
18332 * math/libm-test.inc: Include <math-tests.h>.
18333 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18334 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18335 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18336 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18338 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18340 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18343 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18345 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18346 otherwise empty TRANS lines.
18347 * sysdeps/gnu/errlist.c: Regenerated.
18349 * catgets/gencat.c (error_print): Use (void) in function
18351 * crypt/crypt_util.c (__init_des): Likewise.
18352 * crypt/speeds.c (Stop): Likewise.
18354 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18355 * inet/ruserpass.c (token): Likewise.
18356 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18357 * intl/localealias.c (extend_alias_table): Likewise.
18358 * intl/plural-exp.c (init_germanic_plural): Likewise.
18359 * libio/fcloseall.c (__fcloseall): Likewise.
18360 * libio/genops.c (_IO_flush_all): Likewise.
18361 (_IO_flush_all_linebuffered): Likewise.
18362 (_IO_cleanup): Likewise.
18363 (_IO_iter_begin): Likewise.
18364 (_IO_iter_end): Likewise.
18365 (_IO_list_lock): Likewise.
18366 (_IO_list_unlock): Likewise.
18367 (_IO_list_resetlock): Likewise.
18368 * libio/getchar.c (getchar): Likewise.
18369 * libio/getchar_u.c (getchar_unlocked): Likewise.
18370 * libio/getwchar.c (getwchar): Likewise.
18371 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18372 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18373 * login/getpt.c (__getpt): Likewise.
18374 * login/tst-utmp.c (main): Likewise.
18375 * malloc/hooks.c (__malloc_check_init): Likewise.
18376 * malloc/malloc.c (__malloc_stats): Likewise.
18377 * malloc/mtrace.c (tr_break): Likewise.
18378 (mtrace): Likewise.
18379 (muntrace): Likewise.
18380 * misc/fstab.c (endfsent): Likewise.
18381 * misc/getclktck.c (__getclktck): Likewise.
18382 * misc/getdtsz.c (__getdtablesize): Likewise.
18383 * misc/gethostid.c (gethostid): Likewise.
18384 * misc/getpagesize.c (__getpagesize): Likewise.
18385 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18386 (__get_nprocs): Likewise.
18387 (__get_phys_pages): Likewise.
18388 (__get_avphys_pages): Likewise.
18389 * misc/getttyent.c (getttyent): Likewise.
18390 (setttyent): Likewise.
18391 (endttyent): Likewise.
18392 * misc/getusershell.c (getusershell): Likewise.
18393 (endusershell): Likewise.
18394 (setusershell): Likewise.
18395 (initshells): Likewise.
18396 * misc/hsearch.c (__hdestroy): Likewise.
18397 * misc/sync.c (sync): Likewise.
18398 * misc/syslog.c (closelog_internal): Likewise.
18399 (closelog): Likewise.
18400 * misc/ttyslot.c (ttyslot): Likewise.
18401 * misc/vhangup.c (vhangup): Likewise.
18402 * posix/fork.c (__fork): Likewise.
18403 * posix/getegid.c (__getegid): Likewise.
18404 * posix/geteuid.c (__geteuid): Likewise.
18405 * posix/getgid.c (__getgid): Likewise.
18406 * posix/getpid.c (__getpid): Likewise.
18407 * posix/getppid.c (__getppid): Likewise.
18408 * posix/getuid.c (__getuid): Likewise.
18409 * posix/pause.c (pause): Likewise.
18410 * posix/setpgrp.c (setpgrp): Likewise.
18411 * posix/setsid.c (__setsid): Likewise.
18412 * posix/test-vfork.c (noop): Likewise.
18413 * resolv/gethnamaddr.c (_endhtent): Likewise.
18414 (_gethtent): Likewise.
18415 (ht_endhostent): Likewise.
18416 (gethostent): Likewise.
18417 (dns_service): Likewise.
18418 * stdlib/drand48.c (drand48): Likewise.
18419 * stdlib/lrand48.c (lrand48): Likewise.
18420 * stdlib/mrand48.c (mrand48): Likewise.
18421 * stdlib/rand.c (rand): Likewise.
18422 * stdlib/random.c (__random): Likewise.
18423 * stdlib/setenv.c (clearenv): Likewise.
18424 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18425 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18426 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18427 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18428 (__get_nprocs): Likewise.
18429 (__get_phys_pages): Likewise.
18430 (__get_avphys_pages): Likewise.
18431 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18432 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18433 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18434 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18435 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18436 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18437 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18438 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18439 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18440 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18441 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18442 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18443 * sysdeps/posix/clock.c (clock): Likewise.
18444 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18445 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18446 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18447 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18448 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18450 (__get_nprocs_conf): Likewise.
18451 (__get_phys_pages): Likewise.
18452 (__get_avphys_pages): Likewise.
18453 * time/clock.c (clock): Likewise.
18454 * time/tzset.c (__tzname_max): Likewise.
18456 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18458 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18459 (__bswap_32): Do not use "register".
18460 * crypt/crypt.c (_ufc_doit_r): Likewise.
18461 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18462 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18463 * gmon/gmon.c (__monstartup): Likewise.
18464 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18465 * hurd/hurdmalloc.c (more_memory): Likewise.
18466 (malloc): Likewise.
18468 (realloc): Likewise.
18469 (malloc_fork_prepare): Likewise.
18470 (malloc_fork_parent): Likewise.
18471 (malloc_fork_child): Likewise.
18472 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18473 (_svcauth_des): Likewise.
18474 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18475 * inet/inet_net.c (inet_network): Likewise.
18476 * inet/inet_netof.c (inet_netof): Likewise.
18477 * inet/rcmd.c (__validuser2_sa): Likewise.
18478 * io/fts.c (fts_open): Likewise.
18479 (fts_load): Likewise.
18480 (fts_close): Likewise.
18481 (fts_read): Likewise.
18482 (fts_children): Likewise.
18483 (fts_build): Likewise.
18484 (fts_stat): Likewise.
18485 (fts_sort): Likewise.
18486 (fts_alloc): Likewise.
18487 (fts_lfree): Likewise.
18488 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18489 (_IO_file_xsgetn): Likewise.
18490 (_IO_file_xsgetn_mmap): Likewise.
18491 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18492 (_IO_cookie_write): Likewise.
18493 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18494 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18495 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18496 * malloc/obstack.c (_obstack_begin): Likewise.
18497 (_obstack_begin_1): Likewise.
18498 (_obstack_newchunk): Likewise.
18499 (_obstack_allocated_p): Likewise.
18500 (obstack_free): Likewise.
18501 (_obstack_memory_used): Likewise.
18502 * misc/getttyent.c (getttynam): Likewise.
18503 (getttyent): Likewise.
18506 * misc/getusershell.c (initshells): Likewise.
18507 * misc/syslog.c (__vsyslog_chk): Likewise.
18508 * misc/ttyslot.c (ttyslot): Likewise.
18509 * nis/nis_hash.c (__nis_hash): Likewise.
18510 * posix/fnmatch_loop.c (FCT): Likewise.
18511 * posix/getconf.c (print_all): Likewise.
18513 * posix/getopt.c (exchange): Likewise.
18514 * posix/glob.c (globfree): Likewise.
18515 (prefix_array): Likewise.
18516 (__glob_pattern_type): Likewise.
18517 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18518 (NS_GET32): Likewise.
18519 (NS_PUT16): Likewise.
18520 (NS_PUT32): Likewise.
18521 * resolv/gethnamaddr.c (getanswer): Likewise.
18522 (gethostbyname2): Likewise.
18523 (gethostbyaddr): Likewise.
18524 (_gethtent): Likewise.
18525 (_gethtbyname2): Likewise.
18526 (_gethtbyaddr): Likewise.
18527 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18528 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18529 * resolv/res_init.c (__res_vinit): Likewise.
18530 (net_mask): Likewise.
18531 * resolv/res_mkquery.c (outchar): Likewise.
18533 * stdio-common/printf_fp.c (outchar): Likewise.
18535 * stdio-common/printf_fphex.c (outchar): Likewise.
18537 * stdio-common/printf_size.c (outchar): Likewise.
18539 * stdio-common/test_rdwr.c (main): Likewise.
18540 * stdio-common/tfformat.c (matches): Likewise.
18541 * stdio-common/vfprintf.c (outchar): Likewise.
18542 (printf_unknown): Likewise.
18543 (buffered_vfprintf): Likewise.
18544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18545 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18546 (ReadFile): Likewise.
18547 * stdlib/qsort.c (SWAP): Likewise.
18548 (_quicksort): Likewise.
18549 * stdlib/setenv.c (__add_to_environ): Likewise.
18550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18551 * stdlib/strtol_l.c (__strtol_l): Likewise.
18552 * stdlib/tst-strtod.c (main): Likewise.
18553 * stdlib/tst-strtol.c (main): Likewise.
18554 * stdlib/tst-strtoll.c (main): Likewise.
18555 * string/bits/string2.h (__strcmp_cc): Likewise.
18556 (__strcmp_cg): Likewise.
18557 (__strcspn_c1): Likewise.
18558 (__strcspn_c2): Likewise.
18559 (__strcspn_c3): Likewise.
18560 (__strspn_c1): Likewise.
18561 (__strspn_c2): Likewise.
18562 (__strspn_c3): Likewise.
18563 (__strsep_1c): Likewise.
18564 (__strsep_2c): Likewise.
18565 (__strsep_3c): Likewise.
18566 * string/memccpy.c (__memccpy): Likewise.
18567 * string/stpcpy.c (__stpcpy): Likewise.
18568 * string/strcmp.c (strcmp): Likewise.
18569 * string/strrchr.c (strrchr): Likewise.
18570 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18572 * sysdeps/mach/hurd/getcwd.c
18573 (_hurd_canonicalize_directory_name_internal): Likewise.
18574 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18575 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18576 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18577 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18578 Likewise, in both definitions.
18579 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18581 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18582 64] (__bswap_64): Likewise.
18583 * time/test_time.c (main): Likewise.
18584 * time/tzfile.c (__tzfile_read): Likewise.
18585 (__tzfile_compute): Likewise.
18586 * time/tzset.c (__tzset_parse_tz): Likewise.
18587 (tzset_internal): Likewise.
18588 (compute_change): Likewise.
18589 * wcsmbs/wcscat.c (__wcscat): Likewise.
18590 * wcsmbs/wcschr.c (wcschr): Likewise.
18591 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18592 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18593 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18594 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18595 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18596 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18597 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18598 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18599 * wcsmbs/wmemset.c (wmemset): Likewise.
18601 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18603 * scripts/config.guess: Update to version 2013-05-16.
18604 * scripts/config.sub: Update to version 2013-04-24.
18605 * scripts/install-sh: Update to version 2011-11-20.07.
18606 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18607 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18609 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18611 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18612 * elf/sln.c: Likewise.
18613 * hurd/hurd/ioctl.h: Likewise.
18614 * hurd/hurdmalloc.c: Likewise.
18615 * hurd/xattr.c: Likewise.
18616 * include/shlib-compat.h: Likewise.
18617 * inet/ruserpass.c: Likewise.
18618 * libio/iofgets_u.c: Likewise.
18619 * libio/iofgetws_u.c: Likewise.
18620 * locale/programs/ld-identification.c: Likewise.
18621 * locale/programs/ld-time.c: Likewise.
18622 * mach/msg-destroy.c: Likewise.
18623 * nss/nss_files/files-netgrp.c: Likewise.
18624 * resolv/res_data.c: Likewise.
18625 * soft-fp/op-1.h: Likewise.
18626 * soft-fp/op-2.h: Likewise.
18627 * soft-fp/op-4.h: Likewise.
18628 * soft-fp/op-common.h: Likewise.
18629 * stdio-common/printf_fphex.c: Likewise.
18630 * stdlib/strtod_l.c: Likewise.
18631 * sunrpc/rpc/clnt.h: Likewise.
18632 * sysdeps/generic/framestate.c: Likewise.
18633 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18634 * sysdeps/i386/bsd-setjmp.S: Likewise.
18635 * sysdeps/i386/__longjmp.S: Likewise.
18636 * sysdeps/i386/setjmp.S: Likewise.
18637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18647 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18650 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18651 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18653 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18654 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18655 * sysdeps/ieee754/support.c: Likewise.
18656 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18657 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18658 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18659 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18660 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18661 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18662 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18663 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18664 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18665 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18666 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18667 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18671 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18672 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18675 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18677 * posix/transbug.c: Remove executable mode.
18679 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18681 * crypt/speeds.c: Remove trailing whitespace.
18682 * dlfcn/default.c: Likewise.
18683 * elf/ifuncdep2.c: Likewise.
18684 * elf/ifuncmain1.c: Likewise.
18685 * elf/ifuncmain1vis.c: Likewise.
18686 * elf/testobj.h: Likewise.
18687 * elf/tst-stackguard1.c: Likewise.
18688 * gmon/sys/gmon.h: Likewise.
18689 * hurd/hurdmsg.c: Likewise.
18690 * hurd/new-fd.c: Likewise.
18691 * hurd/ports-get.c: Likewise.
18692 * iconvdata/ibm1008_420.c: Likewise.
18693 * inet/tst-getni1.c: Likewise.
18694 * inet/tst-getni2.c: Likewise.
18695 * libio/ioungetc.c: Likewise.
18696 * libio/wfiledoalloc.c: Likewise.
18697 * manual/libm-err-tab.pl: Likewise.
18698 * math/w_dremf.c: Likewise.
18699 * misc/ftruncate.c: Likewise.
18700 * posix/bug-glob2.c: Likewise.
18701 * posix/tst-pcre.c: Likewise.
18702 * posix/wait4.c: Likewise.
18703 * resolv/README: Likewise.
18704 * resolv/res_debug.h: Likewise.
18705 * resolv/tst-inet_ntop.c: Likewise.
18706 * setjmp/bug269-setjmp.c: Likewise.
18707 * soft-fp/extended.h: Likewise.
18708 * soft-fp/op-1.h: Likewise.
18709 * soft-fp/op-2.h: Likewise.
18710 * soft-fp/op-4.h: Likewise.
18711 * soft-fp/op-8.h: Likewise.
18712 * soft-fp/testit.c: Likewise.
18713 * stdio-common/bug16.c: Likewise.
18714 * stdlib/random.c: Likewise.
18715 * sunrpc/rpcsvc/rquota.x: Likewise.
18716 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18745 * sysdeps/ieee754/s_lib_version.c: Likewise.
18746 * sysdeps/mach/hurd/check_fds.c: Likewise.
18747 * sysdeps/mach/hurd/getsockname.c: Likewise.
18748 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18749 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18750 * sysdeps/powerpc/bits/link.h: Likewise.
18751 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18752 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18753 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18754 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18755 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18756 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18757 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18758 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18759 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18760 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18761 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18762 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18763 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18764 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18765 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18766 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18772 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18774 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18775 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18777 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18779 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18785 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18786 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18787 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18789 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18790 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18792 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18793 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18794 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18795 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18796 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18797 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18798 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18799 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18800 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18806 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18813 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18814 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18815 * sysdeps/powerpc/sysdep.h: Likewise.
18816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18817 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18818 * sysdeps/sh/dl-trampoline.S: Likewise.
18819 * sysdeps/sh/memset.S: Likewise.
18820 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18821 * sysdeps/sh/strlen.S: Likewise.
18822 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18823 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18824 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18825 * sysdeps/sparc/sparc32/rem.S: Likewise.
18826 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18827 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18828 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18829 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18830 * sysdeps/sparc/sparc32/urem.S: Likewise.
18831 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18832 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18833 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18834 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18836 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18837 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18838 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18839 * sysdeps/unix/bsd/times.c: Likewise.
18840 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18841 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18845 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18846 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18849 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18850 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18851 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18852 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18853 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18854 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18855 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18857 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18858 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18859 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18860 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18861 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18862 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18863 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18864 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18865 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18868 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18869 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18870 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18871 * sysdeps/x86_64/strcspn.S: Likewise.
18873 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18875 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18876 generated file. Regenerate properly from gen-translit.pl.
18877 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18878 locale/C-translit.h.
18880 2013-06-05 Andreas Schwab <schwab@suse.de>
18883 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18884 week as 6 instead of -1.
18885 * time/tst-strptime.c (day_tests): Add test case.
18887 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18889 * sysdeps/generic/math_private.h
18890 (libc_feholdexcept_setround_53bit): Replace with
18891 libc_feholdsetround_53bit.
18892 (libc_feupdateenv_53bit): Replace with
18893 libc_feresetround_53bit.
18894 (SET_RESTORE_ROUND_53BIT): Adjust.
18896 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18898 * string/test-strchrnul.c: Add copyright header.
18900 * posix/tst-getaddrinfo4.c: Increase test timeout.
18902 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18905 * math/libm-test.inc (MAX_EXP): Remove
18907 (ulp): Use MIN_EXP - MANT_DIG.
18908 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18910 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18912 * po/be.po: Revert last change.
18913 * po/zh_CN.po: Likewise.
18914 * po/header.pot: Likewise.
18916 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18918 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18919 link-libc-deps to empty as target-specific variable.
18920 * Makerules (link-libc-args): New variable.
18921 (libc-for-link): Likewise.
18922 (link-libc-deps): Likewise.
18923 (lib%.so): Depend on $(link-libc-deps). Link with
18925 (build-module): Link with $(link-libc-args).
18926 (build-module-asneeded): Likewise.
18927 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18929 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18930 target-specific variable.
18931 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18932 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18933 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18935 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18937 ($(objpfx)libpcprofile.so): Likewise.
18938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18940 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18941 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18942 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18944 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18945 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18946 * login/Makefile ($(objpfx)libutil.so): Likewise.
18947 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18948 * math/Makefile ($(objpfx)libm.so): Likewise.
18949 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18950 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18951 variable instead of depending directly on libc.
18952 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18953 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18955 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18957 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18958 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18959 ($(objpfx)libanl.so): Likewise.
18960 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18962 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18964 * sysdeps/i386/fpu/Makefile: Remove file.
18965 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18966 ($(objpfx)libm.so): Remove dependency on ld.so.
18968 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18971 * nis/yp_xdr.c (XDRMAXNAME): Define.
18972 (XDRMAXRECORD): Define.
18973 (xdr_domainname): Use XDRMAXNAME.
18974 (xdr_mapname): Likewise.
18975 (xdr_peername): Likewise.
18976 (xdr_keydat): Use XDRMAXRECORD.
18977 (xdr_valdat): Likewise.
18979 2013-05-30 Jeff Law <law@redhat.com>
18982 * manual/errno.texi (ESTALE): Update to account for more than
18983 just NFS file systems.
18984 * sysdeps/gnu/errlist.c: Regenerated.
18986 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18989 * elf/Makefile (tests): Add tst-null-argv.
18990 (modules-names): Add tst-null-argv-lib.
18991 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18992 (tst-null-argv-ENV): Set environment for tst-null-argv.
18993 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18994 (RTLD_PROGNAME): New macro.
18995 * elf/tst-null-argv.c: New test case.
18996 * elf/tst-null-argv-lib.c: Library for test case.
18997 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18998 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18999 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19000 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19001 * elf/dl-init.c (call_init): Likewise.
19002 (_dl_init): Likewise.
19003 * elf/dl-load.c (print_search_path): Likewise.
19004 (_dl_map_object): Likewise.
19005 * elf/dl-lookup.c (do_lookup_x): Likewise.
19006 (add_dependency): Likewise.
19007 (_dl_lookup_symbol_x): Likewise.
19008 (_dl_debug_bindings): Likewise.
19009 * elf/dl-open.c (_dl_show_scope): Likewise.
19010 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19011 * elf/dl-version.c (match_symbol): Likewise.
19012 (_dl_check_map_versions): Likewise.
19013 * elf/rtld.c (dl_main): Likewise.
19014 (print_unresolved): Use RTLD_PROGNAME.
19015 (print_missing_version): Likewise.
19016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19017 (elf_machine_rela): Likewise.
19018 * sysdeps/powerpc/powerpc32/dl-machine.c
19019 (__process_machine_rela): Likewise.
19020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19022 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19024 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19026 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19033 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19035 * po/be.po: Add descriptive title.
19036 * po/zh_CN.po: Likewise.
19037 * po/header.pot: Likewise.
19039 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19041 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19043 (enlarge_archive): Likewise.
19045 2013-05-28 Ben North <ben@redfrontdoor.org>
19047 * manual/arith.texi (frexp): It is the magnitude of the return
19048 value which lies in [0.5, 1), not the return value itself.
19050 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19054 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19056 * stdio-common/bug26.c (main): Correct fscanf template.
19058 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19059 declare _dl_skip_args.
19061 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19064 * manual/platform.texi: Add missing @end deftypefun.
19066 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19070 bit of mantissa of 2^16382.
19071 * math/libm-test.inc (hypot_test_data): Add more tests.
19073 * math/libm-test.inc: Add drem and pow10 to list of tested
19075 (pow10_test): New function.
19076 (drem_test): Likewise.
19077 (drem_test_tonearest): Likewise.
19078 (drem_test_towardzero): Likewise.
19079 (drem_test_downward): Likewise.
19080 (drem_test_upward): Likewise.
19081 (main): Call the new functions.
19083 * math/libm-test.inc (finite_test_data): Remove.
19084 (finite_test): Run tests from isfinite_test_data.
19085 (gamma_test_data): Remove.
19086 (gamma_test): Run tests from lgamma_test_data.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19092 * manual/platform.texi: Add PowerPC PPR function set documentation.
19093 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19096 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19098 * math/libm-test.inc (MAX_EXP): Define.
19100 (ulp): New function.
19101 (check_float_internal): Use ULPDIFF.
19102 (cpow_test): Disable failing test.
19103 (check_ulp): Test ulp() implemetnation.
19104 (main): Call check_ulp before starting tests.
19106 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19108 * math/gen-libm-test.pl (generate_testfile): Do not handle
19109 START_DATA and END_DATA.
19110 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19112 (acos_tonearest_test_data): Likewise.
19113 (acos_towardzero_test_data): Likewise.
19114 (acos_downward_test_data): Likewise.
19115 (acos_upward_test_data): Likewise.
19116 (acosh_test_data): Likewise.
19117 (asin_test_data): Likewise.
19118 (asin_tonearest_test_data): Likewise.
19119 (asin_towardzero_test_data): Likewise.
19120 (asin_downward_test_data): Likewise.
19121 (asin_upward_test_data): Likewise.
19122 (asinh_test_data): Likewise.
19123 (atan_test_data): Likewise.
19124 (atanh_test_data): Likewise.
19125 (atan2_test_data): Likewise.
19126 (cabs_test_data): Likewise.
19127 (cacos_test_data): Likewise.
19128 (cacosh_test_data): Likewise.
19129 (carg_test_data): Likewise.
19130 (casin_test_data): Likewise.
19131 (casinh_test_data): Likewise.
19132 (catan_test_data): Likewise.
19133 (catanh_test_data): Likewise.
19134 (cbrt_test_data): Likewise.
19135 (ccos_test_data): Likewise.
19136 (ccosh_test_data): Likewise.
19137 (ceil_test_data): Likewise.
19138 (cexp_test_data): Likewise.
19139 (cimag_test_data): Likewise.
19140 (clog_test_data): Likewise.
19141 (clog10_test_data): Likewise.
19142 (conj_test_data): Likewise.
19143 (copysign_test_data): Likewise.
19144 (cos_test_data): Likewise.
19145 (cos_tonearest_test_data): Likewise.
19146 (cos_towardzero_test_data): Likewise.
19147 (cos_downward_test_data): Likewise.
19148 (cos_upward_test_data): Likewise.
19149 (cosh_test_data): Likewise.
19150 (cosh_tonearest_test_data): Likewise.
19151 (cosh_towardzero_test_data): Likewise.
19152 (cosh_downward_test_data): Likewise.
19153 (cosh_upward_test_data): Likewise.
19154 (cpow_test_data): Likewise.
19155 (cproj_test_data): Likewise.
19156 (creal_test_data): Likewise.
19157 (csin_test_data): Likewise.
19158 (csinh_test_data): Likewise.
19159 (csqrt_test_data): Likewise.
19160 (ctan_test_data): Likewise.
19161 (ctan_tonearest_test_data): Likewise.
19162 (ctan_towardzero_test_data): Likewise.
19163 (ctan_downward_test_data): Likewise.
19164 (ctan_upward_test_data): Likewise.
19165 (ctanh_test_data): Likewise.
19166 (ctanh_tonearest_test_data): Likewise.
19167 (ctanh_towardzero_test_data): Likewise.
19168 (ctanh_downward_test_data): Likewise.
19169 (ctanh_upward_test_data): Likewise.
19170 (erf_test_data): Likewise.
19171 (erfc_test_data): Likewise.
19172 (exp_test_data): Likewise.
19173 (exp_tonearest_test_data): Likewise.
19174 (exp_towardzero_test_data): Likewise.
19175 (exp_downward_test_data): Likewise.
19176 (exp_upward_test_data): Likewise.
19177 (exp10_test_data): Likewise.
19178 (exp2_test_data): Likewise.
19179 (expm1_test_data): Likewise.
19180 (fabs_test_data): Likewise.
19181 (fdim_test_data): Likewise.
19182 (finite_test_data): Likewise.
19183 (floor_test_data): Likewise.
19184 (fma_test_data): Likewise.
19185 (fma_towardzero_test_data): Likewise.
19186 (fma_downward_test_data): Likewise.
19187 (fma_upward_test_data): Likewise.
19188 (fmax_test_data): Likewise.
19189 (fmin_test_data): Likewise.
19190 (fmod_test_data): Likewise.
19191 (fpclassify_test_data): Likewise.
19192 (frexp_test_data): Likewise.
19193 (gamma_test_data): Likewise.
19194 (hypot_test_data): Likewise.
19195 (ilogb_test_data): Likewise.
19196 (isfinite_test_data): Likewise.
19197 (isgreater_test_data): Likewise.
19198 (isgreaterequal_test_data): Likewise.
19199 (isinf_test_data): Likewise.
19200 (isless_test_data): Likewise.
19201 (islessequal_test_data): Likewise.
19202 (islessgreater_test_data): Likewise.
19203 (isnan_test_data): Likewise.
19204 (isnormal_test_data): Likewise.
19205 (issignaling_test_data): Likewise.
19206 (isunordered_test_data): Likewise.
19207 (j0_test_data): Likewise.
19208 (j1_test_data): Likewise.
19209 (jn_test_data): Likewise.
19210 (ldexp_test_data): Likewise.
19211 (lgamma_test_data): Likewise.
19212 (lrint_test_data): Likewise.
19213 (lrint_tonearest_test_data): Likewise.
19214 (lrint_towardzero_test_data): Likewise.
19215 (lrint_downward_test_data): Likewise.
19216 (lrint_upward_test_data): Likewise.
19217 (llrint_test_data): Likewise.
19218 (llrint_tonearest_test_data): Likewise.
19219 (llrint_towardzero_test_data): Likewise.
19220 (llrint_downward_test_data): Likewise.
19221 (llrint_upward_test_data): Likewise.
19222 (log_test_data): Likewise.
19223 (log10_test_data): Likewise.
19224 (log1p_test_data): Likewise.
19225 (log2_test_data): Likewise.
19226 (logb_test_data): Likewise.
19227 (logb_downward_test_data): Likewise.
19228 (lround_test_data): Likewise.
19229 (llround_test_data): Likewise.
19230 (modf_test_data): Likewise.
19231 (nearbyint_test_data): Likewise.
19232 (nextafter_test_data): Likewise.
19233 (nexttoward_test_data): Likewise.
19234 (pow_test_data): Likewise.
19235 (pow_tonearest_test_data): Likewise.
19236 (pow_towardzero_test_data): Likewise.
19237 (pow_downward_test_data): Likewise.
19238 (pow_upward_test_data): Likewise.
19239 (remainder_test_data): Likewise.
19240 (remainder_tonearest_test_data): Likewise.
19241 (remainder_towardzero_test_data): Likewise.
19242 (remainder_downward_test_data): Likewise.
19243 (remainder_upward_test_data): Likewise.
19244 (remquo_test_data): Likewise.
19245 (rint_test_data): Likewise.
19246 (rint_tonearest_test_data): Likewise.
19247 (rint_towardzero_test_data): Likewise.
19248 (rint_downward_test_data): Likewise.
19249 (rint_upward_test_data): Likewise.
19250 (round_test_data): Likewise.
19251 (scalb_test_data): Likewise.
19252 (scalbn_test_data): Likewise.
19253 (scalbln_test_data): Likewise.
19254 (signbit_test_data): Likewise.
19255 (sin_test_data): Likewise.
19256 (sin_tonearest_test_data): Likewise.
19257 (sin_towardzero_test_data): Likewise.
19258 (sin_downward_test_data): Likewise.
19259 (sin_upward_test_data): Likewise.
19260 (sincos_test_data): Likewise.
19261 (sinh_test_data): Likewise.
19262 (sinh_tonearest_test_data): Likewise.
19263 (sinh_towardzero_test_data): Likewise.
19264 (sinh_downward_test_data): Likewise.
19265 (sinh_upward_test_data): Likewise.
19266 (sqrt_test_data): Likewise.
19267 (tan_test_data): Likewise.
19268 (tan_tonearest_test_data): Likewise.
19269 (tan_towardzero_test_data): Likewise.
19270 (tan_downward_test_data): Likewise.
19271 (tan_upward_test_data): Likewise.
19272 (tanh_test_data): Likewise.
19273 (tgamma_test_data): Likewise.
19274 (trunc_test_data): Likewise.
19275 (y0_test_data): Likewise.
19276 (y1_test_data): Likewise.
19277 (yn_test_data): Likewise.
19278 (significand_test_data): Likewise.
19280 * math/gen-libm-test.pl (@functions): Remove variable.
19281 (generate_testfile): Don't handle START and END lines.
19282 * math/libm-test.inc (START): New macro.
19284 (END_COMPLEX): Likewise.
19285 (acos_test): Use END macro without arguments.
19286 (acos_test_tonearest): Likewise.
19287 (acos_test_towardzero): Likewise.
19288 (acos_test_downward): Likewise.
19289 (acos_test_upward): Likewise.
19290 (acosh_test): Likewise.
19291 (asin_test): Likewise.
19292 (asin_test_tonearest): Likewise.
19293 (asin_test_towardzero): Likewise.
19294 (asin_test_downward): Likewise.
19295 (asin_test_upward): Likewise.
19296 (asinh_test): Likewise.
19297 (atan_test): Likewise.
19298 (atanh_test): Likewise.
19299 (atan2_test): Likewise.
19300 (cabs_test): Likewise.
19301 (cacos_test): Use END_COMPLEX macro without arguments.
19302 (cacosh_test): Likewise.
19303 (carg_test): Use END macro without arguments.
19304 (casin_test): Use END_COMPLEX macro without arguments.
19305 (casinh_test): Likewise.
19306 (catan_test): Likewise.
19307 (catanh_test): Likewise.
19308 (cbrt_test): Use END macro without arguments.
19309 (ccos_test): Use END_COMPLEX macro without arguments.
19310 (ccosh_test): Likewise.
19311 (ceil_test): Use END macro without arguments.
19312 (cexp_test): Use END_COMPLEX macro without arguments.
19313 (cimag_test): Use END macro without arguments.
19314 (clog_test): Use END_COMPLEX macro without arguments.
19315 (clog10_test): Likewise.
19316 (conj_test): Likewise.
19317 (copysign_test): Use END macro without arguments.
19318 (cos_test): Likewise.
19319 (cos_test_tonearest): Likewise.
19320 (cos_test_towardzero): Likewise.
19321 (cos_test_downward): Likewise.
19322 (cos_test_upward): Likewise.
19323 (cosh_test): Likewise.
19324 (cosh_test_tonearest): Likewise.
19325 (cosh_test_towardzero): Likewise.
19326 (cosh_test_downward): Likewise.
19327 (cosh_test_upward): Likewise.
19328 (cpow_test): Use END_COMPLEX macro without arguments.
19329 (cproj_test): Likewise.
19330 (creal_test): Use END macro without arguments.
19331 (csin_test): Use END_COMPLEX macro without arguments.
19332 (csinh_test): Likewise.
19333 (csqrt_test): Likewise.
19334 (ctan_test): Likewise.
19335 (ctan_test_tonearest): Likewise.
19336 (ctan_test_towardzero): Likewise.
19337 (ctan_test_downward): Likewise.
19338 (ctan_test_upward): Likewise.
19339 (ctanh_test): Likewise.
19340 (ctanh_test_tonearest): Likewise.
19341 (ctanh_test_towardzero): Likewise.
19342 (ctanh_test_downward): Likewise.
19343 (ctanh_test_upward): Likewise.
19344 (erf_test): Use END macro without arguments.
19345 (erfc_test): Likewise.
19346 (exp_test): Likewise.
19347 (exp_test_tonearest): Likewise.
19348 (exp_test_towardzero): Likewise.
19349 (exp_test_downward): Likewise.
19350 (exp_test_upward): Likewise.
19351 (exp10_test): Likewise.
19352 (exp2_test): Likewise.
19353 (expm1_test): Likewise.
19354 (fabs_test): Likewise.
19355 (fdim_test): Likewise.
19356 (finite_test): Likewise.
19357 (floor_test): Likewise.
19358 (fma_test): Likewise.
19359 (fma_test_towardzero): Likewise.
19360 (fma_test_downward): Likewise.
19361 (fma_test_upward): Likewise.
19362 (fmax_test): Likewise.
19363 (fmin_test): Likewise.
19364 (fmod_test): Likewise.
19365 (fpclassify_test): Likewise.
19366 (frexp_test): Likewise.
19367 (gamma_test): Likewise.
19368 (hypot_test): Likewise.
19369 (ilogb_test): Likewise.
19370 (isfinite_test): Likewise.
19371 (isgreater_test): Likewise.
19372 (isgreaterequal_test): Likewise.
19373 (isinf_test): Likewise.
19374 (isless_test): Likewise.
19375 (islessequal_test): Likewise.
19376 (islessgreater_test): Likewise.
19377 (isnan_test): Likewise.
19378 (isnormal_test): Likewise.
19379 (issignaling_test): Likewise.
19380 (isunordered_test): Likewise.
19381 (j0_test): Likewise.
19382 (j1_test): Likewise.
19383 (jn_test): Likewise.
19384 (ldexp_test): Likewise.
19385 (lgamma_test): Likewise.
19386 (lrint_test): Likewise.
19387 (lrint_test_tonearest): Likewise.
19388 (lrint_test_towardzero): Likewise.
19389 (lrint_test_downward): Likewise.
19390 (lrint_test_upward): Likewise.
19391 (llrint_test): Likewise.
19392 (llrint_test_tonearest): Likewise.
19393 (llrint_test_towardzero): Likewise.
19394 (llrint_test_downward): Likewise.
19395 (llrint_test_upward): Likewise.
19396 (log_test): Likewise.
19397 (log10_test): Likewise.
19398 (log1p_test): Likewise.
19399 (log2_test): Likewise.
19400 (logb_test): Likewise.
19401 (logb_test_downward): Likewise.
19402 (lround_test): Likewise.
19403 (llround_test): Likewise.
19404 (modf_test): Likewise.
19405 (nearbyint_test): Likewise.
19406 (nextafter_test): Likewise.
19407 (nexttoward_test): Likewise.
19408 (pow_test): Likewise.
19409 (pow_test_tonearest): Likewise.
19410 (pow_test_towardzero): Likewise.
19411 (pow_test_downward): Likewise.
19412 (pow_test_upward): Likewise.
19413 (remainder_test): Likewise.
19414 (remainder_test_tonearest): Likewise.
19415 (remainder_test_towardzero): Likewise.
19416 (remainder_test_downward): Likewise.
19417 (remainder_test_upward): Likewise.
19418 (remquo_test): Likewise.
19419 (rint_test): Likewise.
19420 (rint_test_tonearest): Likewise.
19421 (rint_test_towardzero): Likewise.
19422 (rint_test_downward): Likewise.
19423 (rint_test_upward): Likewise.
19424 (round_test): Likewise.
19425 (scalb_test): Likewise.
19426 (scalbn_test): Likewise.
19427 (scalbln_test): Likewise.
19428 (signbit_test): Likewise.
19429 (sin_test): Likewise.
19430 (sin_test_tonearest): Likewise.
19431 (sin_test_towardzero): Likewise.
19432 (sin_test_downward): Likewise.
19433 (sin_test_upward): Likewise.
19434 (sincos_test): Likewise.
19435 (sinh_test): Likewise.
19436 (sinh_test_tonearest): Likewise.
19437 (sinh_test_towardzero): Likewise.
19438 (sinh_test_downward): Likewise.
19439 (sinh_test_upward): Likewise.
19440 (sqrt_test): Likewise.
19441 (tan_test): Likewise.
19442 (tan_test_tonearest): Likewise.
19443 (tan_test_towardzero): Likewise.
19444 (tan_test_downward): Likewise.
19445 (tan_test_upward): Likewise.
19446 (tanh_test): Likewise.
19447 (tgamma_test): Likewise.
19448 (trunc_test): Likewise.
19449 (y0_test): Likewise.
19450 (y1_test): Likewise.
19451 (yn_test): Likewise.
19452 (significand_test): Likewise.
19454 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19457 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19459 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19462 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19463 __ppc_mdoio and __ppc_mdoom.
19464 * manual/platform.texi: Document new functions __ppc_yield,
19465 __ppc_mdoio and __ppc_mdoom.
19467 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19469 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19470 (main): Mention "tls" pseudo-hwcap is legacy.
19471 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19473 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19475 * math/gen-libm-test.pl (parse_args): Output only string of
19476 arguments as text for test name, not full call or descriptions of
19477 tests for extra outputs.
19478 (generate_testfile): Do not pass function name to parse_args.
19479 Generate this_func variable from START.
19480 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19482 (struct test_ff_f_data): Likewise.
19483 (test_ff_f_data_nexttoward): Likewise.
19484 (struct test_fi_f_data): Likewise.
19485 (struct test_fl_f_data): Likewise.
19486 (struct test_if_f_data): Likewise.
19487 (struct test_fff_f_data): Likewise.
19488 (struct test_c_f_data): Likewise.
19489 (struct test_f_f1_data): Likewise. Remove field extra_name.
19490 (struct test_fF_f1_data): Likewise.
19491 (struct test_ffI_f1_data): Likewise.
19492 (struct test_c_c_data): Rename test_name field to arg_str.
19493 (struct test_cc_c_data): Likewise.
19494 (struct test_f_i_data): Likewise.
19495 (struct test_ff_i_data): Likewise.
19496 (struct test_f_l_data): Likewise.
19497 (struct test_f_L_data): Likewise.
19498 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19500 (COMMON_TEST_SETUP): New macro.
19501 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19502 (COMMON_TEST_CLEANUP): Likewise.
19503 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19504 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19506 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19507 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19509 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19510 (RUN_TEST_fff_f): Take argument string. Call new setup and
19512 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19513 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19515 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19516 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19518 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19519 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19521 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19522 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19524 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19525 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19527 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19528 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19530 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19531 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19533 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19534 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19536 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19537 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19539 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19540 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19542 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19543 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19545 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19546 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19548 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19549 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19551 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19552 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19554 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19555 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19557 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19559 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19561 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19562 to _sifields.sigfault.
19563 (si_addr_lsb): Define new macro.
19564 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19568 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19571 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19573 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19575 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19576 loading the domain.
19578 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19580 * math/gen-libm-test.pl (parse_args): Do not include expected
19581 result in test name.
19582 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19584 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19586 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19589 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19591 * benchtests/Makefile: Sort function entries.
19593 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19594 tanh, asinh, acosh, atanh.
19595 * benchtests/acos-inputs: New file.
19596 * benchtests/acosh-inputs: New file.
19597 * benchtests/asin-inputs: New file.
19598 * benchtests/asinh-inputs: New file.
19599 * benchtests/atanh-inputs: New file.
19600 * benchtests/cosh-inputs: New file.
19601 * benchtests/log-inputs: New file.
19602 * benchtests/sinh-inputs: New file.
19603 * benchtests/tanh-inputs: New file.
19605 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19608 * posix/tst-getaddrinfo4.c: New test.
19609 * posix/Makefile (tests): Add it.
19611 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19614 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19615 when no services were used.
19616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19617 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19619 2013-05-21 Andreas Schwab <schwab@suse.de>
19622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19623 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19625 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19626 redundant variable declarations and reallocation of buffer when
19627 parsing as IPv6 address. Always set NSS status when called from
19628 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19629 buffer too small. Correct computation of needed size.
19630 * nss/Makefile (tests): Add test-digits-dots.
19631 * nss/test-digits-dots.c: New test.
19633 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19635 * benchtests/Makefile: Remove instructions for adding
19637 * benchtests/README: New file to explain how to execute and
19638 enhance the benchmark tests.
19640 2013-05-21 Andreas Schwab <schwab@suse.de>
19643 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19644 * setjmp/tst-sigsetjmp.c: New test.
19646 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19648 * sysdeps/x86_64/memset.S (memset): New implementation.
19649 (__bzero): Likewise.
19650 (__memset_tail): New function.
19652 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19654 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19655 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19656 __memcpy_sse2_unaligned ifunc selection.
19657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19658 Add memcpy-sse2-unaligned.S.
19659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19660 Add: __memcpy_sse2_unaligned.
19662 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19665 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19666 math_force_eval before restoring floating-point envrionment.
19667 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19670 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19672 (__nearbyintl): Use math_force_eval before restoring
19673 floating-point environment.
19674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19676 * math/gen-libm-test.pl (special_functions): Remove.
19677 (parse_args): Don't handle TEST_extra. Handle functions with no
19679 * math/libm-test.inc (struct test_sincos_data): Replace with
19680 struct test_fFF_11_data.
19681 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19682 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19683 (sincos_test_data): Change element type to struct
19684 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19685 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19686 RUN_TEST_LOOP_sincos.
19687 * math/README.libm-test: Don't mention special handling of
19688 individual functions.
19689 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696 * math/gen-libm-test.pl (get_variable): Remove function.
19697 (parse_args): Don't show pointer parameters to call in test
19698 names. Use "extra output N" in test names for extra outputs
19699 rather than naming variables.
19701 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19704 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19705 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19706 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19708 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19710 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19713 * math/gen-libm-test.pl (@tests): Remove variable.
19714 ($count): Likewise.
19715 (new_test): Remove function.
19716 (show_exceptions): New function.
19717 (special_functions): Use show_exceptions instead of new_test.
19718 (parse_args): Likewise.
19719 (generate_testfile): Pass only function name in generated call to
19720 print_max_error or print_complex_max_error.
19721 (get_ulps): Do not handle complex tests specially.
19722 (output_test): Rename to ...
19723 (get_all_ulps_for_test): ... this. Return a string rather than
19724 printing to a file. Require ulps to be present.
19725 (output_ulps): Generate arrays rather than #defines.
19726 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19727 (struct ulp_data): New type.
19728 (BUILD_COMPLEX_ULP): Remove macro.
19729 (compare_ulp_data): New function.
19730 (find_ulps): Likewise.
19731 (find_test_ulps): Likewise.
19732 (find_function_ulps): Likewise.
19733 (find_complex_function_ulps): Likewise.
19734 (print_max_error): Determine allowed ulps using
19735 find_function_ulps.
19736 (print_complex_max_error): Determine allowed ulps using
19737 find_complex_function_ulps.
19738 (check_float_internal): Determine max ulps using find_test_ulps.
19739 (check_float): Do not take max_ulp parameter. Update call to
19740 check_float_internal.
19741 (check_complex): Likewise.
19742 (check_int): Do not take max_ulp parameter.
19743 (check_long): Likewise.
19744 (check_bool): Likewise.
19745 (check_longlong): Likewise.
19746 (struct test_f_f_data): Remove max_ulp field.
19747 (struct test_ff_f_data): Likewise.
19748 (struct test_ff_f_data_nexttoward): Likewise.
19749 (struct test_fi_f_data): Likewise.
19750 (struct test_fl_f_data): Likewise.
19751 (struct test_if_f_data): Likewise.
19752 (struct test_fff_f_data): Likewise.
19753 (struct test_c_f_data): Likewise.
19754 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19755 (struct test_fF_f1_data): Likewise.
19756 (struct test_ffI_f1_data): Likewise.
19757 (struct test_c_c_data): Remove max_ulp field.
19758 (struct test_cc_c_data): Likewise.
19759 (struct test_f_i_data): Likewise.
19760 (struct test_ff_i_data): Likewise.
19761 (struct test_f_l_data): Likewise.
19762 (struct test_f_L_data): Likewise.
19763 (struct test_sincos_data): Likewise.
19764 (RUN_TEST_f_f): Do not handle ulps.
19765 (RUN_TEST_LOOP_f_f): Likewise.
19766 (RUN_TEST_2_f): Likewise.
19767 (RUN_TEST_LOOP_2_f): Likewise.
19768 (RUN_TEST_fff_f): Likewise.
19769 (RUN_TEST_LOOP_fff_f): Likewise.
19770 (RUN_TEST_c_f): Likewise.
19771 (RUN_TEST_LOOP_c_f): Likewise.
19772 (RUN_TEST_f_f1): Likewise.
19773 (RUN_TEST_LOOP_f_f1): Likewise.
19774 (RUN_TEST_fF_f1): Likewise.
19775 (RUN_TEST_LOOP_fF_f1): Likewise.
19776 (RUN_TEST_fI_f1): Likewise.
19777 (RUN_TEST_LOOP_fI_f1): Likewise.
19778 (RUN_TEST_ffI_f1): Likewise.
19779 (RUN_TEST_LOOP_ffI_f1): Likewise.
19780 (RUN_TEST_c_c): Likewise.
19781 (RUN_TEST_LOOP_c_c): Likewise.
19782 (RUN_TEST_cc_c): Likewise.
19783 (RUN_TEST_LOOP_cc_c): Likewise.
19784 (RUN_TEST_f_i): Likewise.
19785 (RUN_TEST_LOOP_f_i): Likewise.
19786 (RUN_TEST_f_i_tg): Likewise.
19787 (RUN_TEST_LOOP_f_i_tg): Likewise.
19788 (RUN_TEST_ff_i_tg): Likewise.
19789 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19790 (RUN_TEST_f_b): Likewise.
19791 (RUN_TEST_LOOP_f_b): Likewise.
19792 (RUN_TEST_f_b_tg): Likewise.
19793 (RUN_TEST_LOOP_f_b_tg): Likewise.
19794 (RUN_TEST_f_l): Likewise.
19795 (RUN_TEST_LOOP_f_l): Likewise.
19796 (RUN_TEST_f_L): Likewise.
19797 (RUN_TEST_LOOP_f_L): Likewise.
19798 (RUN_TEST_sincos): Likewise.
19799 (RUN_TEST_LOOP_sincos): Likewise.
19801 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19805 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19806 main case of finite arguments, set rounding mode to FE_TONEAREST
19807 and discard exceptions.
19808 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19810 (remainder_tonearest_test_data): New variable.
19811 (remainder_test_tonearest): New function.
19812 (remainder_towardzero_test_data): New variable.
19813 (remainder_test_towardzero): New function.
19814 (remainder_downward_test_data): New variable.
19815 (remainder_test_downward): New function.
19816 (remainder_upward_test_data): New variable.
19817 (remainder_test_upward): New function.
19818 (main): Call the new test functions.
19820 * math/libm-test.inc (struct test_f_f1_data): Remove field
19822 (struct test_fF_f1_data): Likewise.
19823 (struct test_ffI_f1_data): Likewise.
19824 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19825 based on value of EXTRA_EXPECTED.
19826 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19827 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19828 EXTRA_VAR based on value of EXTRA_EXPECTED.
19829 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19830 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19831 EXTRA_VAR based on value of EXTRA_EXPECTED.
19832 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19833 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19834 EXTRA_VAR based on value of EXTRA_EXPECTED.
19835 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19836 * math/gen-libm-test.pl (parse_args): Don't output initializers
19837 for extra output values.
19839 * math/libm-test.inc (check_int): Expect result to be exactly
19840 equal to expected value and do not handle ulps.
19841 (check_long): Likewise.
19842 (check_longlong): Likewise.
19844 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19846 (cimag_test_data): Likewise.
19847 (conj_test_data): Likewise.
19848 (copysign_test_data): Likewise.
19849 (cproj_test_data): Likewise.
19850 (creal_test_data): Likewise.
19851 (fabs_test_data): Likewise.
19852 (fdim_test_data): Likewise.
19853 (finite_test_data): Likewise.
19854 (floor_test_data): Likewise.
19855 (fmax_test_data): Likewise.
19856 (fmin_test_data): Likewise.
19857 (fmod_test_data): Likewise.
19858 (fpclassify_test_data): Likewise.
19859 (frexp_test_data): Likewise.
19860 (ilogb_test_data): Likewise.
19861 (isfinite_test_data): Likewise.
19862 (isgreater_test_data): Likewise.
19863 (isgreaterequal_test_data): Likewise.
19864 (isinf_test_data): Likewise.
19865 (isless_test_data): Likewise.
19866 (islessequal_test_data): Likewise.
19867 (islessgreater_test_data): Likewise.
19868 (isnan_test_data): Likewise.
19869 (isnormal_test_data): Likewise.
19870 (issignaling_test_data): Likewise.
19871 (isunordered_test_data): Likewise.
19872 (ldexp_test_data): Likewise.
19873 (lrint_test_data): Likewise.
19874 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19875 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19876 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19877 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19878 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19879 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19881 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19882 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19883 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19884 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19886 (lrint_downward_test_data): Test for "inexact" exceptions.
19887 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19888 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19889 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19891 (lrint_upward_test_data): Test for "inexact" exceptions.
19892 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19894 (llrint_test_data): Test for "inexact" exceptions.
19895 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19896 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19897 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19898 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19899 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19900 (llrint_downward_test_data): Test for "inexact" exceptions.
19901 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19902 (llrint_upward_test_data): Test for "inexact" exceptions.
19903 (logb_test_data): Likewise.
19904 (logb_downward_test_data): Likewise.
19905 (nextafter_test_data): Likewise.
19906 (nexttoward_test_data): Likewise.
19907 (remainder_test_data): Likewise.
19908 (remquo_test_data): Likewise.
19909 (scalbn_test_data): Likewise.
19910 (scalbln_test_data): Likewise.
19911 (signbit_test_data): Likewise.
19912 (sqrt_test_data): Likewise.
19913 (significand_test_data): Likewise.
19915 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19918 * benchtests/bench-modf.c (struct args): Mark arg0 as
19920 * scripts/bench.pl: Mark members of struct args as volatile.
19922 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19925 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19926 negative infinity on POWER6 or lower.
19927 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19929 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19932 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19933 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19934 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19935 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19936 (_FP_SETQNAN): New macro.
19937 (_FP_SETQNAN_SEMIRAW): Likewise.
19938 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19939 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19940 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19941 (FP_EXTEND): Use _FP_FRAC_SNANP.
19942 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19943 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19950 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19952 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19953 with DIVIDE_BY_ZERO_EXCEPTION.
19954 (gamma_test_data): Likewise.
19955 (lgamma_test_data): Likewise.
19956 (log_test_data): Likewise.
19957 (log10_test_data): Likewise.
19958 (log2_test_data): Likewise.
19959 (tgamma_test_data): Likewise.
19961 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19962 (acos_test_tonearest): Likewise.
19963 (acos_test_towardzero): Likewise.
19964 (acos_test_downward): Likewise.
19965 (acos_test_upward): Likewise.
19966 (acosh_test): Likewise.
19967 (asin_test): Likewise.
19968 (asin_test_tonearest): Likewise.
19969 (asin_test_towardzero): Likewise.
19970 (asin_test_downward): Likewise.
19971 (asin_test_upward): Likewise.
19972 (asinh_test): Likewise.
19973 (atan_test): Likewise.
19974 (atanh_test): Likewise.
19975 (atan2_test): Likewise.
19976 (cabs_test): Likewise.
19977 (cacos_test): Likewise.
19978 (cacosh_test): Likewise.
19979 (casin_test): Likewise.
19980 (casinh_test): Likewise.
19981 (catan_test): Likewise.
19982 (catanh_test): Likewise.
19983 (cbrt_test): Likewise.
19984 (ccos_test): Likewise.
19985 (ccosh_test): Likewise.
19986 (cexp_test): Likewise.
19987 (clog_test): Likewise.
19988 (clog10_test): Likewise.
19989 (cos_test): Likewise.
19990 (cos_test_tonearest): Likewise.
19991 (cos_test_towardzero): Likewise.
19992 (cos_test_downward): Likewise.
19993 (cos_test_upward): Likewise.
19994 (cosh_test): Likewise.
19995 (cosh_test_tonearest): Likewise.
19996 (cosh_test_towardzero): Likewise.
19997 (cosh_test_downward): Likewise.
19998 (cosh_test_upward): Likewise.
19999 (cpow_test): Likewise.
20000 (csin_test): Likewise.
20001 (csinh_test): Likewise.
20002 (csqrt_test): Likewise.
20003 (ctan_test): Likewise.
20004 (ctan_test_tonearest): Likewise.
20005 (ctan_test_towardzero): Likewise.
20006 (ctan_test_downward): Likewise.
20007 (ctan_test_upward): Likewise.
20008 (ctanh_test): Likewise.
20009 (ctanh_test_tonearest): Likewise.
20010 (ctanh_test_towardzero): Likewise.
20011 (ctanh_test_downward): Likewise.
20012 (ctanh_test_upward): Likewise.
20013 (erf_test): Likewise.
20014 (erfc_test): Likewise.
20015 (exp_test): Likewise.
20016 (exp_test_tonearest): Likewise.
20017 (exp_test_towardzero): Likewise.
20018 (exp_test_downward): Likewise.
20019 (exp_test_upward): Likewise.
20020 (exp10_test): Likewise.
20021 (exp2_test): Likewise.
20022 (expm1_test): Likewise.
20023 (fmod_test): Likewise.
20024 (gamma_test): Likewise.
20025 (hypot_test): Likewise.
20026 (j0_test): Likewise.
20027 (j1_test): Likewise.
20028 (jn_test): Likewise.
20029 (lgamma_test): Likewise.
20030 (log_test): Likewise.
20031 (log10_test): Likewise.
20032 (log1p_test): Likewise.
20033 (log2_test): Likewise.
20034 (logb_test_downward): Likewise.
20035 (pow_test): Likewise.
20036 (pow_test_tonearest): Likewise.
20037 (pow_test_towardzero): Likewise.
20038 (pow_test_downward): Likewise.
20039 (pow_test_upward): Likewise.
20040 (remainder_test): Likewise.
20041 (remquo_test): Likewise.
20042 (sin_test): Likewise.
20043 (sin_test_tonearest): Likewise.
20044 (sin_test_towardzero): Likewise.
20045 (sin_test_downward): Likewise.
20046 (sin_test_upward): Likewise.
20047 (sincos_test): Likewise.
20048 (sinh_test): Likewise.
20049 (sinh_test_tonearest): Likewise.
20050 (sinh_test_towardzero): Likewise.
20051 (sinh_test_downward): Likewise.
20052 (sinh_test_upward): Likewise.
20053 (sqrt_test): Likewise.
20054 (tan_test): Likewise.
20055 (tan_test_tonearest): Likewise.
20056 (tan_test_towardzero): Likewise.
20057 (tan_test_downward): Likewise.
20058 (tan_test_upward): Likewise.
20059 (tanh_test): Likewise.
20060 (tgamma_test): Likewise.
20061 (y0_test): Likewise.
20062 (y1_test): Likewise.
20063 (yn_test): Likewise.
20065 * math/gen-libm-test.pl (adjust_arg): Remove function.
20066 (special_function): Remove argument $in_func. Only handle
20067 generating output for tables of tests, not inside functions.
20068 (parse_args): Likewise.
20069 (generate_testfile): Remove variable $in_func. Update call to
20071 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20072 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20073 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20074 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20075 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20076 (MAX_VALUE_INIT): Rename macro to max_value.
20077 (MIN_VALUE_INIT): Rename macro to min_value.
20078 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20079 (plus_zero): Remove variable.
20080 (minus_zero): Likewise.
20081 (plus_infty): Likewise.
20082 (minus_infty): Likewise.
20083 (qnan_value): Likewise.
20084 (max_value): Likewise.
20085 (min_value): Likewise.
20086 (min_subnorm_value): Likewise.
20088 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20090 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20091 uint64_t or uint32_t usage.
20092 * crypt/sha256-block.c: Likewise.
20093 * crypt/sha256-crypt.c: Likewise.
20094 * crypt/sha256.c: Likewise.
20095 * crypt/sha512-block.c: Likewise.
20096 * crypt/sha512-crypt.c: Likewise.
20097 * crypt/sha512.c: Likewise.
20098 * debug/backtrace-tst.c: Likewise.
20099 * debug/pcprofiledump.c: Likewise.
20100 * elf/cache.c: Likewise.
20101 * elf/dl-cache.c: Likewise.
20102 * elf/dl-misc.c: Likewise.
20103 * elf/dl-profile.c: Likewise.
20104 * elf/dl-support.c: Likewise.
20105 * elf/ldconfig.c: Likewise.
20106 * elf/sprof.c: Likewise.
20107 * iconv/dummy-repertoire.c: Likewise.
20108 * iconv/iconv_charmap.c: Likewise.
20109 * iconv/skeleton.c: Likewise.
20110 * iconvdata/8bit-generic.c: Likewise.
20111 * iconvdata/cp737.h: Likewise.
20112 * iconvdata/cp775.h: Likewise.
20113 * iconvdata/ibm1008.h: Likewise.
20114 * iconvdata/ibm1025.h: Likewise.
20115 * iconvdata/ibm1046.h: Likewise.
20116 * iconvdata/ibm1097.h: Likewise.
20117 * iconvdata/ibm1112.h: Likewise.
20118 * iconvdata/ibm1122.h: Likewise.
20119 * iconvdata/ibm1123.h: Likewise.
20120 * iconvdata/ibm1124.h: Likewise.
20121 * iconvdata/ibm1129.h: Likewise.
20122 * iconvdata/ibm1130.h: Likewise.
20123 * iconvdata/ibm1132.h: Likewise.
20124 * iconvdata/ibm1133.h: Likewise.
20125 * iconvdata/ibm1137.h: Likewise.
20126 * iconvdata/ibm1140.h: Likewise.
20127 * iconvdata/ibm1141.h: Likewise.
20128 * iconvdata/ibm1142.h: Likewise.
20129 * iconvdata/ibm1143.h: Likewise.
20130 * iconvdata/ibm1144.h: Likewise.
20131 * iconvdata/ibm1145.h: Likewise.
20132 * iconvdata/ibm1146.h: Likewise.
20133 * iconvdata/ibm1147.h: Likewise.
20134 * iconvdata/ibm1148.h: Likewise.
20135 * iconvdata/ibm1149.h: Likewise.
20136 * iconvdata/ibm1153.h: Likewise.
20137 * iconvdata/ibm1154.h: Likewise.
20138 * iconvdata/ibm1155.h: Likewise.
20139 * iconvdata/ibm1156.h: Likewise.
20140 * iconvdata/ibm1157.h: Likewise.
20141 * iconvdata/ibm1158.h: Likewise.
20142 * iconvdata/ibm1160.h: Likewise.
20143 * iconvdata/ibm1161.h: Likewise.
20144 * iconvdata/ibm1162.h: Likewise.
20145 * iconvdata/ibm1163.h: Likewise.
20146 * iconvdata/ibm1164.h: Likewise.
20147 * iconvdata/ibm1166.h: Likewise.
20148 * iconvdata/ibm1167.h: Likewise.
20149 * iconvdata/ibm12712.h: Likewise.
20150 * iconvdata/ibm1390.h: Likewise.
20151 * iconvdata/ibm1399.h: Likewise.
20152 * iconvdata/ibm16804.h: Likewise.
20153 * iconvdata/ibm4517.h: Likewise.
20154 * iconvdata/ibm4899.h: Likewise.
20155 * iconvdata/ibm4909.h: Likewise.
20156 * iconvdata/ibm4971.h: Likewise.
20157 * iconvdata/ibm5347.h: Likewise.
20158 * iconvdata/ibm803.h: Likewise.
20159 * iconvdata/ibm856.h: Likewise.
20160 * iconvdata/ibm901.h: Likewise.
20161 * iconvdata/ibm902.h: Likewise.
20162 * iconvdata/ibm9030.h: Likewise.
20163 * iconvdata/ibm9066.h: Likewise.
20164 * iconvdata/ibm921.h: Likewise.
20165 * iconvdata/ibm922.h: Likewise.
20166 * iconvdata/ibm9448.h: Likewise.
20167 * iconvdata/isiri-3342.h: Likewise.
20168 * iconvdata/jis0201.h: Likewise.
20169 * include/link.h: Likewise.
20170 * include/netdb.h: Likewise.
20171 * inet/check_native.c: Likewise.
20172 * inet/check_pf.c: Likewise.
20173 * inet/getipv4sourcefilter.c: Likewise.
20174 * inet/getnameinfo.c: Likewise.
20175 * inet/getsourcefilter.c: Likewise.
20176 * inet/htonl.c: Likewise.
20177 * inet/setipv4sourcefilter.c: Likewise.
20178 * inet/setsourcefilter.c: Likewise.
20179 * inet/test-inet6_opt.c: Likewise.
20180 * inet/tst-network.c: Likewise.
20181 * locale/C-collate.c: Likewise.
20182 * locale/C-ctype.c: Likewise.
20183 * locale/C-time.c: Likewise.
20184 * locale/C-translit.h: Likewise.
20185 * locale/loadarchive.c: Likewise.
20186 * locale/programs/3level.h: Likewise.
20187 * locale/programs/charmap.c: Likewise.
20188 * locale/programs/charmap.h: Likewise.
20189 * locale/programs/ld-address.c: Likewise.
20190 * locale/programs/ld-collate.c: Likewise.
20191 * locale/programs/ld-ctype.c: Likewise.
20192 * locale/programs/ld-identification.c: Likewise.
20193 * locale/programs/ld-measurement.c: Likewise.
20194 * locale/programs/ld-messages.c: Likewise.
20195 * locale/programs/ld-monetary.c: Likewise.
20196 * locale/programs/ld-name.c: Likewise.
20197 * locale/programs/ld-numeric.c: Likewise.
20198 * locale/programs/ld-paper.c: Likewise.
20199 * locale/programs/ld-telephone.c: Likewise.
20200 * locale/programs/ld-time.c: Likewise.
20201 * locale/programs/linereader.c: Likewise.
20202 * locale/programs/locale.c: Likewise.
20203 * locale/programs/locarchive.c: Likewise.
20204 * locale/programs/locfile.h: Likewise.
20205 * locale/programs/repertoire.c: Likewise.
20206 * locale/programs/simple-hash.c: Likewise.
20207 * locale/programs/simple-hash.h: Likewise.
20208 * malloc/memusage.c: Likewise.
20209 * malloc/memusagestat.c: Likewise.
20210 * nis/nis_defaults.c: Likewise.
20211 * nis/nis_hash.c: Likewise.
20212 * nis/nis_print.c: Likewise.
20213 * nis/nis_xdr.c: Likewise.
20214 * nscd/connections.c: Likewise.
20215 * nscd/hstcache.c: Likewise.
20216 * nscd/nscd_gethst_r.c: Likewise.
20217 * nscd/nscd_getserv_r.c: Likewise.
20218 * nscd/nscd_helper.c: Likewise.
20219 * nscd/servicescache.c: Likewise.
20220 * nss/makedb.c: Likewise.
20221 * nss/nss_db/db-XXX.c: Likewise.
20222 * nss/nss_db/db-initgroups.c: Likewise.
20223 * nss/nss_db/db-netgrp.c: Likewise.
20224 * nss/nss_files/files-network.c: Likewise.
20225 * nss/nss_files/files-parse.c: Likewise.
20226 * posix/bug-regex5.c: Likewise.
20227 * posix/fnmatch_loop.c: Likewise.
20228 * posix/regcomp.c: Likewise.
20229 * posix/regexec.c: Likewise.
20230 * posix/tst-rfc3484-2.c: Likewise.
20231 * posix/tst-rfc3484-3.c: Likewise.
20232 * posix/tst-rfc3484.c: Likewise.
20233 * resolv/nss_dns/dns-canon.c: Likewise.
20234 * resolv/nss_dns/dns-network.c: Likewise.
20235 * resolv/res_init.c: Likewise.
20236 * resolv/res_mkquery.c: Likewise.
20237 * resolv/tst-aton.c: Likewise.
20238 * stdlib/cxa_atexit.c: Likewise.
20239 * stdlib/cxa_finalize.c: Likewise.
20240 * stdlib/gen-fpioconst.c: Likewise.
20241 * stdlib/strtol_l.c: Likewise.
20242 * string/tst-endian.c: Likewise.
20243 * sunrpc/auth_des.c: Likewise.
20244 * sunrpc/clnt_udp.c: Likewise.
20245 * sunrpc/rtime.c: Likewise.
20246 * sunrpc/svcauth_des.c: Likewise.
20247 * sunrpc/xdr.c: Likewise.
20248 * sunrpc/xdr_intXX_t.c: Likewise.
20249 * sunrpc/xdr_rec.c: Likewise.
20250 * sysdeps/generic/ldconfig.h: Likewise.
20251 * sysdeps/generic/ldsodefs.h: Likewise.
20252 * sysdeps/generic/memusage.h: Likewise.
20253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20263 * sysdeps/posix/getaddrinfo.c: Likewise.
20264 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20266 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20268 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20269 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20270 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20271 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20272 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20274 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20276 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20277 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20278 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20279 * sysdeps/x86_64/dl-tls.h: Likewise.
20280 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20281 * time/alt_digit.c: Likewise.
20282 * time/era.c: Likewise.
20283 * wcsmbs/tst-c16c32-1.c: Likewise.
20285 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20287 * math/libm-test.inc (struct test_sincos_data): New type.
20288 (RUN_TEST_LOOP_sincos): New macro.
20289 (sincos_test_data): New variable.
20290 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20292 2013-05-16 Richard Henderson <rth@redhat.com>
20294 * math/atest-exp2.c (LIMB64): New macro.
20295 (CONSTSZ): New macro.
20296 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20298 (print_mpn_fp): ... to function scope.
20299 (read_mpn_hex): Remove.
20300 (get_log2): Remove.
20301 (exp2_mpn): Use mp_log2.
20302 (main): Use mp_exp1.
20304 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20306 * math/libm-test.inc: Remove comment about not testing "inexact"
20308 (INEXACT_EXCEPTION): New macro.
20309 (NO_INEXACT_EXCEPTION): Likewise.
20310 (INVALID_EXCEPTION_OK): Update value.
20311 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20312 (OVERFLOW_EXCEPTION_OK): Likewise.
20313 (UNDERFLOW_EXCEPTION_OK): Likewise.
20314 (IGNORE_ZERO_INF_SIGN): Likewise.
20315 (ERRNO_UNCHANGED): Likewise.
20316 (ERRNO_EDOM): Likewise.
20317 (ERRNO_ERANGE): Likewise.
20318 (test_exceptions): Handle testing "inexact" exceptions.
20319 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20320 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20321 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20322 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20324 (rint_towardzero_test_data): Likewise.
20325 (rint_downward_test_data): Likewise.
20326 (rint_upward_test_data): Likewise.
20328 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20329 with OVERFLOW_EXCEPTION.
20330 (exp10_test_data): Likewise.
20331 (exp2_test_data): Likewise.
20332 (expm1_test_data): Likewise.
20333 (lgamma_test_data): Likewise.
20334 (pow_test_data): Likewise.
20335 (tgamma_test_data): Likewise.
20336 (yn_test_data): Remove duplicate test of overflow.
20338 * math/libm-test.inc (struct test_cc_c_data): New type.
20339 (RUN_TEST_LOOP_cc_c): New macro.
20340 (cpow_test_data): New variable.
20341 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20343 * math/libm-test.inc (struct test_f_L_data): New type.
20344 (RUN_TEST_LOOP_f_L): New macro.
20345 (llrint_test_data): New variable.
20346 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20347 (llrint_tonearest_test_data): New variable.
20348 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20349 (llrint_towardzero_test_data): New variable.
20350 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20351 (llrint_downward_test_data): New variable.
20352 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20353 (llrint_upward_test_data): New variable.
20354 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20355 (llround_test_data): New variable.
20356 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20358 2013-05-13 Peter Collingbourne <pcc@google.com>
20360 * math/atest-exp2.c (get_log2): Remove const attribute.
20362 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20364 * math/libm-test.inc (struct test_f_l_data): New type.
20365 (RUN_TEST_LOOP_f_l): New macro.
20366 (lrint_test_data): New variable.
20367 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20368 (lrint_tonearest_test_data): New variable.
20369 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20370 (lrint_towardzero_test_data): New variable.
20371 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20372 (lrint_downward_test_data): New variable.
20373 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20374 (lrint_upward_test_data): New variable.
20375 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20376 (lround_test_data): New variable.
20377 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20379 2013-05-15 Peter Collingbourne <pcc@google.com>
20381 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20382 (EXTRACT_WORDS64) Use where appropriate.
20383 (INSERT_WORDS64) Likewise.
20385 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20386 constraints with x constraints.
20387 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20389 * malloc/obstack.c (_obstack_compat): Add initializer.
20391 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20394 si_trapno and add si_addr_lsb to _sifields.sigfault.
20395 (si_trapno): Remove macro.
20396 (si_addr_lsb): Define new macro.
20397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20399 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20401 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20402 instead of TEST_f_l.
20403 (llrint_test_tonearest): Likewise.
20404 (llrint_test_towardzero): Likewise.
20405 (llrint_test_downward): Likewise.
20406 (llrint_test_upward): Likewise.
20407 (llround_test): Likewise.
20409 * math/libm-test.inc (struct test_f_i_data): Add comment.
20410 (RUN_TEST_LOOP_f_b): New macro.
20411 (RUN_TEST_LOOP_f_b_tg): Likewise.
20412 (finite_test_data): New variable.
20413 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20414 (isfinite_test_data): New variable.
20415 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20416 (isinf_test_data): New variable.
20417 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20418 (isnan_test_data): New variable.
20419 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20420 (isnormal_test_data): New variable.
20421 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20422 (issignaling_test_data): New variable.
20423 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20424 (signbit_test_data): New variable.
20425 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20427 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20428 with INVALID_EXCEPTION.
20429 (acosh_test_data): Likewise.
20430 (asin_test_data): Likewise.
20431 (atanh_test_data): Likewise.
20432 (fmod_test_data): Likewise.
20433 (log_test_data): Likewise.
20434 (log10_test_data): Likewise.
20435 (log2_test_data): Likewise.
20436 (pow_test_data): Likewise.
20437 (sqrt_test_data): Likewise.
20438 (y0_test_data): Likewise.
20439 (y1_test_data): Likewise.
20440 (yn_test_data): Likewise.
20442 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20445 * math/libm-test.inc (struct test_ff_i_data): New type.
20446 (RUN_TEST_LOOP_ff_i_tg): New macro.
20447 (isgreater_test_data): New variable.
20448 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20449 (isgreaterequal_test_data): New variable.
20450 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20451 (isless_test_data): New variable.
20452 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20453 (islessequal_test_data): New variable.
20454 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20455 (islessgreater_test_data): New variable.
20456 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20457 (isunordered_test_data): New variable.
20458 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20460 2013-05-14 David S. Miller <davem@davemloft.net>
20462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20464 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20466 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20468 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20470 (struct test_f_i_data): Change type of max_ulp to int.
20472 * math/libm-test.inc (test_ffI_f1_data): New type.
20473 (RUN_TEST_LOOP_ffI_f1): New macro.
20474 (remquo_test_data): New variable.
20475 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20477 * setjmp/tst-setjmp-fp.c: New file.
20478 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20479 (link-libm): New variable.
20480 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20482 * math/libm-test.inc (struct test_f_i_data): New type.
20483 (RUN_TEST_LOOP_f_i): New macro.
20484 (RUN_TEST_LOOP_f_i_tg): Likewise.
20485 (fpclassify_test_data): New variable.
20486 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20487 (ilogb_test_data): New variable.
20488 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20490 * math/libm-test.inc (scalbln_test): Correct function name in END
20493 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20494 (RUN_TEST_LOOP_fI_f1): New macro.
20495 (frexp_test_data): New variable.
20496 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20498 * math/libm-test.inc (struct test_fF_f1_data): New type.
20499 (RUN_TEST_LOOP_fF_f1): New macro.
20500 (modf_test_data): New variable.
20501 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20503 * math/libm-test.inc (struct test_f_f1_data): New type.
20504 (RUN_TEST_LOOP_f_f1): New macro.
20505 (gamma_test_data): New variable.
20506 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20507 (lgamma_test_data): New variable.
20508 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20510 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20513 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20514 (main): Comment "tls" pseudo-hwcap.
20516 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20518 * math/libm-test.inc (struct test_fl_f_data): New type.
20519 (RUN_TEST_LOOP_fl_f): New variable.
20520 (scalbln_test_data): New variable.
20521 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20523 * math/libm-test.inc (struct test_fi_f_data): New type.
20524 (RUN_TEST_LOOP_fi_f): New macro.
20525 (ldexp_test_data): New variable.
20526 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20527 (scalbn_test_data): New variable.
20528 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20530 * math/libm-test.inc (struct test_c_f_data): New type.
20531 (RUN_TEST_LOOP_c_f): New macro.
20532 (cabs_test_data): New variable.
20533 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20534 (carg_test_data): New variable.
20535 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20536 (cimag_test_data): New variable.
20537 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20538 (creal_test_data): New variable.
20539 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20541 * math/libm-test.inc (struct test_if_f_data): New type.
20542 (RUN_TEST_LOOP_if_f): New macro.
20543 (jn_test_data): New variable.
20544 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20545 (yn_test_data): New variable.
20546 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20548 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20550 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20552 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20553 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20555 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20557 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20558 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20559 (bench-deps): Add bench-timing.h.
20560 * benchtests-bench-skeleton.c: Include bench-timing.h.
20561 (main): Use TIMING_* macros instead of clock_gettime.
20562 * benchtests/bench-timing.h: New file.
20565 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20566 Renamed from _LIB_VERSION.
20567 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20569 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20571 * math/libm-test.inc (struct test_fff_f_data): New type.
20572 (RUN_TEST_LOOP_fff_f): New macro.
20573 (fma_test_data): New variable.
20574 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20575 (fma_towardzero_test_data): New variable.
20576 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20577 (fma_downward_test_data): New variable.
20578 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20579 (fma_upward_test_data): New variable.
20580 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20582 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20583 (struct test_c_c_data): New type.
20584 (RUN_TEST_LOOP_c_c): New macro.
20585 (cacos_test_data): New variable.
20586 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20587 (cacosh_test_data): New variable.
20588 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20589 (casin_test_data): New variable.
20590 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20591 (casinh_test_data): New variable.
20592 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20593 (catan_test_data): New variable.
20594 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20595 (catanh_test_data): New variable.
20596 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20597 (ccos_test_data): New variable.
20598 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20599 (ccosh_test_data): New variable.
20600 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20601 (cexp_test_data): New variable.
20602 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20603 (clog_test_data): New variable.
20604 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20605 (clog10_test_data): New variable.
20606 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20607 (conj_test_data): New variable.
20608 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20609 (cproj_test_data): New variable.
20610 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20611 (csin_test_data): New variable.
20612 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20613 (csinh_test_data): New variable.
20614 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20615 (csqrt_test_data): New variable.
20616 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20617 (ctan_test_data): New variable.
20618 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20619 (ctan_tonearest_test_data): New variable.
20620 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20621 (ctan_towardzero_test_data): New variable.
20622 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20623 (ctan_downward_test_data): New variable.
20624 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20625 (ctan_upward_test_data): New variable.
20626 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20627 (ctanh_test_data): New variable.
20628 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20629 (ctanh_tonearest_test_data): New variable.
20630 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20631 (ctanh_towardzero_test_data): New variable.
20632 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20633 (ctanh_downward_test_data): New variable.
20634 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20635 (ctanh_upward_test_data): New variable.
20636 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20637 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20640 * math/libm-test.inc (struct test_ff_f_data): New type.
20641 (struct test_ff_f_data_nexttoward): Likewise.
20642 (RUN_TEST_LOOP_2_f): New macro.
20643 (RUN_TEST_LOOP_ff_f): Likewise.
20644 (atan2_test_data): New variable.
20645 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20646 (copysign_test_data): New variable.
20647 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20648 (fdim_test_data): New variable.
20649 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20650 (fmax_test_data): New variable.
20651 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20652 (fmin_test_data): New variable.
20653 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20654 (fmod_test_data): New variable.
20655 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20656 (hypot_test_data): New variable.
20657 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20658 (nextafter_test_data): New variable.
20659 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20660 (nexttoward_test_data): New variable.
20661 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20662 (pow_test_data): New variable.
20663 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20664 (pow_tonearest_test_data): New variable.
20665 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20666 (pow_towardzero_test_data): New variable.
20667 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20668 (pow_downward_test_data): New variable.
20669 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20670 (pow_upward_test_data): New variable.
20671 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20672 (remainder_test_data): New variable.
20673 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20674 (scalb_test_data): New variable.
20675 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20676 * sysdeps/i386/fpu/libm-test-ulps: Update.
20678 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20680 * math/libm-test.inc (fma_test): Use max_value instead of local
20682 (nextafter_test): Likewise.
20684 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20685 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20686 (acos_downward_test_data): New variable.
20687 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20688 (acos_upward_test_data): New variable.
20689 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20690 (acosh_test_data): New variable.
20691 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20692 (asin_test_data): New variable.
20693 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20694 (asin_tonearest_test_data): New variable.
20695 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20696 (asin_towardzero_test_data): New variable.
20697 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20698 (asin_downward_test_data): New variable.
20699 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20700 (asin_upward_test_data): New variable.
20701 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20702 (asinh_test_data): New variable.
20703 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20704 (atan_test_data): New variable.
20705 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20706 (atanh_test_data): New variable.
20707 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20708 (cbrt_test_data): New variable.
20709 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20710 (ceil_test_data): New variable.
20711 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20712 (cos_test_data): New variable.
20713 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20714 (cos_tonearest_test_data): New variable.
20715 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20716 (cos_towardzero_test_data): New variable.
20717 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20718 (cos_downward_test_data): New variable.
20719 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20720 (cos_upward_test_data): New variable.
20721 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20722 (cosh_test_data): New variable.
20723 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20724 (cosh_tonearest_test_data): New variable.
20725 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20726 (cosh_towardzero_test_data): New variable.
20727 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20728 (cosh_downward_test_data): New variable.
20729 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20730 (cosh_upward_test_data): New variable.
20731 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20732 (erf_test_data): New variable.
20733 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20734 (erfc_test_data): New variable.
20735 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20736 (exp_test_data): New variable.
20737 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20738 (exp_tonearest_test_data): New variable.
20739 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20740 (exp_towardzero_test_data): New variable.
20741 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20742 (exp_downward_test_data): New variable.
20743 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20744 (exp_upward_test_data): New variable.
20745 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20746 (exp10_test_data): New variable.
20747 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20748 (exp2_test_data): New variable.
20749 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20750 (expm1_test_data): New variable.
20751 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20752 (fabs_test_data): New variable.
20753 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20754 (floor_test_data): New variable.
20755 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20756 (j0_test_data): New variable.
20757 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20758 (j1_test_data): New variable.
20759 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20760 (log_test_data): New variable.
20761 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20762 (log10_test_data): New variable.
20763 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20764 (log1p_test_data): New variable.
20765 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20766 (log2_test_data): New variable.
20767 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20768 (logb_test_data): New variable.
20769 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20770 (logb_downward_test_data): New variable.
20771 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20772 (nearbyint_test_data): New variable.
20773 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20774 (rint_test_data): New variable.
20775 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20776 (rint_tonearest_test_data): New variable.
20777 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20778 (rint_towardzero_test_data): New variable.
20779 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20780 (rint_downward_test_data): New variable.
20781 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20782 (rint_upward_test_data): New variable.
20783 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20784 (round_test_data): New variable.
20785 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20786 (sin_test_data): New variable.
20787 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20788 (sin_tonearest_test_data): New variable.
20789 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20790 (sin_towardzero_test_data): New variable.
20791 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20792 (sin_downward_test_data): New variable.
20793 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20794 (sin_upward_test_data): New variable.
20795 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20796 (sinh_test_data): New variable.
20797 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20798 (sinh_tonearest_test_data): New variable.
20799 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20800 (sinh_towardzero_test_data): New variable.
20801 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20802 (sinh_downward_test_data): New variable.
20803 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20804 (sinh_upward_test_data): New variable.
20805 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20806 (sqrt_test_data): New variable.
20807 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20808 (tan_test_data): New variable.
20809 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20810 (tan_tonearest_test_data): New variable.
20811 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20812 (tan_towardzero_test_data): New variable.
20813 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20814 (tan_downward_test_data): New variable.
20815 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20816 (tan_upward_test_data): New variable.
20817 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20818 (tanh_test_data): New variable.
20819 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20820 (tgamma_test_data): New variable.
20821 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20822 (trunc_test_data): New variable.
20823 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20824 (y0_test_data): New variable.
20825 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20826 (y1_test_data): New variable.
20827 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20828 (significand_test_data): New variable.
20829 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20831 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20834 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20836 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20838 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20840 2013-05-10 Andreas Jaeger <aj@suse.de>
20843 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20844 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20846 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20848 * math/gen-libm-test.pl (adjust_arg): New function.
20849 (special_functions): Handle generating output in both functions
20851 (parse_args): Likewise.
20852 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20853 $in_func argument to parse_args.
20854 * math/libm-test.inc (struct test_f_f_data): New type.
20855 (IF_ROUND_INIT_): New macro.
20856 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20857 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20858 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20859 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20860 (ROUND_RESTORE_): Likewise.
20861 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20862 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20863 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20864 (ROUND_RESTORE_FE_UPWARD): Likewise.
20865 (RUN_TEST_LOOP_f_f): New macro.
20866 (acos_test_data): New variable.
20867 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20868 (acos_tonearest_test_data): New variable.
20869 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20871 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20873 * benchtests/bench-skeleton.c (startup): Fix coding style.
20875 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20878 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20879 negative infinity argument.
20880 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20881 negative infinity argument.
20882 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20883 negative infinity argument.
20884 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20887 2013-05-10 Florian Weimer <fweimer@redhat.com>
20889 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20890 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20891 * iconv/iconv_prog.c (main): Likewise.
20892 * locale/programs/charmap-dir.c (charmap_readdir)
20893 (fopen_uncompressed): Likewise.
20894 * locale/programs/locfile.c (siblings_uncached)
20895 (write_locale_data): Use lstat64 instead of lstat.
20896 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20899 2013-05-10 Andreas Jaeger <aj@suse.de>
20902 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20904 Include <locale.h>.
20906 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20908 * elf/dl-close.c (_dl_close_worker): Add comments.
20910 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20913 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20915 (__ieee754_rem_pio2l): Update comments.
20918 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20920 (__ieee754_rem_pio2l): Update comments.
20922 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20923 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20925 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20928 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20929 (M_PI_34_LOG10El): Likewise.
20930 (M_PI2_LOG10El): Likewise.
20931 (M_PI4_LOG10El): Likewise.
20932 (M_PI_LOG10El): Likewise.
20934 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20938 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20940 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20941 (MINUS_ZERO_INIT): Likewise.
20942 (PLUS_INFTY_INIT): Likewise.
20943 (MINUS_INFTY_INIT): Likewise.
20944 (QNAN_VALUE_INIT): Likewise.
20945 (MAX_VALUE_INIT): Likewise.
20946 (MIN_VALUE_INIT): Likewise.
20947 (MIN_SUBNORM_VALUE_INIT): Likewise.
20948 (plus_zero): Initialize with PLUS_ZERO_INIT.
20949 (minus_zero): Initialize with MINUS_ZERO_INIT.
20950 (plus_infty): Initialize with PLUS_INFTY_INIT.
20951 (minus_infty): Initialize with MINUS_INFTY_INIT.
20952 (qnan_value): Initialize with QNAN_VALUE_INIT.
20953 (max_value): Initialize with MAX_VALUE_INIT.
20954 (min_value): Initialize with MIN_VALUE_INIT.
20955 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20957 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20958 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20959 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20960 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20962 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20963 (RUN_TEST_2_f): Likewise.
20964 (RUN_TEST_ff_f): Likewise.
20965 (RUN_TEST_fi_f): Likewise.
20966 (RUN_TEST_fl_f): Likewise.
20967 (RUN_TEST_fff_f): Likewise.
20968 (RUN_TEST_c_f): Likewise.
20969 (RUN_TEST_f_f1): Likewise.
20970 (RUN_TEST_fF_f1): Likewise.
20971 (RUN_TEST_fI_f1): Likewise.
20972 (RUN_TEST_ffI_f1): Likewise.
20973 (RUN_TEST_c_c): Likewise.
20974 (RUN_TEST_cc_c): Likewise.
20975 (RUN_TEST_f_i): Likewise.
20976 (RUN_TEST_f_i_tg): Likewise.
20977 (RUN_TEST_ff_i_tg): Likewise.
20978 (RUN_TEST_f_b): Likewise.
20979 (RUN_TEST_f_b_tg): Likewise.
20980 (RUN_TEST_f_l): Likewise.
20981 (RUN_TEST_f_L): Likewise.
20982 (RUN_TEST_sincos): Likewise.
20983 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20984 whether to show exceptions. Do not include ");\n" in return
20986 (special_functions): Output call to RUN_TEST_sincos instead of
20987 check_float calls. Update calls to new_test.
20988 (parse_args): Output call to single RUN_TEST_* macro instead of
20989 check_* calls and other assignments. Update calls to new_test.
20995 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20996 input to result for tgamma overflow.
20997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20998 (gamma_coeff): New variable.
20999 (NCOEFF): New macro.
21000 (gamma_positive): New function.
21001 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21002 underflow here. Use gamma_positive instead of exp (lgamma) for
21004 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21005 (gamma_coeff): New variable.
21006 (NCOEFF): New macro.
21007 (gammaf_positive): New function.
21008 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21009 underflow here. Use gamma_positive instead of exp (lgamma) for
21011 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21012 (gamma_coeff): New variable.
21013 (NCOEFF): New macro.
21014 (gammal_positive): New function.
21015 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21016 underflow here. Use gamma_positive instead of exp (lgamma) for
21018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21019 (gamma_coeff): New variable.
21020 (NCOEFF): New macro.
21021 (gammal_positive): New function.
21022 (__ieee754_gammal_r): Handle positive infinity, overflow and
21023 underflow here. Handle NaN the same as positive infinity. Remove
21024 check x < 0xffffffff for negative integers. Use gamma_positive
21025 instead of exp (lgamma) for other arguments.
21026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21027 (gamma_coeff): New variable.
21028 (NCOEFF): New macro.
21029 (gammal_positive): New function.
21030 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21031 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21036 * sysdeps/generic/math_private.h (__gamma_productf): New
21038 (__gamma_product): Likewise.
21039 (__gamma_productl): Likewise.
21040 * math/Makefile (libm-calls): Add gamma_product.
21041 * math/libm-test.inc (tgamma_test): Add more tests.
21042 * sysdeps/i386/fpu/libm-test-ulps: Update.
21043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21045 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21047 * benchtests/bench-skeleton.c (main): Preheat CPU.
21049 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21051 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21053 2013-05-07 Roland McGrath <roland@hack.frob.com>
21055 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21056 and _dl_skip_args_internal.
21058 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21060 * manual/message.texi (Message Translation): Talk about users.
21061 Message to key mapping impacts design.
21063 2013-05-06 Roland McGrath <roland@hack.frob.com>
21065 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21067 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21069 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21070 * sysdeps/wordsize-64/glob64.c: ... here.
21072 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21073 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21076 * debug/getlogin_r_chk.c: Moved to ...
21077 * login/getlogin_r_chk.c: ... here.
21078 * debug/Makefile (routines): Move getlogin_r_chk to ...
21079 * login/Makefile (routines): ... here.
21080 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21081 * login/Versions (libc: GLIBC_2.4): ... here.
21083 * io/poll.c (__poll): Renamed from poll.
21084 Add libc_hidden_def.
21085 (poll): Define as weak alias.
21087 * debug/ptsname_r_chk.c: Moved to ...
21088 * login/ptsname_r_chk.c: ... here.
21089 * debug/Makefile (routines): Move ptsname_r_chk to ...
21090 * login/Makefile (routines): ... here.
21091 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21092 * login/Versions (libc: GLIBC_2.4): ... here.
21094 * posix/getlogin.c: Moved to ...
21095 * login/getlogin.c: ... here.
21096 * posix/getlogin_r.c: Moved to ...
21097 * login/getlogin_r.c: ... here.
21098 * posix/getlogin_r.c: Moved to ...
21099 * login/getlogin_r.c: ... here.
21100 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21101 * login/Makefile (routines): ... here.
21102 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21103 * login/Versions (libc: GLIBC_2.0): ... here.
21105 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21106 (setrlimit): Define as weak alias.
21108 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21109 Call __ names for open, ftruncate, and close.
21110 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21111 (truncate): Define as weak alias.
21113 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21115 * math/gen-libm-test.pl (parse_args): Initialize x before each
21116 test of frexp, modf and remquo.
21118 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21119 test signgam value.
21121 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21125 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21129 2013-05-06 Roland McGrath <roland@hack.frob.com>
21131 * elf/dl-writev.h: New file.
21132 * elf/dl-misc.c: Include it.
21133 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21134 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21136 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21138 * math/libm-test.inc (noXFails): Remove variable.
21139 (noXPasses): Likewise.
21140 (BUILD_COMPLEX_INT): Remove macro.
21141 (print_screen): Remove xfail argument.
21142 (print_screen_max_error): Likewise.
21143 (update_stats): Likewise.
21144 (print_max_error): Likewise. Update calls to other affected
21146 (print_complex_max_error): Likewise.
21147 (test_single_exception): Update calls to print_screen.
21148 (test_single_errno): Likewise.
21149 (check_float_internal): Remove xfail argument. Update calls to
21150 other affected functions.
21151 (check_float): Likewise.
21152 (check_complex): Likewise.
21153 (check_int): Likewise.
21154 (check_long): Likewise.
21155 (check_bool): Likewise.
21156 (check_longlong): Likewise.
21157 (main): Don't print noXFails and noXPasses.
21158 * math/gen-libm-test.pl (top level): Don't mention expected
21159 failure handling in comment.
21160 (new_test): Don't handle expected failures.
21161 (parse_args): Don't mention expected failure handling in comment.
21162 (generate_testfile): Don't handle expected failures.
21163 (parse_ulps): Likewise.
21164 (print_ulps_file): Likewise.
21165 (get_failure): Remove function.
21166 (output_test): Don't handle expected failures.
21167 * make/README.libm-test: Don't mention expected failure handling.
21169 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21170 (minus_zero): Likewise.
21171 (plus_infty): Likewise.
21172 (minus_infty): Likewise.
21173 (qnan_value): Likewise.
21174 (max_value): Likewise.
21175 (min_value): Likewise.
21176 (min_subnorm_value): Likewise.
21177 (initialize): Do not initialize those variables dynamically.
21179 2013-05-03 Roland McGrath <roland@hack.frob.com>
21181 * io/open.c (__open_2): Moved to ...
21182 * io/open_2.c: ... this new file.
21183 * io/open64.c (__open64_2): Moved to ...
21184 * io/open64_2.c: ... this new file.
21185 * io/openat.c (__openat_2): Moved to ...
21186 * io/openat_2.c: ... this new file.
21187 * io/openat64.c (__openat64_2): Moved to ...
21188 * io/openat64_2.c: ... this new file.
21189 * io/Makefile (routines): Add them.
21190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21191 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21192 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21193 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21194 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21195 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21196 (__openat64): Add hidden_ver.
21197 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21198 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21200 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21201 Separately conditionalize setting of GLRO(dl_sysinfo) so
21202 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21203 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21205 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21207 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21210 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21211 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21212 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21213 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21214 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21216 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21218 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21219 test signgam value.
21221 * math/libm-test.inc (hypot_test): Do not use
21222 IGNORE_ZERO_INF_SIGN.
21224 2013-05-03 Andreas Jaeger <aj@suse.de>
21226 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21229 (PF_MAX): Adjust for VSOCK change.
21231 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21235 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21238 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21239 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21240 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21242 2013-05-02 David S. Miller <davem@davemloft.net>
21244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21246 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21248 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21250 2013-05-01 Roland McGrath <roland@hack.frob.com>
21252 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21254 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21257 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21258 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21259 Use __attribute__ ((__gnu_inline__)).
21260 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21261 Don't use __attribute__ ((__gnu_inline__)).
21263 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21266 * math/s_catan.c (__catan): Handle small real or imaginary part of
21267 input specially to avoid spurious underflow.
21268 * math/s_catanf.c (__catanf): Likewise.
21269 * math/s_catanh.c (__catanh): Likewise.
21270 * math/s_catanhf.c (__catanhf): Likewise.
21271 * math/s_catanhl.c (__catanhl): Likewise.
21272 * math/s_catanl.c (__catanl): Likewise.
21273 * math/libm-test.inc (catan_test): Add more tests.
21274 (catanh_test): Likewise.
21275 * sysdeps/i386/fpu/libm-test-ulps: Update.
21276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21278 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21282 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21285 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21286 accurately for denominator in atan2.
21287 * math/s_catanf.c (__catanf): Likewise.
21288 * math/s_catanh.c (__catanh): Likewise.
21289 * math/s_catanhf.c (__catanhf): Likewise.
21290 * math/s_catanhl.c (__catanhl): Likewise.
21291 * math/s_catanl.c (__catanl): Likewise.
21292 * math/libm-test.inc (catan_test): Add more tests.
21293 (catanh_test): Likewise.
21294 * sysdeps/i386/fpu/libm-test-ulps: Update.
21295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21297 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21299 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21301 * benchtests/Makefile (bench): Remove slow benchmarks.
21302 * benchtests/atan-inputs: Add slow benchmark inputs.
21303 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21304 (BENCH_FUNC): Accept variant offset.
21306 * benchtests/bench-skeleton.c (main): Run benchmark for each
21308 * benchtests/cos-inputs: Add slow benchmark inputs.
21309 * benchtests/exp-inputs: Likewise.
21310 * benchtests/pow-inputs: Likewise.
21311 * benchtests/sin-inputs: Likewise.
21312 * benchtests/slowatan-inputs: Remove.
21313 * benchtests/slowatan.c: Remove.
21314 * benchtests/slowcos-inputs: Remove.
21315 * benchtests/slowcos.c: Remove.
21316 * benchtests/slowexp-inputs: Remove.
21317 * benchtests/slowexp.c: Remove.
21318 * benchtests/slowpow-inputs: Remove.
21319 * benchtests/slowpow.c: Remove.
21320 * benchtests/slowsin-inputs: Remove.
21321 * benchtests/slowsin.c: Remove.
21322 * benchtests/slowtan-inputs: Remove.
21323 * benchtests/slowtan.c: Remove.
21324 * benchtests/tan-inputs: Add slow benchmark inputs.
21325 * scripts/bench.pl: Parse comments and directives.
21327 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21329 ($(objpfx)bench-%.c): Remove *-ITER.
21330 * benchtests/bench-modf.c: Remove definition of ITER.
21331 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21332 (main): Loop for DURATION seconds instead of fixed number of
21334 * scripts/bench.pl: Don't expect iterations in parameters.
21336 2013-04-29 Roland McGrath <roland@hack.frob.com>
21338 * io/fchdir.c (__fchdir): Renamed from fchdir.
21339 (fchdir): Define as weak alias.
21341 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21343 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21344 (ERRNO_EDOM): Likewise.
21345 (ERRNO_ERANGE): Likewise.
21346 (noErrnoTests): New variable.
21347 (init_max_error): Set errno to 0.
21348 (test_single_errno): New function.
21349 (test_errno): Likewise.
21350 (check_float_internal): Call test_errno. Set errno to 0.
21351 (check_complex): Refer to errno tests in comment.
21352 (check_int): Call test_errno. Set errno to 0.
21353 (check_long): Likewise.
21354 (check_bool): Likewise.
21355 (check_longlong): Likewise.
21356 (cos_test): Use ERRNO_* flags for errno tests instead of
21358 (expm1_test): Likewise.
21359 (fmod_test): Likewise.
21360 (ilogb_test): Likewise.
21361 (lgamma_test): Likewise.
21362 (pow_test): Likewise.
21363 (remainder_test): Likewise.
21364 (sin_test): Likewise.
21365 (tan_test): Likewise.
21366 (yn_test): Likewise.
21367 (initialize): Set errno to 0.
21368 (main): Print number of errno tests.
21369 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21371 2013-04-29 Andreas Jaeger <aj@suse.de>
21374 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21378 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21379 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21383 * stdlib/random.c (__initstate): Return NULL if
21387 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21388 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21391 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21395 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21397 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21398 of individual tests.
21399 (casin_test): Likewise.
21400 (casinh_test): Likewise.
21402 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21405 * math/s_catan.c (__catan): Handle arguments with large real or
21406 imaginary part separately without squaring.
21407 * math/s_catanf.c (__catanf): Likewise.
21408 * math/s_catanh.c (__catanh): Likewise.
21409 * math/s_catanhf.c (__catanhf): Likewise.
21410 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21412 (__catanhl): Handle arguments with large real or imaginary part
21413 separately without squaring.
21414 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21416 (__catanl): Handle arguments with large real or imaginary part
21417 separately without squaring.
21418 * math/libm-test.inc (catan_test): Add more tests.
21419 (catanh_test): Likewise.
21420 * sysdeps/i386/fpu/libm-test-ulps: Update.
21421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21423 2013-04-27 Andreas Jaeger <aj@suse.de>
21426 * stdlib/stdlib.h: Update guards for qecvt.
21427 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21430 2013-04-27 Allan McRae <allan@archlinux.org>
21432 * sysdeps/i386/fpu/libm-test-ulps: Update.
21434 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21437 * math/s_catan.c: Include <float.h>.
21438 (__catan): Ensure underflow exception occurs for underflowed
21440 * math/s_catanf.c: Include <float.h>.
21441 (__catanf): Ensure underflow exception occurs for underflowed
21443 * math/s_catanh.c: Include <float.h>.
21444 (__catanh): Ensure underflow exception occurs for underflowed
21446 * math/s_catanhf.c: Include <float.h>.
21447 (__catanhf): Ensure underflow exception occurs for underflowed
21449 * math/s_catanhl.c: Include <float.h>.
21450 (__catanhl): Ensure underflow exception occurs for underflowed
21452 * math/s_catanl.c: Include <float.h>.
21453 (__catanl): Ensure underflow exception occurs for underflowed
21455 * math/libm-test.inc (catan_test): Add more tests.
21456 (catanh_test): Likewise.
21459 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21460 underflowed result.
21461 * math/s_ccoshf.c (__ccoshf): Likewise.
21462 * math/s_ccoshl.c (__ccoshl): Likewise.
21463 * math/s_csin.c (__csin): Likewise.
21464 * math/s_csinf.c (__csinf): Likewise.
21465 * math/s_csinh.c (__csinh): Likewise.
21466 * math/s_csinhf.c (__csinhf): Likewise.
21467 * math/s_csinhl.c (__csinhl): Likewise.
21468 * math/s_csinl.c (__csinl): Likewise.
21469 * math/libm-test.inc (ccos_test): Add more tests.
21470 (ccosh_test): Likewise.
21471 (csin_test): Likewise.
21472 (csinh_test): Likewise.
21474 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21476 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21477 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21478 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21479 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21480 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21481 powerpc/power5+/fpu folders.
21482 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21485 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21489 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21491 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21492 additions to variable.
21493 [$(config-machine) = x86_64] (modules-names): Likewise.
21494 ($(objpfx)tst-audit3): Remove dependency.
21495 ($(objpfx)tst-audit3.out): Likewise.
21496 ($(objpfx)tst-audit4): Likewise.
21497 ($(objpfx)tst-audit4.out): Likewise.
21498 ($(objpfx)tst-audit5): Likewise.
21499 ($(objpfx)tst-audit5.out): Likewise.
21500 ($(objpfx)tst-audit6): Likewise.
21501 ($(objpfx)tst-audit6.out): Likewise.
21502 ($(objpfx)tst-audit7): Likewise.
21503 ($(objpfx)tst-audit7.out): Likewise.
21504 (tst-audit3-ENV): Remove variable.
21505 (tst-audit4-ENV): Likewise.
21506 (tst-audit5-ENV): Likewise.
21507 (tst-audit6-ENV): Likewise.
21508 (tst-audit7-ENV): Likewise.
21509 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21510 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21511 addition to variable.
21512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21517 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21518 tst-audit3, tst-audit4 and tst-audit5.
21519 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21520 tst-audit6 and tst-audit7.
21521 [$(subdir) = elf] (modules-names): Add audit modules for those
21523 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21524 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21525 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21526 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21527 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21528 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21529 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21530 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21531 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21532 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21533 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21534 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21535 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21536 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21537 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21538 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21540 [$(subdir) = elf && $(config-cflags-avx) = yes]
21541 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21542 [$(subdir) = elf && $(config-cflags-avx) = yes]
21543 (CFLAGS-tst-auditmod4a.c): Likewise.
21544 [$(subdir) = elf && $(config-cflags-avx) = yes]
21545 (CFLAGS-tst-auditmod4b.c): Likewise.
21546 [$(subdir) = elf && $(config-cflags-avx) = yes]
21547 (CFLAGS-tst-auditmod6b.c): Likewise.
21548 [$(subdir) = elf && $(config-cflags-avx) = yes]
21549 (CFLAGS-tst-auditmod6c.c): Likewise.
21550 [$(subdir) = elf && $(config-cflags-avx) = yes]
21551 (CFLAGS-tst-auditmod7b.c): Likewise.
21552 * elf/tst-audit3.c: Move to ...
21553 * sysdeps/x86_64/tst-audit3.c: ... here.
21554 * elf/tst-audit4.c: Move to ...
21555 * sysdeps/x86_64/tst-audit4.c: ... here.
21556 * elf/tst-audit5.c: Move to ...
21557 * sysdeps/x86_64/tst-audit5.c: ... here.
21558 * elf/tst-audit6.c: Move to ...
21559 * sysdeps/x86_64/tst-audit6.c: ... here.
21560 * elf/tst-audit7.c: Move to ...
21561 * sysdeps/x86_64/tst-audit7.c: ... here.
21562 * elf/tst-auditmod3a.c: Move to ...
21563 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21564 * elf/tst-auditmod3b.c: Move to ...
21565 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21566 * elf/tst-auditmod4a.c: Move to ...
21567 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21568 * elf/tst-auditmod4b.c: Move to ...
21569 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21570 * elf/tst-auditmod5a.c: Move to ...
21571 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21572 * elf/tst-auditmod5b.c: Move to ...
21573 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21574 * elf/tst-auditmod6a.c: Move to ...
21575 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21576 * elf/tst-auditmod6b.c: Move to ...
21577 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21578 * elf/tst-auditmod6c.c: Move to ...
21579 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21580 * elf/tst-auditmod7a.c: Move to ...
21581 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21582 * elf/tst-auditmod7b.c: Move to ...
21583 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21585 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21588 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21589 define unconditionally.
21590 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21591 define unconditionally.
21592 (INT8_C, INT16_C, etc.): Likewise.
21594 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21596 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21597 __ehdr_start with hidden visibility.
21599 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21601 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21603 * math/libm-test.inc (cos_test): Use accurate hex constants.
21604 (sincost_test): Likewise.
21606 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21608 * math/libm-test.inc (catan_test): Add more tests.
21609 (catanh_test): Likewise.
21611 * math/s_catanf.c (__catanf): Use suffixed floating-point
21613 * math/s_catanhf.c (__catanhf): Likewise.
21614 * math/s_catanhl.c (__catanhl): Likewise.
21615 * math/s_catanl.c (__catanl): Likewise.
21618 * math/s_catan.c (__catan): Calculate imaginary part of result
21619 with log1p not log unless computing log of number close to 0.
21620 * math/s_catanf.c (__catanf): Likewise.
21621 * math/s_catanl.c (__catanl): Likewise.
21622 * math/s_catanh.c (__catanh): Calculate real part of result with
21623 log1p not log unless computing log of number close to 0.
21624 * math/s_catanhf.c (__catanhf): Likewise.
21625 * math/s_catanhl.c (__catanhl): Likewise.
21626 * math/libm-test.inc (catan_test): Add more tests.
21627 (catanh_test): Likewise.
21628 * sysdeps/i386/fpu/libm-test-ulps: Update.
21629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21631 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21633 * benchtests/Makefile: Mention files in which fast and slow
21634 paths of math functions are implemented.
21636 2013-04-23 Roland McGrath <roland@hack.frob.com>
21638 * sysdeps/posix/timespec_get.c: New file.
21640 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21642 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21644 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21646 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21647 powerpc/power5/fpu folders.
21648 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21649 * benchtests/Makefile: Add modf testcase.
21650 * benchtests/bench-modf.c: New file: Benchmark test for mo
21652 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21655 * time/Makefile (tests): Add tst-strptime-whitespace.
21656 * time/strptime_l.c (get_number): Use ISSPACE.
21657 (__strptime_internal): Likewise.
21658 * time/tst-strptime-whitespace.c: New test case.
21660 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21662 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21664 (_nss_files_init): Set it here.
21666 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21669 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21672 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21674 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21676 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21681 2013-04-21 David S. Miller <davem@davemloft.net>
21683 * po/ru.po: Update Russion translation from translation project.
21685 2013-04-17 Adam Conrad <adconrad@0c3.net>
21687 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21690 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21692 * configure.in: Remove i386 configure warning. Remove i386 case.
21693 * configure: Regenerate.
21694 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21695 Add example to error message.
21696 * sysdeps/i386/configure: Regenerate.
21698 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21700 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21702 * benchtests/cos-inputs: New file.
21703 * benchtests/slowcos-inputs: New file.
21704 * benchtests/slowcos.c: New file.
21705 * benchtests/slowtan-inputs: New file.
21706 * benchtests/slowtan.c: New file.
21707 * benchtests/tan-inputs: New file.
21709 2013-04-16 Roland McGrath <roland@hack.frob.com>
21711 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21714 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21716 * benchtests/Makefile: Include cppflags-iterator.mk to add
21717 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21719 * Makefile.in (bench-clean): New target.
21720 * benchtests/Makefile (bench-clean): Likewise.
21722 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21724 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21726 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21728 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21730 2013-04-15 Andreas Schwab <schwab@suse.de>
21732 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21734 * nscd/pwdcache.c (cache_addpw): Likewise.
21735 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21738 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21740 * benchtests/Makefile (bench): Write all output to
21741 bench-out.tmp together.
21743 2013-04-15 Andreas Schwab <schwab@suse.de>
21745 * nscd/nscd.c (main): Don't fork again after closing files.
21747 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21749 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21751 * benchtests/Rules (bench-deps): Collect dependencies into a
21752 single variable. Add Makefile to dependencies.
21753 ($(objpfx)bench-%.c): Depend on bench-deps.
21755 2013-04-12 Roland McGrath <roland@hack.frob.com>
21756 Xavier Roche <roche+kml2@exalead.com>
21759 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21760 just that it's a file descriptor.
21761 * manual/llio.texi (Synchronizing AIO Operations): Update description
21762 for EBADF error from aio_fsync.
21764 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21766 * Rules (bench): Move target definition...
21767 * benchtests/Makefile: ... here.
21769 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21771 * math/libm-test.inc (cos_test): Fix PI/2 test.
21772 (sincos_test): Likewise.
21773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21774 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21776 2013-04-11 Andreas Schwab <schwab@suse.de>
21779 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21780 accept exponent character only when digits were seen.
21781 * stdio-common/Makefile (tests): Add bug26.
21782 * stdio-common/bug26.c: New file.
21785 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21788 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21790 * Makeconfig (rtld-prefix): Define built linker prefix.
21791 * Rules (run-bench): Use it.
21792 * math/Makefile (run-regen-ulps): Likewise.
21794 * Rules (bench): Remove eval.
21796 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21797 Roland McGrath <roland@hack.frob.com>
21798 Ondrej Bilka <neleai@seznam.cz>
21801 * time/getdate.c: Include ctype.h and alloca.h.
21802 (__getdate_r): Trim leading and trailing spaces of input.
21803 * time/tst-getdate.c (tests): Add tests with leading and
21806 2013-04-08 Roland McGrath <roland@hack.frob.com>
21809 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21810 when computing value.
21812 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21814 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21815 Use testrun.sh to run libm tests.
21818 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21820 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21823 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21825 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21827 * Makefile.in (regen-ulps): New target.
21828 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21829 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21830 [ifneq (no,$(PERL)] (regen-ulps): New target.
21831 [ifeq (no,$(PERL)] (regen-ulps): New target.
21832 * math/libm-test.inc (ulps_file_name): Define.
21833 (output_dir): New variable.
21834 (options): Add "output-dir" option.
21835 (parse_opt): Handle 'o' case.
21836 (main): If output_dir is non-NULL use it as a prefix
21838 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21840 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21842 [BZ #10060, #10062]
21843 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21844 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21845 fail configure if __sync_val_compare_and_swap is not inlined.
21846 * sysdeps/i386/configure: Regenerate.
21847 * configure.in: Build for i686 when configured for i386.
21848 * configure: Regenerate.
21849 * README: Remove i386 reference.
21851 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21853 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21856 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21858 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21859 (lmsnanval): New variables.
21860 (F): Add conversion tests.
21861 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21862 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21864 * stdio-common/tstdiomisc.c (F): Properly collect individual
21867 [BZ #14686, #15336]
21868 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21869 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21870 Instead, use input NaN values or generate a qNaN by arithmetic
21871 operation. Also fix bugs to comply with the standard.
21872 * math/libm-test.inc (remainder_test): Add more tests.
21874 [BZ #15335, #15342]
21875 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21877 input NaN values or generate a qNaN by arithmetic operation.
21879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21882 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21885 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21888 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21889 underflowed result.
21890 * math/s_cexpf.c (__cexpf): Likewise.
21891 * math/s_cexpl.c (__cexpl): Likewise.
21892 * math/libm-test.inc (cexp_test): Add more tests.
21894 2013-04-03 Andreas Schwab <schwab@suse.de>
21897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21898 order arrays from heap if bigger than alloca cutoff.
21900 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21902 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21903 (SNAN_TESTS_double): Refer to GCC PR56831.
21904 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21907 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21909 * Rules (bench): Move bench.out after the run is complete.
21911 * Rules (bench): Echo currently running benchmark.
21913 * benchtests/Makefile (bench): Add atan and slowatan.
21914 * benchtests/atan-inputs: New file.
21915 * benchtests/slowatan-inputs: New file.
21916 * benchtests/slowatan.c: New file.
21918 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21919 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21923 * sysdeps/unix/sysv/linux/kernel-features.h
21924 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21925 __ASSUME_XFS_RESTRICTED_CHOWN.
21926 * sysdeps/unix/sysv/linux/pathconf.c
21927 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21928 Save and restore errno.
21930 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21933 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21934 arguments using __kernel_casinh.
21935 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21936 arguments using __kernel_casinhf.
21937 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21938 arguments using __kernel_casinhl.
21939 * math/libm-test.inc (cacosh_test): Add more tests.
21940 * sysdeps/i386/fpu/libm-test-ulps: Update.
21941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21948 * bench/Makefile (bench): Add sin and slowsin.
21949 * benchtests/sin-inputs: New file.
21950 * benchtests/slowsin-inputs: New file.
21951 * benchtests/slowsin.c: New file.
21953 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21954 (bench): Add slowexp and slowpow.
21955 (exp-ITER): Increase iterations.
21956 (pow-ITER): Likewise.
21957 * benchtests/exp-inputs: Change input.
21958 * benchtests/pow-inputs: Likewise.
21959 * benchtests/slowexp-inputs: New file.
21960 * benchtests/slowexp.c: New file.
21961 * benchtests/slowpow-inputs: New file.
21962 * benchtests/slowpow.c: New file.
21964 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21966 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21968 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21971 * benchtests/Makefile: Add rint benchtest.
21972 * benchtests/rint-inputs: Input for rint benchtest.
21974 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21976 * Versions.def (libm): Add GLIBC_2.18.
21977 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21978 hidden libm prototypes.
21979 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21980 * math/Makefile (libm-calls): Add s_issignaling.
21981 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21982 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21983 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21985 * math/math.h [__USE_GNU] (issignaling): New macro.
21986 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21987 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21989 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21992 * manual/arith.texi (issignaling): New section.
21993 * manual/libm-err-tab.pl (@all_functions): Update comment.
21994 * math/gen-libm-test.pl (parse_args): Apply special handling for
21996 * math/libm-test.inc (print_float, issignaling_test): New
21998 (check_float_internal): Add issignaling checks.
21999 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22000 default definition.
22001 * sysdeps/powerpc/math-tests.h: New file.
22002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22004 * math/test-snan.c (TEST_FUNC): Likewise.
22006 2013-03-30 David S. Miller <davem@davemloft.net>
22008 * po/de.po: Update from translation team.
22010 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22013 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22014 imaginary part less than 1.0 and real part less than 0.5
22016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22018 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22019 (cacos_test): Add more tests.
22020 (casin_test): Likewise.
22021 (casinh_test): Likewise.
22022 * sysdeps/i386/fpu/libm-test-ulps: Update.
22023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22025 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22027 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22028 ONE with its value.
22030 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22031 (__pow_mp): Replace ONE and MONE with their values.
22032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22034 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22035 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22036 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22037 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22039 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22041 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22042 (__pow_mp): Replace ZERO and MZERO with their values.
22043 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22047 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22048 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22051 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22053 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22055 2013-03-28 Roland McGrath <roland@hack.frob.com>
22057 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22058 Declare with __attribute__ ((weak)).
22059 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22060 Call __call_tls_dtors only if it's not NULL.
22062 2013-03-28 Roland McGrath <roland@hack.frob.com>
22064 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22065 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22066 magic __ehdr_start linker symbol if it's defined.
22067 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22068 them up here if it was already done.
22070 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22071 (_dl_aux_init): Use const in cast when setting it.
22072 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22073 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22074 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22076 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22078 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22079 * csu/libc-tls.c: Nor here.
22080 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22082 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22083 (__libc_message): Never call vsyslog.
22085 2013-03-28 Alan Modra <amodra@gmail.com>
22087 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22089 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22092 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22099 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22102 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22103 Don't add gid passed as argument.
22105 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22107 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22110 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22111 imaginary part between 1.0 and 1.5 and real part less than 0.5
22113 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22114 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22115 * math/libm-test.inc (cacos_test): Add more tests.
22116 (casin_test): Likewise.
22117 (casinh_test): Likewise.
22118 * sysdeps/i386/fpu/libm-test-ulps: Update.
22119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22123 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22126 (denorm): Likewise.
22127 (__dbl_mp): Likewise.
22128 (add_magnitudes): Likewise.
22129 (sub_magnitudes): Likewise.
22137 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22139 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22140 (__dubcos): Likewise.
22141 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22142 (__ieee754_acos): Likewise.
22143 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22145 (__exp1): Likewise.
22146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22149 (my_log2): Likewise.
22150 (checkint): Likewise.
22151 * sysdeps/ieee754/dbl-64/e_remainder.c
22152 (__ieee754_remainder): Likewise.
22153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22155 (bsloww): Likewise.
22156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22158 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22159 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22160 MANTISSA_STORE_T to store computations on mantissa. Use
22161 macros for rounding and division.
22162 (denorm): Likewise.
22163 (__dbl_mp): Likewise.
22164 (add_magnitudes): Likewise.
22165 (sub_magnitudes): Likewise.
22168 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22169 powers of two in terms of TWOPOW macro.
22170 (mp_no): Make type of mantissa as MANTISSA_T.
22171 [!RADIXI]: Define RADIXI.
22172 [!TWO52]: Define TWO52.
22173 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22175 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22177 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22178 llroundl symbol when building for PPC32.
22180 2013-03-24 Mark H Weaver <mhw@netris.org>
22182 * manual/arith.texi (Normalization Functions): Fix prototypes for
22183 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22185 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22189 high value to check if expl overflow.
22190 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22191 to check for underflow and overflow.
22192 * math/libm-test.inc: Add exp test.
22194 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22197 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22200 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22202 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22205 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22207 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22208 wrap blocks consisting of several statements.
22210 * sysdeps/generic/math-tests.h: New file.
22211 * sysdeps/i386/fpu/math-tests.h: Likewise.
22212 * math/test-snan.c: Include it.
22213 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22215 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22219 (__ieee754_j0l): Do not improve calculations using cos of twice
22220 input for inputs above LDBL_MAX / 2.0L.
22221 (__ieee754_y0l): Likewise.
22222 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22223 (__ieee754_j1l): Do not improve calculations using cos of twice
22224 input for inputs above LDBL_MAX / 2.0L.
22225 (__ieee754_y1l): Likewise.
22226 * math/libm-test.inc (j0_test): Add another test.
22227 (j1_test): Likewise.
22228 (y0_test): Likewise.
22229 (y1_test): Likewise.
22230 * sysdeps/i386/fpu/libm-test-ulps: Update.
22232 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22234 * Rules ($(objpfx)bench-%.c): Include code from a C source
22237 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22241 imaginary part 1.0 and real part less than 0.5 specially.
22242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22244 * math/libm-test.inc (cacos_test): Add more tests.
22245 (casin_test): Likewise.
22246 (casinh_test): Likewise.
22247 * sysdeps/i386/fpu/libm-test-ulps: Update.
22248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22255 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22257 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22258 * config.make.in (config-cflags-sse4): Remove variable.
22259 (config-cflags-avx): Likewise.
22260 (config-cflags-sse2avx): Likewise.
22261 (config-cflags-novzeroupper): Likewise.
22262 (config-asflags-i686): Likewise.
22263 (have-mfma4): Likewise.
22264 (have-as-vis3): Likewise.
22266 * configure.in (MIG): Do not AC_SUBST.
22267 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22268 (libc_cv_cc_sse4): Do not AC_SUBST.
22269 (libc_cv_cc_avx): Likewise.
22270 (libc_cv_cc_sse2avx): Likewise.
22271 (libc_cv_cc_novzeroupper): Likewise.
22272 (libc_cv_cc_fma4): Likewise.
22273 (libc_cv_as_i686): Likewise.
22274 (libc_cv_sparc_as_vis3): Likewise.
22275 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22277 (config-asflags-i686): Likewise.
22278 (config-cflags-avx): Likewise.
22279 (config-cflags-sse2avx): Likewise.
22280 (have-mfma4): Likewise.
22281 (config-cflags-novzeroupper): Likewise.
22282 * sysdeps/mach/configure.in (MIG): Likewise.
22283 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22284 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22286 (config-cflags-avx): Likewise.
22287 (config-cflags-sse2avx): Likewise.
22288 (have-mfma4): Likewise.
22289 (config-cflags-novzeroupper): Likewise.
22290 * configure: Regenerated.
22291 * sysdeps/i386/configure: Likewise.
22292 * sysdeps/mach/configure: Likewise.
22293 * sysdeps/sparc/configure: Likewise.
22294 * sysdeps/x86_64/configure: Likewise.
22296 2013-03-20 Roland McGrath <roland@hack.frob.com>
22299 * locale/programs/localedef.c (options): Put N_ translation marker
22300 on argument names, not just descriptions.
22302 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22304 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22306 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22309 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22311 2013-03-19 Roland McGrath <roland@hack.frob.com>
22313 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22314 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22315 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22316 [!BEFORE_ABORT] (before_abort): New function.
22317 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22318 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22319 (writev_for_fatal): New function.
22320 (WRITEV_FOR_FATAL): New macro; call that.
22321 (backtrace_and_maps): New function.
22322 (BEFORE_ABORT): New macro; call that.
22323 (struct str_list): Type removed.
22324 (__libc_message, __libc_fatal): Functions removed.
22325 Include <sysdeps/posix/libc_fatal.c> instead.
22327 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22329 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22331 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22334 2013-03-19 Andreas Schwab <schwab@suse.de>
22336 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22337 * sysdeps/gnu/configure: Regenerate.
22339 * configure.in: Substitute libc_cv_rtlddir.
22340 * configure: Regenerate.
22341 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22342 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22343 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22344 * elf/Makefile (install-others, CFLAGS-interp.c)
22345 (ldso_install, common-ldd-rewrite): Likewise.
22346 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22347 $(inst_slibdir)/$(rtld-installed-name).
22348 * scripts/rellns-sh: Add -p option.
22349 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22352 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22354 * manual/nptl.texi: Renamed to ...
22355 * manual/threads.texi: ... this.
22356 * manual/Makefile (chapters): Update.
22358 2013-03-18 Roland McGrath <roland@hack.frob.com>
22361 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22362 on argument names, not just descriptions.
22363 * malloc/memusagestat.c (options): Likewise.
22364 * nss/getent.c (options): Likewise.
22366 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22369 * iconv/iconv_prog.c (options): Put N_ translation marker
22370 on argument names, not just descriptions.
22371 * iconv/iconvconfig.c (options): Likewise.
22373 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22375 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22376 implementation which is faster on all x86_64 architectures.
22377 Tested on AMD, Intel Nehalem, SNB, IVB.
22378 * sysdeps/x86_64/strnlen.S: Likewise.
22380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22381 Remove all multiarch strlen and strnlen versions.
22382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22383 Remove strlen and strnlen related parts.
22385 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22386 Inline strlen part.
22387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22389 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22390 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22392 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22393 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22394 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22396 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22398 * manual/memory.texi (Malloc Tunable Parameters):
22399 Sort parameters alphabetically. Add comments for missing entries.
22401 2013-03-17 David S. Miller <davem@davemloft.net>
22403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22405 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22408 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22409 for arguments at most half maximum finite value.
22410 * math/libm-test.inc (j0_test): Add more tests.
22411 (j1_test): Likewise.
22412 (y0_test): Likewise.
22413 (y1_test): Likewise.
22414 * sysdeps/i386/fpu/libm-test-ulps: Update.
22415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22418 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22419 1 / x and functions P and Q for arguments above 0x1p256L.
22420 (__ieee754_y0l): Likewise.
22421 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22422 (__ieee754_y1l): Likewise.
22423 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22424 (j1_test): Likewise.
22425 (y0_test): Likewise.
22426 (y1_test): Likewise.
22428 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22430 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22433 2013-03-15 Roland McGrath <roland@hack.frob.com>
22435 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22436 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22437 zero since it's initialized to EXEC_PAGESIZE.
22439 * sysdeps/unix/sysv/linux/ldsodefs.h
22440 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22441 * sysdeps/generic/ldsodefs.h: ... here.
22443 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22445 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22447 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22449 * math/test-snan.c: Renamed from
22450 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22451 * math/Makefile (tests): Add test-snan.
22452 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22455 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22456 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22458 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22459 __builtin_nan family of functions.
22460 * math/libm-test.inc (initialize): Initialize qnan_value with
22461 __builtin_nan family of functions.
22462 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22464 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22466 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22467 storage class. Initialize qNaN_var and sNaN_var with
22468 __builtin_nan and __builtin_nans families of functions,
22471 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22472 (sqrt_test): Remove duplicate test with qNaN input.
22473 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22474 (round_test, signbit_test, significand_test): Note missing +/-Inf
22475 as well as qNaN tests.
22477 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22478 qNaN_var. Fix a few strings, too.
22479 * math/libm-test.inc (nan_value): Rename to qnan_value.
22480 * math/gen-libm-test.pl (%beautify): Adjust to that.
22481 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22482 * math/test-misc.c (main): Likewise.
22483 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22484 to __qnan_bytes, and __qnan_union, respectively.
22485 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22487 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22488 and lqnanval, respectively.
22489 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22490 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22491 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22492 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22494 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22495 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22498 * math/test-misc.c (main): Fix copy'n'pastos.
22499 * misc/tst-efgcvt.c (special): Likewise.
22501 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22502 Remove declarations.
22504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22506 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22507 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22508 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22511 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22513 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22514 macro to return vdso values correctly in IFUNC implementations.
22515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22516 Optimization by using IFUNC.
22518 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22519 Richard Henderson <rth@redhat.com>
22520 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22522 * Makefile.in (bench): New target.
22523 * NEWS: Mention the benchmark framework.
22524 * Rules (bench): Likewise.
22525 (binaries-bench): Generate binaries for functions to
22527 * benchtests/Makefile: New makefile for benchmark tests.
22528 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22530 * benchtests/exp-inputs: New input file for EXP function.
22531 * benchtests/pow-inputs: New input file for POW function.
22532 * scripts/bench.pl: New script to generate source files for
22533 benchmark programs.
22535 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22537 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22539 computations on mantissa. Use macros for rounding and
22541 (denorm): Likewise.
22542 (__dbl_mp): Likewise.
22543 (add_magnitudes): Likewise.
22544 (sub_magnitudes): Likewise.
22547 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22548 powers of two in terms of TWOPOW macro.
22549 (mp_no): Make type of mantissa as MANTISSA_T.
22550 [!RADIXI]: Define RADIXI.
22551 [!TWO52]: Define TWO52.
22552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22554 * manual/nptl.texi (cindex): Modify threads to pthreads.
22556 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22558 * sysdeps/x86_64/preconfigure: Regenerated.
22560 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22563 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22565 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22566 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22568 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22569 * math/libm-test.inc (j0_test): Do not allow one spurious
22570 underflow exception.
22571 (y1_test): Likewise.
22573 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22575 * manual/Makefile (chapters): Add nptl.
22576 * manual/debug.texi (Debugging Support): Add link to Threads
22578 * manual/nptl.texi: New file.
22580 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22582 2013-03-14 Petr Baudis <pasky@ucw.cz>
22584 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22585 for non-NULL pointer before the memory validity test. Pointed
22586 out by Holger Brunck <holger.brunck@keymile.com>.
22588 2013-03-13 Andreas Schwab <schwab@suse.de>
22590 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22593 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22595 * timezone/zic.c: Update from tzcode 2013b.
22597 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22599 * manual/install.texi (Configuring and compiling):
22600 Mention i686 and i586.
22601 * INSTALL: Regenerate.
22603 2013-03-12 Roland McGrath <roland@hack.frob.com>
22605 * sysdeps/init_array/elf-init.c: New file.
22607 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22608 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22610 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22611 __gmon_start__ as global, but as static with a .preinit_array pointer.
22612 * sysdeps/init_array/gmon-start.c: New file. Use that.
22613 * sysdeps/init_array/crti.S: New file, empty except for comments.
22614 * sysdeps/init_array/crtn.S: Likewise.
22616 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22618 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22621 Remove Prefer_SSE_for_memop.
22622 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22623 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22624 HAS_PREFER_SSE_FOR_MEMOP.
22625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22628 Remove bzero, memset ifunc support.
22629 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22630 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22631 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22632 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22634 2013-03-11 Andreas Schwab <schwab@suse.de>
22637 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22640 (GLIBC_2.16): Remove pthread_atfork.
22642 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22644 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22645 (ptestcases.h): Likewise.
22647 2013-03-08 Roland McGrath <roland@hack.frob.com>
22649 * Makeconfig ($(common-objpfx)config.status): Depend on
22650 sysdeps/*/preconfigure{,.in} too.
22652 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22654 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22655 (__free_hook): Use void * instead of __malloc_ptr_t.
22656 (__malloc_hook): Likewise.
22657 (__realloc_hook): Likewise.
22658 (__memalign_hook): Likewise.
22659 (__after_morecore_hook): Likewise.
22660 * malloc/arena.c (save_malloc_hook): Likewise.
22661 (save_free_hook): Likewise.
22662 * malloc/hooks.c (malloc_hook_ini): Likewise.
22663 (realloc_hook_ini): Likewise.
22664 (memalign_hook_ini): Likewise.
22665 * malloc/malloc.c (malloc_hook_ini): Likewise.
22666 (realloc_hook_ini): Likewise.
22667 (memalign_hook_ini): Likewise.
22668 (__free_hook): Likewise.
22669 (__malloc_hook): Likewise.
22670 (__realloc_hook): Likewise.
22671 (__memalign_hook): Likewise.
22672 (__libc_malloc): Likewise.
22673 (__libc_free): Likewise.
22674 (__libc_realloc): Likewise.
22675 (__libc_memalign): Likewise.
22676 (__libc_valloc): Likewise.
22677 (__libc_pvalloc): Likewise.
22678 (__libc_calloc): Likewise.
22679 (__posix_memalign): Likewise.
22680 * malloc/morecore.c (__sbrk): Likewise.
22681 (__default_morecore): Likewise.
22683 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22685 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22686 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22687 __malloc_ptrdiff_t.
22689 * malloc/malloc.h (__malloc_size_t): Remove macro.
22690 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22692 (old_memalign_hook): Likewise.
22693 (old_realloc_hook): Likewise.
22694 (struct hdr): Likewise.
22696 (mallochook): Likewise.
22697 (memalignhook): Likewise.
22698 (reallochook): Likewise.
22699 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22700 (tr_old_realloc_hook): Likewise.
22701 (tr_old_memalign_hook): Likewise.
22702 (tr_mallochook): Likewise.
22703 (tr_reallochook): Likewise.
22704 (tr_memalignhook): Likewise.
22706 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22709 default_ldbl_pack and using as default implementation.
22710 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22712 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22713 redundant definition.
22714 (ldbl_insert_mantissa): Likewise.
22715 (ldbl_canonicalize): Likewise.
22716 (ldbl_nearbyint): Likewise.
22717 (ldbl_pack): Rename to ldbl_pack_ppc.
22718 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22719 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22720 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22722 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22725 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22727 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22729 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22730 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22731 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22733 2013-03-07 Andreas Jaeger <aj@suse.de>
22735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22738 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22740 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22741 Include mpa.h and declare __MPEXP.
22742 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22743 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22744 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22746 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22747 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22750 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22751 (__slowpow): Use long double EXPL and LOGL functions to
22753 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22754 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22756 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22757 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22761 intermediate variable to calculate exponent.
22763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22767 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22768 [!NO__SQR]: Define __sqr.
22769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22770 and NO__SQR. Remove all code except __mul and __sqr. Include
22771 sysdeps/ieee754/dbl-64/mpa.c.
22772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22775 * posix/Makefile (tests): Add tst-pathconf.
22776 * posix/tst-pathconf.c: New test case.
22777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22779 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22781 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22783 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22785 2013-03-06 Andreas Jaeger <aj@suse.de>
22787 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22788 definition via __MAP_ANONYMOUS.
22790 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22791 it's not part of Linux headers.
22793 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22794 (MAP_HUGE_MASK): Define.
22796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22801 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22802 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22804 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22807 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22809 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22810 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22811 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22812 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22813 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22814 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22820 Handle f2fs and efivarfs.
22822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22825 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22826 (EFIVARFS_MAGIC): Add.
22827 (F2FS_LINK_MAX): Add.
22829 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22831 * stdio-common/vfprintf.c: Replace __builtin_expect with
22834 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22837 * sysdeps/generic/bp-sym.h: Remove file.
22838 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22839 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22840 <bp-sym.h> and <bp-asm.h>.
22841 (__longjmp): Don't use BP_SYM.
22842 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22844 (memcpy): Don't use BP_SYM.
22845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22846 <bp-sym.h> and <bp-asm.h>.
22847 (memcpy): Don't use BP_SYM.
22848 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22850 (memcpy): Don't use BP_SYM.
22851 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22853 (memset): Don't use BP_SYM.
22854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22856 (__bzero): Don't use BP_SYM.
22857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22859 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22860 <bp-sym.h> and <bp-asm.h>.
22861 (memcmp): Don't use BP_SYM. Remove comment about bounded
22863 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22864 <bp-sym.h> and <bp-asm.h>.
22865 (memcpy): Don't use BP_SYM.
22866 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22867 <bp-sym.h> and <bp-asm.h>.
22868 (memset): Don't use BP_SYM.
22869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22871 (__bzero): Don't use BP_SYM.
22872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22875 <bp-sym.h> and <bp-asm.h>.
22876 (strncmp): Don't use BP_SYM. Remove comment about bounded
22878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22879 <bp-sym.h> and <bp-asm.h>.
22880 (memcpy): Don't use BP_SYM.
22881 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22882 <bp-sym.h> and <bp-asm.h>.
22883 (memset): Don't use BP_SYM.
22884 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22885 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22886 (__bzero): Don't use BP_SYM.
22887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22890 <bp-sym.h> and <bp-asm.h>.
22891 (__memchr): Don't use BP_SYM.
22892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22893 <bp-sym.h> and <bp-asm.h>.
22894 (memcmp): Don't use BP_SYM. Remove comment about bounded
22896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22897 <bp-sym.h> and <bp-asm.h>.
22898 (memcpy): Don't use BP_SYM.
22899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22900 <bp-sym.h> and <bp-asm.h>.
22901 (__mempcpy): Don't use BP_SYM.
22902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22903 <bp-sym.h> and <bp-asm.h>.
22904 (__memrchr): Don't use BP_SYM.
22905 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22906 <bp-sym.h> and <bp-asm.h>.
22907 (memset): Don't use BP_SYM.
22908 (__bzero): Likewise.
22909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22910 <bp-sym.h> and <bp-asm.h>.
22911 (__rawmemchr): Don't use BP_SYM.
22912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22913 <bp-sym.h> and <bp-asm.h>.
22914 (__STRCMP): Don't use BP_SYM.
22915 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22916 <bp-sym.h> and <bp-asm.h>.
22917 (strchr): Don't use BP_SYM.
22918 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22919 <bp-sym.h> and <bp-asm.h>.
22920 (__strchrnul): Don't use BP_SYM.
22921 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22922 <bp-sym.h> and <bp-asm.h>.
22923 (strlen): Don't use BP_SYM.
22924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22925 <bp-sym.h> and <bp-asm.h>.
22926 (strncmp): Don't use BP_SYM. Remove comment about bounded
22928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22929 <bp-sym.h> and <bp-asm.h>.
22930 (__strnlen): Don't use BP_SYM.
22931 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22932 <bp-sym.h> and <bp-asm.h>.
22933 (__GI__setjmp): Don't use BP_SYM.
22934 (_setjmp): Likewise.
22935 (__sigsetjmp): Likewise.
22936 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22937 (L(start_addresses)): Don't use BP_SYM.
22938 (_start): Likewise.
22939 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22941 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22942 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22945 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22947 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22948 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22949 about bounded pointers.
22950 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22951 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22952 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22954 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22955 about bounded pointers. Remove GKM FIXME comments.
22956 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22957 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22959 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22960 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22961 Remove GKM FIXME comments.
22962 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22963 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22964 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22966 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22967 about bounded pointers. Remove GKM FIXME comment.
22968 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22970 (strncmp): Don't use BP_SYM. Remove comment about bounded
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22973 <bp-sym.h> and <bp-asm.h>.
22974 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22976 <bp-sym.h> and <bp-asm.h>.
22977 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22980 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22982 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22985 2013-03-05 David S. Miller <davem@davemloft.net>
22987 * po/es.po: Update from translation team.
22989 2013-03-05 Andreas Jaeger <aj@suse.de>
22991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22992 <bits/mman-linux.h>.
22993 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22996 <bits/mman-linux.h> to end of file.
22997 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23000 <bits/mman-linux.h> to end of file.
23001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23004 <bits/mman-linux.h> to end of file.
23006 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23007 (MCL_CURRENT, MCL_FUTURE): Define here.
23009 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23014 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23016 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23019 fourth parameter needed for rt_sigprocmask syscall.
23020 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23021 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23022 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23023 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23025 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23027 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23030 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23031 comment about bounded pointers.
23032 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23033 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23035 2013-03-04 Andreas Jaeger <aj@suse.de>
23037 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23038 common definitions.
23040 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23041 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23042 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23047 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23051 __ieee754_sqrl instead of __sqrl.
23053 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23055 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23056 * sysdeps/powerpc/fpu_control.h: ... here.
23057 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23058 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23059 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23060 * sysdeps/powerpc/bits/mathinline.h: ... here.
23062 2013-03-01 Roland McGrath <roland@hack.frob.com>
23064 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23065 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23066 to just [NEED_DL_SYSINFO_DSO].
23067 * elf/dl-support.c: Likewise.
23068 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23069 * elf/rtld.c (dl_main): Likewise.
23070 * elf/setup-vdso.h (setup_vdso): Likewise.
23071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23072 * sysdeps/unix/sysv/linux/dl-sysdep.c
23073 (_dl_discover_osversion): Likewise.
23075 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23077 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23080 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23082 * NEWS: Mention libm performance improvements and non-x86 PI
23085 * csu/libc-start.c (__pthread_initialize_minimal): Change
23086 function arguments.
23087 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23089 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23092 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23094 <bp-sym.h> and <bp-asm.h>.
23095 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23098 (memcpy): Don't use BP_SYM.
23099 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23101 (__mpn_add_n): Don't use BP_SYM.
23102 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23103 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23105 (__mpn_addmul_1): Don't use BP_SYM.
23106 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23107 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23109 (_setjmp): Don't use BP_SYM.
23110 (__novmx_setjmp): Likewise.
23111 (__GI__setjmp): Likewise.
23112 (__vmx_setjmp): Likewise.
23113 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23115 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23116 (__bzero): Don't use BP_SYM.
23117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23119 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23120 <bp-sym.h> and <bp-asm.h>.
23121 (memcpy): Don't use BP_SYM.
23122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23123 <bp-sym.h> and <bp-asm.h>.
23124 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23126 <bp-sym.h> and <bp-asm.h>.
23127 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23128 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23130 (__mpn_lshift): Don't use BP_SYM.
23131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23132 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23134 (memset): Don't use BP_SYM.
23135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23139 (__mpn_mul_1): Don't use BP_SYM.
23140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23142 <bp-sym.h> and <bp-asm.h>.
23143 (memcmp): Don't use BP_SYM.
23144 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23145 <bp-sym.h> and <bp-asm.h>.
23146 (memcpy): Don't use BP_SYM.
23147 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23148 <bp-sym.h> and <bp-asm.h>.
23149 (memset): Don't use BP_SYM.
23150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23151 <bp-sym.h> and <bp-asm.h>.
23152 (strncmp): Don't use BP_SYM.
23153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23154 <bp-sym.h> and <bp-asm.h>.
23155 (memcpy): Don't use BP_SYM.
23156 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23157 <bp-sym.h> and <bp-asm.h>.
23158 (memset): Don't use BP_SYM.
23159 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23160 <bp-sym.h> and <bp-asm.h>.
23161 (__memchr): Don't use BP_SYM.
23162 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23163 <bp-sym.h> and <bp-asm.h>.
23164 (memcmp): Don't use BP_SYM.
23165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23166 <bp-sym.h> and <bp-asm.h>.
23167 (memcpy): Don't use BP_SYM.
23168 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23169 <bp-sym.h> and <bp-asm.h>.
23170 (__mempcpy): Don't use BP_SYM.
23171 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23172 <bp-sym.h> and <bp-asm.h>.
23173 (__memrchr): Don't use BP_SYM.
23174 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23175 <bp-sym.h> and <bp-asm.h>.
23176 (memset): Don't use BP_SYM.
23177 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23178 <bp-sym.h> and <bp-asm.h>.
23179 (__rawmemchr): Don't use BP_SYM.
23180 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23181 <bp-sym.h> and <bp-asm.h>.
23182 (__STRCMP): Don't use BP_SYM.
23183 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23184 <bp-sym.h> and <bp-asm.h>.
23185 (strchr): Don't use BP_SYM.
23186 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23187 <bp-sym.h> and <bp-asm.h>.
23188 (__strchrnul): Don't use BP_SYM.
23189 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23190 <bp-sym.h> and <bp-asm.h>.
23191 (strlen): Don't use BP_SYM.
23192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23193 <bp-sym.h> and <bp-asm.h>.
23194 (strncmp): Don't use BP_SYM.
23195 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23196 <bp-sym.h> and <bp-asm.h>.
23197 (__strnlen): Don't use BP_SYM.
23198 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23200 (__mpn_rshift): Don't use BP_SYM.
23201 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23203 <bp-sym.h> and <bp-asm.h>.
23204 (__sigsetjmp): Don't use BP_SYM.
23205 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23206 (L(start_addresses)): Don't use BP_SYM.
23207 (_start): Likewise.
23208 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23210 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23213 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23215 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23218 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23223 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23225 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23227 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23228 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23229 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23231 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23233 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23235 (strncmp): Don't use BP_SYM,
23236 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23238 (__mpn_sub_n): Don't use BP_SYM.
23239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23240 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23242 (__mpn_submul_1): Don't use BP_SYM.
23243 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23245 <bp-sym.h> and <bp-asm.h>.
23246 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23248 <bp-sym.h> and <bp-asm.h>.
23249 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23252 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23255 Use ZK to minimize writes to Z.
23256 (sub_magnitudes): Simplify code a bit.
23257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23258 Use ZK to minimize writes to Z.
23259 (sub_magnitudes): Simplify code a bit.
23261 2013-02-27 Roland McGrath <roland@hack.frob.com>
23263 * csu/gmon-start.c: Add special exception to license text.
23265 2013-02-27 Richard Henderson <rth@redhat.com>
23267 * scripts/config.guess: Update from config.git.
23268 * scripts/config.sub: Likewise.
23270 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23274 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23276 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23278 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23280 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23282 2013-02-26 Roland McGrath <roland@hack.frob.com>
23284 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23285 [$(build-shared = yes].
23287 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23289 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23290 (__mul): Reduce iterations for calculating mantissa.
23292 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23294 (__mpranred): Likewise.
23297 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23298 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23300 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23302 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23303 Define __attribute__.
23305 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23307 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23309 * posix/regex_internal.h (__attribute): Remove.
23310 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23311 (re_string_context_at): Likewise.
23312 (bitset_not): Use __attribute__ and mark function as possibly
23314 (bitset_merge): Likewise.
23315 (bitset_mask): Likewise.
23316 (re_string_char_size_at): Likewise.
23317 (re_string_wchar_at): Likewise.
23318 (re_string_elem_size_at): Likewise.
23320 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23322 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23326 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23330 (denorm): Likewise.
23331 (__dbl_mp): Likewise.
23332 (add_magnitudes): Likewise.
23333 (sub_magnitudes): Likewise.
23337 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23340 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23343 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23347 up changes with default code.
23348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23351 2013-02-24 Allan McRae <allan@archlinux.org>
23353 * manual/socket.texi (The Internet Namespace): Order menu items
23354 to match that in the file.
23356 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23357 node listing of the info page menu.
23359 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23362 * sysdeps/i386/bp-asm.h: Remove file.
23363 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23364 (PARMS): Do not use macros from bp-asm.h.
23368 (__mpn_add_n): Do not use BP_SYM
23369 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23371 (PARMS): Do not use macros from bp-asm.h.
23374 (__mpn_addmul_1): Do not use BP_SYM
23375 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23377 (PARMS): Do not use macros from bp-asm.h.
23378 (SIGMSK): Likewise.
23379 (_setjmp): Likewise. Do not use BP_SYM.
23380 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23382 (PARMS): Do not use macros from bp-asm.h.
23383 (SIGMSK): Likewise.
23384 (setjmp): Likewise. Do not use BP_SYM.
23385 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23387 (PARMS): Do not use macros from bp-asm.h.
23388 (__frexp): Do not use BP_SYM.
23390 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23392 (PARMS): Do not use macros from bp-asm.h.
23393 (__frexpf): Do not use BP_SYM.
23394 (frexpf): Likewise.
23395 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23397 (PARMS): Do not use macros from bp-asm.h.
23398 (__frexpl): Do not use BP_SYM.
23399 (frexpl): Likewise.
23400 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23402 (PARMS): Do not use macros from bp-asm.h.
23403 (__remquo): Do not use BP_SYM.
23404 (remquo): Likewise.
23405 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23407 (PARMS): Do not use macros from bp-asm.h.
23408 (__remquof): Do not use BP_SYM.
23409 (remquof): Likewise.
23410 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23412 (PARMS): Do not use macros from bp-asm.h.
23413 (__remquol): Do not use BP_SYM.
23414 (remquol): Likewise.
23415 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23417 (PARMS): Do not use macros from bp-asm.h.
23420 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23421 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23423 (PARMS): Do not use macros from bp-asm.h.
23424 (strlen): Do not use BP_SYM.
23425 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23427 (PARMS): Do not use macros from bp-asm.h.
23431 (__mpn_add_n): Do not use BP_SYM.
23432 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23434 (PARMS): Do not use macros from bp-asm.h.
23437 (__mpn_addmul_1): Do not use BP_SYM.
23438 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23441 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23443 (PARMS): Do not use macros from bp-asm.h.
23446 (__mpn_lshift): Do not use BP_SYM.
23447 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23449 (PARMS): Do not use macros from bp-asm.h.
23453 (memcpy): Likewise. Do not use BP_SYM.
23454 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23455 libc_hidden_def and weak_alias.
23456 (mempcpy): Do not use BP_SYM in weak_alias.
23457 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23459 (PARMS): Do not use macros from bp-asm.h.
23462 [!BZERO_P] (CHR): Likewise.
23463 (memset): Likewise. Do not use BP_SYM.
23464 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23466 (PARMS): Do not use macros from bp-asm.h.
23469 (__mpn_mul_1): Do not use BP_SYM.
23470 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23472 (PARMS): Do not use macros from bp-asm.h.
23475 (__mpn_rshift): Do not use BP_SYM.
23476 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23478 (PARMS): Do not use macros from bp-asm.h.
23481 (strchr): Likewise. Do not use BP_SYM.
23482 (index): Do not use BP_SYM in weak_alias.
23483 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23485 (PARMS): Do not use macros from bp-asm.h.
23488 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23489 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23491 (PARMS): Do not use macros from bp-asm.h.
23492 (strlen): Do not use BP_SYM.
23493 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23495 (PARMS): Do not use macros from bp-asm.h.
23499 (__mpn_sub_n): Do not use BP_SYM.
23500 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23502 (PARMS): Do not use macros from bp-asm.h.
23505 (__mpn_submul_1): Do not use BP_SYM.
23506 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23508 (PARMS): Do not use macros from bp-asm.h.
23512 (__mpn_add_n): Do not use BP_SYM.
23513 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23516 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23518 (PARMS): Do not use macros from bp-asm.h.
23521 (memcmp): Do not use BP_SYM.
23522 (bcmp): Do not use BP_SYM in weak_alias.
23523 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23525 (PARMS): Do not use macros from bp-asm.h.
23529 (memcpy): Likewise. Do not use BP_SYM.
23530 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23532 (PARMS): Do not use macros from bp-asm.h.
23536 (memmove): Likewise. Do not use BP_SYM.
23537 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23539 (PARMS): Do not use macros from bp-asm.h.
23543 (__mempcpy): Likewise. Do not use BP_SYM.
23544 (mempcpy): Do not use BP_SYM in weak_alias.
23545 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23547 (PARMS): Do not use macros from bp-asm.h.
23550 [!BZERO_P] (CHR): Likewise.
23551 (memset): Likewise. Do not use BP_SYM.
23552 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23554 (PARMS): Do not use macros from bp-asm.h.
23556 (strcmp): Do not use BP_SYM.
23557 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23559 (PARMS): Do not use macros from bp-asm.h.
23562 [USE_AS_STRTOK_R] (SAVE): Likewise.
23563 (FUNCTION): Likewise. Do not use BP_SYM.
23564 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23566 (strtok_r): Likewise.
23567 (__GI___strtok_r): Likewise.
23568 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23569 (PARMS): Do not use macros from bp-asm.h.
23572 (__mpn_lshift): Do not use BP_SYM.
23573 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23574 (PARMS): Do not use macros from bp-asm.h.
23577 (__memchr): Do not use BP_SYM.
23578 (memchr): Do not use BP_SYM in weak_alias.
23579 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23580 (PARMS): Do not use macros from bp-asm.h.
23583 (memcmp): Do not use BP_SYM.
23584 (bcmp): Do not use BP_SYM in weak_alias.
23585 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23586 (PARMS): Do not use macros from bp-asm.h.
23589 (__mpn_mul_1): Do not use BP_SYM.
23590 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23592 (PARMS): Do not use macros from bp-asm.h.
23595 (__rawmemchr): Do not use BP_SYM.
23596 (rawmemchr): Do not use BP_SYM in weak_alias.
23597 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23598 (PARMS): Do not use macros from bp-asm.h.
23601 (__mpn_rshift): Do not use BP_SYM.
23602 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23603 (PARMS): Do not use macros from bp-asm.h.
23604 (SIGMSK): Likewise.
23605 (__sigsetjmp): Likewise. Do not use BP_SYM.
23606 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23607 (_start): Do not use BP_SYM.
23608 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23609 (PARMS): Do not use macros from bp-asm.h.
23612 (__stpcpy): Likewise. Do not use BP_SYM.
23613 (stpcpy): Do not use BP_SYM in weak_alias.
23614 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23616 (PARMS): Do not use macros from bp-asm.h.
23620 (__stpncpy): Likewise. Do not use BP_SYM.
23621 (stpncpy): Do not use BP_SYM in weak_alias.
23622 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23623 (PARMS): Do not use macros from bp-asm.h.
23626 (strchr): Likewise. Do not use BP_SYM.
23627 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23629 (PARMS): Do not use macros from bp-asm.h.
23632 (__strchrnul): Likewise. Do not use BP_SYM.
23633 (strchrnul): Do not use BP_SYM in weak_alias.
23634 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23636 (PARMS): Do not use macros from bp-asm.h.
23638 (strcspn): Do not use BP_SYM.
23639 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23641 (PARMS): Do not use macros from bp-asm.h.
23644 (strpbrk): Likewise. Do not use BP_SYM.
23645 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23647 (PARMS): Do not use macros from bp-asm.h.
23650 (strrchr): Likewise. Do not use BP_SYM.
23651 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23652 (PARMS): Do not use macros from bp-asm.h.
23654 (strspn): Do not use BP_SYM.
23655 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23656 (PARMS): Do not use macros from bp-asm.h.
23660 (FUNCTION): Likewise. Do not use BP_SYM.
23661 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23663 (strtok_r): Likewise.
23664 (__GI___strtok_r): Likewise.
23665 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23666 (PARMS): Do not use macros from bp-asm.h.
23670 (__mpn_sub_n): Do not use BP_SYM.
23671 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23673 (PARMS): Do not use macros from bp-asm.h.
23676 (__mpn_submul_1): Do not use BP_SYM.
23677 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23679 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23681 (PARMS): Do not use macros from bp-asm.h.
23686 (__clone): Do not use BP_SYM.
23687 (clone): Do not use BP_SYM in weak_alias.
23688 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23690 (PARMS): Do not use macros from bp-asm.h.
23692 (__mmap64): Do not use BP_SYM.
23693 (mmap64): Do not use BP_SYM in weak_alias.
23694 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23695 <bp-sym.h> and <bp-asm.h>.
23696 (PARMS): Do not use macros from bp-asm.h.
23697 (__posix_fadvise64_l64): Do not use BP_SYM.
23698 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23699 (PARMS): Do not use macros from bp-asm.h.
23701 (semtimedop): Do not use BP_SYM.
23702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23705 2013-02-21 Allan McRae <allan@archlinux.org>
23707 * manual/message.texi (Charset conversion in gettext):
23708 Move @end statement to beginning of line.
23710 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23718 (denorm): Likewise.
23719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23722 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23724 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23725 tail-call to the resolved function if pltexit isn't needed.
23727 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23730 or Y being zero as being unlikely.
23731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23734 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23736 * manual/nss.texi (System Databases and Name Service Switch):
23737 Remove frobnicate @pxref.
23739 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23741 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23742 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23744 2013-02-20 Petr Machata <pmachata@redhat.com>
23746 * elf/elf.h (R_ARM_TARGET1): New macro.
23747 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23748 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23749 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23750 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23751 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23752 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23753 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23754 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23755 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23756 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23757 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23758 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23759 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23760 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23761 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23762 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23763 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23764 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23765 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23766 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23767 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23768 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23769 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23770 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23771 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23772 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23773 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23774 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23775 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23776 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23777 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23778 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23779 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23780 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23781 (R_ARM_THM_GOT_BREL12): Likewise.
23782 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23783 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23784 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23785 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23786 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23787 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23788 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23789 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23790 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23792 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23795 __attribute_used__ to __attribute__ ((unused)).
23797 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23802 comment formatting.
23803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23805 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23808 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23810 (ENTER): Remove both macro definitions.
23812 (CHECK_BOUNDS_LOW): Likewise.
23813 (CHECK_BOUNDS_HIGH): Likewise.
23814 (CHECK_BOUNDS_BOTH): Likewise.
23815 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23816 (RETURN_BOUNDED_POINTER): Likewise.
23817 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23818 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23819 (POP_ERRNO_LOCATION_RETURN): Likewise.
23820 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23822 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23825 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23826 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23827 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23828 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23829 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23830 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23831 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23832 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23833 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23834 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23835 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23836 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23837 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23839 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23840 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23843 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23844 * sysdeps/i386/i586/memset.S (memset): Likewise.
23845 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23847 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23850 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23851 Change uses of L(2) to L(out).
23852 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23853 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23854 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23855 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23856 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23859 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23861 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23862 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23863 (RETURN): Do not use macro LEAVE.
23864 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23865 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23866 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23867 * sysdeps/i386/i686/memset.S (memset): Likewise.
23868 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23869 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23870 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23871 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23873 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23874 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23875 L(1_2) and L(1_3) into L(1).
23876 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23877 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23878 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23879 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23880 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23881 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23882 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23883 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23884 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23886 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23887 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23888 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23889 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23890 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23891 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23892 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23893 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23894 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23895 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23896 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23897 * sysdeps/i386/strspn.S (strspn): Likewise.
23898 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23900 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23901 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23902 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23903 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23904 L(1_3) into L(1_1).
23905 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23907 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23909 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23911 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23913 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23916 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23918 * math/atest-exp.c (exp_mpn): Remove ROUND.
23919 * math/atest-exp2.c (exp_mpn): Likewise.
23920 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23922 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23923 * stdlib/tst-tls-atexit-lib.c: Likewise.
23924 * stdlib/tst-tls-atexit.c: Likewise.
23926 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23928 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23929 and __attribute_alloc_size__.
23931 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23933 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23934 __attribute_alloc_size__.
23935 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23936 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23938 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23940 * include/programs/xmalloc.h: New file.
23941 * catgets/gencat.c: Include it.
23942 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23943 * elf/pldd.c: Likewise.
23944 * iconv/iconv_charmap.c: Likewise.
23945 * iconv/iconvconfig.c: Likewise.
23946 * iconv/strtab.c: Likewise.
23947 * locale/programs/locale.c: Likewise.
23948 * locale/programs/localedef.h: Likewise.
23949 * locale/programs/simple-hash.c: Likewise.
23950 * nscd/nscd.h: Likewise.
23951 * nss/makedb.c: Likewise.
23952 * sysdeps/generic/ldconfig.h: Likewise.
23954 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23956 * Versions.def: Add GLIBC_2.18.
23957 * include/link.h (struct link_map): New member l_tls_dtor_count.
23958 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23959 (__call_tls_dtors): Likewise.
23960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23961 __cxa_thread_atexit_impl.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23978 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23979 (tests): Add test case tst-tls-atexit.
23980 (modules-names): Add shared library for tst-tls-atexit.
23981 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23982 (GLIBC_PRIVATE): Add __call_tls_dtors.
23983 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23985 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23986 * stdlib/tst-tls-atexit.c: New test case.
23987 * stdlib/tst-tls-atexit-lib.c: New test case.
23989 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23991 * elf/Versions (ld): Add _dl_find_dso_for_object.
23992 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23993 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23994 (dl_open_worker): Use _dl_find_dso_for_object.
23995 * elf/dl-sym.c (do_sym): Likewise.
23996 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23998 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24000 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24001 Syntactic changes only.
24002 (_dl_runtime_profile): Do a tail-call to the resolved function.
24004 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24007 * sysdeps/x86_64/bp-asm.h: Remove file.
24008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24009 <bp-sym.h> and <bp-asm.h>.
24010 (__clone): Do not use BP_SYM.
24011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24012 <bp-sym.h> and <bp-asm.h>.
24013 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24014 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24016 (_setjmp): Do not use BP_SYM.
24017 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24019 (setjmp): Do not use BP_SYM.
24020 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24022 (mempcpy): Do not use BP_SYM in weak_alias.
24023 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24025 (strchr): Do not use BP_SYM.
24026 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24028 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24029 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24030 (_start): Do not use BP_SYM.
24031 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24033 (strcat): Do not use BP_SYM.
24034 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24036 (STRCMP): Do not use BP_SYM.
24037 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24039 (STRCPY): Do not use BP_SYM.
24040 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24042 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24044 (FUNCTION): Do not use BP_SYM.
24045 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24047 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24049 2013-02-17 Andreas Jaeger <aj@suse.de>
24051 * time/Versions: Sort entries.
24052 * string/Versions: Likewise.
24053 * resolv/Versions: Likewise.
24054 * posix/Versions: Likewise.
24055 * iconv/Versions: Likewise.
24056 * elf/Versions: Likewise.
24057 * wcsmbs/Versions: Likewise.
24059 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24061 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24062 loop termination condition.
24064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24065 variable to calculate EZ.
24068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24069 the lower precision input.
24071 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24074 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24075 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24076 (run-via-rtld-prefix): Do not handle %-bp tests.
24077 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24078 (all-object-suffixes): Remove .ob.
24079 (bppfx): Remove variable.
24080 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24081 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24082 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24083 [$(build-bounded) = yes] (libtype.ob): Likewise.
24084 * Makerules (elide-routines.ob): Remove variable.
24085 (do-tests-clean): Do not handle *-bp.out.
24086 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24087 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24088 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24089 (tests): Do not include $(tests-bp.out).
24090 (xtests): Do not include $(xtests-bp.out).
24091 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24092 [$(build-bounded) = yes] ($(addprefix
24093 $(objpfx),$(binaries-bounded))): Remove rule.
24094 ($(objpfx)%-bp.out): Remove rule.
24095 * config.make.in (build-bounded): Remove variable.
24096 * crypt/Makefile [$(build-bounded) = yes]
24097 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24098 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24099 append to variable.
24100 [$(build-bounded) = yes] (install-lib): Likewise.
24101 [$(build-bounded) = yes] (generated): Likewise.
24102 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24104 * intl/Makefile [$(build-bounded) = yes]
24105 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24106 * math/Makefile [$(build-bounded) = yes]
24107 ($(tests:%=$(objpfx)%-bp): Likewise.
24108 * misc/Makefile [$(build-bounded) = yes]
24109 ($(objpfx)tst-tsearch-bp): Likewise.
24110 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24111 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24113 * string/Makefile (o-objects.ob): Remove variable.
24114 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24115 (CFLAGS-.ob): Remove variable.
24116 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24118 both definitions of variable.
24119 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24120 (ASFLAGS-.ob): Remove variable.
24122 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24125 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24126 Remove __BOUNDED_POINTERS__ from condition.
24127 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24128 * string/bits/string2.h [!__NO_STRING_INLINES &&
24129 !__BOUNDED_POINTERS__]: Likewise.
24130 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24132 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24133 Remove conditional code.
24134 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24135 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24136 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24140 * csu/libc-start.c: Do not include <bp-sym.h>.
24141 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24142 * elf/dl-open.c: Do not include <bp-sym.h>.
24143 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24144 * math/fegetenv.c: Do not include <bp-sym.h>.
24145 (fegetenv): Do not use BP_SYM in versioned symbols.
24146 * nptl/sysdeps/pthread/bits/libc-lockP.h
24147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24150 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24152 (__pthread_mutex_destroy): Likewise.
24153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24154 (__pthread_mutex_lock): Likewise.
24155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24156 (__pthread_mutex_trylock): Likewise.
24157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24158 (__pthread_mutex_unlock): Likewise.
24159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24160 (__pthread_mutexattr_init): Likewise.
24161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24162 (__pthread_mutexattr_destroy): Likewise.
24163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24164 (__pthread_mutexattr_settype): Likewise.
24165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24166 (__pthread_rwlock_init): Likewise.
24167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24168 (__pthread_rwlock_destroy): Likewise.
24169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24170 (__pthread_rwlock_rdlock): Likewise.
24171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24172 (__pthread_rwlock_tryrdlock): Likewise.
24173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24174 (__pthread_rwlock_wrlock): Likewise.
24175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24176 (__pthread_rwlock_trywrlock): Likewise.
24177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24178 (__pthread_rwlock_unlock): Likewise.
24179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24180 (__pthread_key_create): Likewise.
24181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24182 (__pthread_setspecific): Likewise.
24183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24184 (__pthread_getspecific): Likewise.
24185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24188 (_pthread_cleanup_push_defer): Likewise.
24189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24190 (_pthread_cleanup_pop_restore): Likewise.
24191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24192 (pthread_setcancelstate): Likewise.
24193 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24195 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24196 (memchr): Do not use BP_SYM in weak_alias.
24197 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24198 (fegetenv): Do not use BP_SYM in versioned symbols.
24199 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24200 (fesetenv): Do not use BP_SYM in versioned symbols.
24201 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24202 (feupdateenv): Do not use BP_SYM in versioned symbols.
24203 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24204 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24205 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24206 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24207 (open64): Do not use BP_SYM in weak_alias.
24208 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24209 (fegetenv): Do not use BP_SYM in versioned symbols.
24210 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24211 (fesetenv): Do not use BP_SYM in versioned symbols.
24212 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24213 (feupdateenv): Do not use BP_SYM in versioned symbols.
24214 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24215 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24216 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24217 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24218 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24219 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24220 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24222 (__libc_start_main): Do not use BP_SYM.
24224 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24227 redundant return line.
24229 (denorm): Likewise.
24230 (dbl_mp): Likewise.
24231 (sub_magnitudes): Likewise.
24237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24239 (denorm): Likewise.
24240 (dbl_mp): Likewise.
24241 (sub_magnitudes): Likewise.
24248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24251 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24255 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24257 of __mul for squares.
24258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24265 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24268 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24270 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24271 prototype or function definition. Rename ubp_* variables and
24272 parameters. Remove argv definitions conditional on
24273 [__BOUNDED_POINTERS__].
24274 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24275 * elf/dl-runtime.c (_dl_fixup): Likewise.
24276 * include/set-hooks.h (RUN_HOOK): Likewise.
24277 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24279 * string/strcpy.c (strcpy): Do not use __unbounded.
24280 * sysdeps/generic/frame.h (struct layout): Likewise.
24281 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24282 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24283 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24284 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24285 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24286 (__backtrace): Likewise.
24287 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24289 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24290 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24291 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24293 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24294 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24295 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24296 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24297 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24298 Do not use __unbounded.
24299 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24300 Rename __unboundedrlimits parameter to rlimits in prototype.
24301 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24302 Do not use __unbounded.
24303 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24304 not use __ptrvalue.
24305 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24306 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24307 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24308 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24309 __ptrvalue or __unbounded.
24310 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24311 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24313 (__new_msgctl): Do not use __ptrvalue.
24314 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24316 (__libc_msgrcv): Do not use __ptrvalue.
24317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24318 startup_info): Do not use __unbounded.
24319 (__libc_start_main): Likewise. Rename ubp_* variables and
24320 parameters. Remove argv definitions conditional on
24321 [__BOUNDED_POINTERS__].
24322 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24324 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24328 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24330 (__new_shmctl): Do not use __ptrvalue.
24331 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24332 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24334 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24336 (__libc_sigaction): Likewise.
24337 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24340 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24342 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24344 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24346 * string/mempcpy.c: Implement by calling memcpy.
24348 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24356 values in the mantissa.
24358 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24359 minimize writes to Z.
24360 (sub_magnitudes): Simplify code a bit.
24362 2013-02-12 Roland McGrath <roland@hack.frob.com>
24364 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24365 from the message. The linker prefixes all warnings with that already.
24367 2013-02-12 Andreas Schwab <schwab@suse.de>
24370 * posix/regexec.c (extend_buffers): Add parameter min_len.
24371 (check_matching): Pass minimum needed length.
24372 (clean_state_log_if_needed): Likewise.
24373 (get_subexp): Likewise.
24374 * posix/Makefile (tests): Add bug-regex34.
24375 (bug-regex34-ENV): Define.
24376 * posix/bug-regex34.c: New file.
24379 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24380 elements compare against the byte sequence of it, not its name.
24381 * posix/Makefile (tests): Add bug-regex35.
24382 (bug-regex35-ENV): Define.
24383 * posix/bug-regex35.c: New file.
24385 2013-02-11 Tom de Vries <tom@codesourcery.com>
24387 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24389 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24390 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24391 (CHECK_EOL): Add undef.
24393 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24395 * bits/stdlib-bsearch.h: New file.
24396 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24397 * stdlib/stdlib.h: Likewise.
24399 2013-02-11 Roland McGrath <roland@hack.frob.com>
24401 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24402 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24404 * manual/search.texi (Array Search Function): Add missing const in
24406 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24407 declaration to use rlim_t.
24408 (Basic Scheduling Functions): Remove erroneous const from
24409 sched_getparam prototype. Remove erroneous * from
24410 sched_get_priority_max and sched_get_priority_min prototypes.
24411 (Resource Usage): Fix summary @comment on vtimes to refer to
24412 sys/vtimes.h rather than vtimes.h.
24413 Add missing *s in vtimes prototype.
24414 (Limits on Resources): Fix ulimit prototype to return long int.
24415 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24416 prototypes to use long int rather than double.
24417 (BSD Random): Fix initstate and setstate to use char *, not void *.
24418 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24419 prototype to make second argument 'struct aiocb64 *const[]'.
24420 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24421 (Status of AIO Operations): Remove erroneous const in aio_return and
24422 aio_return64 prototypes.
24423 (Synchronizing I/O): Fix sync prototype to return void.
24424 * manual/startup.texi (Suboptions): Remove an erroneous const in
24425 getsubopt prototype.
24426 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24427 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24428 use size_t rather than int.
24429 (Scanning All Users): Likewise for getpwent_r.
24430 (Setting Groups): Add missing const to setgroups prototype.
24431 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24432 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24433 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24434 'const void *' rather than 'const char *'.
24435 (Host Address Functions): Likewise for inet_ntop.
24436 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24437 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24438 ssize_t for return value.
24439 (Sending Data): Likewise for send, sendto, sendmsg.
24440 (Socket Option Functions): Add a missing const in setsockopt prototype.
24441 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24442 use wchar_t for the argument.
24443 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24444 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24446 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24447 double/float/long double for second argument.
24448 Fix return types of significand, significandf, significandl.
24449 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24450 argument in fchmod prototype.
24451 (File Owner): Use uid_t and gid_t in fchown prototype.
24452 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24453 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24454 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24455 use 'const struct dirent **' as argument types to CMP function pointer
24457 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24458 (File Times): Fix summary magic @comment for struct utimbuf and utime
24459 to refer to utime.h, not time.h.
24460 * manual/string.texi (Argz Functions): Add missing const in
24461 argz_extract and argz_next prototypes.
24462 (Finding Tokens in a String): Likewise for basename.
24463 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24464 (Copying and Concatenation): Fix typo in wmemmove prototype.
24465 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24466 (Signal Stack): Remove erroneous const in sigstack prototype.
24467 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24469 (Simple Calendar Time): Likewise for stime.
24470 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24472 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24473 say sys/sysctl.h instead.
24474 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24475 and vsyslog prototypes.
24477 2013-02-11 Tom de Vries <tom@codesourcery.com>
24479 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24482 2013-02-11 Roland McGrath <roland@hack.frob.com>
24484 * misc/sys/mman.h: Fix typo in mremap comment.
24486 2013-02-08 Roland McGrath <roland@hack.frob.com>
24488 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24489 the '\0' terminator.
24491 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24494 * debug/segfault.c: Don't include <bp-checks.h>.
24495 * sysdeps/generic/bp-checks.h: Remove file.
24496 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24497 (__GETDENTS): Don't use CHECK_N.
24498 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24499 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24500 (__getgroups): Don't use CHECK_N.
24501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24502 (setgroups): Don't use CHECK_N.
24503 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24504 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24505 (__libc_msgrcv): Don't use CHECK_N.
24506 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24507 (__libc_msgsnd): Don't use CHECK_N.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24510 (__libc_pread): Don't use CHECK_N.
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24512 include <bp-checks.h>.
24513 (__libc_pread64): Don't use CHECK_N.
24514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24515 include <bp-checks.h>.
24516 (__libc_pwrite): Don't use CHECK_N.
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24518 include <bp-checks.h>.
24519 (__libc_pwrite64): Don't use CHECK_N.
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24522 (__libc_pread): Don't use CHECK_N.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24524 include <bp-checks.h>.
24525 (__libc_pread64): Don't use CHECK_N.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24527 include <bp-checks.h>.
24528 (__libc_pwrite): Don't use CHECK_N.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24530 include <bp-checks.h>.
24531 (__libc_pwrite64): Don't use CHECK_N.
24532 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24533 (do_pread): Don't use CHECK_N.
24534 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24535 (do_pread64): Don't use CHECK_N.
24536 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24537 (do_pwrite): Don't use CHECK_N.
24538 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24539 (do_pwrite64): Don't use CHECK_N.
24540 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24541 (__libc_readv): Don't use CHECK_N.
24542 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24543 (semop): Don't use CHECK_N.
24544 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24546 (semtimedop): Don't use CHECK_N.
24547 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24548 (__libc_pread): Don't use CHECK_N.
24549 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24551 (__libc_pread64): Don't use CHECK_N.
24552 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24554 (__libc_pwrite): Don't use CHECK_N.
24555 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24557 (__libc_pwrite64): Don't use CHECK_N.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24560 (__libc_msgrcv): Don't use CHECK_N.
24561 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24562 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24563 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24564 (__libc_writev): Don't use CHECK_N.
24566 2013-02-08 Roland McGrath <roland@hack.frob.com>
24568 * string/strcpy.c: Removed unused variable.
24570 * Makeconfig (+sysdep-includes): Define with := rather than =.
24571 Use an existing include/ subdir of each sysdeps dir before it.
24573 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24575 * nscd/connection.c (register_traced_file): Comment function.
24576 [HAVE_INOTIFY] (union __inev): Define.
24577 [HAVE_INOTIFY] (inotify_check_files): New function.
24578 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24579 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24581 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24583 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24585 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24586 loaded if not already and that a failure is permanent.
24588 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24591 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24592 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24594 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24597 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24598 (CHECK_1_NULL_OK): Likewise.
24599 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24600 (__fxstat): Do not use CHECK_1.
24601 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24603 (___fxstat64): Do not use CHECK_1.
24604 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24606 (__fxstatat): Do not use CHECK_1.
24607 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24609 (__fxstatat64): Do not use CHECK_1.
24610 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24612 (__fxstat): Do not use CHECK_1.
24613 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24615 (__fxstatat): Do not use CHECK_1.
24616 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24618 (__getresgid): Do not use CHECK_1.
24619 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24621 (__getresuid): Do not use CHECK_1.
24622 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24624 (__lxstat): Do not use CHECK_1.
24625 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24627 (__old_msgctl): Do not use CHECK_1.
24628 (__new_msgctl): Likewise.
24629 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24631 (__new_setrlimit): Do not use CHECK_1.
24632 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24634 (__old_shmctl): Do not use CHECK_1.
24635 (__new_shmctl): Likewise.
24636 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24638 (__xstat): Do not use CHECK_1.
24639 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24640 (__lxstat): Do not use CHECK_1.
24641 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24643 (___lxstat64): Do not use CHECK_1.
24644 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24645 (__old_msgctl): Do not use CHECK_1.
24646 (__new_msgctl): Likewise.
24647 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24649 (__gettimeofday): Do not use CHECK_1.
24650 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24651 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24652 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24654 (__gettimeofday): Do not use CHECK_1.
24655 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24656 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24657 (__new_shmctl): Do not use CHECK_1.
24658 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24660 (do_sigtimedwait): Do not use CHECK_1.
24661 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24663 (do_sigwaitinfo): Do not use CHECK_1.
24664 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24666 (msgctl): Do not use CHECK_1.
24667 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24669 (shmctl): Do not use CHECK_1.
24670 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24671 (ustat): Do not use CHECK_1.
24672 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24674 (__fxstat): Do not use CHECK_1.
24675 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24677 (__fxstatat): Do not use CHECK_1.
24678 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24680 (__lxstat): Do not use CHECK_1.
24681 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24683 (__xstat): Do not use CHECK_1.
24684 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24685 (__xstat): Do not use CHECK_1.
24686 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24687 (___xstat64): Do not use CHECK_1.
24690 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24692 (CHECK_BOUNDS_HIGH): Likewise.
24693 * string/strcpy.c: Do not include <bp-checks.h>.
24694 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24696 2013-02-07 Roland McGrath <roland@hack.frob.com>
24698 * nscd/nscd-client.h (__nscd_drop_map_ref):
24699 Add __attribute__ ((unused)).
24700 * nis/nss-nisplus.h (niserr2nss): Likewise.
24702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24703 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24705 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24706 Remove inline keyword.
24707 * include/rounding-mode.h (round_away): Likewise.
24708 * libio/wfileops.c (adjust_wide_data): Likewise.
24709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24710 (__m128i_strloadu_tolower): Likewise.
24711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24712 (__m128i_strloadu_tolower): Likewise.
24713 * time/mktime.c (ydhms_diff): Likewise.
24714 * locale/elem-hash.h (elem_hash): Likewise.
24715 * locale/setlocale.c (setdata): Likewise.
24716 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24717 (re_string_wchar_at): Likewise.
24718 (bitset_not, bitset_merge, bitset_mask): Likewise.
24719 [!(__GNUC__ > 3)] (inline): Remove macro.
24720 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24721 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24722 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24723 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24724 * string/memcmp.c (memcmp_bytes): Likewise.
24725 * locale/programs/locarchive.c (compute_hashval): Likewise.
24726 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24727 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24728 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24729 * nss/getent.c (print_rpc, print_protocols): Likewise.
24730 (print_passwd, print_group, print_aliases): Likewise.
24731 * nis/nss-nisplus.h (niserr2nss): Likewise.
24732 * nscd/connections.c (restart_p): Likewise.
24733 Change return type to bool.
24735 2013-02-05 Roland McGrath <roland@hack.frob.com>
24737 * Makeconfig (all-Depend-files): Add existing
24738 $(sorted-subdirs:=/Depend) files.
24739 (all-subdirs): Remove nss.
24740 * sysdeps/unix/inet/Subdirs: Add it here instead.
24741 * hesiod/Depend: New file.
24743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24744 instead of calling alloca.
24746 * io/lseek.c (__lseek): Rename to __libc_lseek.
24747 Define __lseek as an alias.
24749 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24751 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24753 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24754 else clause and remove check for non-standard endianness.
24756 2013-02-04 David S. Miller <davem@davemloft.net>
24758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24760 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24763 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24764 (__ubp_memchr): Remove prototype.
24765 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24766 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24767 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24768 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24769 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24771 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24772 (__ubp_memchr): Likewise.
24773 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24774 (__ubp_memchr): Likewise.
24775 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24776 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24777 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24778 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24781 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24782 (__getcwd): Do not use CHECK_STRING.
24783 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24785 (__real_chown): Do not use CHECK_STRING.
24786 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24788 (fchownat): Do not use CHECK_STRING.
24789 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24791 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24793 (__lchown): Do not use CHECK_STRING.
24794 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24795 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24796 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24797 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24799 include <bp-checks.h>.
24800 (truncate64): Do not use CHECK_STRING.
24801 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24803 (__real_chown): Do not use CHECK_STRING.
24804 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24806 (__lchown): Do not use CHECK_STRING.
24807 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24809 (__chown): Do not use CHECK_STRING.
24810 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24812 (truncate64): Do not use CHECK_STRING.
24813 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24815 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24816 (__xmknod): Do not use CHECK_STRING.
24817 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24819 (__xmknodat): Do not use CHECK_STRING.
24820 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24821 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24823 2013-02-04 Andreas Schwab <schwab@suse.de>
24826 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24827 * include/netdb.h: Likewise for h_errno.
24828 * elf/tst-stackguard1.c: Include <tls.h>.
24830 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24832 * elf/link.h (struct link_map): Extend the l_addr comment.
24833 * include/link.h (struct link_map): Likewise.
24835 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24838 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24839 (BOUNDED_1): Remove macro.
24840 * debug/backtrace.c: Don't include <bp-checks.h>.
24841 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24842 (__backtrace): Likewise.
24843 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24845 (__backtrace): Don't use BOUNDED_1.
24846 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24848 (__backtrace): Don't use BOUNDED_1.
24849 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24850 (__backtrace): Don't use BOUNDED_1.
24851 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24852 (shmat): Don't use BOUNDED_N.
24854 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24857 * sysdeps/generic/bp-start.h: Remove file.
24858 * csu/libc-start.c: Don't include <bp-start.h>.
24859 (LIBC_START_MAIN): Set up __environ directly instead of using
24860 INIT_ARGV_and_ENVIRON.
24861 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24865 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24867 (CHECK_FCNTL): Likewise.
24868 (CHECK_N_PAGES): Likewise.
24871 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24873 (CHECK_SIGSET_NULL_OK): Likewise.
24874 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24876 (sigpending): Don't use CHECK_SIGSET.
24877 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24880 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24882 (do_sigsuspend): Don't use CHECK_SIGSET.
24883 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24885 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24886 (do_sigwait): Don't use CHECK_SIGSET.
24887 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24890 include <bp-checks.h>.
24891 (sigpending): Don't use CHECK_SIGSET.
24892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24893 include <bp-checks.h>.
24894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24895 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24897 (sigpending): Don't use CHECK_SIGSET.
24898 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24903 * sysdeps/generic/bp-semctl.h: Remove file.
24904 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24905 <bp-checks.h> and <bp-semctl.h>.
24906 (__old_semctl): Don't use CHECK_SEMCTL.
24907 (__new_semctl): Likewise.
24908 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24910 (__old_semctl): Don't use CHECK_SEMCTL.
24911 (__new_semctl): Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24913 <bp-checks.h> and <bp-semctl.h>.
24914 (__old_semctl): Don't use CHECK_SEMCTL.
24915 (__new_semctl): Likewise.
24916 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24917 <bp-checks.h> and <bp-semctl.h>.
24918 (semctl): Don't use CHECK_SEMCTL.
24921 * Makerules (elide-bp-thunks): Remove variable.
24922 (elide-routines.oS): Don't use $(elide-bp-thunks).
24923 (elide-routines.os): Likewise.
24924 (elide-routines.o): Likewise.
24925 (elide-routines.op): Likewise.
24926 (elide-routines.og): Likewise.
24927 (objects): Don't use $(bp-thunks).
24928 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24930 (common-generated): Do not add s-proto-bp.d.
24931 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24934 Do not generate makefile rules for bounded-pointer thunks.
24935 * sysdeps/generic/bp-thunks.h: Remove file.
24936 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24937 * sysdeps/unix/s-proto-bp.S: Likewise.
24940 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24941 parts of result separately when argument is not close to line from
24942 -i to i and one part of argument is small.
24943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24945 * math/libm-test.inc (cacos_test): Add more tests.
24946 (casin_test): Likewise.
24947 (casinh_test): Likewise.
24948 * sysdeps/i386/fpu/libm-test-ulps: Update.
24949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24951 2013-01-31 David S. Miller <davem@davemloft.net>
24953 * po/de.po: Update from translation team.
24955 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24957 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24959 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24961 * configure.in (_AC_PROG_CC_C89): New definition.
24962 * configure: Regenerate.
24964 * configure.in (AC_PROG_CPP): New definition.
24965 * configure: Regenerate.
24967 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24969 * debug/tst-backtrace.h: New file.
24970 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24971 (ret): Remove variable.
24973 (FAIL): Remove macro.
24974 (NO_INLINE): Likewise.
24975 (fn1): Use match function instead of strstr.
24976 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24977 (ret): Remove variable.
24979 (FAIL): Remove macro.
24980 (NO_INLINE): Likewise.
24981 (fn): Use match function instead of strstr.
24982 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24983 (ret): Remove variable.
24985 (FAIL): Remove macro.
24986 (NO_INLINE): Likewise.
24987 (handle_signal): Use match function instead of strstr.
24988 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24989 (ret): Remove variable.
24991 (FAIL): Remove macro.
24992 (NO_INLINE): Likewise.
24993 (handle_signal): Use match function instead of strstr.
24995 2013-01-23 Roland McGrath <roland@hack.frob.com>
24997 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24999 2013-01-23 David S. Miller <davem@davemloft.net>
25001 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25002 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25003 argument of CAS if possible.
25004 * sysdeps/sparc/sparc64/bits/atomic.h
25005 (__arch_compare_and_exchange_val_32_acq): Likewise.
25006 (__arch_compare_and_exchange_val_64_acq): Likewise.
25008 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25010 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25011 * sysdeps/posix/ulimit.c: ... this.
25012 Include <limits.h>.
25013 * sysdeps/unix/bsd/ulimit.c: Remove file.
25015 2013-01-23 Adam Conrad <adconrad@0c3.net>
25017 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25018 (LDFLAGS-tst-array5): Likewise.
25020 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25023 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25024 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25025 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25028 2013-01-21 David S. Miller <davem@davemloft.net>
25030 * sysdeps/sparc/backtrace.c: New file.
25031 * sysdeps/sparc/sparc32/backtrace.h: New file.
25032 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25033 * sysdeps/sparc/sparc64/backtrace.h: New file.
25034 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25035 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25038 2013-01-21 Andreas Schwab <schwab@suse.de>
25041 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25044 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25050 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25051 Mark Mitchell <mark@codesourcery.com>
25052 Tom de Vries <tom@codesourcery.com>
25053 Paul Pluzhnikov <ppluzhnikov@google.com>
25055 * debug/tst-backtrace2.c: New file.
25056 * debug/tst-backtrace3.c: Likewise.
25057 * debug/tst-backtrace4.c: Likewise.
25058 * debug/tst-backtrace5.c: Likewise.
25059 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25060 (CFLAGS-tst-backtrace3.c): Likewise.
25061 (CFLAGS-tst-backtrace4.c): Likewise.
25062 (CFLAGS-tst-backtrace5.c): Likewise.
25063 (LDFLAGS-tst-backtrace2): Likewise.
25064 (LDFLAGS-tst-backtrace3): Likewise.
25065 (LDFLAGS-tst-backtrace4): Likewise.
25066 (LDFLAGS-tst-backtrace5): Likewise.
25067 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25068 tst-backtrace4 and tst-backtrace5.
25070 2013-01-18 Anton Blanchard <anton@samba.org>
25071 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25074 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25075 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25076 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25078 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25079 "+r" and remove output regs list as redundant. Add explicit inline
25080 asm to specify register of return val to work around compiler codegen
25081 bug. Remove (int) cast on return value. Add return type parameter to
25082 use in macro so that this macro does not truncate return value for
25084 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25085 pass to INTERNAL_VSYSCALL_NCS.
25086 (INLINE_VSYSCALL): Add 'long int' as return type to
25087 INTERNAL_VSYSCALL_NCS macro invocation.
25088 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25089 INTERNAL_VSYSCALL_NCS macro invocation.
25090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25092 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25095 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25096 Fix application of SIMD FP exception mask.
25098 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25099 mp_no from a power of two.
25100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25101 __mpexp_twomm1. Use __pow_mp.
25103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25106 2013-01-17 David S. Miller <davem@davemloft.net>
25108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25110 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25113 * include/complex.h: Condition contents on [!_COMPLEX_H].
25114 (__kernel_casinhf): New prototype.
25115 (__kernel_casinh): Likewise.
25116 (__kernel_casinhl): Likewise.
25117 * math/Makefile (libm_calls): Add k_casinh.
25118 * math/k_casinh.c: New file.
25119 * math/k_casinhf.c: Likewise.
25120 * math/k_casinhl.c: Likewise.
25121 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25122 finite nonzero arguments.
25123 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25124 finite nonzero arguments.
25125 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25126 finite nonzero arguments.
25127 * math/s_casinh.c: Do not include <float.h>.
25128 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25129 * math/s_casinhf.c: Do not include <float.h>.
25130 (__casinhf): Move code for finite nonzero arguments to
25132 * math/s_casinhl.c: Do not include <float.h>.
25133 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25135 (__casinhl): Move code for finite nonzero arguments to
25137 * math/libm-test.inc (cacos_test): Add more tests.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25141 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25143 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25144 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25145 [!HAVE_MREMAP]: Remove [defined linux] case.
25146 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25148 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25150 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25152 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25154 * elf/elf.h (R_386_SIZE32): New relocation.
25155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25157 (elf_machine_rela): Likewise.
25158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25159 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25161 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25163 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25164 (FP_FAST_FMA): Do not define.
25165 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25166 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25167 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25168 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25169 !_SOFT_FLOAT]: Likewise.
25170 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25171 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25174 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25176 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25177 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25178 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25181 2013-01-16 Andreas Schwab <schwab@suse.de>
25184 * include/stdlib.h (__mktemp): Add declaration.
25185 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25186 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25188 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25190 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25192 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25193 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25194 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25196 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25197 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25201 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25202 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25205 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25206 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25208 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25210 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25212 2013-01-15 David S. Miller <davem@davemloft.net>
25214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25215 trunc{,f} to libm-sysdep_routes.
25216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25229 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25230 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25231 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25234 nearbyint{,f} to libm-sysdep_routes.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25252 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25253 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25255 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25256 libc_feholdexcept and libc_fesetenv.
25258 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25260 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25262 2013-01-14 David S. Miller <davem@davemloft.net>
25264 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25265 (SPARC_ASM_VIS2_IFUNC): Likewise.
25266 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25268 use of 'siam' instruction.
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25302 routines to libm-sysdep_routines.
25303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25306 fdim/fdimf to libm-sysdep_routines.
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25315 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25316 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25317 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25318 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25320 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25323 to optimize copies.
25325 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25330 local variable MPTWO.
25331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25334 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25336 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25339 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25341 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25343 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25345 * manual/pattern.texi (glob_t): Document gl_flags.
25346 (glob64_t): Likewise.
25348 2013-01-11 David S. Miller <davem@davemloft.net>
25350 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25351 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25352 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25353 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25354 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25355 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25356 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25357 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25358 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25359 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25360 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25361 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25362 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25364 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25365 sparc V9 rather than using V8 code.
25366 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25367 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25371 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25374 2013-01-11 Roland McGrath <roland@hack.frob.com>
25376 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25377 not in the main loop.
25378 * configure: Regenerated.
25380 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25382 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25383 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25385 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25386 [!__GLIBC_HAVE_LONG_LONG] case.
25387 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25388 condition to just #else.
25389 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25390 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25391 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25392 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25394 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25395 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25396 #elif condition to just #else.
25397 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25398 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25399 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25400 #elif condition to just #else.
25402 2013-01-11 Steve Ellcey <sellcey@mips.com>
25404 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25405 (EF_MIPS_ARCH_64): Fix value.
25406 (EF_MIPS_ARCH_32R2): New.
25407 (EF_MIPS_ARCH_64R2): New.
25409 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25411 * Makeconfig (+link-pie-before-libc): New.
25412 (+link-pie-after-libc): Likewise.
25413 (+link-pie-tests): Likewise.
25414 (+link-pie): Rewritten.
25415 (link-before-libc): Remove $(config-LDFLAGS).
25416 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25417 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25418 (config-LDFLAGS): Renamed to ...
25419 (rtld-LDFLAGS): This.
25420 (rtld-tests-LDFLAGS): New macro.
25421 (link-libc-rpath-link): Likewise.
25422 (link-libc-tests-rpath-link): Likewise.
25423 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25424 (link-libc): Prepand $(link-libc-rpath-link).
25425 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25426 (test-program-prefix): New macro.
25427 (test-via-rtld-prefix): Likewise.
25428 (test-program-cmd): Likewise.
25429 (host-test-program-cmd): Likewise.
25430 * Makefile ($(common-objpfx)testrun.sh): Replace
25431 $(run-program-prefix) with $(test-program-prefix).
25432 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25434 ($(common-objpfx)shlib.lds): Likewise.
25435 (build-module-helper): Likewise.
25436 ($(common-objpfx)format.lds): Likewise.
25437 * Rules (binaries-pie-tests): New.
25438 (binaries-pie-notests): Likewise.
25439 (binaries-pie): Rewritten.
25440 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25441 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25442 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25443 (make-test-out): Replace $(host-built-program-cmd) with
25444 $(host-test-program-cmd).
25445 * config.make.in (build-hardcoded-path-in-tests): New variable.
25446 * configure.in (--enable-hardcoded-path-in-tests): New configure
25448 (hardcoded_path_in_tests): New AC_SUBST.
25449 * configure: Regenerated.
25450 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25451 $(built-program-cmd) with $(test-program-cmd).
25452 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25453 (test_program_cmd): This.
25454 * elf/Makefile ($(objpfx)order.out): Run test with
25455 $(test-program-prefix).
25456 ($(objpfx)order2.out): Likewise.
25457 ($(objpfx)tst-initorder.out): Likewise.
25458 ($(objpfx)tst-initorder2.out): Likewise.
25459 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25460 $(test-program-cmd).
25461 ($(objpfx)tst-array1-static.out): Likewise.
25462 ($(objpfx)tst-array2.out): Likewise.
25463 ($(objpfx)tst-array3.out): Likewise.
25464 ($(objpfx)tst-array4.out): Likewise.
25465 ($(objpfx)tst-array5.out): Likewise.
25466 ($(objpfx)tst-array5-static.out): Likewise.
25467 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25468 $(test-program-cmd).
25469 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25470 $(run-program-prefix) with $(test-program-prefix).
25471 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25472 (test_program_prefix): This.
25473 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25474 $(run-program-prefix) with $(test-program-prefix).
25475 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25476 (test_program_prefix): This.
25477 * iconvdata/tst-tables.sh: Likewise.
25478 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25479 $(run-program-prefix) with $(test-program-prefix).
25480 ($(objpfx)tst-translit.out): Likewise.
25481 ($(objpfx)tst-gettext2.out): Likewise.
25482 ($(objpfx)tst-gettext4.out): Likewise.
25483 ($(objpfx)tst-gettext6.out): Likewise.
25484 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25485 (test_program_prefix): This.
25486 * intl/tst-gettext2.sh: Likewise.
25487 * intl/tst-gettext4.sh Likewise.
25488 * intl/tst-gettext6.sh: Likewise.
25489 * intl/tst-translit.sh: Likewise.
25490 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25491 with $(test-program-cmd).
25492 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25493 $(run-program-prefix) with $(test-program-prefix).
25494 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25495 (test_program_prefix): This.
25496 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25497 $(run-program-prefix) with $(test-program-prefix).
25498 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25499 (test_program_prefix): This.
25500 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25501 * posix/Makefile ($(objpfx)globtest.out): Replace
25502 $(run-via-rtld-prefix) and $(test-wrapper) with
25503 $(test-program-prefix) and $(test-via-rtld-prefix).
25504 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25505 $(test-program-prefix).
25506 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25507 $(host-test-program-cmd).
25508 (tst-spawn-ARGS): Likewise.
25509 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25510 $(test-program-prefix).
25511 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25512 (test_via_rtld_prefix): This.
25513 (test_wrapper): Renamed to ...
25514 (test_program_prefix): This.
25515 (run_program_prefix): Replaced by test_program_prefix.
25516 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25517 (test_program_prefix): This.
25518 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25519 with $(host-test-program-cmd).
25520 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25521 $(run-program-prefix) with $(test-program-prefix).
25522 ($(objpfx)tst-printf.out): Likewise.
25523 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25524 $(test-program-cmd).
25525 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25526 (test_program_prefix): This.
25527 * stdio-common/tst-unbputc.sh: Likewise.
25528 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25529 $(run-program-prefix) with $(test-program-prefix).
25530 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25531 (test_program_prefix): This.
25532 * string/Makefile ($(objpfx)tst-svc.out): Replace
25533 $(built-program-cmd) with $(test-program-cmd).
25535 2013-01-11 Andreas Jaeger <aj@suse.de>
25538 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25539 value. Sync with Linux 3.7.
25541 2013-01-10 David S. Miller <davem@davemloft.net>
25543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25547 2013-01-10 Roland McGrath <roland@hack.frob.com>
25549 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25551 * configure: Regenerated.
25553 2013-01-10 David S. Miller <davem@davemloft.net>
25555 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25556 sparc V9 rather than using V8 code.
25557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25560 2013-01-10 Roland McGrath <roland@hack.frob.com>
25562 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25563 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25564 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25565 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25566 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25567 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25568 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25569 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25570 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25571 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25572 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25573 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25574 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25575 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25576 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25577 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25578 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25579 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25580 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25581 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25582 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25583 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25584 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25585 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25586 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25587 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25588 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25590 2013-01-10 David S. Miller <davem@davemloft.net>
25592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25594 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25596 * posix/Makefile (tests-static): New variable.
25597 (tests): Add $(tests-static).
25598 (tst-exec-static-ARGS): New variable.
25599 (tst-spawn-static-ARGS): Likewise.
25600 * posix/tst-exec-static.c: New file.
25601 * posix/tst-spawn-static.c: Likewise.
25602 * posix/tst-exec.c: Support run directly.
25603 * posix/tst-spawn.c: Likewise.
25605 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25607 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25609 * math/bits/mathcalls.h (llrint): Likewise.
25610 (llround): Likewise.
25611 * stdlib/stdlib.h (struct drand48_data): Likewise.
25612 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25613 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25614 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25616 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25618 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25619 (elf_greg_t): Likewise.
25620 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25621 (__jmp_buf): Likewise.
25622 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25624 (llrint): Likewise, for all definitions.
25625 (llrintl): Likewise.
25627 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25628 Remove [__GNUC__] condition.
25629 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25630 condition to just [__USE_ISOC99].
25631 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25633 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25636 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25637 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25639 (_POSIX_V6_ILP32_OFF32): Likewise.
25640 (_XBS5_ILP32_OFF32): Likewise.
25641 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25642 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25644 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25646 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25649 doubles __mpexp_twomm1. Adjust usage.
25650 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25653 2013-01-10 Andreas Schwab <schwab@suse.de>
25656 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25657 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25659 2013-01-09 David S. Miller <davem@davemloft.net>
25662 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25663 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25664 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25665 (TCP_FASTOPEN): Define.
25666 (tcp_repair_opt): New structure.
25667 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25669 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25670 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25671 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25672 (tcp_cookie_transactions): New structure.
25674 2013-01-09 Anton Blanchard <anton@samba.org>
25676 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25677 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25679 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25681 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25683 * include/features.h (__USE_ANSI): Remove.
25685 2013-01-09 Roland McGrath <roland@hack.frob.com>
25687 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25689 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25691 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25693 * sysdeps/s390/fpu/libm-test-ulps: Update.
25695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25697 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25701 (denorm): Likewise.
25702 (__mp_dbl): Likewise.
25703 (__dbl_mp): Likewise.
25704 (add_magnitudes): Likewise.
25705 (sub_magnitudes): Likewise.
25711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25715 (denorm): Likewise.
25716 (__mp_dbl): Likewise.
25717 (__dbl_mp): Likewise.
25718 (add_magnitudes): Likewise.
25719 (sub_magnitudes): Likewise.
25725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25729 (denorm): Likewise.
25730 (__mp_dbl): Likewise.
25731 (__dbl_mp): Likewise.
25732 (add_magnitudes): Likewise.
25733 (sub_magnitudes): Likewise.
25740 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25742 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25743 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25744 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25745 2 && __USE_EXTERN_INLINES]: Likewise.
25747 2013-01-08 Andreas Jaeger <aj@suse.de>
25750 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25752 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25753 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25755 2013-01-07 Anton Blanchard <anton@samba.org>
25757 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25758 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25759 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25760 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25761 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25762 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25763 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25764 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25766 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25767 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25768 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25769 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25771 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25775 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25776 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25780 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25781 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25783 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25784 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25786 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25787 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25789 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25790 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25791 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25792 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25796 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25797 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25799 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25801 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25803 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25804 (__MALLOC_PMT): Likewise.
25805 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25806 [__GNUC__], only on [_LIBC].
25807 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25808 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25809 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25810 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25811 forward declaration.
25812 (realloc_hook_ini): Likewise.
25813 (memalign_hook_ini): Likewise.
25814 (__libc_memalign): Do not use __MALLOC_PMT in variable
25816 (__libc_valloc): Likewise.
25817 (__libc_pvalloc): Likewise.
25818 (__libc_calloc): Likewise.
25819 (__posix_memalign): Likewise.
25822 * math/s_casinh.c: Include <float.h>.
25823 (__casinh): Do not do computation with squaring and square root
25824 for large arguments.
25825 * math/s_casinhf.c: Include <float.h>.
25826 (__casinhf): Do not do computation with squaring and square root
25827 for large arguments.
25828 * math/s_casinhl.c: Include <float.h>.
25829 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25830 (__casinhl): Do not do computation with squaring and square root
25831 for large arguments.
25832 * math/libm-test.inc (casin_test): Add more tests.
25833 (casinh_test): Likewise.
25834 * sysdeps/i386/fpu/libm-test-ulps: Update.
25835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25837 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25839 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25840 (__x86_64_raw_data_cache_size): Likewise.
25841 (__x86_64_data_cache_size_half): Likewise.
25842 (__x86_64_raw_data_cache_size_half): Likewise.
25843 (__x86_64_shared_cache_size): Likewise.
25844 (__x86_64_raw_shared_cache_size): Likewise.
25845 (__x86_64_shared_cache_size_half): Likewise.
25846 (__x86_64_raw_shared_cache_size_half): Likewise.
25847 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25849 (__x86_data_cache_size): This.
25850 (__x86_64_raw_data_cache_size): Renamed to ...
25851 (__x86_raw_data_cache_size): This.
25852 (__x86_64_data_cache_size_half): Renamed to ...
25853 (__x86_data_cache_size_half): This.
25854 (__x86_64_raw_data_cache_size_half): Renamed to ...
25855 (__x86_raw_data_cache_size_half): This.
25856 (__x86_64_shared_cache_size): Renamed to ...
25857 (__x86_shared_cache_size): This.
25858 (__x86_64_raw_shared_cache_size): Renamed to ...
25859 (__x86_raw_shared_cache_size): This.
25860 (__x86_64_shared_cache_size_half): Renamed to ...
25861 (__x86_shared_cache_size_half): This.
25862 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25863 (__x86_raw_shared_cache_size_half): This.
25864 * sysdeps/x86_64/memcpy.S: Updated.
25865 * sysdeps/x86_64/memset.S: Likewise.
25866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25870 2013-01-04 David S. Miller <davem@davemloft.net>
25872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25874 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25876 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25877 1 to avoid redefinition warning.
25878 (__USE_GNU): Don't define.
25879 (init_signaling_nan): Protoize.
25881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25883 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25885 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25887 (__cpymn): Likewise.
25888 (norm): Remove commented code.
25889 (denorm): Likewise.
25890 (__mp_dbl): Likewise.
25892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25893 (__cpymn): Likewise.
25894 (norm): Remove commented code.
25895 (denorm): Likewise.
25896 (__mp_dbl): Likewise.
25899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25900 mp_no value for 1.0 and 2.0.
25901 (norm): Use RADIXI instead of radixi.d.
25902 (denorm): Likewise.
25903 (__mul): Use 0.0 instead of zero.d.
25904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25905 mp_no value for 1.0 and 2.0.
25906 (norm): Use RADIXI instead of radixi.d.
25907 (denorm): Likewise.
25908 (__mul): Use 0.0 instead of zero.d.
25910 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25913 * math/s_casinh.c (__casinh): Reduce finite argument to first
25914 quadrant then set signs of results at the end.
25915 * math/s_casinhf.c (__casinhf): Likewise.
25916 * math/s_casinhl.c (__casinhl): Likewise.
25917 * math/libm-test.inc (casin_test): Add more tests.
25918 (casinh_test): Likewise.
25919 * sysdeps/i386/fpu/libm-test-ulps: Update.
25920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25922 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25924 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25926 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25928 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25930 (denorm): Likewise.
25931 (__mp_dbl): Likewise.
25934 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25935 and adjust the header comment.
25937 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25938 variable name from declaration.
25940 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25943 Initialize COMMON_CPUID_INDEX_7 element.
25944 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25945 (CPUID_RTM): Likewise.
25946 (HAS_RTM): Likewise.
25947 (COMMON_CPUID_INDEX_7): New enum.
25949 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25952 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25953 size is zero, record memory as freed.
25955 2013-01-03 Andreas Jaeger <aj@suse.de>
25957 * po/ia.po: Add new Interlingua translation.
25959 2012-01-03 Allan McRae <allan@archlinux.org>
25961 * locale/programs/localedef.c: Fix description of '--posix' flag.
25963 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25965 * NEWS: Update dates in second copyright notice.
25966 * README: Update copyright dates in example.
25967 * manual/libc.texinfo: Update copyright dates.
25968 * scripts/test-installation.pl: Update copyright date in --version
25971 * hurd/ctty-input.c: Fix copyright notice formatting.
25972 * hurd/ctty-output.c: Likewise.
25973 * hurd/dtable.c: Likewise.
25974 * hurd/hurd-raise.c: Likewise.
25975 * hurd/hurdprio.c: Likewise.
25976 * hurd/msgportdemux.c: Likewise.
25977 * misc/sys/file.h: Likewise.
25978 * misc/sys/ioctl.h: Likewise.
25979 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25980 * sysdeps/mach/hurd/chdir.c: Likewise.
25981 * sysdeps/mach/hurd/fchdir.c: Likewise.
25982 * sysdeps/mach/hurd/rename.c: Likewise.
25983 * sysdeps/mach/hurd/rmdir.c: Likewise.
25984 * sysdeps/mach/hurd/seekdir.c: Likewise.
25985 * sysdeps/mach/hurd/setsid.c: Likewise.
25986 * sysdeps/posix/wait3.c: Likewise.
25988 * All files with FSF copyright notices: Update copyright dates
25989 using scripts/update-copyrights.
25990 * intl/plural.c: Regenerated.
25991 * locale/programs/charmap-kw.h: Likewise.
25992 * locale/programs/locfile-kw.h: Likewise.
25994 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25996 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25999 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26000 calculation loop and add branch prediction.
26002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26003 check access beyond bounds of m1np.
26005 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26007 (__inv): Remove local variable MPTWO to use the global
26009 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26013 MP3HALFS static const.
26015 2013-01-01 David S. Miller <davem@davemloft.net>
26017 * po/ca.po: Update from translation team.
26019 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26021 * scripts/update-copyrights: New file.
26022 * Makeconfig: Reformat copyright notice.
26023 * ctype/ctype.h: Likewise.
26024 * debug/swprintf_chk.c: Likewise.
26025 * elf/dl-cache.c: Likewise.
26026 * elf/dl-debug.c: Likewise.
26027 * elf/dl-object.c: Likewise.
26028 * grp/initgroups.c: Likewise.
26029 * hurd/Makefile: Likewise.
26030 * hurd/hurd/signal.h: Likewise.
26031 * hurd/hurdfault.c: Likewise.
26032 * hurd/hurdioctl.c: Likewise.
26033 * hurd/hurdlookup.c: Likewise.
26034 * hurd/intr-msg.c: Likewise.
26035 * iconv/gconv_open.c: Likewise.
26036 * libio/swprintf.c: Likewise.
26037 * locale/lc-ctype.c: Likewise.
26038 * locale/nl_langinfo.c: Likewise.
26039 * mach/Machrules: Likewise.
26040 * mach/Makefile: Likewise.
26041 * malloc/obstack.h: Likewise.
26042 * manual/Makefile: Likewise.
26043 * manual/tsort.awk: Likewise.
26044 * misc/bits/stab.def: Likewise.
26045 * nis/nis_print_group_entry.c: Likewise.
26046 * nis/nis_table.c: Likewise.
26047 * nis/nss_compat/compat-pwd.c: Likewise.
26048 * nis/nss_compat/compat-spwd.c: Likewise.
26049 * po/Makefile: Likewise.
26050 * posix/fnmatch.c: Likewise.
26051 * posix/regex.h: Likewise.
26052 * resolv/Makefile: Likewise.
26053 * resolv/nss_dns/dns-network.c: Likewise.
26054 * resolv/res_hconf.c: Likewise.
26055 * scripts/gen-sorted.awk: Likewise.
26056 * soft-fp/soft-fp.h: Likewise.
26057 * stdio-common/printf.h: Likewise.
26058 * stdlib/monetary.h: Likewise.
26059 * stdlib/random.c: Likewise.
26060 * stdlib/random_r.c: Likewise.
26061 * sysdeps/generic/Makefile: Likewise.
26062 * sysdeps/gnu/Makefile: Likewise.
26063 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26086 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26091 * sysdeps/mach/hurd/errnos.awk: Likewise.
26092 * sysdeps/mach/hurd/fork.c: Likewise.
26093 * sysdeps/mach/hurd/getcwd.c: Likewise.
26094 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26095 * sysdeps/mach/hurd/mmap.c: Likewise.
26096 * sysdeps/mach/hurd/utimes.c: Likewise.
26097 * sysdeps/mach/hurd/xmknod.c: Likewise.
26098 * sysdeps/posix/profil.c: Likewise.
26099 * sysdeps/posix/readdir_r.c: Likewise.
26100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26101 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26102 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26103 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26105 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26106 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26107 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26109 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26110 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26111 * sysdeps/pthread/lio_listio.c: Likewise.
26112 * sysdeps/sparc/dl-procinfo.h: Likewise.
26113 * sysdeps/unix/i386/sysdep.S: Likewise.
26114 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26115 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26116 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26117 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26119 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26120 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26121 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26122 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26123 * sysdeps/wordsize-32/divdi3.c: Likewise.
26124 * time/sys/time.h: Likewise.
26125 * wcsmbs/Makefile: Likewise.
26127 2013-01-01 David S. Miller <davem@davemloft.net>
26129 * po/fr.po: Update from translation team.
26131 * catgets/gencat.c: Update copyright year.
26132 * csu/version.c: Likewise.
26133 * debug/catchsegv.sh: Likewise.
26134 * debug/pcprofiledump.c: Likewise.
26135 * debug/xtrace.sh: Likewise.
26136 * elf/ldconfig.c: Likewise.
26137 * elf/ldd.bash.in: Likewise.
26138 * elf/pldd.c: Likewise.
26139 * elf/sotruss.ksh: Likewise.
26140 * elf/sprof.c: Likewise.
26141 * iconv/iconv_prog.c: Likewise.
26142 * iconv/iconvconfig.c: Likewise.
26143 * locale/programs/locale.c: Likewise.
26144 * locale/programs/localedef.c: Likewise.
26145 * login/programs/pt_chown.c: Likewise.
26146 * malloc/memusage.sh: Likewise.
26147 * malloc/memusagestat.c: Likewise.
26148 * malloc/mtrace.pl: Likewise.
26149 * nscd/nscd.c: Likewise.
26150 * nss/getent.c: Likewise.
26151 * nss/makedb.c: Likewise.
26152 * posix/getconf.c: Likewise.
26154 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26156 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26159 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26161 * math/bits/mathcalls.h (modf): Use __nonnull.
26163 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26165 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26166 (split): Use macro CN instead of the bare value.
26167 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26170 instead of the bare value.
26171 (power1): Likewise.
26173 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26177 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26179 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26181 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26183 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26184 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26186 2012-12-28 Andreas Jaeger <aj@suse.de>
26188 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26189 values are from Linux 3.7.
26191 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26192 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26194 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26196 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26199 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26201 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26202 variables with preprocessor constants.
26203 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26204 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26207 2012-12-27 Bruno Haible <bruno@clisp.org>
26210 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26213 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26216 and use variable directly.
26217 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26219 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26221 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26224 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26226 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26227 include directive. Remove local variable MPONE.
26228 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26230 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26232 2012-12-25 David S. Miller <davem@davemloft.net>
26234 * version.h (RELEASE): Set to "development".
26235 (VERSION): Set to "2.17.90".
26236 * NEWS: Add 2.18 section.
26238 2012-12-21 David S. Miller <davem@davemloft.net>
26240 * po/hr.po: Update from translation team.
26242 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26244 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26246 2012-12-19 Steve Ellcey <sellcey@mips.com>
26248 * NEWS: Mention new memcpy for MIPS.
26250 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26252 * manual/contrib.texi (Contributors): Spelling correction.
26254 2012-12-15 David S. Miller <davem@davemloft.net>
26256 * po/ru.po: Update from translation team.
26258 2012-12-13 David S. Miller <davem@davemloft.net>
26260 * NEWS: Mention IFUNC testsuite enhancements.
26262 * po/pl.po: Update from translation team.
26263 * po/bg.po: Likewise.
26265 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26266 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26268 2012-12-11 David S. Miller <davem@davemloft.net>
26270 * po/sv.po: Update from translation team.
26272 * po/vi.po: Update from translation team.
26274 * po/cs.po: Update from translation team.
26276 * po/de.po: Update from translation team.
26277 * po/eo.po: Likewise.
26278 * po/nl.po: Likewise.
26280 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26283 * manual/argp.texi (Argp Helper Functions): Move node to follow
26284 Argp Parsing State.
26287 * manual/conf.texi (Limits on File System Capacity): Mention if
26288 terminating null is included in the max size.
26290 2012-12-10 Andreas Jaeger <aj@suse.de>
26292 * po/cs.po: Update from translation team.
26294 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26296 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26297 void pointer and cast to uintptr_t.
26298 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26300 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26301 * sysdeps/s390/s390-64/memset.S: Likewise.
26303 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26306 * menual/message.texi (Message Translation): Fix typos.
26307 (Helper programs for gettext): Likewise.
26309 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26312 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26315 2012-12-07 David S. Miller <davem@davemloft.net>
26317 * po/libc.pot: Update.
26319 2012-12-07 Richard Henderson <rth@redhat.com>
26322 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26323 normal/normal case to before the switch.
26324 (_FP_DIV): Likewise.
26326 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26327 Mike Frysinger <vapier@gentoo.org>
26329 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26330 check for __NR_fadvise64_64.
26332 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26334 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26335 0, not just to plain "0" as a statement.
26336 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26339 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26341 * NEWS: Use sourceware.org in Bugzilla URL.
26343 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26346 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26348 * stdio-common/tst-put-error.c (do_test): Add newline to the
26349 padded test to ensure flush.
26351 2012-12-05 Jeff Law <law@redhat.com>
26353 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26355 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26357 * README: Don't refer to ports add-on as distributed separately.
26358 Mention AArch64 in list of systems supported in the ports add-on.
26360 * LICENSES: Add more non-FSF copyright and license notices.
26362 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26365 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26367 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26368 10000 as width of padded output.
26370 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26372 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26375 variable LX with __attribute__ ((unused)).
26376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26378 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26381 with __attribute__ ((unused)).
26383 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26385 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26387 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26389 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26390 (CFLAGS-nldbl-acos.c): New variable.
26391 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26392 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26393 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26394 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26395 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26396 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26397 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26398 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26399 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26400 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26401 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26402 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26403 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26404 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26405 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26406 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26407 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26408 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26409 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26410 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26411 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26412 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26413 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26465 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26466 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26467 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26468 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26469 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26470 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26471 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26472 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26473 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26474 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26475 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26476 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26477 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26478 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26479 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26480 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26481 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26482 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26483 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26484 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26485 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26486 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26487 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26490 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26494 whole low double instead of just low 47 bits when splitting values
26497 2012-12-03 Allan McRae <allan@archlinux.org>
26499 * manual/stdio.texi (Predefined Printf Handlers): Remove
26500 @hsep and @vsep usage.
26502 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26504 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26505 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26507 2012-12-03 Jeff Law <law@redhat.com>
26509 * time/sys/time.h (settimeofday): Do not mark TV argument
26512 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26514 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26515 when currently writing and seek to current position when not.
26516 * libio/Makefile (tests): Remove bug-fclose1.
26517 * libio/bug-fclose1.c: Delete.
26519 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26521 * manual/arith.texi (feenableexcept): Fix typo.
26522 (fedisableexcept): Likewise.
26524 2012-11-30 Roland McGrath <roland@hack.frob.com>
26526 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26527 second, differently-typed declaration, rather than a cast.
26529 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26531 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26532 * include/rpc/svc.h: ... here.
26534 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26537 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26538 depending n and resplen2 to catch cases where answer
26541 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26543 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26544 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26546 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26550 2012-11-29 Roland McGrath <roland@hack.frob.com>
26552 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26554 2012-11-28 Jeff Law <law@redhat.com>
26557 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26558 dataset_temporary. Track alloca usage into alloca_used.
26559 If dataset is large allocate and release it via malloc/free.
26561 2012-06-04 Florian Weimer <fweimer@redhat.com>
26564 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26566 2012-11-28 David S. Miller <davem@davemloft.net>
26568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26570 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26573 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26574 of pi/2 rounded to nearest to 64 bits.
26575 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26576 nearest to 64 bits.
26577 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26580 2012-11-28 Jeff Law <law@redhat.com>
26581 Martin Osvald <mosvald@redhat.com>
26584 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26585 * sunrpc/svc.c: Include time.h.
26586 (__svc_accept_failed): New function.
26587 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26588 any reason other than EINTR, call __svc_accept_failed.
26589 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26590 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26592 2012-11-28 Andreas Schwab <schwab@suse.de>
26594 * scripts/abilist.awk: Also handle indirect functions in .opd
26597 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26600 * sysdeps/x86/fpu/powl_helper.c: New file.
26601 * sysdeps/x86/fpu/Makefile: Likewise.
26602 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26604 (__ieee754_powl): Use __powl_helper for finite arguments except
26605 integer exponents below 8.
26606 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26608 (__ieee754_powl): Use __powl_helper for finite arguments except
26609 integer exponents below 8.
26610 * math/libm-test.inc (pow_test): Add more tests and enable some
26611 previously disabled tests.
26612 * sysdeps/i386/fpu/libm-test-ulps: Update.
26613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26615 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26616 Carlos O'Donell <carlos_odonell@mentor.com>
26618 * nss/makedb.c (is_prime): Assert that input is odd and greater
26619 than 4. Note that fact in a comment too.
26620 (next_prime): Add 4 to input.
26622 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26625 * libio/Makefile (tests): Add test case tst-fwrite-error.
26626 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26627 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26628 * libio/tst-fwrite-error.c: New test case.
26630 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26632 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26633 before casting to void *.
26634 * include/libc-internal.h (__pointer_type): New macro.
26635 (__integer_if_pointer_type_sub): Likewise.
26636 (__integer_if_pointer_type): Likewise.
26637 (cast_to_integer): Likewise.
26638 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26639 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26640 before casting to atomic64_t.
26641 (atomic_exchange_acq): Likewise.
26642 (__arch_exchange_and_add_body): Likewise.
26643 (__arch_add_body): Likewise.
26644 (atomic_add_negative): Likewise.
26645 (atomic_add_zero): Likewise.
26647 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26649 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26650 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26651 (add_fdes): Likewise.
26652 (linear_search_fdes): Likewise.
26653 (binary_search_unencoded_fdes): Likewise.
26655 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26657 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26659 2012-11-24 Adam Conrad <adconrad@0c3.net>
26661 * configure.in: Autodetect C++ header directories.
26662 * configure: Regenerated.
26664 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26666 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26668 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26672 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26674 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26675 LDBL_MANT_DIG == 106]: Disable some tests.
26676 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26678 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26683 input for small inputs. Return +/- pi/2 for large inputs.
26684 * math/libm-test.inc (atan_test): Add more tests.
26686 * sysdeps/generic/unwind-dw2-fde-glibc.c
26687 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26688 __attribute__ ((unused)).
26691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26692 x * y if x and y are nonzero and z is zero.
26695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26696 nonzero exponents with absolute value below 0x1p-117 to +/-
26700 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26701 up arguments below 2**-450, not just those below 2**-500.
26702 * math/libm-test.inc (hypot_test): Add another test.
26705 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26706 Return a+b for ratio over 2**120, not 2**60.
26707 * math/libm-test.inc (hypot_test): Add another test.
26709 * math/libm-test.inc (clog_test): Use
26710 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26711 (clog10_test): Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26716 2012-11-22 Andreas Schwab <schwab@suse.de>
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26720 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26722 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26723 printf output with newline.
26725 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26728 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26729 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26730 -z nodlopen, -z initfirst and -z execstack support.
26731 * configure: Regenerated.
26733 * elf/elf.h (DF_1_NODIRECT): New macro.
26734 (DF_1_IGNMULDEF): Likewise.
26735 (DF_1_NOKSYMS): Likewise.
26736 (DF_1_NOHDR): Likewise.
26737 (DF_1_EDITED): Likewise.
26738 (DF_1_NORELOC): Likewise.
26739 (DF_1_SYMINTPOSE): Likewise.
26740 (DF_1_GLOBAUDIT): Likewise.
26741 (DF_1_SINGLETON): Likewise.
26742 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26743 DT_1_SUPPORTED_MASK bits.
26744 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26746 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26748 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26750 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26752 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26755 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26756 (sendmmsg): Move declarations...
26757 * socket/sys/socket.h: ... here.
26758 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26759 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26761 * socket/recvmmsg.c: ... this new file.
26762 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26763 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26764 definition of __sendmmsg hidden.
26765 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26766 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26767 Move ENOSYS stub into and include it from...
26768 * socket/sendmmsg.c: ... this new file.
26769 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26770 (sysdep_routines): Move recvmmsg and sendmmsg...
26771 * socket/Makefile (routines): ... here.
26772 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26773 (GLIBC_PRIVATE): Add __sendmmsg.
26774 * include/sys/socket.h (__sendmmsg): Add declarations.
26775 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26778 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26780 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26781 variable I1 with __attribute__ ((unused)).
26782 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26784 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26786 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26787 DUMMY variables with __attribute__ ((unused)).
26789 * bits/byteswap.h: Include <bits/types.h>.
26790 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26792 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26794 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26795 string_t. Do not manually set errno.
26796 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26797 length with __strnlen. Make sure to both set errno and return it on
26800 2012-11-19 David S. Miller <davem@davemloft.net>
26802 With help from Joseph Myers.
26803 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26804 very large arguments properly.
26805 * math/libm-test.inc (atan_test): New tests.
26806 (atan2_test): New tests.
26807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26810 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26813 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26816 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26817 [POSIX] (EADDRNOTAVAIL): Likewise.
26818 [POSIX] (EAFNOSUPPORT): Likewise.
26819 [POSIX] (EALREADY): Likewise.
26820 [POSIX] (ECONNABORTED): Likewise.
26821 [POSIX] (ECONNREFUSED): Likewise.
26822 [POSIX] (ECONNRESET): Likewise.
26823 [POSIX] (EDESTADDRREQ): Likewise.
26824 [POSIX] (EDQUOT): Likewise.
26825 [POSIX] (EHOSTUNREACH): Likewise.
26826 [POSIX] (EIDRM): Likewise.
26827 [POSIX] (EISCONN): Likewise.
26828 [POSIX] (ELOOP): Likewise.
26829 [POSIX] (EMULTIHOP): Likewise.
26830 [POSIX] (ENETDOWN): Likewise.
26831 [POSIX] (ENETUNREACH): Likewise.
26832 [POSIX] (ENOBUFS): Likewise.
26833 [POSIX] (ENODATA): Likewise.
26834 [POSIX] (ENOLINK): Likewise.
26835 [POSIX] (ENOMSG): Likewise.
26836 [POSIX] (ENOPROTOOPT): Likewise.
26837 [POSIX] (ENOSR): Likewise.
26838 [POSIX] (ENOSTR): Likewise.
26839 [POSIX] (ENOTCONN): Likewise.
26840 [POSIX] (ENOTSOCK): Likewise.
26841 [POSIX] (EOPNOTSUPP): Likewise.
26842 [POSIX] (EOVERFLOW): Likewise.
26843 [POSIX] (EPROTO): Likewise.
26844 [POSIX] (EPROTONOSUPPORT): Likewise.
26845 [POSIX] (EPROTOTYPE): Likewise.
26846 [POSIX] (ESTALE): Likewise.
26847 [POSIX] (ETIME): Likewise.
26848 [POSIX] (ETXTBSY): Likewise.
26849 [POSIX] (EWOULDBLOCK): Likewise.
26850 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26851 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26852 [POSIX] (SEEK_CUR): Likewise.
26853 [POSIX] (SEEK_END): Likewise.
26854 [POSIX || UNIX98] (mode_t): Do not require.
26855 [POSIX] (off_t): Likewise.
26856 [POSIX] (pid_t): Likewise.
26857 [POSIX] (sys/stat.h): Do not allow header.
26858 [POSIX] (unistd.h): Likewise.
26859 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26860 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26861 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26862 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26864 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26865 sigevent): Specify elements.
26866 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26868 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26869 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26871 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26872 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26873 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26874 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26875 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26876 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26877 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26878 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26879 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26880 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26881 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26882 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26883 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26890 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26892 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26894 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26895 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26896 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26897 Specify lower bound on value.
26898 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26899 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26900 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26901 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26902 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26903 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26904 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26905 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26907 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26909 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26910 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26911 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26912 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26913 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26914 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26915 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26916 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26917 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26918 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26919 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26920 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26924 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26926 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26928 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26930 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26931 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26932 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26933 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26936 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26937 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26938 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26939 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26940 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26941 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26946 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26947 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26948 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26949 specify as optional.
26950 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26951 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26952 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26953 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26954 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26955 [XPG3] (NL_LANGMAX): Likewise.
26956 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26957 [POSIX || XPG3] (NL_NMAX): Likewise.
26958 [POSIX || XPG3] (NL_SETMAX): Likewise.
26959 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26960 [XPG3] (NZERO): Likewise.
26961 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26962 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26963 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26964 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26965 (REG_ERANGE): Expect.
26966 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26968 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26969 Use (void) in prototype.
26970 [POSIX] (*_t): Allow.
26971 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26972 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26973 (WRDE_BADVAL): Expect.
26975 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26977 [XPG3 || XPG4] (O_RSYNC): Likewise.
26978 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26980 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26981 [XPG3 || XPG4] (sigqueue): Likewise.
26982 [XPG3 || XPG4] (sigtimedwait): Likewise.
26983 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26984 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26985 [XPG3 || XPG4] (vsnprintf): Likewise.
26986 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26988 [XPG3 || XPG4] (blksize_t): Likewise.
26989 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26991 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26992 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26993 [XPG3 || XPG4] (struct itimerspec): Likewise.
26994 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26995 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26996 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26997 [XPG3 || XPG4] (clockid_t): Likewise.
26998 [XPG3 || XPG4] (timer_t): Likewise.
26999 [XPG3 || XPG4] (clock_getres): Likewise.
27000 [XPG3 || XPG4] (clock_gettime): Likewise.
27001 [XPG3 || XPG4] (clock_settime): Likewise.
27002 [XPG3 || XPG4] (nanosleep): Likewise.
27003 [XPG3 || XPG4] (timer_create): Likewise.
27004 [XPG3 || XPG4] (timer_delete): Likewise.
27005 [XPG3 || XPG4] (timer_gettime): Likewise.
27006 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27007 [XPG3 || XPG4] (timer_settime): Likewise.
27008 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27009 [XPG3 || XPG4] (getlogin_r): Likewise.
27010 [XPG3 || XPG4] (pread): Likewise.
27011 [XPG3 || XPG4] (pthread_atfork): Likewise.
27012 [XPG3 || XPG4] (pwrite): Likewise.
27015 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27018 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27020 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27021 finalizing MALLSTREAM.
27023 * sysdeps/mach/hurd/syncfs.c: New file.
27025 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27028 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27029 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27031 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27032 (_nss_dns_gethostbyname4_r): Likewise.
27033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27034 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27036 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27039 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27041 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27043 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27044 * elf/cache.c (print_entry): Print ",AArch64" for
27047 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27048 * elf/cache.c (print_entry): Print ",hard-float" for
27051 2012-11-18 David S. Miller <davem@davemloft.net>
27053 With help from Joseph Myers.
27054 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27056 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27058 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27059 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27061 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27062 * math/libm-test.inc (y0_test): New tests.
27063 (y1_test): New tests.
27064 * sysdeps/i386/fpu/libm-test-ulps: Update.
27065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27068 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27070 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27072 * configure: Regenerated.
27074 2012-11-17 David S. Miller <davem@davemloft.net>
27077 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27078 nonzero exponents with absolute value below 0x1p-128 to +/-
27081 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27083 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27085 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27087 * posix/getconf-speclist.c: New file.
27088 * posix/posix-envs.def: Likewise.
27089 * posix/confstr.c (START_ENV_GROUP): New macro.
27090 (END_ENV_GROUP): Likewise.
27091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27092 (KNOWN_PRESENT_ENV_STRING): Likewise.
27093 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27094 (UNKNOWN_ENVIRONMENT): Likewise.
27095 (confstr): Include posix-envs.def instead of handling
27096 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27097 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27098 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27099 (END_ENV_GROUP): Likewise.
27100 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27101 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27102 (UNKNOWN_ENVIRONMENT): Likewise.
27103 (__sysconf): Include posix-envs.def instead of handling associated
27104 cases directly here.
27105 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27106 preprocessing getconf-speclist.c rather than running getconf or
27107 generating empty file.
27109 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27111 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27113 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27116 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27118 2012-11-16 David S. Miller <davem@davemloft.net>
27120 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27121 smaller than LDBL_EPSILON/2.0L, just return xm1.
27123 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27125 * elf/tst-array1.c (init): Set constructor priority to 1000.
27126 (fini): Set destructor priority to 1000.
27127 * elf/tst-array2dep.c: Likewise.
27129 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27132 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27133 (_IO_new_file_xsputn): Also return EOF if none of the input
27134 data was written when overflow failed.
27135 * libio/iopadn.c (_IO_padn): Likewise.
27136 * libio/iowpadn.c (_IO_wpadn): Likewise.
27137 * stdio-common/tst-put-error.c: Add copyright notice.
27138 (do_test): Add case for printing padded string.
27139 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27140 _IO_padn returned error.
27141 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27142 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27145 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27147 * libio/libioP.h: Add comment note that the references to C++
27148 bits are now obsolete.
27150 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27152 * math/libm-test.inc (check_complex): Use asprintf.
27154 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27156 * debug/pcprofiledump.c (print_version): Update copyright year.
27157 * malloc/memusagestat.c (print_version): Likewise.
27159 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27162 * elf/Makefile (tests): Add tst-audit8.
27163 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27164 ($(objpfx)tst-audit8.out): New target.
27165 (tst-audit8-ENV): New variable.
27166 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27167 audit if l_reloc_result is NULL.
27168 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27169 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27170 * elf/tst-audit8.c: New file.
27172 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27174 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27175 * misc/Makefile (CFLAGS-select.c): Define.
27176 * posix/Makefile (CFLAGS-pause.c): Define.
27178 2012-11-13 David S. Miller <davem@davemloft.net>
27180 * crypt/Makefile: Move test targets after toplevel Rules
27181 inclusion. Grab any necessary sysdep routines when linking.
27182 * crypt/md5.c (md5_process_block): Remove define, we will always
27183 name it __md5_process_block.
27184 (md5_finish_ctx): Update md5_process_block call.
27185 (md5_stream): Likewise.
27186 (md5_process_bytes): Likewise.
27187 (md5_process_block): Rename to __md5_process_block and move to ...
27188 * crypt/md5-block.c: ... here.
27189 * crypt/sha256.c (sha256_process_block): Move to ...
27190 * crypt/sha256-block.c: ... here.
27191 * crypt/sha512.c (sha512_process_block): Move to ...
27192 * crypt/sha512-block.c: ... here.
27193 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27195 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27196 * sysdeps/sparc/sparc64/multiarch/Makefile
27197 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27199 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27200 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27202 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27203 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27204 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27205 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27206 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27207 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27208 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27209 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27210 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27215 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27217 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27219 * timezone/tzselect.ksh: Update from tzcode git revision
27220 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27221 * timezone/zdump.c: Likewise.
27222 * timezone/zic.c: Likewise.
27223 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27224 in TZVERSION setting, not $(PKGVERSION).
27225 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27226 REPORT_BUGS_TO settings.
27229 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27232 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27234 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27235 detection to immediately after _FP_ROUND().
27236 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27239 2012-11-11 David S. Miller <davem@davemloft.net>
27241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27243 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27244 __close rather than their public counterparts.
27246 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27248 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27250 [UNIX98] (sem_timedwait): Do not expect.
27251 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27252 [XPG4 || UNIX98] (sockatmark): Do not expect.
27253 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27254 (clock_getcpuclockid): Do not expect.
27255 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27256 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27258 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27259 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27260 [UNIX98] (vwscanf): Likewise.
27261 [UNIX98] (vswscanf): Likewise.
27263 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27265 * timezone/version.h: Remove file.
27266 * timezone/README: Do not refer to version.h.
27267 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27268 $(objpfx)version.h.
27269 ($(objpfx)zdump.o): Likewise.
27270 ($(objpfx)version.h): New target.
27272 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27274 * timezone/README: Don't mention modification to tzselect.ksh.
27275 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27276 work on unmodified tzselect.ksh. Substitute version numbers in
27279 * Makefile (format-me): Remove.
27280 (INSTALL): Adjust indentation. Use commands directly instead of
27281 using $(format-me).
27283 * aclocal.m4 (ACX_PKGVERSION): New macro.
27284 (ACX_BUGURL): Likewise.
27285 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27286 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27287 (REPORT_BUGS_TO): Likewise.
27288 * configure: Regenerated.
27289 * config.h.in (PKGVERSION): New macro.
27290 (REPORT_BUGS_TO): Likewise.
27291 * config.make.in (PKGVERSION): New variable.
27292 (PKGVERSION_TEXI): Likewise.
27293 (REPORT_BUGS_TO): Likewise.
27294 (REPORT_BUGS_TEXI): Likewise.
27295 * Makefile (format-me): Use -I$(common-objpfx)manual.
27296 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27297 ($(common-objpfx)manual/%): New target.
27298 (manual/%): Remove target.
27299 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27300 (print_version): Use PKGVERSION.
27301 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27302 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27303 and REPORT_BUGS_TO.
27304 ($(objpfx)xtrace): Likewise.
27305 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27306 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27307 (print_version): Use PKGVERSION.
27308 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27309 (do_version): Use PKGVERSION.
27310 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27312 (common-ldd-rewrite): Likewise.
27313 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27314 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27315 (print_version): Use PKGVERSION.
27316 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27317 * elf/pldd.c (argp_program_bug_address): Remove variable.
27318 (more_help): New function.
27319 (argp): Use more_help.
27320 (print_version): Use PKGVERSION.
27321 * elf/sln.c (main): Use PKGVERSION.
27322 (usage): Use REPORT_BUGS_TO.
27323 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27324 (top level): Use PKGVERSION.
27325 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27326 (print_version): Use PKGVERSION.
27327 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27328 (print_version): Use PKGVERSION.
27329 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27330 (print_version): Use PKGVERSION.
27331 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27332 (print_version): Use PKGVERSION.
27333 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27334 (print_version): Use PKGVERSION.
27335 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27336 (print_version): Use PKGVERSION.
27337 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27339 ($(objpfx)memusage): Likewise.
27340 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27341 (do_version): Use PKGVERSION.
27342 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27343 (print_version): Use PKGVERSION.
27344 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27345 ($PKGVERSION): New variable.
27346 ($REPORT_BUGS_TO): Likewise.
27347 (usage): Use $REPORT_BUGS_TO.
27348 (top level): Use $PKGVERSION.
27349 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27350 ($(objpfx)pkgvers.texi): New rule.
27351 ($(objpfx)stamp-pkgvers): Likewise.
27352 * manual/install.texi: Include pkgvers.texi.
27353 (--with-pkgversion): Document new configure option.
27354 (--with-bugurl): Likewise.
27355 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27356 than necessarily for this particular distribution. Use
27357 REPORT_BUGS_TO for where to report bugs.
27358 * INSTALL: Regenerated.
27359 * manual/libc.texinfo: Include pkgvers.texi.
27360 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27361 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27362 (print_version): Use PKGVERSION.
27363 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27364 (print_version): Use PKGVERSION.
27365 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27366 (print_version): Use PKGVERSION.
27367 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27368 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27370 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27371 (print_version): Use PKGVERSION.
27372 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27373 (print_version): Use PKGVERSION.
27374 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27377 * timezone/checktab.awk: Update from tzcode 2012i.
27378 * timezone/ialloc.c: Likewise.
27379 * timezone/private.h: Likewise.
27380 * timezone/scheck.c: Likewise.
27381 * timezone/tzfile.h: Likewise.
27382 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27383 (TZVERSION): Hardcode tzcode version number.
27384 * timezone/zdump.c: Update from tzcode 2012i.
27385 * timezone/zic.c: Likewise.
27386 * timezone/version.h: New file.
27387 * timezone/README: Describe version.h. Update upstream location.
27390 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27391 (mktemp): Enable declaration.
27392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27409 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27410 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27411 for copies of such integer values.
27412 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27413 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27415 2012-11-09 Andreas Jaeger <aj@suse.de>
27417 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27418 definitions and declarations that are provided by
27419 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27421 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27423 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27424 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27425 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27428 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27430 * elf/elf.h: Update comment before AArch64 relocations.
27432 2012-11-07 David S. Miller <davem@davemloft.net>
27434 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27436 (__start_context): Declare.
27437 (__makecontext_ret): Delete.
27438 (__makecontext): Hook up __start_context instead of
27440 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27441 (sysdep_routines): Add __start_context when in stdlib.
27443 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27445 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27446 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27447 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27449 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27450 (READELF): New variable. Use it instead of hardcoded "readelf".
27452 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27454 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27455 * sysdeps/x86/Makefile: Here.
27456 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27457 * sysdeps/x86/tst-xmmymm.sh: This.
27459 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27461 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27463 [UNIX98] (pthread_barrier_t): Do not expect.
27464 [UNIX98] (pthread_barrierattr_t): Likewise.
27465 [UNIX98] (pthread_spinlock_t): Likewise.
27466 [UNIX98] (pthread_barrier_destroy): Likewise.
27467 [UNIX98] (pthread_barrier_init): Likewise.
27468 [UNIX98] (pthread_barrier_wait): Likewise.
27469 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27470 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27471 [UNIX98] (pthread_barrierattr_init): Likewise.
27472 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27473 [UNIX98] (pthread_getcpuclockid): Likewise.
27474 [UNIX98] (pthread_mutex_timedlock): Likewise.
27475 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27476 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27477 [UNIX98] (pthread_sigmask): Likewise.
27478 [UNIX98] (pthread_spin_destroy): Likewise.
27479 [UNIX98] (pthread_spin_init): Likewise.
27480 [UNIX98] (pthread_spin_lock): Likewise.
27481 [UNIX98] (pthread_spin_trylock): Likewise.
27482 [UNIX98] (pthread_spin_unlock): Likewise.
27483 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27485 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27486 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27487 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27488 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27489 [XPG3 || XPG4] (pthread_key_t): Likewise.
27490 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27491 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27492 [XPG3 || XPG4] (pthread_once_t): Likewise.
27493 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27494 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27496 [XPG3 || XPG4] (pthread_t): Likewise.
27498 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27500 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27502 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27503 Change function return type to int.
27505 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27506 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27507 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27508 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27509 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27510 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27511 [!POSIX] (posix_madvise): Likewise.
27512 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27514 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27515 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27516 (mode_t): Likewise.
27517 (posix_mem_offset): Likewise.
27518 (posix_typed_mem_get_info): Likewise.
27519 (posix_typed_mem_open): Likewise.
27521 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27522 Change condition to [XOPEN2K8].
27524 * conform/conformtest.pl: Preprocess allow-header data with -x c
27525 instead of from stdin.
27526 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27527 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27528 [C99-based standards] (cerfc): Likewise.
27529 [C99-based standards] (cexp2): Likewise.
27530 [C99-based standards] (cexpm1): Likewise.
27531 [C99-based standards] (clog10): Likewise.
27532 [C99-based standards] (clog1p): Likewise.
27533 [C99-based standards] (clog2): Likewise.
27534 [C99-based standards] (clgamma): Likewise.
27535 [C99-based standards] (ctgamma): Likewise.
27536 [C99-based standards] (cerff): Likewise.
27537 [C99-based standards] (cerfcf): Likewise.
27538 [C99-based standards] (cexp2f): Likewise.
27539 [C99-based standards] (cexpm1f): Likewise.
27540 [C99-based standards] (clog10f): Likewise.
27541 [C99-based standards] (clog1pf): Likewise.
27542 [C99-based standards] (clog2f): Likewise.
27543 [C99-based standards] (clgammaf): Likewise.
27544 [C99-based standards] (ctgammaf): Likewise.
27545 [C99-based standards] (cerfl): Likewise.
27546 [C99-based standards] (cerfcl): Likewise.
27547 [C99-based standards] (cexp2l): Likewise.
27548 [C99-based standards] (cexpm1l): Likewise.
27549 [C99-based standards] (clog10l): Likewise.
27550 [C99-based standards] (clog1pl): Likewise.
27551 [C99-based standards] (clog2l): Likewise.
27552 [C99-based standards] (clgammal): Likewise.
27553 [C99-based standards] (ctgammal): Likewise.
27554 * conform/data/inttypes.h-data [C99-based standards]: Include
27555 stdint.h-data. Remove all expectations for stdint.h contents.
27556 [C99-based standards] (PRI*): Do not allow.
27557 [C99-based standards] (SCN*): Likewise.
27558 [C99-based standards] (*_t): Likewise.
27559 [C99-based-standards] (PRId8): Expect macro.
27560 [C99-based-standards] (PRIi8): Likewise.
27561 [C99-based-standards] (PRIo8): Likewise.
27562 [C99-based-standards] (PRIu8): Likewise.
27563 [C99-based-standards] (PRIx8): Likewise.
27564 [C99-based-standards] (PRIX8): Likewise.
27565 [C99-based-standards] (SCNd8): Likewise.
27566 [C99-based-standards] (SCNi8): Likewise.
27567 [C99-based-standards] (SCNo8): Likewise.
27568 [C99-based-standards] (SCNu8): Likewise.
27569 [C99-based-standards] (SCNx8): Likewise.
27570 [C99-based-standards] (PRIdLEAST8): Likewise.
27571 [C99-based-standards] (PRIiLEAST8): Likewise.
27572 [C99-based-standards] (PRIoLEAST8): Likewise.
27573 [C99-based-standards] (PRIuLEAST8): Likewise.
27574 [C99-based-standards] (PRIxLEAST8): Likewise.
27575 [C99-based-standards] (PRIXLEAST8): Likewise.
27576 [C99-based-standards] (SCNdLEAST8): Likewise.
27577 [C99-based-standards] (SCNiLEAST8): Likewise.
27578 [C99-based-standards] (SCNoLEAST8): Likewise.
27579 [C99-based-standards] (SCNuLEAST8): Likewise.
27580 [C99-based-standards] (SCNxLEAST8): Likewise.
27581 [C99-based-standards] (PRIdFAST8): Likewise.
27582 [C99-based-standards] (PRIiFAST8): Likewise.
27583 [C99-based-standards] (PRIoFAST8): Likewise.
27584 [C99-based-standards] (PRIuFAST8): Likewise.
27585 [C99-based-standards] (PRIxFAST8): Likewise.
27586 [C99-based-standards] (PRIXFAST8): Likewise.
27587 [C99-based-standards] (SCNdFAST8): Likewise.
27588 [C99-based-standards] (SCNiFAST8): Likewise.
27589 [C99-based-standards] (SCNoFAST8): Likewise.
27590 [C99-based-standards] (SCNuFAST8): Likewise.
27591 [C99-based-standards] (SCNxFAST8): Likewise.
27592 [C99-based-standards] (PRId16): Likewise.
27593 [C99-based-standards] (PRIi16): Likewise.
27594 [C99-based-standards] (PRIo16): Likewise.
27595 [C99-based-standards] (PRIu16): Likewise.
27596 [C99-based-standards] (PRIx16): Likewise.
27597 [C99-based-standards] (PRIX16): Likewise.
27598 [C99-based-standards] (SCNd16): Likewise.
27599 [C99-based-standards] (SCNi16): Likewise.
27600 [C99-based-standards] (SCNo16): Likewise.
27601 [C99-based-standards] (SCNu16): Likewise.
27602 [C99-based-standards] (SCNx16): Likewise.
27603 [C99-based-standards] (PRIdLEAST16): Likewise.
27604 [C99-based-standards] (PRIiLEAST16): Likewise.
27605 [C99-based-standards] (PRIoLEAST16): Likewise.
27606 [C99-based-standards] (PRIuLEAST16): Likewise.
27607 [C99-based-standards] (PRIxLEAST16): Likewise.
27608 [C99-based-standards] (PRIXLEAST16): Likewise.
27609 [C99-based-standards] (SCNdLEAST16): Likewise.
27610 [C99-based-standards] (SCNiLEAST16): Likewise.
27611 [C99-based-standards] (SCNoLEAST16): Likewise.
27612 [C99-based-standards] (SCNuLEAST16): Likewise.
27613 [C99-based-standards] (SCNxLEAST16): Likewise.
27614 [C99-based-standards] (PRIdFAST16): Likewise.
27615 [C99-based-standards] (PRIiFAST16): Likewise.
27616 [C99-based-standards] (PRIoFAST16): Likewise.
27617 [C99-based-standards] (PRIuFAST16): Likewise.
27618 [C99-based-standards] (PRIxFAST16): Likewise.
27619 [C99-based-standards] (PRIXFAST16): Likewise.
27620 [C99-based-standards] (SCNdFAST16): Likewise.
27621 [C99-based-standards] (SCNiFAST16): Likewise.
27622 [C99-based-standards] (SCNoFAST16): Likewise.
27623 [C99-based-standards] (SCNuFAST16): Likewise.
27624 [C99-based-standards] (SCNxFAST16): Likewise.
27625 [C99-based-standards] (PRId32): Likewise.
27626 [C99-based-standards] (PRIi32): Likewise.
27627 [C99-based-standards] (PRIo32): Likewise.
27628 [C99-based-standards] (PRIu32): Likewise.
27629 [C99-based-standards] (PRIx32): Likewise.
27630 [C99-based-standards] (PRIX32): Likewise.
27631 [C99-based-standards] (SCNd32): Likewise.
27632 [C99-based-standards] (SCNi32): Likewise.
27633 [C99-based-standards] (SCNo32): Likewise.
27634 [C99-based-standards] (SCNu32): Likewise.
27635 [C99-based-standards] (SCNx32): Likewise.
27636 [C99-based-standards] (PRIdLEAST32): Likewise.
27637 [C99-based-standards] (PRIiLEAST32): Likewise.
27638 [C99-based-standards] (PRIoLEAST32): Likewise.
27639 [C99-based-standards] (PRIuLEAST32): Likewise.
27640 [C99-based-standards] (PRIxLEAST32): Likewise.
27641 [C99-based-standards] (PRIXLEAST32): Likewise.
27642 [C99-based-standards] (SCNdLEAST32): Likewise.
27643 [C99-based-standards] (SCNiLEAST32): Likewise.
27644 [C99-based-standards] (SCNoLEAST32): Likewise.
27645 [C99-based-standards] (SCNuLEAST32): Likewise.
27646 [C99-based-standards] (SCNxLEAST32): Likewise.
27647 [C99-based-standards] (PRIdFAST32): Likewise.
27648 [C99-based-standards] (PRIiFAST32): Likewise.
27649 [C99-based-standards] (PRIoFAST32): Likewise.
27650 [C99-based-standards] (PRIuFAST32): Likewise.
27651 [C99-based-standards] (PRIxFAST32): Likewise.
27652 [C99-based-standards] (PRIXFAST32): Likewise.
27653 [C99-based-standards] (SCNdFAST32): Likewise.
27654 [C99-based-standards] (SCNiFAST32): Likewise.
27655 [C99-based-standards] (SCNoFAST32): Likewise.
27656 [C99-based-standards] (SCNuFAST32): Likewise.
27657 [C99-based-standards] (SCNxFAST32): Likewise.
27658 [C99-based-standards] (PRId64): Likewise.
27659 [C99-based-standards] (PRIi64): Likewise.
27660 [C99-based-standards] (PRIo64): Likewise.
27661 [C99-based-standards] (PRIu64): Likewise.
27662 [C99-based-standards] (PRIx64): Likewise.
27663 [C99-based-standards] (PRIX64): Likewise.
27664 [C99-based-standards] (SCNd64): Likewise.
27665 [C99-based-standards] (SCNi64): Likewise.
27666 [C99-based-standards] (SCNo64): Likewise.
27667 [C99-based-standards] (SCNu64): Likewise.
27668 [C99-based-standards] (SCNx64): Likewise.
27669 [C99-based-standards] (PRIdLEAST64): Likewise.
27670 [C99-based-standards] (PRIiLEAST64): Likewise.
27671 [C99-based-standards] (PRIoLEAST64): Likewise.
27672 [C99-based-standards] (PRIuLEAST64): Likewise.
27673 [C99-based-standards] (PRIxLEAST64): Likewise.
27674 [C99-based-standards] (PRIXLEAST64): Likewise.
27675 [C99-based-standards] (SCNdLEAST64): Likewise.
27676 [C99-based-standards] (SCNiLEAST64): Likewise.
27677 [C99-based-standards] (SCNoLEAST64): Likewise.
27678 [C99-based-standards] (SCNuLEAST64): Likewise.
27679 [C99-based-standards] (SCNxLEAST64): Likewise.
27680 [C99-based-standards] (PRIdFAST64): Likewise.
27681 [C99-based-standards] (PRIiFAST64): Likewise.
27682 [C99-based-standards] (PRIoFAST64): Likewise.
27683 [C99-based-standards] (PRIuFAST64): Likewise.
27684 [C99-based-standards] (PRIxFAST64): Likewise.
27685 [C99-based-standards] (PRIXFAST64): Likewise.
27686 [C99-based-standards] (SCNdFAST64): Likewise.
27687 [C99-based-standards] (SCNiFAST64): Likewise.
27688 [C99-based-standards] (SCNoFAST64): Likewise.
27689 [C99-based-standards] (SCNuFAST64): Likewise.
27690 [C99-based-standards] (SCNxFAST64): Likewise.
27691 [C99-based-standards] (PRIdMAX): Likewise.
27692 [C99-based-standards] (PRIiMAX): Likewise.
27693 [C99-based-standards] (PRIoMAX): Likewise.
27694 [C99-based-standards] (PRIuMAX): Likewise.
27695 [C99-based-standards] (PRIxMAX): Likewise.
27696 [C99-based-standards] (PRIXMAX): Likewise.
27697 [C99-based-standards] (SCNdMAX): Likewise.
27698 [C99-based-standards] (SCNiMAX): Likewise.
27699 [C99-based-standards] (SCNoMAX): Likewise.
27700 [C99-based-standards] (SCNuMAX): Likewise.
27701 [C99-based-standards] (SCNxMAX): Likewise.
27702 [C99-based-standards] (PRIdPTR): Likewise.
27703 [C99-based-standards] (PRIiPTR): Likewise.
27704 [C99-based-standards] (PRIoPTR): Likewise.
27705 [C99-based-standards] (PRIuPTR): Likewise.
27706 [C99-based-standards] (PRIxPTR): Likewise.
27707 [C99-based-standards] (PRIXPTR): Likewise.
27708 [C99-based-standards] (SCNdPTR): Likewise.
27709 [C99-based-standards] (SCNiPTR): Likewise.
27710 [C99-based-standards] (SCNoPTR): Likewise.
27711 [C99-based-standards] (SCNuPTR): Likewise.
27712 [C99-based-standards] (SCNxPTR): Likewise.
27713 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27715 * conform/data/stdint.h-data: Update comments to clarify
27717 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27719 [C99-based standards] (INT8_MAX): Likewise.
27720 [C99-based standards] (INT16_MIN): Likewise.
27721 [C99-based standards] (INT16_MAX): Likewise.
27722 [C99-based standards] (INT32_MIN): Likewise.
27723 [C99-based standards] (INT32_MAX): Likewise.
27724 [C99-based standards] (INT64_MIN): Likewise.
27725 [C99-based standards] (INT64_MAX): Likewise.
27726 [C99-based standards] (UINT8_MAX): Likewise.
27727 [C99-based standards] (UINT16_MAX): Likewise.
27728 [C99-based standards] (UINT32_MAX): Likewise.
27729 [C99-based standards] (UINT64_MAX): Likewise.
27730 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27731 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27732 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27733 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27734 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27735 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27736 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27737 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27738 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27739 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27740 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27741 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27742 [C99-based standards] (INT_FAST8_MIN): Likewise.
27743 [C99-based standards] (INT_FAST8_MAX): Likewise.
27744 [C99-based standards] (INT_FAST16_MIN): Likewise.
27745 [C99-based standards] (INT_FAST16_MAX): Likewise.
27746 [C99-based standards] (INT_FAST32_MIN): Likewise.
27747 [C99-based standards] (INT_FAST32_MAX): Likewise.
27748 [C99-based standards] (INT_FAST64_MIN): Likewise.
27749 [C99-based standards] (INT_FAST64_MAX): Likewise.
27750 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27751 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27752 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27753 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27754 [C99-based standards] (INTPTR_MIN): Likewise.
27755 [C99-based standards] (INTPTR_MAX): Likewise.
27756 [C99-based standards] (UINTPTR_MAX): Likewise.
27757 [C99-based standards] (INTMAX_MIN): Likewise.
27758 [C99-based standards] (INTMAX_MAX): Likewise.
27759 [C99-based standards] (UINTMAX_MAX): Likewise.
27760 [C99-based standards] (PTRDIFF_MIN): Likewise.
27761 [C99-based standards] (PTRDIFF_MAX): Likewise.
27762 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27763 [C99-based standards] (SIZE_MAX): Likewise.
27764 [C99-based standards] (WCHAR_MAX): Likewise.
27765 [C99-based standards] (WINT_MAX): Likewise.
27766 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27767 constraint on value.
27768 [C99-based standards] (WCHAR_MIN): Likewise.
27769 [C99-based standards] (WINT_MIN): Likewise.
27770 [C99-based standards] (*_t): Allow.
27771 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27772 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27773 Include math.h-data and complex.h-data. Remove all expectations
27774 of math.h and complex.h contents.
27775 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27777 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27778 (struct tm): Expect tag.
27779 [C99-based-standards] (wcstof): Expect function.
27780 [C99-based-standards] (wcstold): Likewise.
27781 [C99-based-standards] (wcstoll): Likewise.
27782 [C99-based-standards] (wcstoull): Likewise.
27783 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27784 macro-int-constant. Specify type.
27785 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27786 constraint on value.
27787 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27789 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27791 [ISO C standards]: Do not allow headers.
27792 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27793 wcs[abcdefghijklmnopqrstuvwxyz]*.
27794 [ISO C standards] (*_t): Do not allow.
27795 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27797 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27798 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27800 [ISO C standards]: Do not allow headers.
27801 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27802 is[abcdefghijklmnopqrstuvwxyz]*.
27803 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27804 to[abcdefghijklmnopqrstuvwxyz]*.
27805 [ISO C standards] (*_t): Do not allow.
27806 * conform/data/stdalign.h-data: New file.
27807 * conform/data/stdbool.h-data: Likewise.
27808 * conform/data/stdnoreturn.h-data: Likewise.
27810 2012-11-07 Roland McGrath <roland@hack.frob.com>
27813 * manual/filesys.texi (Directory Entries): Typo fix.
27814 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27816 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27818 * elf/elf.h (EM_AARCH64): New macro.
27819 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27820 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27821 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27822 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27823 (R_AARCH64_TLSDESC): Likewise.
27824 (NT_ARM_TLS): Likewise.
27825 (NT_ARM_HW_BREAK): Likewise.
27826 (NT_ARM_HW_WATCH): Likewise.
27828 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27831 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27832 (__ieee754_powl): Saturate nonzero exponents with absolute value
27833 below 0x1p-79 to +/- 0x1p-79.
27834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27835 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27836 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27837 nonzero exponents with absolute value below 0x1p-32 to +/-
27839 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27840 (__ieee754_powl): Saturate nonzero exponents with absolute value
27841 below 0x1p-79 to +/- 0x1p-79.
27842 * math/libm-test.inc (pow_test): Add more tests.
27844 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27846 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27847 _dl_s390_cap_flags with kernel. Increase string length.
27848 (_dl_s390_platforms): Add z196 and zEC12.
27850 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27852 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27853 Change XOPEN21K to XOPEN2K.
27855 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27857 * string/memmove.c: Use memcpy when possible.
27859 2012-11-06 Andreas Jaeger <aj@suse.de>
27861 * po/eo.po: Update from translation team.
27863 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27867 exponent and small x and y exponents, scale x or y up. Increase
27868 by 2 the exponent used in scaling up.
27869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27871 * math/libm-test.inc (fma_test): Add more tests.
27872 (fma_test_towardzero): Likewise.
27873 (fma_test_downward): Likewise.
27874 (fma_test_upward): Likewise.
27876 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27879 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27883 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27884 namespace for names of struct fields.
27885 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27887 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27888 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27890 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27893 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27895 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27897 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27901 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27904 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27908 definitely overflow as x * y not x * y + z.
27909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27911 * math/libm-test.inc (fma_test): Add more tests.
27912 (fma_test_towardzero): Likewise.
27913 (fma_test_downward): Likewise.
27914 (fma_test_upward): Likewise.
27916 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27920 * include/stub-tag.h: Remove file.
27921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27923 * manual/maint.texi (Porting): Don't reference it.
27924 * Makerules ($(objpfx)stubs): Likewise.
27925 * dirent/closedir.c: Don't include <stub-tag.h>.
27926 * dirent/dirfd.c: Likewise.
27927 * dirent/fdopendir.c: Likewise.
27928 * dirent/getdents.c: Likewise.
27929 * dirent/getdents64.c: Likewise.
27930 * dirent/opendir.c: Likewise.
27931 * dirent/readdir.c: Likewise.
27932 * dirent/readdir64.c: Likewise.
27933 * dirent/readdir64_r.c: Likewise.
27934 * dirent/readdir_r.c: Likewise.
27935 * dirent/rewinddir.c: Likewise.
27936 * dirent/seekdir.c: Likewise.
27937 * dirent/telldir.c: Likewise.
27938 * gmon/profil.c: Likewise.
27939 * grp/setgroups.c: Likewise.
27940 * inet/if_index.c: Likewise.
27941 * io/access.c: Likewise.
27942 * io/chdir.c: Likewise.
27943 * io/chmod.c: Likewise.
27944 * io/chown.c: Likewise.
27945 * io/close.c: Likewise.
27946 * io/dup.c: Likewise.
27947 * io/dup2.c: Likewise.
27948 * io/dup3.c: Likewise.
27949 * io/euidaccess.c: Likewise.
27950 * io/faccessat.c: Likewise.
27951 * io/fchdir.c: Likewise.
27952 * io/fchmod.c: Likewise.
27953 * io/fchmodat.c: Likewise.
27954 * io/fchown.c: Likewise.
27955 * io/fchownat.c: Likewise.
27956 * io/fcntl.c: Likewise.
27957 * io/flock.c: Likewise.
27958 * io/fstatfs.c: Likewise.
27959 * io/fstatfs64.c: Likewise.
27960 * io/fstatvfs.c: Likewise.
27961 * io/fstatvfs64.c: Likewise.
27962 * io/futimens.c: Likewise.
27963 * io/fxstat.c: Likewise.
27964 * io/fxstat64.c: Likewise.
27965 * io/fxstatat.c: Likewise.
27966 * io/fxstatat64.c: Likewise.
27967 * io/getcwd.c: Likewise.
27968 * io/isatty.c: Likewise.
27969 * io/lchmod.c: Likewise.
27970 * io/lchown.c: Likewise.
27971 * io/link.c: Likewise.
27972 * io/linkat.c: Likewise.
27973 * io/lseek.c: Likewise.
27974 * io/lseek64.c: Likewise.
27975 * io/lxstat64.c: Likewise.
27976 * io/mkdir.c: Likewise.
27977 * io/mkdirat.c: Likewise.
27978 * io/mkfifo.c: Likewise.
27979 * io/mkfifoat.c: Likewise.
27980 * io/open.c: Likewise.
27981 * io/open64.c: Likewise.
27982 * io/openat.c: Likewise.
27983 * io/openat64.c: Likewise.
27984 * io/pipe.c: Likewise.
27985 * io/pipe2.c: Likewise.
27986 * io/poll.c: Likewise.
27987 * io/posix_fadvise.c: Likewise.
27988 * io/posix_fadvise64.c: Likewise.
27989 * io/posix_fallocate.c: Likewise.
27990 * io/posix_fallocate64.c: Likewise.
27991 * io/read.c: Likewise.
27992 * io/readlink.c: Likewise.
27993 * io/readlinkat.c: Likewise.
27994 * io/rmdir.c: Likewise.
27995 * io/sendfile.c: Likewise.
27996 * io/sendfile64.c: Likewise.
27997 * io/statfs.c: Likewise.
27998 * io/statfs64.c: Likewise.
27999 * io/statvfs.c: Likewise.
28000 * io/statvfs64.c: Likewise.
28001 * io/symlink.c: Likewise.
28002 * io/symlinkat.c: Likewise.
28003 * io/ttyname.c: Likewise.
28004 * io/ttyname_r.c: Likewise.
28005 * io/umask.c: Likewise.
28006 * io/unlink.c: Likewise.
28007 * io/unlinkat.c: Likewise.
28008 * io/utime.c: Likewise.
28009 * io/utimensat.c: Likewise.
28010 * io/write.c: Likewise.
28011 * io/xmknod.c: Likewise.
28012 * io/xmknodat.c: Likewise.
28013 * io/xstat.c: Likewise.
28014 * io/xstat64.c: Likewise.
28015 * login/getpt.c: Likewise.
28016 * login/grantpt.c: Likewise.
28017 * login/unlockpt.c: Likewise.
28018 * math/e_acoshl.c: Likewise.
28019 * math/e_acosl.c: Likewise.
28020 * math/e_asinl.c: Likewise.
28021 * math/e_atan2l.c: Likewise.
28022 * math/e_atanhl.c: Likewise.
28023 * math/e_coshl.c: Likewise.
28024 * math/e_expl.c: Likewise.
28025 * math/e_fmodl.c: Likewise.
28026 * math/e_gammal_r.c: Likewise.
28027 * math/e_hypotl.c: Likewise.
28028 * math/e_j0l.c: Likewise.
28029 * math/e_j1l.c: Likewise.
28030 * math/e_jnl.c: Likewise.
28031 * math/e_lgammal_r.c: Likewise.
28032 * math/e_log10l.c: Likewise.
28033 * math/e_log2l.c: Likewise.
28034 * math/e_logl.c: Likewise.
28035 * math/e_powl.c: Likewise.
28036 * math/e_rem_pio2l.c: Likewise.
28037 * math/e_sinhl.c: Likewise.
28038 * math/e_sqrtl.c: Likewise.
28039 * math/fclrexcpt.c: Likewise.
28040 * math/fedisblxcpt.c: Likewise.
28041 * math/feenablxcpt.c: Likewise.
28042 * math/fegetenv.c: Likewise.
28043 * math/fegetexcept.c: Likewise.
28044 * math/fegetround.c: Likewise.
28045 * math/feholdexcpt.c: Likewise.
28046 * math/fesetenv.c: Likewise.
28047 * math/fesetround.c: Likewise.
28048 * math/feupdateenv.c: Likewise.
28049 * math/fgetexcptflg.c: Likewise.
28050 * math/fraiseexcpt.c: Likewise.
28051 * math/fsetexcptflg.c: Likewise.
28052 * math/ftestexcept.c: Likewise.
28053 * math/k_cosl.c: Likewise.
28054 * math/k_rem_pio2l.c: Likewise.
28055 * math/k_sinl.c: Likewise.
28056 * math/k_tanl.c: Likewise.
28057 * math/s_asinhl.c: Likewise.
28058 * math/s_atanl.c: Likewise.
28059 * math/s_cbrtl.c: Likewise.
28060 * math/s_erfl.c: Likewise.
28061 * math/s_expm1l.c: Likewise.
28062 * math/s_log1pl.c: Likewise.
28063 * math/s_tanhl.c: Likewise.
28064 * misc/acct.c: Likewise.
28065 * misc/brk.c: Likewise.
28066 * misc/chflags.c: Likewise.
28067 * misc/chroot.c: Likewise.
28068 * misc/fchflags.c: Likewise.
28069 * misc/fgetxattr.c: Likewise.
28070 * misc/flistxattr.c: Likewise.
28071 * misc/fremovexattr.c: Likewise.
28072 * misc/fsetxattr.c: Likewise.
28073 * misc/fsync.c: Likewise.
28074 * misc/ftruncate.c: Likewise.
28075 * misc/futimes.c: Likewise.
28076 * misc/futimesat.c: Likewise.
28077 * misc/getdomain.c: Likewise.
28078 * misc/getdtsz.c: Likewise.
28079 * misc/gethostid.c: Likewise.
28080 * misc/gethostname.c: Likewise.
28081 * misc/getloadavg.c: Likewise.
28082 * misc/getpagesize.c: Likewise.
28083 * misc/getsysstats.c: Likewise.
28084 * misc/getxattr.c: Likewise.
28085 * misc/gtty.c: Likewise.
28086 * misc/ioctl.c: Likewise.
28087 * misc/lgetxattr.c: Likewise.
28088 * misc/listxattr.c: Likewise.
28089 * misc/llistxattr.c: Likewise.
28090 * misc/lremovexattr.c: Likewise.
28091 * misc/lsetxattr.c: Likewise.
28092 * misc/lutimes.c: Likewise.
28093 * misc/madvise.c: Likewise.
28094 * misc/mincore.c: Likewise.
28095 * misc/mlock.c: Likewise.
28096 * misc/mlockall.c: Likewise.
28097 * misc/mmap.c: Likewise.
28098 * misc/mprotect.c: Likewise.
28099 * misc/msync.c: Likewise.
28100 * misc/munlock.c: Likewise.
28101 * misc/munlockall.c: Likewise.
28102 * misc/munmap.c: Likewise.
28103 * misc/preadv.c: Likewise.
28104 * misc/preadv64.c: Likewise.
28105 * misc/ptrace.c: Likewise.
28106 * misc/pwritev.c: Likewise.
28107 * misc/pwritev64.c: Likewise.
28108 * misc/readv.c: Likewise.
28109 * misc/reboot.c: Likewise.
28110 * misc/remap_file_pages.c: Likewise.
28111 * misc/removexattr.c: Likewise.
28112 * misc/revoke.c: Likewise.
28113 * misc/select.c: Likewise.
28114 * misc/setdomain.c: Likewise.
28115 * misc/setegid.c: Likewise.
28116 * misc/seteuid.c: Likewise.
28117 * misc/sethostid.c: Likewise.
28118 * misc/sethostname.c: Likewise.
28119 * misc/setregid.c: Likewise.
28120 * misc/setreuid.c: Likewise.
28121 * misc/setxattr.c: Likewise.
28122 * misc/sstk.c: Likewise.
28123 * misc/stty.c: Likewise.
28124 * misc/swapoff.c: Likewise.
28125 * misc/swapon.c: Likewise.
28126 * misc/sync.c: Likewise.
28127 * misc/syncfs.c: Likewise.
28128 * misc/syscall.c: Likewise.
28129 * misc/truncate.c: Likewise.
28130 * misc/ualarm.c: Likewise.
28131 * misc/usleep.c: Likewise.
28132 * misc/ustat.c: Likewise.
28133 * misc/utimes.c: Likewise.
28134 * misc/vhangup.c: Likewise.
28135 * misc/writev.c: Likewise.
28136 * posix/_exit.c: Likewise.
28137 * posix/alarm.c: Likewise.
28138 * posix/execve.c: Likewise.
28139 * posix/fexecve.c: Likewise.
28140 * posix/fork.c: Likewise.
28141 * posix/fpathconf.c: Likewise.
28142 * posix/getaddrinfo.c: Likewise.
28143 * posix/getegid.c: Likewise.
28144 * posix/geteuid.c: Likewise.
28145 * posix/getgid.c: Likewise.
28146 * posix/getgroups.c: Likewise.
28147 * posix/getlogin.c: Likewise.
28148 * posix/getlogin_r.c: Likewise.
28149 * posix/getpgid.c: Likewise.
28150 * posix/getpid.c: Likewise.
28151 * posix/getppid.c: Likewise.
28152 * posix/getresgid.c: Likewise.
28153 * posix/getresuid.c: Likewise.
28154 * posix/getsid.c: Likewise.
28155 * posix/getuid.c: Likewise.
28156 * posix/glob64.c: Likewise.
28157 * posix/nanosleep.c: Likewise.
28158 * posix/pathconf.c: Likewise.
28159 * posix/pause.c: Likewise.
28160 * posix/posix_madvise.c: Likewise.
28161 * posix/pread.c: Likewise.
28162 * posix/pread64.c: Likewise.
28163 * posix/pwrite.c: Likewise.
28164 * posix/pwrite64.c: Likewise.
28165 * posix/sched_getaffinity.c: Likewise.
28166 * posix/sched_getp.c: Likewise.
28167 * posix/sched_gets.c: Likewise.
28168 * posix/sched_primax.c: Likewise.
28169 * posix/sched_primin.c: Likewise.
28170 * posix/sched_rr_gi.c: Likewise.
28171 * posix/sched_setaffinity.c: Likewise.
28172 * posix/sched_setp.c: Likewise.
28173 * posix/sched_sets.c: Likewise.
28174 * posix/sched_yield.c: Likewise.
28175 * posix/setgid.c: Likewise.
28176 * posix/setlogin.c: Likewise.
28177 * posix/setpgid.c: Likewise.
28178 * posix/setresgid.c: Likewise.
28179 * posix/setresuid.c: Likewise.
28180 * posix/setsid.c: Likewise.
28181 * posix/setuid.c: Likewise.
28182 * posix/sleep.c: Likewise.
28183 * posix/spawni.c: Likewise.
28184 * posix/sysconf.c: Likewise.
28185 * posix/times.c: Likewise.
28186 * posix/wait.c: Likewise.
28187 * posix/wait3.c: Likewise.
28188 * posix/wait4.c: Likewise.
28189 * posix/waitpid.c: Likewise.
28190 * resolv/gai_sigqueue.c: Likewise.
28191 * resource/getpriority.c: Likewise.
28192 * resource/getrlimit.c: Likewise.
28193 * resource/getrusage.c: Likewise.
28194 * resource/nice.c: Likewise.
28195 * resource/setpriority.c: Likewise.
28196 * resource/setrlimit.c: Likewise.
28197 * resource/ulimit.c: Likewise.
28198 * rt/aio_cancel.c: Likewise.
28199 * rt/aio_fsync.c: Likewise.
28200 * rt/aio_read.c: Likewise.
28201 * rt/aio_sigqueue.c: Likewise.
28202 * rt/aio_suspend.c: Likewise.
28203 * rt/aio_write.c: Likewise.
28204 * rt/clock_getres.c: Likewise.
28205 * rt/clock_gettime.c: Likewise.
28206 * rt/clock_nanosleep.c: Likewise.
28207 * rt/clock_settime.c: Likewise.
28208 * rt/lio_listio.c: Likewise.
28209 * rt/mq_close.c: Likewise.
28210 * rt/mq_getattr.c: Likewise.
28211 * rt/mq_notify.c: Likewise.
28212 * rt/mq_open.c: Likewise.
28213 * rt/mq_receive.c: Likewise.
28214 * rt/mq_send.c: Likewise.
28215 * rt/mq_setattr.c: Likewise.
28216 * rt/mq_timedreceive.c: Likewise.
28217 * rt/mq_timedsend.c: Likewise.
28218 * rt/mq_unlink.c: Likewise.
28219 * rt/shm_open.c: Likewise.
28220 * rt/shm_unlink.c: Likewise.
28221 * rt/timer_create.c: Likewise.
28222 * rt/timer_delete.c: Likewise.
28223 * rt/timer_getoverr.c: Likewise.
28224 * rt/timer_gettime.c: Likewise.
28225 * rt/timer_settime.c: Likewise.
28226 * setjmp/__longjmp.c: Likewise.
28227 * setjmp/setjmp.c: Likewise.
28228 * signal/kill.c: Likewise.
28229 * signal/killpg.c: Likewise.
28230 * signal/raise.c: Likewise.
28231 * signal/sigaction.c: Likewise.
28232 * signal/sigaltstack.c: Likewise.
28233 * signal/sigblock.c: Likewise.
28234 * signal/sigignore.c: Likewise.
28235 * signal/sigintr.c: Likewise.
28236 * signal/signal.c: Likewise.
28237 * signal/sigpause.c: Likewise.
28238 * signal/sigpending.c: Likewise.
28239 * signal/sigqueue.c: Likewise.
28240 * signal/sigreturn.c: Likewise.
28241 * signal/sigset.c: Likewise.
28242 * signal/sigsetmask.c: Likewise.
28243 * signal/sigstack.c: Likewise.
28244 * signal/sigsuspend.c: Likewise.
28245 * signal/sigtimedwait.c: Likewise.
28246 * signal/sigvec.c: Likewise.
28247 * signal/sigwait.c: Likewise.
28248 * signal/sigwaitinfo.c: Likewise.
28249 * signal/sysv_signal.c: Likewise.
28250 * socket/accept.c: Likewise.
28251 * socket/accept4.c: Likewise.
28252 * socket/bind.c: Likewise.
28253 * socket/connect.c: Likewise.
28254 * socket/getpeername.c: Likewise.
28255 * socket/getsockname.c: Likewise.
28256 * socket/getsockopt.c: Likewise.
28257 * socket/isfdtype.c: Likewise.
28258 * socket/listen.c: Likewise.
28259 * socket/recv.c: Likewise.
28260 * socket/recvfrom.c: Likewise.
28261 * socket/recvmsg.c: Likewise.
28262 * socket/send.c: Likewise.
28263 * socket/sendmsg.c: Likewise.
28264 * socket/sendto.c: Likewise.
28265 * socket/setsockopt.c: Likewise.
28266 * socket/shutdown.c: Likewise.
28267 * socket/sockatmark.c: Likewise.
28268 * socket/socket.c: Likewise.
28269 * socket/socketpair.c: Likewise.
28270 * stdio-common/ctermid.c: Likewise.
28271 * stdio-common/cuserid.c: Likewise.
28272 * stdio-common/remove.c: Likewise.
28273 * stdio-common/rename.c: Likewise.
28274 * stdio-common/renameat.c: Likewise.
28275 * stdio-common/tempname.c: Likewise.
28276 * stdlib/getcontext.c: Likewise.
28277 * stdlib/makecontext.c: Likewise.
28278 * stdlib/setcontext.c: Likewise.
28279 * stdlib/swapcontext.c: Likewise.
28280 * stdlib/system.c: Likewise.
28281 * streams/fattach.c: Likewise.
28282 * streams/fdetach.c: Likewise.
28283 * streams/getmsg.c: Likewise.
28284 * streams/getpmsg.c: Likewise.
28285 * streams/putmsg.c: Likewise.
28286 * streams/putpmsg.c: Likewise.
28287 * sysdeps/unix/bsd/getpt.c: Likewise.
28288 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28289 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28290 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28293 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28294 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28295 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28296 * sysvipc/msgctl.c: Likewise.
28297 * sysvipc/msgget.c: Likewise.
28298 * sysvipc/msgrcv.c: Likewise.
28299 * sysvipc/msgsnd.c: Likewise.
28300 * sysvipc/semctl.c: Likewise.
28301 * sysvipc/semget.c: Likewise.
28302 * sysvipc/semop.c: Likewise.
28303 * sysvipc/semtimedop.c: Likewise.
28304 * sysvipc/shmat.c: Likewise.
28305 * sysvipc/shmctl.c: Likewise.
28306 * sysvipc/shmdt.c: Likewise.
28307 * sysvipc/shmget.c: Likewise.
28308 * termios/tcdrain.c: Likewise.
28309 * termios/tcflow.c: Likewise.
28310 * termios/tcflush.c: Likewise.
28311 * termios/tcgetattr.c: Likewise.
28312 * termios/tcgetpgrp.c: Likewise.
28313 * termios/tcsendbrk.c: Likewise.
28314 * termios/tcsetattr.c: Likewise.
28315 * termios/tcsetpgrp.c: Likewise.
28316 * time/adjtime.c: Likewise.
28317 * time/clock.c: Likewise.
28318 * time/getitimer.c: Likewise.
28319 * time/gettimeofday.c: Likewise.
28320 * time/setitimer.c: Likewise.
28321 * time/settimeofday.c: Likewise.
28322 * time/stime.c: Likewise.
28323 * time/time.c: Likewise.
28325 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28327 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28330 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28332 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28334 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28338 FE_TONEAREST before applying Dekker multiplication and Knuth
28339 addition. Clear inexact exceptions and check for exact zero
28340 results afterwards.
28341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28344 * math/libm-test.inc (fma_test): Add more tests.
28345 (fma_test_towardzero): Likewise.
28346 (fma_test_downward): Likewise.
28347 (fma_test_upward): Likewise.
28348 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28350 (libc_fesetround): New macro.
28351 (libc_fesetroundf): Likewise.
28352 (libc_fesetroundl): Likewise.
28353 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28355 (libc_fesetround_387): Likewise.
28356 (libc_fesetroundf): New macro.
28357 (libc_fesetround): Likewise.
28358 (libc_fesetroundl): Likewise.
28359 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28361 (libc_fesetroundf): New macro.
28362 (libc_fesetround): Likewise.
28363 (libc_fesetroundl): Likewise.
28364 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28365 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28366 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28368 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28369 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28371 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28372 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28374 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28378 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28379 integer constant usable in #if and use that to give value to enum
28381 (FE_DIVBYZERO): Likewise.
28382 (FE_UNDERFLOW): Likewise.
28383 (FE_OVERFLOW): Likewise.
28384 (FE_INVALID): Likewise.
28385 (FE_INVALID_SNAN): Likewise.
28386 (FE_INVALID_ISI): Likewise.
28387 (FE_INVALID_IDI): Likewise.
28388 (FE_INVALID_ZDZ): Likewise.
28389 (FE_INVALID_IMZ): Likewise.
28390 (FE_INVALID_COMPARE): Likewise.
28391 (FE_INVALID_SOFTWARE): Likewise.
28392 (FE_INVALID_SQRT): Likewise.
28393 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28394 (FE_TONEAREST): Likewise.
28395 (FE_TOWARDZERO): Likewise.
28396 (FE_UPWARD): Likewise.
28397 (FE_DOWNWARD): Likewise.
28398 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28399 (FE_DIVBYZERO): Likewise.
28400 (FE_OVERFLOW): Likewise.
28401 (FE_UNDERFLOW): Likewise.
28402 (FE_INEXACT): Likewise.
28403 (FE_TONEAREST): Likewise.
28404 (FE_DOWNWARD): Likewise.
28405 (FE_UPWARD): Likewise.
28406 (FE_TOWARDZERO): Likewise.
28407 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28408 (FE_UNDERFLOW): Likewise.
28409 (FE_OVERFLOW): Likewise.
28410 (FE_DIVBYZERO): Likewise.
28411 (FE_INVALID): Likewise.
28412 (FE_TONEAREST): Likewise.
28413 (FE_TOWARDZERO): Likewise.
28414 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28415 (FE_OVERFLOW): Likewise.
28416 (FE_UNDERFLOW): Likewise.
28417 (FE_DIVBYZERO): Likewise.
28418 (FE_INEXACT): Likewise.
28419 (FE_TONEAREST): Likewise.
28420 (FE_TOWARDZERO): Likewise.
28421 (FE_UPWARD): Likewise.
28422 (FE_DOWNWARD): Likewise.
28423 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28424 (FE_DIVBYZERO): Likewise.
28425 (FE_OVERFLOW): Likewise.
28426 (FE_UNDERFLOW): Likewise.
28427 (FE_INEXACT): Likewise.
28428 (FE_TONEAREST): Likewise.
28429 (FE_DOWNWARD): Likewise.
28430 (FE_UPWARD): Likewise.
28431 (FE_TOWARDZERO): Likewise.
28433 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28435 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28437 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28439 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28440 commands. Quote $PWD.
28441 (blacklist_exports): Don't use remove_newlines. Replace "declare
28443 (remove_newlines): Remove.
28445 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28447 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28448 * stdlib/stdlib.h (atof): Moved to ...
28449 * include/bits/stdlib-float.h: Here. New file.
28450 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28451 * stdlib/bits/stdlib-float.h: New file.
28452 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28457 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28459 * conform/conformtest.pl (@headers): Add fenv.h.
28460 * conform/data/fenv.h-data: New file.
28461 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28462 include of <math/fenv.h>.
28464 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28465 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28466 && !UNIX98]. Enables tests for XOPEN2K8.
28467 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28468 POSIX2008]: Likewise.
28470 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28471 (struct rusage): Do not expect type or its members.
28474 * math/math.h (FP_NAN): Define macro to integer constant usable in
28475 #if and use that to give value to enum constant.
28476 (FP_INFINITE): Likewise.
28477 (FP_ZERO): Likewise.
28478 (FP_SUBNORMAL): Likewise.
28479 (FP_NORMAL): Likewise.
28481 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28483 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28484 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28487 2012-11-02 Roland McGrath <roland@hack.frob.com>
28489 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28490 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28491 autoconf-time if not.
28492 * configure.in: Remove AC_PREREQ.
28494 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28496 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28497 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28498 of the internal implementation.
28500 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28502 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28503 except include of <misc/sys/syslog.h>.
28505 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28508 function returns with a NULL context exit with zero.
28510 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28512 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28514 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28516 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28517 (run_program_cmd): This.
28518 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28519 (tst_langinfo): New variable. Use it.
28521 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28523 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28524 floating point opcodes.
28526 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28528 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28531 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28533 * sysdeps/mach/hurd/powerpc: Remove directory.
28534 * sysdeps/mach/powerpc: Likewise.
28536 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28538 * scripts/check-local-headers.sh: Ignore c++ headers.
28540 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28542 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28543 __libc_cleanup_region_start argument.
28545 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28550 x * y using scaling, not as x * y + z.
28551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28553 * math/libm-test.inc (fma_test): Add more tests.
28554 (fma_test_towardzero): Likewise.
28555 (fma_test_downward): Likewise.
28556 (fma_test_upward): Likewise.
28558 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28560 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28562 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28564 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28567 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28569 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28571 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28578 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28581 Fix the order of the list for glibc 2.17.
28582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28585 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28589 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28593 for low part of x being zero before using __atanl (y).
28594 * math/libm-test.inc (atan2_test): Add another test.
28596 * manual/install.texi (Configuring and compiling): Document
28597 general use of test-wrapper and test-wrapper-env.
28598 * INSTALL: Regenerated.
28600 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28601 (__fma): Do not extract and scale down low bits on after-rounding
28602 systems when result rounded to normal precision would have normal
28604 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28605 (__fmal): Do not extract and scale down low bits on after-rounding
28606 systems when result rounded to normal precision would have normal
28608 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28609 (__fmal): Do not extract and scale down low bits on after-rounding
28610 systems when result rounded to normal precision would have normal
28612 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28614 (fma_test): Add more tests.
28615 (fma_test_towardzero): Likewise.
28616 (fma_test_downward): Likewise.
28617 (fma_test_upward): Likewise.
28619 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28621 * sysdeps/i386/tininess.h: Renamed to ...
28622 * sysdeps/x86/tininess.h: This.
28623 * sysdeps/x86_64/tininess.h: Removed.
28625 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28627 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28628 input. Use $(build-program-cmd).
28629 ($(objpfx)tst-array1-static.out): Likewise.
28630 ($(objpfx)tst-array2.out): Likewise.
28631 ($(objpfx)tst-array3.out): Likewise.
28632 ($(objpfx)tst-array4.out): Likewise.
28633 ($(objpfx)tst-array5.out): Likewise.
28634 ($(objpfx)tst-array5-static.out): Likewise.
28636 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28638 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28641 * nss/nsswitch.h (nss_interface_function): Provide new
28642 macro for use with NSS functions.
28643 * grp/initgroups.c: Use new macro.
28644 * nss/getXXbyYY.c: Likewise.
28645 * nss/getXXbyYY_r.c: Likewise.
28646 * nss/getXXent.c: Likewise.
28647 * nss/getXXent_r.c: Likewise.
28648 * sysdeps/posix/getaddrinfo.c: Likewise.
28650 2012-10-30 Andreas Jaeger <aj@suse.de>
28652 * po/ru.po: Update Russion translation from translation project.
28654 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28659 result and shift together with sticky bit instead of replicating
28660 round-to-nearest rounding.
28661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28663 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28664 missing underflow exceptions.
28665 (fma_test_towardzero): Add more tests.
28666 (fma_test_downward): Likewise.
28667 (fma_test_upward): Likewise.
28670 * sysdeps/generic/tininess.h: New file.
28671 * sysdeps/i386/tininess.h: Likewise.
28672 * sysdeps/sh/tininess.h: Likewise.
28673 * sysdeps/x86_64/tininess.h: Likewise.
28674 * stdlib/tst-strtod-underflow.c: Likewise.
28675 * stdlib/tst-tininess.c: Likewise.
28676 * stdlib/strtod_l.c: Include <tininess.h>.
28677 (round_and_return): Do not set errno for exact underflow cases.
28678 Force an underflow exception when setting errno for underflow.
28679 Determine underflow based on rounding to normal precision if
28680 TININESS_AFTER_ROUNDING.
28681 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28682 ERANGE for exact underflow cases.
28683 * stdlib/Makefile (tests): Add tst-tininess and
28684 tst-strtod-underflow.
28685 ($(objpfx)tst-tininess): Use $(link-libm).
28686 ($(objpfx)tst-strtod-underflow): Likewise.
28688 2012-10-30 Andreas Jaeger <aj@suse.de>
28691 * elf/Makefile (tests): Remove conditional for have-initfini-array
28692 since this is now always required and the variable does not exist
28694 (tests-static): Likewise.
28695 (modules-names): Likewise.
28697 * po/eo.po: Add Esperanto translation from translation project.
28699 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28700 merged with constructor/destructor.
28701 (init_array): Likewise.
28702 * elf/tst-array2dep.c (fini_array): Likewise.
28703 (init_array): Likewise.
28705 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28707 * manual/message.texi: Delete @cartouche tags.
28709 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28711 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28713 * sysdeps/mach/hurd/fsync.c: Likewise.
28715 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28716 [_POSIX_REALTIME_SIGNALS]: Change condition to
28717 [_POSIX_REALTIME_SIGNALS > 0].
28719 2012-10-27 Andreas Jaeger <aj@suse.de>
28721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28722 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28724 [__WORDSIZE != 64]: Likewise.
28726 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28728 * iconvdata/tst-table.sh: Remove ${SHELL}.
28729 * iconvdata/tst-tables.sh: Likewise.
28731 2012-10-25 David S. Miller <davem@davemloft.net>
28733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28734 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28739 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28740 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28741 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28744 2012-10-25 Roland McGrath <roland@hack.frob.com>
28746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28747 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28750 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28751 Jim Blandy <jimb@codesourcery.com>
28753 * scripts/cross-test-ssh.sh: New file.
28754 * manual/install.texi (Configuring and compiling): Document use of
28756 * INSTALL: Regenerated.
28758 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28760 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28763 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28765 * Makeconfig (run-program-prefix): Fix comment.
28767 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28768 Jim Blandy <jimb@codesourcery.com>
28770 * Makeconfig (test-wrapper): New variable,
28771 (test-wrapper-env): Likewise.
28772 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28773 (run-built-tests): Define to yes.
28774 (run-program-prefix): Use $(test-wrapper).
28775 (built-program-cmd): Likewise.
28776 * Rules (make-test-out): Use $(test-wrapper-env) and
28777 $(host-built-program-cmd).
28778 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28779 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28781 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28782 $(test-wrapper-env) to tst-rtld-load-self.sh.
28783 ($(objpfx)order2.out): Use $(test-wrapper).
28784 ($(objpfx)tst-initorder.out): Likewise.
28785 ($(objpfx)tst-initorder2.out): Likewise.
28786 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28787 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28788 (test_wrapper_env): New variable. Use it to run ld.so.
28789 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28790 Use it to run ld.so.
28791 (test_wrapper_env): Likewise.
28792 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28793 $(test-wrapper) to run-iconv-test.sh.
28794 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28795 (ICONV): Use $test_wrapper.
28796 * posix/Makefile ($(objpfx)globtest.out): Pass
28797 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28798 globtest.sh, not $(run-program-prefix).
28799 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28800 (test_wrapper): Likewise.
28801 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28802 set together with run_via_rtld_prefix.
28803 (run_program_prefix): Define in terms of test_wrapper and
28804 run_via_rtld_prefix.
28806 2012-10-24 Roland McGrath <roland@hack.frob.com>
28808 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28809 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28813 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28814 Declare __clock_getres, __clock_gettime, __clock_settime,
28815 __clock_nanosleep, and __clock_getcpuclockid.
28816 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28817 Remove librt_hidden_def (clock_gettime).
28818 * sysdeps/unix/clock_gettime.c: Likewise.
28819 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28821 * rt/clock_getres.c: Define __clock_getres as an alias.
28822 * sysdeps/posix/clock_getres.c: Likewise.
28823 * rt/clock_settime.c: Define __clock_settime as an alias.
28824 * sysdeps/unix/clock_settime.c: Likewise.
28825 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28826 * sysdeps/unix/clock_nanosleep.c: Likewise.
28827 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28828 * rt/clock-compat.c: New file.
28829 * rt/Makefile (librt-routines): Add clock-compat and move
28830 $(clock-routines) to ...
28831 (routines): ... here, new variable.
28832 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28833 Don't add get_clockfreq here.
28834 * rt/Versions (libc: GLIBC_2.17): New version set.
28835 Add clock_* symbols here.
28836 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28838 (GLIBC_2.17): Add clock_* symbols.
28839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28850 * NEWS: Mention the move.
28852 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28853 Use __open, __read, __close rather than their public counterparts.
28854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28855 (__get_clockfreq_via_cpuinfo): Likewise.
28856 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28857 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28859 * config.h.in (HAVE_IFUNC): New #undef.
28860 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28862 * configure: Regenerated.
28864 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28866 * configure.in: Move READELF check to start of file.
28867 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28868 libc_cv_asm_gnu_indirect_function in the process.
28869 * configure: Regenerated.
28871 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28873 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28874 send the output to /dev/null.
28875 (libc_cv_cc_with_libunwind): Likewise.
28876 (libc_cv_as_noexecstack): Likewise.
28877 * configure: Regenerate.
28879 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28881 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28883 * posix/globtest.sh (TMPDIR): Do not set.
28884 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28885 (testout): Likewise.
28887 2012-10-24 Andreas Jaeger <aj@suse.de>
28889 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28890 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28891 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28892 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28893 posix_fadvise64, posix_fallocate64.
28895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28896 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28897 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28899 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28901 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28904 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28905 <bits/fcntl-linux.h>.
28906 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28909 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28910 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28911 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28912 [__WORDSIZE != 64]: Likewise.
28914 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28916 * Makeconfig (run-built-tests): New variable.
28917 * Rules [$(cross-compiling) = yes]: Change condition to
28918 [$(run-built-tests) = no].
28919 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28920 to [$(run-built-tests) = yes].
28921 * elf/Makefile [$(cross-compiling) = no]: Likewise
28922 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28923 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28924 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28925 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28926 * io/Makefile [$(cross-compiling) = no]: Likewise.
28927 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28928 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28929 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28930 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28931 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28932 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28933 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28934 * string/Makefile [$(cross-compiling) = no]: Likewise.
28936 * posix/Makefile ($(objpfx)globtest.out): Pass
28937 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28938 $(rtld-installed-name).
28939 * posix/globtest.sh (elf_objpfx): Remove variable.
28940 (rtld_installed_name): Likewise.
28941 (library_path): Likewise.
28942 (run_program_prefix): New variable. Use for running globtest
28945 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28946 Joseph Myers <joseph@codesourcery.com>
28948 * Makeconfig (host-built-program-cmd): New variable.
28949 * elf/Makefile (tst-stackguard1-ARGS): Use
28950 $(host-built-program-cmd).
28951 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28952 (tst-spawn-ARGS): Likewise.
28953 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28955 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28956 Jim Blandy <jimb@codesourcery.com>
28958 * Makeconfig (run-via-rtld-prefix): New variable.
28959 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28960 (built-program-cmd): Likewise.
28962 2012-10-22 Andreas Jaeger <aj@suse.de>
28964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28965 __O_RSYNC if it exists, otherwise to O_SYNC.
28967 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28968 Joseph Myers <joseph@codesourcery.com>
28970 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28972 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28974 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28977 2012-10-22 Andreas Jaeger <aj@suse.de>
28979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28984 bits/fcntl-linux.h.
28986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28987 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28994 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28995 Joseph Myers <joseph@codesourcery.com>
28997 * config.make.in (NM): New variable.
28999 2012-10-21 Andreas Jaeger <aj@suse.de>
29001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29002 definitions and declarations that are provided by
29003 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29005 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29008 * elf/Makefile (tests-static): Add tst-leaks1-static.
29009 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29010 ($(objpfx)tst-leaks1-static): New rule.
29011 ($(objpfx)tst-leaks1-static-mem): Likewise.
29012 (tst-leaks1-static-ENV): New macro.
29013 * elf/dl-open.c (dl_open_worker): Check the main application
29014 only if SHARED is defined.
29015 * elf/tst-leaks1-static.c: New file.
29017 2012-10-20 Andreas Jaeger <aj@suse.de>
29019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29020 generic values for Linux.
29021 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29022 and declarations that are provided by <bits/fcntl-linux.h> and
29023 include <bits/fcntl-linux.h>.
29024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29027 2012-10-20 Roland McGrath <roland@hack.frob.com>
29029 * io/fcntl.h: Move include of <bits/types.h> to the top and
29030 include it unconditionally.
29032 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29034 * wcsmbs/Makefile (tests-ifunc): New variable.
29035 (tests): Add $(tests-ifunc).
29036 * wcsmbs/test-wcschr-ifunc.c: New file.
29037 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29038 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29039 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29040 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29041 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29043 * string/Makefile (tests-ifunc): New variable.
29044 (tests): Add $(tests-ifunc).
29045 * string/test-memccpy.c (TEST_NAME): New macro.
29046 * string/test-memchr.c (TEST_NAME): Likewise.
29047 * string/test-memcmp.c (TEST_NAME): Likewise.
29048 * string/test-memcpy.c (TEST_NAME): Likewise.
29049 * string/test-memmem.c (TEST_NAME): Likewise.
29050 * string/test-memmove.c (TEST_NAME): Likewise.
29051 * string/test-memset.c (TEST_NAME): Likewise.
29052 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29053 * string/test-stpcpy.c (TEST_NAME): Likewise.
29054 * string/test-stpncpy.c (TEST_NAME): Likewise.
29055 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29056 * string/test-strcasestr.c (TEST_NAME): Likewise.
29057 * string/test-strcat.c (TEST_NAME): Likewise.
29058 * string/test-strchr.c (TEST_NAME): Likewise.
29059 * string/test-strcmp.c(TEST_NAME): Likewise.
29060 * string/test-strcpy.c (TEST_NAME): Likewise.
29061 * string/test-strcspn.c (TEST_NAME): Likewise.
29062 * string/test-strlen.c (TEST_NAME): Likewise.
29063 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29064 * string/test-strncmp.c (TEST_NAME): Likewise.
29065 * string/test-strncpy.c (TEST_NAME): Likewise.
29066 * string/test-strnlen.c (TEST_NAME): Likewise.
29067 * string/test-strpbrk.c (TEST_NAME): Likewise.
29068 * string/test-strrchr.c (TEST_NAME): Likewise.
29069 * string/test-strspn.c (TEST_NAME): Likewise.
29070 * string/test-strstr.c (TEST_NAME): Likewise.
29071 * string/test-bcopy-ifunc.c: New file.
29072 * string/test-bzero-ifunc.c: Likewise.
29073 * string/test-memccpy-ifunc.c: Likewise.
29074 * string/test-memchr-ifunc.c: Likewise.
29075 * string/test-memcmp-ifunc.c: Likewise.
29076 * string/test-memcpy-ifunc.c: Likewise.
29077 * string/test-memmem-ifunc.c: Likewise.
29078 * string/test-memmove-ifunc.c: Likewise.
29079 * string/test-mempcpy-ifunc.c: Likewise.
29080 * string/test-memset-ifunc.c: Likewise.
29081 * string/test-rawmemchr-ifunc.c: Likewise.
29082 * string/test-stpcpy-ifunc.c: Likewise.
29083 * string/test-stpncpy-ifunc.c: Likewise.
29084 * string/test-strcasecmp-ifunc.c: Likewise.
29085 * string/test-strcasestr-ifunc.c: Likewise.
29086 * string/test-strcat-ifunc.c: Likewise.
29087 * string/test-strchr-ifunc.c: Likewise.
29088 * string/test-strchrnul-ifunc.c: Likewise.
29089 * string/test-strcmp-ifunc.c: Likewise.
29090 * string/test-strcpy-ifunc.c: Likewise.
29091 * string/test-strcspn-ifunc.c: Likewise.
29092 * string/test-strlen-ifunc.c: Likewise.
29093 * string/test-strncasecmp-ifunc.c: Likewise.
29094 * string/test-strncat-ifunc.c: Likewise.
29095 * string/test-strncmp-ifunc.c: Likewise.
29096 * string/test-strncpy-ifunc.c: Likewise.
29097 * string/test-strnlen-ifunc.c: Likewise.
29098 * string/test-strpbrk-ifunc.c: Likewise.
29099 * string/test-strrchr-ifunc.c: Likewise.
29100 * string/test-strspn-ifunc.c: Likewise.
29101 * string/test-strstr-ifunc.c: Likewise.
29103 * debug/Makefile (tests-ifunc): New variable.
29104 (tests): Add $(tests-ifunc).
29105 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29106 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29107 * debug/test-stpcpy_chk-ifunc.c: New file.
29108 * debug/test-strcpy_chk-ifunc.c: Likewise.
29110 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29113 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29114 header is not read in.
29116 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29118 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29119 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29120 directly. Pass built executable to script as
29121 $(built-program-cmd).
29122 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29123 $testprogram without using LD_LIBRARY_PATH and $ldso.
29125 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29126 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29127 $(rtld-installed-name).
29128 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29129 (rtld_installed_name): Likewise.
29130 (library_path): Likewise.
29131 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29132 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29133 $(run-program-prefix) to tst-tables.sh.
29134 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29135 it to run tst-table-from and tst-table-to.
29136 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29137 Pass it to tst-table.sh.
29138 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29139 $(run-program-prefix) to tst-gettext.sh.
29140 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29142 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29144 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29145 to run tst-gettext.
29146 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29147 to run tst-gettext2.
29148 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29149 to run tst-translit.
29150 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29151 $(run-program-prefix) to tst-mtrace.sh.
29152 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29154 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29155 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29156 $(rtld-installed-name).
29157 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29158 (rtld_installed_name): Likewise.
29159 (run_program_prefix): New variable. Use it to run wordexp-test.
29161 * Makeconfig (ARCH): Remove all definitions.
29162 (machine): Likewise.
29163 [ARCH]: Remove conditional code.
29164 [!objdir]: Give error.
29165 [!objdir] (objpfx): Remove.
29166 [!objdir] (common-objpfx): Likewise.
29167 [!objdir] (common-objdir): Likewise.
29168 * configure.in (config_makefile): Remove. Hardcode Makefile in
29169 AC_CONFIG_FILES call.
29170 * configure: Regenerated.
29173 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29175 (testout): Likewise.
29177 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29178 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29179 $(rtld-installed-name).
29180 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29181 (rtld_installed_name): Likwise.
29182 (runit): Remove function.
29183 (run_getconf): New variable, Use it for running getconf binary.
29185 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29188 * string/test-memmem.c (check_result): New function.
29189 (do_one_test): Use it.
29190 (check1): New function.
29191 (test_main): Use it.
29193 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29195 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29197 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29199 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29200 (_G_LSEEK64): Likewise.
29201 (_G_MMAP64): Likewise.
29202 (_G_FSTAT64): Likewise.
29203 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29204 (_G_LSEEK64): Likewise.
29205 (_G_MMAP64): Likewise.
29206 (_G_FSTAT64): Likewise.
29207 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29208 unconditional. Call __mmap64 directly.
29209 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29210 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29211 __lseek64 directly.
29212 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29213 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29215 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29216 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29217 __lseek64 directly.
29218 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29219 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29220 __lseek64 directly.
29221 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29222 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29223 __lseek64 directly.
29224 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29225 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29226 __fxstat64 directly.
29227 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29228 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29230 (freopen64) [!_G_OPEN64]: Remove conditional code.
29231 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29233 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29234 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29236 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29237 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29239 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29240 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29242 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29243 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29245 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29246 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29248 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29249 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29251 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29253 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29256 * manual/memory.texi (Malloc Tunable Parameters): Add note
29257 about free list pointers overwriting some perturb bytes.
29258 Wording suggested by Roland McGrath.
29260 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29262 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29263 (lgamma_test): Likewise.
29264 (tgamma_test): Likewise.
29266 2012-10-16 Florian Weimer <fweimer@redhat.com>
29269 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29270 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29272 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29274 * NEWS: Mention BZ #14716.
29275 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29276 when removing AVAILABLE1_USES_J macro.
29278 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29280 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29281 (__bswap_64): __uint64_t for unsigned 64-bit int.
29283 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29285 * include/string.h (memmem): Declare libc hidden alias.
29286 * string/memmem.c (memmem): Define libc hidden alias.
29287 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29288 __read, __close instead of open, read, close.
29290 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29293 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29295 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29296 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29297 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29299 (__rawmemchr_sse2): Likewise.
29300 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29301 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29302 (__strchr_sse2): Likewise.
29303 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29304 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29305 (__strcasecmp_sse2): Likewise.
29306 (__strncasecmp_sse2): Likewise.
29307 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29308 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29309 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29310 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29311 (__strrchr_sse2): Likewise.
29312 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29314 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29316 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29317 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29318 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29319 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29320 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29321 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29322 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29323 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29324 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29325 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29326 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29327 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29328 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29329 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29330 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29331 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29332 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29333 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29334 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29335 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29336 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29337 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29338 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29340 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29341 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29342 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29343 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29345 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29347 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29348 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29349 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29350 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29352 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29354 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29355 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29356 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29357 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29359 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29363 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29364 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29370 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29386 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29393 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29394 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29395 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29396 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29397 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29398 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29399 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29401 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29402 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29403 * include/ifunc-impl-list.h: New file.
29404 * misc/ifunc-impl-list.c: Likewise.
29405 * misc/Makefile (routines): Add ifunc-impl-list.
29406 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29407 * string/test-string.h: Include <ifunc-impl-list.h>.
29408 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29409 TEST_NAME]: New variables.
29410 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29412 (test_init): Call __libc_ifunc_impl_list to initialize
29413 func_list if TEST_IFUNC and TEST_NAME are defined.
29415 * string/Makefile (strop-tests): Add bcopy and bzero.
29416 * string/test-bcopy.c: New file.
29417 * string/test-bzero.c: Likewise.
29418 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29420 * string/test-memset.c: Support bzero test if TEST_BZERO is
29422 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29424 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29426 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29429 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29431 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29432 * configure: Regenerated.
29434 * Makeconfig (+link-static-before-libc): Don't include
29435 $(link-static-libc).
29437 * libio/libio.h (_IO_pos_t): Remove.
29439 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29441 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29444 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29446 * crypt/crypt-entry.c: Include fips-private.h.
29447 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29448 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29449 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29450 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29452 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29454 * crypt/crypt-private.h: Include stdbool.h.
29455 (_ufc_setup_salt_r): Return bool.
29456 * crypt/crypt-entry.c: Include errno.h.
29457 (__crypt_r): Return NULL with EINVAL for bad salt.
29458 * crypt/crypt_util.c (bad_for_salt): New.
29459 (_ufc_setup_salt_r): Check that salt is long enough and within
29460 the specified alphabet.
29461 * crypt/badsalttest.c: New file.
29462 * crypt/Makefile (tests): Add it.
29463 ($(objpfx)badsalttest): New.
29465 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29467 * NEWS: Add entry for BZ #14602.
29469 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29471 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29473 * math/libm-test.inc: Update comment listing what functions and
29475 (isgreater_test): New function.
29476 (isgreaterequal_test): Likewise.
29477 (isless_test): Likewise.
29478 (islessequal_test): Likewise.
29479 (islessgreater_test): Likewise.
29480 (isunordered_test): Likewise.
29481 (main): Call the new functions.
29483 2012-10-09 Roland McGrath <roland@hack.frob.com>
29485 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29486 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29487 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29488 * sysdeps/i386/configure: Regenerated.
29489 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29490 * sysdeps/mach/configure: Regenerated.
29491 * sysdeps/mach/hurd/configure: Regenerated.
29492 * sysdeps/powerpc/configure: Regenerated.
29493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29494 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29495 * sysdeps/s390/s390-32/configure: Regenerated.
29496 * sysdeps/s390/s390-64/configure: Regenerated.
29497 * sysdeps/sh/configure: Regenerated.
29498 * sysdeps/sparc/configure: Regenerated.
29499 * sysdeps/unix/sysv/linux/configure: Regenerated.
29500 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29501 * sysdeps/x86_64/configure: Regenerated.
29503 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29504 defined. Don't check if MAP is NULL.
29506 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29509 (_G_stat64): Likewise.
29510 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29511 (_G_stat64): Likewise.
29512 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29513 instead of struct _G_stat64.
29514 * libio/fileops.c (mmap_remap_check): Likewise.
29515 (decide_maybe_mmap): Likewise.
29516 (_IO_new_file_seekoff): Likewise.
29517 (_IO_file_stat): Likewise.
29518 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29520 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29521 instead of struct _G_stat64.
29522 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29524 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29527 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29529 (CHECK_EOL): New macro.
29530 (two_way_short_needle): Check beginning of haystack for EOL. Use
29532 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29533 Replace with CHECK_EOL.
29534 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29535 Replace with CHECK_EOL.
29537 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29539 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29541 * math/libm-test.inc: Update comment listing what functions and
29543 (finite_test): New function.
29544 (isinf_test): Likewise.
29545 (isnan_test): Likewise.
29546 (fpclassify_test): Test subnormal input.
29547 (isfinite_test): Likewise.
29548 (isnormal_test): Likewise.
29549 (main): Call the new functions.
29551 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29554 * Makerules (%.dynsym): Force C locale when running
29555 $(OBJDUMP) --dynamic-syms.
29557 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29562 2012-10-06 David S. Miller <davem@davemloft.net>
29564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29565 upper 32-bits of the length value in %o2 since we use branch-on-register
29566 tests which consider the entire 64-bit register.
29568 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29570 * string/test-strstr.c (check2): Add a test for page boundary.
29572 2012-10-05 David S. Miller <davem@davemloft.net>
29574 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29575 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29577 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29580 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29581 and bzero when HWCAP_SPARC_CRYPTO is present.
29583 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29586 * string/test-strstr.c (check2): New function.
29587 (test_main): Call check2.
29589 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29591 * string/bug-strcasestr1.c (do_test): Moved to ...
29592 * string/test-strcasestr.c (check1): Here. New function.
29593 (do_one_test): Break out result checking code into ...
29594 (check_result): This. New function.
29595 (do_one_test): Call check_result.
29596 (test_main): Call check1.
29597 * string/bug-strchr1.c (do_test): Moved to ...
29598 * string/test-strchr.c (check1): Here. New function.
29599 (do_one_test): Break out result checking code into ...
29600 (check_result): This. New function.
29601 (do_one_test): Call check_result.
29602 (test_main): Call check1.
29603 * string/bug-strstr1.c (main): Moved to ...
29604 * string/test-strstr.c (check1): Here. New function.
29605 (do_one_test): Break out result checking code into ...
29606 (check_result): This. New function.
29607 (do_one_test): Call check_result.
29608 (test_main): Call check1.
29609 * string/bug-strcasestr1.c: Removed.
29610 * string/bug-strchr1.c: Likewise.
29611 * string/bug-strstr1.c: Likewise.
29613 * elf/Makefile (dl-routines): Add hwcaps.
29614 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29615 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29616 (_dl_important_hwcaps): Moved to ...
29617 * elf/dl-hwcaps.c: Here. New file.
29618 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29621 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29622 if IS_IN_rtld isn't defined.
29624 * elf/dl-support.c (_dl_sysinfo_map): New.
29625 Include "get-dynamic-info.h" and "setup-vdso.h".
29626 (_dl_non_dynamic_init): Call setup_vdso.
29627 * elf/dynamic-link.h: Don't include <assert.h>.
29628 (elf_get_dynamic_info): Moved to ...
29629 * elf/get-dynamic-info.h: Here. New file.
29630 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29631 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29632 * elf/setup-vdso.h: Here. New file.
29633 * elf/rtld.c: Include "setup-vdso.h".
29634 (dl_main): Call setup_vdso.
29636 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29638 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29639 creal in comment listing functions tested. List finite, isinf,
29640 isnan, isless, islessequal, isgreater, isgreaterequal,
29641 islessgreater, isunordered, lgamma_r and pow10 as functions and
29642 macros not tested. Mention which functions not tested are aliases
29643 for other functions. Fix typo. Note that signs of NaNs are not
29646 * scripts/config.guess: Update from config.git.
29647 * scripts/config.sub: Likewise.
29649 2012-10-04 Roland McGrath <roland@hack.frob.com>
29651 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29652 * misc/madvise.c (madvise): Renamed to __madvise.
29653 Make madvise a weak alias.
29654 * include/sys/mman.h: Declare __madvise.
29655 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29656 * sysdeps/unix/syscalls.list
29657 (madvise): Make __madvise the strong name, and madvise a weak alias.
29658 * sysdeps/unix/sysv/linux/syscalls.list
29659 (madvise, mmap): Remove redundant entries.
29660 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29661 * malloc/malloc.c (mtrim): Likewise.
29662 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29664 2012-10-03 Roland McGrath <roland@hack.frob.com>
29666 * sysdeps/mach/hurd/dl-cache.c: File removed.
29667 * config.h.in (USE_LDCONFIG): New #undef.
29668 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29669 * configure: Regenerated.
29670 * elf/Makefile (dl-routines): Add dl-cache only under
29671 [$(use-ldconfig) = yes].
29672 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29673 cache on [USE_LDCONFIG].
29674 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29676 * elf/rtld.c (dl_main): Likewise.
29678 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29680 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29681 _SC_LEVEL4_CACHE_LINESIZE.
29683 2012-10-03 Roland McGrath <roland@hack.frob.com>
29685 * sysdeps/unix/bsd/confstr.h: File removed.
29687 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29689 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29692 2012-10-02 Roland McGrath <roland@hack.frob.com>
29694 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29695 Make 'mapoff' field ElfW(Off) rather than off_t.
29697 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29699 * nscd/Makefile: Remove nscd-cflags and all its users.
29700 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29701 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29704 * malloc.c (malloc_printerr): Clarify error message.
29706 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29710 Set bit_FMA_Usable if FMA is supported.
29711 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29713 (bit_FMA4_Usable): Updated.
29714 (index_FMA_Usable): New macro.
29715 (CPUID_FMA): Likewise
29716 (HAS_FMA): Defined with bit_FMA_Usable.
29718 2012-10-01 Roland McGrath <roland@hack.frob.com>
29720 * bits/types.h (__swblk_t): Type removed.
29721 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29722 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29724 (__SWBLK_T_TYPE): Likewise.
29725 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29726 (__SWBLK_T_TYPE): Likewise.
29727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29728 (__SWBLK_T_TYPE): Likewise.
29729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29730 (__SWBLK_T_TYPE): Likewise.
29732 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29733 Honza Horak <hhorak@redhat.com>
29735 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29736 (xdr_mapname): Use YPMAXMAP as maxsize.
29737 (xdr_peername): Use YPMAXPEER as maxsize.
29738 (xdr_keydat): Use YPAXRECORD as maxsize.
29739 (xdr_valdat): Use YPMAXRECORD as maxsize.
29741 2012-10-01 Roland McGrath <roland@hack.frob.com>
29743 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29745 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29746 * csu/init-first.c: ... here.
29747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29748 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29750 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29751 * sysdeps/i386/init-first.c: File removed.
29752 * sysdeps/sh/init-first.c: File removed.
29754 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29758 if x * y might underflow to zero and z is zero.
29759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29761 * math/libm-test.inc (min_subnorm_value): New variable.
29762 (fma_test): Add more tests.
29763 (fma_test_towardzero): Likewise.
29764 (fma_test_downward): Likewise
29765 (fma_test_upward): Likewise.
29766 (initialize): Set min_subnorm_value.
29768 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29774 mode for addition resulting in exact zero.
29775 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29780 * math/libm-test.inc (fma_test): Add more tests.
29781 (fma_test_towardzero): New function.
29782 (fma_test_downward): Likewise.
29783 (fma_test_upward): Likewise.
29784 (main): Call the new functions.
29786 2012-09-28 David S. Miller <davem@davemloft.net>
29788 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29790 2012-09-28 Roland McGrath <roland@hack.frob.com>
29792 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29793 instead of SIGALRM.
29795 * sysdeps/gnu/_G_config.h: Moved to ...
29796 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29797 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29798 * sysdeps/generic/_G_config.h: ... here.
29800 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29802 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29804 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29805 Conditionalize target on [libnss_test1.so-version].
29807 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29809 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29810 (elfobjdir): Move out of conditionals.
29812 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29813 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29814 (__nss_lookup_function): Conditionalize label remove_from_tree on
29815 [!DO_STATIC_NSS || SHARED], matching its only use.
29817 2012-09-28 David S. Miller <davem@davemloft.net>
29819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29820 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29822 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29826 when HWCAP_SPARC_CRYPTO is present.
29828 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29830 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29832 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29835 * stdio-common/vfprintf.c (process_string_arg): Revert
29838 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29840 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29842 * stdio-common/tst-sprintf.c: Include <locale.h>
29843 (main): Test sprintf's handling of incomplete multibyte
29846 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29848 * elf/dl-runtime.c (VERSYMIDX): Removed.
29849 * elf/dl-version.c (VERSYMIDX): Likewise.
29850 * elf/do-rel.h (VERSYMIDX): Likewise.
29851 (VALIDX): Likewise.
29852 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29853 * elf/rtld.c (VALIDX): Likewise.
29854 (ADDRIDX): Likewise.
29855 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29856 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29857 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29858 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29859 (VALIDX): Likewise.
29860 (ADDRIDX): Likewise.
29862 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29864 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29866 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29869 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29871 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29872 addresses are in the same scope as 192.0.2/24.
29873 * posix/gai.conf: Document new scope table defaults.
29875 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29878 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29879 for ftell. Compute offsets from write pointers instead.
29880 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29882 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29885 * libio/Makefile (tests): New test case tst-fseek.
29886 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29887 combination works in wide mode.
29888 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29889 state when the external buffer state changes.
29891 2012-09-27 David S. Miller <davem@davemloft.net>
29894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29895 pass reloc->r_addend in as the 'high' argument to
29896 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29900 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29902 * rt/tst-aio2.c: Include <pthread.h>.
29903 * rt/tst-aio3.c: Likewise.
29905 2012-09-27 Steve Ellcey <sellcey@mips.com>
29907 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29909 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29911 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29912 contents on [SHARED].
29914 2012-09-26 Marek Polacek <polacek@redhat.com>
29918 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29919 for C++ and GCC <4.3 as well as for non GCC compilers.
29921 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29925 2012-09-25 Roland McGrath <roland@hack.frob.com>
29927 * Makefile.in (all, install): Declare with .PHONY.
29928 Reported by Michael Hope <michael.hope@linaro.org>.
29930 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29932 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29933 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29935 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29937 (sydep_routines): Add the new and the internal functions.
29938 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29939 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29941 (GLIBC_2.17): Add the new function.
29942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29943 (GLIBC_2.17): Likewise.
29944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29945 (GLIBC_2.17): Likewise.
29946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29947 (GLIBC_2.17): Likewise.
29948 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29950 2012-09-25 Alan Modra <amodra@gmail.com>
29952 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29953 Add release barrier before setting once_control to say
29954 initialisation is done. Add hints on lwarx. Use macro in
29956 (clear_once_control): Add release barrier.
29958 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29961 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29963 * math/s_clog10.c (__clog10): Likewise.
29964 * math/s_clog10f.c (__clog10f): Likewise.
29965 * math/s_clog10l.c (__clog10l): Likewise.
29966 * math/s_clogf.c (__clogf): Likewise.
29967 * math/s_clogl.c (__clogl): Likewise.
29968 * math/Makefile (libm-calls): Add x2y2m1.
29969 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29970 (__x2y2m1): Likewise.
29971 (__x2y2m1l): Likewise.
29972 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29973 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29976 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29977 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29978 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29979 * sysdeps/i386/fpu/libm-test-ulps: Update.
29980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29983 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29984 int as type of variable DEPTH.
29985 (glob): Use size_t instead of int as type of variables NEWCOUNT
29988 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29990 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29991 Add s_sincosf-sse2.
29992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29993 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29994 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29995 macros for using routine as __sincosf_ia32.
29996 Use macro for function declaration and weak_alias.
29997 * sysdeps/i386/fpu/libm-test-ulps: Update.
29999 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30002 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30003 subnormal argument.
30004 * math/s_cexpf.c (__cexpf): Likewise.
30005 * math/s_csinf.c (__csinf): Likewise.
30006 * math/s_csinhf.c (__csinhf): Likewise.
30007 * math/s_ctanf.c (__ctanf): Likewise.
30008 * math/s_ctanhf.c (__ctanhf): Likewise.
30009 * math/s_ccosh.c (__ccoshf): Likewise.
30010 * math/s_cexp.c (__cexpl): Likewise.
30011 * math/s_csin.c (__csin): Likewise.
30012 * math/s_csinh.c (__csinh): Likewise.
30013 * math/s_ctan.c (__ctan): Likewise.
30014 * math/s_ctanh.c (ctanh): Likewise.
30015 * math/s_ccoshl.c (__ccoshl): Likewise.
30016 * math/s_cexpl.c (__cexpl): Likewise.
30017 * math/s_csinl.c (__csinl): Likewise.
30018 * math/s_csinhl.c (__csinhl): Likewise.
30019 * math/s_ctanl.c (__ctanl): Likewise.
30020 * math/s_ctanhl.c (__ctanhl): Likewise.
30022 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30024 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30025 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30026 (_IO_off_t): Define to __off_t, not _G_off_t.
30027 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30028 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30029 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30030 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30031 type of __dummy and __dummy2 fields.
30032 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30033 (_G_ssize_t): Likewise.
30034 (_G_off_t): Likewise.
30035 (_G_pid_t): Likewise.
30036 (_G_uid_t): Likewise.
30037 (_G_wchar_t): Likewise.
30038 (_G_wint_t): Likewise.
30039 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30040 (_G_ssize_t): Likewise.
30041 (_G_off_t): Likewise.
30042 (_G_pid_t): Likewise.
30043 (_G_uid_t): Likewise.
30044 (_G_wchar_t): Likewise.
30045 (_G_wint_t): Likewise.
30046 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30047 (_G_ssize_t): Likewise.
30048 (_G_off_t): Likewise.
30049 (_G_pid_t): Likewise.
30050 (_G_uid_t): Likewise.
30051 (_G_wchar_t): Likewise.
30052 (_G_wint_t): Likewise.
30054 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30056 * malloc/arena.c: Include malloc-sysdep.h.
30057 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30058 is sufficient to shrink the heap or an unmap is needed.
30059 * sysdeps/generic/malloc-sysdep.h: New file. Define
30060 new function check_may_shrink_heap.
30061 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30062 new function check_may_shrink_heap.
30064 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30066 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30069 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30071 * catgets/test-gencat.sh: Add "set -e".
30072 * elf/tst-pathopt.sh: Likewise.
30073 * grp/tst_fgetgrent.sh: Likewise.
30074 * iconvdata/run-iconv-test.sh: Likewise.
30075 * intl/tst-gettext.sh: Likewise.
30076 * intl/tst-gettext2.sh: Likewise.
30077 * intl/tst-gettext4.sh: Likewise.
30078 * intl/tst-gettext6.sh: Likewise.
30079 * intl/tst-translit.sh: Likewise.
30080 * io/ftwtest-sh: Likewise.
30081 * libio/test-freopen.sh: Likewise.
30082 * malloc/tst-mtrace.sh: Likewise.
30083 * posix/globtest.sh: Likewise.
30084 * posix/tst-getconf.sh: Likewise.
30085 * posix/wordexp-tst.sh: Likewise.
30086 * stdio-common/tst-printf.sh: Likewise.
30087 * stdio-common/tst-unbputc.sh: Likewise.
30088 * stdlib/tst-fmtmsg.sh: Likewise.
30089 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30090 * catgets/Makefile: Do not specify -e option when running
30091 testsuite shell scripts.
30092 * elf/Makefile: Likewise.
30093 * grp/Makefile: Likewise.
30094 * iconvdata/Makefile: Likewise.
30095 * intl/Makefile: Likewise.
30096 * io/Makefile: Likewise.
30097 * libio/Makefile: Likewise.
30098 * malloc/Makefile: Likewise.
30099 * posix/Makefile: Likewise.
30100 * stdio-common/Makefile: Likewise.
30101 * stdlib/Makefile: Likewise.
30102 * sysdeps/x86_64/Makefile: Likewise.
30104 * io/ftwtest-sh: Add copyright header.
30105 * posix/globtest.sh: Likewise.
30106 * posix/tst-getconf.sh: Likewise.
30107 * posix/wordexp-tst.sh: Likewise.
30108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30110 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30113 * Makeconfig (+link): Defined as $(+link-static) if
30114 $(build-shared) isn't yes.
30115 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30117 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30119 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30122 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30123 new chunk size with MALLOC_ALIGN_MASK.
30125 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30128 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30130 (__printf_fphex): Determine rounding using get_rounding_mode and
30132 * stdio-common/tst-printf-round.c (struct hex_test): New
30134 (hex_tests): New variable.
30135 (test_hex_in_one_mode): New function.
30136 (do_test): Also run tests for hex float output.
30138 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30140 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30141 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30142 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30143 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30144 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30145 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30146 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30147 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30149 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30151 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30152 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30153 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30154 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30156 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30159 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30161 * elf/tst-rtld-load-self.sh: New test.
30162 * elf/Makefile: Run it.
30164 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30166 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30167 (tst-writev-ENV): Remove.
30168 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30170 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30172 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30174 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30176 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30178 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30180 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30181 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30182 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30185 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30188 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30189 * config.make.in (have-cpp-asm-debuginfo): Removed.
30190 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30191 * configure: Regenerated.
30193 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30196 * stdio-common/printf_fp.c: Include <stdbool.h> and
30198 (___printf_fp): Determine rounding using get_rounding_mode and
30200 * stdio-common/tst-printf-round.c: New file.
30201 * stdio-common/Makefile (tests): Add tst-printf-round.
30202 (link-libm): New variable.
30203 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30205 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30208 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30209 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30211 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30214 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30216 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30217 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30218 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30219 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30221 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30224 * include/rounding-mode.h: New file.
30225 * sysdeps/generic/get-rounding-mode.h: Likewise.
30226 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30227 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30228 (MAX_VALUE): New macro.
30229 (MIN_VALUE): Likewise.
30230 (overflow_value): New function.
30231 (underflow_value): Likewise.
30232 (round_and_return): Use overflow_value and underflow_value to
30233 determine return values in overflow and underflow cases. Use
30234 round_away to determine rounding depending on rounding mode.
30235 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30236 determine return values in overflow and underflow cases.
30237 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30238 (struct test_results): New structure.
30239 (struct test): Use struct test_results to store expected results
30240 for all rounding modes.
30241 (TEST): Include expected results for all rounding modes.
30242 (test_in_one_mode): New function.
30243 (do_test): Use test_in_one_mode to compute and check results.
30244 Check results for all rounding modes.
30245 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30248 2012-12-09 Allan McRae <allan@archlinux.org>
30250 * sysdeps/i386/fpu/libm-test-ulps: Update
30252 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30254 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30255 (_G_int32_t): Likewise.
30256 (_G_uint16_t): Likewise.
30257 (_G_uint32_t): Likewise.
30258 (_G_HAVE_BOOL): Likewise.
30259 (_G_HAVE_ATEXIT): Likewise.
30260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30261 (_G_HAVE_IO_FILE_OPEN): Likewise.
30262 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30263 (_G_int32_t): Likewise.
30264 (_G_uint16_t): Likewise.
30265 (_G_uint32_t): Likewise.
30266 (_G_HAVE_BOOL): Likewise.
30267 (_G_HAVE_ATEXIT): Likewise.
30268 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30269 (_G_HAVE_IO_FILE_OPEN): Likewise.
30270 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30271 (_G_int32_t): Likewise.
30272 (_G_uint16_t): Likewise.
30273 (_G_uint32_t): Likewise.
30274 (_G_HAVE_BOOL): Likewise.
30275 (_G_HAVE_ATEXIT): Likewise.
30276 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30277 (_G_HAVE_IO_FILE_OPEN): Likewise.
30279 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30281 * csu/libc-tls.c: Update copyright years.
30283 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30285 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30286 [!_G_USING_THUNKS]: Remove conditional code.
30287 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30288 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30290 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30291 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30292 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30293 (_G_VTABLE_LABEL_PREFIX): Likewise.
30294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30295 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30296 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30297 (_G_VTABLE_LABEL_PREFIX): Likewise.
30298 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30299 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30300 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30301 (_G_VTABLE_LABEL_PREFIX): Likewise.
30302 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30304 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30306 * libio/Makefile: Include ../Makeconfig before tests.
30307 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30308 only if $(build-shared) is yes.
30310 * iconv/gconv_db.c: Update copyright years.
30312 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30314 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30315 unwind info if defined PIC. Fix special cases description.
30316 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30318 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30320 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30322 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30324 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30326 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30329 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30330 (LDLIBS-tst-chk4): This.
30331 (LDFLAGS-tst-chk5): Renamed to ...
30332 (LDLIBS-tst-chk5): This.
30333 (LDFLAGS-tst-chk6): Renamed to ...
30334 (LDLIBS-tst-chk6): This.
30335 (LDFLAGS-tst-lfschk4): Renamed to ...
30336 (LDLIBS-tst-lfschk4): This.
30337 (LDFLAGS-tst-lfschk5): Renamed to ...
30338 (LDLIBS-tst-lfschk5): This.
30339 (LDFLAGS-tst-lfschk6): Renamed to ...
30340 (LDLIBS-tst-lfschk6): This.
30342 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30343 on $(common-objpfx)soversions.mk.
30345 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30348 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30351 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30353 * malloc/arena.c (arena_get_retry): New function that gets
30354 another arena for the caller to try its request on.
30355 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30356 current arena cannot fulfill the request.
30357 (__libc_memalign): Likewise.
30358 (__libc_memalign): Likewise.
30359 (__libc_pvalloc): Likewise.
30360 (__libc_calloc): Likewise.
30362 2012-09-05 John Tobey <john.tobey@gmail.com>
30365 * manual/arith.texi (Operations on Complex): Fix description
30366 of carg branch cut.
30368 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30371 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30375 * manual/memory.texi (Memory): Make order of menu items match
30378 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30380 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30381 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30382 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30384 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30386 * csu/libc-tls.c (static_dtv): Renamed to ...
30387 (_dl_static_dtv): This. Make it global.
30388 (_dl_initial_dtv): Removed.
30389 (__libc_setup_tls): Updated.
30390 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30391 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30394 2012-09-06 Petr Machata <pmachata@redhat.com>
30396 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30397 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30398 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30399 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30401 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30404 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30405 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30408 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30411 * Makeconfig (link-static-before-libc): Replace $(+prector)
30413 (link-static-after-libc): Replace $(+postctor) with
30415 (link-bounded): Replace $(+prector)/$(+postctor) with
30416 $(+prectorT)/$(+postctorT).
30417 (+prectorT): New macro.
30418 (+postctorT): Likewise.
30420 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30422 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30423 (round_str): Handle values above the maximum for IBM long double
30425 * stdlib/tst-strtod-round.c (tests): Regenerated.
30427 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30429 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30431 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30432 zarch_nohighgprs around the zarch optimized routines.
30433 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30434 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30438 2012-09-05 David S. Miller <davem@davemloft.net>
30440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30442 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30443 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30444 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30445 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30450 * malloc/arena.c: Fold copyright years.
30451 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30453 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30455 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30457 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30459 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30461 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30463 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30464 change internal state upon failure.
30466 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30468 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30469 * malloc/memusage.c (mmap): Likewise.
30470 (mmap64, mremap): Likewise. Adjust name in comment.
30472 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30474 * libio/fileops.c: Fix typos in comments.
30475 * libio/oldfileops.c: Likewise.
30476 * libio/wfileops.c: Likewise.
30478 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30481 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30482 (tst-malloc-usable-ENV): Set environment for test case.
30483 * malloc/hooks.c (malloc_check_get_size): New function to get
30485 * malloc/malloc.c (musable): Use malloc_check_get_size.
30486 * malloc/tst-malloc-usable.c: New test case.
30488 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30490 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30492 2012-09-05 Allan McRae <allan@archlinux.org>
30495 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30496 determine header location.
30497 * configure: Regenerated.
30499 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30501 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30503 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30504 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30506 (test): Regenerate.
30508 2012-09-04 David S. Miller <davem@davemloft.net>
30510 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30511 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30514 2012-09-04 Florian Weimer <fweimer@redhat.com>
30516 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30519 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30521 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30524 * libio/iogetdelim.c: Include <limits.h>.
30525 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30526 + len + 1 would overflow.
30528 2012-09-03 Andreas Jaeger <aj@suse.de>
30530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30531 * sysdeps/i386/fpu/libm-test-ulps: Update.
30533 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30535 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30536 Add s_sinf-sse2, s_conf-sse2.
30538 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30539 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30540 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30541 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30543 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30544 for using routine as __sinf_ia32.
30545 Use macro for function declaration and weak_alias.
30546 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30547 for using routine as __cosf_ia32.
30548 Use macro for function declaration and weak_alias.
30550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30551 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30553 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30554 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30557 * math/libm-test.inc (cos_test): Add more test cases.
30558 (sin_test): Likewise.
30559 (sincos_test): Likewise.
30561 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30563 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30564 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30566 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30568 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30571 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30572 first element of the GOT.
30573 (elf_machine_load_address): Return the difference between
30574 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30576 2012-09-01 Allan McRae <allan@archlinux.org>
30579 * configure.in (AWK): Require gawk version 3.0 or later.
30580 * configure: Regenerated.
30582 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30584 * sysdeps/unix/sysv/linux/kernel-features.h
30585 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30587 [__NR_clock_getres]: Make code unconditional.
30588 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30589 (clock_getcpuclockid): Remove code left unreachable by removal of
30591 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30592 code unconditional.
30593 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30595 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30596 Make code unconditional.
30597 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30598 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/clock_settime.c
30600 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30602 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30603 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30605 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30608 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30609 scripts/test-installation.pl.
30611 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30612 and $ld_so_version if it is set.
30614 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30618 failure if reading from procfs failed.
30619 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30621 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30623 * sysdeps/unix/sysv/linux/kernel-features.h
30624 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30625 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30626 Remove conditional code.
30627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30628 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30629 Remove conditional code.
30630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30631 * sysdeps/unix/sysv/linux/i386/fxstat.c
30632 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30634 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30635 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30637 * sysdeps/unix/sysv/linux/i386/lxstat.c
30638 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30640 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30641 Remove conditional code.
30642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30644 Remove conditional code.
30645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30647 <kernel-features.h>.
30648 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30650 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30651 Remove conditional code.
30652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30653 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30654 Remove conditional.
30656 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30659 * NEWS: Add fixed bug number.
30661 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30664 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30665 underflowing exponent in case of negative sign.
30666 * stdlib/tst-strtod-round-data: Add more tests.
30667 * stdlib/tst-strtod-round.c (tests): Regenerated.
30670 * stdlib/strtod_l.c (NDIG): Remove.
30671 (HEXNDIG): Likewise.
30672 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30673 smallest representable value.
30674 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30675 lie within an exact representation of 1/2 ulp of the result.
30676 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30678 (TENS_P9_IDX): Define unconditionally.
30679 (TENS_P9_SIZE): Likewise.
30680 (TENS_P10_IDX): Likewise.
30681 (TENS_P10_SIZE): Likewise.
30682 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30683 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30684 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30685 entries for 10^2^13 and 10^2^14.
30686 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30687 (TENS_P13_IDX): Define.
30688 (TENS_P13_SIZE): Likewise.
30689 (TENS_P14_IDX): Likewise.
30690 (TENS_P14_SIZE): Likewise.
30691 (_fpioconst_pow10): Change array size to
30692 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30694 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30695 1024]: Add entries for 10^2^13 and 10^2^14.
30696 [LAST_POW10 > _LAST_POW10]: Remove #error.
30697 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30698 (_fpioconst_pow10): Change array size to
30699 FPIOCONST_POW10_ARRAY_SIZE.
30700 * stdlib/gen-fpioconst.c: New file.
30701 * stdlib/gen-tst-strtod-round.c: Likewise.
30702 * stdlib/tst-strtod-round-data: Likewise.
30703 * stdlib/tst-strtod-round.c: Likewise.
30704 * stdlib/Makefile (tests): Add tst-strtod-round.
30707 * stdlib/strtod_l.c: Include <stdint.h>.
30708 (NDEBUG): Do not define.
30709 (round_and_return): Change EXPONENT parameter to type intmax_t.
30710 Rearrange calculations to avoid internal overflow possibilities.
30711 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30712 Rearrange calculations to avoid internal overflow possibilities.
30713 Assert that number fits inside MPNSIZE limbs.
30714 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30715 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30716 calculations and add assertions to avoid internal overflow
30717 possibilities. Add casts to avoid signed/unsigned operations.
30718 * stdlib/tst-strtod-overflow.c: New file.
30719 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30721 2012-08-25 Marek Polacek <polacek@redhat.com>
30723 * time/time.h: Fix some typos in comments.
30725 2012-08-23 Roland McGrath <roland@hack.frob.com>
30727 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30728 * posix/tst-rfc3484-2.c: Likewise.
30729 * posix/tst-rfc3484-3.c: Likewise.
30731 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30733 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30734 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30736 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30738 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30739 #include of fxstatat64.c.
30741 2012-08-22 Roland McGrath <roland@hack.frob.com>
30743 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30744 * shadow/getspent_r.c: Likewise.
30745 * shadow/getspnam.c: Likewise.
30746 * shadow/getspnam_r.c: Likewise.
30747 * gshadow/getsgent.c: Likewise.
30748 * gshadow/getsgent_r.c: Likewise.
30749 * gshadow/getsgnam.c: Likewise.
30750 * gshadow/getsgnam_r.c: Likewise.
30751 * inet/getnetbyad.c: Likewise.
30752 * inet/getnetbyad_r.c: Likewise.
30753 * inet/getnetbynm.c: Likewise.
30754 * inet/getnetbynm_r.c: Likewise.
30755 * inet/getnetent.c: Likewise.
30756 * inet/getnetent_r.c: Likewise.
30757 * inet/getproto.c: Likewise.
30758 * inet/getproto_r.c: Likewise.
30759 * inet/getprtent.c: Likewise.
30760 * inet/getprtent_r.c: Likewise.
30761 * inet/getprtname.c: Likewise.
30762 * inet/getprtname_r.c: Likewise.
30763 * inet/getrpcbyname.c: Likewise.
30764 * inet/getrpcbyname_r.c: Likewise.
30765 * inet/getrpcbynumber.c: Likewise.
30766 * inet/getrpcbynumber_r.c: Likewise.
30767 * inet/getrpcent.c: Likewise.
30768 * inet/getrpcent_r.c: Likewise.
30769 * inet/getaliasent.c: Likewise.
30770 * inet/getaliasent_r.c: Likewise.
30771 * inet/getaliasname.c: Likewise.
30772 * inet/getaliasname_r.c: Likewise.
30773 * nscd/getgrgid_r.c: Likewise.
30774 * nscd/getgrnam_r.c: Likewise.
30775 * nscd/gethstbyad_r.c: Likewise.
30776 * nscd/gethstbynm3_r.c: Likewise.
30777 * nscd/getpwnam_r.c: Likewise.
30778 * nscd/getpwuid_r.c: Likewise.
30779 * nscd/getsrvbynm_r.c: Likewise.
30780 * nscd/getsrvbypt_r.c: Likewise.
30781 * nscd/gai.c: Likewise.
30783 * configure.in (build_nscd): New substituted variable, set
30784 by --disable-build-nscd and defaults to $use_nscd.
30785 * configure: Regenerated.
30786 * config.make.in (build-nscd): New substituted variable.
30787 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30788 Change conditional to require [$(build-nscd) = yes] as well.
30789 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30792 * configure.in (use_nscd): New substituted variable, set by
30793 --disable-nscd. If enabled, define USE_NSCD.
30794 * configure: Regenerated.
30795 * config.h.in: Add USE_NSCD.
30796 * config.make.in (use-nscd): New substituted variable.
30797 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30798 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30799 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30800 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30801 (CFLAGS-getgrnam_r.c): Likewise.
30802 (CFLAGS-initgroups.c): Likewise.
30803 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30804 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30806 * inet/getnetgrent_r.c
30807 (nscd_setnetgrent): New function, broken out of ...
30808 (setnetgrent): ... here. Call it.
30809 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30810 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30811 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30812 * nscd/Makefile (routines, aux): Move definitions after include of
30813 Makeconfig. Conditionalize on [$(use-nscd) != no].
30814 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30815 Conditionalize on [USE_NSCD].
30816 (is_nscd, nscd_init_cb): Likewise.
30817 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30818 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30819 * nss/nss_db/db-init.c: Likewise.
30820 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30822 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30823 (make_request): Use it.
30824 (cache_valid_p): New function.
30825 (__check_pf): Use it.
30826 * NEWS: Add item for --disable-nscd.
30828 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30830 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30831 to support sed >= 4.2.1-20-ga9bf076.
30832 * configure: Regenerated.
30834 2012-08-22 Roland McGrath <roland@hack.frob.com>
30836 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30837 Conditionalize whole body on [IREL].
30839 2012-08-22 Jeff Law <law@redhat.com>
30842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30843 if the family is PF_UNSPEC.
30845 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30847 * Makerules (lib-version): Rename from V.
30848 (install-lib-nosubdir): Change V to lib-version.
30850 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30853 * powerpc32/power6/wcschr.c: New file.
30854 * powerpc32/power6/wcscpy.c: New file.
30855 * powerpc32/power6/wcsrchr.c: New file.
30856 * powerpc64/power6/wcschr.c: New file.
30857 * powerpc64/power6/wcscpy.c: New file.
30858 * powerpc64/power6/wcsrchr.c: New file.
30860 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30862 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30863 (two_way_short_needle): Use it.
30864 * string/strstr.c (AVAILABLE1_USES_J): Define.
30865 * string/strcasestr.c: Likewise.
30867 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30869 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30872 * NEWS: Add an entry.
30873 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30874 define their defaults.
30875 (two_way_short_needle): Detect end-of-string on-the-fly.
30876 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30877 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30878 * string/bug-strcasestr1.c: New test.
30879 * string/Makefile: Run it.
30881 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30884 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30885 the first character.
30887 2012-08-21 Roland McGrath <roland@hack.frob.com>
30889 * csu/elf-init.c (__libc_csu_irel): Function removed.
30890 * csu/libc-start.c (apply_irel): New function.
30891 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30893 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30895 * sysdeps/unix/sysv/linux/kernel-features.h
30896 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30897 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30898 <kernel-features.h>.
30899 [__NR_fadvise64_64]: Make code unconditional.
30900 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30901 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30902 !__NR_fadvise64_64)]: Likewise.
30903 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30904 !__NR_fadvise64_64))]: Likewise.
30905 [__NR_fadvise64]: Make code unconditional.
30906 [!__NR_fadvise64]: Remove conditional code.
30907 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30908 <kernel-features.h>.
30909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30914 not include <kernel-features.h>.
30915 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30917 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30919 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30920 include <kernel-features.h>.
30921 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30923 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30926 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30929 slight instruction rearrangements per scrollpipe analysis.
30930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30932 2012-08-20 Roland McGrath <roland@hack.frob.com>
30934 * manual/syslog.texi (syslog; vsyslog, closelog):
30935 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30936 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30938 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30939 DSOCAPS to match condition on defining it.
30941 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/unix/sysv/linux/kernel-features.h
30944 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30946 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30947 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30949 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30950 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30952 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30953 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30955 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30956 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30958 * sysdeps/unix/sysv/linux/kernel-features.h
30959 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30960 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30962 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30963 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30964 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30965 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30966 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30967 Make code unconditional.
30968 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30969 (__mmap64) [!__NR_mmap2]: Likewise.
30970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30971 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30972 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30973 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30974 [__NR_mmap2]: Make code unconditional.
30975 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30976 (__mmap64) [!__NR_mmap2]: Likewise.
30978 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30980 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30982 2012-08-18 Andreas Jaeger <aj@suse.de>
30984 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30986 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30988 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30989 * include/unistd.h (__have_sock_cloexec): Likewise.
30990 (__have_pipe2): Likewise.
30991 (__have_dup3): Likewise.
30993 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30996 * include/unistd.h (__have_pipe2): Change define into an extern int.
30997 (__have_dup3): Likewise.
30998 * socket/have_sock_cloexec.c: Include fcntl.h.
30999 (__have_pipe2): New variable.
31000 (__have_dup3): Likewise.
31002 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31004 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31006 2012-08-17 Marek Polacek <polacek@redhat.com>
31008 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31009 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31011 2012-08-17 Roland McGrath <roland@hack.frob.com>
31013 * configure.in: Add AC_SUBST for sysheaders.
31014 * configure: Regenerated.
31015 * config.make.in (sysheaders): New substituted variable.
31017 * sysdeps/unix/mkfifo.c: Moved ...
31018 * sysdeps/posix/mkfifo.c: ... here.
31019 * sysdeps/unix/mkfifoat.c: Moved ...
31020 * sysdeps/posix/mkfifoat.c: ... here.
31022 * sysdeps/unix/utime.c: Moved ...
31023 * sysdeps/posix/utime.c: ... here.
31025 * sysdeps/unix/time.c: Moved ...
31026 * sysdeps/posix/time.c: ... here.
31027 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31028 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31030 * sysdeps/unix/nice.c: Moved ...
31031 * sysdeps/posix/nice.c: ... here.
31033 * sysdeps/unix/alarm.c: Moved ...
31034 * sysdeps/posix/alarm.c: ... here.
31036 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31038 2012-08-17 Jeff Law <law@redhat.com>
31040 * intl/Makefile (codeset_mo): New variable.
31041 ($(codeset_mo)): New target.
31042 (tst-codeset.out): Depend on that. Remove explicit rule.
31043 (tst-gettext3.out, tst-gettext5.out): Likewise.
31044 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31045 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31046 * intl/tst-codeset.sh: Remove.
31047 * intl/tst-gettext3.sh: Likewise.
31048 * intl/tst-gettext5.sh: Likewise.
31050 2012-08-17 Roland McGrath <roland@hack.frob.com>
31052 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31053 * sysdeps/unix/syscalls.list: ... here.
31055 * sysdeps/posix/getaddrinfo.c
31056 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31057 (gaiconf_init, gaiconf_reload): Use them.
31058 [!_STATBUF_ST_NSEC]
31059 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31060 Define using time_t rather than struct timespec.
31062 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31063 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31065 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31067 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31068 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31071 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31072 __libc_cleanup_push argument.
31074 * bits/param.h: New file.
31075 * misc/sys/param.h: New file.
31076 * include/sys/param.h: New file.
31077 * misc/Makefile (headers): Add bits/param.h.
31078 * sysdeps/generic/sys/param.h: File removed.
31079 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31080 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31081 * sysdeps/mach/hurd/bits/param.h: New file.
31082 * sysdeps/mach/hurd/sys/param.h: File removed.
31084 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31087 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31089 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31090 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31093 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31094 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31095 rather than -D_IO_MTSAFE_IO conditionally.
31096 * stdio-common/Makefile (CPPFLAGS): Likewise.
31097 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31098 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31099 Use $(libio-mtsafe).
31100 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31101 of -D_IO_MTSAFE_IO.
31102 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31103 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31104 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31105 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31106 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31107 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31108 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31109 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31110 (CFLAGS-fread_u_chk.c): Likewise.
31111 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31112 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31113 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31114 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31115 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31116 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31117 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31118 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31119 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31121 * libio/Makefile: Test [$(libc-reentrant) = yes]
31122 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31125 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31126 * sysdeps/pthread/configure: File removed.
31127 * sysdeps/pthread/Makeconfig: New file.
31128 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31129 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31131 2012-08-16 Gary Benson <gbenson@redhat.com>
31133 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31134 unmapping the first object in a namespace.
31136 2012-08-16 Roland McGrath <roland@hack.frob.com>
31138 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31139 (__internal_setnetgrent): ... this. Add internal_function to
31140 definition. Add libc_hidden_def.
31141 (setnetgrent): Update caller.
31142 (internal_endnetgrent): Renamed to ...
31143 (__internal_endnetgrent): ... this. Add internal_function to
31144 definition. Add libc_hidden_def.
31145 (endnetgrent): Update caller.
31146 (internal_getnetgrent_r): Renamed to ...
31147 (__internal_getnetgrent_r): ... this. Add internal_function to
31148 definition. Add libc_hidden_def.
31149 (__getnetgrent_r): Update caller.
31150 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31152 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31154 * stdlib/longlong.h: Update from GCC.
31156 2012-08-16 Roland McGrath <roland@hack.frob.com>
31158 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31159 on _QL, which is set by umul_ppmm but never used.
31160 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31161 variables, which are set by GMP macros but never used.
31162 * stdio-common/_itowa.c (_itowa): Likewise.
31163 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31164 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31166 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31168 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31169 struct La_sh_regs is not constant.
31170 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31171 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31172 and struct La_sparc64_regs are not constant.
31174 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31176 * sysdeps/unix/sysv/linux/kernel-features.h
31177 (__ASSUME_POSIX_TIMERS): Remove.
31178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31181 Make code unconditional.
31182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31183 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31184 Make code unconditional.
31185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31187 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31189 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31190 Make code unconditional.
31191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31192 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31193 (__libc_missing_posix_timers): Remove.
31195 2012-08-15 Roland McGrath <roland@hack.frob.com>
31197 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31198 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31200 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31202 * elf/dl-sym.c: Include <stdlib.h>.
31204 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31205 constants, which avoids warnings in 32-bit builds.
31207 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31208 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31210 * misc/lseek.c: File moved to ...
31211 * io/lseek.c: ... here.
31213 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31215 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31216 shifting LEN more than 31 bits at once.
31218 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31221 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31222 segmentation fault for a case of two empty input strings.
31223 * string/test-strncasecmp.c (check1): Renamed to...
31224 (bz12205): ...this.
31225 (bz14195): Add new testcase for two empty input strings and N > 0.
31226 (test_main): Call new testcase, adapt for renamed function.
31228 2012-08-15 Andreas Jaeger <aj@suse.de>
31231 * crypt/md5test2.c: New test, based on test supplied by Serge
31232 Belyshev <belyshev@depni.sinp.msu.ru>.
31233 * crypt/Makefile (xtests): Add md5test-giant..
31234 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31236 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31239 * crypt/md5.c (md5_process_block): Don't assume the buffer
31240 length is less than 2**32.
31241 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31242 length is less than 2**64.
31244 2012-08-15 Roland McGrath <roland@hack.frob.com>
31246 * string/str-two-way.h: Include <sys/param.h>.
31247 (MAX): Macro removed.
31249 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31250 Move #define and #undef of memmove to just before and after
31251 including <string.h>.
31253 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31254 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31255 and after including <string.h>. Move declarations of
31256 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31257 to before #include "string/memmove.c".
31259 * include/dirent.h: Declare __getdirentries.
31261 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31262 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31264 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31266 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31267 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31268 * sysdeps/i386/configure: Regenerated.
31269 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31270 STABS_CURRENT_FILE, and STABS_FUN.
31271 (END): Remove call to STABS_FUN_END.
31272 (STABS_CURRENT_FILE1): Delete.
31273 (STABS_CURRENT_FILE): Likewise.
31274 (STABS_FUN): Likewise.
31275 (STABS_FUN_END): Likewise.
31276 (STABS_FUN2): Likewise.
31277 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31278 * sysdeps/x86_64/configure: Regenerated.
31280 2012-08-14 Roland McGrath <roland@hack.frob.com>
31282 * elf/dl-open.c: Include <atomic.h>.
31283 * elf/dl-lookup.c: Likewise.
31285 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31287 * sysdeps/unix/sysv/linux/kernel-features.h
31288 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31289 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31291 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31293 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31294 condition on __ASSUME_CLONE_THREAD_FLAGS.
31296 2012-08-14 Andreas Jaeger <aj@suse.de>
31298 * sysdeps/i386/fpu/libm-test-ulps: Update.
31300 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31302 * include/atomic.h (atomic_exchange_and_add): Split into ...
31303 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31306 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31310 2012-08-13 Jeff Law <law@redhat.com>
31312 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31313 null byte in the output string.
31315 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31317 * sysdeps/unix/sysv/linux/kernel-features.h
31318 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31319 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31320 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31321 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31322 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31323 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31324 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31326 2012-08-09 Jeff Law <law@redhat.com>
31329 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31330 When avoid_arena is set, don't retry in the that arena. Pick the
31331 next one, whatever it might be.
31332 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31333 (arena_lock): Pass in new parameter to arena_get2.
31334 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31336 (__libc_malloc): Unify retrying after main arena failure with
31337 __libc_memalign version.
31338 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31340 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31343 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31344 to __redirect_strstr.
31345 (__strstr_sse42): Use typeof __redirect_strstr.
31346 (__strstr_ia32): Likewise.
31347 (__libc_strstr): New prototype.
31348 (strstr): Renamed to ...
31349 (__libc_strstr): This.
31350 (strstr): New strong alias of __libc_strstr.
31351 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31352 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31355 (__libc_time): New prototype.
31356 (time_ifunc): Replace time with __libc_time.
31357 (time): New strong alias and hidden definition of __libc_time.
31358 (__GI_time): Remove strong alias.
31359 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31360 Include <stddef.h>.
31361 (memmove): Redefined to __redirect_memmove.
31362 (__memmove_sse2): Use typeof __redirect_memmove.
31363 (__memmove_ssse3): Likewise.
31364 (__memmove_ssse3_back): Likewise.
31365 (__libc_memmove): New prototype.
31366 (memmove): Renamed to ...
31367 (__libc_memmove): This.
31368 (memmove): New strong alias of __libc_memmove.
31370 2012-08-08 Mark Salter <msalter@redhat.com>
31373 (R_MN10300_TLS_GD): Define.
31374 (R_MN10300_TLS_LD): Likewise.
31375 (R_MN10300_TLS_LDO): Likewise.
31376 (R_MN10300_TLS_GOTIE): Likewise.
31377 (R_MN10300_TLS_IE): Likewise.
31378 (R_MN10300_TLS_LE): Likewise.
31379 (R_MN10300_TLS_DTPMOD): Likewise.
31380 (R_MN10300_TLS_DTPOFF): Likewise.
31381 (R_MN10300_TLS_TPOFF): Likewise.
31382 (R_MN10300_SYM_DIFF): Likewise.
31383 (R_MN10300_ALIGN): Likewise.
31384 (R_MN10300_NUM): Update.
31386 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31391 2012-08-08 Roland McGrath <roland@hack.frob.com>
31393 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31395 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31396 sysdeps/unix -> sysdeps/posix move.
31397 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31399 2012-08-07 Allan McRae <allan@archlinux.org>
31402 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31403 (SUNOS_CPP): Likewise.
31404 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31406 (open_input): Call CPP using execvp.
31408 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31410 * sysdeps/unix/sysv/linux/kernel-features.h
31411 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31412 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31413 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31414 (__ASSUME_WAITID_SYSCALL): Likewise.
31415 * sysdeps/unix/sysv/linux/dl-execstack.c
31416 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31417 code unconditional.
31418 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31420 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31421 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31422 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31424 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31426 [__ASSUME_WAITID_SYSCALL]: Likewise.
31427 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31429 2012-08-07 Roland McGrath <roland@hack.frob.com>
31431 * sysdeps/unix/closedir.c: Renamed to ...
31432 * sysdeps/posix/closedir.c: ... here.
31433 * sysdeps/unix/dirfd.c: Renamed to ...
31434 * sysdeps/posix/dirfd.c: ... here.
31435 * sysdeps/unix/dirstream.h: Renamed to ...
31436 * sysdeps/posix/dirstream.h: ... here.
31437 * sysdeps/unix/fdopendir.c: Renamed to ...
31438 * sysdeps/posix/fdopendir.c: ... here.
31439 * sysdeps/unix/opendir.c: Renamed to ...
31440 * sysdeps/posix/opendir.c: ... here.
31441 * sysdeps/unix/readdir.c: Renamed to ...
31442 * sysdeps/posix/readdir.c: ... here.
31443 * sysdeps/unix/readdir_r.c: Renamed to ...
31444 * sysdeps/posix/readdir_r.c: ... here.
31445 * sysdeps/unix/rewinddir.c: Renamed to ...
31446 * sysdeps/posix/rewinddir.c: ... here.
31447 * sysdeps/unix/seekdir.c: Renamed to ...
31448 * sysdeps/posix/seekdir.c: ... here.
31449 * sysdeps/unix/telldir.c: Renamed to ...
31450 * sysdeps/posix/telldir.c: ... here.
31451 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31452 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31453 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31454 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31456 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31457 * bits/fcntl.h: ... here.
31459 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31461 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31462 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31463 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31464 (struct flock): Move l_start, l_len to the beginning.
31465 Use __pid_t for l_pid.
31466 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31467 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31468 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31469 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31470 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31471 [__USE_LARGEFILE64] (struct flock64): New type.
31472 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31474 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31475 * bits/dirent.h: ... here.
31477 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31478 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31480 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31483 Change from 2.6.0 to 2.6.16.
31484 * sysdeps/unix/sysv/linux/configure: Regenerated.
31485 * sysdeps/unix/sysv/linux/kernel-features.h
31486 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31487 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31489 (__ASSUME_UTIMES): Likewise.
31490 (__ASSUME_CLONE_STOPPED): Remove.
31491 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31492 architectures, not kernel version.
31493 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31494 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31495 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31496 (__ASSUME_WAITID_SYSCALL): Likewise.
31497 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31498 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31499 * README: State 2.6.16 as minimum Linux kernel version. Do not
31500 refer to older versions.
31502 2012-08-06 Roland McGrath <roland@hack.frob.com>
31504 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31505 Define alphasort64 as an alias.
31506 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31507 Define versionsort64 as an alias.
31508 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31509 Define scandir64 as an alias.
31510 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31511 Define scandirat64 as an alias.
31512 * dirent/alphasort64.c (alphasort64):
31513 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31514 * dirent/versionsort64.c: Likewise.
31515 * dirent/scandir64.c: Likewise.
31516 * dirent/scandirat64.c: Likewise.
31517 * sysdeps/wordsize-64/alphasort.c: File removed.
31518 * sysdeps/wordsize-64/alphasort64.c: File removed.
31519 * sysdeps/wordsize-64/scandir.c: File removed.
31520 * sysdeps/wordsize-64/scandir64.c: File removed.
31521 * sysdeps/wordsize-64/scandirat.c: File removed.
31522 * sysdeps/wordsize-64/scandirat64.c: File removed.
31523 * sysdeps/wordsize-64/versionsort.c: File removed.
31524 * sysdeps/wordsize-64/versionsort64.c: File removed.
31525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31528 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31530 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31534 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31536 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31538 [defined __arch64__ || defined __sparcv9]
31539 (__INO_T_MATCHES_INO64_T): New macro.
31540 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31541 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31542 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31543 * sysdeps/unix/sysv/linux/bits/dirent.h
31544 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31545 (_DIRENT_MATCHES_DIRENT64): New macro.
31547 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31548 Define lockf64 as an alias.
31549 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31550 Define fseeko64 as an alias.
31551 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31552 Define ftello64 as an alias.
31553 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31554 Define _IO_fgetpos64 and fgetpos64 as aliases.
31555 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31556 Define _IO_fsetpos64 and fsetpos64 as aliases.
31557 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31558 Conditionalize body on this.
31559 * libio/fseeko64.c: Likewise.
31560 * libio/ftello64.c: Likewise.
31561 * libio/iofgetpos64.c: Likewise.
31562 * libio/iofsetpos64.c: Likewise.
31563 * sysdeps/wordsize-64/lockf.c: File removed.
31564 * sysdeps/wordsize-64/lockf64.c: File removed.
31565 * sysdeps/wordsize-64/fseeko.c: File removed.
31566 * sysdeps/wordsize-64/fseeko64.c: File removed.
31567 * sysdeps/wordsize-64/ftello.c: File removed.
31568 * sysdeps/wordsize-64/ftello64.c: File removed.
31569 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31570 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31571 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31572 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31584 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31586 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31588 [defined __arch64__ || defined __sparcv9]
31589 (__OFF_T_MATCHES_OFF64_T): New macro.
31590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31591 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31593 (__OFF_T_MATCHES_OFF64_T): New macro.
31595 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31597 * stdlib/secure-getenv.c (__secure_getenv): Replace
31598 GLIBC_2_16 with GLIBC_2_17.
31600 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31605 2012-08-03 David S. Miller <davem@davemloft.net>
31607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31609 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31613 (__ASSUME_CORRECT_SI_PID): Likewise.
31614 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31615 (__ASSUME_TMPFS_NAME): Likewise.
31616 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31617 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31618 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31619 (HAVE_AUX_SECURE): Make definition unconditional.
31620 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31621 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31623 2012-08-03 Roland McGrath <roland@hack.frob.com>
31625 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31626 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31627 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31628 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31629 __eloop_threshold instead of SYMLOOP_MAX.
31631 * sysdeps/generic/eloop-threshold.h: New file.
31632 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31634 * elf/chroot_canon.c (chroot_canon): Likewise.
31636 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31640 Change to 2.6.0 everywhere.
31641 * sysdeps/unix/sysv/linux/configure: Regenerated.
31642 * sysdeps/unix/sysv/linux/kernel-features.h
31643 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31644 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31646 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31647 (__ASSUME_FUTEX_REQUEUE): Remove.
31648 (__ASSUME_STATFS64): Define unconditionally.
31649 (__ASSUME_AT_SECURE): Likewise.
31650 (__ASSUME_CORRECT_SI_PID): Likewise.
31651 (__ASSUME_TGKILL): Define without depending on kernel version for
31653 (__ASSUME_UTIMES): Likewise.
31654 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31656 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31657 (__ASSUME_TMPFS_NAME): Likewise.
31658 * README: Update reference to Linux kernel versions.
31660 2012-08-02 Marek Polacek <polacek@redhat.com>
31663 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31664 libc_cv_asm_type_prefix with %.
31665 * configure: Regenerated.
31666 * include/libc-symbols.h: Remove comment about
31667 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31668 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31669 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31670 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31671 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31672 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31673 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31674 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31675 * elf/tst-unique2mod1.c: Likewise.
31676 * elf/tst-unique1mod2.c: Likewise.
31677 * elf/tst-unique1mod1.c: Likewise.
31678 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31679 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31680 Replace ASM_TYPE_DIRECTIVE with .type.
31681 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31682 * sysdeps/i386/sysdep.h: Likewise.
31683 * sysdeps/x86_64/sysdep.h: Likewise.
31684 * sysdeps/sh/sysdep.h: Likewise.
31685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31686 Do not define ASM_TYPE_DIRECTIVE.
31687 * sysdeps/powerpc/sysdep.h: Likewise.
31688 * sysdeps/powerpc/powerpc32/sysdep.h:
31689 Replace ASM_TYPE_DIRECTIVE with .type.
31690 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31691 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31692 * sysdeps/i386/fpu/e_powf.S: Likewise.
31693 * sysdeps/i386/fpu/e_expl.S: Likewise.
31694 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31696 * sysdeps/i386/fpu/e_pow.S: Likewise.
31697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31701 * sysdeps/i386/fpu/e_log2.S: Likewise.
31702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31704 * sysdeps/i386/fpu/e_powl.S: Likewise.
31705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31706 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31707 * sysdeps/i386/fpu/e_logl.S: Likewise.
31708 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31709 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31710 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31711 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31712 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31713 * sysdeps/i386/fpu/e_log.S: Likewise.
31714 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31715 * sysdeps/i386/fpu/e_logf.S: Likewise.
31716 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31718 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31719 * sysdeps/i386/fpu/e_log10.S: Likewise.
31720 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31721 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31722 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31723 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31724 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31725 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31726 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31727 * sysdeps/i386/i686/strtok.S: Likewise.
31728 * sysdeps/i386/i386-mcount.S: Likewise.
31729 * sysdeps/i386/strtok.S: Likewise.
31730 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31731 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31732 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31733 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31734 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31736 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31737 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31739 * sysdeps/x86_64/_mcount.S: Likewise.
31740 * sysdeps/x86_64/strtok.S: Likewise.
31741 * sysdeps/sh/_mcount.S: Likewise.
31743 2012-08-01 Roland McGrath <roland@hack.frob.com>
31745 * libio/iofopen.c: Include <fcntl.h>.
31746 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31747 (_IO_fopen64, fopen64): Define as aliases.
31748 * libio/iofopen64.c: Include <fcntl.h>.
31749 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31750 Conditionalize body on this.
31751 * sysdeps/wordsize-64/iofopen.c: File removed.
31752 * sysdeps/wordsize-64/iofopen64.c: File removed.
31754 2012-08-01 Marek Polacek <polacek@redhat.com>
31756 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31757 Use dlfcn directly instead of a variable.
31758 (binfmt-subdir): Do not define.
31761 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31764 Remove all definitions.
31765 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31766 <kernel-features.h>.
31767 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31768 (miss_F_GETOWN_EX): Remove all definitions.
31769 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31771 [!__ASSUME_FCNTL64]: Remove conditional code.
31772 [__ASSUME_FCNTL64]: Make code unconditional.
31773 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31774 <kernel-features.h>.
31775 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31776 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31777 (lockf64) [__NR_fcntl64]: Make code unconditional.
31778 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31780 * sysdeps/unix/sysv/linux/kernel-features.h
31781 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31782 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31783 Make code unconditional.
31784 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31785 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31787 [__NR_vfork]: Make code unconditional.
31788 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31789 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31791 [__NR_vfork]: Make code unconditional.
31792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31795 2012-08-01 Roland McGrath <roland@hack.frob.com>
31797 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31798 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31800 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31801 Define mkstemp64 as an alias.
31802 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31803 Define mkstemps64 as an alias.
31804 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31805 Define mkostemp64 as an alias.
31806 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31807 Define mkostemps64 as an alias.
31808 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31809 Conditionalize body on this.
31810 * misc/mkostemp64.c: Likewise.
31811 * misc/mkostemps64.c: Likewise.
31812 * misc/mkstemps64.c: Likewise.
31813 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31814 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31815 * sysdeps/wordsize-64/mkostemp.c: File removed.
31816 * sysdeps/wordsize-64/mkstemp.c: File removed.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31823 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31824 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31825 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31826 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31828 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31829 compat_symbol macros from <shlib-compat.h> rather than the underlying
31830 default_symbol_version and symbol_version macros, so that DEFAULT
31831 lines in shlib-versions are respected.
31832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31834 2012-08-01 Florian Weimer <fweimer@redhat.com>
31836 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31837 Declare with warn_unused_result.
31838 (setgid, setregid, setegid, setresgid): Likewise.
31839 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31841 * WUR-REPORT: Remove set*id functions.
31843 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31845 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31847 2012-07-31 Roland McGrath <roland@hack.frob.com>
31850 * include/sys/socket.h (__libc_accept, __libc_accept4):
31851 Add attribute_hidden.
31852 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31856 * inet/getnetgrent_r.c (setup): Likewise.
31858 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31860 2012-07-31 David S. Miller <davem@davemloft.net>
31862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31864 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31867 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31868 value between 1.0 and 2.0 and smaller part has absolute value less
31870 * math/s_clog10.c (__clog10): Likewise.
31871 * math/s_clog10f.c (__clog10f): Likewise.
31872 * math/s_clog10l.c (__clog10l): Likewise.
31873 * math/s_clogf.c (__clogf): Likewise.
31874 * math/s_clogl.c (__clogl): Likewise.
31875 * math/libm-test.inc (clog_test): Add more tests.
31876 (clog10_test): Likewise.
31877 * sysdeps/i386/fpu/libm-test-ulps: Update.
31878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31880 2012-07-31 Florian Weimer <fweimer@redhat.com>
31882 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31883 Exit with zero in case no suitable GID is found, and write a
31884 message to standard error.
31886 2012-07-30 Roland McGrath <roland@hack.frob.com>
31888 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31890 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31891 (MAXPATHLEN): Removed.
31892 (NOGROUP, NODEV): New macros.
31893 (setbit, clrbit, isset, isclr): New macros.
31894 (howmany, roundup, powerof2): New macros.
31895 (DEV_BSIZE): New macro.
31897 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31898 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31900 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31901 definition on [!__NO_LONG_DOUBLE_MATH].
31903 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31904 PTR_MANGLE and PTR_DEMANGLE.
31906 * socket/accept4.c (accept4): Rename to __libc_accept4.
31907 Define accept4 as a weak alias.
31909 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31910 on [_DIRENT_HAVE_D_TYPE].
31911 * io/ftw.c (ftw_dir): Likewise.
31913 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31915 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31917 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31918 Use the BSD numbers rather than the arbitrary ones we had.
31919 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31920 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31921 (SIGXCPU, SIGXFSZ): New macros.
31924 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31925 initializer on [_LIBC_REENTRANT].
31927 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31928 definitions inside [_POSIX_MAPPED_FILES].
31930 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31932 * dirent/opendir.c: Include <fcntl.h>.
31934 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31935 (__libc_getspecific): Likewise.
31936 (__libc_key_create): Likewise.
31938 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31939 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31940 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31941 (tmpfile64): Define as alias.
31942 * sysdeps/wordsize-64/tmpfile.c: File removed.
31943 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31947 * stdio-common/vfscanf.c: Include <stdbool.h>.
31948 * nss/makedb.c: Likewise.
31949 * stdio-common/_i18n_number.h: Likewise.
31950 * argp/argp-help.c: Likewise.
31951 * posix/wordexp.c: Likewise.
31952 * sysdeps/posix/spawni.c: Likewise.
31953 * nss/nss_files/files-initgroups.c: Likewise.
31954 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31955 * nss/nss_files/files-initgroups.c: Likewise.
31956 * nss/nss_db/db-netgrp.c: Likewise.
31957 * nss/nss_db/db-initgroups.c: Likewise.
31958 * io/fchmodat.c: Include <sys/stat.h>.
31960 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31961 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31963 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31966 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31967 Add multiple inclusion protection.
31969 2012-07-27 David S. Miller <davem@davemloft.net>
31971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31973 2012-07-27 Gary Benson <gbenson@redhat.com>
31976 * elf/rtld.c: Include <stap-probe.h>.
31977 (dl_main): Added static probes "init_start" and "init_complete".
31978 * elf/dl-load.c: Include <stap-probe.h>.
31979 (lose): Take new parameter "nsid".
31980 Added static probe "map_failed".
31981 (_dl_map_object_from_fd): Pass namespace id to lose.
31982 Added static probe "map_start".
31983 (open_verify): Pass namespace id to lose.
31984 * elf/dl-open.c: Include <stap-probe.h>.
31985 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31986 and "reloc_complete".
31987 * elf/dl-close.c: Include <stap-probe.h>.
31988 (_dl_close_worker): Added static probes "unmap_start" and
31990 * elf/rtld-debugger-interface.txt: New file documenting the above.
31992 2012-07-26 Roland McGrath <roland@hack.frob.com>
31994 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31995 rather than a string variable.
31996 * sunrpc/rpc_main.c (h_output): Likewise.
31997 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31999 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32001 * inet/check_native.c: New file.
32003 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32006 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32007 if larger part has absolute value 1.0.
32008 * math/s_clog10.c (__clog10): Likewise.
32009 * math/s_clog10f.c (__clog10f): Likewise.
32010 * math/s_clog10l.c (__clog10l): Likewise.
32011 * math/s_clogf.c (__clogf): Likewise.
32012 * math/s_clogl.c (__clogl): Likewise.
32013 * math/libm-test.inc (clog_test): Add more tests.
32014 (clog10_test): Likewise.
32015 * sysdeps/i386/fpu/libm-test-ulps: Update.
32016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32018 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32019 (pltexit): Likewise.
32020 (La_regs): Likewise.
32021 (La_retval): Likewise.
32022 (int_retval): Likewise.
32023 Update #error for removed macros to refer only to definitions in
32025 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32027 (pltexit): Likewise.
32028 (La_regs): Likewise.
32029 (La_retval): Likewise.
32030 (int_retval): Likewise.
32031 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32033 (pltexit): Likewise.
32034 (La_regs): Likewise.
32035 (La_retval): Likewise.
32036 (int_retval): Likewise.
32037 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32039 (pltexit): Likewise.
32040 (La_regs): Likewise.
32041 (La_retval): Likewise.
32042 (int_retval): Likewise.
32043 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32045 (pltexit): Likewise.
32046 (La_regs): Likewise.
32047 (La_retval): Likewise.
32048 (int_retval): Likewise.
32049 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32051 (pltexit): Likewise.
32052 (La_regs): Likewise.
32053 (La_retval): Likewise.
32054 (int_retval): Likewise.
32055 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32057 (pltexit): Likewise.
32058 (La_regs): Likewise.
32059 (La_retval): Likewise.
32060 (int_retval): Likewise.
32061 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32062 macro definitions in tst-audit.h.
32063 * sysdeps/i386/tst-audit.h: New file.
32064 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32065 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32066 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32067 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32068 * sysdeps/sh/tst-audit.h: Likewise.
32069 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32070 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32071 * sysdeps/x86_64/tst-audit.h: Likewise.
32073 2012-07-26 Andreas Jaeger <aj@suse.de>
32075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32078 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32079 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32080 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32082 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32083 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32084 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32086 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32089 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32091 (si_call_addr, si_syscall, si_arch): Define new macro.
32092 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32094 (si_call_addr, si_syscall, si_arch): Define new marcro.
32095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32097 (si_call_addr, si_syscall, si_arch): Define new macro.
32098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32100 (si_call_addr, si_syscall, si_arch): Define new macro.
32102 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32106 Change to 2.4.21 where previously 2.4.1.
32107 * sysdeps/unix/sysv/linux/configure: Regenerated.
32108 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32109 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32110 Linux kernel version.
32111 (__ASSUME_STD_AUXV): Remove.
32112 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32114 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32115 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32116 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32117 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32118 (__ASSUME_NETLINK_SUPPORT): Likewise.
32119 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32120 (__no_netlink_support): Remove conditional definition.
32121 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32123 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32124 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32125 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32126 (if_nameindex_ioctl): Remove.
32127 (if_nameindex_netlink): Do not handle __no_netlink_support.
32128 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32130 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32131 Remove conditional code.
32132 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32134 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32136 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32137 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32138 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32140 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32141 [!__ASSUME_STD_AUXV]: Remove conditional code.
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32143 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32144 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32146 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32147 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32149 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32151 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32152 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32154 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32156 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32159 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32162 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32163 code unconditional.
32164 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32166 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32168 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32171 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32173 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32176 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32177 code unconditional.
32178 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32180 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32182 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32185 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32186 code unconditional.
32187 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32189 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32191 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32194 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32196 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32197 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32198 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32199 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32200 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32201 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32202 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32203 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32204 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32205 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32206 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32207 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32208 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32209 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32211 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32212 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32214 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32216 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32217 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32220 2012-07-25 Florian Weimer <fweimer@redhat.com>
32222 * Versions.def: Add GLIBC_2.17.
32223 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32224 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32225 Introduce __libc_secure_getenv.
32226 * stdlib/Versions (2.17): Add secure_getenv
32227 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32228 * stdlib/secure-getenv.c: Rename __secure_getenv to
32229 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32230 symbol __secure_getenv for GLIBC_2.0.
32231 * stdlib/tst-secure-getenv.c: New.
32232 * stdlib/Makefile (tests): Add testcase.
32233 * manual/startup.texi (Environment Access): Document
32235 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32236 __libc_secure_getenv.
32237 * inet/ruserpass.c (ruserpass): Likewise.
32238 * malloc/mtrace.c (mtrace): Likewise.
32239 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32240 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32241 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32242 * sysdeps/posix/tempname.c: Likewise. Evaluate
32243 HAVE_SECURE_GETENV.
32244 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32245 __secure_getenv to __libc_secure_getenv.
32246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32259 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32261 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32262 (struct La_i86_retval): Likewise.
32263 (struct La_x86_64_regs): Likewise.
32264 (struct La_x86_64_retval): Likewise.
32265 (struct La_x32_regs): Likewise.
32266 (struct La_x32_retval): Likewise.
32267 (struct La_ppc32_regs): Likewise.
32268 (struct La_ppc32_retval): Likewise.
32269 (struct La_ppc64_regs): Likewise.
32270 (struct La_ppc64_retval): Likewise.
32271 (struct La_sh_regs): Likewise.
32272 (struct La_sh_retval): Likewise.
32273 (struct La_s390_32_regs): Likewise.
32274 (struct La_s390_32_retval): Likewise.
32275 (struct La_s390_64_regs): Likewise.
32276 (struct La_s390_64_retval): Likewise.
32277 (struct La_sparc32_regs): Likewise.
32278 (struct La_sparc32_retval): Likewise.
32279 (struct La_sparc64_regs): Likewise.
32280 (struct La_sparc64_retval): Likewise.
32281 (struct audit_ifaces): Remove architecture-specific pltenter and
32283 * sysdeps/i386/ldsodefs.h: New file.
32284 * sysdeps/powerpc/ldsodefs.h: Likewise.
32285 * sysdeps/s390/ldsodefs.h: Likewise.
32286 * sysdeps/sh/ldsodefs.h: Likewise.
32287 * sysdeps/sparc/ldsodefs.h: Likewise.
32288 * sysdeps/x86_64/ldsodefs.h: Likewise.
32290 2012-07-25 Marek Polacek <polacek@redhat.com>
32293 * math/libm-test.inc (yn_test): Add another test.
32294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32295 to ERANGE when the result is +-Inf.
32296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32297 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32298 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32299 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32301 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32303 * conform/data/time.h-data (NULL): Use macro-constant. Require
32305 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32307 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32309 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32311 * configure.in <sysdeps resolving>: Correct printing
32313 * configure: Regenerate.
32315 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32317 * math/w_ilogb.c: Include <limits.h>.
32318 * math/w_ilogbl.c: Likewise.
32320 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32322 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32323 va_copy. Document allowing for unavailable va_copy only as
32324 pre-C99 compatibility.
32325 * manual/string.texi (Copying and Concatenation): Use va_copy
32326 instead of __va_copy in concat example.
32328 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32330 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32331 (__sendto): Use create_address_port. Initialize APORT and deallocate
32334 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32335 with O_NOLINK passed to __file_name_lookup.
32337 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32338 with O_NOLINK passed to __file_name_lookup.
32340 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32341 negative N or less than NGIDS.
32343 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32344 type to string_t. Set ERANGE as errno and return it if NAME is not big
32345 enough. Use memcpy instead of strncpy.
32347 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32349 * elf/Makefile (check-data): Remove.
32350 (localplt.data): New vpath directive.
32351 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32352 instead of $(check-data).
32353 * scripts/data/localplt-generic.data: Move to ...
32354 * sysdeps/generic/localplt.data: ... here.
32355 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32356 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32357 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32360 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32363 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32366 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32369 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32372 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32376 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32378 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32379 PPC32 and PPC64 files.
32380 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32381 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32383 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32385 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32386 __makecontext_ret to ...
32387 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32388 ... here and call exit if uc_link is NULL. New file.
32389 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32390 __makecontext_ret.S.
32391 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32392 __makecontext_ret to ...
32393 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32394 ... here and call exit if uc_link is NULL. New file.
32395 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32396 __makecontext_ret.S.
32398 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32400 * elf/elf.h (R_390_IRELATIVE): New definition.
32401 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32402 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32403 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32405 (elf_machine_lazy_rel): Likewise.
32406 * sysdeps/s390/dl-irel.h: New file.
32407 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32408 * sysdeps/s390/s390-64/memset.S: New asm code.
32409 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32410 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32412 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32413 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32414 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32415 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32416 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32417 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32418 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32419 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32420 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32421 * sysdeps/s390/s390-32/memset.S: New asm code.
32422 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32424 2012-07-17 Marek Polacek <polacek@redhat.com>
32427 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32428 * sysdeps/s390/s390-64/configure.in: Likewise.
32429 * sysdeps/sparc/configure.in: Likewise.
32430 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32431 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32432 * sysdeps/i386/configure.in: Likewise.
32433 * sysdeps/x86_64/configure.in: Likewise.
32434 * sysdeps/sh/configure.in: Likewise.
32435 * sysdeps/s390/s390-32/configure: Regenerated.
32436 * sysdeps/s390/s390-64/configure: Likewise.
32437 * sysdeps/x86_64/configure: Likewise.
32438 * sysdeps/sh/configure: Likewise.
32439 * sysdeps/powerpc/powerpc64/configure: Likewise.
32440 * sysdeps/powerpc/powerpc32/configure: Likewise.
32441 * sysdeps/sparc/configure: Likwise.
32442 * sysdeps/i386/configure: Likewise.
32444 * elf/dl-open.c: Comment fixes.
32446 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32448 * Makefile [CXX] (check-data): Remove.
32449 [CXX] (c++-types.data): New vpath directive.
32450 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32451 vpath. Do not allow for C++ type data being missing.
32452 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32453 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32454 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32455 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32456 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32457 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32458 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32461 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32464 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32467 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32470 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32473 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32476 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32479 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32482 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32483 definitions to architecture-specific files.
32484 (TLS_IE): Likewise.
32485 (TLS_LD): Likewise.
32486 (TLS_GD): Likewise.
32487 * sysdeps/i386/tls-macros.h: New file.
32488 * sysdeps/powerpc/tls-macros.h: Likewise.
32489 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32490 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32491 * sysdeps/sh/tls-macros.h: Likewise.
32492 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32493 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32494 * sysdeps/x86_64/tls-macros.h: Likewise.
32496 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32498 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32499 zero value for regular exit case.
32501 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32502 (__start_context): Preserve zero value for regular exit case.
32504 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32505 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32507 * manual/setjmp.texi (setcontext): Clarify normal process
32508 termination when uc_link is the null pointer.
32509 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32512 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32514 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32515 preprocessor. Test for each exception mask separately.
32517 2012-07-16 Andreas Jaeger <aj@suse.de>
32519 * po/ru.po: Update from translation team.
32521 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32523 * conform/data/string.h-data (NULL): Use macro-constant. Require
32525 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32526 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32527 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32528 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32531 2012-07-13 Andreas Jaeger <aj@suse.de>
32533 * po/fr.po: Update from translation team.
32535 2012-07-12 Marek Polacek <polacek@redhat.com>
32538 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32539 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32542 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32546 Change to 2.4.1 where previously 2.4.0.
32547 * sysdeps/unix/sysv/linux/configure: Regenerated.
32548 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32549 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32551 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32552 (__ASSUME_AT_CLKTCK): Remove.
32553 (__ASSUME_AT_PAGESIZE): Likewise.
32554 (__ASSUME_AT_XID): Likewise.
32555 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32556 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32557 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32559 (HAVE_AUX_PAGESIZE): Likewise.
32560 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32561 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32562 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32564 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32568 the temporary buffer used to invoke __gethostbyname2_r,
32569 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32570 host_data / struct gaih_addrtuple.
32571 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32572 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32573 header file nss/nsswitch.h.
32574 * nss/nsswitch.h (global scope): Add definition of implementation
32575 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32576 resolv/nss_dns/dns-host.c).
32578 2012-07-11 Andreas Jaeger <aj@suse.de>
32580 * po/fr.po: Update from translation team.
32582 * po/sv.po: Update from translation team
32583 * po/fr.po: Another update from translation team.
32585 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32587 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32588 for subnormals or multiply small sinh result by itself.
32589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32592 2012-07-11 David S. Miller <davem@davemloft.net>
32594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32596 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32599 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32600 (INTERNAL_MARK): Shift it here.
32602 2012-07-10 Marek Polacek <polacek@redhat.com>
32605 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32606 libc_cv_asm_global_directive with .globl.
32607 * configure: Regenerated.
32608 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32610 * sysdeps/i386/configure: Regenerated.
32611 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32613 * sysdeps/x86_64/configure: Regenerated.
32614 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32615 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32616 * elf/tst-unique2mod2.c: Likewise.
32617 * elf/tst-unique2mod1.c: Likewise.
32618 * elf/tst-unique1mod2.c: Likewise.
32619 * elf/tst-unique1mod1.c: Likewise.
32620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32621 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32623 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32624 * sysdeps/mach/sysdep.h: Likewise.
32625 * sysdeps/i386/sysdep.h: Likewise.
32626 * sysdeps/i386/i386-mcount.S: Likewise.
32627 * sysdeps/x86_64/_mcount.S: Likewise.
32628 * sysdeps/x86_64/sysdep.h: Likewise.
32629 * sysdeps/sh/_mcount.S: Likewise.
32630 * sysdeps/sh/sysdep.h: Likewise.
32631 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32632 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32633 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32634 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32635 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32636 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32637 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32638 * locale/localeinfo.h: Likewise.
32639 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32640 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32642 2012-07-09 Roland McGrath <roland@hack.frob.com>
32645 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32647 * manual/message.texi (The Uniforum approach): Likewise.
32648 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32649 (glibc iconv Implementation): Likewise.
32651 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32654 * math/s_clog.c (__clog): Avoid scaling a value down where that
32655 could result in underflow.
32656 * math/s_clog10.c (__clog10): Likewise.
32657 * math/s_clog10f.c (__clog10f): Likewise.
32658 * math/s_clog10l.c (__clog10l): Likewise.
32659 * math/s_clogf.c (__clogf): Likewise.
32660 * math/s_clogl.c (__clogl): Likewise.
32661 * math/libm-test.inc (clog_test): Add more tests.
32662 (clog10_test): Likewise.
32663 * sysdeps/i386/fpu/libm-test-ulps: Update.
32664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32666 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32669 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32670 by 7 not 8 to examine high bit of fractional part.
32673 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32674 for call to __mcount_internal.
32675 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32676 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32677 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32679 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32682 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32683 approximation for values within 0x1p-13f of an odd multiple of
32685 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32686 exception. Add more tests.
32687 * sysdeps/i386/fpu/libm-test-ulps: Update.
32690 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32691 inputs and return -1 for them. Do not check for +Inf in case not
32692 reachable for +Inf.
32693 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32694 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32696 and return -1 for them. Do not check for +Inf in case not
32697 reachable for +Inf.
32698 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32700 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32701 and return -1 for them. Do not check for +Inf in case not
32702 reachable for +Inf.
32703 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32704 spurious underflow.
32705 * sysdeps/i386/fpu/libm-test-ulps: Update.
32706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32708 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32710 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32712 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32716 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32717 could result in spurious underflow. Scale down values above
32718 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32719 * math/s_csqrtf.c (__csqrtf): Likewise.
32720 * math/s_csqrtl.c (__csqrtl): Likewise.
32721 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32722 spurious underflow.
32723 * sysdeps/i386/fpu/libm-test-ulps: Update.
32724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32726 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32728 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32730 * catgets/xopen-msg.awk: New file.
32731 * catgets/xopen-msg.sed: Removed.
32733 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32735 * intl/po2test.awk: New file.
32736 * intl/po2test.sed: Removed.
32738 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32741 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32742 or multiply small sinh result by itself.
32743 * math/s_ctanf.c (__ctanf): Likewise.
32744 * math/s_ctanh.c (__ctanh): Likewise.
32745 * math/s_ctanhf.c (__ctanhf): Likewise.
32746 * math/s_ctanhl.c (__ctanhl): Likewise.
32747 * math/s_ctanl.c (__ctanl): Likewise.
32748 * math/libm-test.inc (ctan_test_tonearest): New function.
32749 (ctan_test_towardzero): Likewise.
32750 (ctan_test_downward): Likewise.
32751 (ctan_test_upward): Likewise.
32752 (ctanh_test_tonearest): Likewise.
32753 (ctanh_test_towardzero): Likewise.
32754 (ctanh_test_downward): Likewise.
32755 (ctanh_test_upward): Likewise.
32756 (main): Call these new functions.
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32760 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32762 * .gitignore: Delete /ports entry.
32764 2012-07-03 Andreas Jaeger <aj@suse.de>
32766 * po/bg.po: Update from translation team.
32767 * po/cs.po: Likewise.
32768 * po/de.po: Likewise.
32769 * po/hr.po: Likewise.
32770 * po/nl.pl: Likewise.
32771 * po/pl.po: Likewise.
32772 * po/vi.po: Likewise.
32774 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32776 * Makeconfig [!+link] (+link-before-libc): New variable.
32777 [!+link] (+link-after-libc): Likewise.
32778 [!+link] (+link-tests): Likewise.
32779 [!+link] (+link): Define in terms of $(+link-before-libc) and
32780 $(+link-after-libc).
32781 [!+link-static] (+link-static-before-libc): New variable.
32782 [!+link-static] (+link-static-after-libc): Likewise.
32783 [!+link-static] (+link-static-tests): Likewise.
32784 [!+link-static] (+link-static): Define in terms of
32785 $(+link-static-before-libc) and $(+link-static-after-libc).
32786 [build-shared] (link-libc-before-gnulib): New variable.
32787 [build-shared] (link-libc-tests): Likewise.
32788 [build-shared] (link-libc): Define in terms of
32789 $(link-libc-before-gnulib).
32790 [!build-shared] (link-libc-tests): New variable.
32791 (link-libc-static-tests): New variable.
32792 [!gnulib] (gnulib-arch): New variable.
32793 [!gnulib] (gnulib-tests): Likewise.
32794 [!gnulib] (static-gnulib-arch): Likewise.
32795 [!gnulib] (static-gnulib-tests): Likewise.
32796 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32797 Define with "=" instead of ":=".
32798 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32799 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32800 * Rules (binaries-all-notests): New variable.
32801 (binaries-all-tests): Likewise.
32802 (binaries-static-notests): Likewise.
32803 (binaries-static-tests): Likewise.
32804 (binaries-all): Define using $(binaries-all-notests) and
32805 $(binaries-all-tests).
32806 (binaries-static): Define using $(binaries-static-notests) and
32807 $(binaries-static-tests).
32808 (binaries-shared-tests): New variable.
32809 (binaries-shared-notests): Likewise.
32810 (binaries-shared): Remove variable.
32811 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32812 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32813 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32814 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32815 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32816 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32817 * elf/Makefile (sln-modules): New variable.
32818 (extra-objs): Add $(sln-modules:=.o).
32819 (ldconfig-modules): Add static-stubs.
32820 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32821 * elf/static-stubs.c: New file.
32824 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32825 by 7 not 8 to examine high bit of fractional part. Use volatile
32826 variables when splitting into final array of floats if
32827 __FLT_EVAL_METHOD__ != 0.
32828 * math/libm-test.inc (cos_test): Add another test.
32829 (sin_test): Likewise.
32830 * sysdeps/i386/fpu/libm-test-ulps: Update.
32833 * math/libm-test.inc (cosh_test): Add more tests.
32835 * version.h (RELEASE): Set to "development".
32836 (VERSION): Set to "2.16.90".
32838 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32840 * NEWS: Update copyright. Remove last-updated date.
32841 Mention math library bug fixes and timezone data changes.
32842 * README: Mention GNU/Hurd, x32, and HPPA support status.
32844 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32846 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32848 2012-06-27 Andreas Jaeger <aj@suse.de>
32850 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32852 2012-06-25 Andreas Jaeger <aj@suse.de>
32854 * sysdeps/s390/fpu/libm-test-ulps: Update.
32856 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32857 Thomas Schwinge <thomas@codesourcery.com>
32859 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32860 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32864 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32866 * sysdeps/mach/start.c: Remove file.
32867 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32868 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32869 * sysdeps/sh/init-first.c: Likewise.
32871 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32872 registers for frame unwinding purposes, add CFI directives.
32873 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32874 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32875 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32878 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32879 __fortify_fail returning.
32880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32883 sysdeps/sh/____longjmp_chk.S.
32884 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32885 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32886 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32887 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32889 * sysdeps/sh/abort-instr.h: New file.
32890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32891 process in case exit returns.
32893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32894 initialize the GOT register before use.
32896 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32897 calculation of ARGC > 4.
32899 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32900 meaningful names to some local labels.
32902 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32903 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32905 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32906 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32907 (__arch_compare_and_exchange_val_16_acq): Likewise.
32908 (__arch_compare_and_exchange_val_32_acq): Likewise.
32909 (atomic_exchange_and_add): Fix gUSA sequence.
32910 (atomic_add): Likewise.
32911 (atomic_add_negative): Likewise.
32912 (atomic_add_zero): Likewise.
32913 (atomic_bit_test_set): Likewise.
32915 2012-06-22 Andreas Schwab <schwab@redhat.com>
32918 * include/link.h (struct link_map): Add l_free_initfini.
32919 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32921 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32922 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32923 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32926 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32928 * configure.in: Use AC_LANG_SOURCE.
32929 * configure: Regenerate.
32931 2012-06-22 Roland McGrath <roland@hack.frob.com>
32933 * configure.in (libc_cv_localstatedir): New substituted variable.
32934 * configure: Regenerated.
32935 * config.make.in (localstatedir): New variable, substituted from
32936 libc_cv_localstatedir.
32937 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32938 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32939 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32940 * sysdeps/gnu/configure: Regenerated.
32942 2012-06-21 Jeff Law <law@redhat.com>
32945 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32946 free. Simplify list management for _LIBC case.
32948 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32952 Clear sign bit of 64-bit integer value before comparing against
32955 * sysdeps/mach/configure: Regenerated.
32957 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32960 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32962 2012-06-21 Jeff Law <law@redhat.com>
32965 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32966 uint16_t for elements in the "seen" array to avoid char overflows.
32967 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32968 * elf/dl-open.c (dl_open_worker): Likewise.
32970 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32972 * scripts/list-sources.sh: Scan PORTS for translations.
32973 * po/libc.pot: Regenerated.
32975 2012-06-21 Andreas Jaeger <aj@suse.de>
32978 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32980 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32981 * bits/byteswap-16.h (__bswap_16): Likewise.
32982 * bits/byteswap.h (__bswap_constant_16): Likewise.
32984 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32987 * sysdeps/i386/fpu_control.h: Removed.
32988 * sysdeps/x86_64/fpu_control.h: Moved to ...
32989 * sysdeps/x86/fpu_control.h: Here.
32991 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32992 (_FPU_SETCW): Likewise.
32994 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32997 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32998 * sysdeps/x86/fpu/bits/mathinline.h: This.
32999 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33003 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33004 functions if __x86_64__ is defined.
33006 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33008 * string/endian.h: Add !__ASSEMBLER__ condition for including
33009 conversion interfaces.
33011 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33015 of ABS(x) in calculating zero to negative powers other than odd
33017 * math/libm-test.inc (pow_test): Add more tests.
33019 2012-06-15 Andreas Jaeger <aj@suse.de>
33021 * manual/contrib.texi (Contributors): Update entry of Liubov
33022 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33025 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33027 * string/string.h: Add __wur to GNU version of strerror_r.
33029 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33032 * string/Makefile (tests): Add tst-strtok_r.
33033 * string/tst-strtok_r.c: New file.
33034 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33035 RAX_LP/RDX_LP on SAVE_PTR.
33037 2012-06-14 Roland McGrath <roland@hack.frob.com>
33039 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33041 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33043 * libm_test.inc (csqrt_test): Allow more spurious underflow
33045 (j0_test): Likewise.
33046 (j1_test): Likewise.
33047 (y0_test): Likewise.
33048 (y1_test): Likewise.
33050 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33052 * po/Makefile (libc.pot): Use UTF-8 charset.
33054 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33057 Suppress sign-conversion warning from FD_SET.
33058 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33059 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33060 not unsigned long int.
33061 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33063 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33067 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33068 __extern_always_inline instead of __extern_inline.
33069 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33070 (__signbit): Likewise.
33071 (__signbitl): Support C++ namespace.
33072 (lrintf): New inline function.
33074 (llrintf): Likewise.
33075 (llrint): Likewise.
33085 (floorf): Likewise.
33086 (nearbyint): Likewise.
33087 (nearbyintf): Likewise.
33089 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33092 non-default versions.
33094 2012-06-11 Roland McGrath <roland@hack.frob.com>
33097 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33099 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33101 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33102 (FE_UPWARD, FE_DOWNWARD): Don't define.
33103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33106 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33108 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33109 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33111 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33113 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33115 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33116 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33118 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33121 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33122 * sysdeps/i386/fpu/Implies: New file.
33123 * sysdeps/x86_64/fpu/Implies: Likewise.
33124 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33125 * sysdeps/x86/fpu/bits/fenv.h: This.
33127 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33130 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33133 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33134 character 0xffff that matches the last element of the
33137 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33142 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33145 values higher than 25.6283.
33147 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33150 subnormal exponent extraction and add some __builtin_expect.
33151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33152 Fix for subnormal mantissa calculation.
33154 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33156 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33157 cpu2 is -1 and errno is not ENOSYS.
33159 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33162 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33163 * sysdeps/x86/bits/string.h: This.
33164 * sysdeps/x86_64/bits/string.h: Removed.
33166 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33167 if not compiling for x86-64, but compiling for >= i486.
33169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33170 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33173 New macro from Linux kernel 3.4.0.
33174 (FP_XSTATE_MAGIC2): Likewise.
33175 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33176 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33177 (struct _fpx_sw_bytes): New struct.
33178 (struct _xsave_hdr): Likewise.
33179 (struct _ymmh_state): Likewise.
33180 (struct _xstate): Likewise.
33182 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33183 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33184 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33185 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33186 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33187 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33189 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33190 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33191 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33192 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33193 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33194 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33196 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33199 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33200 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33201 (sysdep_headers): Include sys/platform/ppc.h.
33202 * sysdeps/powerpc/test-gettimebase.c: Test for
33203 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33204 * manual/Makefile (appendices): Include platform.texi.
33205 * manual/contrib.texi (Contributors): Update @node pointers.
33206 * manual/maint.texi (Maintenance): Likewise.
33207 (Platform): New node.
33208 * manual/platform.texi: New file. Document the new features.
33210 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33211 Jakub Jelinek <jakub@redhat.com>
33214 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33215 where __builtin_expect is unavailable.
33217 2012-06-03 David S. Miller <davem@davemloft.net>
33219 * stdlib/longlong.h: Updated from GCC.
33221 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33224 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33225 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33228 (GLIBC_2.16): Likewise.
33230 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33234 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33237 (default-abi): New variable.
33238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33239 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33241 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33243 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33245 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33248 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33249 definition. Document in comment.
33251 2012-06-01 David S. Miller <davem@davemloft.net>
33253 * stdlib/longlong.h: Updated from GCC.
33255 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33259 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33260 sys/debugreg.h sys/io.h here.
33261 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33262 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33264 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33265 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33266 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33267 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33268 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33269 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33272 Define only if __x86_64__ is defined.
33274 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33278 Use int64_t for variable i.
33279 * math/libm-test.inc (fmod_test): Add more tests.
33281 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33282 z computation is not scheduled after fetestexcept.
33283 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33284 Use math_force_eval instead of asm to ensure calculation scheduled
33285 before exception test.
33286 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33287 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33289 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33292 computation is not scheduled after fetestexcept.
33294 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33297 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33298 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33300 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33302 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33303 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33305 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33308 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33310 (__WCHAR_MIN): Support __WORDSIZE == 64.
33311 (__WCHAR_MAX): Likewise.
33313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33314 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33318 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33321 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33322 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33324 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33325 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33327 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33328 Defined to 1 if __x86_64__ isn't defined.
33329 (_STAT_VER_LINUX_OLD): New.
33330 (st_atime): Remove duplicate.
33331 (st_mtime): Likewise.
33332 (st_ctime): Likewise.
33334 2012-05-31 David S. Miller <davem@davemloft.net>
33336 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33339 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33341 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33345 * elf/dl-reloc.c: Include <_itoa.h>.
33346 (_dl_reloc_bad_type): Remove use of INTUSE.
33347 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33348 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33349 * stdio-common/psiginfo.c (psiginfo): Likewise.
33350 * stdio-common/psignal.c (psignal): Likewise.
33351 * string/strsignal.c (strsignal): Likewise.
33352 * include/signal.h (_sys_siglist): Declare hidden proto.
33353 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33354 INTVARDEF with libc_hidden_data_def.
33355 * stdio-common/itoa-udigits.c: Likewise.
33356 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33357 (_itoa_lower_digits_internal): Remove declaration.
33358 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33359 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33360 (_sys_sigabbrev_internal): Remove aliases.
33361 (_sys_siglist): Define hidden alias.
33363 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33368 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33371 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33372 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33374 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33375 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33376 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33377 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33379 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33381 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33382 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33383 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33395 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33397 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33400 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33401 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33402 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33404 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33405 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33407 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33408 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33411 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33412 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33414 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33415 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33417 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33419 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33420 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33421 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33423 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33425 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33427 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33429 * math/math.h (M_El): Use two more decimal places.
33430 (M_LOG2El): Likewise.
33431 (M_LOG10El): Likewise.
33432 (M_LN2l): Likewise.
33433 (M_LN10l): Likewise.
33435 (M_PI_2l): Likewise.
33436 (M_PI_4l): Likewise.
33437 (M_1_PIl): Likewise.
33438 (M_2_PIl): Likewise.
33439 (M_2_SQRTPIl): Likewise.
33440 (M_SQRT2l): Likewise.
33441 (M_SQRT1_2l): Likewise.
33443 2012-05-31 David S. Miller <davem@davemloft.net>
33445 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33446 values between float registers.
33447 * sysdeps/sparc/sparc64/memset.S: Likewise.
33448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33450 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33452 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33453 -D_FORTIFY_SOURCE=1.
33454 (CPPFLAGS-tst-longjmp_chk.c): Define.
33455 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33456 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33457 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33458 CFLAGS-tst-wchar-h.c.
33460 2012-05-31 Marek Polacek <polacek@redhat.com>
33463 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33464 __endmntent_internal): Remove declaration.
33465 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33466 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33467 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33469 2012-05-30 David S. Miller <davem@davemloft.net>
33471 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33472 (___Q_simulate_exceptions): Use real FP ops rather than writing
33474 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33477 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33480 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33481 * sysdeps/x86/bits/xtitypes.h: This.
33483 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33484 * sysdeps/x86/bits/wordsize.h: This.
33486 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33487 * sysdeps/x86/bits/huge_vall.h: This.
33489 * sysdeps/i386/bits/select.h: Removed.
33490 * sysdeps/x86_64/bits/select.h: Renamed to ...
33491 * sysdeps/x86/bits/select.h: This.
33493 * sysdeps/i386/bits/setjmp.h: Removed.
33494 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33495 * sysdeps/x86/bits/setjmp.h: This.
33497 * sysdeps/i386/bits/mathdef.h: Removed.
33498 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33499 * sysdeps/x86/bits/mathdef.h: This.
33501 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33504 * include/sys/socket.h (__connect_internal)
33505 (__libc_sa_len_internal): Remove declaration.
33506 (__connect, __libc_sa_len): Declare hidden_proto.
33507 (SA_LEN): Remove use of INTUSE.
33508 * socket/connect.c: Add libc_hidden_def.
33509 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33510 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33511 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33513 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33514 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33515 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33516 of adding _internal alias.
33518 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33521 * sysdeps/i386/bits/link.h: Removed.
33522 * sysdeps/i386/bits/linkmap.h: Likewise.
33523 * sysdeps/x86_64/bits/link.h: Renamed to ...
33524 * sysdeps/x86/bits/link.h: This.
33525 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33526 * sysdeps/x86/bits/linkmap.h: This.
33528 * sysdeps/i386/bits/endian.h: Removed.
33529 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33530 * sysdeps/x86/bits/endian.h: This.
33532 * sysdeps/i386/bits/byteswap.h: Removed.
33533 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33534 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33535 * sysdeps/x86/bits/byteswap.h: This.
33536 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33537 * sysdeps/x86/bits/byteswap-16.h: This.
33538 * sysdeps/i386/Implies: Add x86.
33539 * sysdeps/x86_64/Implies: Likewise.
33541 2012-05-30 David S. Miller <davem@davemloft.net>
33543 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33544 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33545 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33546 (FP_TRAPPING_EXCEPTIONS): Define.
33547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33548 (FP_TRAPPING_EXCEPTIONS): Define.
33549 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33550 subnormals only when inexact has been signalled or underflow
33551 exceptions are enabled.
33552 (_FP_PACK_CANONICAL): Likewise.
33554 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33558 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33560 2012-05-30 Richard Henderson <rth@twiddle.net>
33562 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33563 with #ifndef NOT_IN_libc.
33565 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33566 marked to avoid plt entry.
33568 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33571 * Makeconfig (default-abi): New macro.
33572 (abi-includes): Likewise.
33573 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33574 $(abi-$(default-abi)-lib-soname) for soname if defined.
33575 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33577 * Makefile (installed-stubs): Likewise.
33578 * include/stubs-biarch.h: Removed.
33579 * scripts/lib-names.awk: Only handle one library at a time.
33580 * scripts/soversions.awk: Remove WORDSIZE support.
33581 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33583 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33585 (syscall-list-default-condition): Likewise.
33586 (syscall-list-default-condition): Likewise.
33587 (syscall-list-includes): Likewise.
33588 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33589 syscall-list-* with abi-*. Handle undefined abi-variants.
33590 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33591 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33592 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33593 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33595 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33597 (syscall-list-32-options): Likewise.
33598 (syscall-list-32-condition): Likewise.
33599 (syscall-list-64-options): Likewise.
33600 (syscall-list-64-condition): Likewise.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33603 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33606 (abi-64-ld-soname): New macro.
33607 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33608 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33611 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33612 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33614 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33616 * sysdeps/unix/sysv/linux/kernel-features.h
33617 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33618 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33619 include <kernel-features.h>.
33620 [!__NR_ftruncate64]: Remove conditional code.
33621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33622 [__NR_ftruncate64]: Make code unconditional.
33623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33624 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33625 include <kernel-features.h>.
33626 [!__NR_ftruncate64]: Remove conditional code.
33627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33628 [__NR_ftruncate64]: Make code unconditional.
33629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33631 include <kernel-features.h>.
33632 [!__NR_ftruncate64]: Remove conditional code.
33633 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33634 [__NR_ftruncate64]: Make code unconditional.
33635 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33637 include <kernel-features.h>.
33638 [!__NR_ftruncate64]: Remove conditional code.
33639 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33640 [__NR_ftruncate64]: Make code unconditional.
33641 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33643 * configure.in (libc_cv_fpie): Weaken to a compile test using
33644 LIBC_TRY_CC_OPTION.
33645 * configure: Regenerated.
33647 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33662 2012-05-27 David S. Miller <davem@davemloft.net>
33664 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33666 (__Q_simulate_exceptions): Return void. Change to simulate
33667 exceptions by writing into the %fsr.
33668 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33669 (__Qp_handle_exceptions): Likewise.
33671 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33672 __Qp_handle_exceptions.
33673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33674 __Qp_handle_exceptions.
33675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33676 as unused and give dummy FP_RND_NEAREST initializer.
33677 (FP_INHIBIT_RESULTS): Define.
33678 (___Q_simulate_exceptions): Update declaration.
33679 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33681 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33682 as unused and give dummy FP_RND_NEAREST initializer.
33683 (__Qp_handle_exceptions): Update declaration.
33684 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33687 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33689 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33690 the temporary FPU control word.
33691 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33692 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33694 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33695 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33696 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33697 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33699 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33700 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33701 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33703 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33705 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33708 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33710 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33711 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33712 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33713 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33715 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33716 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33719 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33721 * po/h.po: Update from translation team.
33723 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33725 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33727 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33728 handling of denormals.
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33730 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33738 2012-05-26 Marek Polacek <polacek@redhat.com>
33741 * math/libm-test.inc (fma_test): Don't always expect underflow
33744 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33747 * elf/tst-execstack.c: Include stackinfo.h.
33748 (do_test): Adjust test case to ensure that pthread_getattr_np
33749 behaviour remains the same after marking stack executable.
33751 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33753 * sysdeps/unix/sysv/linux/kernel-features.h
33754 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33755 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33757 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33758 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33759 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33761 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33762 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33764 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33766 * configure.in: Define the default includes to being none.
33767 * configure: Regenerated.
33769 2012-05-25 Roland McGrath <roland@hack.frob.com>
33771 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33772 * sysdeps/x86_64/setjmp.S: Likewise.
33773 * sysdeps/i386/bsd-setjmp.S: Likewise.
33774 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33775 * sysdeps/i386/setjmp.S: Likewise.
33776 * sysdeps/i386/__longjmp.S: Likewise.
33777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33778 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33780 * include/stap-probe.h: New file.
33781 * configure.in: Handle --enable-systemtap.
33782 * configure: Regenerated.
33783 * config.h.in (USE_STAP_PROBE): New #undef.
33784 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33785 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33786 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33788 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33792 to 2.4.0 where earlier.
33793 * sysdeps/unix/sysv/linux/configure: Regenerated.
33794 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33795 <kernel-features.h>.
33796 [__ASSUME_32BITUIDS]: Make code unconditional.
33797 [!__ASSUME_32BITUIDS]: Remove conditional code.
33798 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33799 <kernel-features.h>.
33800 [__ASSUME_32BITUIDS]: Make code unconditional.
33801 [!__ASSUME_32BITUIDS]: Remove conditional code.
33802 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33803 [__ASSUME_32BITUIDS]: Make code unconditional.
33804 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33805 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33806 <kernel-features.h>.
33807 [__ASSUME_32BITUIDS]: Make code unconditional.
33808 [!__ASSUME_32BITUIDS]: Remove conditional code.
33809 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33810 <kernel-features.h>.
33811 [__ASSUME_32BITUIDS]: Make code unconditional.
33812 [!__ASSUME_32BITUIDS]: Remove conditional code.
33813 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33814 <kernel-features.h>.
33815 [__ASSUME_32BITUIDS]: Make code unconditional.
33816 [!__ASSUME_32BITUIDS]: Remove conditional code.
33817 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33818 <kernel-features.h>.
33819 [__ASSUME_32BITUIDS]: Make code unconditional.
33820 [!__ASSUME_32BITUIDS]: Remove conditional code.
33821 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33822 <kernel-features.h>.
33823 [__ASSUME_32BITUIDS]: Make code unconditional.
33824 [!__ASSUME_32BITUIDS]: Remove conditional code.
33825 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33826 <kernel-features.h>.
33827 [__ASSUME_32BITUIDS]: Make code unconditional.
33828 [!__ASSUME_32BITUIDS]: Remove conditional code.
33829 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33830 <kernel-features.h>.
33831 [__ASSUME_32BITUIDS]: Make code unconditional.
33832 [!__ASSUME_32BITUIDS]: Remove conditional code.
33833 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33834 <kernel-features.h>.
33835 [__ASSUME_32BITUIDS]: Make code unconditional.
33836 [!__ASSUME_32BITUIDS]: Remove conditional code.
33837 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33838 <kernel-features.h>.
33839 [__ASSUME_32BITUIDS]: Make code unconditional.
33840 [!__ASSUME_32BITUIDS]: Remove conditional code.
33841 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33842 <kernel-features.h>.
33843 [__ASSUME_32BITUIDS]: Make code unconditional.
33844 [!__ASSUME_32BITUIDS]: Remove conditional code.
33845 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33846 <kernel-features.h>.
33847 [__NR_setresgid] (__setresgid): Do not declare.
33848 [__ASSUME_32BITUIDS]: Make code unconditional.
33849 [!__ASSUME_32BITUIDS]: Remove conditional code.
33850 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33851 <kernel-features.h>.
33852 [__NR_setresuid] (__setresuid): Do not declare.
33853 [__ASSUME_32BITUIDS]: Make code unconditional.
33854 [!__ASSUME_32BITUIDS]: Remove conditional code.
33855 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33856 <kernel-features.h>.
33857 [__ASSUME_32BITUIDS]: Make code unconditional.
33858 [!__ASSUME_32BITUIDS]: Remove conditional code.
33859 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33860 <kernel-features.h>.
33861 [__ASSUME_32BITUIDS]: Make code unconditional.
33862 [!__ASSUME_32BITUIDS]: Remove conditional code.
33863 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33864 <kernel-features.h>.
33865 [__ASSUME_32BITUIDS]: Make code unconditional.
33866 [!__ASSUME_32BITUIDS]: Remove conditional code.
33867 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33868 <kernel-features.h>.
33869 [__ASSUME_32BITUIDS]: Make code unconditional.
33870 [!__ASSUME_32BITUIDS]: Remove conditional code.
33871 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33872 <kernel-features.h>.
33873 [__ASSUME_32BITUIDS]: Make code unconditional.
33874 [!__ASSUME_32BITUIDS]: Remove conditional code.
33875 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33876 <kernel-features.h>.
33877 [__ASSUME_32BITUIDS]: Make code unconditional.
33878 [!__ASSUME_32BITUIDS]: Remove conditional code.
33879 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33880 <kernel-features.h>.
33881 [__ASSUME_32BITUIDS]: Make code unconditional.
33882 [!__ASSUME_32BITUIDS]: Remove conditional code.
33883 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33884 <kernel-features.h>.
33885 [__ASSUME_32BITUIDS]: Make code unconditional.
33886 [!__ASSUME_32BITUIDS]: Remove conditional code.
33887 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33888 <kernel-features.h>.
33889 [__ASSUME_32BITUIDS]: Make code unconditional.
33890 [!__ASSUME_32BITUIDS]: Remove conditional code.
33891 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33892 <kernel-features.h>.
33893 [__ASSUME_32BITUIDS]: Make code unconditional.
33894 [!__ASSUME_32BITUIDS]: Remove conditional code.
33895 * sysdeps/unix/sysv/linux/kernel-features.h
33896 (__ASSUME_SETRESUID_SYSCALL): Remove.
33897 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33898 (__ASSUME_32BITUIDS): Likewise.
33899 (__ASSUME_LDT_WORKS): Likewise.
33900 (__ASSUME_O_DIRECTORY): Likewise.
33901 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33902 architecture but not kernel version.
33903 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33904 (__ASSUME_MMAP2_SYSCALL): Likewise.
33905 (__ASSUME_STAT64_SYSCALL): Likewise.
33906 (__ASSUME_IPC64): Likewise.
33907 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33908 <kernel-features.h>.
33909 [__ASSUME_32BITUIDS]: Make code unconditional.
33910 [!__ASSUME_32BITUIDS]: Remove conditional code.
33911 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33912 <kernel-features.h>.
33913 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33914 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33915 132096]: Remove conditional code.
33916 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33917 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33918 <kernel-features.h>.
33919 [__ASSUME_32BITUIDS]: Make code unconditional.
33920 [!__ASSUME_32BITUIDS]: Remove conditional code.
33921 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33922 <kernel-features.h>.
33923 [__ASSUME_32BITUIDS]: Make code unconditional.
33924 [!__ASSUME_32BITUIDS]: Remove conditional code.
33925 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33926 <kernel-features.h>.
33927 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33929 (__setresgid): Do not declare.
33930 [__ASSUME_32BITUIDS]: Make code unconditional.
33931 [!__ASSUME_32BITUIDS]: Remove conditional code.
33932 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33933 <kernel-features.h>.
33934 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33936 (__setresuid): Do not declare.
33937 [__ASSUME_32BITUIDS]: Make code unconditional.
33938 [!__ASSUME_32BITUIDS]: Remove conditional code.
33939 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33940 <kernel-features.h>.
33941 [__ASSUME_32BITUIDS]: Make code unconditional.
33942 [!__ASSUME_32BITUIDS]: Remove conditional code.
33943 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33944 <kernel-features.h>.
33945 [__ASSUME_32BITUIDS]: Make code unconditional.
33946 [!__ASSUME_32BITUIDS]: Remove conditional code.
33948 2012-05-25 Richard Henderson <rth@twiddle.net>
33950 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33951 dl_hwcap to ifunc resolver.
33952 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33954 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33955 dl_hwcap to ifunc resolver.
33956 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33958 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33961 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33962 for |x| <= 2**-26, not 2**-57.
33963 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33966 2012-05-24 Jeff Law <law@redhat.com>
33968 * stdio-common/Makefile (tests): Add bug25.
33969 * stdio-common/bug25.c: New test.
33971 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33974 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33975 multiple of MALLOC_ALIGNMENT in size.
33976 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33978 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33980 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33982 (FILENAME_MAX): Use macro-int-constant.
33983 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33984 (_IOFBF): Use macro-int-constant.
33985 (_IOLBF): Likewise.
33986 (_IONBF): Likewise.
33987 (SEEK_CUR): Likewise.
33988 (SEEK_END): Likewise.
33989 (SEEK_SET): Likewise.
33990 (TMP_MAX): Likewise.
33991 (EOF): Use macro-int-constant. Require < 0.
33992 (NULL): Use macro-constant. Require == 0.
33993 (stdin): Require type to be FILE *.
33994 (stdout): Likewise.
33995 (stderr): Likewise.
33996 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33997 macro-int-constant.
33998 (EXIT_SUCCESS): Likewise.
33999 (NULL): Use macro-constant. Require == 0.
34000 (RAND_MAX): Use macro-int-constant.
34001 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34002 [C99-based standards] (strtof): Require function.
34003 [C99-based standards] (strtold): Likewise.
34004 [C99-based standards] (strtoll): Likewise.
34005 [C99-based standards] (strtoull): Likewise.
34006 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34007 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34008 [ISO || ISO99 || ISO11] (math.h): Likewise.
34009 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34010 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34013 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34016 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34017 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34018 * intl/dgettext.c (DCGETTEXT): Likewise.
34019 * intl/gettext.c (DCGETTEXT): Likewise.
34020 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34021 * posix/regex_internal.h (gettext): Likewise.
34022 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34023 Remove declaration.
34024 * include/argz.h (__argz_count_internal)
34025 (__argz_stringify_internal): Remove declaration.
34026 (__argz_count, __argz_stringify): Declare hidden proto.
34027 * intl/dcgettext.c: Remove use of INTDEF.
34028 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34029 * string/argz-stringify.c: Likewise.
34030 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34031 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34032 Declare hidden proto.
34033 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34034 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34035 Declare hidden proto.
34036 * include/stdio.h (__asprintf_internal): Don't declare.
34037 (__asprintf): Don't define as macro. Declare hidden proto.
34038 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34039 (__fsetlocking): Declare hidden proto.
34040 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34041 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34043 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34044 (_IO_setlinebuf): Remove use of INTUSE.
34045 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34046 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34047 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34048 Remove declaration.
34049 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34050 (_IO_do_flush): Remove use of INTUSE.
34051 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34052 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34053 (_IO_adjust_column, _IO_least_wmarker)
34054 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34055 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34056 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34057 (_IO_default_doallocate, _IO_wdefault_doallocate)
34058 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34059 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34060 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34061 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34062 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34063 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34064 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34065 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34066 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34067 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34068 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34069 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34070 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34072 (_IO_flush_all_internal, _IO_adjust_column_internal)
34073 (_IO_default_uflow_internal, _IO_default_finish_internal)
34074 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34075 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34076 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34077 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34078 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34079 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34080 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34081 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34082 (_IO_file_close_internal, _IO_file_close_it_internal)
34083 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34084 (_IO_file_init_internal, _IO_file_attach_internal)
34085 (_IO_file_fopen_internal, _IO_file_read_internal)
34086 (_IO_file_sync_internal, _IO_file_seek_internal)
34087 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34088 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34089 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34090 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34091 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34092 (_IO_list_all_internal, _IO_link_in_internal)
34093 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34094 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34095 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34096 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34097 (_IO_do_write_internal, _IO_padn_internal)
34098 (_IO_getline_info_internal, _IO_getline_internal)
34099 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34100 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34101 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34102 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34103 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34104 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34105 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34106 with libc_hidden_ver, remove use of INTUSE.
34107 * libio/genops.c: Likewise.
34108 * libio/freopen.c: Likewise.
34109 * libio/freopen64.c: Likewise.
34110 * libio/iofclose.c: Likewise.
34111 * libio/iofdopen.c: Likewise.
34112 * libio/iofflush.c: Likewise.
34113 * libio/iofflush_u.c: Likewise.
34114 * libio/iofgets.c: Likewise.
34115 * libio/iofgets_u.c: Likewise.
34116 * libio/iofopen.c: Likewise.
34117 * libio/iofopncook.c: Likewise.
34118 * libio/iofread.c: Likewise.
34119 * libio/iofread_u.c: Likewise.
34120 * libio/ioftell.c: Likewise.
34121 * libio/iofwrite.c: Likewise.
34122 * libio/iogetline.c: Likewise.
34123 * libio/iogets.c: Likewise.
34124 * libio/iogetwline.c: Likewise.
34125 * libio/iopadn.c: Likewise.
34126 * libio/iopopen.c: Likewise.
34127 * libio/ioseekoff.c: Likewise.
34128 * libio/ioseekpos.c: Likewise.
34129 * libio/iosetbuffer.c: Likewise.
34130 * libio/iosetvbuf.c: Likewise.
34131 * libio/ioungetc.c: Likewise.
34132 * libio/ioungetwc.c: Likewise.
34133 * libio/iovdprintf.c: Likewise.
34134 * libio/iovsprintf.c: Likewise.
34135 * libio/iovsscanf.c: Likewise.
34136 * libio/memstream.c: Likewise.
34137 * libio/obprintf.c: Likewise.
34138 * libio/oldfileops.c: Likewise.
34139 * libio/oldiofclose.c: Likewise.
34140 * libio/oldiofdopen.c: Likewise.
34141 * libio/oldiofopen.c: Likewise.
34142 * libio/oldiopopen.c: Likewise.
34143 * libio/oldstdfiles.c: Likewise.
34144 * libio/putc.c: Likewise.
34145 * libio/setbuf.c: Likewise.
34146 * libio/setlinebuf.c: Likewise.
34147 * libio/stdfiles.c: Likewise.
34148 * libio/strops.c: Likewise.
34149 * libio/vasprintf.c: Likewise.
34150 * libio/vscanf.c: Likewise.
34151 * libio/vsnprintf.c: Likewise.
34152 * libio/vswprintf.c: Likewise.
34153 * libio/wfiledoalloc.c: Likewise.
34154 * libio/wfileops.c: Likewise.
34155 * libio/wgenops.c: Likewise.
34156 * libio/wmemstream.c: Likewise.
34157 * libio/wstrops.c: Likewise.
34158 * libio/__fpurge.c: Likewise.
34159 * libio/__fsetlocking.c: Likewise.
34160 * assert/assert.c: Likewise.
34161 * debug/fgets_chk.c: Likewise.
34162 * debug/fgets_u_chk.c: Likewise.
34163 * debug/fread_chk.c: Likewise.
34164 * debug/fread_u_chk.c: Likewise.
34165 * debug/gets_chk.c: Likewise.
34166 * debug/obprintf_chk.c: Likewise.
34167 * debug/vasprintf_chk.c: Likewise.
34168 * debug/vdprintf_chk.c: Likewise.
34169 * debug/vsnprintf_chk.c: Likewise.
34170 * debug/vsprintf_chk.c: Likewise.
34171 * malloc/mtrace.c: Likewise.
34172 * misc/error.c: Likewise.
34173 * misc/syslog.c: Likewise.
34174 * stdio-common/asprintf.c: Likewise.
34175 * stdio-common/fxprintf.c: Likewise.
34176 * stdio-common/getw.c: Likewise.
34177 * stdio-common/isoc99_fscanf.c: Likewise.
34178 * stdio-common/isoc99_scanf.c: Likewise.
34179 * stdio-common/isoc99_vfscanf.c: Likewise.
34180 * stdio-common/isoc99_vscanf.c: Likewise.
34181 * stdio-common/isoc99_vsscanf.c: Likewise.
34182 * stdio-common/printf-prs.c: Likewise.
34183 * stdio-common/printf_fp.c: Likewise.
34184 * stdio-common/printf_fphex.c: Likewise.
34185 * stdio-common/printf_size.c: Likewise.
34186 * stdio-common/putw.c: Likewise.
34187 * stdio-common/scanf.c: Likewise.
34188 * stdio-common/sprintf.c: Likewise.
34189 * stdio-common/tmpfile.c: Likewise.
34190 * stdio-common/vfprintf.c: Likewise.
34191 * stdio-common/vfscanf.c: Likewise.
34192 * stdlib/strfmon_l.c: Likewise.
34193 * sunrpc/openchild.c: Likewise.
34194 * sunrpc/xdr_stdio.c: Likewise.
34195 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34196 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34198 2012-05-24 Roland McGrath <roland@hack.frob.com>
34200 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34202 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34203 in the third column, to generate for the shared library an IFUNC
34204 that uses _dl_vdso_vsym.
34205 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34206 * Makeconfig (object-suffixes-noshared): New variable.
34208 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34209 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34210 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34211 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34214 * include/sys/time.h (__gettimeofday): Remove macro.
34215 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34216 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34218 (__gettimeofday): Add libc_hidden_def.
34219 (gettimeofday): Add libc_hidden_weak.
34220 * sysdeps/mach/gettimeofday.c: Likewise.
34221 * sysdeps/posix/gettimeofday.c: Likewise.
34222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34223 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34225 (__gettimeofday_internal): Remove strong_alias.
34226 (__gettimeofday): Add libc_hidden_def.
34227 (gettimeofday): Add libc_hidden_weak.
34228 * sysdeps/unix/syscalls.list (gettimeofday):
34229 Remove __gettimeofday_internal alias.
34231 2012-05-24 Daniel Jacobowitz <drow@false.org>
34232 H.J. Lu <hongjiu.lu@intel.com>
34235 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34236 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34237 (largebin_index_32_big): New.
34238 (largebin_index): Use it for 16-byte alignment.
34239 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34240 correction with front_misalign.
34242 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34270 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34271 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34273 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34277 * math/libm-test.inc (exp_test): Add test from bug 14036.
34278 (pow_test): Add test from bug 10846.
34280 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34282 (special_function): Do not include flags in test name.
34283 (parse_args): Likewise.
34284 * sysdeps/i386/fpu/libm-test-ulps: Update.
34285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34286 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34287 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34290 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34292 * math/libm-test.inc ("Philosophy"): Update comment about
34294 (UNDERFLOW_EXCEPTION): New macro.
34295 (UNDERFLOW_EXCEPTION_OK): Likewise.
34296 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34297 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34298 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34299 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34300 (INVALID_EXCEPTION_OK): Update value.
34301 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34302 (OVERFLOW_EXCEPTION_OK): Likewise.
34303 (IGNORE_ZERO_INF_SIGN): Likewise.
34304 (test_exceptions): Handle underflow exceptions.
34305 (acos_test): Update for underflow exception expectations.
34306 (cexp_test): Likewise.
34307 (clog_test): Likewise.
34308 (clog10_test): Likewise.
34309 (csqrt_test): Likewise.
34310 (ctan_test): Likewise.
34311 (ctanh_test): Likewise.
34312 (exp_test): Likewise.
34313 (exp10_test): Likewise.
34314 (exp2_test): Likewise.
34315 (expm1_test): Likewise.
34316 (fma_test): Likewise.
34317 (j0_test): Likewise.
34318 (jn_test): Likewise.
34319 (nexttoward_test): Likewise.
34320 (pow_test): Likewise.
34321 (scalbn_test): Likewise.
34322 (scalbln_test): Likewise.
34323 (tan_test): Likewise.
34324 (y1_test): Likewise.
34325 * sysdeps/i386/fpu/libm-test-ulps: Update.
34326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34328 2012-05-23 David S. Miller <davem@davemloft.net>
34330 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34331 (__libc_sigaction): Remove unused local variables.
34333 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34335 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34337 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34339 mktime: avoid signed integer overflow
34340 * time/mktime.c (__mktime_internal): Do not mishandle the case
34341 where diff == INT_MIN.
34343 mktime: simplify computation of average
34344 * time/mktime.c (ranged_convert): Use new time_t_avg function
34345 instead of rolling our own (probably-slower) code.
34347 mktime: do not assume signed right shift propagates sign bit
34348 * time/mktime.c (isdst_differ): New static function.
34349 (__mktime_internal): No need to normalize tm_isdst now.
34350 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34353 mktime: merge another wrapv change from gnulib
34354 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34355 from some compilers.
34357 mktime: remove incorrect attempt at unusual arithmetics
34358 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34359 The code didn't really work on such machines anyway.
34360 (TYPE_MINIMUM): Assume two's complement.
34361 (twos_complement_arithmetic): Verify that long_int and time_t
34362 are two's complement (or unsigned, in the latter case).
34364 mktime: check signed shifts on long_int and time_t, too
34365 * time/mktime.c (SHR): Check that shifts work as desired
34366 on the types long_int and time_t too, as SHR is used on
34369 mktime: do not assume 'long' is wide enough
34370 * time/mktime.c (verify): Move decl up.
34371 (long_int): New type.
34372 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34373 to remove assumption in the code that 'long' is wide enough to
34374 store year values. This assumption is not true on x32 and on
34375 some non-glibc platforms.
34377 mktime: merge wrapv change from gnulib
34378 * time/mktime.c (WRAPV): New macro.
34379 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34380 (guess_time_tm, __mktime_internal): Do not assume that signed
34381 integer overflow wraps around; modern compilers generate code
34382 where this assumption is no longer valid.
34384 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34386 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34387 Replace "jmp L(pseudo_end)" with "ret".
34388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34391 2012-05-23 Andreas Jaeger <aj@suse.de>
34393 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34394 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34396 2012-05-23 Andreas Jaeger <aj@suse.de>
34397 Maximilian Attems <max@stro.at>
34399 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34402 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34405 code so that pseudo_end is just ret and the stack pointer is
34406 correct also for static library in error case.
34408 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34410 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34411 move to syscalls.list.
34412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34417 * manual/install.texi (Running make install): Do not mention Linux
34418 kernel version for which pt_chown is not needed.
34419 (Linux): Do not mention problems with nscd with 2.0 kernels.
34420 * INSTALL: Regenerated.
34422 2012-05-23 Andreas Jaeger <aj@suse.de>
34424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34425 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34427 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34429 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34431 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34433 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34437 * sysdeps/unix/sysv/linux/bits/in.h
34438 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34440 2012-05-22 Roland McGrath <roland@hack.frob.com>
34442 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34443 (PREPARE_VERSION): Just use assert instead, it will be elided
34444 under [NDEBUG] anyway.
34446 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34448 * sysdeps/unix/sysv/linux/Makefile: Include
34449 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34450 (sysdep_routines): Remove sysctl.
34451 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34452 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34453 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34454 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34455 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34457 2012-05-22 Andreas Jaeger <aj@suse.de>
34459 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34460 that pseudo_end is just ret and the stack pointer is correct also
34461 for static library in error case.
34463 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34466 * nss/nsswitch.c (defconfig_entries): New variable.
34467 (__nss_database_lookup): Don't leak defconfig entries.
34468 (nss_parse_service_list): Don't leak on error paths.
34469 (free_database_entries): New function.
34470 (free_defconfig): New function.
34471 (free_mem): Move common code to free_database_entries.
34473 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34475 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34477 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34479 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34480 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34483 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34484 (INTERNAL_SYSCALL_TYPES): Likewise.
34485 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34486 (LOAD_REGS_TYPES_[1-6]): Likewise.
34487 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34488 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34490 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34493 copysignl for GLIBC_2_0.
34494 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34495 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34497 logbl for GLIBC_2_0.
34498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34499 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34501 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34506 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34509 * time/mktime.c: Update copyright years.
34511 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34513 mktime: merge comment-quoting-style change from gnulib
34514 * time/mktime.c: Quote 'like this' in comments.
34515 The GNU coding standards suggest that we no longer quote `like this',
34516 as "`" and "'" are typically rendered asymmetrically nowadays.
34517 The typical gnulib style is to quote 'like this' when quoting
34518 code, and "like this" when quoting English.
34520 * time/mktime.c (compile-command): Add "-I.".
34522 mktime: merge mktime-internal.h change from gnulib
34523 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34525 mktime: merge time_r change from gnulib
34526 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34528 mktime: merge DEBUG change from gnulib
34529 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34530 case system <time.h> has a #define.
34532 mktime: merge <sys/types.h> change from gnulib
34533 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34534 since <time.t> is now guaranteed to define time_t.
34536 mktime: merge HAVE_CONFIG_H change from gnulib
34537 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34539 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34544 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34546 (struct rusage): Use anonymous union to pad each field to
34549 2012-05-21 David S. Miller <davem@davemloft.net>
34551 * Makefules (o-iterator): Remove .s cases.
34552 (compile-command.s): Delete.
34553 (COMPILE.s): Delete.
34554 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34556 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34558 * configure.in (libc_cv_predef_stack_protector): Only consider
34559 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34560 * configure: Regenerated.
34562 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34565 New macro. Use R*LP on int and pointer.
34566 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34567 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34569 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34571 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34572 [__WORDSIZE_TIME64_COMPAT32] instead of
34573 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34574 (struct utmp): Likewise.
34575 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34576 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34578 (__WORDSIZE_TIME64_COMPAT32): This.
34579 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34580 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34581 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34582 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34583 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34584 (__WORDSIZE_TIME64_COMPAT32): New macro.
34586 2012-05-21 Andreas Jaeger <aj@suse.de>
34588 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34589 only if [SHARED]. Add prototype for __wcschr_ia32.
34591 2012-05-21 Roland McGrath <roland@hack.frob.com>
34593 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34594 of %rbp unmolested in the jmp_buf while mangling the low bits.
34595 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34596 unmolested high bits of %rbp while demangling the low bits.
34597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34599 2012-05-21 Andreas Jaeger <aj@suse.de>
34601 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34602 * sunrpc/svc_simple.c: Use it for registerrpc.
34603 * sunrpc/xcrypt.c: Use it for passwd2des.
34605 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34607 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34609 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34610 Don't define if [__SYSCALL_WORDSIZE != 32].
34611 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34614 2012-05-21 Bruno Haible <bruno@clisp.org>
34615 Andreas Jaeger <aj@suse.de>
34617 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34618 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34619 inptr and inend for must_buffer_ch.
34620 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34621 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34622 * stdio-common/Makefile (tests): Remove bug15.
34623 (bug15-ENV): Remove macro.
34624 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34627 2012-05-19 Andreas Jaeger <aj@suse.de>
34628 Roland McGrath <roland@hack.frob.com>
34630 * manual/contrib.texi: Completely rewritten. It contains now an
34631 alphabetical list of contributors and their contributions.
34633 2012-05-21 Richard Henderson <rth@twiddle.net>
34635 * misc/getauxval.c (__getauxval): Use unsigned long int.
34636 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34637 (getauxval): Use unsigned long int.
34639 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34641 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34643 2012-05-21 Roland McGrath <roland@hack.frob.com>
34645 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34646 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34647 __alignof__ (long double).
34649 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34653 2012-05-20 Richard Henderson <rth@twiddle.net>
34655 * misc/getauxval.c: New file.
34656 * misc/sys/auxv.h: New file.
34657 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34658 (routines): Add getauxval.
34659 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34660 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34661 * elf/dl-sysdep.c (_dl_auxv): Remove.
34662 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34663 * elf/dl-support.c (_dl_auxv): New variable.
34664 (_dl_aux_init): Initialize it.
34665 * manual/startup.texi (Auxiliary Vector): New node.
34666 * sysdeps/generic/bits/hwcap.h: New file.
34667 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34668 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34669 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34670 * sysdeps/sparc/sysdep.h: ... here. Include it.
34671 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34672 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34684 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34688 2012-05-19 David S. Miller <davem@davemloft.net>
34690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34692 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34695 * math/s_ccosh.c: Include <float.h>
34696 (__ccosh): Avoid internal overflow calculating sinh and cosh
34697 values before multiplying by sin and cos values.
34698 * math/s_ccoshf.c: Likewise.
34699 * math/s_ccoshl.c: Likewise.
34700 * math/s_csin.c: Likewise.
34701 * math/s_csinf.c: Likewise.
34702 * math/s_csinl.c: Likewise.
34703 * math/s_csinh.c: Likewise.
34704 * math/s_csinhf.c: Likewise.
34705 * math/s_csinhl.c: Likewise.
34706 * math/libm-test.inc (ccos_test): Add more tests.
34707 (ccosh_test): Likewise.
34708 (csin_test): Likewise.
34709 (csinh_test): Likewise.
34710 * sysdeps/i386/fpu/libm-test-ulps: Update.
34711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34715 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34716 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34718 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34720 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34722 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34723 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34724 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34725 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34726 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34727 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34728 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34729 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34730 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34731 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34732 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34733 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34734 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34735 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34736 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34737 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34738 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34739 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34740 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34741 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34742 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34743 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34744 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34745 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34746 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34747 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34748 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34749 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34750 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34751 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34752 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34754 2012-05-18 Andreas Jaeger <aj@suse.de>
34756 * csu/.gitignore: Delete.
34758 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34760 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34761 (timex): Use __syscall_slong_t.
34763 2012-05-18 Andreas Jaeger <aj@suse.de>
34764 Carlos O'Donell <carlos_odonell@mentor.com>
34766 * manual/install.texi (Configuring and compiling): Update
34767 description about files modified in the source directory.
34768 * INSTALL: Regenerated.
34770 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34772 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34773 value. Use "or" to set return value to -1.
34774 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34775 negate return value.
34777 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34779 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34780 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34781 failure if the compiler has Graphite support disabled.
34782 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34784 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34785 (CFLAGS-memmove.c): Likewise.
34786 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34789 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34791 * sysdeps/x86_64/x32/_itoa.h: New file.
34793 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34794 getdents system call only if kernel and user dirents have the
34795 same d_ino and d_off.
34797 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34798 LLONG_MAX != LONG_MAX.
34799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34800 (_fitoa_word): Likewise.
34802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34808 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34809 include <bits/wordsize.h>. Check __x86_64__ instead of
34811 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34812 if __x86_64__ is defined. Use anonymous union on fpstate.
34814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34817 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34819 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34820 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34822 Refer to _rtld_local_ro instead of _rtld_global_ro.
34823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34825 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34827 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34829 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34830 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34831 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34833 * sysdeps/powerpc/powerpc32/dl-machine.c
34834 (__elf_machine_runtime_setup) [PROF]: Don't reference
34837 2012-05-18 Andreas Jaeger <aj@suse.de>
34839 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34840 function only available for GCCs before 3.4 since GCC 3.4
34841 introduced a builtin.
34843 (llrintf): Likewise.
34844 (llrint): Likewise.
34851 (nearbyint): Likewise.
34852 (nearbyintf): Likewise.
34856 (floorf): Likewise.
34858 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34860 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34861 on both fields and cast pointer to __syscall_ulong_t.
34863 * bits/types.h (__fsword_t): New type.
34864 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34865 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34867 (__FSWORD_T_TYPE): Likewise.
34868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34869 (__FSWORD_T_TYPE): Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34871 (__FSWORD_T_TYPE): Likewise.
34872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34873 (__FSWORD_T_TYPE): Likewise.
34874 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34875 __SWORD_TYPE with __fsword_t.
34876 (statfs64): Likewise.
34878 2012-05-17 David S. Miller <davem@davemloft.net>
34880 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34882 2012-05-17 Andreas Jaeger <aj@suse.de>
34884 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34887 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34889 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34891 2012-05-17 Andreas Jaeger <aj@suse.de>
34893 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34896 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34898 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34900 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34902 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34903 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34905 2012-05-17 Andreas Jaeger <aj@suse.de>
34906 Carlos O'Donell <carlos_odonell@mentor.com>
34909 * sysdeps/x86_64/multiarch/init-arch.h
34910 (bit_YMM_Usable): Rename to...
34911 (bit_AVX_Usable): ... this.
34912 (bit_FMA4_Usable): New macro.
34913 (bit_XMM_state): New macro.
34914 (bit_YMM_state): New macro.
34915 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34916 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34917 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34918 (CPUID_OSXSAVE): New macro.
34919 (CPUID_AVX): New macro.
34920 (CPUID_FMA4): New macro.
34921 (index_YMM_Usable): Rename to...
34922 (index_AVX_Usable): ... this.
34923 (HAS_AVX): Use HAS_ARCH_FEATURE.
34924 (HAS_FMA4): Likewise.
34925 (HAS_YMM_USABLE): Remove.
34926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34927 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34929 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34930 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34931 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34932 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34933 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34935 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34937 * math/libm-test.c: Support platforms without multiple rounding modes.
34938 * math/bug-nextafter.c: Support platforms without FP exceptions.
34939 * math/bug-nexttoward.c: Likewise.
34940 * math/test-fenv.c: Likewise.
34941 * math/test-misc.c: Likewise.
34942 * stdlib/bug-getcontext.c: Likewise.
34944 2012-05-17 Andreas Jaeger <aj@suse.de>
34946 * manual/examples/search.c (critter_cmp): Change signature to
34948 * manual/string.texi (Collation Functions): Likewise.
34950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34952 * bits/types.h: Fold copyright years.
34953 * bits/typesizes.h: Likewise.
34954 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34958 * time/time.h: Likewise.
34960 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34963 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34964 in instead of returning them. Return void.
34965 (__libc_mallinfo): Accumulate over all arenas.
34966 (__malloc_stats): Adjust for change in int_mallinfo interface.
34968 2012-05-16 Roland McGrath <roland@hack.frob.com>
34971 * configure.in (NM): Add AC_CHECK_TOOL for it.
34972 (libc_extra_cflags): New substituted variable.
34973 Check for -fstack-protector being used implicitly.
34974 * configure: Regenerated.
34975 * config.make.in (config-extra-cflags): New variable,
34976 gets @libc_extra_cflags@.
34977 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34980 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34981 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34982 * configure: Regenerated.
34983 * config.make.in (CPPUNDEFS): New substituted variable.
34984 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34985 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34986 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34991 (mq_attr): Use __syscall_slong_t.
34993 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34995 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34996 Check __x86_64__ instead of __WORDSIZE.
34997 (_STAT_VER_LINUX): Likewise.
34998 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34999 __syscall_ulong_t and __syscall_slong_t.
35000 (stat64): Likewise.
35002 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35004 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35006 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35008 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35012 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35015 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35016 include <bits/wordsize.h>. Check __x86_64__ instead of
35018 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35020 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35023 include <bits/wordsize.h>. Check __x86_64__ instead of
35025 (user_regs_struct): Use "__extension__ unsigned long long"
35026 instead of "unsigned long" if __x86_64__ is defined.
35027 (user): Likewise. Pad after pointer field if __ILP32__ is
35030 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35032 * configure.in (makeinfo): Require version 4.5 or later. Allow
35034 * configure: Regenerated.
35035 * manual/install.texi (texinfo): Increase version requirement to
35037 * INSTALL: Regenerated.
35039 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35041 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35043 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35045 * sysdeps/x86_64/x32/ffs.c: New file.
35047 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35049 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35050 defined. Use __syscall_ulong_t.
35051 (shminfo): Use __syscall_ulong_t.
35052 (shm_info): Likewise.
35054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35057 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35059 (msgqnum_t): Use __syscall_ulong_t.
35060 (msglen_t): Likewise.
35061 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35064 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35065 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35067 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35069 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35070 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35072 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35075 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35076 include <bits/wordsize.h>. Check __x86_64__ instead of
35079 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35080 "unsigned long long int" if __x86_64__ is defined.
35081 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35085 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35087 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35089 (GET_PC): Cast to uintptr_t first.
35090 (GET_FRAME): Likewise.
35091 (GET_STACK): Likewise.
35093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35094 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35096 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35099 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35100 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35101 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35102 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35103 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35109 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35110 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35111 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35119 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35121 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35123 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35125 * Makerules (+depfiles): Also collect depfiles from .oS in
35127 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35128 .oS, $(libnldbl-routines)).
35130 * Makerules (native-compile-mkdep-flags): Define.
35131 * sunrpc/Makefile (extra-objs): Add $(addprefix
35132 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35133 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35134 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35135 calling $(make-target-directory).
35137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35139 * bits/types.h (__snseconds_t): Removed.
35140 * time/time.h (struct timespec): Replace __snseconds_t with
35142 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35143 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35146 (__SNSECONDS_T_TYPE): Likewise.
35147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35148 (__SNSECONDS_T_TYPE): Likewise.
35149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35150 (__SNSECONDS_T_TYPE): Likewise.
35152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/mach/hurd/bits/typesizes.h
35155 (__SYSCALL_SLONG_TYPE): New macro.
35156 (__SYSCALL_ULONG_TYPE): Likewise.
35158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35160 * bits/types.h (__syscall_slong_t): New type.
35161 (__syscall_ulong_t): Likewise.
35163 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35164 (__SYSCALL_ULONG_TYPE): Likewise.
35165 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35166 (__SYSCALL_SLONG_TYPE): Likewise.
35167 (__SYSCALL_ULONG_TYPE): Likewise.
35168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35169 (__SYSCALL_SLONG_TYPE): Likewise.
35170 (__SYSCALL_ULONG_TYPE): Likewise.
35171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35172 (__SYSCALL_SLONG_TYPE): Likewise.
35173 (__SYSCALL_ULONG_TYPE): Likewise.
35175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35177 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35178 Add sigaltstack-offsets.sym.
35179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35180 <sigaltstack-offsets.h>.
35181 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35182 longjmp_msg pointer.
35183 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35184 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35186 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35188 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35190 * elf/stackguard-macros.h: Remove file.
35191 * sysdeps/generic/stackguard-macros.h: New file.
35192 * sysdeps/i386/stackguard-macros.h: Likewise.
35193 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35194 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35195 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35196 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35197 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35198 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35199 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35200 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35201 <elf/stackguard-macros.h>.
35204 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35205 __aligned__ in attribute.
35206 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35207 (gregset_t): Likewise.
35209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35211 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35212 * sysdeps/x86_64/64/Implies-after: Here. New file.
35213 * sysdeps/x86_64/x32/Implies-after: New file.
35215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35217 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35218 and access return value for _dl_profile_fixup. Use R10_LP to
35221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35223 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35227 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35228 * sysdeps/x86_64/x32/sysdep.h: New file.
35230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35232 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35233 * sysdeps/x86_64/setjmp.S: Likewise.
35235 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35239 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35240 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35241 remove unused global constant.
35243 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35245 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35246 include of <not-cancel.h>.
35248 2012-05-15 Roland McGrath <roland@hack.frob.com>
35250 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35252 2012-05-15 Jeff Law <law@redhat.com>
35253 Andreas Jaeger <aj@suse.de>
35256 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35258 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35259 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35261 code changing __hst_map_handle.map.
35263 2012-05-15 Roland McGrath <roland@hack.frob.com>
35265 * configure.in (sysnames): Look for Implies-before and Implies-after
35267 * configure: Regenerated.
35269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35272 8-byte data alignment with LP_SIZE alignment.
35274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35281 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35285 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35286 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35287 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35293 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35294 (stackinfo_sub_sp): Likewise.
35296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35303 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35313 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35317 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35318 into R11_LP and load __x86_64_shared_cache_size_half into
35321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35326 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35335 powerpc32/power7/fpu/s_logb.c via #include.
35336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35337 powerpc32/power7/fpu/s_logbf.c via #include.
35338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35339 powerpc32/power7/fpu/s_logbl.c via #include.
35341 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35343 * README.libm: Remove file.
35345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35347 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35348 count for x32. Use R*_LP and omit operand-size suffix.
35350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35352 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35353 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35354 * sysdeps/x86_64/x32/shlib-versions: New file.
35356 2012-05-14 Roland McGrath <roland@hack.frob.com>
35358 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35359 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35360 Use _dl_fatal_printf instead.
35362 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35365 set if not set by the user. Do not allow for being unset.
35366 * sysdeps/unix/sysv/linux/configure: Regenerated.
35368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35370 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35371 the `q' suffix from lea and replace .quad with ASM_ADDR.
35373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35376 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35378 (PTR_DEMANGLE): Likewise.
35380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35382 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35384 (ASM_ADDR): Likewise.
35385 (RAX_LP): Likewise.
35386 (RBP_LP): Likewise.
35387 (RBX_LP): Likewise.
35388 (RCX_LP): Likewise.
35389 (RDI_LP): Likewise.
35390 (RSI_LP): Likewise.
35391 (RSP_LP): Likewise.
35394 (R10_LP): Likewise.
35395 (R10_LP): Likewise.
35396 (R11_LP): Likewise.
35397 (R12_LP): Likewise.
35398 (R13_LP): Likewise.
35399 (R14_LP): Likewise.
35400 (R15_LP): Likewise.
35402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35404 * sysdeps/x86_64/x32/dl-machine.h: New file.
35406 2012-05-14 Andreas Jaeger <aj@suse.de>
35408 * manual/Makefile (subdir): Remove export of subdir.
35409 (all): Remove target.
35410 (.PHONY): Remove all from list.
35411 (mkinstalldirs): Remove.
35412 (.PHONY): Remove installdirs from list.
35413 ($(inst_infodir)/libc.info): Use make-target-directory.
35414 (installdirs): Remove.
35415 (subdir_%): Remove.
35416 (glibc-targets): Remove.
35419 ($(objpfx)stubs ../po/manual.pot): Remove.
35420 ($(objpfx)stamp%): Remove.
35421 (make-target-directory): Remove.
35422 (subdir_install): Remove.
35423 (routines): Remove.
35430 * manual/.gitignore: Remove, it's not needed anymore.
35431 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35433 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35435 (texis): Renamed to $(objpfx)texis.
35436 (texis-path): New, contains path to generated files.
35437 (chapters.%): Use texis-path for complete path, add extra argument
35439 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35440 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35441 (summary,texi, stamp-summary): Use complete path of
35442 files. Generate files in build dir.
35443 (dir-add.texi): Build in build dir.
35444 (libm-err.texi,stamp-libm-err): Likewise.
35445 (version.texi, stamp-version): Likewise.
35446 (.%c.texi): Likewise.
35447 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35448 (mostlyclean): Remove target.
35449 (realclean): Remove target.
35450 (generated): Add new variable with contents from mostlyclean and
35451 realclean, remove entries duplicated in common-mostlyclean, add
35452 stamp-libm-err and stamp-version.
35453 (generated-dirs): Add libc directory.
35454 ($(inst_infodir)/libc.info): Install files from build dir.
35456 * manual/install.texi (Configuring and compiling): Adjust since
35457 the info files are not part of the tar ball anymore.
35459 2012-05-14 Andreas Jaeger <aj@suse.de>
35461 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35464 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35468 to 2.2.0 where earlier.
35469 * sysdeps/unix/sysv/linux/configure: Regenerated.
35470 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35471 Remove conditional code.
35472 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35473 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35474 Remove conditional code.
35475 [!__NR_lchown]: Likewise.
35476 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35477 [__NR_lchown]: Likewise.
35478 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35479 comment referencing __ASSUME_LCHOWN_SYSCALL.
35480 * sysdeps/unix/sysv/linux/i386/sigaction.c
35481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35483 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35484 Remove conditional code.
35485 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35486 (__protocol_available): Remove #if 0 code.
35487 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35489 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35490 * sysdeps/unix/sysv/linux/kernel-features.h
35491 (__ASSUME_GETCWD_SYSCALL): Don't define.
35492 (__ASSUME_REALTIME_SIGNALS): Likewise.
35493 (__ASSUME_PREAD_SYSCALL): Likewise.
35494 (__ASSUME_PWRITE_SYSCALL): Likewise.
35495 (__ASSUME_POLL_SYSCALL): Likewise.
35496 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35497 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35499 (__ASSUME_SIOCGIFNAME): Don't define.
35500 (__ASSUME_MSG_NOSIGNAL): Likewise.
35501 (__ASSUME_SENDFILE): Define unconditionally.
35502 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35503 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35505 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35506 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35507 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35508 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35509 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35510 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35511 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35525 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35528 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35531 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35534 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35536 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35537 Remove conditional code.
35538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35539 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35540 Remove conditional code.
35541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35542 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35543 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35544 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35545 Remove conditional code.
35546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35547 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35548 Remove conditional code.
35549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35550 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35551 Remove conditional code.
35552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35553 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35554 Remove conditional code.
35555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35556 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35557 Remove conditional code.
35558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35559 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35562 * sysdeps/unix/sysv/linux/sigaction.c
35563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35565 * sysdeps/unix/sysv/linux/sigpending.c
35566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35568 * sysdeps/unix/sysv/linux/sigprocmask.c
35569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35571 * sysdeps/unix/sysv/linux/sigsuspend.c
35572 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35573 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35574 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35575 (__libc_missing_rt_sigs): Remove.
35576 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35577 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35578 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35579 Remove conditional code.
35580 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35581 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35584 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35588 2012-05-14 Andreas Jaeger <aj@suse.de>
35590 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35591 it's not used in glibc.
35592 (__coshm1): Likewise.
35593 (__acosh1p): Likewise.
35596 * manual/string.texi (Copying and Concatenation): Add missing
35597 variable in concat example.
35598 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35604 __builtin_clzl with __builtin_clzll.
35606 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35609 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35612 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35614 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35615 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35616 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35619 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35621 * NEWS: Update ia64 info.
35623 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35625 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35628 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35630 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35631 * sysdeps/unix/syscalls.list (dup3): Likewise.
35632 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35633 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35635 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35637 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35638 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35640 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35642 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35644 (TLS_IE): Use mov/add instead of movq/addq to load thread
35646 (TLS_GD_PREFIX): New.
35649 2012-05-11 David S. Miller <davem@davemloft.net>
35651 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35652 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35653 (_FPU_SETCW): Likewise.
35655 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35657 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35658 is 32-byte aligned.
35660 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35663 * iconvdata/gb18030.c: Update tables.
35664 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35665 characters specially.
35666 (BODY for TO_LOOP): Add encoding of missing ranges.
35668 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35671 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35672 * sysdeps/mach/hurd/dup3.c: Likewise.
35673 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35674 * sysdeps/powerpc/memmove.c:: Likewise.
35676 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35679 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35681 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35683 * elf/elf.h (R_X86_64_RELATIVE64): New.
35684 (R_X86_64_NUM): Updated.
35685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35686 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35687 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35688 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35689 tst-quad1pie tst-quad2pie
35690 (modules-names): Add tst-quadmod1 tst-quadmod2.
35691 ($(objpfx)tst-quad1): New dependency.
35692 ($(objpfx)tst-quad2): Likewise.
35693 ($(objpfx)tst-quad1pie): Likewise.
35694 ($(objpfx)tst-quad2pie): Likewise.
35695 * sysdeps/x86_64/tst-quad1.c: New file.
35696 * sysdeps/x86_64/tst-quad1pie.c: New file.
35697 * sysdeps/x86_64/tst-quad2.c: Likewise.
35698 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35699 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35700 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35701 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35702 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35706 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35707 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35708 * streams/stropts.h (t_scalar_t): Define type.
35710 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35711 (_PATH_PRESERVE): Set to "/var/lib".
35712 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35714 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35717 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35718 if __dir_mkfile succeeded.
35720 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35721 checking for _hurd_dtablesize. Unlock it right after having
35722 finished _hurd_dtable allocation.
35724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35726 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35727 * sysdeps/mach/hurd/configure: Regenerated.
35728 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35729 special-casing to...
35730 * sysdeps/gnu/configure.in: ... this new file.
35731 * sysdeps/unix/sysv/linux/configure: Regenerated.
35732 * sysdeps/gnu/configure: New generated file.
35734 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35735 for Linux: use nsec instead of usec, as well as:
35736 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35737 members of type struct timespec.
35738 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35740 (struct stat64): Likewise.
35741 (_STATBUF_ST_NSEC): New macro.
35742 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35744 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35745 __strtoul_internal rather than strtoul.
35747 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35749 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35754 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35755 which preserves existing values.
35756 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35758 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35760 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35761 TIMEOUT values. Return EINVAL for NFDS values either negative or
35762 greater than FD_SETSIZE.
35764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35766 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35767 allocated, call __vm_protect to finish enabling the existing space, and
35768 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35769 allocate the remainder.
35771 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35773 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35774 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35776 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35778 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35779 sysdeps/mach/hurd/readlink.c.
35781 * posix/tst-sysconf.c (posix_options): Only use
35782 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35783 _POSIX_SYNCHRONIZED_IO when they are defined
35784 * sysdeps/mach/hurd/bits/posix_opt.h:
35785 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35786 (_XOPEN_REALTIME): Undefine macro.
35787 (_XOPEN_REALTIME_THREADS): Undefine macro.
35788 (_XOPEN_SHM): Undefine macro.
35789 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35793 (_POSIX_ASYNC_IO): Undefine macro.
35794 (_POSIX_PRIORITIZED_IO): Undefine macro.
35795 (_POSIX_SPIN_LOCKS): Define macro to -1.
35797 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35798 SA_NODEFER, SA_RESETHAND.
35799 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35800 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35805 * elf/Makefile (pldd-modules): Define unconditionally.
35807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35809 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35813 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35814 Return ENOENT when name is empty.
35815 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35819 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35821 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35825 Fix mlock in all cases except non-readable pages.
35826 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35827 instead of VM_PROT_ALL as parameter to __vm_wire function.
35829 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35830 (__mkdir): When path is `/', just fail with EEXIST.
35831 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35835 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35836 <sys/uio.h> (for writev).
35837 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35838 and <sys/param.h> (for MIN).
35840 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35842 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35843 REQUESTED_TIME. Properly set the remaining time and return EINTR
35846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35848 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35849 Depend on against $(link-rpcuserlibs).
35851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35853 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35854 (__libc_stack_end): Do not use attribute_relro.
35855 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35856 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35857 to libthread-provided value.
35858 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35864 * bits/libc-lock.h (__libc_once_get): New macro.
35865 * sysdeps/mach/bits/libc-lock.h: Likewise.
35866 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35868 instead of using implementation details.
35870 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35871 * libio/freopen.c: Likewise.
35872 * libio/freopen64.c: Likewise.
35873 * misc/syslog.c: Likewise.
35874 * nscd/connections.c: Likewise.
35875 * nscd/netgroupcache.c: Likewise.
35876 * sysdeps/posix/getcwd.c: Likewise.
35878 2012-05-10 Roland McGrath <roland@hack.frob.com>
35880 * math/w_ilogbf.c: Add #include <limits.h>.
35882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35884 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35885 path instead of returning without unlocking.
35887 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35888 immediate-write ioctls.
35889 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35893 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35894 __builtin_frame_address instead of making assumptions about the
35895 location of the return address relative to DATA. Force early load of
35896 the return address.
35897 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35898 __builtin_frame_address.
35901 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35902 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35903 implement dup3 and do some further code clean-ups.
35904 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35905 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35909 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35911 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35912 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35913 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35914 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35915 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35918 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35919 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35920 when handler == SIG_ERR, not when handler != SIG_ERR.
35922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35924 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35925 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35928 accept4 for GNU Hurd.
35929 * include/sys/socket.h (__libc_accept4): New prototype.
35930 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35931 to implement __libc_accept4.
35932 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35934 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35936 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35937 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35938 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35939 signal-defines.sym.
35941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35943 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35947 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35948 assertion on O_CLOEXEC flag.
35949 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35950 * hurd/intern-fd.c: Likewise.
35951 * hurd/port2fd.c: Likewise.
35953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35956 * bits/in.h (IPV6_PKTINFO): Define new macro.
35957 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35959 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35964 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35966 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35967 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35969 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35970 * math/libm-test.inc (logb_test) : Additional logb tests.
35972 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35973 Andreas Jaeger <aj@suse.de>
35975 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35976 * configure: Regenerated.
35977 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35978 * config.make.in (link-obsolete-rpc): New substituted variable.
35979 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35980 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35981 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35982 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35983 so that libc.a contains the symbols.
35984 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35985 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35986 * sunrpc/auth_none.c: Likewise.
35987 * sunrpc/auth_unix.c: Likewise.
35988 * sunrpc/authdes_prot.c: Likewise.
35989 * sunrpc/authuxprot.c: Likewise.
35990 * sunrpc/clnt_gen.c: Likewise.
35991 * sunrpc/clnt_perr.c: Likewise.
35992 * sunrpc/clnt_raw.c: Likewise.
35993 * sunrpc/clnt_simp.c: Likewise.
35994 * sunrpc/clnt_tcp.c: Likewise.
35995 * sunrpc/clnt_udp.c: Likewise.
35996 * sunrpc/clnt_unix.c: Likewise.
35997 * sunrpc/des_crypt.c: Likewise.
35998 * sunrpc/des_soft.c: Likewise.
35999 * sunrpc/get_myaddr.c: Likewise.
36000 * sunrpc/key_call.c: Likewise.
36001 * sunrpc/key_prot.c: Likewise.
36002 * sunrpc/netname.c: Likewise.
36003 * sunrpc/pm_getmaps.c: Likewise.
36004 * sunrpc/pm_getport.c: Likewise.
36005 * sunrpc/pmap_clnt.c: Likewise.
36006 * sunrpc/pmap_prot.c: Likewise.
36007 * sunrpc/pmap_prot2.c: Likewise.
36008 * sunrpc/pmap_rmt.c: Likewise.
36009 * sunrpc/publickey.c: Likewise.
36010 * sunrpc/rpc_cmsg.c: Likewise.
36011 * sunrpc/rpc_common.c: Likewise.
36012 * sunrpc/rpc_dtable.c: Likewise.
36013 * sunrpc/rpc_prot.c: Likewise.
36014 * sunrpc/rpc_thread.c: Likewise.
36015 * sunrpc/rtime.c: Likewise.
36016 * sunrpc/svc.c: Likewise.
36017 * sunrpc/svc_auth.c: Likewise.
36018 * sunrpc/svc_raw.c: Likewise.
36019 * sunrpc/svc_run.c: Likewise.
36020 * sunrpc/svc_tcp.c: Likewise.
36021 * sunrpc/svc_udp.c: Likewise.
36022 * sunrpc/svc_unix.c: Likewise.
36023 * sunrpc/svcauth_des.c: Likewise.
36024 * sunrpc/xcrypt.c: Likewise.
36025 * sunrpc/xdr.c: Likewise.
36026 * sunrpc/xdr_array.c: Likewise.
36027 * sunrpc/xdr_float.c: Likewise.
36028 * sunrpc/xdr_intXX_t.c: Likewise.
36029 * sunrpc/xdr_mem.c: Likewise.
36030 * sunrpc/xdr_rec.c: Likewise.
36031 * sunrpc/xdr_ref.c: Likewise.
36032 * sunrpc/xdr_sizeof.c: Likewise.
36033 * sunrpc/xdr_stdio.c: Likewise.
36035 2012-05-10 Roland McGrath <roland@hack.frob.com>
36037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36038 change. Update copyright years.
36040 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36042 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36044 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36045 Joseph Myers <joseph@codesourcery.com>
36046 Paul Pluzhnikov <ppluzhnikov@google.com>
36049 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36051 [cross-compiling] (extra-libs): Likewise.
36052 [cross-compiling] (extra-libs-others): Likewise.
36053 [cross-compiling] (librpcsvc-routines): Likewise.
36054 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36055 [cross-compiling] (omit-deps): Likewise.
36056 (sunrpc-CPPFLAGS): New variable.
36057 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36058 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36059 (cross-rpcgen-objs): New variable.
36060 (extra-objs): Append $(cross-rpcgen-objs).
36061 ($(cross-rpcgen-objs)): New rule.
36062 ($(objpfx)cross-rpcgen): Likewise.
36063 (rpcgen-cmd): Define to use $(built-program-file). Expand
36065 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36066 ($(objpfx)x%.stmp): Likewise.
36067 * sunrpc/proto.h [IS_IN_build] (_): Define.
36068 [IS_IN_build] (_libc_intl_domainname): Likewise.
36070 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36073 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36074 and R_X86_64_TPOFF64.
36076 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36078 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36079 sysdeps/unix/sysv/syscalls.list.
36082 * sysdeps/unix/sysv/syscalls.list: Remove file.
36084 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36087 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36088 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36089 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36090 (__LC_IDENTIFICATION): Make these macros useful in #if
36091 expressions, as required by C99.
36093 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36095 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36096 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36099 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36101 * stdlib/longlong.h: Updated from GCC.
36103 2012-05-09 Andreas Jaeger <aj@suse.de>
36105 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36106 default is first entry.
36107 (run_mode): Set type.
36108 (main): Remove informal message about syslog.
36109 (options): Fix typo.
36112 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36115 (llrintf): Likewise.
36116 (llrint): Likewise.
36119 (nearbyint): Likewise.
36120 (nearbyintf): Likewise.
36122 2012-05-09 Andreas Jaeger <aj@suse.de>
36123 Pedro Alves <palves@redhat.com>
36125 * nscd/nscd.c (run_mode): Use enum.
36126 (main): Cleanup coding style issue.
36128 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36129 Andreas Jaeger <aj@suse.de>
36131 * nscd/nscd.c (go_background): Replaced with...
36132 (run_mode): ... this.
36133 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36134 (options): Add -F --foreground.
36135 (main): Implement it.
36136 (parse_opt): Parse it.
36138 2012-05-09 Andreas Jaeger <aj@suse.de>
36141 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36142 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36143 -Wconversion warning.
36144 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36147 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36149 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36151 (LC_ALL): Use macro-int-constant.
36152 (LC_COLLATE): Likewise.
36153 (LC_CTYPE): Likewise.
36154 (LC_MESSAGES): Likewise.
36155 (LC_MONETARY): Likewise.
36156 (LC_NUMERIC): Likewise.
36157 (LC_TIME): Likewise.
36158 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36159 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36161 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36163 [C99-based standards] (float_t): Expect type.
36164 [C99-based standards] (double_t): Expect type.
36165 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36167 [C99-based standards] (HUGE_VALL): Likewise.
36168 [C99-based standards] (INFINITY): Likewise.
36169 [C99-based standards] (NAN): Likewise.
36170 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36171 [C99-based standards] (FP_NAN): Likewise.
36172 [C99-based standards] (FP_NORMAL): Likewise.
36173 [C99-based standards] (FP_SUBNORMAL): Likewise.
36174 [C99-based standards] (FP_ZERO): Likewise.
36175 [C99-based standards] (FP_FAST_FMA): Use
36176 optional-macro-int-constant. Specify type. Require == 1.
36177 [C99-based standards] (FP_FAST_FMAF): Likewise.
36178 [C99-based standards] (FP_FAST_FMAL): Likewise.
36179 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36180 [C99-based standards] (FP_ILOGBNAN): Likewise.
36181 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36183 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36184 [C99-based standards] (math_errhandling): Specify type.
36185 [ISO99 || ISO11] (signgam): Do not allow.
36186 [non-C99-based standards] (copysignf): Do not allow.
36187 [non-C99-based standards] (exp2f): Likewise.
36188 [non-C99-based standards] (log2f): Likewise.
36189 [non-C99-based standards] (modff): Allow.
36190 [non-C99-based standards] (erff): Do not allow.
36191 [non-C99-based standards] (erfcf): Likewise.
36192 [non-C99-based standards] (gammaf): Likewise.
36193 [non-C99-based standards] (hypotf): Likewise.
36194 [non-C99-based standards] (j0f): Likewise.
36195 [non-C99-based standards] (j1f): Likewise.
36196 [non-C99-based standards] (jnf): Likewise.
36197 [non-C99-based standards] (lgammaf): Likewise.
36198 [non-C99-based standards] (tgammaf): Likewise.
36199 [non-C99-based standards] (y0f): Likewise.
36200 [non-C99-based standards] (y1f): Likewise.
36201 [non-C99-based standards] (ynf): Likewise.
36202 [non-C99-based standards] (isnanf): Likewise.
36203 [non-C99-based standards] (acoshf): Likewise.
36204 [non-C99-based standards] (asinhf): Likewise.
36205 [non-C99-based standards] (atanhf): Likewise.
36206 [non-C99-based standards] (cbrtf): Likewise.
36207 [non-C99-based standards] (expm1f): Likewise.
36208 [non-C99-based standards] (ilogbf): Likewise.
36209 [non-C99-based standards] (log1pf): Likewise.
36210 [non-C99-based standards] (logbf): Likewise.
36211 [non-C99-based standards] (nextafterf): Likewise.
36212 [non-C99-based standards] (remainderf): Likewise.
36213 [non-C99-based standards] (rintf): Likewise.
36214 [non-C99-based standards] (scalbf): Likewise.
36215 [non-C99-based standards] (copysignl): Likewise.
36216 [non-C99-based standards] (exp2l): Likewise.
36217 [non-C99-based standards] (log2l): Likewise.
36218 [non-C99-based standards] (modfl): Allow.
36219 [non-C99-based standards] (erfl): Do not allow.
36220 [non-C99-based standards] (erfcl): Likewise.
36221 [non-C99-based standards] (gammal): Likewise.
36222 [non-C99-based standards] (hypotl): Likewise.
36223 [non-C99-based standards] (j0l): Likewise.
36224 [non-C99-based standards] (j1l): Likewise.
36225 [non-C99-based standards] (jnl): Likewise.
36226 [non-C99-based standards] (lgammal): Likewise.
36227 [non-C99-based standards] (tgammal): Likewise.
36228 [non-C99-based standards] (y0l): Likewise.
36229 [non-C99-based standards] (y1l): Likewise.
36230 [non-C99-based standards] (ynl): Likewise.
36231 [non-C99-based standards] (isnanl): Likewise.
36232 [non-C99-based standards] (acoshl): Likewise.
36233 [non-C99-based standards] (asinhl): Likewise.
36234 [non-C99-based standards] (atanhl): Likewise.
36235 [non-C99-based standards] (cbrtl): Likewise.
36236 [non-C99-based standards] (expm1l): Likewise.
36237 [non-C99-based standards] (ilogbl): Likewise.
36238 [non-C99-based standards] (log1pl): Likewise.
36239 [non-C99-based standards] (logbl): Likewise.
36240 [non-C99-based standards] (nextafterl): Likewise.
36241 [non-C99-based standards] (remainderl): Likewise.
36242 [non-C99-based standards] (rintl): Likewise.
36243 [non-C99-based standards] (scalbl): Likewise.
36244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36245 [non-C99-based standards] (FP_*): Do not allow.
36246 [C99-based standards] (FP_*): Change to
36247 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36248 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36250 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36251 (SIG_ERR): Likewise.
36252 [X/Open-based standards] (SIG_HOLD): Likewise.
36253 (SIG_IGN): Likewise.
36254 (SIGABRT): Use macro-int-constant. Specify type. Require
36256 (SIGFPE): Likewise.
36257 (SIGILL): Likewise.
36258 (SIGINT): Likewise.
36259 (SIGSEGV): Likewise.
36260 (SIGTER): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36279 [X/Open-based standards] (SIGTRAP): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36284 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36287 2012-05-08 Ian Wienand <ianw@vmware.com>
36290 * time/tzset.c (__tzset_parse_tz): Update default rules for
36291 daylight time changes in the Energy Policy Act of 2005.
36293 2012-05-09 Andreas Jaeger <aj@suse.de>
36296 * elf/ldconfig.c (parse_conf): Change string to make clear that
36297 ldconfig only issued a warning if ld.so.conf does not exist.
36299 2012-05-08 David S. Miller <davem@davemloft.net>
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36302 movxtod instead of popping the value on the stack.
36304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36306 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36308 * config.h.in: Add HAVE_ARM_PCS_VFP.
36310 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36313 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36314 checking but the checks are disabled for any reason.
36316 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36318 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36319 and ELF64_R_TYPE with ELFW(R_TYPE).
36321 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36323 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36324 (ulimit): Likewise.
36326 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36327 (settimeofday): Likewise.
36329 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36331 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36332 a struct th_u2 inside the union, and move tu_block/tu_code into
36333 a new th_u3 union of tu_block/tu_code inside of that. Move
36334 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36335 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36336 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36337 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36338 (th_stuff): Change to th_u1.tu_stuff.
36340 (th_msg): Change to th_u1.th_u2.tu_data.
36342 2012-05-07 David S. Miller <davem@davemloft.net>
36344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36347 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36348 (SETUP_PIC_REG): Use it.
36349 (SETUP_PIC_REG_LEAF): Use it.
36351 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36355 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36357 (EXPL_FINITE): Likewise.
36358 (FLDLOG): Likewise.
36359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36360 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36364 (EXPL_FINITE): Likewise.
36365 (FLDLOG): Likewise.
36366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36367 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36369 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36370 test of -max_value argument for long double.
36371 * sysdeps/i386/fpu/libm-test-ulps: Update.
36372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36374 2012-05-06 David S. Miller <davem@davemloft.net>
36376 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36377 quad soft-float symbols whose references which are compiler
36379 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36381 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36385 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36387 (EXPL_FINITE): Likewise.
36388 (FLDLOG): Likewise.
36391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36392 Adjust comments for base varying.
36393 (__expl_finite): Change alias to EXPL_FINITE.
36394 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36396 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36397 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36398 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36399 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36402 (EXPL_FINITE): Likewise.
36403 (FLDLOG): Likewise.
36406 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36407 Adjust comments for base varying.
36408 (__expl_finite): Change alias to EXPL_FINITE.
36409 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36414 * math/libm-test.inc (check_float_internal): Correct ulp
36415 calculation for subnormal expected results.
36417 2012-05-06 Andreas Jaeger <aj@suse.de>
36419 * Makeconfig (+math-flags): New, set to -frounding-math.
36420 (+cflags): Add +math-flags so that all of glibc gets compiled with
36423 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36425 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36427 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36433 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36434 (__ieee754_expl): Allow for and saturate large arguments.
36435 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36436 (u_threshold): Likewise.
36437 (__exp): Call __ieee754_exp before checking for overflow and
36439 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36440 (u_threshold): Likewise.
36441 (__expf): Call __ieee754_expf before checking for overflow and
36443 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36444 (u_threshold): Likewise.
36445 (__expl): Call __ieee754_expl before checking for overflow and
36447 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36448 (__ieee754_expl): Allow for and saturate large arguments.
36449 * math/libm-test.inc (exp_test): Add another test. Do not allow
36450 missing overflow exception on overflow.
36451 (expm1_test): Do not allow missing overflow exception on overflow.
36453 * sysdeps/i386/fpu/e_expl.c: Move to ...
36454 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36455 rather than using inline asm.
36456 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36457 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36458 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36460 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36463 (signal): Likewise.
36467 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36469 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36470 sysdeps/unix/common/syscalls.list.
36471 (fchmod): Likewise.
36472 (fchown): Likewise.
36473 (ftruncate): Likewise.
36474 (getrusage): Likewise.
36475 (gettimeofday): Likewise.
36476 (setpgid): Likewise.
36477 (setregid): Likewise.
36478 (setreuid): Likewise.
36479 (sigaction): Likewise.
36480 (truncate): Likewise.
36481 (vhangup): Likewise.
36482 * sysdeps/unix/common/syscalls.list: Remove file.
36483 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36484 * sysdeps/unix/sysv/linux/Implies: Likewise.
36486 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36488 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36490 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36500 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36503 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36506 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36509 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36512 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36516 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36520 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36523 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36527 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36531 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36533 * sysdeps/unix/common/bits/dirent.h: Remove file.
36534 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36536 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36537 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36538 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36539 * sysdeps/unix/bsd/isatty.c: Likewise.
36540 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36541 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36542 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36544 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36548 long double comparison inaccuracies.
36549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36552 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36554 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36557 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36561 nonzero digits before rounding a hex value.
36562 * stdlib/tst-strtod.c (tests): Add another test.
36564 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36566 * sysdeps/s390/fpu/libm-test-ulps: Update.
36568 2012-05-03 Andreas Jaeger <aj@suse.de>
36570 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36571 does not get optimized out.
36572 (malloc_opt_barrier): New.
36574 2012-05-03 Andreas Jaeger <aj@suse.de>
36575 Roland McGrath <roland@hack.frob.com>
36577 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36578 intermediate file deletion.
36579 (generated): Add .symlist files.
36581 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36584 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36585 Redirect under this condition.
36586 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36587 [__USE_GNU] (__dprintf_chk): Not under this condition.
36588 [__USE_GNU] (__vdprintf_chk): Likewise.
36589 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36590 under this condition.
36591 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36592 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36593 [__USE_XOPEN2K8] (vdprintf): Likewise.
36594 [__USE_GNU] (__dprintf_chk): Not under this condition.
36595 [__USE_GNU] (__vdprintf_chk): Likewise.
36596 [__USE_GNU] (dprintf): Likewise.
36597 [__USE_GNU] (vdprintf): Likewise.
36599 2012-05-03 Roland McGrath <roland@hack.frob.com>
36601 * elf/Makefile (common-generated): Set this instead of generated for
36602 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36603 $(all-built-dso)-derived lists.
36605 2012-05-03 Andreas Jaeger <aj@suse.de>
36607 * sysdeps/i386/fpu/libm-test-ulps: Update.
36610 * FAQ.in: Likewise.
36611 * scripts/gen-FAQ.pl: Likewise.
36612 * manual/install.texi (Installation): Point to online location of
36614 * Makefile (files-for-dist): Remove FAQ.
36617 2012-05-02 Allan McRae <allan@archlinux.org>
36619 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36620 (LDFLAGS-reldepmod5.so): Likewise.
36621 (LDFLAGS-reldep6mod1.so): Likewise.
36622 (LDFLAGS-reldep6mod4.so): Likewise.
36623 (LDFLAGS-reldep8mod3.so): Likewise.
36624 (LDFLAGS-unload4mod1.so): Likewise.
36625 (LDFLAGS-unload4mod2.so): Likewise.
36626 (LDFLAGS-tst-initorder): Likewise.
36627 (LDFLAGS-tst-initordera2.so): Likewise.
36628 (LDFLAGS-tst-initordera3.so): Likewise.
36629 (LDFLAGS-tst-initordera4.so): Likewise.
36630 (LDFLAGS-tst-initorderb2.so): Likewise.
36631 (LDFLAGS-noload): Likewise.
36632 (LDFLAGS-next): Likewise.
36633 (LDFLAGS-order2mod1.so): Likewise.
36634 (LDFLAGS-order2mod2.so): Likewise.
36635 (LDFLAGS-tst-initorder2): Likewise.
36636 (LDFLAGS-tst-initorder2a.so): Likewise.
36637 (LDFLAGS-tst-initorder2b.so): Likewise.
36638 (LDFLAGS-tst-initorder2c.so): Likewise.
36639 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36641 2012-05-02 David S. Miller <davem@davemloft.net>
36643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36645 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36648 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36650 2012-05-02 Andreas Jaeger <aj@suse.de>
36652 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36653 since we manipulate rounding mode.
36654 (CPPFLAGS-test-idouble.c): Likewise.
36655 (CPPFLAGS-test-ifloat.c): Likewise.
36656 (CFLAGS-test-ldouble.c): Likewise.
36657 (CFLAGS-test-double.c): Likewise.
36658 (CFLAGS-test-float.c): Likewise.
36659 (CFLAGS-test-misc.c): Likewise.
36660 (CFLAGS-test-test-fenv.c): Likewise.
36662 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36667 comparisons to determine direction to adjust input.
36669 2012-05-01 Roland McGrath <roland@hack.frob.com>
36671 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36672 output to the target.
36674 * scripts/localplt.awk: New file.
36675 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36676 (check-localplt-CFLAGS): Variable removed.
36677 ($(all-built-dso:=.jmprel)): New static pattern rule.
36678 (generated): Add those targets.
36679 (localplt-built-dso): New variable.
36680 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36682 * elf/check-localplt.c: File removed.
36684 * scripts/check-execstack.awk: New file.
36685 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36686 (check-execstack-CFLAGS): Variable removed.
36687 ($(objpfx)check-execstack.h): Target removed.
36688 ($(objpfx)execstack-default): New target.
36689 (generated): Add that instead of check-execstack.h.
36690 ($(all-built-dso:=.phdr)): New static pattern rule.
36691 (generated): Add those targets.
36692 * elf/check-execstack.c: File removed.
36694 * scripts/check-textrel.awk: New file.
36695 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36696 (check-textrel-CFLAGS): Variable removed.
36697 (all-built-dso): Use := to define.o
36698 ($(all-built-dso:=.dyn)): New static pattern rule.
36699 (generated): Add those targets.
36700 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36701 * config.make.in (READELF): New substituted variable.
36702 * elf/check-textrel.c: File removed.
36704 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36706 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36708 * conform/data/ctype.h-data [C99-based standards] (isblank):
36710 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36711 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36713 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36714 Specify type. Require positive value.
36715 (EILSEQ): Likewise.
36716 (ERANGE): Likewise.
36717 [ISO || POSIX] (EILSEQ): Do not expect.
36718 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36719 Specify type. Require positive value.
36720 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36721 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36722 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36723 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36724 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36725 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36726 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36727 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36728 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36729 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36730 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36731 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36732 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36733 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36734 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36735 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36736 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36737 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36738 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36739 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36740 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36741 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36742 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36771 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36772 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36773 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36774 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36775 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36776 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36777 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36778 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36779 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36780 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36781 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36782 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36783 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36784 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36785 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36786 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36787 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36788 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36789 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36790 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36791 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36792 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36793 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36794 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36795 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36796 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36798 (FLT_ROUNDS): Expect as macro, not constant.
36799 (FLT_MANT_DIG): Use macro-int-constant.
36800 (DBL_MANT_DIG): Likewise.
36801 (LDBL_MANT_DIG): Likewise.
36802 (FLT_DIG): Likewise.
36803 (DBL_DIG): Likewise.
36804 (LDBL_DIG): Likewise.
36805 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36806 (DBL_MIN_EXP): Likewise.
36807 (LDBL_MIN_EXP): Likewise.
36808 (FLT_MAX_EXP): Use macro-int-constant.
36809 (DBL_MAX_EXP): Likewise.
36810 (LDBL_MAX_EXP): Likewise.
36811 (FLT_MAX_10_EXP): Likewise.
36812 (DBL_MAX_10_EXP): Likewise.
36813 (LDBL_MAX_10_EXP): Likewise.
36814 (FLT_MAX): Use macro-constant.
36815 (DBL_MAX): Likewise.
36816 (LDBL_MAX): Likewise.
36817 (FLT_EPSILON): Use macro-constant. Give upper bound.
36818 (DBL_EPSILON): Likewise.
36819 (LDBL_EPSILON): Likewise.
36820 (FLT_MIN): Likewise.
36821 (DBL_MIN): Likewise.
36822 (LDBL_MIN): Likewise.
36823 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36824 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36825 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36826 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36827 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36828 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36829 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36830 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36831 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36832 [ISO11] (FLT_TRUE_MIN): Likewise.
36833 [ISO11] (LDBL_TRUE_MIN): Likewise.
36834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36835 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36836 (SCHAR_MIN): Use macro-int-constant. Specify type.
36837 (SCHAR_MAX): Likewise.
36838 (UCHAR_MAX): Likewise.
36839 (CHAR_MIN): Likewise.
36840 (CHAR_MAX): Likewise.
36841 (MB_LEN_MAX): Use macro-int-constant.
36842 (SHRT_MIN): Use macro-int-constant. Specify type.
36843 (SHRT_MAX): Likewise.
36844 (USHRT_MAX): Likewise.
36845 (INT_MAX): Likewise.
36846 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36848 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36850 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36852 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36853 bound negative. Suffix upper bound with "L".
36854 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36856 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36858 [C99-based standards] (LLONG_MAX): Likewise.
36859 [C99-based standards] (ULLONG_MAX): Likewise.
36860 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36862 [ISO11] (max_align_t): Require type.
36863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36865 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36866 from $CFLAGS, without defining away __attribute__ calls.
36867 (checknamespace): Use $CFLAGS_namespace.
36869 * conform/conformtest.pl (@keywords): Only include C99 keywords
36870 for standards based on C99 or C11.
36872 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36874 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36877 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36878 usability of symbols in #if.
36880 * conform/conformtest.pl: If macro or constant types start
36881 "promoted:", expect the symbol to be of the following type
36882 promoted by the integer promotions.
36884 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36885 in one place. Also handle "macro-constant".
36887 * conform/conformtest.pl: Only accept expected macro values with
36888 "==". Parse all "macro" lines in one place.
36889 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36891 * conform/conformtest.pl: Handle braced types on "constant" lines
36892 instead of handling "typed-constant".
36893 * conform/data/signal.h-data: Use "constant" instead of
36896 * conform/conformtest.pl: Handle "optional-" at start of lines in
36897 one place rather than duplicating several cases. Handle each
36898 format of "macro" line with initial "optional-".
36900 * conform/conformtest.pl: Only accept expected constant or
36901 optional-constant values with "==". Parse all "constant" lines in
36902 one place. Parse all "optional-constant" lines in one place.
36903 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36904 * conform/data/fmtmsg.h-data: Likewise.
36905 * conform/data/netinet/in.h-data: Likewise.
36906 * conform/data/tar.h-data: Likewise.
36907 * conform/data/limits.h-data: Use "==" form on "constant" and
36908 "optional-constant" lines.
36910 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36911 Use -std=c99 for XOPEN2K.
36912 (@knownproblems): Remove.
36913 (newtoken): Don't check %isknown.
36915 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36916 Do not expect macro.
36917 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36929 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36930 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36939 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36944 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36945 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36946 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36947 [XPG3] (acosh): Likewise.
36948 [XPG3] (asinh): Likewise.
36949 [XPG3] (atanh): Likewise.
36950 [XPG3] (cbrt): Likewise.
36951 [XPG3] (expm1): Likewise.
36952 [XPG3] (ilogb): Likewise.
36953 [XPG3] (log1p): Likewise.
36954 [XPG3] (logb): Likewise.
36955 [XPG3] (nextafter): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36958 [XPG3] (remainder): Likewise.
36959 [XPG3] (rint): Likewise.
36960 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36961 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36967 [UNIX98 || XOPEN2K] (scalb): Expect.
36968 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36969 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36973 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36974 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36976 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36977 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36991 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37106 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37107 _XOPEN_SOURCE_EXTENDED for XPG4.
37109 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37111 * Makeconfig (localtime): Remove variable.
37112 (inst_localtime-file): Likewise.
37114 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37135 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37139 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37140 comparisons to determine direction to adjust input.
37141 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37142 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37145 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37149 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37150 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37152 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37154 * math/libm-test.inc (nexttoward_test): Add more tests.
37156 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37160 in version GLIBC_2.1, not GLIBC_2.0.
37161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37164 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37167 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37169 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37170 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37171 * math/libm-test.inc (acos_test): Add more tests.
37172 (asin_test): Likewise.
37173 * sysdeps/i386/fpu/libm-test-ulps: Update.
37174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37177 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37179 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37180 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37181 * math/libm-test.inc (acos_test_tonearest): New function.
37182 (acos_test_towardzero): Likewise.
37183 (acos_test_downward): Likewise.
37184 (acos_test_upward): Likewise.
37185 (asin_test_tonearest): Likewise.
37186 (asin_test_towardzero): Likewise.
37187 (asin_test_downward): Likewise.
37188 (asin_test_upward): Likewise.
37189 (main): Call the new functions.
37190 * sysdeps/i386/fpu/libm-test-ulps: Update.
37191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37195 * math/e_exp10.c: Include <float.h>.
37196 (__ieee754_exp10): Handle underflow here rather than multiplying
37197 large negative argument by M_LN10.
37198 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37200 * math/e_exp10l.c: Include <float.h>.
37201 (__ieee754_exp10l): Handle underflow here rather than multiplying
37202 large negative argument by M_LN10l.
37203 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37204 spurious overflow exception on underflow.
37206 2012-04-29 Marek Polacek <polacek@redhat.com>
37208 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37209 (__fortify_function): New macro.
37210 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37211 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37212 __extern_always_inline.
37213 * libio/bits/stdio2.h: Likewise.
37214 * libio/bits/stdio.h: Likewise.
37215 * string/string.h: Likewise.
37216 * string/bits/string3.h: Likewise.
37217 * include/stdio.h: Likewise.
37218 * stdlib/bits/stdlib.h: Likewise.
37219 * stdlib/stdlib.h: Likewise.
37220 * rt/bits/mqueue2.h: Likewise.
37221 * rt/mqueue.h: Likewise.
37222 * posix/bits/unistd.h: Likewise.
37223 * posix/unistd.h: Likewise.
37224 * io/bits/poll2.h: Likewise.
37225 * io/bits/fcntl2.h: Likewise.
37226 * io/fcntl.h: Likewise.
37227 * io/sys/poll.h: Likewise.
37228 * misc/bits/syslog.h: Likewise.
37229 * misc/bits/syslog-ldbl.h: Likewise.
37230 * misc/sys/syslog.h: Likewise.
37231 * socket/bits/socket2.h: Likewise.
37232 * socket/sys/socket.h: Likewise.
37233 * debug/tst-chk1.c: Likewise.
37234 * wcsmbs/bits/wchar2.h: Likewise.
37235 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37236 * wcsmbs/wchar.h: Likewise.
37238 2012-04-29 Andreas Jaeger <aj@suse.de>
37240 * Makerules (tests): Remove enable-check-abi protection.
37241 (check-abi-warn): Remove.
37242 (check-abi-%): Remove check-abi-warn usage.
37244 * configure.in: Remove check-abi configure option.
37245 * configure: Regenerated.
37246 * config.make.in (enable-check-abi): Remove.
37248 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37251 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37252 double functions to double *_finite functions.
37255 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37256 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37258 * stdio-common/Makefile (tests): Add tst-sprintf3.
37259 * stdio-common/tst-sprintf3.c: New file.
37261 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37262 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37264 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37266 * conform/conformtest.pl: Remove duplicate typed-constant
37269 2012-04-28 David S. Miller <davem@davemloft.net>
37271 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37272 (check-abi-%): Remove AWK script prerequisite and explicit
37274 (check-abi): Rewrite to just diff the symlist with the abilist.
37275 (config-tls, config-abi-config): Delete, no longer used.
37276 (update-abi-%): Remove AWK script and explicit abilist directory.
37277 (update-abi): Rewrite to simply compare and conditionally copy the
37278 symlist and the sysdep abilist file. Remove update-abi-config
37280 * abilist/ld.abilist: Remove.
37281 * abilist/libBrokenLocale.abilist: Remove.
37282 * abilist/libanl.abilist: Remove.
37283 * abilist/libcrypt.abilist: Remove.
37284 * abilist/libdl.abilist: Remove.
37285 * abilist/librt.abilist: Remove.
37286 * abilist/libthread_db.abilist: Remove.
37287 * abilist/libutil.abilist: Remove.
37288 * scripts/extract-abilist.awk: Remove.
37289 * scripts/merge-abilist.awk: Remove.
37290 * sysdeps/generic/libcidn.abilist: New file.
37291 * sysdeps/generic/libnss_compat.abilist: New file.
37292 * sysdeps/generic/libnss_db.abilist: New file.
37293 * sysdeps/generic/libnss_dns.abilist: New file.
37294 * sysdeps/generic/libnss_files.abilist: New file.
37295 * sysdeps/generic/libnss_hesiod.abilist: New file.
37296 * sysdeps/generic/libnss_nis.abilist: New file.
37297 * sysdeps/generic/libnss_nisplus.abilist: New file.
37298 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37299 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37300 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37303 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37304 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37305 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37306 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37307 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37308 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37309 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37310 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37312 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37313 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37314 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37315 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37317 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37318 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37319 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37320 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37321 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37322 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37324 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37325 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37326 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37328 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37431 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37432 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37433 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37436 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37437 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37438 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37439 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37440 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37441 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37442 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37443 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37444 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37496 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37498 * conform/conformtest.pl: Fix typo in handling typed-constant from
37501 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37503 * README: Cut down references to pre-2.6 Linux kernels and
37504 Linuxthreads. Update lists of configurations in libc and ports
37505 and sort alphabetically. Say "or newer" with Linux kernel version
37508 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37510 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37513 * math/libm-test.inc (logb_test_downward): New test to expose
37514 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37517 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37520 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37522 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37523 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37525 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37527 * sysdeps/unix/i386/brk.S: Remove file.
37528 * sysdeps/unix/i386/dl-brk.S: Likewise.
37529 * sysdeps/unix/i386/pipe.S: Likewise.
37530 * sysdeps/unix/i386/sigreturn.S: Likewise.
37531 * sysdeps/unix/i386/syscall.S: Likewise.
37532 * sysdeps/unix/i386/vfork.S: Likewise.
37533 * sysdeps/unix/i386/wait.S: Likewise.
37535 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37536 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37538 * configure.in (arm*-none*): Do not allow without
37539 --enable-hacker-mode.
37540 (netbsd*): Remove case setting base_os.
37541 (386bsd*): Likewise.
37542 (freebsd*): Likewise.
37545 (sunos*): Likewise.
37546 (ultrix*): Likewise.
37547 (newsos*): Likewise.
37548 (dynix*): Likewise.
37554 (minix*): Likewise.
37555 (irix4*): Likewise.
37556 (irix6*): Likewise.
37557 (solaris[2-9]*): Likewise.
37559 * configure: Regenerated.
37561 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37565 overflow or cancellation in calculating denominator.
37566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37568 down expression to avoid unexpected rounding in newer GCCs.
37569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37571 2012-04-26 David S. Miller <davem@davemloft.net>
37573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37574 long-double compat symbols.
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37589 2012-04-25 David S. Miller <davem@davemloft.net>
37591 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37592 HWCAP_* values only after the memory barriers have been defined.
37593 (atomic_full_barrier): Define.
37594 (atomic_read_barrier): Define.
37595 (atomic_write_barrier): Define.
37597 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37599 * shlib-versions: Add libgcc_s version information.
37600 * sysdeps/generic/libgcc_s.h: Remove.
37601 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37603 * sysdeps/gnu/unwind-resume.c: Likewise.
37604 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37606 2012-04-25 David S. Miller <davem@davemloft.net>
37608 * sysdeps/unix/sparc/brk.S: Delete.
37609 * sysdeps/unix/sparc/dl-brk.S: Delete.
37610 * sysdeps/unix/sparc/pipe.S: Delete.
37611 * sysdeps/unix/sparc/sysdep.S: Delete.
37612 * sysdeps/unix/sparc/sysdep.h: Delete.
37613 * sysdeps/unix/sparc/vfork.S: Delete.
37614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37615 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37617 (ret_ERRVAL, r0, r1, MOVE): Define.
37618 (JUMPTARGET): Remove.
37619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37620 sysdeps/unix/sparc/sysdep.h
37621 (ENTRY, END): Remove.
37622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37624 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37626 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37627 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37630 * timezone/README: Update upstream location and email address for
37632 * timezone/zdump.c: Update from tzcode 2012b.
37633 * timezone/zic.c: Likewise.
37635 * configure.in (libc_cv_as_needed): Remove test.
37636 * configure: Regenerated.
37637 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37638 conditional definition.
37639 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37640 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37641 * config.make.in (have-as-needed): Remove variable.
37643 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37644 Paul Pluzhnikov <ppluzhnikov@google.com>
37646 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37649 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37651 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37652 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37653 * sysdeps/sh/strlen.S: Likewise.
37655 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37657 * sysdeps/unix/fork.S: Remove file.
37658 * sysdeps/unix/i386/fork.S: Likewise.
37659 * sysdeps/unix/sparc/fork.S: Likewise.
37661 * sysdeps/unix/system.c: Remove file.
37662 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37664 * sysdeps/unix/getegid.S: Remove file.
37665 * sysdeps/unix/geteuid.S: Likewise.
37667 2012-04-24 Roland McGrath <roland@hack.frob.com>
37669 * scripts/check-localplt.awk: New file.
37670 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37672 * scripts/data/localplt-generic.data: Add a comment.
37674 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37675 NODE when __dir_mkfile failed.
37676 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37677 Reported by Ludovic Courtès <ludo@gnu.org>.
37679 2012-04-24 Andreas Jaeger <aj@suse.de>
37681 * Makerules (common-clean): Also remove gen-as-const-headers
37684 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37686 * Makerules (native-compile): Do not change working directory for
37687 build. Use $(OUTPUT_OPTION) in command.
37688 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37690 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37693 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37694 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37695 * math/libm-test.inc (floor_test): Add more tests.
37696 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37698 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37700 * sysdeps/unix/getdents.c: Remove file.
37701 * sysdeps/unix/sysv/getdents.c: Likewise.
37702 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37704 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37705 sysdeps/unix/mman/syscalls.list.
37707 (mprotect): Likewise.
37709 (munmap): Likewise.
37710 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37711 * sysdeps/unix/mman/syscalls.list: Remove.
37712 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37714 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37715 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37716 * configure: Regenerated.
37717 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37718 $(libgcc_s_suffix).
37719 * config.make.in (libgcc_s_suffix): Remove variable.
37721 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37723 * sysdeps/unix/sysv/gethostname.c: Move to ...
37724 * sysdeps/posix/gethostname.c: ... here.
37726 * sysdeps/unix/execve.S: Remove file.
37728 * sysdeps/unix/_exit.S: Remove file.
37730 2012-04-23 Andreas Jaeger <aj@suse.de>
37733 * manual/Makefile: Remove make dist support, there's no
37734 need for a stand-alone documentation tar ball.
37735 (TEXI2DVI): Define always, it's not in Makeconfig.
37738 (edition): Removed.
37739 (glibc-doc-$(edition).tar): Removed
37743 (ETAGS): Remove, it's in Makeconfig.
37744 (move-if-change): Remove, it's in Makeconfig.
37746 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37749 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37750 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37751 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37752 (strtod_l, strtof_l, strtold_l): Remove __wur.
37753 It is not necessarily an error to ignore strtol's return value.
37754 One can reliably look at the stored endptr to decide whether
37755 the number had valid syntax.
37757 2012-04-21 Andreas Jaeger <aj@suse.de>
37760 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37762 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37764 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37765 * sysdeps/unix/sysv/Versions: Remove file.
37767 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37772 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37776 version from __vm86.
37778 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37780 * sysdeps/unix/common/lxstat.c: Remove file.
37781 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37783 * sysdeps/unix/sysv/Makefile: Remove file.
37785 * sysdeps/unix/sysv/direct.h: Remove file.
37787 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37788 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37789 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37790 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37791 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37792 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37793 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37795 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37797 * sysdeps/unix/xmknod.c: Remove file.
37798 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37800 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37802 * sysdeps/unix/sysv/i386/time.S: Remove file.
37804 * sysdeps/unix/fxstat.c: Remove file.
37805 * sysdeps/unix/xstat.c: Likewise.
37806 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37808 * sysdeps/unix/sysv/sigaction.c: Remove file.
37810 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37811 (sysdep_headers): Remove variable.
37812 [termio.h not in sysdep_headers] (generated): Likewise.
37813 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37814 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37815 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37816 * sysdeps/unix/sysv/tcflow.c: Likewise.
37817 * sysdeps/unix/sysv/tcflush.c: Likewise.
37818 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37819 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37820 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37821 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37822 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37824 * sysdeps/unix/siglist.c: Remove file.
37826 * sysdeps/unix/getppid.S: Remove file.
37828 * sysdeps/unix/mkdir.c: Remove file.
37829 * sysdeps/unix/rmdir.c: Likewise.
37831 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37833 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37835 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37836 errlist-compat value.
37838 2012-04-18 David S. Miller <davem@davemloft.net>
37840 * sysdeps/generic/memcopy.h (reg_char): Delete.
37841 * debug/strcat_chk.c: Use char, not reg_char.
37842 * debug/strcpy_chk.c: Likewise.
37843 * debug/strncat_chk.c: Likewise.
37844 * debug/strncpy_chk.c: Likewise.
37845 * string/memchr.c: Likewise.
37846 * string/memrchr.c: Likewise.
37847 * string/rawmemchr.c: Likewise.
37848 * string/strcat.c: Likewise.
37849 * string/strchr.c: Likewise.
37850 * string/strchrnul.c: Likewise.
37851 * string/strcmp.c: Likewise.
37852 * string/strcpy.c: Likewise.
37853 * string/strncat.c: Likewise.
37854 * string/strncmp.c: Likewise.
37855 * string/strncpy.c: Likewise.
37857 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37859 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37860 __builtin_memcopy is called when src and dest ranges are known to not
37863 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37866 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37867 fwd_align_merge macro call.
37868 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37869 bwd_align_merge macro call.
37870 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37872 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37874 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37875 bwd_align_merge macros.
37876 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37877 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37878 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37880 2012-04-18 David S. Miller <davem@davemloft.net>
37882 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37884 2012-04-18 Andreas Jaeger <aj@suse.de>
37887 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37888 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37892 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37893 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37895 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37896 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37897 Adjust for changed ldbl-128 files.
37899 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37900 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37901 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37903 2012-04-17 David S. Miller <davem@davemloft.net>
37905 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37907 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37909 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37910 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37911 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37912 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37913 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37914 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37916 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37919 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37920 * math/libm-test.inc: Add ilogb errno and exception tests.
37921 * math/w_ilogb.c: New file: ilogb wrapper.
37922 * math/w_ilogbf.c: New file: ilogbf wrapper.
37923 * math/w_ilogbl.c: New file: ilogbl wrapper.
37924 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37925 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37926 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37927 exception being thrown with 0.0 as argument.
37928 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37929 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37930 exception being thrown with 0.0 as argument.
37931 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37932 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37933 exception being thrown with 0.0 as argument.
37934 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37935 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37936 exception being thrown with 0.0 as argument.
37937 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37938 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37939 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37940 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37941 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37942 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37943 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37944 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37945 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37947 2012-04-17 Petr Baudis <pasky@ucw.cz>
37949 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37952 2012-04-16 Marek Polacek <polacek@redhat.com>
37954 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37956 2012-04-16 Marek Polacek <polacek@redhat.com>
37958 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37959 operands of fdivp instruction.
37961 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37963 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37964 * elf/tst-auditmod3b.c: Likewise.
37965 * elf/tst-auditmod4b.c: Likewise.
37966 * elf/tst-auditmod5b.c: Likewise.
37967 * elf/tst-auditmod6b.c: Likewise.
37968 * elf/tst-auditmod6c.c: Likewise.
37969 * elf/tst-auditmod7b.c: Likewise.
37970 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37971 * sysdeps/x86_64/preconfigure.in: Likewise.
37972 * sysdeps/x86_64/preconfigure: Regenerated.
37974 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37976 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37979 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37982 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37984 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37987 * locale/iso-639.def: Fix gl language name. Spotted by
37990 2012-04-12 Roland McGrath <roland@hack.frob.com>
37993 * libio/libio.h (__io_write_fn): Update comment.
37995 2012-04-12 Petr Baudis <pasky@ucw.cz>
37998 * stdio.texi (Hook Functions): The user provided writer function
37999 is not allowed to return -1.
38001 2012-04-11 David S. Miller <davem@davemloft.net>
38003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38005 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38007 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38008 Add a leading slash to rtkaio.
38010 2012-04-11 Jim Meyering <meyering@redhat.com>
38013 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38014 It is not necessarily an error to ignore fwrite's return
38015 value. One can reliably use ferror to test for errors after
38018 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38020 * bits/types.h (__snseconds_t): New type.
38021 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38023 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38025 (__SNSECONDS_T_TYPE): Likewise.
38026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38027 (__SNSECONDS_T_TYPE): Likewise.
38028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38029 (__SNSECONDS_T_TYPE): Likewise.
38031 2012-04-10 Andreas Jaeger <aj@suse.de>
38034 * manual/time.texi (Processor Time): Return type of times is
38035 elapsed real time since an arbitrary point in the past.
38036 (CPU Time): Move CLK_TCK from here...
38037 (Processor Time): ...to here. Correct description.
38038 * manual/conf.texi (Constants for Sysconf): Correct description of
38041 2012-04-10 David S. Miller <davem@davemloft.net>
38044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38045 where the is a gap between DT_REL(A) and DT_JMPREL.
38047 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38049 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38050 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38051 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38053 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38055 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38056 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38057 (dl_main): Handle --inhibit-cache.
38058 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38060 * elf/dl-load.c (_dl_map_object): Use it.
38061 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38063 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38066 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38067 (__ieee754_powl): Saturate large exponents rather than testing for
38068 overflow of y*log2(x).
38069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38070 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38074 * math/s_ctan.c: Include <float.h>.
38075 (__ctan): Avoid internal overflow or cancellation in calculating
38077 * math/s_ctanf.c: Likewise.
38078 * math/s_ctanl.c: Likewise.
38079 * math/s_ctanh.c: Likewise.
38080 * math/s_ctanhf.c: Likewise.
38081 * math/s_ctanhl.c: Likewise.
38082 * math/libm-test.inc (ctan_test): Add more tests.
38083 (ctanh_test): Likewise.
38084 * sysdeps/i386/fpu/libm-test-ulps: Update.
38085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087 2012-04-09 Andreas Jaeger <aj@suse.de>
38090 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38091 is an optional BSD extension.
38094 * manual/stdio.texi (Opening Streams): Document additional fopen
38097 2012-04-09 Roland McGrath <roland@hack.frob.com>
38099 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38100 %eax without telling the compiler.
38102 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38105 * manual/install.texi: Use sourceware.org.
38107 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38110 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38111 (__ieee754_pow): Generate overflow and underflow using huge*huge
38112 and tiny*tiny rather than just returning constant infinity or zero
38113 for large exponents.
38114 * math/libm-test.inc (pow_test): Require overflow exceptions for
38115 applicable cases of large exponents.
38118 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38119 (__ieee754_pow): Use iterative multiplication algorithm only for
38120 integer exponents with absolute value below 1024. Check for odd
38121 integer exponents when using algorithm for real exponents.
38122 * math/libm-test.inc (pow_test): Add more tests.
38123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38125 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38128 * math/libm-test.inc (exp_test): Do not allow overflow exception
38131 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38134 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38135 instead of __kernel_standard_f.
38137 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38139 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38140 * sysdeps/x86_64/memset_chk.S: Likewise.
38142 2012-04-08 Andreas Jaeger <aj@suse.de>
38145 * manual/startup.texi (Environment Access): Describe return value
38146 for putenv and setenv.
38149 * manual/filesys.texi (Directory Entries): Add description for
38153 * manual/filesys.texi (Directory Entries): Clarify that it's file
38154 system not operating system in the description of DT_UNKNOWN.
38157 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38159 2012-04-08 Stephen Compall <s11@member.fsf.org>
38162 * manual/llio.texi (Opening and Closing Files): Add cross
38163 reference to explain mode argument.
38165 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38167 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38168 * sysdeps/x86_64/memset_chk.S: Likewise.
38170 2012-04-07 David S. Miller <davem@davemloft.net>
38172 * elf/elf.h (R_SPARC_WDISP10): Define.
38173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38176 R_SPARC_SIZE64 and R_SPARC_H34.
38178 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38181 conditions and remove no longer applicable assertion.
38183 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38185 * bits/byteswap.h: Include <features.h>.
38186 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38187 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38189 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38191 * bits/byteswap.h (__bswap_16): Removed.
38192 Include <bits/byteswap-16.h> to get __bswap_16.
38193 * sysdeps/i386/bits/byteswap.h: Likewise.
38194 * sysdeps/s390/bits/byteswap.h: Likewise.
38195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38196 * bits/byteswap-16.h: New file.
38197 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38198 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38199 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38200 * string/Makefile (headers): Add bits/byteswap-16.h.
38202 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38205 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38207 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38208 * nss/tst-nss-static.c: New.
38210 2012-04-06 Robert Millan <rmh@gnu.org>
38213 * manual/llio.texi (File Position Primitive): lseek
38214 refers to WHENCE when it really means OFFSET.
38216 2012-04-06 Andreas Jaeger <aj@suse.de>
38218 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38219 strncmp declarations.
38221 * abilist/libc.abilist: Add __poll and __ppoll.
38223 2012-04-05 David S. Miller <davem@davemloft.net>
38225 * scripts/check-local-headers.sh: Accept a host triplet in the
38226 path matched by the exclude regexp.
38228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38230 * sysdeps/powerpc/powerpc32/dl-machine.h
38231 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38232 * sysdeps/s390/s390-32/dl-machine.h
38233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38234 * sysdeps/sparc/sparc32/dl-machine.h
38235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38236 * sysdeps/sparc/sparc64/dl-machine.h
38237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38239 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38242 undefined symbol errors.
38244 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38247 2012-04-05 Michael Matz <matz@suse.de>
38250 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38252 2012-04-05 Andreas Jaeger <aj@suse.de>
38255 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38258 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38260 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38261 which ROUND is no valid rounding mode.
38263 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38265 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38267 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38269 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38272 an exception using FPU order intentionally.
38274 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38276 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38277 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38278 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38279 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38281 2012-04-05 Simon Josefsson <simon@josefsson.org>
38284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38285 EINVAL when BUFLEN is too smal.
38287 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38290 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38291 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38293 2012-04-03 Andreas Jaeger <aj@suse.de>
38296 * manual/setjmp.texi (System V contexts): Fix sentence.
38299 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38300 New macro for this case.
38301 [!__GNUC__] (__bswap_64): New inline function for this case.
38302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38303 * bits/byteswap.h: Likewise.
38304 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38305 ull, guard with __GLIBC_HAVE_LONG_LONG.
38307 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38308 __GLIBC_HAVE_LONG_LONG.
38310 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38311 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38313 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38316 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38317 inptr and inend, rather than using last_ch.
38319 2012-04-02 David S. Miller <davem@davemloft.net>
38321 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38322 * stdio-common/printf-parse.h (read_int): Change return type to
38323 'int', return -1 on INT_MAX overflow.
38324 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38325 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38326 overflows INT_MAX. Check for overflow of in-format-string precision
38327 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38328 SIZE_MAX not INT_MAX for integer overflow test.
38329 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38330 skip the construct in the format string but do not record anything.
38331 * stdio-common/bug22.c: Adjust to test both width/prevision
38332 INT_MAX overflow as well as total length INT_MAX overflow. Check
38333 explicitly for proper errno values.
38335 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38337 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38339 * string/test-strcmp.c [! WIDE]: Likewise.
38340 * time/tst-mktime2.c: Likewise for INT_MAX.
38341 * string/test-string.h: #include <sys/param.h> for MIN.
38343 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38344 * sysdeps/i386/init-first.c (init): Likewise.
38345 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38346 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38347 * sysdeps/sh/init-first.c (init): Likewise.
38349 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38351 * po/ru.po: Update from translation team.
38352 * po/vi.po: Likewise.
38354 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38356 * resolv/nss_dns/dns-host.c: Merge copyright years.
38358 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38360 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38361 Optimize memcpy with prefetch if
38362 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38363 src, dst pointers have unequal 16 byte alignments.
38365 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38368 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38369 from a CNAME entry and return the minimum ttl for the query.
38370 (gaih_getanswer_slice): Likewise.
38372 2012-03-30 Jeff Law <law@redhat.com>
38374 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38376 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38377 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38379 * resolv/nss_dns/dns-host.c: Update copyright year.
38381 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38383 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38384 requests to save a system call. Fix check that all bytes are sent.
38386 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38387 comments for sendmmsg.
38389 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38392 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38393 with only 1 character between 0x0041 and 0x01b0.
38394 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38395 * wcsmbs/tst-mbsnrtowcs.c: New file.
38397 2012-03-29 David S. Miller <davem@davemloft.net>
38399 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38400 small copies by hand.
38402 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38405 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38406 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38409 2012-03-28 David S. Miller <davem@davemloft.net>
38411 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38412 that branches into memcpy.
38413 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38416 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38419 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38420 implementation too.
38421 * sysdeps/sparc/mempcpy.S: New file.
38423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38424 the IFUNC routine in the libc case.
38425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38428 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38429 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38430 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38431 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38432 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38433 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38434 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38436 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38437 loop to 256 bytes instead of 64 bytes and fix test signedness.
38439 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38440 * sysdeps/sparc/sparc32/Makefile: rather than here...
38441 * sysdeps/sparc/sparc64/Makefile: and here.
38443 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38445 * malloc/mallocbug.c: Avoid warnings about unused variables.
38447 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38450 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38451 in the right place. Discard and retry query if response is
38452 larger than input buffer size.
38454 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38459 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38460 x for large integer exponent.
38461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38462 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38463 sign of result as needed afterwards.
38464 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38466 result for underflowing pow the same as for overflow.
38467 (__kernel_standard_l): Handle powl overflow and underflow here
38468 rather than calling __kernel_standard.
38469 * math/libm-test.inc (pow_test): Add more tests.
38484 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38485 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38486 (__kernel_standard_l): New function.
38487 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38489 * math/w_acosl.c (__acosl): Likewise.
38490 * math/w_asinl.c (__asinl): Likewise.
38491 * math/w_atan2l.c (__atan2l): Likewise.
38492 * math/w_atanhl.c (__atanhl): Likewise.
38493 * math/w_coshl.c (__coshl): Likewise.
38494 * math/w_exp10l.c (__exp10l): Likewise.
38495 * math/w_exp2l.c (__exp2l): Likewise.
38496 * math/w_fmodl.c (__fmodl): Likewise.
38497 * math/w_hypotl.c (__hypotl): Likewise.
38498 * math/w_j0l.c (__j0l, __y0l): Likewise.
38499 * math/w_j1l.c (__j1l, __y1l): Likewise.
38500 * math/w_jnl.c (__jnl, __ynl): Likewise.
38501 * math/w_lgammal.c (__lgammal): Likewise.
38502 * math/w_log10l.c (__log10l): Likewise.
38503 * math/w_log2l.c (__log2l): Likewise.
38504 * math/w_logl.c (__logl): Likewise.
38505 * math/w_powl.c (__powl): Likewise.
38506 * math/w_remainderl.c (__remainderl): Likewise.
38507 * math/w_scalbl.c (sysv_scalbl): Likewise.
38508 * math/w_sinhl.c (__sinhl): Likewise.
38509 * math/w_sqrtl.c (__sqrtl): Likewise.
38510 * math/w_tgammal.c (__tgammal): Likewise.
38511 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38512 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38513 * math/libm-test.inc (acos_test): Add more tests.
38514 (acosh_test): Likewise.
38515 (asin_test): Likewise.
38516 (atanh_test): Likewise.
38517 (exp_test): Likewise.
38518 (exp10_test): Likewise.
38519 (exp2_test): Likewise.
38520 (expm1_test): Likewise.
38521 (lgamma_test): Likewise.
38522 (log_test): Likewise.
38523 (log10_test): Likewise.
38524 (log1p_test): Likewise.
38525 (log2_test): Likewise.
38526 (pow_test): Do not allow some spurious overflow exceptions.
38527 (sqrt_test): Add more tests.
38528 (tgamma_test): Likewise.
38529 (y0_test): Likewise.
38530 (y1_test): Likewise.
38531 (yn_test): Likewise.
38533 2012-03-27 Anton Blanchard <anton@samba.org>
38535 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38539 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38541 2012-03-27 David S. Miller <davem@davemloft.net>
38543 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38545 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38546 have-as-vis3 check.
38548 2012-03-27 Andreas Jaeger <aj@suse.de>
38550 * sysdeps/x86_64/elf/configure.in: Moved to ...
38551 * sysdeps/x86_64/configure.in: ... here.
38552 * sysdeps/x86_64/elf/start.S: Moved to ...
38553 * sysdeps/x86_64/start.S: ... here.
38554 * sysdeps/x86_64/elf/configure: Delete.
38556 * sysdeps/x86_64/configure.in: Merge contents from
38557 sysdeps/i386/configure.in (without i686 check).
38559 * sysdeps/i386/elf/Versions: Merge into ...
38560 * sysdeps/i386/Versions: ... this.
38561 * sysdeps/i386/elf/Versions: Delete file.
38562 * sysdeps/i386/elf/start.S: Moved to ...
38563 * sysdeps/i386/start.S: ...here.
38564 * sysdeps/i386/elf/configure.in: Merge into...
38565 * sysdeps/i386/configure.in: ...here.
38566 * sysdeps/i386/elf/configure.in: Delete file.
38567 * sysdeps/i386/elf/configure: Delete file.
38569 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38570 * debug/backtracesyms.c: ... here.
38571 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38572 * debug/backtracesymsfd.c: ... here.
38573 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38574 * sysdeps/generic/ifunc-sel.h: ... here.
38576 * sysdeps/unix/i386/start.c: Delete file.
38577 * sysdeps/unix/sparc/start.c: Delete file.
38578 * sysdeps/unix/start.c: Delete file.
38580 * sysdeps/sh/elf/configure.in: Moved to ...
38581 * sysdeps/sh/configure.in: ... here.
38582 * sysdeps/sh/elf/start.S: Moved to ...
38583 * sysdeps/sh/start.S: ... here.
38584 * sysdeps/sh/elf/configure: Delete file.
38586 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38587 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38588 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38589 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38590 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38591 * sysdeps/powerpc/powerpc64/start.S: here.
38592 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38593 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38594 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38595 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38596 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38598 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38599 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38600 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38601 * sysdeps/powerpc/powerpc32/start.S: ... here.
38602 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38603 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38604 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38606 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38607 * sysdeps/powerpc/ifunc-sel.h: ... here.
38608 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38609 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38611 * sysdeps/sparc/elf/configure.in: Moved to ...
38612 * sysdeps/sparc/configure.in: ... here.
38613 * sysdeps/sparc/elf/configure: Delete file.
38614 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38615 * sysdeps/sparc/sparc32/start.S: ... here.
38616 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38617 * sysdeps/sparc/sparc64/start.S: ... here.
38618 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38619 * sysdeps/sparc/sparc32/Makefile: ... this.
38620 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38621 * sysdeps/sparc/sparc64/Makefile: ... this.
38623 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38624 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38625 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38626 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38627 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38628 * sysdeps/s390/s390-32/setjmp.S: ... here.
38629 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38630 * sysdeps/s390/s390-32/configure.in: ... here.
38631 * sysdeps/s390/s390-32/elf/configure: Delete file.
38632 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38633 * sysdeps/s390/s390-32/start.S: ... here.
38635 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38636 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38637 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38638 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38639 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38640 * sysdeps/s390/s390-64/setjmp.S: ... here.
38641 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38642 * sysdeps/s390/s390-64/configure.in: ... here
38643 * sysdeps/s390/s390-64/elf/configure: Delete file.
38644 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38645 * sysdeps/s390/s390-64/start.S: ... here.
38646 * sysdeps/s390/s390-64/elf/configure: Delete.
38648 * configure.in: Remove support for elf directories in sysdeps.
38650 * configure: Regenerated.
38651 * sysdeps/i386/configure: Regenerated.
38652 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38653 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38654 * sysdeps/s390/s390-32/configure: Regenerated.
38655 * sysdeps/s390/s390-64/configure: Regenerated.
38656 * sysdeps/sh/configure: Regenerated.
38657 * sysdeps/sparc/configure: Regenerated.
38658 * sysdeps/x86_64/configure: Regenerated.
38660 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38665 denormal result into account.
38667 2012-03-25 Roland McGrath <roland@hack.frob.com>
38669 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38670 Reported by Allan McRae <allan@archlinux.org>.
38672 2012-03-23 Jeff Law <law@redhat.com>
38674 * nss/getnssent.c (__nss_getent): Fix typo.
38676 2012-03-23 David S. Miller <davem@davemloft.net>
38678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38680 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38682 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38683 to pad to uint64_t for each field.
38684 (dl_tls_index): Replace unsigned long with uint64_t.
38686 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38687 Paul Pluzhnikov <ppluzhnikov@google.com>
38690 * grp/Makefile (otherlibs): Don't set it.
38691 * inet/Makefile (otherlibs): Likewise.
38692 * login/Makefile (otherlibs): Likewise.
38693 * nscd/Makefile (otherlibs): Likewise.
38694 * posix/Makefile (otherlibs): Likewise.
38695 * pwd/Makefile (otherlibs): Likewise.
38696 * rt/Makefile (otherlibs): Likewise.
38697 * sunrpc/Makefile (otherlibs): Likewise.
38698 * nss/Makefile (otherlibs): Likewise.
38699 Add libnss_files to routines and static-only-routines.
38700 ($(objpfx)getent): Remove rule.
38701 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38702 static-only-routines.
38704 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38707 * math/s_cexp.c: Include <float.h>.
38708 (__cexp): Handle exp result overflowing not necessarily
38709 overflowing both real and imaginary parts of result.
38710 * math/s_cexpf.c: Likewise.
38711 * math/s_cexpl.c: Likewise.
38712 * math/libm-test.inc (cexp_test): Add more tests.
38713 * sysdeps/i386/fpu/libm-test-ulps: Update.
38714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38718 * include/link.h (ELFW): New macro.
38719 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38720 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38722 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38724 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38727 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38729 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38731 (struct La_x32_retval): Likewise.
38733 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38735 * sysdeps/x86_64/preconfigure.in: New file.
38736 * sysdeps/x86_64/preconfigure: New generated file.
38738 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38741 * math/e_exp2l.c: Include <float.h>.
38742 (__ieee754_exp2l): Handle overflow and underflow cases
38743 separately. Only pass fractional part of argument to
38745 * math/libm-test.inc (exp2_test): Add more tests.
38747 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38748 negating x to take absolute value.
38749 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38754 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38755 computing low part if x was negated.
38756 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38758 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38760 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38761 la_x32_gnu_pltexit.
38762 (pltexit): Cast int_retval to ptrdiff_t.
38763 * elf/tst-auditmod3b.c: Likewise.
38764 * elf/tst-auditmod4b.c: Likewise.
38765 * elf/tst-auditmod5b.c: Likewise.
38766 * elf/tst-auditmod6b.c: Likewise.
38767 * elf/tst-auditmod6c.c: Likewise.
38768 * elf/tst-auditmod7b.c: Likewise.
38770 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38771 and x32_gnu_pltexit.
38773 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38774 __ELF_NATIVE_CLASS.
38775 (La_x32_regs): New macro.
38776 (La_x32_retval): Likewise.
38777 (la_x32_gnu_pltenter): New function prototype.
38778 (la_x32_gnu_pltexit): Likewise.
38780 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38787 * configure.in (libc_cv_cc_nofma): Check for option to disable
38788 generation of FMA instructions.
38789 * configure: Regenerate.
38790 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38791 * sysdeps/ieee754/dbl-64/Makefile: New file.
38792 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38793 Remove brandred-fma4.
38794 (CFLAGS-brandred-fma4.c): Remove.
38795 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38801 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38803 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38804 LLONG_MAX != LONG_MAX.
38805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38806 (_fitoa_word): Likewise.
38807 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38808 LLONG_MAX != LONG_MAX.
38809 * stdio-common/_itowa.h: Include <_itoa.h>.
38810 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38811 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38812 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38813 only if not defined.
38814 (_ITOA_WORD_TYPE): Likewise.
38815 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38816 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38818 2012-03-21 David S. Miller <davem@davemloft.net>
38820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38822 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38824 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38825 of x86_64 when setting libc_cv_slibdir, libdir and
38827 * sysdeps/unix/sysv/linux/configure: Regenerated.
38829 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38831 * manual/lang.texi (Old Varargs): Remove section.
38832 (How Variadic): Update menu.
38833 (va_start): Do not mention varargs.h.
38835 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38836 Joseph Myers <joseph@codesourcery.com>
38838 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38840 * configure: Regenerated.
38842 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38844 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38845 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38848 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38851 * Makefile (files-for-dist): Remove NOTES.
38852 (NOTES): Remove rule.
38853 * README: Don't refer to NOTES.
38854 * manual/creature.texi: Don't include macros.texi.
38855 * manual/intro.texi (creature.texi): Remove comment referring to
38858 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38859 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38860 * configure: Regenerated.
38861 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38862 LIBC_TRY_CC_OPTION.
38863 (libc_cv_as_i686): Likewise.
38864 (libc_cv_cc_avx): Likewise.
38865 (libc_cv_cc_sse2avx): Likewise.
38866 (libc_cv_cc_fma4): Likewise.
38867 (libc_cv_cc_novzeroupper): Likewise.
38868 * sysdeps/i386/configure: Regenerated.
38871 * sysdeps/i386/fpu/s_cexp.S: Remove.
38872 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38873 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38874 * math/libm-test.inc (cexp_test): Add more tests.
38875 * sysdeps/i386/fpu/libm-test-ulps: Update.
38876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38878 2012-03-21 Allan McRae <allan@archlinux.org>
38880 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38882 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38885 * math/w_exp2.c: Do not include <float.h>.
38886 (o_threshold, u_threshold): Remove.
38887 (__exp2): Calculate result before checking finiteness and calling
38889 * math/w_exp2f.c: Likewise.
38890 * math/w_exp2l.c: Likewise.
38891 * math/libm-test.inc (exp2_test): Require overflow exception for
38895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38896 range of signed 64-bit integers before using fistpll. Remove
38897 checks for whether integers fit in mantissa bits.
38898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38899 the range of signed 32-bit integers before using fistpl. Remove
38900 checks for whether integers fit in mantissa bits.
38901 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38902 (__ieee754_powl): Test for y outside the range of signed 64-bit
38903 integers before using fistpll. Reduce 64-bit values to 63-bit
38905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38906 divide-by-zero is raised for zero to large negative powers.
38907 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38908 (__ieee754_powl): Test for y outside the range of signed 64-bit
38909 integers before using fistpll. Reduce 64-bit values to 63-bit
38911 * math/libm-test.inc (pow_test): Add more tests.
38913 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38915 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38916 <stdio-common/_itoa.h>.
38917 * debug/segfault.c: Likewise.
38918 * elf/dl-cache.c: Likewise.
38919 * elf/dl-minimal.c: Likewise.
38920 * elf/dl-misc.c: Likewise.
38921 * elf/dl-sysdep.c: Likewise.
38922 * elf/dl-version.c: Likewise.
38923 * elf/rtld.c: Likewise.
38924 * hurd/hurdsock.c: Likewise.
38925 * hurd/lookup-retry.c: Likewise.
38926 * malloc/malloc.c: Likewise.
38927 * malloc/mtrace.c: Likewise.
38928 * nscd/nscd_getgr_r.c: Likewise.
38929 * nscd/nscd_getpw_r.c: Likewise.
38930 * nscd/nscd_getserv_r.c: Likewise.
38931 * posix/getopt_init.c: Likewise.
38932 * posix/wordexp.c: Likewise.
38933 * stdio-common/_itoa.c: Likewise.
38934 * stdio-common/printf_fphex.c: Likewise.
38935 * stdio-common/vfprintf.c: Likewise.
38936 * string/_strerror.c: Likewise.
38937 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38938 * sysdeps/i386/i686/hp-timing.h: Likewise.
38939 * sysdeps/mach/_strerror.c: Likewise.
38940 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38941 * sysdeps/mach/hurd/sethostid.c: Likewise.
38942 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38943 * sysdeps/mach/xpg-strerror.c: Likewise.
38944 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38946 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38947 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38949 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38951 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38952 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38953 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38954 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38955 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38956 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38957 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38958 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38959 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38960 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38961 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38962 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38963 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38964 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38966 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38968 * stdio-common/_itoa.h: Moved to ...
38969 * sysdeps/generic/_itoa.h: Here.
38971 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38973 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38974 instead of "_itoa.h" and "_itowa.h".
38975 * stdio-common/vfprintf.: Likewise.
38977 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38979 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38981 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38982 (__signbit): Likwise.
38983 (llrintf): Likwise.
38986 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38988 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38991 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38993 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38994 OVERFLOW_EXCEPTION_OK.
38995 * math/libm-test.inc ("Philosophy"): Update comment about
38997 (OVERFLOW_EXCEPTION): Define.
38998 (OVERFLOW_EXCEPTION_OK): Likewise.
38999 (INVALID_EXCEPTION_OK): Renumber.
39000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39001 (IGNORE_ZERO_INF_SIGN): Likewise.
39002 (test_exceptions): Handle FE_OVERFLOW.
39003 (exp10_test): Expect overflow exceptions.
39004 (exp2_test): Likewise.
39005 (expm1_test): Likewise.
39006 (nextafter_test): Likewise.
39007 (pow_test): Likewise.
39008 (scalbn_test): Likewise.
39009 (scalbln_test): Likewise.
39011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39013 * sysdeps/x86_64/bits/atomic.h
39014 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39016 (atomic_exchange_acq): Likewise.
39017 (__arch_exchange_and_add_body): Likewise.
39018 (__arch_add_body): Likewise.
39019 (atomic_add_negative): Likewise.
39020 (atomic_add_zero): Likewise.
39022 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39024 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39025 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39027 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39029 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39030 Check __x86_64__ instead of __WORDSIZE.
39032 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39034 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39036 2012-03-19 David S. Miller <davem@davemloft.net>
39038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39040 * sysdeps/sparc/fpu/fenv_private.h: New file.
39041 * sysdeps/sparc/fpu/math_private.h: Use it.
39042 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39044 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39045 (libc_feholdexcept_setroundl): Remove.
39046 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39048 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39049 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39053 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39054 int64_t instead of long int.
39055 (INSERT_WORDS64): Likwise.
39057 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39059 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39060 _Unwind_GetCFA return to _Unwind_Ptr first.
39062 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39065 * math/s_clog.c: Include <float.h>.
39066 (__clog): Scale large or subnormal inputs.
39067 * math/s_clogf.c: Likewise.
39068 * math/s_clogl.c: Likewise.
39069 * math/s_clog10.c: Include <float.h>.
39070 (M_LOG10_2): Define.
39071 (__clog10): Scale large or subnormal inputs.
39072 * math/s_clog10f.c: Likewise.
39073 * math/s_clog10l.c: Likewise.
39074 * math/libm-test.inc (clog_test): Add more tests.
39075 (clog10_test): Likewise.
39076 * sysdeps/i386/fpu/libm-test-ulps: Update.
39077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39082 * math/libm-test.inc (atan2_test): Add another test.
39084 * Makerules (common-objdir-compile): Remove.
39085 * sysdeps/unix/Makefile (config-generated): Do not add
39086 $(unix-generated) to variable.
39087 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39088 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39090 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39092 [generic bits/local_lim.h] (before-compile): Do not append to
39094 [generic bits/local_lim.h] (common-generated): Likewise.
39095 [generic sys/param.h] (before-compile): Do not append to variable.
39096 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39097 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39098 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39099 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39101 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39102 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39103 [generic sys/param.h] ($(addprefix
39104 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39105 [generic sys/param.h] (common-generated): Do not append to
39107 [generic sys/param.h] (sysdep_headers): Likewise.
39108 [generic bits/errno.h] (before-compile): Do not append to
39110 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39112 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39113 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39114 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39115 [generic bits/errno.h] (common-generated): Do not append to
39117 [generic bits/ioctls.h] (before-compile): Do not append to
39119 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39121 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39122 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39126 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39127 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39128 [generic bits/ioctls.h] (common-generated): Do not append to
39130 [generic sys/syscall.h] (syscall.h): Remove variable.
39131 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39133 [generic sys/syscall.h] (before-compile): Do not append to
39135 [generic sys/syscall.h] (common-generated): Likewise.
39136 * sysdeps/unix/errnos-tmpl.c: Remove file.
39137 * sysdeps/unix/errnos.awk: Likewise.
39138 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39139 * sysdeps/unix/ioctls.awk: Likewise.
39140 * sysdeps/unix/mk-local_lim.c: Likewise.
39141 * sysdeps/unix/snarf-ioctls: Likewise.
39143 2012-03-19 Richard Henderson <rth@twiddle.net>
39145 * sysdeps/i386/fpu/fenv_private.h: New file.
39146 * sysdeps/i386/fpu/math_private.h: Use it.
39147 (math_opt_barrier, math_force_eval): Remove.
39148 (libc_feholdexcept_setround_53bit): Remove.
39149 (libc_feupdateenv_53bit): Remove.
39150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39151 (math_opt_barrier, math_force_eval): Remove.
39152 (libc_feholdexcept): Remove.
39153 (libc_feholdexcept_setround): Remove.
39154 (libc_fetestexcept, libc_fesetenv): Remove.
39155 (libc_feupdateenv_test): Remove.
39156 (libc_feupdateenv, libc_feholdsetround): Remove.
39157 (libc_feresetround): Remove.
39159 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39160 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39162 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39163 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39164 (libc_feupdateenv_testl): New.
39165 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39166 (libc_feupdateenv_testf): New.
39167 (libc_feupdateenv): Use libc_feupdateenv_test.
39168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39171 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39172 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39173 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39174 (libc_feresetround_noex): New.
39175 (libc_feresetround_noexf): New.
39176 (libc_feresetround_noexl): New.
39177 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39178 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39179 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39180 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39185 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39186 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39187 SET_RESTORE_ROUND_NOEX.
39188 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39189 SET_RESTORE_ROUND_NOEXF.
39190 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39191 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39192 (libc_feholdsetroundf): New.
39193 (libc_feresetround, libc_feresetroundf): New.
39195 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39196 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39197 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39199 * sysdeps/generic/math_private.h: Include <fenv.h>.
39200 (default_libc_feholdexcept): New.
39201 (default_libc_feholdexcept_setround): New.
39202 (default_libc_fesetenv, default_libc_feupdateenv): New.
39203 (libc_feholdexcept): Only define if undefined.
39204 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39205 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39206 (libc_feholdexcept_setroundl): Likewise.
39207 (libc_feholdexcept_setround_53bit): Likewise.
39208 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39209 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39210 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39211 (libc_feupdateenv_53bit): Likewise.
39212 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39213 (libc_feholdexcept): Convert from macro to inline function.
39214 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39215 (libc_fesetenv, libc_feupdateenv): Likewise.
39217 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39218 not previously defined.
39219 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39220 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39221 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39222 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39223 * sysdeps/ieee754/flt-32/math_private.h: New file.
39224 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39225 math_private.h below SET_FLOAT_WORD.
39226 (__isnan, __isinf_ns, __finite): Remove.
39227 (__isnanf, __isinf_nsf, __finitef): Remove.
39229 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39233 2012-03-17 David S. Miller <davem@davemloft.net>
39236 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39239 2012-03-16 David S. Miller <davem@davemloft.net>
39241 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39247 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39248 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39249 sysdep_routines when subdir is sysvipc.
39250 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39251 __getshmlba helper.
39253 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39255 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39257 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39260 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39262 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39263 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39264 (__lround): Renamed to ...
39265 (__llround): This. Replace long int with long long int.
39266 Define lround functions as aliases of llround functions.
39267 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39269 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39271 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39272 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39273 adresses to uintptr_t. Replace "long int" and "unsigned long
39274 int" with "greg_t" on va_arg.
39276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39278 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39279 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39281 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39282 Move e_machine check before EI_CLASS check. Handle x32
39283 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39284 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39285 SKIP_EM_IA_64 and include
39286 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39288 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39289 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39290 (add_system_dir): New macro.
39292 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39293 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39295 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39306 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39308 * math/w_j0f.c (j0f): Likewise.
39310 * math/w_j0l.c (__j0l): Likewise.
39312 * math/w_j1.c (j1): Likewise.
39314 * math/w_j1f.c (j1f): Likewise.
39316 * math/w_j1l.c (__j1l): Likewise.
39318 * math/w_jn.c (jn): Likewise.
39320 * math/w_jnf.c (jnf): Likewise.
39322 * math/w_jnl.c (__jnl): Likewise.
39324 * math/libm-test.inc (j0_test): Add more tests.
39325 (j1_test): Likewise.
39326 (jn_test): Likewise. Add trailing semicolon to existing test.
39327 (y0_test): Likewise.
39328 (y1_test): Likewise.
39329 * sysdeps/i386/fpu/libm-test-ulps: Update.
39330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39335 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39336 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39338 (__tanl): Set errno for infinite argument.
39339 * sysdeps/i386/fpu/mptan.c: Remove.
39340 * sysdeps/i386/fpu/s_tan.S: Likewise.
39341 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39342 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39343 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39344 * math/libm-test.inc (tan_test): Add more tests and enable more
39345 tests for double and long double.
39346 * sysdeps/i386/fpu/libm-test-ulps: Update.
39347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39349 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39351 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39352 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39354 2012-03-16 Roland McGrath <roland@hack.frob.com>
39356 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39357 * configure.in: Use it for both main tree and add-ons.
39358 * configure: Regenerated.
39360 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39362 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39364 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39366 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39370 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39371 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39376 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39378 != 0 for prec == 2.
39379 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39380 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39381 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39382 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39383 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39384 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39385 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39386 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39387 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39388 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39389 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39390 * math/libm-test.inc (cos_test): Add more tests and enable more
39391 tests for long double.
39392 (sin_test): Likewise.
39393 (sincos_test): Likewise.
39394 * sysdeps/i386/fpu/libm-test-ulps: Update.
39395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39397 2012-03-16 David S. Miller <davem@davemloft.net>
39399 * sysdeps/sparc/fpu/math_private.h: New file.
39401 2012-03-15 David S. Miller <davem@davemloft.net>
39403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39417 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39418 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39420 * sysdeps/sparc/sparc-ifunc.h: New file.
39421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39466 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39468 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39472 2012-03-15 Andreas Jaeger <aj@suse.de>
39475 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39476 ieee754/flt-32 implementation for sin, cos and sincos.
39477 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39478 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39479 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39480 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39481 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39482 ieee754/flt-32 implementation for tan.
39484 * math/libm-test.inc (cos_test): Enable some large input tests for
39486 (sin_test): Likewise.
39487 (sincos_test): Likewise.
39488 (tan_test): Add tests for large input.
39490 * sysdeps/i386/fpu/libm-test-ulps: Update.
39492 2012-03-15 Andreas Jaeger <aj@suse.de>
39495 * math/libm-test.inc (cos_test): Add more test cases.
39496 (sin_test): Likewise.
39497 (sincos_test): Likewise.
39499 2012-03-15 Andreas Jaeger <aj@suse.de>
39502 * math/libm-test.inc (cos_test): Add a test case for large input
39504 (sin_test): Likewise.
39505 (sincos_test): Likewise.
39507 2012-03-15 Andreas Jaeger <aj@suse.de>
39508 Joseph Myers <joseph@codesourcery.com>
39511 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39512 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39513 * sysdeps/i386/fpu/branred.c: Likewise.
39514 * sysdeps/i386/fpu/dosincos.c: Likewise.
39515 * sysdeps/i386/fpu/mpa.c: Likewise.
39516 * sysdeps/i386/fpu/s_cos.S: Likewise.
39517 * sysdeps/i386/fpu/s_sin.S: Likewise.
39518 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39519 * sysdeps/i386/fpu/sincos32.c: Likewise.
39521 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39523 (libc_feupdateenv_53bit): Define.
39524 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39526 (libc_feupdateenv_53bit): Define.
39528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39529 53 bit (without extend i386 double precision).
39531 * math/libm-test.inc (sincos_test): Add tests for large input.
39535 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39537 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39541 2012-03-15 David S. Miller <davem@davemloft.net>
39543 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39544 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39545 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39546 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39571 fmin/fmax sysdep routines.
39572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39574 2012-03-14 David S. Miller <davem@davemloft.net>
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39653 * sysdeps/sparc/configure.in: New file.
39654 * sysdeps/sparc/configure: Generate.
39655 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39656 * configure: Regenerate.
39657 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39658 * config.make.in (have-as-vis3): New.
39659 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39660 available use -Av9d instead of -Av9a.
39661 * sysdeps/sparc/sparc64/Makefile: Likewise.
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39677 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39678 fzeros/fnegs to load 0x80000000 into a float register instead of
39680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39682 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39686 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39687 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39688 ($(inst_includedir)/bits/syscall.h): Remove rule.
39689 ($(objpfx)bits/syscall.d): Include instead of
39690 $(objpfx)syscall-list.d.
39691 (generated): Change syscall-list.h and syscall-list.d to
39692 bits/syscall.h and bits/syscall.d.
39694 2012-03-14 Roland McGrath <roland@hack.frob.com>
39697 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39699 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39702 * math/s_csqrt.c: Include <float.h>.
39703 (__csqrt): Scale large or subnormal inputs.
39704 * math/s_csqrtf.c: Likewise.
39705 * math/s_csqrtl.c: Likewise.
39706 * math/libm-test.inc (csqrt_test): Add more tests.
39707 * sysdeps/i386/fpu/libm-test-ulps: Update.
39708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39711 * math/libm-test.inc (hypot_test): Add more tests.
39713 2012-03-13 David S. Miller <davem@davemloft.net>
39716 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39717 double-precision for the calculation instead of scaling.
39719 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39721 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39722 manipulate bits before adding and subtracting TWO52[sx].
39723 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39726 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39728 2012-03-13 David S. Miller <davem@davemloft.net>
39730 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39731 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39733 rtld-global-offsets.h
39734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39736 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39741 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39742 'err' in the ifdef scope in which it is actually used.
39744 * nss/nss_db/db-init.c: Include string.h
39746 2012-03-12 David S. Miller <davem@davemloft.net>
39748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39749 masking out of the most significant byte of random value used.
39750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39751 Fix coding style in previous change.
39753 * sysdeps/unix/sysv/linux/kernel-features.h
39754 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39755 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39757 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39760 2012-03-11 David S. Miller <davem@davemloft.net>
39762 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39763 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39765 for 'resultvar' otherwise things get truncated on 64-bit.
39767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39768 Fix masking out of the most significant byte of random value used.
39770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39772 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39776 2012-03-09 David S. Miller <davem@davemloft.net>
39778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39779 variables with appropriate CPP guards.
39780 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39781 from the frame pointer, not the stack pointer. Correct layout
39782 comments. Fix test on resulting framesize and the management of
39783 the outregs buffer for pltexit. Preserve floating point return
39784 values across _dl_call_pltexit call.
39785 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39786 framesize and the management of the outregs buffer for pltexit.
39787 Preserve floating point return values across _dl_call_pltexit
39789 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39790 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39791 (la_sparc64_gnu_pltexit): New functions.
39792 (print_exit): Fix format string for return register value.
39794 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39796 * sunrpc/Makefile (others): Add rpcgen.
39797 ($(objpfx)rpcgen): Remove special build rule and dependency on
39799 * sunrpc/rpcgen.c: New file.
39801 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39804 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39805 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39806 * sysdeps/i386/crti.S: Likewise.
39807 * sysdeps/i386/crtn.S: Likewise.
39808 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39809 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39810 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39811 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39812 * sysdeps/sh/crti.S: Likewise.
39813 * sysdeps/sh/crtn.S: Likewise.
39814 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39817 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39819 * locale/programs/locfile-kw.gperf: Likewise.
39820 * locale/programs/charmap-kw.h: Regenerated.
39821 * locale/programs/locfile-kw.h: Likewise.
39824 * intl/plural.y: Replace FSF snail mail address with URL.
39825 * intl/plural.c: Regenerated.
39827 2012-03-09 Richard Henderson <rth@twiddle.net>
39829 * include/math_private.h: Remove file.
39830 * math/math_private.h: Move file ...
39831 * sysdeps/generic/math_private.h: ... here.
39833 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39834 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39837 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39838 and <math_private.h>.
39839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39913 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39927 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39930 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39933 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39944 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39945 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39946 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39951 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39953 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39958 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39961 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39962 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39963 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39965 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39966 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39967 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39968 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39969 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39972 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39973 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39975 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39976 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39977 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39980 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39981 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39982 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39983 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39984 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39985 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39986 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39987 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39988 * sysdeps/ieee754/k_standard.c: Likewise.
39989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40008 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40009 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40149 * sysdeps/ieee754/s_lib_version.c: Likewise.
40150 * sysdeps/ieee754/s_matherr.c: Likewise.
40151 * sysdeps/ieee754/s_signgam.c: Likewise.
40152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40155 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40156 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40158 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40159 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40160 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40161 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40162 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40163 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40166 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40169 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40174 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40176 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40177 * sunrpc/rpc_main.c: Likewise.
40178 * sunrpc/rpc_svcout.c: Likewise.
40180 2012-03-09 David S. Miller <davem@davemloft.net>
40182 * include/math_private.h: New file.
40184 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40186 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40187 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40188 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40189 from <bits/socket_type.h>.
40190 (enum __socket_type): Don't define here.
40191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40193 bits/socket_type.h.
40196 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40197 checking __USE_GNU.
40199 * Makerules ($(inst_includedir)/%.h): New rule.
40200 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40201 (install-others): Remove variable setting.
40202 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40204 2012-03-08 Richard Henderson <rth@twiddle.net>
40206 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40207 from macro to inline function; merge with the
40208 !__LIBC_INTERNAL_MATH_INLINES version.
40209 (__ieee754_sqrtf): Likewise.
40211 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40212 to inline function.
40213 (__rintf, __floor, __floorf): Likewise.
40215 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40216 macro to inline function.
40217 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40220 not <math/math_private.h>.
40222 2012-03-08 David S. Miller <davem@davemloft.net>
40224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40226 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40228 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40230 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40232 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40235 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40237 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40238 be defined individually, they must be defined as a block. Define
40239 S for printing a string instead of hidint the different by using a
40240 macro for adding the 'l'.
40241 * stdio-common/tst-fphex-wide.c: Adjust.
40243 2012-03-07 Marek Polacek <polacek@redhat.com>
40245 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40247 2012-03-08 Marek Polacek <polacek@redhat.com>
40250 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40251 * stdio-common/tst-fphex.c: Define a few macros to make the
40252 test reusable. Use them.
40253 * stdio-common/tst-fphex-wide.c: New file.
40255 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40258 * manual/macros.texi (gnusystems): New macro.
40259 (nongnusystems): Likewise.
40260 (gnulinuxhurdsystems): Likewise.
40261 (gnuhurdsystems): Likewise..
40262 (gnulinuxsystems): Likewise.
40263 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40264 variants of the GNU system, not "GNU system".
40265 * manual/conf.texi: Likewise.
40266 * manual/errno.texi: Likewise. Update example of errno macro
40268 * manual/filesys.texi: Likewise.
40269 (getumask): Document as specific to GNU/Hurd.
40270 * manual/install.texi: Likewise. Reword some references to
40272 * manual/intro.texi: Likewise.
40273 * manual/io.texi: Likewise.
40274 (File Name Portability): Detail which constraints are inapplicable
40275 to all GNU systems and which are only inapplicable to GNU/Hurd.
40276 * manual/job.texi: Likewise.
40277 * manual/llio.texi: Likewise.
40278 (O_NOCTTY): Document as present on GNU/Linux.
40279 * manual/maint.texi: Likewise.
40280 * manual/memory.texi: Likewise.
40281 * manual/pattern.texi: Likewise.
40282 * manual/pipe.texi: Likewise.
40283 * manual/process.texi: Likewise.
40284 * manual/resource.texi: Likewise.
40285 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40287 * manual/setjmp.texi: Likewise.
40288 * manual/signal.texi: Likewise.
40289 * manual/startup.texi: Likewise.
40290 * manual/stdio.texi: Likewise.
40291 * manual/terminal.texi: Likewise.
40292 (ONLCR): Document as POSIX.
40293 (OXTABS): Document availability on GNU/Linux as XTABS.
40294 (ONOEOT): Document availability separately from other bits.
40295 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40296 * manual/time.texi: Likewise.
40297 * manual/users.texi: Likewise.
40298 * INSTALL: Regenerated.
40299 * sysdeps/gnu/errlist.c: Regenerated.
40301 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40302 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40303 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40305 * configure: Regenerated.
40307 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40309 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40310 default includes instead of AC_HEADER_CHECK.
40311 * sysdeps/i386/configure: Regenerated.
40314 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40315 * math/s_cacoshf.c (__cacoshf): Likewise.
40316 * math/s_cacoshl.c (__cacoshl): Likewise.
40317 * math/s_casinh.c (__casinh): Set signs of result from argument.
40318 * math/s_casinhf.c (__casinhf): Likewise.
40319 * math/s_casinhl.c (__casinhl): Likewise.
40320 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40321 (casinh_test): Add more tests.
40322 * sysdeps/i386/fpu/libm-test-ulps: Update.
40323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40325 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40327 * po/zh_TW.po: Update from translation team.
40329 * login/Makefile (distribute): Remove variable.
40330 * catgets/Makefile: Likewise.
40331 * mach/Makefile: Likewise.
40332 * malloc/Makefile: Likewise.
40333 * misc/Makefile: Likewise.
40334 * iconv/Makefile: Likewise.
40335 * nscd/Makefile: Likewise.
40336 * hurd/Makefile: Likewise.
40337 * manual/Makefile: Likewise.
40338 * locale/Makefile: Likewise.
40339 * intl/Makefile: Likewise.
40340 * conform/Makefile: Likewise.
40341 * nss/Makefile: Likewise.
40342 * time/Makefile: Likewise.
40343 * soft-fp/Makefile: Likewise.
40344 * dirent/Makefile: Likewise.
40345 * gmon/Makefile: Likewise.
40346 * po/Makefile: Likewise.
40347 * rt/Makefile: Likewise.
40348 * socket/Makefile: Likewise.
40349 * math/Makefile: Likewise.
40350 * signal/Makefile: Likewise.
40351 * debug/Makefile: Likewise.
40352 * elf/Makefile: Likewise.
40353 * timezone/Makefile: Likewise.
40354 * stdlib/Makefile: Likewise.
40355 * iconvdata/Makefile: Likewise.
40356 * sunrpc/Makefile: Likewise.
40357 * io/Makefile: Likewise.
40358 * argp/Makefile: Likewise.
40359 * inet/Makefile: Likewise.
40360 * hesiod/Makefile: Likewise.
40361 * grp/Makefile: Likewise.
40362 * csu/Makefile: Likewise.
40363 * wctype/Makefile: Likewise.
40364 * crypt/Makefile: Likewise.
40365 * libio/Makefile: Likewise.
40366 * string/Makefile: Likewise.
40367 * nis/Makefile: Likewise.
40368 * resolv/Makefile: Likewise.
40369 * stdio-common/Makefile: Likewise.
40370 * wcsmbs/Makefile: Likewise.
40371 * dlfcn/Makefile: Likewise.
40372 * posix/Makefile: Likewise.
40375 * timezone/Makefile: Don't install timezone files, just the programs
40378 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40380 * nss/databases.def: Add missing gshadow entry.
40382 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40384 2012-03-06 Marek Polacek <polacek@redhat.com>
40387 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40388 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40389 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40390 * stdio-common/tst-long-dbl-fphex.c: New file.
40392 2012-03-06 David S. Miller <davem@davemloft.net>
40394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40395 (set_obp_int): New function.
40396 (get_obp_int): New function.
40397 (__get_clockfreq_via_dev_openprom): Likewise.
40398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40399 Avoid unused variable warnings on 'val' and use builtin_expect.
40400 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40402 (INLINE_CLONE_SYSCALL): Likewise.
40404 2012-03-05 David S. Miller <davem@davemloft.net>
40406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40408 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40413 only for |x| >= 40.
40414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40416 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40419 Replace gettimeofday with __vdso_gettimeofday.
40421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40422 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40423 __vdso_clock_gettime and __vdso_getcpu.
40425 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40426 time with __vdso_time.
40428 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40430 * manual/lang.texi (size_t): Note types to which size_t may be
40431 equivalent with the GNU C Library, but do not describe when
40432 differences between them are significant.
40434 2012-03-05 Andreas Jaeger <aj@suse.de>
40436 * sysdeps/i386/fpu/libm-test-ulps: Update.
40438 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40441 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40442 (__ieee754_pow): Save and restore rounding mode and use
40443 round-to-nearest for main computations.
40444 * math/libm-test.inc (pow_test_tonearest): New function.
40445 (pow_test_towardzero): Likewise.
40446 (pow_test_downward): Likewise.
40447 (pow_test_upward): Likewise.
40448 (main): Call the new functions.
40449 * sysdeps/i386/fpu/libm-test-ulps: Update.
40450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40453 * math/libm-test.inc (cosh_test_tonearest): New function.
40454 (cosh_test_towardzero): Likewise.
40455 (cosh_test_downward): Likewise.
40456 (cosh_test_upward): Likewise.
40457 (sinh_test_tonearest): Likewise.
40458 (sinh_test_towardzero): Likewise.
40459 (sinh_test_downward): Likewise.
40460 (sinh_test_upward): Likewise.
40461 (main): Call the new functions.
40462 * sysdeps/i386/fpu/libm-test-ulps: Update.
40463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40465 2012-03-05 Tom de Vries <tom@codesourcery.com>
40467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40468 default stack guard is set in last bytes.
40469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40471 2012-03-05 Kees Cook <keescook@chromium.org>
40473 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40476 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40477 possibly allocate from heap instead of stack.
40478 * stdio-common/bug-vfprintf-nargs.c: New file.
40479 * stdio-common/Makefile (tests): Add nargs overflow test.
40481 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40485 2012-03-03 Marek Polacek <polacek@redhat.com>
40487 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40488 * math/math_private.h: Likewise.
40489 * stdlib/tst-strtod.c: Likewise.
40490 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40491 * sysdeps/x86_64/bits/atomic.h: Likewise.
40493 2012-03-02 David S. Miller <davem@davemloft.net>
40495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40499 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40500 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40501 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40502 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40504 2012-03-02 Roland McGrath <roland@hack.frob.com>
40507 * manual/examples/README: New file, says the example source files
40508 can be used under GPL>=2.
40509 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40510 line containing just "*/".
40511 * manual/examples/add.c: Add copyright header (GPL>=2).
40512 * manual/examples/argp-ex1.c: Likewise.
40513 * manual/examples/argp-ex2.c: Likewise.
40514 * manual/examples/argp-ex3.c: Likewise.
40515 * manual/examples/argp-ex4.c: Likewise.
40516 * manual/examples/atexit.c: Likewise.
40517 * manual/examples/db.c: Likewise.
40518 * manual/examples/dir.c: Likewise.
40519 * manual/examples/dir2.c: Likewise.
40520 * manual/examples/execinfo.c: Likewise.
40521 * manual/examples/filecli.c: Likewise.
40522 * manual/examples/filesrv.c: Likewise.
40523 * manual/examples/fmtmsgexpl.c: Likewise.
40524 * manual/examples/genpass.c: Likewise.
40525 * manual/examples/inetcli.c: Likewise.
40526 * manual/examples/inetsrv.c: Likewise.
40527 * manual/examples/isockad.c: Likewise.
40528 * manual/examples/longopt.c: Likewise.
40529 * manual/examples/memopen.c: Likewise.
40530 * manual/examples/memstrm.c: Likewise.
40531 * manual/examples/mkfsock.c: Likewise.
40532 * manual/examples/mkisock.c: Likewise.
40533 * manual/examples/mygetpass.c: Likewise.
40534 * manual/examples/pipe.c: Likewise.
40535 * manual/examples/popen.c: Likewise.
40536 * manual/examples/rprintf.c: Likewise.
40537 * manual/examples/search.c: Likewise.
40538 * manual/examples/select.c: Likewise.
40539 * manual/examples/setjmp.c: Likewise.
40540 * manual/examples/sigh1.c: Likewise.
40541 * manual/examples/sigusr.c: Likewise.
40542 * manual/examples/stpcpy.c: Likewise.
40543 * manual/examples/strdupa.c: Likewise.
40544 * manual/examples/strftim.c: Likewise.
40545 * manual/examples/strncat.c: Likewise.
40546 * manual/examples/subopt.c: Likewise.
40547 * manual/examples/swapcontext.c: Likewise.
40548 * manual/examples/termios.c: Likewise.
40549 * manual/examples/testopt.c: Likewise.
40550 * manual/examples/testpass.c: Likewise.
40551 * manual/examples/timeval_subtract.c: Likewise.
40554 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40556 * manual/timeval_subtract.c.texi: ... here, new file.
40558 2012-03-02 David S. Miller <davem@davemloft.net>
40560 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40562 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40565 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40566 (__sin): Save and restore rounding mode and use round-to-nearest
40567 for all computations.
40568 (__cos): Save and restore rounding mode and use round-to-nearest
40569 for all computations.
40570 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40572 (tan): Save and restore rounding mode and use round-to-nearest for
40574 * math/libm-test.inc (cos_test_tonearest): New function.
40575 (cos_test_towardzero): Likewise.
40576 (cos_test_downward): Likewise.
40577 (cos_test_upward): Likewise.
40578 (sin_test_tonearest): Likewise.
40579 (sin_test_towardzero): Likewise.
40580 (sin_test_downward): Likewise.
40581 (sin_test_upward): Likewise.
40582 (tan_test_tonearest): Likewise.
40583 (tan_test_towardzero): Likewise.
40584 (tan_test_downward): Likewise.
40585 (tan_test_upward): Likewise.
40586 (main): Call the new functions.
40587 * sysdeps/i386/fpu/libm-test-ulps: Update.
40588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40592 small n, then large n, before computing and testing k+n.
40593 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40598 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40599 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40602 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40603 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40606 * math/libm-test.inc (scalbn_test): Add more tests.
40607 (scalbln_test): Likewise.
40609 * manual/filesys.texi (mode_t): Describe constraints on size and
40610 signedness, not exact equivalence to a particular type.
40612 (ino64_t): Likewise.
40614 (nlink_t): Likewise.
40615 (blkcnt_t): Likewise.
40616 (blkcnt64_t): Likewise.
40617 * manual/llio.texi (off_t): Likewise.
40620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40621 (__ieee754_exp): Save and restore rounding mode and use
40622 round-to-nearest for all computations.
40623 * math/libm-test.inc (exp_test_tonearest): New function.
40624 (exp_test_towardzero): Likewise.
40625 (exp_test_downward): Likewise.
40626 (exp_test_upward): Likewise.
40627 (main): Call the new functions.
40628 * sysdeps/i386/fpu/libm-test-ulps: Update.
40629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40631 2012-03-01 Chris Demetriou <cgd@google.com>
40633 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40634 have predictable order.
40636 2012-03-01 David S. Miller <davem@davemloft.net>
40638 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40640 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40641 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40642 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40645 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40646 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40647 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40649 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40650 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40651 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40652 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40653 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40658 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40661 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40663 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40664 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40665 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40667 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40668 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40669 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40677 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40678 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40679 * sysdeps/sparc/elf/configure: Regenerated.
40681 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40683 * configure.in (AS, LD): Require binutils 2.20 or later.
40684 * configure: Regenerated.
40685 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40686 as required minimum version.
40687 * INSTALL: Regenerated.
40691 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40692 before squaring exponent.
40693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40694 bottom long double and 27 bits of top long double before squaring
40696 * math/libm-test.inc (erfc_test): Add more tests.
40697 * sysdeps/i386/fpu/libm-test-ulps: Update.
40698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40701 2012-03-01 Kai Tietz <ktietz@redhat.com>
40703 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40704 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40705 containing bit-fields.
40706 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40707 * soft-fp/single.h (_FP_UNION_S): Likewise.
40708 * soft-fp/double.h (_FP_UNION_D): Likewise.
40710 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40713 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40714 not include ../strcmp.S.
40715 [USE_AS_STRNCASECMP_L]: Likewise.
40716 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40717 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40718 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40719 (__strncasecmp_l_ia32): Define as alias to
40720 __strncasecmp_l_nonascii.
40723 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40724 * sysdeps/i386/fpu/libm-test-ulps: Update.
40725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40727 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40730 2012-02-29 Jeff Law <law@redhat.com>
40732 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40733 out of bounds read.
40735 2012-02-29 Marek Polacek <polacek@redhat.com>
40738 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40739 * elf/Makefile: Add rules to run tst-unused-dep.out.
40741 2012-02-28 David S. Miller <davem@davemloft.net>
40743 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40744 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40746 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40750 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40752 * math/libm-test.inc (llround_test): Move one test from
40753 lround_test. Use TEST_f_L in moved test.
40754 (lround_test): Move misplaced test to llround_test. Add testcase
40757 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40759 * sysdeps/x86_64/fpu/e_expf.S: New file.
40760 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40762 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40765 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40766 of remain_len that may cause incomplete multi-byte character and
40768 * posix/bug-regex33.c: New file.
40769 * posix/Makefile (tests): Add bug-regex33.
40771 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40773 * manual/macros.texi: New file.
40774 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40775 * manual/libc.texinfo: Include macros.texi.
40776 * manual/creatute.texi: Likewise.
40777 * manual/install.texi: Likewise.
40778 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40779 @glibcadj{} in references to the GNU C Library.
40780 * manual/charset.texi: Likewise.
40781 * manual/conf.texi: Likewise.
40782 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40783 when not using those macros.
40784 * manual/creature.texi: Likewise.
40785 * manual/crypt.texi: Likewise.
40786 * manual/errno.texi: Likewise.
40787 * manual/filesys.texi: Likewise.
40788 * manual/header.texi: Likewise.
40789 * manual/install.texi: Likewise.
40790 * manual/intro.texi: Likewise.
40791 * manual/io.texi: Likewise.
40792 * manual/job.texi: Likewise.
40793 * manual/lang.texi: Likewise.
40794 * manual/libc.texiinfo: Likewise.
40795 * manual/llio.texi: Likewise.
40796 * manual/locale.texi: Likewise.
40797 * manual/maint.texi: Likewise.
40798 * manual/math.texi: Likewise.
40799 * manual/memory.texi: Likewise.
40800 * manual/message.texi: Likewise.
40801 * manual/nss.texi: Likewise.
40802 * manual/pattern.texi: Likewise.
40803 * manual/process.texi: Likewise.
40804 * manual/resource.texi: Likewise.
40805 * manual/search.texi: Likewise.
40806 * manual/setjmp.texi: Likewise.
40807 * manual/signal.texi: Likewise.
40808 * manual/socket.texi: Likewise.
40809 * manual/startup.texi: Likewise.
40810 * manual/stdio.texi: Likewise.
40811 * manual/string.texi: Likewise.
40812 * manual/sysinfo.texi: Likewise.
40813 * manual/syslog.texi: Likewise.
40814 * manual/terminal.texi: Likewise.
40815 * manual/time.texi: Likewise.
40816 * manual/users.texi: Likewise.
40817 * INSTALL: Regenerated.
40818 * NOTES: Regenerated.
40819 * sysdeps/gnu/errlist.c: Regenerated.
40821 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40823 * include/dirent.h: Include <dirstream.h> before
40826 2012-02-28 David S. Miller <davem@davemloft.net>
40828 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40829 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40830 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40833 2012-02-27 David S. Miller <davem@davemloft.net>
40835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40837 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40838 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40841 frame pointer instead of stack pointer relative arg slot.
40842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40846 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40849 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40851 2012-02-27 David S. Miller <davem@davemloft.net>
40853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40859 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40860 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40862 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40864 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40865 later. Allow versions 5-9.
40866 * configure: Regenerated.
40867 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40868 required minimum version and 4.6 as recommended version. Do not
40869 mention bugs in GCC 2.7 and 2.8.
40870 * INSTALL: Regenerated.
40872 2012-02-27 David S. Miller <davem@davemloft.net>
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40880 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40884 manipulate bits before adding and subtracting TWO112[sx].
40885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40887 2012-02-27 Roland McGrath <roland@hack.frob.com>
40890 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40891 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40892 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40893 being in POSIX, because they are in 1003.1-2008.
40895 * rt/tst-aio.c: Include <fcntl.h>.
40896 * rt/tst-aio7.c: Likewise.
40897 * rt/tst-aio64.c: Likewise.
40899 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40901 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40903 * manual/install.texi (--with-headers): Describe headers as
40904 interface headers, not private headers.
40905 (Specific advice for GNU/Linux systems): Describe use of headers
40906 from "make headers_install", not private headers from older
40908 * INSTALL: Regenerated.
40909 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40911 * sysdeps/unix/sysv/linux/configure: Regenerated.
40913 * manual/llio.texi (fclean): Remove documentation.
40915 * manual/Makefile (libc-texi-generated): New variable. Include
40917 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40918 $(libc-texi-generated), not duplicated list of files.
40919 (version.texi, stamp-version): New rules.
40920 (realclean): Remove $(libc-texi-generated), not individual files
40921 from that list. Do not remove dir-add.texinfo.
40922 * manual/libc.texinfo: Comment out uses of edition numbers and
40923 references to printed manual. Remove last-updated dates.
40924 (EDITION): Comment out.
40926 (VERSION, UPDATED): Remove.
40927 (version.texi): Include.
40929 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40931 * sysdeps/posix/spawni.c: Include <signal.h>.
40932 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40933 * sysdeps/pthread/aio_fsync.c: Likewise.
40935 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40937 * conform/Makefile (tests): Run only when not cross-compiling and
40938 when fast-check is not defined.
40940 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40941 * conform/data/limits.h-data: Fixes for POSIX2008.
40942 * conform/run-conformtest.sh: Run all tests.
40943 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40945 * include/bits/dlfcn.h: Likewise.
40946 * include/langinfo.h: Likewise.
40947 * include/monetary.h: Likewise.
40948 * include/sys/poll.h: Likewise.
40950 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40952 * posix/spawn.h: Define __need_sigset_t.
40953 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40954 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40955 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40956 to get sigevent_t only.
40957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40958 only for __USE_GNU.
40959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40960 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40961 process_vm_writev only for __USE_GNU.
40962 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40964 * conform/Makefile: For now ignore errors from run-conformtest.
40965 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40966 POSIX to avoid namespace pollution. Don't prepend headers.
40967 * conform/data/aio.h-data: Fixes for POSIX testing.
40968 * conform/data/fcntl.h-data: Likewise.
40969 * conform/data/glob.h-data: Likewise.
40970 * conform/data/grp.h-data: Likewise.
40971 * conform/data/pthread.h-data: Likewise.
40972 * conform/data/pwd.h-data: Likewise.
40973 * conform/data/signal.h-data: Likewise.
40974 * conform/data/spawn.h-data: Likewise.
40975 * conform/data/stdio.h-data: Likewise.
40976 * conform/data/stdlib.h-data: Likewise.
40977 * conform/data/stropts.h-data: Likewise.
40978 * conform/data/sys/mman.h-data: Likewise.
40979 * conform/data/sys/stat.h-data: Likewise.
40980 * conform/data/sys/types.h-data: Likewise.
40981 * conform/data/sys/wait.h-data: Likewise.
40982 * conform/data/time.h-data: Likewise.
40983 * conform/data/unistd.h-data: Likewise.
40984 * conform/data/utime.h-data: Likewise.
40986 * io/sys/stat.h: fchmod was always in POSIX.
40987 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40988 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40989 * rt/aio.h: Define __need_timespec before including <time.h>.
40990 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40991 struct. Add forward declaration of pthread_attr_t and use it in
40993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40995 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40996 always remove CLK_TCK definition.
40998 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41000 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41002 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41004 * conform/run-conformtest.sh: New file.
41005 * conform/Makefile: Run run-conformtest for tests.
41006 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41009 * conform/data/uchar.h-data: New file.
41010 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41011 * conform/data/arpa/inet.h-data: Likewise.
41012 * conform/data/assert.h-data: Likewise.
41013 * conform/data/complex.h-data: Likewise.
41014 * conform/data/cpio.h-data: Likewise.
41015 * conform/data/ctype.h-data: Likewise.
41016 * conform/data/dirent.h-data: Likewise.
41017 * conform/data/dlfcn.h-data: Likewise.
41018 * conform/data/errno.h-data: Likewise.
41019 * conform/data/fcntl.h-data: Likewise.
41020 * conform/data/float.h-data: Likewise.
41021 * conform/data/fmtmsg.h-data: Likewise.
41022 * conform/data/fnmatch.h-data: Likewise.
41023 * conform/data/ftw.h-data: Likewise.
41024 * conform/data/glob.h-data: Likewise.
41025 * conform/data/grp.h-data: Likewise.
41026 * conform/data/iconv.h-data: Likewise.
41027 * conform/data/inttypes.h-data: Likewise.
41028 * conform/data/langinfo.h-data: Likewise.
41029 * conform/data/libgen.h-data: Likewise.
41030 * conform/data/limits.h-data: Likewise.
41031 * conform/data/locale.h-data: Likewise.
41032 * conform/data/math.h-data: Likewise.
41033 * conform/data/monetary.h-data: Likewise.
41034 * conform/data/mqueue.h-data: Likewise.
41035 * conform/data/ndbm.h-data: Likewise.
41036 * conform/data/net/if.h-data: Likewise.
41037 * conform/data/netdb.h-data: Likewise.
41038 * conform/data/netinet/in.h-data: Likewise.
41039 * conform/data/nl_types.h-data: Likewise.
41040 * conform/data/poll.h-data: Likewise.
41041 * conform/data/pthread.h-data: Likewise.
41042 * conform/data/pwd.h-data: Likewise.
41043 * conform/data/regex.h-data: Likewise.
41044 * conform/data/sched.h-data: Likewise.
41045 * conform/data/search.h-data: Likewise.
41046 * conform/data/semaphore.h-data: Likewise.
41047 * conform/data/setjmp.h-data: Likewise.
41048 * conform/data/signal.h-data: Likewise.
41049 * conform/data/spawn.h-data: Likewise.
41050 * conform/data/stdarg.h-data: Likewise.
41051 * conform/data/stdio.h-data: Likewise.
41052 * conform/data/stdlib.h-data: Likewise.
41053 * conform/data/string.h-data: Likewise.
41054 * conform/data/strings.h-data: Likewise.
41055 * conform/data/stropts.h-data: Likewise.
41056 * conform/data/sys/ipc.h-data: Likewise.
41057 * conform/data/sys/mman.h-data: Likewise.
41058 * conform/data/sys/msg.h-data: Likewise.
41059 * conform/data/sys/resource.h-data: Likewise.
41060 * conform/data/sys/select.h-data: Likewise.
41061 * conform/data/sys/sem.h-data: Likewise.
41062 * conform/data/sys/shm.h-data: Likewise.
41063 * conform/data/sys/socket.h-data: Likewise.
41064 * conform/data/sys/stat.h-data: Likewise.
41065 * conform/data/sys/statvfs.h-data: Likewise.
41066 * conform/data/sys/time.h-data: Likewise.
41067 * conform/data/sys/timeb.h-data: Likewise.
41068 * conform/data/sys/times.h-data: Likewise.
41069 * conform/data/sys/types.h-data: Likewise.
41070 * conform/data/sys/uio.h-data: Likewise.
41071 * conform/data/sys/un.h-data: Likewise.
41072 * conform/data/sys/utsname.h-data: Likewise.
41073 * conform/data/sys/wait.h-data: Likewise.
41074 * conform/data/syslog.h-data: Likewise.
41075 * conform/data/tar.h-data: Likewise.
41076 * conform/data/termios.h-data: Likewise.
41077 * conform/data/utime.h-data: Likewise.
41078 * conform/data/utmpx.h-data: Likewise.
41079 * conform/data/varargs.h-data: Likewise.
41080 * conform/data/wchar.h-data: Likewise.
41081 * conform/data/wctype.h-data: Likewise.
41082 * conform/data/wordexp.h-data: Likewise.
41084 * include/stropts.h: New file.
41085 * include/uchar.h: New file.
41086 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41087 * include/assert.h: Likewise.
41088 * include/ctype.h: Likewise.
41089 * include/dirent.h: Likewise.
41090 * include/dlfcn.h: Likewise.
41091 * include/fcntl.h: Likewise.
41092 * include/fnmatch.h: Likewise.
41093 * include/glob.h: Likewise.
41094 * include/grp.h: Likewise.
41095 * include/libio.h: Likewise.
41096 * include/locale.h: Likewise.
41097 * include/math.h: Likewise.
41098 * include/net/if.h: Likewise.
41099 * include/netdb.h: Likewise.
41100 * include/netinet/in.h: Likewise.
41101 * include/pthread.h: Likewise.
41102 * include/pwd.h: Likewise.
41103 * include/regex.h: Likewise.
41104 * include/sched.h: Likewise.
41105 * include/search.h: Likewise.
41106 * include/setjmp.h: Likewise.
41107 * include/signal.h: Likewise.
41108 * include/stdio.h: Likewise.
41109 * include/stdlib.h: Likewise.
41110 * include/string.h: Likewise.
41111 * include/sys/cdefs.h: Likewise.
41112 * include/sys/mman.h: Likewise.
41113 * include/sys/msg.h: Likewise.
41114 * include/sys/resource.h: Likewise.
41115 * include/sys/select.h: Likewise.
41116 * include/sys/socket.h: Likewise.
41117 * include/sys/stat.h: Likewise.
41118 * include/sys/statvfs.h: Likewise.
41119 * include/sys/time.h: Likewise.
41120 * include/sys/times.h: Likewise.
41121 * include/sys/uio.h: Likewise.
41122 * include/sys/utsname.h: Likewise.
41123 * include/sys/wait.h: Likewise.
41124 * include/termios.h: Likewise.
41125 * include/time.h: Likewise.
41126 * include/ulimit.h: Likewise.
41127 * include/unistd.h: Likewise.
41128 * include/utime.h: Likewise.
41129 * include/wchar.h: Likewise.
41130 * include/wctype.h: Likewise.
41131 * include/wordexp.h: Likewise.
41133 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41135 * time/time.h: TIME_UTC must be a macro.
41136 Make timespec_get available for ISO C11 only as well.
41138 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41140 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41141 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41145 * configure.in: Use -o not -a in test for unsupported multi-arch.
41147 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41149 * manual/texinfo.tex: Update to version 2012-01-19.16.
41151 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41153 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41155 2012-02-24 Roland McGrath <roland@hack.frob.com>
41158 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41159 * manual/fdl-1.3.texi: New file.
41160 * manual/fdl-1.1.texi: File removed.
41163 * manual/libc.texinfo (FDL_VERSION): New @set.
41164 Use it for mention of FDL in cover text.
41165 (Documentation License): Use it in @include file name.
41167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41168 Roland McGrath <roland@hack.frob.com>
41171 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41172 (not LONG_LONG_MAX and LONG_LONG_MIN.
41173 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41174 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41176 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41178 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41183 manipulate bits before adding and subtracting TWO23[sx].
41184 * math/libm-test.inc (nearbyint_test): Add more tests.
41186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41189 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41190 bits before adding and subtracting TWO23[sx].
41191 * math/libm-test.inc (rint_test): Add more tests.
41192 (rint_test_tonearest): Likewise.
41193 (rint_test_towardzero): Likewise.
41194 (rint_test_downward): Likewise.
41195 (rint_test_upward: Likewise.
41197 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41200 * include/stdc-predef.h: New file. Extracted from features.h.
41201 * include/features.h: Include stdc-predef.h.
41202 * Makefile (headers): Add stdc-predef.h.
41203 * CONFORMANCE (Compiler limitations): Update.
41205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41207 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41209 2012-02-21 David S. Miller <davem@davemloft.net>
41211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41214 2012-02-20 David S. Miller <davem@davemloft.net>
41216 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41217 using a normal save/restore sequence, rather than allocating a
41218 dummy stack frame just to store a frame pointer and restore.
41219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41221 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41223 * manual/install.texi: Fix stray word in line-wrapped comment.
41225 2012-02-20 David S. Miller <davem@davemloft.net>
41227 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41228 both binutils and gcc support GOTDATA.
41230 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41231 "rd %pc" in the PIC register setup sequences.
41233 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41234 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41235 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41236 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41242 (SYSCALL_ERROR_HANDLER): Likewise.
41243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41246 (SYSCALL_ERROR_HANDLER): Likewise.
41248 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41249 (HAVE_GCC_GOTDATA): New.
41250 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41251 relocation support in both binutils and gcc.
41252 * sysdeps/sparc/elf/configure: Regenerate.
41254 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41255 * sysdeps/sparc/sparc32/elf/configure: Delete.
41256 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41257 * sysdeps/sparc/sparc64/elf/configure: Delete.
41258 * sysdeps/sparc/elf/configure.in: New file.
41259 * sysdeps/sparc/elf/configure: Generate.
41261 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41262 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41264 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41265 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41267 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41269 * manual/install.texi: Do not mention specific glibc version
41271 * manual/libc.texinfo (VERSION, UPDATED): Update.
41272 (@copying): Use @copyright{} and range of years.
41274 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41277 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41278 [crti.S not in sysdirs] (generated): Do not append.
41279 [crti.S not in sysdirs] (omit-deps): Likewise.
41280 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41281 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41282 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41283 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41284 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41286 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41287 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41288 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41289 * csu/defs.awk: Remove file.
41290 * sysdeps/generic/initfini.c: Likewise.
41291 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41293 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41296 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41298 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41299 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41300 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41303 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41305 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41306 (__EPOLL_PACKED): Define to empty if not defined by
41308 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41312 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41314 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41315 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41319 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41323 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41325 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41332 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41335 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41337 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41339 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41340 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41342 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41344 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41347 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41349 * math/w_acos.c: Use non-signaling floating-point comparisons.
41350 * math/w_acosf.c: Likewise.
41351 * math/w_acosh.c: Likewise.
41352 * math/w_acoshf.c: Likewise.
41353 * math/w_acoshl.c: Likewise.
41354 * math/w_acosl.c: Likewise.
41355 * math/w_asin.c: Likewise.
41356 * math/w_asinf.c: Likewise.
41357 * math/w_asinl.c: Likewise.
41358 * math/w_atanh.c: Likewise.
41359 * math/w_atanhf.c: Likewise.
41360 * math/w_atanhl.c: Likewise.
41361 * math/w_exp2.c: Likewise.
41362 * math/w_exp2f.c: Likewise.
41363 * math/w_exp2l.c: Likewise.
41364 * math/w_j0.c: Likewise.
41365 * math/w_j0f.c: Likewise.
41366 * math/w_j0l.c: Likewise.
41367 * math/w_j1.c: Likewise.
41368 * math/w_j1f.c: Likewise.
41369 * math/w_j1l.c: Likewise.
41370 * math/w_jn.c: Likewise.
41371 * math/w_jnf.c: Likewise.
41372 * math/w_log.c: Likewise.
41373 * math/w_log10.c: Likewise.
41374 * math/w_log10f.c: Likewise.
41375 * math/w_log10l.c: Likewise.
41376 * math/w_log2.c: Likewise.
41377 * math/w_log2f.c: Likewise.
41378 * math/w_log2l.c: Likewise.
41379 * math/w_logf.c: Likewise.
41380 * math/w_logl.c: Likewise.
41381 * math/w_sqrt.c: Likewise.
41382 * math/w_sqrtf.c: Likewise.
41383 * math/w_sqrtl.c: Likewise.
41384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41387 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41388 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41393 * manual/string.texi (strnlen): Use correct parameter name in
41394 equivalent expression.
41396 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41399 * manual/users.texi (seteuid): Consistently use neweuid for
41402 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41405 * manual/nss.texi (Services in the NSS configuration): Correct
41406 list of services in example configuration file.
41408 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41411 * manual/arith.texi: Remove statements about negative zero
41412 behaving identically to zero.
41414 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41417 * manual/install.texi: Do not document upgrading from libc5.
41419 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41422 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41424 2012-02-18 David S. Miller <davem@davemloft.net>
41426 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41427 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41428 %o7 across the call.
41429 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41432 SETUP_PIC_REG_LEAF.
41433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41434 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41435 * sysdeps/sparc/crtn.S: Likewise.
41437 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41439 * aout/Makefile: Remove.
41441 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41444 * manual/examples/argp-ex1.c (main): Format definition in GNU
41446 * manual/examples/argp-ex2.c (main): Likewise.
41447 * manual/examples/argp-ex3.c (main): Likewise.
41448 * manual/examples/argp-ex4.c (main): Likewise.
41449 * manual/examples/longopt.c (main): Use new-style prototype
41451 * manual/examples/strncat.c (main): Specify return type and use
41452 (void) for arguments.
41453 * manual/examples/subopt.c (main): Use char **argv argument.
41455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41458 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41461 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41464 * manual/string.texi (strchr): Change when strchrnul is
41467 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41470 * manual/locale.texi (setlocale): Document LOCPATH.
41472 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41475 * manual/process.texi (execle): Move @dots{} before last argument.
41477 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41480 * manual/charset.texi (Generic Charset Conversion): Fix typo
41481 (LC_TYPE -> LC_CTYPE).
41483 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41486 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41487 (scalbnf): Likewise.
41488 (scalbnl): Likewise.
41489 (scalbln): Likewise.
41490 (scalblnf): Likewise.
41491 (scalblnl): Likewise.
41492 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41493 (vwarnx): Likewise.
41496 * manual/filesys.texi (telldir): Use braces around return type.
41497 * manual/llio.texi (mmap): Add space after comma.
41498 (mmap64): Likewise.
41499 * manual/math.texi (jn): Use @var{} on parameter names.
41505 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41507 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41509 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41510 (sched_get_priority_max): Likewise.
41511 * manual/signal.texi (sigvec): Add space after comma.
41512 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41514 (if_indextoname): Likewise.
41515 (if_freenameindex): Likewise.
41516 (sendto): Use ',' instead of '.' in prototype.
41517 * manual/startup.texi (syscall): Use @dots{} instead of literal
41519 * manual/stdio.texi (__fpending): Separate initial words of
41520 paragraph from @deftypefun line.
41521 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41523 (vsyslog): Use @var{} on parameter names.
41524 * manual/terminal.texi (stty): Use @var{} on parameter names.
41525 * manual/users.texi (getutmp): Use @var{} on parameter names.
41526 (getutmpx): Likewise.
41528 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41531 * manual/stdio.texi (fopen): Fix typos in description of
41534 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41537 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41538 get clock_id definition.
41540 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41543 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41544 (madvise): Cast every argument to void on its own.
41546 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41549 * manual/startup.texi (Exit Status): Fix typo.
41551 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41554 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41555 * manual/examples/argp-ex2.c: Likewise.
41556 * manual/examples/argp-ex3.c: Likewise.
41558 2012-02-16 Richard Henderson <rth@redhat.com>
41560 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41561 * sysdeps/s390/s390-32/initfini.c: Remove.
41562 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41563 * sysdeps/s390/s390-64/initfini.c: Remove.
41565 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41567 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41568 compiler output for sysdeps/generic/initfini.c.
41569 * sysdeps/sh/elf/initfini.c: Remove file.
41571 2012-02-16 David S. Miller <davem@davemloft.net>
41574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41576 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41577 * sysdeps/sparc/crti.S: New file.
41578 * sysdeps/sparc/crtn.S: New file.
41579 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41580 * sysdeps/sparc/sparc64/Makefile: Likewise.
41582 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41585 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41587 2012-02-15 Roland McGrath <roland@hack.frob.com>
41590 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41592 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41593 (write, read, close): Likewise.
41594 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41596 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41598 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41599 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41600 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41601 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41603 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41607 2012-02-14 Marek Polacek <polacek@redhat.com>
41609 * sysdeps/x86_64/crti.S: New file.
41610 * sysdeps/x86_64/crtn.S: New file.
41611 * sysdeps/x86_64/elf/initfini.c: Remove file.
41613 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41615 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41616 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41617 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41618 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41620 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41624 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41626 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41627 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41628 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41629 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41631 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41635 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41637 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41638 __feraiseexcept instead of feraiseexcept.
41640 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41641 nanosleep invocations.
41642 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41643 strings, and add error checking for a nanosleep invocations.
41645 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41647 Replace FSF snail mail address with URLs, as per GNU coding standards.
41648 Most of the snail mail addresses were wrong anyway, and omitting
41649 them makes the source code easier to maintain. Almost all of the
41650 changes are to license notices and to locale LC_IDENTIFICATION
41651 addresses, except for this one:
41652 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41653 not its snail mail address.
41655 2012-02-09 Richard Henderson <rth@twiddle.net>
41657 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41658 of kernel-features.h.
41660 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41662 2012-02-08 Marek Polacek <polacek@redhat.com>
41664 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41665 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41666 * sysdeps/gnu/_G_config.h: Likewise.
41667 * sysdeps/generic/_G_config.h: Likewise.
41669 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41671 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41675 * sysdeps/powerpc/powerpc32/crti.S: New file.
41676 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41677 * sysdeps/powerpc/powerpc64/crti.S: New file.
41678 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41680 * Makeconfig (have-initfini): Don't set.
41681 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41682 * configure.in (nopic_initfini): Don't substitute.
41683 * config.h.in (HAVE_INITFINI): Don't #undef.
41684 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41685 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41687 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41689 Support crti.S and crtn.S provided directly by architectures.
41690 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41691 [crti.S in sysdirs] (omit-deps): Likewise.
41692 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41693 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41694 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41695 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41696 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41697 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41698 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41699 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41700 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41701 compiler output for sysdeps/generic/initfini.c.
41702 * sysdeps/i386/elf/Makefile: Remove file.
41703 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41705 2012-02-07 Marek Polacek <polacek@redhat.com>
41707 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41708 * sysdeps/gnu/_G_config.h: Likewise.
41709 * sysdeps/mach/hurd/_G_config.h: Likewise.
41711 2012-02-07 Marek Polacek <polacek@redhat.com>
41713 * math/Makefile (tests): Add tst-CMPLX2.
41714 * math/tst-CMPLX2.c: New file.
41716 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41718 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41720 * math/libm-test.inc (jn_test): Add missing L suffix.
41722 2012-02-06 Marek Polacek <polacek@redhat.com>
41724 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41725 * sysdeps/i386/fpu/e_powf.S: Likewise.
41726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41729 * sysdeps/i386/fpu/e_pow.S: Likewise.
41730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41734 * sysdeps/i386/fpu/e_log2.S: Likewise.
41735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41737 * sysdeps/i386/fpu/e_powl.S: Likewise.
41738 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41741 * sysdeps/i386/fpu/e_logl.S: Likewise.
41742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41743 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41748 * sysdeps/i386/fpu/e_log.S: Likewise.
41749 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41750 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41751 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41752 * sysdeps/i386/fpu/e_logf.S: Likewise.
41753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41755 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41757 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41758 * sysdeps/i386/fpu/e_log10.S: Likewise.
41759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41765 * sysdeps/i386/asm-syntax.h: Likewise.
41766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41769 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41770 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41771 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41772 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41773 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41775 * sysdeps/powerpc/sysdep.h: Likewise.
41776 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41779 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41782 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41784 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41786 * sysdeps/i386/sysdep.h: Include <features.h>.
41787 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41790 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41794 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41797 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41799 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41800 (SETUP_PIC_REG): Use GET_PC_THUNK.
41801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41804 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41807 for non-PIC compilation.
41808 (SETUP_PIC_REG): Add .p2align directive.
41809 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41810 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41811 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41812 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41824 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41825 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41832 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41842 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41843 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41844 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41845 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41846 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41847 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41848 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41849 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41851 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41853 * math/tst-CMPLX.c: Include <stdio.h>.
41855 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41857 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41859 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41860 * sysdeps/sparc/bits/mathdef.h: Likewise.
41862 2012-01-31 Marek Polacek <polacek@redhat.com>
41864 * libio/libio.h: Don't define _PARAMS.
41865 * locale/programs/config.h: Don't define PARAMS.
41866 * stdlib/strtol_l.c: Likewise.
41867 (__strtol_l): Remove PARAMS from the prototype.
41869 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41871 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41872 names. Just use the correct names. Remove unnecessary wrapper
41874 * malloc/arena.c: Likewise.
41875 * malloc/hooks.c: Likewise.
41877 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41878 ARENA_TEST says not to. Simplify test for creation of a new arena.
41879 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41881 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41883 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41885 (update_get_addr): New function.
41886 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41887 GET_ADDR_MODULE parameter.
41889 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41891 * crypt/cert.c: Remove __STDC__ conditionals.
41892 * crypt/crypt-entry.c: Likewise.
41893 * crypt/crypt_util.c: Likewise.
41894 * libio/filedoalloc.c: Likewise.
41895 * libio/fileops.c: Likewise.
41896 * libio/genops.c: Likewise.
41897 * libio/iofclose.c: Likewise.
41898 * libio/iofdopen.c: Likewise.
41899 * libio/iofopen.c: Likewise.
41900 * libio/iofopen64.c: Likewise.
41901 * libio/iogetdelim.c: Likewise.
41902 * libio/iopopen.c: Likewise.
41903 * libio/obprintf.c: Likewise.
41904 * libio/oldfileops.c: Likewise.
41905 * libio/oldiofclose.c: Likewise.
41906 * libio/oldiofdopen.c: Likewise.
41907 * libio/oldiofopen.c: Likewise.
41908 * libio/oldiopopen.c: Likewise.
41909 * libio/wfiledoalloc.c: Likewise.
41910 * libio/wgenops.c: Likewise.
41911 * locale/programs/xmalloc.c: Likewise.
41912 * misc/syslog.c: Likewise.
41913 * stdio-common/xbug.c: Likewise.
41914 * string/memchr.c: Likewise.
41915 * string/memcmp.c: Likewise.
41916 * string/memrchr.c: Likewise.
41917 * string/rawmemchr.c: Likewise.
41918 * sysdeps/posix/getcwd.c: Likewise.
41919 * time/strftime_l.c: Likewise.
41921 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41923 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41924 * config.make.in (config-cflags-sse2avx): Define.
41925 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41928 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41930 * scripts/config.guess: Update from upstream config git repository.
41931 * scripts/config.sub: Likewise.
41933 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41935 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41937 (R_TILEPRO_*, R_TILEGX_*): New macros.
41939 * scripts/firstversions.awk: Fix bug in version range handling.
41941 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41943 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41945 * include/sys/epoll.h: New file.
41946 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41949 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41951 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41952 Avoid unnecessary __WORDSIZE == 64 test.
41953 (fmaxf): Use VEX format if possible.
41958 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41959 * math/math_private.h: Remove libc_fegetround* and
41961 * sysdeps/i386/configure.in: Check for -msse2avx.
41962 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41963 also if SSE2AVX is defined.
41964 Remove libc_fegetround* and libc_fesetround*.
41965 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41966 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41975 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41977 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41983 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41986 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41988 * Makeconfig (libm): Define.
41989 * elf/Makefile: Add rules to build and run tst-relsort1.
41990 * elf/tst-relsort1.c: New file.
41991 * elf/tst-relsort1mod1.c: New file.
41992 * elf/tst-relsort1mod2.c: New file.
41994 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41996 * math/s_ldexp.c: Remove __STDC__ conditionals.
41997 * math/s_ldexpf.c: Likewise.
41998 * math/s_ldexpl.c: Likewise.
41999 * math/s_nextafter.c: Likewise.
42000 * math/s_nexttowardf.c: Likewise.
42001 * math/s_significand.c: Likewise.
42002 * math/s_significandf.c: Likewise.
42003 * math/s_significandl.c: Likewise.
42004 * math/w_jnl.c: Likewise.
42005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42027 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42029 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42030 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42031 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42035 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42036 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42037 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42040 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42045 * sysdeps/ieee754/k_standard.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42107 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42112 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42125 * sysdeps/ieee754/s_matherr.c: Likewise.
42126 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42127 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42133 * crypt/md5.h: Remove __STDC__ conditionals.
42134 * libio/libioP.h: Likewise.
42135 * locale/programs/config.h: Likewise.
42136 * sysdeps/generic/sysdep.h: Likewise.
42137 * sysdeps/i386/asm-syntax.h: Likewise.
42138 * sysdeps/s390/asm-syntax.h: Likewise.
42139 * sysdeps/unix/sysdep.h: Likewise.
42140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42143 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42145 * libio/libio.h: Remove __STDC__ conditionals.
42146 * malloc/obstack.h: Likewise.
42147 * math/complex.h: Likewise.
42148 * math/math.h: Likewise.
42149 * sysdeps/generic/_G_config.h: Likewise.
42150 * sysdeps/gnu/_G_config.h: Likewise.
42151 * sysdeps/mach/hurd/_G_config.h: Likewise.
42152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42153 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42154 * sysdeps/sparc/bits/mathdef.h: Likewise.
42156 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42159 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42160 Clean up HAS_* macros.
42161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42162 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42172 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42174 * elf/tst-unique3.cc (gets): Remove declaration.
42175 * elf/tst-unique3lib.cc (gets): Likewise.
42176 * elf/tst-unique3lib2.cc (gets): Likewise.
42177 * elf/tst-unique4.cc (gets): Likewise.
42179 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42181 * include/stdio.h: Add C++ protection. Add gets declarations and
42183 * debug/tst-chk1.c: Don't declare gets here.
42184 * stdio-common/tst-gets.c: Likewise.
42186 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42188 * posix/glob: Remove directory.
42190 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42192 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42194 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42196 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42197 of the non-standard EPFNOSUPPORT.
42199 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42201 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42202 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42203 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42205 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42207 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42209 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42211 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42213 * nscd/grpcache.c (cache_addgr): Likewise.
42214 * nscd/hstcache.c (cache_addhst): Likewise.
42215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42216 * nscd/pwdcache.c (cache_addpw): Likewise.
42217 * nscd/servicescache.c (cache_addserv): Likewise.
42219 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42221 * malloc/malloc.c: Various cleanups.
42222 * malloc/hooks.c: Likewise.
42224 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42225 * stdlib/bug-fmtmsg1.c: New file.
42227 * stdlib/fmtmsg.c (init): Add missing unlock.
42228 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42230 2012-01-12 Marek Polacek <polacek@redhat.com>
42232 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42235 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42237 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42238 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42239 macro to ensure uniqueness of label name.
42240 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42241 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42243 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42252 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42256 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42258 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42260 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42263 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42267 * math/bits/math-finite.h: Add ldexp support.
42269 2012-01-10 Marek Polacek <polacek@redhat.com>
42271 * locale/programs/localedef.h (show_archive_content): Add noreturn
42274 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42276 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42278 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42280 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42282 * io/Makefile (headers): Add bits/poll2.h.
42284 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42287 typo #include statement.
42289 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42291 * include/sys/cdefs.h: Define __attribute_alloc_size.
42292 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42293 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42294 * elf/pldd.c: Likewise.
42295 * iconv/iconv_charmap.c: Likewise.
42296 * iconv/iconvconfig.c: Likewise.
42297 * iconv/strtab.c: Likewise.
42298 * locale/programs/locale.c: Likewise.
42299 * locale/programs/localedef.h: Likewise.
42300 * locale/programs/simple-hash.c: Likewise.
42301 * nscd/nscd.h: Likewise.
42302 * nss/makedb.c: Likewise.
42303 * sysdeps/generic/ldconfig.h: Likewise.
42304 * locale/programs/localedef.c: Remove xmalloc prototype.
42305 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42307 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42312 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42314 * math/Makefile (tests): Add tst-CMPLX.
42315 * math/tst-CMPLX.c: New file.
42317 * math/complex.h (CMPLXL): Fix typo.
42319 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42320 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42322 * debug/tst-chk1.c: Add poll and ppoll tests.
42323 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42324 * include/sys/poll.h: Add hidden proto for ppoll.
42325 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42326 * sysdeps/mach/hurd/ppoll.c: Likewise.
42327 * io/ppoll.c: Likewise.
42328 * debug/poll_chk.c: New file.
42329 * debug/ppoll_chk.c: New file.
42330 * include/bits/poll2.h: New file.
42331 * io/bits/poll2.h: New file.
42334 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42336 * configure.in: static is always set to yes. Remove.
42337 * config.make.in: Don't set build-static.
42338 * Makeconfig: Remove use of build-static.
42339 * dlfcn/Makefile: Likewise.
42340 * elf/Makefile: Likewise.
42341 * math/Makefile: Likewise.
42342 * misc/Makefile: Likewise.
42343 * nptl/Makefile: Likewise.
42344 * sysdeps/mach/hurd/Makefile: Likewise.
42346 * configure.in: PWD_P is not used anymore.
42347 * config.make.in: Remove PWD_P entry.
42349 * configure.in: Remove last remnants of RANLIB.
42350 No need to check for signed size_t anymore.
42351 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42353 Remove __builtin_expect test because we require at least gcc 3.4.
42354 * aclocal.m4: Likewise.
42356 * wcsmbs/mbrtoc16.c: Implement using towc function.
42357 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42358 * wcsmbs/wcsmbsload.c: Likewise.
42359 * iconv/gconv_simple.c: Likewise.
42360 * iconv/gconv_int.h: Likewise.
42361 * iconv/gconv_builtin.h: Likewise.
42362 * iconv/iconv_prog.c: Remove CHAR16 handling.
42364 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42366 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42368 * configure.in: Remove --with-elf and --enable-bounded options.
42369 Dont set base_machine for ia64. More non-ELF conditions removed.
42370 Remove testing and setting of leading underscore information.
42371 * config.make.in (build-bounded): Set to no.
42372 * config.h.in: Remove NO_UNDERSCORES entry.
42373 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42375 * csu/start.c: Remove !NO_UNDERSCORE code.
42376 * locale/localeinfo.h: Likewise.
42377 * sysdeps/generic/machine-gmon.h: Likewise.
42378 * sysdeps/generic/sysdep.h: Likewise.
42379 * sysdeps/i386/sysdep.h: Likewise.
42380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42381 * sysdeps/mach/sysdep.h: Likewise.
42382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42384 * sysdeps/sh/sysdep.h: Likewise.
42385 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42386 * sysdeps/unix/i386/sysdep.S: Likewise.
42387 * sysdeps/unix/sparc/start.c: Likewise.
42388 * sysdeps/unix/sparc/sysdep.S: Likewise.
42389 * sysdeps/unix/sparc/sysdep.h: Likewise.
42390 * sysdeps/unix/start.c: Likewise.
42391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42392 * sysdeps/x86_64/sysdep.h: Likewise.
42394 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42397 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42399 * argp/argp-fmtstream.h: Use const instead __const.
42400 * argp/argp.h: Likewise.
42401 * assert/assert.h: Likewise.
42402 * bits/fenv.h: Likewise.
42403 * bits/sched.h: Likewise.
42404 * bits/sigset.h: Likewise.
42405 * bits/sigthread.h: Likewise.
42406 * catgets/nl_types.h: Likewise.
42407 * conform/data/pthread.h-data: Likewise.
42408 * crypt/crypt-private.h: Likewise.
42409 * crypt/crypt.h: Likewise.
42410 * crypt/crypt_util.c: Likewise.
42411 * ctype/ctype.h: Likewise.
42412 * debug/execinfo.h: Likewise.
42413 * debug/mbsnrtowcs_chk.c: Likewise.
42414 * debug/mbsrtowcs_chk.c: Likewise.
42415 * debug/wcsnrtombs_chk.c: Likewise.
42416 * debug/wcsrtombs_chk.c: Likewise.
42417 * debug/wcstombs_chk.c: Likewise.
42418 * dirent/dirent.h: Likewise.
42419 * dlfcn/dlfcn.h: Likewise.
42420 * elf/neededtest4.c: Likewise.
42421 * grp/grp.h: Likewise.
42422 * gshadow/gshadow.h: Likewise.
42423 * iconv/gconv.h: Likewise.
42424 * iconv/gconv_int.h: Likewise.
42425 * iconv/gconv_simple.c: Likewise.
42426 * iconv/iconv.h: Likewise.
42427 * iconv/loop.c: Likewise.
42428 * iconv/skeleton.c: Likewise.
42429 * include/aio.h: Likewise.
42430 * include/aliases.h: Likewise.
42431 * include/argz.h: Likewise.
42432 * include/arpa/inet.h: Likewise.
42433 * include/assert.h: Likewise.
42434 * include/dirent.h: Likewise.
42435 * include/dlfcn.h: Likewise.
42436 * include/execinfo.h: Likewise.
42437 * include/fcntl.h: Likewise.
42438 * include/fenv.h: Likewise.
42439 * include/glob.h: Likewise.
42440 * include/grp.h: Likewise.
42441 * include/libintl.h: Likewise.
42442 * include/mntent.h: Likewise.
42443 * include/netdb.h: Likewise.
42444 * include/pwd.h: Likewise.
42445 * include/rpc/netdb.h: Likewise.
42446 * include/sched.h: Likewise.
42447 * include/search.h: Likewise.
42448 * include/shadow.h: Likewise.
42449 * include/signal.h: Likewise.
42450 * include/stdio.h: Likewise.
42451 * include/stdlib.h: Likewise.
42452 * include/string.h: Likewise.
42453 * include/sys/socket.h: Likewise.
42454 * include/sys/stat.h: Likewise.
42455 * include/sys/statfs.h: Likewise.
42456 * include/sys/statvfs.h: Likewise.
42457 * include/sys/syslog.h: Likewise.
42458 * include/sys/time.h: Likewise.
42459 * include/sys/uio.h: Likewise.
42460 * include/time.h: Likewise.
42461 * include/unistd.h: Likewise.
42462 * include/utmp.h: Likewise.
42463 * include/wchar.h: Likewise.
42464 * include/wctype.h: Likewise.
42465 * inet/aliases.h: Likewise.
42466 * inet/arpa/inet.h: Likewise.
42467 * inet/netinet/ether.h: Likewise.
42468 * inet/netinet/in.h: Likewise.
42469 * intl/libintl.h: Likewise.
42470 * io/bits/fcntl2.h: Likewise.
42471 * io/fcntl.h: Likewise.
42472 * io/ftw.h: Likewise.
42473 * io/sys/poll.h: Likewise.
42474 * io/sys/stat.h: Likewise.
42475 * io/sys/statfs.h: Likewise.
42476 * io/sys/statvfs.h: Likewise.
42477 * io/utime.h: Likewise.
42478 * libio/bits/stdio.h: Likewise.
42479 * libio/bits/stdio2.h: Likewise.
42480 * libio/libio.h: Likewise.
42481 * libio/libioP.h: Likewise.
42482 * libio/stdio.h: Likewise.
42483 * locale/lc-ctype.c: Likewise.
42484 * locale/locale.h: Likewise.
42485 * login/utmp.h: Likewise.
42486 * malloc/arena.c: Likewise.
42487 * malloc/malloc.c: Likewise.
42488 * malloc/malloc.h: Likewise.
42489 * malloc/mcheck.c: Likewise.
42490 * malloc/mtrace.c: Likewise.
42491 * math/bits/mathcalls.h: Likewise.
42492 * math/fenv.h: Likewise.
42493 * math/math_private.h: Likewise.
42494 * misc/bits/error.h: Likewise.
42495 * misc/bits/syslog.h: Likewise.
42496 * misc/err.h: Likewise.
42497 * misc/error.h: Likewise.
42498 * misc/fstab.h: Likewise.
42499 * misc/mntent.h: Likewise.
42500 * misc/regexp.h: Likewise.
42501 * misc/search.h: Likewise.
42502 * misc/sgtty.h: Likewise.
42503 * misc/sys/mman.h: Likewise.
42504 * misc/sys/syslog.h: Likewise.
42505 * misc/sys/uio.h: Likewise.
42506 * misc/sys/xattr.h: Likewise.
42507 * misc/ttyent.h: Likewise.
42508 * nis/rpcsvc/ypclnt.h: Likewise.
42509 * nss/nss.h: Likewise.
42510 * posix/bits/unistd.h: Likewise.
42511 * posix/fnmatch.h: Likewise.
42512 * posix/glob.h: Likewise.
42513 * posix/sched.h: Likewise.
42514 * posix/spawn.h: Likewise.
42515 * posix/sys/wait.h: Likewise.
42516 * posix/unistd.h: Likewise.
42517 * posix/wordexp.h: Likewise.
42518 * pwd/pwd.h: Likewise.
42519 * resolv/netdb.h: Likewise.
42520 * resource/sys/resource.h: Likewise.
42521 * rt/aio.h: Likewise.
42522 * rt/bits/mqueue2.h: Likewise.
42523 * rt/mqueue.h: Likewise.
42524 * shadow/shadow.h: Likewise.
42525 * signal/signal.h: Likewise.
42526 * socket/send.c: Likewise.
42527 * socket/sendto.c: Likewise.
42528 * socket/sys/socket.h: Likewise.
42529 * stdio-common/printf.h: Likewise.
42530 * stdlib/bits/stdlib.h: Likewise.
42531 * stdlib/fmtmsg.h: Likewise.
42532 * stdlib/monetary.h: Likewise.
42533 * stdlib/stdlib.h: Likewise.
42534 * stdlib/ucontext.h: Likewise.
42535 * streams/stropts.h: Likewise.
42536 * string/argz.h: Likewise.
42537 * string/bits/string2.h: Likewise.
42538 * string/string.h: Likewise.
42539 * string/strings.h: Likewise.
42540 * sunrpc/rpc/auth.h: Likewise.
42541 * sunrpc/rpc/auth_des.h: Likewise.
42542 * sunrpc/rpc/clnt.h: Likewise.
42543 * sunrpc/rpc/netdb.h: Likewise.
42544 * sunrpc/rpc/pmap_clnt.h: Likewise.
42545 * sunrpc/rpc/xdr.h: Likewise.
42546 * sysdeps/generic/inttypes.h: Likewise.
42547 * sysdeps/generic/net/if.h: Likewise.
42548 * sysdeps/generic/sys/swap.h: Likewise.
42549 * sysdeps/gnu/net/if.h: Likewise.
42550 * sysdeps/gnu/utmpx.h: Likewise.
42551 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42552 * sysdeps/i386/i486/bits/string.h: Likewise.
42553 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42554 * sysdeps/s390/bits/string.h: Likewise.
42555 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42556 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42557 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42558 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42559 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42560 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42561 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42562 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42563 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42564 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42565 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42566 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42567 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42568 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42569 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42570 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42571 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42577 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42578 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42579 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42580 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42583 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42585 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42586 * sysvipc/sys/ipc.h: Likewise.
42587 * sysvipc/sys/msg.h: Likewise.
42588 * sysvipc/sys/sem.h: Likewise.
42589 * sysvipc/sys/shm.h: Likewise.
42590 * termios/termios.h: Likewise.
42591 * time/sys/time.h: Likewise.
42592 * time/time.h: Likewise.
42593 * wcsmbs/bits/wchar2.h: Likewise.
42594 * wcsmbs/uchar.h: Likewise.
42595 * wcsmbs/wchar.h: Likewise.
42596 * wctype/wctype.h: Likewise.
42599 * Makeconfig: Remove all but ELF support including AIX support.
42600 * Makerules: Likewise.
42601 * config.h.in: Likewise.
42602 * config.make.in: Likewise.
42603 * configure: Likewise.
42604 * configure.in: Likewise.
42605 * csu/Makefile: Likewise.
42606 * csu/version.c: Likewise.
42607 * debug/Makefile: Likewise.
42608 * dlfcn/Makefile: Likewise.
42609 * elf/Makefile: Likewise.
42610 * extra-lib.mk: Likewise.
42611 * iconv/Makefile: Likewise.
42612 * include/libc-symbols.h: Likewise.
42613 * include/shlib-compat.h: Likewise.
42614 * resolv/Makefile: Likewise.
42615 * resolv/res_libc.c: Likewise.
42616 * rt/Makefile: Likewise.
42617 * sysdeps/i386/asm-syntax.h: Likewise.
42618 * sysdeps/i386/sysdep.h: Likewise.
42619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42620 * sysdeps/mach/sysdep.h: Likewise.
42621 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42622 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42623 * sysdeps/s390/asm-syntax.h: Likewise.
42624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42626 * sysdeps/sh/sysdep.h: Likewise.
42627 * sysdeps/unix/sparc/sysdep.h: Likewise.
42628 * sysdeps/wordsize-32/divdi3.c: Likewise.
42629 * sysdeps/x86_64/sysdep.h: Likewise.
42631 * argp/Versions: Remove _argp_unlock_xxx.
42634 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42635 * abilist/libBrokenLocale.abilist: Likewise.
42636 * abilist/libanl.abilist: Likewise.
42637 * abilist/libc.abilist: Likewise.
42638 * abilist/libcrypt.abilist: Likewise.
42639 * abilist/libdl.abilist: Likewise.
42640 * abilist/libm.abilist: Likewise.
42641 * abilist/libnsl.abilist: Likewise.
42642 * abilist/libpthread.abilist: Likewise.
42643 * abilist/libresolv.abilist: Likewise.
42644 * abilist/librt.abilist: Likewise.
42645 * abilist/libthread_db.abilist: Likewise.
42646 * abilist/libutil.abilist: Likewise.
42647 * abilist/libnss_db.abilist: New file.
42649 * scripts/abilist.awk: Add support for indirect functions.
42651 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42653 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42655 * shlib-versions: Remove entries for ports architectures.
42657 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42659 * elf/stackguard-macros.h: Remove support for IA-64.
42660 * elf/tst-auditmod1.c: Likewise.
42661 * sysdeps/generic/ldsodefs.h: Likewise.
42663 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42664 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42668 * configure.in: Remove --enable-omitfp support.
42670 * config.make.in: Likewise.
42671 * Makeconfig: Likewise.
42672 * manual/install.texi: Likewise.
42674 In case anyone cares, the IA-64 architecture could move to ports.
42675 * sysdeps/ia64/*: Removed.
42676 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42677 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42680 * configure.in: Remove entries for unsupported architectures.
42683 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42684 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42686 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42687 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42688 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42689 fall back to using wcrtomb.
42690 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42691 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42693 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42694 * wcsmbs/tst-c16c32-1.c: New file.
42696 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42699 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42701 * elf/tst-unique3.cc: Add explicit declaration of gets.
42702 * elf/tst-unique3lib.cc: Likewise.
42703 * elf/tst-unique3lib2.cc: Likewise.
42704 * elf/tst-unique4.cc: Likewise.
42706 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42708 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42711 * assert/assert.h (static_assert): Don't define for C++.
42712 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42713 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42715 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42717 * iconv/loop.c (single loop): Fix assertion in storing of
42720 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42722 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42724 * posix/getconf.c: Update copyright year.
42725 * nss/getent.c: Likewise.
42726 * nss/makedb.c: Likewise.
42727 * iconv/iconvconfig.c: Likewise.
42728 * iconv/iconv_prog.c: Likewise.
42729 * elf/ldconfig.c: Likewise.
42730 * elf/pldd.c: Likewise.
42731 * elf/sotruss.ksh: Likewise.
42732 * catgets/gencat.c: Likewise.
42733 * csu/version.c: Likewise.
42734 * elf/ldd.bash.in: Likewise.
42735 * elf/sprof.c (print_version): Likewise.
42736 * locale/programs/locale.c: Likewise.
42737 * locale/programs/localedef.c: Likewise.
42738 * login/programs/pt_chown.c: Likewise.
42739 * nscd/nscd.c (print_version): Likewise.
42740 * debug/xtrace.sh: Likewise.
42741 * malloc/memusage.sh: Likewise.
42742 * malloc/mtrace.pl: Likewise.
42743 * debug/catchsegv.sh: Likewise.
42745 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42747 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42750 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42753 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42754 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42756 * iconv/gconv_int.h: Likewise.
42757 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42758 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42759 from libc for GLIBC_2.16.
42760 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42761 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42762 * wcsmbs/uchar.h: Really define mbstate_t.
42763 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42764 * wcsmbs/c16rtomb.c: New file.
42765 * wcsmbs/mbrtoc16.c: New file.
42766 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42767 for C/POSIX locale.
42768 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42769 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42771 * wcsmbs/wchar.h: Add missing __restrict.
42773 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42776 * time/Makefile (routines): Add timespec_get.
42777 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42778 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42779 timespec for ISO C11.
42780 * time/timespec_get.c: New file.
42781 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42782 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42785 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42786 * stdlib/stdlib.h: Declare aligned_alloc.
42787 * Versions.def: Add GLIBC_2.16 for libc.
42788 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42791 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42794 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42798 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42801 * assert/assert.h (static_assert): Define.
42803 * version.h: Update for 2.16 development version.
42806 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42809 * version.h (RELEASE): Bump for 2.15 release.
42810 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42812 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42813 Patch by Marek Polacek <mpolacek@redhat.com>.
42815 * bits/byteswap.h: Protect long long constants with __extension__.
42816 * sysdeps/i386/bits/byteswap.h: Likewise.
42817 * sysdeps/ia64/bits/byteswap.h: Likewise.
42818 * sysdeps/s390/bits/byteswap.h: Likewise.
42819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42821 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42825 destination buffer.
42826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42828 2011-12-23 Marek Polacek <polacek@redhat.com>
42830 * elf/dl-addr.c (determine_info): Add inline keyword.
42831 * elf/tst-auditmod4b.c (check_avx): Likewise.
42832 * elf/tst-auditmod6b.c (check_avx): Likewise.
42833 * elf/tst-auditmod6c.c (check_avx): Likewise.
42834 * elf/tst-auditmod7b.c (check_avx): Likewise.
42836 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42838 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42841 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42845 processing for last bytes.
42847 2011-08-06 Bruno Haible <bruno@clisp.org>
42850 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42851 U+0385, not to U+1FEE.
42854 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42855 entry for U+00A5 U+0301.
42857 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42860 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42861 buffer for the output is too small.
42863 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42867 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42868 SSE flags if possible.
42870 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42874 processing for last bytes.
42876 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42879 (syscall-list-default-options, syscall-list-default-condition)
42880 (syscall-list-includes): Define.
42881 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42882 list of ABIs and options and #if conditions for each ABI. Do not
42883 handle common syscalls between ABIs specially.
42884 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42886 (syscall-list-variants, syscall-list-32bit-options)
42887 (syscall-list-32bit-condition, syscall-list-64bit-options)
42888 (syscall-list-64bit-condition): Define.
42889 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42890 (syscall-list-variants, syscall-list-32bit-options)
42891 (syscall-list-32bit-condition, syscall-list-64bit-options)
42892 (syscall-list-64bit-condition): Define.
42893 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42895 (syscall-list-variants, syscall-list-32bit-options)
42896 (syscall-list-32bit-condition, syscall-list-64bit-options)
42897 (syscall-list-64bit-condition): Define.
42898 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42900 (syscall-list-variants, syscall-list-32bit-options)
42901 (syscall-list-32bit-condition, syscall-list-64bit-options)
42902 (syscall-list-64bit-condition): Define.
42904 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42906 * locale/iso-639.def: Add brx entry.
42909 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42910 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42912 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42913 __feraiseexcept_renamed.
42915 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42918 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42919 EPOLLET with unsigned values.
42920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42923 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42924 to large cancellation.
42925 * math/s_cacoshf.c: Likewise.
42926 * math/s_cacoshl.c: Likewise.
42928 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42932 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42933 * math/s_cacoshf.c: Likewise.
42934 * math/s_cacoshl.c: Likewise.
42936 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42939 * iconv/gconv.h: Define __GCONV_SWAP.
42940 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42941 * iconvdata/utf-16.c: Likewise.
42942 * iconvdata/utf-32.c: Likewise.
42944 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42948 numerator after shifting it by one limb.
42950 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42953 under [__USE_EXTERN_INLINES].
42955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42958 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42960 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42962 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42963 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42965 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42966 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42967 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42968 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42969 for strncasecmp/strncasecmp_l compilation.
42970 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42971 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42973 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42976 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42979 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42982 * time/tzfile.c (__tzfile_read): Check values from file header.
42984 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42986 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42987 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42988 * powerpc/powerpc32/dl-start.S: Likewise.
42989 * powerpc/powerpc32/elf/start.S: Likewise.
42990 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42991 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42992 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42993 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42994 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42995 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42996 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42997 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42998 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42999 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43000 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43001 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43002 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43003 * powerpc/powerpc32/memset.S: Likewise.
43004 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43005 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43006 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43007 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43008 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43009 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43010 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43011 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43012 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43013 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43014 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43015 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43016 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43018 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43020 * math/libm-test.inc: Added more nearbyint tests.
43021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43026 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43028 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43031 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43033 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43034 Add wcscpy-ssse3 wcscpy-c.
43035 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43036 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43037 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43038 * sysdeps/x86_64/wcschr.S: New file.
43039 * sysdeps/x86_64/wcsrchr.S: New file.
43040 * string/test-strcmp.c: Remove checking of wcscmp function for
43042 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43043 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43044 wcsrchr-sse2 wcsrchr-c.
43045 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43046 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43047 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43048 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43049 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43050 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43051 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43052 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43053 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43054 * wcsmbc/wcschr.c (WCSCHR): New macro.
43056 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43058 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43059 * wcsmbs/test-wcsrchr.c: New file.
43060 * string/test-strrchr.c: Add wcsrchr support.
43062 * wcsmbs/test-wcscpy.c: New file.
43063 * string/test-strcpy.c: Add wcscpy support.
43066 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43068 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43071 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43074 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43076 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43079 Minor optimizations.
43081 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43082 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43083 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43085 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43087 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43088 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43089 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43090 for gcc to avoid warnings.
43091 * inet/Makefile (tests): Add tst-checks.
43092 * inet/tst-checks.c: New file.
43094 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43097 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43100 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43101 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43103 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43105 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43107 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43110 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43112 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43115 conditional on GCC version.
43116 (__arch_compare_and_exchange_val_8_acq)
43117 (__arch_compare_and_exchange_val_16_acq)
43118 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43119 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43120 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43122 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43124 * sysdeps/sh/backtrace.c: New file.
43126 2011-12-02 Andreas Schwab <schwab@redhat.com>
43128 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43131 2011-12-01 Andreas Schwab <schwab@redhat.com>
43133 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43134 falling back to utime.
43136 2011-11-30 Andreas Schwab <schwab@redhat.com>
43138 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43139 expectations for float.
43141 2011-11-29 Andreas Schwab <schwab@redhat.com>
43143 * locale/weight.h (findidx): Add parameter len.
43144 * locale/weightwc.h (findidx): Likewise.
43145 * posix/fnmatch_loop.c (FCT): Adjust caller.
43146 * posix/regcomp.c (build_equiv_class): Likewise.
43147 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43148 * posix/regexec.c (check_node_accept_bytes): Likewise.
43149 * string/strcoll_l.c (STRCOLL): Likewise.
43150 * string/strxfrm_l.c (STRXFRM): Likewise.
43152 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43154 * Makefile.in: Remove CVSOPT handling.
43155 * configure.in: Remove use of AC_REVISION.
43156 * iconvdata/Makefile (distribute): No need to filter out CVS.
43157 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43160 2011-11-16 Andreas Schwab <schwab@redhat.com>
43162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43163 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43164 [USE_AS_STRNCASECMP_L]: Likewise.
43165 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43166 NO_TLS_DIRECT_SEG_REFS.
43167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43168 Fix argument offsets for non-PIC.
43169 [USE_AS_STRNCASECMP_L]: Likewise.
43170 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43171 NO_TLS_DIRECT_SEG_REFS.
43173 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43175 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43177 * locale/loadlocale.c (_nl_load_locale): Likewise.
43179 2011-11-15 Andreas Schwab <schwab@redhat.com>
43181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43182 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43184 (SYSCALL_GETTIME): Set errno on error.
43186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43187 count references to noai6ai_cached.
43189 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43191 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43193 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43194 FD_CLOEXEC for /proc/self/maps.
43196 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43197 FD_CLOEXEC for /proc/meminfo.
43199 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43202 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43203 FD_CLOEXEC for given file.
43205 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43207 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43208 FD_CLOEXEC for /etc/hosts.
43209 (_gethtent): Likewise.
43211 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43213 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43214 cancellation and set FD_CLOEXEC for /etc/netgroup.
43216 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43217 reading /etc/publickey.
43219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43220 allow cancellation when reading /etc/group.
43222 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43224 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43226 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43227 when using data file.
43229 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43231 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43232 (write_nis_obj): Use "c" and "e" in fopen.
43234 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43236 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43238 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43240 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43242 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43245 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43247 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43249 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43251 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43252 file parsing and set FD_CLOEXEC.
43254 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43256 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43258 2011-11-14 Andreas Schwab <schwab@redhat.com>
43260 * malloc/arena.c (arena_get2): Don't call reused_arena when
43261 _int_new_arena failed.
43263 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43266 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43268 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43271 to compile strcasecmp and strncasecmp.
43272 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43273 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43277 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43280 locale-defines.sym to gen-as-const-headers.
43281 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43282 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43284 to compile strcasecmp and strncasecmp.
43285 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43286 strcasecmp_l and strncasecmp_l.
43287 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43288 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43289 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43290 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43291 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43292 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43293 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43294 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43295 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43296 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43297 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43299 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43301 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43302 result of SYSDEP_GETTIME_CPU to retval.
43303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43304 parameter list to macro. Remove trailing semicolon. Adjust users.
43306 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43309 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43311 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43313 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43314 from unused variable.
43316 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43318 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43321 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43324 * sunrpc/rpc_prot.c (rejected): Fix case value.
43326 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43327 unsigned long long int to avoid warnings in shift.
43329 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43331 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43334 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43335 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43336 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43338 * nis/nis_table.c (nis_list): Use variable of correct type for
43339 result of __follow_path call.
43341 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43343 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43344 of math functions ceil, trunc, floor, round, and sqrt, when
43345 avaliable on the platform.
43346 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43349 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43350 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43352 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43354 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43357 2011-11-11 Roland McGrath <roland@hack.frob.com>
43359 * include/unistd.h: Fix __readlink return type.
43360 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43362 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43364 * stdlib/ucontext.h: Undo last change for makecontext.
43366 2011-11-11 Andreas Schwab <schwab@redhat.com>
43368 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43370 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43371 * setjmp/setjmp.h: Mark functions as non-leaf.
43372 * setjmp/bits/setjmp2.h: Likewise.
43373 * stdlib/ucontext.h: Likewise.
43375 2011-11-10 Andreas Schwab <schwab@redhat.com>
43377 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43378 (reused_arena): Don't check arena limit.
43379 (arena_get2): Atomically check arena limit.
43381 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43383 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43384 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43389 2011-11-07 Andreas Schwab <schwab@redhat.com>
43391 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43392 handler when locking.
43394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43395 Fix size of allocated buffer.
43397 2011-11-04 Andreas Schwab <schwab@redhat.com>
43400 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43401 declarations for long double functions.
43402 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43404 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43406 2011-11-03 Andreas Schwab <schwab@redhat.com>
43408 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43411 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43414 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43416 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43418 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43420 * include/alloca.h (stackinfo_alloca_round): Define.
43421 (extend_alloca): Use it.
43422 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43423 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43426 * scripts/check-local-headers.sh: Ignore libaudit.h.
43428 * nscd/Makefile (extra-objs): Make recursively expanded.
43430 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43432 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43435 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43436 * posix/tst-rfc3484-2.c: Likewise.
43437 * posix/tst-rfc3484-3.c: Likewise.
43439 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43441 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43443 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43444 process_vm_writev from libc using GLIBC_2.15 version.
43446 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43448 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43450 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43453 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43456 * nss/getent.c (initgroups_keys): Show error message in case no group
43459 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43460 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43461 __bump_nl_timestamp.
43462 * nscd/connections (nscd_init): When host database is served open
43463 netlink socket and request notification about configuration changes.
43464 (main_loop_poll): Track netlink file descriptor and bump timestamp
43465 in case data becomes available.
43466 (main_loop_epoll): Likewise.
43467 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43468 (database_pers_head): Add extra_data fileds.
43469 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43470 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43471 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43474 in6ai data, call __free_in6ai.
43475 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43476 Add -DHAVE_NETLINK.
43477 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43478 interface information. Reuse previous data if netlink timestamp
43480 (__bump_nl_timestamp): New function.
43481 (__free_in6ai): New function.
43483 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43486 close_not_cancel_no_status here.
43487 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43489 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43492 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43495 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43496 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43497 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43499 2011-07-03 Andreas Jaeger <aj@suse.de>
43502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43503 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43504 * math/libm-test.inc (sin_test): Add test case.
43506 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43509 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43512 * elf/chroot_canon.c (chroot_canon): Cleanups.
43514 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43517 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43520 * string/test-strchr.c: Make usable for strchrnul testing.
43521 * string/test-strchrnul.c: New file.
43522 * string/Makefile (strop-tests): Add strchrnul.
43524 * po/it.po: Update from translation team.
43525 * po/es.po: Likewise.
43527 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43530 the three constants needed as parameters. Drop the others.
43531 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43532 __m128i_strloadu_tolower.
43533 Create and initialize variable zero and use it in all the places
43534 where _mm_setzero_si128 was used.
43536 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43537 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43538 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43541 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43544 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43545 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43546 __mpranred, __mptan.
43547 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43548 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43549 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43550 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43551 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43552 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43555 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43557 2011-10-28 Andreas Schwab <schwab@redhat.com>
43559 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43560 redefine if SHARED.
43561 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43564 wide char related routines to wcsmbs subdir.
43566 2011-10-27 Andreas Schwab <schwab@redhat.com>
43569 * misc/sys/cdefs.h (__THROWNL): Define.
43570 * posix/unistd.h: Use __THREADNL instead of __THREAD
43571 for memory synchronization functions.
43573 2011-10-26 Roland McGrath <roland@hack.frob.com>
43576 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43578 * manual/stdio.texi (Obstack Streams): Node removed.
43580 2011-10-26 Andreas Schwab <schwab@redhat.com>
43582 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43586 * math/math_private.h (math_force_eval): Allow non-addressable
43588 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43590 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43592 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43593 file is not needed.
43595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43602 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43608 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43609 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43610 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43611 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43612 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43613 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43615 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43617 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43618 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43619 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43620 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43622 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43624 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43625 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43628 place. Use VEX encoding when compiling for AVX.
43630 2011-10-25 Andreas Schwab <schwab@redhat.com>
43632 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43635 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43637 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43639 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43640 useless if() expression.
43641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43646 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43651 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43653 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43657 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43659 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43661 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43663 2011-10-25 Andreas Schwab <schwab@redhat.com>
43665 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43669 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43671 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43672 .text section. Avoid duplicate constants.
43673 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43682 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43684 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43685 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43700 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43703 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43706 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43707 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43708 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43709 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43711 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43712 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43715 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43719 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43721 * sysdeps/x86_64/dla.h: Move to ...
43722 * sysdeps/x86_64/fpu/dla.h: ...here.
43723 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43724 situations. Use __builtin_fma only for gcc 4.6 and up.
43726 * config.make.in: Add have-mfma4 entry.
43727 * configure.in: Substitute libc_cv_cc_fma4.
43728 * math/Makefile (dbl-only-routines): Add sincostab.
43729 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43730 Use __sincostab not sincos.
43731 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43738 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43739 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43740 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43741 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43744 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43746 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43747 define aliases when function name is a macro.
43748 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43749 sysdeps/ieee754/dbl-64/sincos.tbl.
43750 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43751 fma4-enabled routines.
43752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43754 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43755 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43762 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43764 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43766 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43767 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43768 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43770 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43772 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43783 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43792 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43794 2011-10-24 Andreas Schwab <schwab@redhat.com>
43796 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43798 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43806 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43807 Remove unused variable magic_bits.
43808 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43810 * string/strnlen.c: Define and use STRNLEN macro.
43811 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43812 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43814 * wcsmbs/wcslen.c: Define and use WCSLEN.
43815 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43816 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43817 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43818 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43819 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43820 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43821 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43823 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43826 strnlen-sse2-no-bsf.
43827 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43830 Add strnlen support.
43831 (USE_AS_STRNLEN): New macro.
43832 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43834 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43835 * sysdeps/x86_64/wcslen.S: New file.
43837 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43840 XMM-moves are used for copying on small sizes.
43842 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43844 * wcsmbs/Makefile (strop-tests): Add wcschr.
43845 * wcsmbs/test-wcschr.c: New file.
43846 * string/test-strchr.c: Update.
43847 Add wcschr support.
43850 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43852 * wcsmbs/Makefile (strop-tests): Add wcslen.
43853 * wcsmbs/test-wcslen.c: New file.
43854 * string/test-strlen.c: Update.
43855 Add wcslen support.
43858 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43860 * po/it.po: Update from translation team.
43862 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43864 * sysdeps/x86_64/wcscmp.S: Update.
43865 Fix wrong comparison semantics.
43866 wcscmp shall use signed comparison not unsigned.
43867 Don't use substraction to avoid overflow bug.
43868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43869 * wcsmbc/wcscmp.c: Likewise.
43870 * string/test-strcmp.c: Likewise.
43871 Add new tests to check cases with negative values.
43873 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43875 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43876 * sysdeps/x86_64/dla.h: ...here. New file.
43877 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43887 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43890 __ynl_finite aliases.
43892 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43896 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43898 [DLA_FMA] (EMULV): Use DLA_FMA.
43899 [DLA_FMA] (MUL12): Use EMULV.
43900 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43901 that are not needed.
43902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43910 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43912 * math/s_nan.c: Undef __nan.
43913 * math/s_nanf.c: Undef __nanf.
43914 * math/s_nanl.c: Undef __nanl.
43915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43918 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43920 * math/s_catan.c: Add branch predictions.
43921 * math/s_catanf.c: Likewise.
43922 * math/s_catanh.c: Likewise.
43923 * math/s_catanhf.c: Likewise.
43924 * math/s_catanhl.c: Likewise.
43925 * math/s_catanl.c: Likewise.
43926 * math/s_cexp.c: Likewise.
43927 * math/s_cexpf.c: Likewise.
43928 * math/s_cexpl.c: Likewise.
43929 * math/s_clog.c: Likewise.
43930 * math/s_clog10.c: Likewise.
43931 * math/s_clog10f.c: Likewise.
43932 * math/s_clog10l.c: Likewise.
43933 * math/s_clogf.c: Likewise.
43934 * math/s_clogl.c: Likewise.
43935 * math/s_csqrt.c: Likewise.
43936 * math/s_csqrtf.c: Likewise.
43937 * math/s_csqrtl.c: Likewise.
43938 * math/s_ctanf.c: Likewise.
43939 * math/s_ctanh.c: Likewise.
43940 * math/s_ctanhf.c: Likewise.
43941 * math/s_ctanhl.c: Likewise.
43942 * math/s_ctanl.c: Likewise.
43944 * math/math_private.h: Define __nan, __nanf, __nanl.
43945 * math/s_cacosh.c: Include <math_private.h>.
43946 * math/s_cacoshl.c: Likewise.
43947 * math/s_casinh.c: Likewise.
43948 * math/s_casinhf.c: Likewise.
43949 * math/s_casinhl.c: Likewise.
43950 * math/s_ccos.c: Rely entire on ccosh.
43951 * math/s_ccosf.c: Rely entire on ccoshf.
43952 * math/s_ccosl.c: Rely entirely on ccoshl.
43953 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43954 Remove tests for FE_INVALID.
43955 * math/s_ccoshf.c: Likewise.
43956 * math/s_ccoshl.c: Likewise.
43957 * math/s_csin.c: Likewise.
43958 * math/s_csinf.c: Likewise.
43959 * math/s_csinh.c Likewise.
43960 * math/s_csinhf.c: Likewise.
43961 * math/s_csinhl.c: Likewise.
43962 * math/s_csinl.c: Likewise.
43963 * math/s_ctan.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43965 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43968 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43971 compilation problems.
43973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43976 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43978 * sysdeps/i386/configure.in: Test for -mfma4 option.
43979 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43980 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43981 COMMON_CPUID_INDEX_80000001.
43982 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43983 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43984 use it if FMA3 is not supported.
43985 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43987 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43990 2011-10-20 Andreas Schwab <schwab@redhat.com>
43993 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43994 it would create a cycle with a link time dependency.
43996 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43998 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44000 * string/Makefile (strop-tests): Add rawmemchr.
44001 * string/test-rawmemchr.c: New file.
44003 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44005 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44006 when compiling str{,n}casecmp and when AVX is available. Hook up
44007 new optimized code in initializers.
44009 2011-10-19 Andreas Schwab <schwab@redhat.com>
44011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44012 __feraiseexcept instead of feraiseexcept.
44014 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44016 * math/math_private.h: Define defaults for libc_fetestexcept and
44018 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44019 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44023 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44024 libc_fetestexcept and libc_feupdateenv.
44026 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44027 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44028 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44029 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44030 libc_feholdexcept_setround.
44032 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44033 Add s_nearbyint-c and s_nearbyintf-c.
44034 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44035 nearbyintf inlines.
44036 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44037 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44038 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44039 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44041 * math/math_private.h: Define defaults for libc_fegetround,
44042 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44043 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44044 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44046 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44047 standard functions.
44048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44049 Remove comments and hacks for old compiler versions.
44050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44051 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44052 libc_feholdexceptl.
44054 2011-10-18 Andreas Schwab <schwab@redhat.com>
44056 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44057 (__feraiseexcept_renamed): Add __NTH.
44058 (feraiseexcept): Add __NTH. Rename local variables to fix
44059 namespace violations.
44061 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44067 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44068 recently added interfaces.
44069 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44071 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44072 about macro parameter expansion.
44074 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44075 __NO_MATH_INLINES is defined. Cleanups.
44077 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44078 and __floorf is target has SSE4.1.
44079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44080 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44081 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44082 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44084 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44086 (floorf): Likewise.
44088 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44090 2011-10-17 Andreas Schwab <schwab@redhat.com>
44092 * misc/sys/cdefs.h: Fix last change.
44094 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44097 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44099 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44101 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44107 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44110 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44111 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44112 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44113 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44114 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44116 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44118 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44120 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44122 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44124 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44125 ceil, ceilf, floor, floorf.
44127 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44128 Perform IRELATIVE relocations last.
44130 * elf/do-rel.h: Add another parameter nrelative, replacing the
44131 local variable with the same name. Change name of the function
44132 to end in Rel or Rela (uppercase).
44133 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44134 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44135 elf_dynamic_do_##reloc function.
44137 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44139 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44140 is sufficient, at least on modern CPUs.
44142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44144 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44147 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44149 * math/bits/math-finite.h: Add entries for exp.
44150 * math/e_expl.c: Add __*_finite alias.
44151 * sysdeps/i386/fpu/e_exp.S: Likewise.
44152 * sysdeps/i386/fpu/e_expf.S: Likewise.
44153 * sysdeps/i386/fpu/e_expl.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44155 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44158 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44159 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44160 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44162 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44163 is sufficient, at least on modern CPUs.
44165 * ctype/ctype-info.c (__ctype_init): Define.
44166 * include/ctype.h (__ctype_init): Declare.
44167 (__ctype_b_loc): The variable is always initialized.
44168 (__ctype_toupper_loc): Likewise.
44169 (__ctype_tolower_loc): Likewise.
44170 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44171 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44173 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44175 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44177 * configure.in: Also look in $cxxmachine/include for C++ system
44180 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44182 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44183 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44184 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44185 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44187 (USE_AS_WMEMCMP): New macro.
44189 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44190 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44191 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44192 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44194 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44195 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44197 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44198 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44199 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44200 (USE_AS_WMEMCMP): New macro.
44201 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44202 * sysdeps/string/test-memcmp.c: Update.
44203 Fix simple_wmemcmp.
44205 * wcsmbs/wmemcmp.c: Update.
44206 (WMEMCMP): New macro.
44209 2011-10-12 Andreas Jaeger <aj@suse.de>
44212 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44214 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44216 * libio/iofwide.c (do_length): Avoid warning.
44218 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44220 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44222 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44224 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44225 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44226 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44227 * sysdeps/i386/i686/fpu/e_log.S: New file.
44228 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44229 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44231 * ctype/ctype.h: Add support for inlined isXXX functions when
44232 compiling C++ code.
44234 2011-10-14 Andreas Schwab <schwab@redhat.com>
44236 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44238 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44240 2011-10-13 Roland McGrath <roland@hack.frob.com>
44243 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44245 2011-10-13 Andreas Schwab <schwab@redhat.com>
44247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44248 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44251 * sysdeps/x86_64/memrchr.S: Check for zero size.
44253 * string/stratcliff.c: Add memrchr tests.
44255 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44258 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44259 rawmemchr-sse2 rawmemchr-sse2-bsf.
44260 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44261 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44262 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44263 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44264 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44265 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44266 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44267 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44268 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44269 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44270 * string/memrchr.c (MEMRCHR): New macro.
44272 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44274 Add integration with gcc's -ffinite-math-only and optimize wrapper
44276 * Versions.def: Define GLIBC_2.15 version for libm.
44277 * math/Makefile (headers): Add bits/math-finite.h.
44278 * math/bits/math-finite.h: New file.
44279 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44280 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44281 * math/e_acoshl.c: Add __*_finite alias.
44282 * math/e_acosl.c: Likewise.
44283 * math/e_asinl.c: Likewise.
44284 * math/e_atan2l.c: Likewise.
44285 * math/e_atanhl.c: Likewise.
44286 * math/e_coshl.c: Likewise.
44287 * math/e_exp10.c: Likewise.
44288 * math/e_exp10f.c: Likewise.
44289 * math/e_exp10l.c: Likewise.
44290 * math/e_exp2l.c: Likewise.
44291 * math/e_fmodl.c: Likewise.
44292 * math/e_gammal_r.c: Likewise.
44293 * math/e_hypotl.c: Likewise.
44294 * math/e_j0l.c: Likewise.
44295 * math/e_j1l.c: Likewise.
44296 * math/e_jnl.c: Likewise.
44297 * math/e_lgammal_r.c: Likewise.
44298 * math/e_log10l.c: Likewise.
44299 * math/e_log2l.c: Likewise.
44300 * math/e_logl.c: Likewise.
44301 * math/e_powl.c: Likewise.
44302 * math/e_sinhl.c: Likewise.
44303 * math/e_sqrtl.c: Likewise.
44304 * math/e_scalb.c: Completely rewritten and optimized.
44305 * math/e_scalbf.c: Likewise.
44306 * math/e_scalbl.c: Likewise.
44307 * math/w_acos.c: Likewise.
44308 * math/w_acosf.c: Likewise.
44309 * math/w_acosl.c: Likewise.
44310 * math/w_acosh.c: Likewise.
44311 * math/w_acoshf.c: Likewise.
44312 * math/w_acoshl.c: Likewise.
44313 * math/w_asin.c: Likewise.
44314 * math/w_asinf.c: Likewise.
44315 * math/w_asinl.c: Likewise.
44316 * math/w_atan2.c: Likewise.
44317 * math/w_atan2f.c: Likewise.
44318 * math/w_atan2l.c: Likewise.
44319 * math/w_atanh.c: Likewise.
44320 * math/w_atanhf.c: Likewise.
44321 * math/w_atanhl.c: Likewise.
44322 * math/w_exp10.c: Likewise.
44323 * math/w_exp10f.c: Likewise.
44324 * math/w_exp10l.c: Likewise.
44325 * math/w_fmod.c: Likewise.
44326 * math/w_fmodf.c: Likewise.
44327 * math/w_fmodl.c: Likewise.
44328 * math/w_j0.c: Likewise.
44329 * math/w_j0f.c: Likewise.
44330 * math/w_j0l.c: Likewise.
44331 * math/w_j1.c: Likewise.
44332 * math/w_j1f.c: Likewise.
44333 * math/w_j1l.c: Likewise.
44334 * math/w_jn.c: Likewise.
44335 * math/w_jnf.c: Likewise.
44336 * math/w_log.c: Likewise.
44337 * math/w_logf.c: Likewise.
44338 * math/w_logl.c: Likewise.
44339 * math/w_log10.c: Likewise.
44340 * math/w_log10f.c: Likewise.
44341 * math/w_log10l.c: Likewise.
44342 * math/w_log2.c: Likewise.
44343 * math/w_log2f.c: Likewise.
44344 * math/w_log2l.c: Likewise.
44345 * math/w_pow.c: Likewise.
44346 * math/w_powf.c: Likewise.
44347 * math/w_powl.c: Likewise.
44348 * math/w_remainder.c: Likewise.
44349 * math/w_remainderf.c: Likewise.
44350 * math/w_remainderl.c: Likewise.
44351 * math/w_scalb.c: Likewise.
44352 * math/w_scalbf.c: Likewise.
44353 * math/w_scalbl.c: Likewise.
44354 * math/w_sqrt.c: Likewise.
44355 * math/w_sqrtf.c: Likewise.
44356 * math/w_sqrtl.c: Likewise.
44357 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44358 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44360 * math/math_private.h: Declare __kernel_standard_f.
44361 * math/w_cosh.c: Remove cruft and optimize a bit.
44362 * math/w_coshf.c: Likewise.
44363 * math/w_coshl.c: Likewise.
44364 * math/w_exp2.c: Likewise.
44365 * math/w_exp2f.c: Likewise.
44366 * math/w_exp2l.c: Likewise.
44367 * math/w_hypot.c: Likewise.
44368 * math/w_hypotf.c: Likewise.
44369 * math/w_hypotl.c: Likewise.
44370 * math/w_lgamma.c: Likewise.
44371 * math/w_lgamma_r.c: Likewise.
44372 * math/w_lgammaf.c: Likewise.
44373 * math/w_lgammaf_r.c: Likewise.
44374 * math/w_lgammal.c: Likewise.
44375 * math/w_lgammal_r.c: Likewise.
44376 * math/w_sinh.c: Likewise.
44377 * math/w_sinhf.c: Likewise.
44378 * math/w_sinhl.c: Likewise.
44379 * math/w_tgamma.c: Likewise.
44380 * math/w_tgammaf.c: Likewise.
44381 * math/w_tgammal.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44384 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44385 Minor optimizations. Pretty printing. Remove cruft.
44386 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44387 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44390 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44391 * sysdeps/i386/fpu/e_asin.S: Likewise.
44392 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44393 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44394 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44395 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44399 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44400 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44401 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44402 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44403 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44404 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44405 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44406 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44407 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44408 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44409 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44410 * sysdeps/i386/fpu/e_log.S: Likewise.
44411 * sysdeps/i386/fpu/e_log10.S: Likewise.
44412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44414 * sysdeps/i386/fpu/e_log2.S: Likewise.
44415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44417 * sysdeps/i386/fpu/e_logf.S: Likewise.
44418 * sysdeps/i386/fpu/e_logl.S: Likewise.
44419 * sysdeps/i386/fpu/e_pow.S: Likewise.
44420 * sysdeps/i386/fpu/e_powf.S: Likewise.
44421 * sysdeps/i386/fpu/e_powl.S: Likewise.
44422 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44423 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44424 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44428 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44429 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44430 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44438 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44452 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44453 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44454 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44455 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44456 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44458 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44470 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44472 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44511 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44522 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44523 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44524 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44525 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44527 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44528 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44529 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44530 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44531 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44532 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44533 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44534 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44539 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44541 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44542 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44543 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44544 (__isnanf): Likewise.
44545 (__isinf_ns): Likewise.
44546 (__isinf_nsf): Likewise.
44547 (__finite): Likewise.
44548 (__finitef): Likewise.
44549 (__ieee754_sqrt): Define as macro.
44550 (__ieee754_sqrtf): Define as macro.
44551 (__ieee754_sqrtl): Define as macro.
44552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44554 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44555 __FINITE_MATH_ONLY__ consistent.
44556 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44558 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44560 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44565 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44567 * po/ja.po: Update from translation team.
44569 2011-10-08 Roland McGrath <roland@hack.frob.com>
44571 * locale/programs/locarchive.c (prepare_address_space): New function.
44572 (create_archive, enlarge_archive, open_archive): Use it.
44574 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44575 inside [SHARED], where it is used.
44577 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44579 * nss/getent.c (netgroup_keys): Remove unused variable.
44580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44582 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44584 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44587 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44588 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44589 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44590 * math/Makefile (libm-calls): Add s_isinf_ns.
44591 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44592 * math/multc3.c: Likewise.
44593 * math/s_casin.c: Likewise.
44594 * math/s_casinf.c: Likewise.
44595 * math/s_casinl.c: Likewise.
44596 * math/s_ccos.c: Likewise.
44597 * math/s_ccosf.c: Likewise.
44598 * math/s_ccosl.c: Likewise.
44599 * math/s_ctan.c: Likewise.
44600 * math/s_ctanf.c: Likewise.
44601 * math/s_ctanh.c: Likewise.
44602 * math/s_ctanhf.c: Likewise.
44603 * math/s_ctanhl.c: Likewise.
44604 * math/s_ctanl.c: Likewise.
44605 * math/w_fmod.c: Likewise.
44606 * math/w_fmodf.c: Likewise.
44607 * math/w_fmodl.c: Likewise.
44608 * math/w_remainder.c: Likewise.
44609 * math/w_remainderf.c: Likewise.
44610 * math/w_remainderl.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44612 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44615 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44616 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44617 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44618 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44620 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44622 * stdio-common/printf_fphex.c: Likewise.
44623 * stdio-common/printf_size.c: Likewise.
44625 * math/e_exp10.c: Include math_private.h using <...> not "...".
44626 * math/e_exp10f.c: Likewise.
44627 * math/e_exp10l.c: Likewise.
44628 * math/e_exp2l.c: Likewise.
44629 * math/e_j0l.c: Likewise.
44630 * math/e_j1l.c: Likewise.
44631 * math/e_jnl.c: Likewise.
44632 * math/e_lgammal_r.c: Likewise.
44633 * math/e_rem_pio2l.c: Likewise.
44634 * math/e_scalb.c: Likewise.
44635 * math/e_scalbf.c: Likewise.
44636 * math/e_scalbl.c: Likewise.
44637 * math/k_cosl.c: Likewise.
44638 * math/k_sinl.c: Likewise.
44639 * math/k_tanl.c: Likewise.
44640 * math/s_cacoshf.c: Likewise.
44641 * math/s_catan.c: Likewise.
44642 * math/s_catanf.c: Likewise.
44643 * math/s_catanh.c: Likewise.
44644 * math/s_catanhf.c: Likewise.
44645 * math/s_catanhl.c: Likewise.
44646 * math/s_catanl.c: Likewise.
44647 * math/s_ccosh.c: Likewise.
44648 * math/s_ccoshf.c: Likewise.
44649 * math/s_ccoshl.c: Likewise.
44650 * math/s_cexp.c: Likewise.
44651 * math/s_cexpf.c: Likewise.
44652 * math/s_cexpl.c: Likewise.
44653 * math/s_clog.c: Likewise.
44654 * math/s_clog10.c: Likewise.
44655 * math/s_clog10f.c: Likewise.
44656 * math/s_clog10l.c: Likewise.
44657 * math/s_clogf.c: Likewise.
44658 * math/s_clogl.c: Likewise.
44659 * math/s_csin.c: Likewise.
44660 * math/s_csinf.c: Likewise.
44661 * math/s_csinh.c: Likewise.
44662 * math/s_csinhf.c: Likewise.
44663 * math/s_csinhl.c: Likewise.
44664 * math/s_csinl.c: Likewise.
44665 * math/s_csqrt.c: Likewise.
44666 * math/s_csqrtf.c: Likewise.
44667 * math/s_csqrtl.c: Likewise.
44668 * math/s_ctan.c: Likewise.
44669 * math/s_ctanf.c: Likewise.
44670 * math/s_ctanh.c: Likewise.
44671 * math/s_ctanhf.c: Likewise.
44672 * math/s_ctanhl.c: Likewise.
44673 * math/s_ctanl.c: Likewise.
44674 * math/s_ldexp.c: Likewise.
44675 * math/s_ldexpf.c: Likewise.
44676 * math/s_ldexpl.c: Likewise.
44677 * math/s_significand.c: Likewise.
44678 * math/s_significandf.c: Likewise.
44679 * math/s_significandl.c: Likewise.
44680 * math/w_acos.c: Likewise.
44681 * math/w_acosf.c: Likewise.
44682 * math/w_acosh.c: Likewise.
44683 * math/w_acoshf.c: Likewise.
44684 * math/w_acoshl.c: Likewise.
44685 * math/w_acosl.c: Likewise.
44686 * math/w_asin.c: Likewise.
44687 * math/w_asinf.c: Likewise.
44688 * math/w_asinl.c: Likewise.
44689 * math/w_atan2.c: Likewise.
44690 * math/w_atan2f.c: Likewise.
44691 * math/w_atan2l.c: Likewise.
44692 * math/w_atanh.c: Likewise.
44693 * math/w_atanhf.c: Likewise.
44694 * math/w_atanhl.c: Likewise.
44695 * math/w_cosh.c: Likewise.
44696 * math/w_coshf.c: Likewise.
44697 * math/w_coshl.c: Likewise.
44698 * math/w_dremf.c: Likewise.
44699 * math/w_exp10.c: Likewise.
44700 * math/w_exp10f.c: Likewise.
44701 * math/w_exp10l.c: Likewise.
44702 * math/w_exp2.c: Likewise.
44703 * math/w_exp2f.c: Likewise.
44704 * math/w_fmod.c: Likewise.
44705 * math/w_fmodf.c: Likewise.
44706 * math/w_fmodl.c: Likewise.
44707 * math/w_hypot.c: Likewise.
44708 * math/w_hypotf.c: Likewise.
44709 * math/w_hypotl.c: Likewise.
44710 * math/w_j0.c: Likewise.
44711 * math/w_j0f.c: Likewise.
44712 * math/w_j0l.c: Likewise.
44713 * math/w_j1.c: Likewise.
44714 * math/w_j1f.c: Likewise.
44715 * math/w_j1l.c: Likewise.
44716 * math/w_jn.c: Likewise.
44717 * math/w_jnf.c: Likewise.
44718 * math/w_jnl.c: Likewise.
44719 * math/w_lgamma.c: Likewise.
44720 * math/w_lgamma_r.c: Likewise.
44721 * math/w_lgammaf.c: Likewise.
44722 * math/w_lgammaf_r.c: Likewise.
44723 * math/w_lgammal.c: Likewise.
44724 * math/w_lgammal_r.c: Likewise.
44725 * math/w_log.c: Likewise.
44726 * math/w_log10.c: Likewise.
44727 * math/w_log10f.c: Likewise.
44728 * math/w_log10l.c: Likewise.
44729 * math/w_log2.c: Likewise.
44730 * math/w_log2f.c: Likewise.
44731 * math/w_log2l.c: Likewise.
44732 * math/w_logf.c: Likewise.
44733 * math/w_logl.c: Likewise.
44734 * math/w_pow.c: Likewise.
44735 * math/w_powf.c: Likewise.
44736 * math/w_powl.c: Likewise.
44737 * math/w_remainder.c: Likewise.
44738 * math/w_remainderf.c: Likewise.
44739 * math/w_remainderl.c: Likewise.
44740 * math/w_scalb.c: Likewise.
44741 * math/w_scalbf.c: Likewise.
44742 * math/w_scalbl.c: Likewise.
44743 * math/w_sinh.c: Likewise.
44744 * math/w_sinhf.c: Likewise.
44745 * math/w_sinhl.c: Likewise.
44746 * math/w_sqrt.c: Likewise.
44747 * math/w_sqrtf.c: Likewise.
44748 * math/w_sqrtl.c: Likewise.
44749 * math/w_tgamma.c: Likewise.
44750 * math/w_tgammaf.c: Likewise.
44751 * math/w_tgammal.c: Likewise.
44753 * po/ja.po: Update from translation team.
44755 2011-09-29 Andreas Jaeger <aj@suse.de>
44758 * sunrpc/netname.c (netname2host): Fix logic.
44762 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44764 * math/w_remainder.c (__remainder): Likewise.
44765 * math/w_remainderf.c (__remainderf): Likewise.
44766 * math/libm-test.inc (remainder_test): Add test cases.
44768 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44770 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44773 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44775 * string/test-memcmp.c: Avoid unncessary #defines.
44776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44778 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44780 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44781 Use new sse2 version for core i3 - i7 as it's faster
44782 than sse42 version.
44783 (bit_Prefer_PMINUB_for_stringop): New.
44784 * sysdeps/x86_64/rawmemchr.S: Update.
44785 Replace with faster SSE2 version.
44786 * sysdeps/x86_64/memrchr.S: New file.
44787 * sysdeps/x86_64/memchr.S: Update.
44788 Replace with faster SSE2 version.
44790 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44792 * elf/dl-load.c (lose): Add cast to avoid warning.
44794 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44796 * po/ca.po: Update from translation team.
44798 * inet/getnetgrent_r.c: Hook up nscd.
44799 * nscd/Makefile (routines): Add nscd_netgroup.
44800 (nscd-modules): Add netgroupcache.
44801 (CFLAGS-netgroupcache.c): Define.
44802 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44803 (cache_search): Add const to second parameter.
44804 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44806 (dbs): Add netgrdb entry.
44807 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44808 (verify_persistent_db): Handle netgrdb.
44809 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44810 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44812 (netgroup_response_header): Define.
44813 (innetgroup_response_header): Define.
44814 (datahead): Add netgroup_response_header and innetgroup_response_header
44816 * nscd/nscd.conf: Add entries for netgroup cache.
44817 * nscd/nscd.h (dbtype): Add netgrdb.
44818 (_PATH_NSCD_NETGROUP_DB): Define.
44819 (netgroup_iov_disabled): Declare.
44820 (xmalloc, xcalloc, xrealloc): Move declarations here.
44821 (cache_search): Adjust prototype.
44822 Add netgroup-related prototypes.
44823 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44824 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44825 (__nscd_innetgr): Declare.
44826 * nscd/selinux.c (perms): Use access_vector_t as element type and
44827 add netgroup-related initializers.
44828 * nscd/netgroupcache.c: New file.
44829 * nscd/nscd_netgroup.c: New file.
44830 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44831 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44832 For four parameters use innetgr.
44833 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44834 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44835 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44836 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44838 * nscd/connections.c (register_traced_file): Don't register file
44839 for disabled databases.
44841 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44843 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44845 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44846 from tree and freeing node.
44848 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44850 * nss/nsswitch.c (__nss_database_lookup): Handle
44851 nss_parse_service_list out of memory case.
44853 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44855 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44856 out of memory case.
44858 2011-10-04 Andreas Schwab <schwab@redhat.com>
44860 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44861 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44863 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44864 elf_machine_rela, elf_machine_lazy_rel.
44865 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44866 (ELF_DYNAMIC_DO_REL): Likewise.
44867 (ELF_DYNAMIC_DO_RELA): Likewise.
44868 (ELF_DYNAMIC_RELOCATE): Likewise.
44869 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44870 to ELF_DYNAMIC_DO_REL.
44871 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44872 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44873 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44876 skip_ifunc, don't call ifunc function if non-zero.
44877 (elf_machine_rela): Likewise.
44878 (elf_machine_lazy_rel): Likewise.
44879 (elf_machine_lazy_rela): Likewise.
44880 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44881 (elf_machine_lazy_rel): Likewise.
44882 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44884 (elf_machine_lazy_rel): Likewise.
44885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44887 (elf_machine_lazy_rel): Likewise.
44888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44889 (elf_machine_lazy_rel): Likewise.
44890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44891 (elf_machine_lazy_rel): Likewise.
44892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44893 (elf_machine_lazy_rel): Likewise.
44894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44895 (elf_machine_lazy_rel): Likewise.
44896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44897 (elf_machine_lazy_rel): Likewise.
44898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44899 (elf_machine_lazy_rel): Likewise.
44901 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44903 * nss/nss_files/files-init.c (_nss_files_init): Use static
44904 initialization for all the *_traced_file variables.
44906 2011-09-28 Andreas Schwab <schwab@redhat.com>
44908 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44910 2011-09-27 Roland McGrath <roland@hack.frob.com>
44913 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44915 2011-09-27 Andreas Schwab <schwab@redhat.com>
44917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44918 Reread the line before reparsing it.
44920 2011-09-26 Andreas Schwab <schwab@redhat.com>
44922 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44924 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44925 Maxim Kuvyrkov <maxim@codesourcery.com>
44926 Joseph Myers <joseph@codesourcery.com>
44928 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44929 if needed for __stack_chk_guard.
44931 2011-09-19 Roland McGrath <roland@hack.frob.com>
44933 * sysdeps/posix/spawni.c (script_execute): Always define it.
44934 It will be optimized away if unused.
44935 (maybe_script_execute): New function.
44936 (__spawni): Call it.
44938 * Makerules: Don't include tls.make.
44939 (config-tls): Always set to thread.
44940 * tls.make.c: File removed.
44942 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44944 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44945 * config.make.in (CPPFLAGS-config): New substituted variable.
44947 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44952 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44953 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44955 2011-09-15 Roland McGrath <roland@hack.frob.com>
44957 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44958 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44960 (CALL_FAIL): Likewise.
44961 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44962 (CALL_FAIL): Macro removed.
44963 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44965 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44967 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44968 for __FINITE_MATH_ONLY__ == 1.
44970 2011-09-15 Andreas Schwab <schwab@redhat.com>
44972 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44973 __ieee754_sqrt instead of sqrt.
44974 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44975 __ieee754_sqrtf instead of sqrtf.
44976 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44977 __floorf instead of floorf.
44978 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44979 __floorf, __truncf instead of floorf, truncf.
44981 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44983 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44985 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44986 __extern_always_inline.
44987 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44990 2011-09-14 Andreas Schwab <schwab@redhat.com>
44992 * elf/rtld.c (dl_main): Also relocate in dependency order when
44993 doing symbol dependency testing.
44995 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44998 Always define `refsym'.
45000 2011-09-13 Andreas Schwab <schwab@redhat.com>
45002 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45003 (__FD_ELT): Renamed from __FDELT.
45004 * misc/bits/select2.h (__FD_ELT): Likewise.
45005 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45006 __FD_MASK instead of __FDELT, __FDMASK.
45007 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45009 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45012 * elf/Makefile (gen-ldd): Fix pattern.
45014 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45015 (init_tls): Likewise.
45017 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45021 2011-09-12 Andreas Schwab <schwab@redhat.com>
45023 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45024 `struct cmsghdr *' instead of `void *'.
45025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45028 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45030 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45032 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45033 ldd_rewrite_script.
45035 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45037 * configure.in: Remove --with-tls option.
45038 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45039 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45040 out in case it is missing.
45041 * sysdeps/ia64/elf/configure.in: Likewise.
45042 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45043 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45044 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45045 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45046 * sysdeps/sh/elf/configure.in: Likewise.
45047 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45049 * sysdeps/x86_64/elf/configure.in: Likewise.
45050 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45051 * sysdeps/mach/hurd/tls.h: Likewise.
45054 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45057 * configure.in: Fix use of AC_INIT.
45059 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45061 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45063 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45065 * malloc/hooks.c: Likewise.
45068 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45069 variables statically.
45070 (narenas): Initialize.
45071 (list_lock): Initialize.
45072 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45073 initializtion of main_arena and list_lock. Small cleanups.
45074 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45075 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45076 Add initializers to main_arena and mp_.
45077 (malloc_state): Remove pagesize member. Change all users to use
45080 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45081 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45082 is always initialized.
45084 * malloc/malloc.c: Removed unused configurations and dead code.
45085 * malloc/arena.c: Likewise.
45086 * malloc/hooks.c: Likewise.
45087 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45089 * include/tls.h: Removed. USE___THREAD must always be defined.
45090 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45091 * elf/dl-libc.c: Likewise.
45092 * elf/dl-tsd.c: Likewise.
45093 * include/errno.h: Likewise.
45094 * include/netdb.h: Likewise.
45095 * include/resolv.h: Likewise.
45096 * inet/herrno-loc.c: Likewise.
45097 * inet/herrno.c: Likewise.
45098 * malloc/arena.c: Likewise.
45099 * malloc/hooks.c: Likewise.
45100 * malloc/malloc.c: Likewise.
45101 * resolv/res-state.c: Likewise.
45102 * resolv/res_libc.c: Likewise.
45103 * sysdeps/i386/dl-machine.h: Likewise.
45104 * sysdeps/ia64/dl-machine.h: Likewise.
45105 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45107 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45108 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45109 * sysdeps/sh/dl-machine.h: Likewise.
45110 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45112 * sysdeps/unix/i386/sysdep.S: Likewise.
45113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45115 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45119 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45124 * sysdeps/x86_64/dl-machine.h: Likewise.
45125 * tls.make.c: Likewise.
45127 * configure.in: Remove --with-__thread option. Make tests for
45128 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45129 tls_model attribute fail if no support is available. Remove
45131 * Makeconfig: Adjust for dropped configure option. All features are
45133 * Makerules: Likewise.
45134 * Versions.def: Likewise.
45135 * argp/argp-fmtstream.c: Likewise.
45136 * argp/argp-fmtstream.h: Likewise.
45137 * argp/argp-help.c: Likewise.
45138 * assert/assert.c: Likewise.
45139 * config.h.in: Likewise.
45140 * config.make.in: Likewise.
45141 * configure: Likewise.
45142 * configure.in: Likewise.
45143 * csu/Versions: Likewise.
45144 * csu/init.c: Likewise.
45145 * elf/tst-audit2.c: Likewise.
45146 * elf/tst-tls10.c: Likewise.
45147 * elf/tst-tls10.h: Likewise.
45148 * elf/tst-tls11.c: Likewise.
45149 * elf/tst-tls12.c: Likewise.
45150 * elf/tst-tls14.c: Likewise.
45151 * elf/tst-tlsmod11.c: Likewise.
45152 * elf/tst-tlsmod12.c: Likewise.
45153 * elf/tst-tlsmod13.c: Likewise.
45154 * elf/tst-tlsmod13a.c: Likewise.
45155 * elf/tst-tlsmod14a.c: Likewise.
45156 * elf/tst-tlsmod15b.c: Likewise.
45157 * elf/tst-tlsmod16a.c: Likewise.
45158 * elf/tst-tlsmod16b.c: Likewise.
45159 * elf/tst-tlsmod7.c: Likewise.
45160 * elf/tst-tlsmod8.c: Likewise.
45161 * elf/tst-tlsmod9.c: Likewise.
45162 * gmon/gmon.c: Likewise.
45163 * grp/fgetgrent_r.c: Likewise.
45164 * grp/putgrent.c: Likewise.
45165 * hurd/fopenport.c: Likewise.
45166 * include/libc-symbols.h: Likewise.
45167 * include/tls.h: Likewise.
45168 * intl/gettextP.h: Likewise.
45169 * intl/loadinfo.h: Likewise.
45170 * locale/global-locale.c: Likewise.
45171 * locale/localeinfo.h: Likewise.
45172 * mach/devstream.c: Likewise.
45173 * malloc/arena.c: Likewise.
45174 * malloc/set-freeres.c: Likewise.
45175 * misc/err.c: Likewise.
45176 * misc/getttyent.c: Likewise.
45177 * misc/mntent_r.c: Likewise.
45178 * posix/getopt.c: Likewise.
45179 * posix/wordexp.c: Likewise.
45180 * pwd/fgetpwent_r.c: Likewise.
45181 * resolv/Versions: Likewise.
45182 * resolv/res_hconf.c: Likewise.
45183 * shadow/fgetspent_r.c: Likewise.
45184 * shadow/putspent.c: Likewise.
45185 * stdio-common/printf_fphex.c: Likewise.
45186 * stdio-common/tmpfile.c: Likewise.
45187 * stdlib/abort.c: Likewise.
45188 * stdlib/fmtmsg.c: Likewise.
45189 * sunrpc/auth_unix.c: Likewise.
45190 * sunrpc/clnt_perr.c: Likewise.
45191 * sunrpc/clnt_tcp.c: Likewise.
45192 * sunrpc/clnt_udp.c: Likewise.
45193 * sunrpc/clnt_unix.c: Likewise.
45194 * sunrpc/openchild.c: Likewise.
45195 * sunrpc/svc_simple.c: Likewise.
45196 * sunrpc/svc_tcp.c: Likewise.
45197 * sunrpc/svc_udp.c: Likewise.
45198 * sunrpc/svc_unix.c: Likewise.
45199 * sunrpc/xdr.c: Likewise.
45200 * sunrpc/xdr_array.c: Likewise.
45201 * sunrpc/xdr_rec.c: Likewise.
45202 * sunrpc/xdr_ref.c: Likewise.
45203 * sunrpc/xdr_stdio.c: Likewise.
45205 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45207 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45209 2011-07-03 Andreas Jaeger <aj@suse.de>
45211 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45212 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45213 regenerate with gen-libm-tests.pl.
45215 2010-05-12 Petr Baudis <pasky@suse.cz>
45218 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45219 around j0() zero points by switching to j1().
45220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45225 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45232 Patch in part by Pavel Roskin <proski@gnu.org>.
45235 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45237 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45238 Free memory block if necessary.
45241 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45242 be NULL. Don't lock in this case.
45244 2011-09-09 Roland McGrath <roland@hack.frob.com>
45246 * elf/elf.h (ELFOSABI_GNU): New macro.
45247 (ELFOSABI_LINUX): Define to that.
45249 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45251 * string/strncat.c (strncat): Undef the symbol in case it has been
45252 defined in bits/string.h.
45254 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45256 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45258 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45261 2011-08-17 Andreas Jaeger <aj@suse.de>
45263 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45265 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45266 Ian Lance Taylor <iant@google.com>
45268 * math/libm-test.inc (lround_test): New testcase.
45269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45271 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45273 * Makefile: Remove support for automatic cvs check-ins.
45274 * Makerules: Likewise.
45275 * config.make.in: Likewise.
45276 * configure.in: Likewise.
45277 * intl/Makefile: Likewise.
45278 * locale/Makefile: Likewise.
45279 * po/Makefile: Likewise.
45280 * posix/Makefile: Likewise.
45281 * sysdeps/gnu/Makefile: Likewise.
45282 * sysdeps/mach/hurd/Makefile: Likewise.
45283 * sysdeps/sparc/sparc32/Makefile: Likewise.
45286 * posix/Makefile (bug-regex32-ENV): Define.
45287 Patch by John Stanley <jpsinthemix@verizon.net>.
45289 * misc/Makefile (headers): Add bits/select2.h.
45290 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45291 * misc/bits/select2.h: New file.
45292 * include/bits/select2.h: New file.
45293 * debug/Makefile (routines): Add fdelt_chk.
45294 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45295 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45297 * debug/fdelt_chk.c: New file.
45299 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45300 * wcsmbs/test-wmemcmp.c: Likewise.
45301 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45302 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45304 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45306 * string/Makefile (strop-tests): Add memcmp.
45307 * string/test-wmemcmp.c: New file.
45308 * string/test-memcmp.c: Add wmemcmp support.
45310 2011-09-08 Roland McGrath <roland@hack.frob.com>
45313 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45316 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45317 garbage value in a __mach_port_mod_refs call in the cases of the
45318 task-self and thread-self ports.
45320 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45322 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45324 2011-09-08 Andreas Schwab <schwab@redhat.com>
45326 * elf/dl-load.c (lose): Check for non-null L.
45328 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45330 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45332 * elf/dl-libc.c (dlerror_run): Pass back error code from
45336 * elf/dl-load.c (lose): Free l_origin if it is valid.
45338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45344 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45345 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45347 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45349 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45350 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45353 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45354 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45355 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45356 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45357 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45358 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45360 2011-08-15 Alan Modra <amodra@gmail.com>
45363 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45364 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45365 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45366 ppc_mcount to static-only-routines.
45367 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45369 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45370 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45372 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45375 for finite and infinity parameters.
45377 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45380 and add nop instructions for throughput optimization.
45381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45383 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45386 aligned copy for power7 with vector-scalar instructions.
45387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45389 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45394 2011-09-07 Andreas Schwab <schwab@redhat.com>
45397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45400 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45403 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45404 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45405 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45408 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45411 Forgot to demangle the pointer.
45413 * sysdeps/i386/sysdep.h: Define atom_text_section.
45414 * sysdeps/x86_64/sysdep.h: Likewise.
45415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45416 section with atom_text_section.
45417 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45425 already be defined. Change to take two parameters and don't assign
45426 result to variable. Adjust all users.
45427 Define INTERNAL_GETTIME if not already defined.
45428 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45431 HAVE_CLOCK_GETTIME_VSYSCALL.
45432 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45435 gettimeofday vsyscall, just use time.
45437 2011-09-06 Andreas Schwab <schwab@redhat.com>
45439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45442 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45444 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45448 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45450 syscall if possible.
45452 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45454 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45455 e_ident. Don't pass to find_mapsXX.
45456 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45458 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45461 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45462 * sysdeps/x86_64/multiarch/strchr.S: Update.
45463 Check bit_slow_BSF bit.
45464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45471 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45473 (tryshell): Define.
45474 (__spawni): Change last parameter to be flag. Test
45475 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45476 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45477 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45478 * posix/spawni.c: Likewise.
45479 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45480 * posix/spawnp.c: Likewise. Change normal version to use
45481 SPAWN_XFLAGS_USE_PATH.
45482 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45483 SPAWN_XFLAGS_TRY_SHELL.
45486 * posix/glob.h: Remove gcc 1.x support.
45489 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45491 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45494 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45496 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45497 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45498 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45500 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45503 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45505 * sysdeps/x86_64/wcscmp.S: New file.
45507 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45508 wcscmp-c wcscmp-sse2
45509 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45510 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45512 * wcsmbs/wcscmp.c: Allow renaming.
45514 2011-09-05 David S. Miller <davem@davemloft.net>
45516 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45517 stack slot, rather than the struct return pointer slot.
45518 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45521 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45523 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45525 * po/ja.po: Update from translation team.
45528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45529 kernel in 64-bit binaries.
45531 2011-09-01 David S. Miller <davem@davemloft.net>
45533 * elf/elf.h (HWCAP_SPARC_*): Move to..
45534 * sysdeps/sparc/sysdep.h: this new file and add new values.
45535 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45536 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45537 _DL_HWCAP_COUNT to 24.
45538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45540 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45541 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45542 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45544 instead of magic constants.
45545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45547 2011-08-31 David S. Miller <davem@davemloft.net>
45549 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45551 Reimplement to do errno handling inline.
45552 (SYSCALL_ERROR_HANDLER): New macro.
45553 (__SYSCALL_STRING): Do not do errno handling in asm.
45554 (__CLONE_SYSCALL_STRING): Delete.
45555 (__INTERNAL_SYSCALL_STRING): Delete.
45556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45557 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45558 (PSEUDO): Reimplement to do errno handling inline.
45559 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45560 (SYSCALL_ERROR_HANDLER): New macro.
45561 (__SYSCALL_STRING): Do not do errno handling in asm.
45562 (__CLONE_SYSCALL_STRING): Delete.
45563 (__INTERNAL_SYSCALL_STRING): Delete.
45564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45565 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45567 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45568 (inline_syscall*): Add 'err' argument.
45569 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45570 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45571 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45572 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45574 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45577 2011-08-30 Andreas Schwab <schwab@redhat.com>
45579 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45581 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45583 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45586 2011-08-24 David S. Miller <davem@davemloft.net>
45588 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45590 2011-08-24 Andreas Schwab <schwab@redhat.com>
45592 * elf/Makefile: Add rules to build and run unload8 test.
45593 * elf/unload8.c: New file.
45594 * elf/unload8mod1.c: New file.
45595 * elf/unload8mod1x.c: New file.
45596 * elf/unload8mod2.c: New file.
45597 * elf/unload8mod3.c: New file.
45599 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45602 2011-08-23 David S. Miller <davem@davemloft.net>
45604 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45605 subtract stack bias.
45606 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45607 %sp not %fp in calculations.
45608 (_JMPBUF_UNWINDS_ADJ): Likewise.
45610 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45611 (aio_suspend): Call it to force an exception region around the
45612 AIO_MISC_WAIT() invocation.
45614 2011-08-23 Andreas Schwab <schwab@redhat.com>
45616 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45619 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45621 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45623 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45624 and <dl-machine.h>.
45625 (Elf64_FuncDesc): Remove.
45627 2011-08-22 David S. Miller <davem@davemloft.net>
45629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45630 sigaltstack check, add missing cfi directives.
45631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45632 missing cfi directives, and sigaltstack handling.
45634 2011-08-16 Andreas Schwab <schwab@redhat.com>
45637 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45638 object is seen twice.
45639 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45641 * elf/Makefile (distribute): Add tst-initorder2.c.
45642 (tests): Add tst-initorder2.
45643 (modules-names): Add tst-initorder2a tst-initorder2b
45644 tst-initorder2c tst-initorder2d. Add rules to build them.
45645 ($(objpfx)tst-initorder2.out): New rule.
45646 * elf/tst-initorder2.c: New file.
45647 * elf/tst-initorder2.exp: New file.
45649 2011-08-22 Andreas Schwab <schwab@redhat.com>
45651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45653 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45654 dependencies back to end of function.
45656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45657 $(elfobjdir)/ld.so.
45659 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45662 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45664 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45665 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45666 of __vdso_gettimeofday.
45667 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45668 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45670 (_libc_vdso_platform_setup): Remove initialization of
45671 __vdso_gettimeofday and __vdso_time.
45673 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45675 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45676 and fgetc_unlocked.
45677 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45680 * elf/dl-open.c (add_to_global): Report additions to the global scope
45681 for LD_DEBUG=scopes.
45682 (dl_open_worker): Also print scope of newly loaded dependencies.
45683 (_dl_show_scope): Indicate if there is no scope.
45686 * stdio-common/Makefile (tests): Add bug24.
45687 * stdio-common/bug24.c: New file.
45689 2011-08-19 Andreas Jaeger <aj@suse.de>
45692 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45693 non-existant file when using close-on-exec mode.
45695 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45698 the very first instruction.
45700 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45701 the CFI state in the end.
45702 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45703 inclusion of dl-trampoline.h.
45704 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45706 2011-08-19 Andreas Schwab <schwab@redhat.com>
45708 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45709 expectations for long double.
45711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45712 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45714 2011-08-14 David S. Miller <davem@davemloft.net>
45716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45717 artificual limit depends upon the system page size.
45719 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45721 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45722 * resolv/Makefile: Define CFLAGS-libresolv.
45724 2011-08-17 Andreas Schwab <schwab@redhat.com>
45726 * nss/makedb.c (compute_tables): Make variables used in nested
45729 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45731 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45732 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45733 if buffer was too small.
45735 * elf/pldd.c (main): Attach to all threads in the process.
45736 Rewrite /proc handling to use *at functions.
45738 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45740 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45741 specifies first scope to show.
45742 (dl_open_worker): Update callers. Move printing scope of new
45743 object to before the relocation.
45744 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45745 * sysdeps/generic/ldsodefs.h: Update declaration.
45747 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45748 string for the scope number.
45750 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45752 * nscd/servicescache.c (cache_addserv): Make sure written is always
45755 2011-08-14 Roland McGrath <roland@hack.frob.com>
45757 * sysdeps/i386/i486/bits/atomic.h
45758 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45759 statement expression, so as to suppress "set but not used" warning.
45760 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45762 * string/strncat.c (STRNCAT): Use prototype definition.
45764 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45765 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45767 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45768 (localedef-modules): Add localedef.
45769 (locale-modules): Add locale.
45771 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45772 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45773 to avoid a warning.
45775 2011-08-14 David S. Miller <davem@davemloft.net>
45777 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45778 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45780 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45782 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45783 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45784 * elf/rtld.c (dl_main): Set l_name of vDSO.
45785 Call _dl_show_scope when DL_DEBUG_SCOPES.
45786 (process_dl_debug): Recognize scopes flag and also set it for all.
45787 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45788 Declare _dl_show_scope.
45790 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45791 (do_dlopen): Pass caller_dlopen to dl_open.
45792 (__libc_dlopen_mode): Initialize caller_dlopen.
45794 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45795 of libc. Make tolower call locale-independent. Optimize a bit by
45796 using isdigit instead of isalnum.
45797 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45799 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45801 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45802 was a dependency or dynamically loaded.
45804 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45806 * intl/l10nflist.c: Allow architecture-specific pop function.
45807 * sysdeps/x86_64/l10nflist.c: New file.
45809 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45812 2011-08-10 Andreas Schwab <schwab@redhat.com>
45814 * include/dirent.h: Add libc_hidden_proto for scandirat and
45815 scandirat64. Don't declare __scandirat64.
45816 * dirent/scandirat.c: Add libc_hidden_def.
45817 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45818 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45820 2011-08-10 David S. Miller <davem@davemloft.net>
45822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45828 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45830 * Versions.def [libc]: Add GLIBC_2.15.
45831 * dirent/Makefile (routines): Add scandirat and scandirat64.
45832 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45834 * dirent/dirent.h: Declare scandirat and scandirat64.
45835 * dirent/scandirat.c: New file.
45836 * dirent/scandirat64.c: New file.
45837 * sysdeps/wordsize-64/scandirat.c: New file.
45838 * sysdeps/wordsize-64/scandirat64.c: New file.
45839 * dirent/opendir.c: Define opendirat.
45840 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45842 * dirent/scandir64.c: Adjust for scandir.c change.
45843 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45844 __scandirat64, and __scandir_cancel_handler.
45845 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45846 additional parameter and use openat instead of open (outside of ld.so).
45847 Add new __opendir as wrapper around __opendirat.
45848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45849 here without requiring old scandirat implementation.
45851 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45853 * dirent/scandir.c (cancel_handler): Renamed to
45854 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45855 defined. Adjust users.
45856 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45859 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45861 * string/test-string.h (IMPL): Use __STRING to expand name and then
45864 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45869 * string/Makefile: Update.
45870 (strop-tests): Append strncat.
45871 * string/test-wcscmp.c: New file.
45872 New comprehensive test for wcscmp.
45873 * string/test-strcmp.c: Update.
45874 (WIDE): New define.
45876 2011-07-22 Andreas Schwab <schwab@redhat.com>
45878 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45881 2011-07-26 Andreas Schwab <schwab@redhat.com>
45883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45884 encoding to ACE if AI_IDN.
45886 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45889 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45891 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45894 Fix overflow bug in strncat.
45895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45897 * string/test-strncat.c: Update.
45898 Add new tests for checking overflow bugs.
45900 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45903 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45904 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45905 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45907 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45908 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45909 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45910 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45913 (USE_AS_STRCAT): Define.
45914 Add strcat and strncat support.
45915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45917 2011-07-25 Andreas Schwab <schwab@redhat.com>
45919 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45920 __n bigger than INT_MAX+1.
45921 (__strncmp_g): Likewise.
45923 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45925 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45926 * libio/stido.h: Likewise.
45928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45933 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45940 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45945 (_dl_x86_64_save_sse): Likewise.
45947 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45951 (_dl_x86_64_save_sse): Likewise.
45953 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45955 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45957 2011-07-21 Andreas Schwab <schwab@redhat.com>
45959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45961 (_dl_x86_64_save_sse): Use correct AVX check.
45963 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45966 bug in strncpy/strncat.
45967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45969 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45971 * string/tester.c (test_strcat): Add tests for different alignments
45972 of source and destination.
45973 (test_strncat): Likewise.
45975 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45978 * posix/glob.c (glob): Check passed in values before using them in
45979 expressions to avoid some overflows.
45980 (glob_in_dir): Likewise.
45983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45984 check for AVX enablement so that we don't crash with old kernels and
45986 * elf/tst-audit4.c: Add same checks here.
45987 * elf/tst-audit6.c: Likewise.
45989 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45991 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45993 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45995 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45997 * po/cs.po: Update from translation team.
45998 * po/bg.po: Likewise.
46000 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46002 * misc/sys/cdefs.h: Add support for const attribute.
46003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46004 to gnu_dev_{major,minor,makedev} functions.
46006 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46008 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46010 2011-07-20 Andreas Schwab <schwab@redhat.com>
46012 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46015 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46018 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46019 register in order to avoid conflicts with the soft frame pointer
46020 being held in r11 when necessary.
46021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46022 (INTERNAL_VSYSCALL_NCS): Likewise.
46024 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46026 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46027 * elf/dl-fini.c (_dl_fini): Adjust caller.
46028 * elf/dl-close.c (_dl_close_worker): Likewise.
46029 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46031 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46033 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46034 "aux_cache->nlibs < 0".
46036 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46037 in the reload-count case.
46039 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46042 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46043 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46044 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46045 * sysdeps/x86_64/multiarch/strcat.S: New file.
46046 * sysdeps/x86_64/multiarch/strncat.S: New file.
46047 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46049 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46050 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46052 (USE_AS_STRCAT): Define.
46053 Add strcat and strncat support.
46054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46056 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46057 * string/strncat.c: Update.
46058 (USE_AS_STRNCAT): Define.
46059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46060 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46062 * sysdeps/x86_64/multiarch/init-arch.h
46063 (bit_Prefer_PMINUB_for_stringop): New.
46064 (index_Prefer_PMINUB_for_stringop): Likewise.
46065 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46066 bit_Prefer_PMINUB_for_stringop.
46068 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46070 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46072 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46073 of casting of buffer.
46074 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46075 buffer32 and buffer64.
46076 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46077 writes instead of casting of buffer.
46078 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46080 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46083 2011-07-19 Andreas Schwab <schwab@redhat.com>
46085 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46087 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46089 * nscd/nscd.c (termination_handler): Don't do anything for a database
46090 if it has not yet been initialized.
46092 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46094 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46096 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46098 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46100 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46102 * po/nl.po: Update from translation team.
46103 * po/sv.po: Likewise.
46105 2011-07-16 Roland McGrath <roland@hack.frob.com>
46107 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46108 now disallowed by GCC.
46110 * configure.in (use-default-link): Default to yes if a test -shared
46111 link meets our qualifications.
46112 * configure: Regenerated.
46114 * config.make.in (output-format): New variable.
46115 * configure.in: Check for ld --print-output-format support.
46116 * configure: Regenerated.
46117 * Makerules ($(common-objpfx)format.lds)
46118 [$(output-format) != unknown]: Just use $(output-format),
46119 instead of the linker-script munging.
46121 2011-07-14 Roland McGrath <roland@hack.frob.com>
46123 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46124 of $(common-objpfx)shlib.lds.
46125 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46127 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46128 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46130 * configure.in (-z relro check): Adjust test code to add a large
46131 writable data section after it.
46132 * configure: Regenerated.
46134 2011-07-11 Roland McGrath <roland@hack.frob.com>
46136 * configure.in (-z relro check): Fix test code to make the variable
46138 * configure: Regenerated.
46140 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46142 * nscd/nscd.h (struct traced_file): Define.
46143 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46144 elements. Add traced_files.
46145 (inotify_fd): Declare.
46146 (register_traced_file): Declare.
46147 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46148 (inotify_fd): Export.
46149 (resolv_conf_descr): Remove.
46150 (nscd_init): Move inotify descriptor creation to main.
46151 Don't register files for notification here.
46152 (register_traced_file): New function.
46153 (invalidate_cache): Don't use reset_res to determine whether to call
46154 res_init, go through the list of registered files.
46155 (main_loop_poll): The inotify descriptors are now stored in the
46156 structures for the traced files.
46157 (main_loop_epoll): Likewise
46158 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46159 to __nss_disable_nscd.
46160 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46161 for a database anymore. Check the records for all the registered
46163 * nss/Makefile (libnss_files-routines): Add files-init.
46164 (libnss_db-routines): Add db-init.
46165 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46166 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46167 * nss/nss_db/db-init.c: New file.
46168 * nss/nss_files/files-init.c: New file.
46169 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46170 __nss_lookup_function.
46171 (__nss_lookup_function): Call nss_load_library.
46172 (nss_load_all_libraries): New function.
46173 (__nss_disable_nscd): Take parameter with callback function for files
46174 to register. Set is_nscd. Load all the DSOs for the NSS modules
46175 used for the cached services.
46176 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46178 options for features to all the files in nscd.
46180 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46182 2011-07-10 Roland McGrath <roland@hack.frob.com>
46184 * csu/elf-init.c (__libc_csu_init): Comment typo.
46186 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46188 * po/pl.po: Update from translation team.
46189 * po/ja.po: Likewise.
46190 * po/ru.po: Likewise.
46191 * po/ko.po: Likewise.
46192 * po/fr.po: Likewise.
46194 2011-07-09 Roland McGrath <roland@hack.frob.com>
46196 * configure.in (.ctors/.dtors header and trailer check):
46197 Use an empirical test on a built program.
46198 * configure: Regenerated.
46200 * configure.in (-z relro check): Use an empirical test on a built DSO.
46201 Detect, but do not require, on ia64.
46202 * configure: Regenerated.
46204 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46205 Update tests that use readelf to use $READELF instead.
46206 * configure: Regenerated.
46208 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46210 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46211 if the result is not used.
46213 2011-07-05 Andreas Jaeger <aj@suse.de>
46216 * stdlib/tst-strtod.c: Add testcase.
46218 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46220 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46221 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46222 The latter has a higher limit. Take additional parameter to pass to
46224 (__pathconf): Pass file to __statfs_link_max.
46225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46227 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46231 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46235 (__statfs_filesize_max): Likewise.
46236 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46238 2011-07-05 Andreas Jaeger <aj@suse.de>
46240 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46242 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46244 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46249 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46251 * Makefile (strop-tests): Add strncat.
46252 * string/test-strncat.c: New file.
46254 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46256 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46258 2011-06-21 Andreas Jaeger <aj@suse.de>
46260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46261 Copy rule from iconvdata/Makefile.
46263 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46266 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46267 but no long options are defined, just return 'W'.
46269 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46272 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46274 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46276 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46278 (innetgr): Likewise.
46280 2011-07-05 Roland McGrath <roland@hack.frob.com>
46282 * config.make.in (install_root): Default to $(DESTDIR).
46284 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46288 2011-07-02 Roland McGrath <roland@hack.frob.com>
46290 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46292 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46293 containing directory rather than embedding absolute directory names.
46295 * scripts/check-local-headers.sh: Rewritten using awk.
46296 Match by word, not by line. Print error messages for matches.
46297 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46299 * Makerules [shlib-lds-flags empty]:
46300 ($(common-objpfx)libc_pic.opts): New target.
46301 ($(common-objpfx)libc_pic.os.clean): New target.
46302 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46304 * config.make.in (OBJCOPY): New variable.
46305 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46306 * configure: Regenerated.
46308 * config.make.in (use-default-link): New variable.
46309 * configure.in (use_default_link): Grok --with-default-link to set it.
46310 * configure: Regenerated.
46311 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46312 (shlib-lds, shlib-lds-flags): Define to empty.
46314 * Makerules (shlib-lds): New variable.
46315 (shlib-lds-flags): New variable.
46316 (build-shlib, build-moduile, build-module-asneeded): Use it.
46317 ($(common-objpfx)libc.so): Use $(shlib-lds).
46318 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46319 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46321 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46322 DT_FLAGS/DT_FLAGS_1 with zero flags.
46324 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46325 linker script munging.
46327 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46329 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46331 * crypt/sha512.c (sha512_process_block): Perform total addition using
46332 128-bit if possible.
46333 (__sha512_finish_ctx): Likewise.
46334 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46336 * crypt/sha256.c (SWAP64): Define.
46337 (sha256_process_block): Perform total addition using 64-bit if
46339 (__sha256_finish_ctx): Likewise.
46341 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46343 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46345 * nscd/hstcache.c (cache_addhst): Likewise.
46346 * nscd/grpcache.c (cache_addgr): Likewise.
46347 * nscd/aicache.c (addhstaiX): Likewise
46348 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46350 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46352 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46354 * nscd/hstcache.c (cache_addhst): Likewise.
46355 * nscd/grpcache.c (cache_addgr): Likewise.
46356 * nscd/aicache.c (addhstaiX): Likewise
46358 2011-07-01 Andreas Schwab <schwab@redhat.com>
46360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46361 domain only when needed.
46363 2011-06-30 Andreas Schwab <schwab@redhat.com>
46365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46366 is always restored.
46368 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46370 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46371 are re-adding the entry.
46372 * nscd/servicescache.c (cache_addserv): Likewise.
46374 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46376 * sysdeps/generic/dl-irel.h: fix protection against multiple
46378 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46380 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46383 * malloc/memusage.sh: Fix quoting in message.
46384 * debug/xtrace.sh: Likewise.
46386 * configure.in: Remove support for --experimental-malloc option, make
46388 * config.make.in: Likewise.
46389 * malloc/Makefile: Likewise.
46391 2011-06-27 Andreas Schwab <schwab@redhat.com>
46393 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46394 two-byte characters.
46396 2011-06-27 Roland McGrath <roland@hack.frob.com>
46398 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46399 AC_CACHE_CHECK invocation.
46400 * configure: Regenerated.
46402 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46404 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46407 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46408 bit from old_res_options.
46410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46412 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46413 value type for setfct.
46415 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46418 __gettimeofday instead of gettimeofday.
46420 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46422 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46424 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46434 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46435 strcpy-sse2-unaligned strncpy-sse2-unaligned
46436 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46437 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46438 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46439 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46440 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46443 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46444 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46445 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46446 (STRCPY): Support SSE2 and SSSE3 versions.
46448 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46451 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46452 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46453 kernels which artificially limit size of requests.
46455 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46458 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46459 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46460 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46461 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46462 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46463 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46464 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46467 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46468 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46469 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46470 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46471 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46473 Enable unaligned load optimization for Intel Core i3, i5 and i7
46475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46477 (index_Fast_Unaligned_Load): Define.
46478 (HAS_FAST_UNALIGNED_LOAD): Define.
46480 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46482 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46484 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46488 until it is clear that the information is realy needed.
46489 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46491 2011-06-22 Andreas Schwab <schwab@redhat.com>
46493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46495 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46498 /sys/devices/system/cpu/online if it is usable.
46500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46501 reading the information from the /proc filesystem to once a second.
46503 2011-06-21 Andreas Jaeger <aj@suse.de>
46505 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46506 NULL after inclusion of kernel headers.
46508 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46510 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46511 calls to internal_setent.
46514 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46515 addresses using gethostbyname4_r ignore IPv4 addresses.
46517 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46518 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46520 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46522 2011-06-20 David S. Miller <davem@davemloft.net>
46524 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46526 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46528 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46529 (elf_irel): Use it.
46530 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46531 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46532 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46533 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46534 * sysdeps/x86_64/dl-irel.h: Likewise.
46536 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46537 * elf/dl-sym.c: Likewise.
46539 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46541 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46542 need to dereference resplen2.
46544 2011-06-14 Andreas Schwab <schwab@redhat.com>
46546 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46548 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46550 * Makeconfig: Define vardbdir and inst_vardbdir.
46551 * nss/Makefile: Add rules to install db-Makefile.
46553 * nss/nss_db/db-XXX.c: Cleanup.
46555 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46556 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46558 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46559 * nss/makedb.c: Implement -g option to specify that value strings
46560 are generated and should not be added to table iterated over for
46562 * nss/nss_db/db-initgroups.c: New file.
46564 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46567 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46568 (internal_getgrouplist): Adjust to name change.
46569 Update use_initgroups_entry if this is not the first call.
46570 * nss/databases.def: Add initgroups entry.
46572 * nss/makedb.c (compute_tables): Check result of multiple hash table
46573 sizes to minimize maximum chain length.
46575 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46577 * Versions.def: Add entry for libnss_db.
46578 * shlib-versions: Likewise.
46579 * nss/Makefile: Add rules to build libnss_db.
46580 * nss/Versions: Add libnss_db information. Organize libnss_files
46582 * nss/db-Makefile: Add gshadow support. Change rules for the new
46583 makedb progra. Some minor improvements to generate smaller files.
46584 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46586 * nss/makedb.c: ...here.
46587 Improve database format to be smaller and require less memory at
46589 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46591 * nss/nss_db/db-netgrp.c: Likewise.
46592 * nss/nss_db/db-open.c: Likewise.
46593 * nss/nss_files/flies-XXX.x: Adjust comments.
46594 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46595 * nss/nss_files/files-grp.c: Likewise.
46596 * nss/nss_files/files-hosts.c: Likewise.
46597 * nss/nss_files/files-network.c: Likewise.
46598 * nss/nss_files/files-proto.c: Likewise.
46599 * nss/nss_files/files-pwd.c: Likewise.
46600 * nss/nss_files/files-rpc.c: Likewise.
46601 * nss/nss_files/files-service.c: Likewise.
46602 * nss/nss_files/files-sgrp.c: Likewise.
46603 * nss/nss_files/files-spwd.c: Likewise.
46604 * nss/nss_db/db-alias.c: Removed.
46605 * nss/nss_db/dummy-db.h: Removed.
46607 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46609 * nss/makedb.c: Rewritten to not use database library.
46610 * nss/Makefile: Update to build new makedb program.
46612 2011-06-14 Andreas Jaeger <aj@suse.de>
46614 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46615 memset declaration.
46617 2011-06-10 Andreas Schwab <schwab@redhat.com>
46619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46622 2011-06-10 Roland McGrath <roland@hack.frob.com>
46624 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46625 * elf/Makefile ($(objpfx)ld.so): Likewise.
46627 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46628 Don't list ld.so twice in dependencies.
46630 * posix/bug-regex31.c: Include <stdlib.h>.
46632 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46634 * nis/nss_compat/compat-spwd.c
46635 (getspent_next_nss_netgr): Remove unused variable.
46636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46638 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46639 nonmembers" output to use the right array.
46641 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46643 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46645 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46646 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46647 * catgets/gencat.c (read_input_file): Likewise.
46648 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46651 variable definition inside #if's controlling its use.
46653 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46655 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46657 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46659 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46662 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46664 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46665 * configure: Regenerated.
46667 * Makerules: Revert last change.
46668 * elf/Makefile: Likewise.
46670 2011-06-09 Roland McGrath <roland@hack.frob.com>
46672 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46673 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46674 (reloc-link): Likewise.
46676 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46678 * elf/Makefile: Add rules to build pldd.
46679 * elf/pldd.c: New file.
46680 * elf/pldd-xx.c: New file.
46682 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46684 * version.h: Update for 2.15 development version.
46686 2011-06-07 David S. Miller <davem@davemloft.net>
46688 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46691 elf_machine_lazy_rel): Likewise.
46692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46694 elf_machine_lazy_rel): Likewise.
46695 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46696 dl_hwcap via passed in argument.
46697 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46700 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46702 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46704 2011-06-06 Roland McGrath <roland@hack.frob.com>
46707 * manual/fdl-1.1.texi: New file, verbatim from:
46708 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46709 * manual/lgpl-2.1.texi: New file, verbatim from:
46710 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46711 * manual/Makefile (licenses): New variable, list those new file names.
46713 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46715 * manual/fdl.texi: File removed.
46716 * manual/lesser.texi: File removed.
46717 * manual/libc.texinfo (Copying, Documentation License):
46718 Use new @include file names, put @appendix directive before @include.
46720 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46723 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46724 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46725 (mq_open): Add __NTH.
46727 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46730 Assume Intel Core i3/i5/i7 processor if AVX is available.
46732 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46737 2011-05-31 Andreas Schwab <schwab@redhat.com>
46739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46740 memory. Use alloca_account. Fix memory leak when retrying.
46742 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46744 * version.h (RELEASE): Bump for 2.14 release.
46745 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46747 * config.make.in (RANLIB): Remove entry.
46749 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46751 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46752 (libc.pot): Work around missing support for .ksh extension in xgettext.
46755 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46756 if both request failed.
46757 (send_dg): In case of server errors clear resplen or *resplen2.
46760 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46761 when there are multiple maps.
46762 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46763 (_dl_fini): Remove test here.
46765 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46767 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46770 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46771 bit from old_res_options.
46772 (gaih_inet): Likewise.
46775 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46778 * resolv/res_init.c (res_setoptions): Make the code more compact.
46781 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46785 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46787 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46790 * malloc/malloc.h: Declare malloc hook variables as volatile.
46792 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46796 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46797 raise in the comment.
46798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46802 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46805 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46806 grow the buffers more if it already has to be sufficient.
46807 (build_wcs_upper_buffer): Likewise.
46808 * posix/regexec.c (check_matching): Likewise.
46809 (clean_state_log_if_needed): Likewise.
46810 (extend_buffers): Don't enlarge buffers beyond size of the input
46812 Patches mostly by Emil Wojak <emil@wojak.eu>.
46813 * posix/bug-regex32.c: New file.
46814 * posix/Makefile (tests): Add bug-regex32.
46816 * locale/findlocale.c (_nl_find_locale): Return right away if
46817 _nl_explode_name failed.
46818 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46820 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46822 * debug/xtrace.sh: Unify messages.
46823 * malloc/memusage.sh: Likewise.
46826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46827 time symbol from vDSO. Substitute with vsyscall if not available.
46828 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46831 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46832 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46833 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46834 Add sendmmsg and internal_sendmmsg.
46835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46836 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46839 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46840 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46843 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46847 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46853 * iconvdata/Makefile (tests): Add bug-iconv9.
46854 * iconvdata/bug-iconv9.c: New file.
46856 2011-05-27 Andreas Schwab <schwab@redhat.com>
46859 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46861 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46864 (struct user_regs_struct): Change intcs field back to cs.
46866 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46868 * po/ja.po: Update from translation team.
46870 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46876 2011-05-20 Andreas Schwab <schwab@redhat.com>
46878 * stdlib/longlong.h: Update from GCC.
46880 2011-05-23 Andreas Schwab <schwab@redhat.com>
46882 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46884 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46885 Add parameter name.
46886 (__sysconf): Pass it down.
46888 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46891 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46894 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46895 add in in __libc_use_alloca calls. Adjust callers.
46896 (glob): Use malloc in some situations.
46898 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46899 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46902 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46904 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46905 and CLOCK_BOOTTIME_ALARM.
46908 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46911 * string/_strerror.c (__strerror_r): Print negative errors as signed
46915 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46916 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46917 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46919 * configure.in: Fix typo in redirection and correct removal of test
46920 files in two cases.
46923 * locale/setlocale.c (new_composite_name): Fix test to check for
46924 identical name of all categories.
46927 * libio/filedoalloc.c (local_isatty): New function.
46928 (_IO_file_doallocate): Use local_isatty.
46929 * stdio-common/perror.c (perror): In case a new stream is used
46930 forward the stream error.
46931 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46934 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46939 * include/alloca.h (extend_alloca_account): Define.
46942 * posix/regex.h: Fix comments with documentation of user-accessible
46943 fields after compilation and describe correct free'ing of pattern
46944 after re_compile_pattern.
46945 Patch by Reuben Thomas <rrt@sc3d.org>.
46947 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46949 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46950 and -mno-altivec to prevent the compiler from using Altivec and/or
46951 VSX instructions when the corresponding registers are not available.
46953 2011-05-19 Andreas Schwab <schwab@redhat.com>
46955 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46957 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46959 * libio/freopen.c (freopen): Use __dup2, not dup2.
46960 * libio/freopen64.c (freopen64): Likewise.
46962 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46965 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46966 * math/Makefile (tests): Add test-powl.
46967 (CFLAGS-test-powl.c): Define.
46968 * math/test-powl.c: New file.
46970 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46972 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46974 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46977 * iconvdata/gb18030.c: Update to GB18020-2005.
46979 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46981 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46982 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46983 Patch by Aharon Robbins <arnold@skeeve.com>.
46986 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46990 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46991 through underflows.
46994 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46995 point to strings before performing equality test for error_one_per_line
46999 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47003 (struct user_fpregs_struct): Avoid __uint*_t types.
47006 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47007 symbol info. Use it instead of calling _dl_addr locally.
47008 (lock_and_info): New function.
47009 (tr_freehook): Call lock_and_info and pass symbol info as additional
47010 parameter to tr_where.
47011 (tr_mallochook): Likewise.
47012 (tr_reallochook): Likewise.
47013 (tr_memalignhook): Likewise.
47015 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47016 used and couldn't be at all thread-safe.
47018 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47020 * libio/freopen.c (freopen): Don't close old file descriptor
47021 before the new one is opened. Instead dup the new file descriptor
47022 to the old one after the new stream is created.
47023 * libio/freopen64.c (freopen64): Likewise.
47024 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47025 * libio/fileops.c (_IO_new_file_close_it): Handle new
47026 _IO_FLAGS2_NOCLOSE flag.
47027 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47028 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47029 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47030 _IO_FLAGS2_NOCLOSE flag.
47031 * include/unistd.h: Add hidden_proto for dup3.
47032 Define __have_dup3.
47033 * io/dup3.c: Define hidden symbol.
47034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47037 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47038 when an incomplete long option is used.
47039 * posix/tst-getopt_long1.c: New file.
47040 * posix/Makefile (tests): Add tst-getopt_long1.
47043 * scripts/config.guess: Update from autoconf-2.68.
47044 * scripts/config.sub: Likewise.
47047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47049 (has_cpuclock): ...this. New function.
47050 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47051 macro here based on has_cpuclock code.
47054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47055 First byte (not low byte) is now always NUL.
47056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47059 Use non-cancelable interfaces.
47062 * locale/iso-639.def: Add entry for Sorani.
47065 * include/stdlib.h: Move include protection to the right place.
47066 Define abort_msg_s. Declare __abort_msg with it.
47067 * stdlib/abort.c (__abort_msg): Adjust type.
47068 * assert/assert.c (__assert_fail_base): New function. Majority
47069 of code from __assert_fail. Allocate memory for __abort_msg with
47071 (__assert_fail): Now call __assert_fail_base.
47072 * assert/assert-perr.c: Remove bulk of implementation. Use
47073 __assert_fail_base.
47074 * include/assert.hL Declare __assert_fail_base.
47075 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47077 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47079 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47083 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47084 until all modules are registered in the DTV.
47085 * elf/Makefile: Add rules to build and run tst-tls19.
47086 * elf/tst-tls19.c: New file.
47087 * elf/tst-tls19mod1.c: New file.
47088 * elf/tst-tls19mod2.c: New file.
47089 * elf/tst-tls19mod3.c: New file.
47090 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47093 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47097 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47098 two-byte sequence errors.
47099 * iconvdata/Makefile (tests): Add bug-iconv8.
47100 * iconvdata/bug-iconv8.c: New file.
47103 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47106 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47109 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47110 (dummy_getcfa): New function.
47111 (init): Get _Unwind_GetCFA address, use dummy if not found.
47112 (backtrace_helper): In recursion check, also check whether CFA changes.
47113 (__backtrace): Completely initialize arg.
47115 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47116 storing incomplete byte sequence in state object. Avoid testing for
47117 guaranteed too small input if we know there is enough data available.
47119 2011-05-11 Andreas Schwab <schwab@redhat.com>
47121 * Makeconfig (+link-pie): Indent.
47122 * Rules (binaries-pie): Define if $(have-fpie) and
47124 (binaries-shared): Also filter out $(binaries-pie).
47125 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47126 * nscd/Makefile (others-pie): Add nscd.
47127 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47128 ($(objpfx)nscd): Remove command override.
47129 * login/Makefile (others-pie): Add pt_chown.
47130 ($(objpfx)pt_chown): Remove command override.
47131 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47132 remove command overrides.
47134 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47136 * libio/tst_putwc.c: Fix error messages.
47139 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47140 currently writing and seek to current position when not.
47141 * libio/Makefile (tests): Add bug-fclose1.
47142 * libio/bug-fclose1.c: New file.
47144 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47147 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47148 don't set DF_1_NODELETE here.
47149 (do_lookup_x): When entering new entry test for copy relocation
47150 and if necessary set DF_1_NODELETE flag.
47151 * elf/tst-unique4.cc: New file.
47152 * elf/tst-unique4.h: New file.
47153 * elf/tst-unique4lib.cc: New file.
47154 * elf/Makefile: Add rules to build and run tst-unique4.
47155 Patch by Piotr Bury <pbury@goahead.com>.
47157 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47160 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47163 * misc/mntent_r.c (addmntent): Flush the stream after the output
47166 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47167 (is_trusted_path_normalize): Skip initial colon. Append slash
47168 to empty buffer. Duplicate is_trusted_path code but allow
47169 constructed patch to be prefix.
47170 (is_dst): Allow $ORIGIN followed by /.
47171 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47172 Correct testing of result of is_trusted_path_normalize
47173 (decompose_rpath): Fix warning.
47175 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47178 * grp/initgroups.c (internal_getgrouplist): When we found the service
47179 list through the initgroups entry in nsswitch.conf do not always
47180 continue on a successful lookup. Don't always use the
47181 __nss_group_database value if it is set.
47182 * nss/nsswitch.conf (initgroups): Change action for successful db
47183 lookup to continue for compatibility.
47185 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47188 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47190 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47192 * iconvdata/tst-tables.sh: Likewise.
47193 * iconvdata/cp770.c: New file.
47194 * iconvdata/cp771.c: New file.
47195 * iconvdata/cp772.c: New file.
47196 * iconvdata/cp773.c: New file.
47197 * iconvdata/cp774.c: New file.
47198 * iconvdata/testdata/CP770: New file.
47199 * iconvdata/testdata/CP770..UTF8: New file.
47200 * iconvdata/testdata/CP771: New file.
47201 * iconvdata/testdata/CP771..UTF8: New file.
47202 * iconvdata/testdata/CP772: New file.
47203 * iconvdata/testdata/CP772..UTF8: New file.
47204 * iconvdata/testdata/CP773: New file.
47205 * iconvdata/testdata/CP773..UTF8: New file.
47206 * iconvdata/testdata/CP774: New file.
47207 * iconvdata/testdata/CP774..UTF8: New file.
47209 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47211 * iconvdata/gen-8bit-gap.sh: Likewise.
47212 * iconvdata/gen-8bit.sh: Likewise.
47214 * locale/iso-639.def: Add ary entry.
47217 * locale/C-translit.h.in: Add U20A1 transliteration.
47220 * locale/iso-639.def: Add wae entry.
47221 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47224 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47228 * locale/C-translit.h.in: Add entry for U20B9.
47229 Patch by pravin.d.s@gmail.com.
47231 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47234 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47235 ENAMETOOLONG use generic getcwd.
47236 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47237 in rtld. Use *stat64.
47238 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47239 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47240 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47241 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47242 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47243 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47244 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47245 __fstatat64 macros.
47246 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47247 * dirent/rewinddir.c: Add libc_hidden_def.
47248 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47249 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47251 * include/dirent.h (__alloc_dir): Add flags parameter.
47252 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47253 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47255 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47256 from fdopendir if O_CLOEXEC is already set.
47258 2011-03-15 Alan Modra <amodra@gmail.com>
47260 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47261 l_tls_firstbyte_offset non-zero. Save padding offset in
47262 l_tls_firstbyte_offset for later use.
47263 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47264 freeing static tls block.
47266 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47268 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47269 where #ifdef was intended. The intent is to prevent ARG_MAX from
47270 being defined by the kernel headers.
47272 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47275 * resolv/resolv.h: Define RES_NOTLDQUERY.
47276 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47277 no-tld-query and set RES_NOTLDQUERY.
47278 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47279 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47280 modern BIND to search name as TLD unless forbidden.
47282 2011-05-07 Petr Baudis <pasky@suse.cz>
47283 Ulrich Drepper <drepper@gmail.com>
47286 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47287 (is_trusted_path): ...to here.
47288 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47289 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47290 using is_trusted_path_normalize() in setuid scripts.
47292 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47294 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47295 __BEGIN/__END_DECLS.
47297 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47299 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47300 NSS_STATUS_NOTFOUND if no record was found.
47302 2011-05-05 Andreas Schwab <schwab@redhat.com>
47304 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47305 (headers-not-in-tirpc): Remove rpc/netdb.h
47306 * resolv/netdb.h: Revert last change.
47308 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47310 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47311 circular dependency between libgcc.a and libc.a.
47313 2011-05-05 Andreas Schwab <schwab@redhat.com>
47315 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47316 * nis/Makefile: Don't install rpcsvc/*.
47317 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47318 instead of <rpc/types.h>.
47319 (MAXHOSTNAMELEN): Define.
47321 2011-05-03 Andreas Schwab <schwab@redhat.com>
47323 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47325 2011-04-28 Maciej Babinski <mbabinski@google.com>
47328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47329 gethostbyname4_r when IPv6 results are possible.
47331 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47335 _PC_PIPE_BUF handling.
47337 2011-04-30 Bruno Haible <bruno@clisp.org>
47340 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47341 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47343 * inet/getnameinfo.c (getnameinfo): Likewise.
47345 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47347 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47348 to groups setting in database lookup.
47349 * nss/nsswitch.conf: Add initgroups entry.
47351 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47354 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47356 Patch by Eric Blake <eblake@redhat.com>.
47358 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47360 * sunrpc/Makefile (need-export-routines): Add svc_run.
47361 (routines): Remove svc_run.
47362 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47363 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47364 * sunrpc/svc_run.c (svc_run): Likewise.
47365 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47367 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47369 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47370 problem in reallocation in last patch.
47372 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47374 * sunrpc/Makefile: Move inclusion of Rules.
47376 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47378 * nss/nss_files/files-initgroups.c: New file.
47379 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47380 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47381 _nss_files_initgroups_dyn.
47383 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47385 * elf/elf.h (R_ARM_IRELATIVE): Define.
47387 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47389 * po/ru.po: Update from translation team.
47391 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47393 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47396 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47400 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47405 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47413 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47416 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47418 * stdlib/bug-getcontext.c: New file.
47419 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47421 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47423 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47424 instructions into .machine "z9-109".
47425 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47426 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47428 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47430 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47431 between environment variables and auxiliary vector.
47433 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47435 * Makefile: Add rules to build linkobj/libc.so.
47436 * include/libc-symbols.h: Define libc_hidden_nolink.
47437 * include/rpc/auth.h: Mark functions which are to be hidden.
47438 * include/rpc/auth_des.h: Likewise.
47439 * include/rpc/auth_unix.h: Likewise.
47440 * include/rpc/clnt.h: Likewise.
47441 * include/rpc/des_crypt.h: Likewise.
47442 * include/rpc/key_prot.h: Likewise.
47443 * include/rpc/pmap_clnt.h: Likewise.
47444 * include/rpc/pmap_prot.h: Likewise.
47445 * include/rpc/pmap_rmt.h: Likewise.
47446 * include/rpc/rpc_msg.h: Likewise.
47447 * include/rpc/svc.h: Likewise.
47448 * include/rpc/svc_auth.h: Likewise.
47449 * include/rpc/xdr.h: Likewise.
47450 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47451 * nss/Makefile: Likewise.
47452 * sunrpc/Makefile: Don't install headers. Build library with normal
47453 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47454 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47455 for the compat linking library. Remove use of INTDEF/INTUSE.
47456 * sunrpc/auth_none.c: Likewise.
47457 * sunrpc/auth_unix.c: Likewise.
47458 * sunrpc/authdes_prot.c: Likewise.
47459 * sunrpc/authuxprot.c: Likewise.
47460 * sunrpc/clnt_gen.c: Likewise.
47461 * sunrpc/clnt_perr.c: Likewise.
47462 * sunrpc/clnt_raw.c: Likewise.
47463 * sunrpc/clnt_simp.c: Likewise.
47464 * sunrpc/clnt_tcp.c: Likewise.
47465 * sunrpc/clnt_udp.c: Likewise.
47466 * sunrpc/clnt_unix.c: Likewise.
47467 * sunrpc/des_crypt.c: Likewise.
47468 * sunrpc/des_soft.c: Likewise.
47469 * sunrpc/get_myaddr.c: Likewise.
47470 * sunrpc/key_call.c: Likewise.
47471 * sunrpc/key_prot.c: Likewise.
47472 * sunrpc/netname.c: Likewise.
47473 * sunrpc/pm_getmaps.c: Likewise.
47474 * sunrpc/pm_getport.c: Likewise.
47475 * sunrpc/pmap_clnt.c: Likewise.
47476 * sunrpc/pmap_prot.c: Likewise.
47477 * sunrpc/pmap_prot2.c: Likewise.
47478 * sunrpc/pmap_rmt.c: Likewise.
47479 * sunrpc/publickey.c: Likewise.
47480 * sunrpc/rpc_cmsg.c: Likewise.
47481 * sunrpc/rpc_common.c: Likewise.
47482 * sunrpc/rpc_dtable.c: Likewise.
47483 * sunrpc/rpc_prot.c: Likewise.
47484 * sunrpc/rpc_thread.c: Likewise.
47485 * sunrpc/rtime.c: Likewise.
47486 * sunrpc/svc.c: Likewise.
47487 * sunrpc/svc_auth.c: Likewise.
47488 * sunrpc/svc_authux.c: Likewise.
47489 * sunrpc/svc_raw.c: Likewise.
47490 * sunrpc/svc_run.c: Likewise.
47491 * sunrpc/svc_simple.c: Likewise.
47492 * sunrpc/svc_tcp.c: Likewise.
47493 * sunrpc/svc_udp.c: Likewise.
47494 * sunrpc/svc_unix.c: Likewise.
47495 * sunrpc/svcauth_des.c: Likewise.
47496 * sunrpc/xcrypt.c: Likewise.
47497 * sunrpc/xdr.c: Likewise.
47498 * sunrpc/xdr_array.c: Likewise.
47499 * sunrpc/xdr_float.c: Likewise.
47500 * sunrpc/xdr_intXX_t.c: Likewise.
47501 * sunrpc/xdr_mem.c: Likewise.
47502 * sunrpc/xdr_rec.c: Likewise.
47503 * sunrpc/xdr_ref.c: Likewise.
47504 * sunrpc/xdr_sizeof.c: Likewise.
47505 * sunrpc/xdr_stdio.c: Likewise.
47507 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47510 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47511 * sysdeps/ia64/dl-tls.h: Likewise.
47512 * sysdeps/powerpc/dl-tls.h: Likewise.
47513 * sysdeps/s390/dl-tls.h: Likewise.
47514 * sysdeps/sh/dl-tls.h: Likewise.
47515 * sysdeps/sparc/dl-tls.h: Likewise.
47516 * sysdeps/x86_64/dl-tls.h: Likewise.
47517 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47519 2011-03-14 Andreas Schwab <schwab@redhat.com>
47521 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47522 rpath element also skip the following colon.
47523 (expand_dynamic_string_token): Add is_path parameter and pass
47524 down to DL_DST_REQUIRED and _dl_dst_substitute.
47525 (decompose_rpath): Call expand_dynamic_string_token with
47526 non-zero is_path. Ignore empty rpaths.
47527 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47530 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47535 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47538 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47539 Patch by Filipe David Manana <fdmanana@apache.org>.
47541 2011-04-07 Andreas Schwab <schwab@redhat.com>
47543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47544 Maintain aligned stack.
47545 (CHECK_RSP): Remove unused macro.
47547 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47549 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47550 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47552 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47554 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47556 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47558 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47561 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47562 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47563 * sysdeps/x86_64/memmove.c: New file.
47564 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47565 (memcpy): Renamed to ...
47566 (__new_memcpy): This.
47567 (memcpy): Provide GLIBC_2_14 memcpy.
47568 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47569 (memcpy): Provide GLIBC_2_2_5 memcpy.
47571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47574 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47576 2011-03-30 Andreas Schwab <schwab@redhat.com>
47578 * misc/syncfs.c: New file.
47579 * misc/Makefile (routines): Add syncfs.
47580 * posix/unistd.h: Declare syncfs.
47581 * sysdeps/unix/syscalls.list: Add syncfs.
47583 2011-04-01 Andreas Schwab <schwab@redhat.com>
47585 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47592 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47595 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47605 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47606 sync_file_range.c with -fexceptions.
47607 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47608 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47609 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47610 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47611 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47612 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47614 sync_file_range as cancellation point
47615 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47616 now a wrapper around __call_sync_file_range with cancellation handling.
47617 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47618 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47619 function name to __call_sync_file_range.
47620 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47621 Add call_sync_file_range.
47623 2011-04-01 Andreas Schwab <schwab@redhat.com>
47625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47628 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47630 * iconv/iconv.h: Fix typo in comment.
47631 * io/fcntl.h: Likewise.
47632 * libio/stdio.h: Likewise.
47633 * posix/spawn.h: Likewise.
47634 * posix/unistd.h: Likewise.
47635 * stdlib/stdlib.h: Likewise.
47636 * time/time.h: Likewise.
47637 * wcsmbs/wchar.h: Likewise.
47639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47640 open_by_handle): Add.
47641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47642 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47643 Augment a few comments.
47644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47649 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47652 * io/fcntl.h (AT_EMPTY_PATH): Define.
47654 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47656 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47657 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47658 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47660 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47661 * Versions.def: Add GLIBC_2.14.
47662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47665 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47669 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47671 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47674 * string/test-strncmp.c (do_page_test): New function.
47675 (check2): Likewise.
47676 (test_main): Call check2.
47677 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47679 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47683 Handle cache information in CPU leaf 4.
47684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47686 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47689 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47690 character representation.
47691 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47693 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47695 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47696 END(__isnan) to END(__isnanf) to match function entry point/label
47697 EALIGN(__isnanf,...).
47699 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47701 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47703 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47706 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47707 copy from the symbol referenced in the relocation to initialize the
47709 Patch by Piotr Bury <pbury@goahead.com>.
47710 * elf/Makefile: Add rules to build and tst-unique3.
47711 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47712 * elf/tst-unique3.cc: New file.
47713 * elf/tst-unique3.h: New file.
47714 * elf/tst-unique3lib.cc: New file.
47715 * elf/tst-unique3lib2.cc: New file.
47717 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47719 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47721 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47722 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47725 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47727 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47728 to-be-loaded object along a path to loader is ld.so.
47730 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47731 Ulrich Drepper <drepper@gmail.com>
47733 * sysdeps/x86_64/memset.S: After aligning destination, code
47734 branches to different locations depending on the value of
47735 misalignment, when multiarch is enabled. Fix this.
47737 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47739 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47740 Set _x86_64_preferred_memory_instruction for AMD processsors.
47741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47742 Set bit_Prefer_SSE_for_memop for AMD processors.
47744 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47746 * libio/fmemopen.c (fmemopen): Optimize a bit.
47748 2011-03-03 Andreas Schwab <schwab@redhat.com>
47750 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47752 2011-03-03 Roland McGrath <roland@redhat.com>
47754 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47756 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47758 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47759 __bzero_ultra1 instead of __memset_ultra1.
47761 2011-02-23 Andreas Schwab <schwab@redhat.com>
47762 Ulrich Drepper <drepper@gmail.com>
47765 * include/link.h (struct link_map): Add l_orig_initfini.
47766 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47767 returning unsuccessfully.
47768 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47769 close of a file loaded at startup, restore the original l_initfini
47771 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47772 list, store the pointer.
47773 * elf/Makefile ($(objpfx)noload-mem): New rule.
47774 (noload-ENV): Define.
47775 (tests): Add $(objpfx)noload-mem.
47776 * elf/noload.c: Include <memcheck.h>.
47777 (main): Call mtrace. Close all opened handles.
47779 2011-02-17 Andreas Schwab <schwab@redhat.com>
47782 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47783 dependencies are missing.
47785 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47787 Fix __if_freereq crash: Unlike the generic version which uses free,
47789 * sysdeps/mach/hurd/ifreq.h: New file.
47791 2011-01-27 Petr Baudis <pasky@suse.cz>
47792 Ulrich Drepper <drepper@gmail.com>
47795 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47796 to extend_alloca().
47797 * stdio-common/bug23.c: New file.
47798 * stdio-common/Makefile (tests): Add bug23.
47800 2010-09-28 Andreas Schwab <schwab@redhat.com>
47801 Ulrich Drepper <drepper@gmail.com>
47804 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47805 before performing relro protection. At old place add assertion
47806 to make sure nothing changed.
47808 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47809 Glauber de Oliveira Costa <glommer@gmail.com>
47811 * elf/elf.h: Add new ARM TLS relocs.
47813 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47816 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47818 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47820 * sysdeps/wordsize-64/tst-writev.c: New file.
47822 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47824 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47825 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47826 insns in _dl_start to prevent a TOC reference before relocs are
47829 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47832 * Makeconfig: Remove RANLIB definition.
47833 * Makerules: Don't use RANLIB.
47834 * aclocal.m4: Remove ranlib test.
47835 * configure.in: No need to check for ranlib.
47836 * elf/rtld-Rules: Don't use RANLIB.
47838 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47840 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47842 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47843 inclusion protection macro.
47845 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47846 SIGRTMIN and SIGRTMAX and print information in that case only when
47847 SIGRTMIN is defined.
47849 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47851 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47852 arginfo fn returning -1.
47854 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47855 and thousands string is zero terminated.
47857 2011-02-03 Andreas Schwab <schwab@redhat.com>
47859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47860 sysdeps/unix/sysv/linux/bits/socket.h.
47862 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47864 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47865 (__CPU_COUNT): Remove old macros.
47866 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47867 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47868 (__CPU_ALLOC, __CPU_FREE): Add macros.
47869 (__sched_cpualloc, __sched_cpufree): Add declarations.
47871 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47873 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47874 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47875 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47876 (readdhstai): Return value of addhstaiX call.
47877 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47878 (addgrbyX): Return value returned by cache_addgr.
47879 (readdgrbyname): Return value returned by addgrbyX.
47880 (readdgrbygid): Likewise.
47881 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47882 (addpwbyX): Return value returned by cache_addpw.
47883 (readdpwbyname): Return value returned by addhstbyX.
47884 (readdpwbyuid): Likewise.
47885 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47886 (addservbyX): Return value returned by cache_addserv.
47887 (readdservbyname): Return value returned by addservbyX:
47888 (readdservbyport): Likewise.
47889 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47890 (addhstbyX): Return value returned by cache_addhst.
47891 (readdhstbyname): Return value returned by addhstbyX.
47892 (readdhstbyaddr): Likewise.
47893 (readdhstbynamev6): Likewise.
47894 (readdhstbyaddrv6): Likewise.
47895 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47896 (readdinitgroups): Return value returned by addinitgroupsX.
47897 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47898 (prune_cache): Keep track of timeout value of re-added entries.
47899 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47900 * nscd/nscd.h: Adjust prototypes of readd* functions.
47902 2011-02-04 Roland McGrath <roland@redhat.com>
47904 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47905 (nis_stats): Likewise.
47906 * nis/nis_modify.c (nis_modify): Likewise.
47907 * nis/nis_remove.c (nis_remove): Likewise.
47908 * nis/nis_add.c (nis_add): Likewise.
47910 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47912 * posix/fnmatch_loop.c: Add some consts.
47914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47916 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47919 * config.make.in (config-cflags-novzeroupper): Define.
47920 * configure.in: Substitute libc_cv_cc_novzeroupper.
47921 * elf/Makefile (AVX-CFLAGS): Define.
47922 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47923 (CFLAGS-tst-auditmod4a.c): Likewise.
47924 (CFLAGS-tst-auditmod4b.c): Likewise.
47925 (CFLAGS-tst-auditmod6b.c): Likewise.
47926 (CFLAGS-tst-auditmod6c.c): Likewise.
47927 (CFLAGS-tst-auditmod7b.c): Likewise.
47928 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47930 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47932 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47933 function to the callback.
47934 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47936 2011-02-02 Andreas Schwab <schwab@redhat.com>
47938 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47941 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47944 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47946 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47948 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47951 * elf/Makefile: Add rules to build and run new test.
47952 * elf/tst-initorder.c: New file.
47953 * elf/tst-initorder.exp: New file.
47954 * elf/tst-initordera1.c: New file.
47955 * elf/tst-initordera2.c: New file.
47956 * elf/tst-initordera3.c: New file.
47957 * elf/tst-initordera4.c: New file.
47958 * elf/tst-initorderb1.c: New file.
47959 * elf/tst-initorderb2.c: New file.
47960 * elf/tst-order-a1.c: New file.
47961 * elf/tst-order-a2.c: New file.
47962 * elf/tst-order-a3.c: New file.
47963 * elf/tst-order-a4.c: New file.
47964 * elf/tst-order-b1.c: New file.
47965 * elf/tst-order-b2.c: New file.
47966 * elf/tst-order-main.c: New file.
47967 New test case by George Gensure <werkt0@gmail.com>.
47969 2010-10-01 Andreas Schwab <schwab@redhat.com>
47971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47972 decoding ACE if AI_CANONIDN.
47974 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47976 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47978 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47980 * version.h (RELEASE): Bump for 2.13 release.
47981 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47983 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47987 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47990 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47994 * posix/getconf.c: Update copyright year.
47995 * catgets/gencat.c: Likewise.
47996 * csu/version.c: Likewise.
47997 * debug/catchsegv.sh: Likewise.
47998 * debug/xtrace.sh: Likewise.
47999 * elf/ldconfig.c: Likewise.
48000 * elf/ldd.bash.in: Likewise.
48001 * elf/sprof.c (print_version): Likewise.
48002 * iconv/iconv_prog.c: Likewise.
48003 * iconv/iconvconfig.c: Likewise.
48004 * locale/programs/locale.c: Likewise.
48005 * locale/programs/localedef.c: Likewise.
48006 * malloc/memusage.sh: Likewise.
48007 * malloc/mtrace.pl: Likewise.
48008 * nscd/nscd.c (print_version): Likewise.
48009 * nss/getent.c: Likewise.
48011 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48012 PF_CAIF, and PF_ALG.
48013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48015 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48017 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48018 (modules-names): Use them.
48019 (ifunc-test-modules, ifunc-pie-tests): Define.
48020 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48021 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48022 (test-extras): Likewise.
48023 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48024 $(compile-command.c).
48025 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48026 (all-built-dso): Define.
48027 (check-textrel.out, check-execstack.out): Depend on it.
48029 * configure.in: Don't override --enable-multi-arch.
48031 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48034 * nscd/hstcache.c (tryagain): Define.
48035 (cache_addhst): Return tryagain not notfound for temporary errors.
48036 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48039 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48043 to make the syscall.
48044 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48047 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48048 and fall back to matching as normal character if the string ends before
48049 the matching ']' is found. This is what POSIX requires.
48050 * posix/testfnm.c: Adjust test result.
48051 * posix/globtest.sh: Adjust test result. Add new test.
48052 * posix/tst-fnmatch.input: Likewise.
48053 * posix/tst-fnmatch2.c: Add new test.
48055 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48057 * elf/Makefile (check-execstack): Revert last change. Depend on
48059 (check-execstack.h): New target.
48060 (generated): Add check-execstack.h.
48061 * elf/check-execstack.c: Include "check-execstack.h".
48062 (main): Revert last change.
48063 (handle_file): Return zero if GNU_STACK is absent and
48064 DEFAULT_STACK_PERMS doesn't include PF_X.
48066 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48068 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48069 in child fails because the descriptor is already closed.
48070 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48071 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48072 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48075 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48079 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48080 temporary buffer used to handle multi lookups locally.
48081 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48083 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48085 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48088 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48090 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48091 alignment for SSE2.
48093 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48096 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48097 characters. When rounding increased number of integer digits recompute
48099 * stdio-common/tst-grouping.c: New file.
48100 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48102 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48104 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48105 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48107 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48109 * bits/select.h: Likewise.
48111 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48113 * po/ja.po: Update from translation team.
48115 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48118 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48119 implementation just like for lxstat, fxstatat, et al.
48121 2010-12-27 Jim Meyering <meyering@redhat.com>
48124 * posix/regexec.c (build_trtable): Return failure indication upon
48125 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48127 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48130 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48131 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48132 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48133 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48136 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48139 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48140 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48142 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48144 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48145 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48146 script has SORT_BY_INIT_PRIORITY.
48147 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48148 NO_CTORS_DTORS_SECTIONS is defined.
48149 * elf/soinit.c: Likewise.
48150 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48151 NO_CTORS_DTORS_SECTIONS is defined.
48152 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48153 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48154 * sysdeps/sh/init-first.c: Likewise.
48155 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48157 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48159 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48160 always use the slow path.
48162 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48164 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48165 similar rule which adds the sysdep directories to the header search in
48166 order to pick up the correct platform stackinfo.h.
48167 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48168 perform test if it is, otherwise return successfully without testing.
48169 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48170 DEFAULT_STACK_PERMS define in stackinfo.h.
48171 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48172 defined in stackinfo.h.
48173 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48174 DEFAULT_STACK_PERMS defined in stackinfo.h.
48175 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48176 * sysdeps/ia64/stackinfo.h: Likewise.
48177 * sysdeps/s390/stackinfo.h: Likewise.
48178 * sysdeps/sh/stackinfo.h: Likewise.
48179 * sysdeps/sparc/stackinfo.h: Likewise.
48180 * sysdeps/x86_64/stackinfo.h: Likewise.
48181 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48182 PF_X for powerpc64. Retain PF_X for powerpc32.
48184 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48186 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48188 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48189 GETDENTS_64BIT_ALIGNED.
48191 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48193 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48195 2010-12-10 Andreas Schwab <schwab@redhat.com>
48197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48200 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48201 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48203 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48204 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48206 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48209 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48212 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48214 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48216 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48218 * po/it.po: Update from translation team.
48220 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48225 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48227 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48229 2010-11-24 Andreas Schwab <schwab@redhat.com>
48231 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48233 (gaih_getanswer_slice): Likewise.
48235 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48239 2010-05-31 Petr Baudis <pasky@suse.cz>
48242 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48243 silently even in the chroot mode.
48245 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48247 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48248 last patch a bit. Pretty printing
48250 2010-05-31 Petr Baudis <pasky@suse.cz>
48253 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48254 initialization of skip_initgroups_dyn.
48256 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48261 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48263 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48265 2010-11-11 Andreas Schwab <schwab@redhat.com>
48267 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48268 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48269 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48270 ($(objpfx)tst-fnmatch-mem): New rule.
48271 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48272 * posix/tst-fnmatch.c (main): Call mtrace.
48274 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48277 Support Intel processor model 6 and model 0x2c.
48279 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48284 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48287 * string/test-strncasecmp.c (check_result): New function.
48288 (do_one_test): Use it.
48289 (check1): New function.
48290 (test_main): Use it.
48291 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48292 Support strcasecmp and strncasecmp.
48294 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48297 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48300 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48302 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48306 * sysdeps/x86_64/multiarch/bzero.S: New file.
48307 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48308 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48309 * sysdeps/x86_64/multiarch/memset.S: New file.
48310 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48312 Set bit_Prefer_SSE_for_memop for Intel processors.
48313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48315 (index_Prefer_SSE_for_memop): Define.
48316 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48318 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48320 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48321 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48323 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48326 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48327 (__x86_64_raw_data_cache_size_half): Likewise.
48328 (__x86_64_raw_shared_cache_size): Likewise.
48329 (__x86_64_raw_shared_cache_size_half): Likewise.
48331 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48332 (__x86_64_raw_data_cache_size_half): Likewise.
48333 (__x86_64_raw_shared_cache_size): Likewise.
48334 (__x86_64_raw_shared_cache_size_half): Likewise.
48335 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48336 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48337 and __x86_64_raw_shared_cache_size_half. Round
48338 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48339 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48340 to multiple of 256 bytes.
48342 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48346 of inacessible symlinks. Verify result of symlink before returning it.
48347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48348 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48350 2010-10-28 Erich Ritz <erichritz@gmail.com>
48352 * math/math.h (isinf): Fix typo in comment.
48354 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48356 * po/da.po: Update from translation team.
48358 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48360 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48361 is added to the list.
48363 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48364 Ulrich Drepper <drepper@gmail.com>
48366 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48367 the global list here. Move code to...
48368 (_dl_add_to_namespace_list): ...here. New function.
48369 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48370 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48371 * elf/dl-load.c (lose): Don't remove the element from the list.
48372 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48373 (_dl_map_object): Likewise.
48375 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48378 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48379 into all bytes of SSE register.
48380 Patch by Richard Li <richardpku@gmail.com>.
48382 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48385 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48388 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48390 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48391 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48393 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48398 2010-10-22 Andreas Schwab <schwab@redhat.com>
48400 * include/dlfcn.h (__RTLD_SECURE): Define.
48401 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48402 mode & __RTLD_SECURE instead.
48403 (open_path): Rename preloaded parameter to secure.
48404 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48405 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48406 * elf/dl-deps.c (openaux): Likewise.
48407 * elf/rtld.c (struct map_args): Remove is_preloaded.
48408 (map_doit): Don't use it.
48409 (dl_main): Likewise.
48410 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48411 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48413 2010-09-09 Andreas Schwab <schwab@redhat.com>
48415 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48416 (sysd-rules-targets): Remove duplicates.
48417 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48418 rtld-%.$o dependency.
48420 2010-10-18 Andreas Schwab <schwab@redhat.com>
48422 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48423 _dl_map_object do it.
48425 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48427 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48428 fast fma builtins, define the macros in the C99 standard.
48429 (FP_FAST_FMAF): Likewise.
48430 (FP_FAST_FMAL): Likewise.
48431 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48433 * bits/mathdef.h: Update copyright year.
48434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48436 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48438 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48439 builtins, define the macros in the C99 standard.
48440 (FP_FAST_FMAF): Likewise.
48441 (FP_FAST_FMAL): Likewise.
48442 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48444 (FP_FAST_FMAF): Likewise.
48446 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48449 * math/libm-test.inc (fma_test): Some new testcases.
48450 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48452 y and infinite z. Do multiplication by C already in long double.
48453 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48455 y and infinite z. Do bitwise or of inexact bit into u.d.
48456 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48457 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48458 * sysdeps/i386/fpu/s_fma.S: Removed.
48459 * sysdeps/i386/fpu/s_fmal.S: Removed.
48461 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48464 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48466 computation is not scheduled after fetestexcept. Fix value
48467 of minimum denormal long double.
48469 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48472 * math/libm-test.inc (fma_test): Add some more tests.
48473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48476 2010-10-15 Andreas Schwab <schwab@redhat.com>
48478 * scripts/data/localplt-s390-linux-gnu.data: New file.
48479 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48481 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48484 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48485 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48487 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48489 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48491 if one of x and y is very large and the other is subnormal.
48492 * sysdeps/s390/fpu/s_fmaf.c: New file.
48493 * sysdeps/s390/fpu/s_fma.c: New file.
48494 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48495 * sysdeps/powerpc/fpu/s_fma.S: New file.
48496 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48497 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48498 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48500 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48503 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48506 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48507 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48508 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48509 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48510 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48513 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48516 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48517 * posix/bug-regex31.input: Add test case.
48519 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48521 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48522 * posix/bug-regex31.input: New file.
48525 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48526 (parse_sub_exp): Fix last change, use postorder.
48528 * posix/bug-regex31.c: New file.
48529 * posix/Makefile: Add rules to build and run bug-regex31.
48531 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48534 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48537 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48538 to have entries in sys_siglist.
48541 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48544 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48547 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48548 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48549 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48550 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48552 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48553 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48554 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48555 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48556 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48557 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48558 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48559 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48560 * math/ftestexcept.c (fetestexcept): Likewise.
48561 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48562 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48563 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48565 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48566 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48569 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48572 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48575 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48577 * string/bug-strstr1.c: New file.
48578 * string/Makefile: Add rules to build and run bug-strstr1.
48580 2010-10-05 Eric Blake <eblake@redhat.com>
48583 * string/str-two-way.h (two_way_long_needle): Always clear memory
48584 when skipping input due to the shift table.
48586 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48589 * malloc/mcheck.c: Handle large requests.
48592 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48593 for strncmp and strncasecmp.
48594 * string/stratcliff.c: Add tests for strcmp and strncmp.
48595 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48597 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48599 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48602 2010-09-30 Andreas Jaeger <aj@suse.de>
48604 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48605 (CGROUP_SUPER_MAGIC): Define.
48606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48607 Handle btrfs and cgroup file systems.
48608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48611 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48613 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48614 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48616 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48619 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48620 trying to locate the ELF header.
48622 2010-09-27 Andreas Schwab <schwab@redhat.com>
48625 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48626 Mask out sign-bit copies when constructing f_fsid.
48628 2010-09-24 Petr Baudis <pasky@suse.cz>
48630 * debug/stack_chk_fail_local.c: Add missing licence exception.
48631 * debug/warning-nop.c: Likewise.
48633 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48636 implementing getdents64 using getdents syscall, set d_type if
48637 __ASSUME_GETDENTS32_D_TYPE.
48639 2010-09-16 Andreas Schwab <schwab@redhat.com>
48641 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48642 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48644 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48647 * posix/unistd.h: Undo change of feature selection for ftruncate from
48650 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48652 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48655 2010-09-20 Andreas Schwab <schwab@redhat.com>
48657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48661 2010-09-14 Andreas Schwab <schwab@redhat.com>
48663 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48664 variables after CHECK_SP call.
48665 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48667 2010-09-13 Andreas Schwab <schwab@redhat.com>
48668 Ulrich Drepper <drepper@redhat.com>
48670 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48671 re-relocationg ld.so.
48672 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48673 _dl_init_paths call.
48674 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48677 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48679 * resolv/res_init.c (__res_vinit): Count the default server we added.
48681 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48682 Ulrich Drepper <drepper@redhat.com>
48685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48686 (____longjmp_chk): Use %ebx for saving value across system call.
48689 2010-09-06 Andreas Schwab <schwab@redhat.com>
48691 * manual/Makefile: Don't mix pattern rules with normal rules.
48693 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48695 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48697 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48698 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48699 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48700 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48704 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48707 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48708 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48710 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48712 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48713 * sysdeps/x86_64/addmul_1.S: Likewise.
48714 * sysdeps/x86_64/lshift.S: Likewise.
48715 * sysdeps/x86_64/mul_1.S: Likewise.
48716 * sysdeps/x86_64/rshift.S: Likewise.
48717 * sysdeps/x86_64/sub_n.S: Likewise.
48718 * sysdeps/x86_64/submul_1.S: Likewise.
48720 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48722 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48723 Define __sched_param instead of SCHED_* and sched_param when
48724 <bits/sched.h> is included with __need_schedparam defined.
48725 * bits/sched.h [__need_schedparam]
48726 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48727 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48728 (__defined_schedparam): Define to 1.
48729 (__sched_param): New structure, identical to sched_param.
48730 (__need_schedparam): Undefine.
48732 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48735 (epoll_create1): Declare.
48737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48739 2010-08-31 Andreas Schwab <schwab@redhat.com>
48742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48743 shifting retval into place.
48745 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48747 * nis/rpcsvc/nis.h: Update copyright notice.
48748 * nis/rpcsvc/nis.x: Likewise.
48749 * nis/rpcsvc/nis_callback.h: Likewise.
48750 * nis/rpcsvc/nis_callback.x: Likewise.
48751 * nis/rpcsvc/nis_object.x: Likewise.
48752 * nis/rpcsvc/nis_tags.h: Likewise.
48753 * nis/rpcsvc/yp.h: Likewise.
48754 * nis/rpcsvc/yp.x: Likewise.
48755 * nis/rpcsvc/ypupd.h: Likewise.
48756 * nis/yp_xdr.c: Likewise.
48757 * nis/ypupdate_xdr.c: Likewise.
48759 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48760 mainly the body of pmap_getport. Add parameters to specify timeouts.
48761 (pmap_getport): Use __libc_rpc_getport.
48762 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48763 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48764 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48766 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48771 2010-08-27 Roland McGrath <roland@redhat.com>
48773 * sysdeps/i386/i686/multiarch/Makefile
48774 (CFLAGS-varshift.c): New variable.
48776 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48778 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48779 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48783 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48785 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48787 * sysdeps/x86_64/strlen.S: Unroll the loop.
48788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48789 strlen-sse2 strlen-sse2-bsf.
48790 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48791 __strlen_no_bsf if bit_Slow_BSF is set.
48792 (__strlen_sse42): Removed.
48793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48794 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48796 2010-08-25 Roland McGrath <roland@redhat.com>
48798 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48799 * sysdeps/x86_64/multiarch/varshift.c: New file.
48800 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48801 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48802 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48803 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48805 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48808 strlen-sse2 strlen-sse2-bsf.
48809 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48810 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48811 (__strlen_sse2): Removed.
48812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48815 bit_Slow_BSF for Atom.
48816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48817 (index_Slow_BSF): Define.
48818 (HAS_SLOW_BSF): Define.
48820 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48823 * resolv/res_init.c (__res_vinit): When no server address at all
48824 is given default to loopback.
48826 2010-08-24 Roland McGrath <roland@redhat.com>
48828 * configure.in: Remove config-name.h generation.
48829 * configure: Regenerated.
48830 * config-name.in: File removed.
48831 * scripts/config-uname.sh: New file.
48832 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48833 ($(objdir)config-name.h): New target.
48835 * sunrpc/rpc_parse.h: Avoid nested comment.
48837 2010-08-24 Richard Henderson <rth@redhat.com>
48838 Ulrich Drepper <drepper@redhat.com>
48839 H.J. Lu <hongjiu.lu@intel.com>
48841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48843 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48844 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48845 _mm_alignr_epi8 with _mm_loadu_si128.
48846 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48847 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48848 (__m128i_shift_right): Removed.
48849 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48850 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48851 * sysdeps/x86_64/multiarch/varshift.h: New file.
48852 * sysdeps/x86_64/multiarch/varshift.S: New file.
48854 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48856 * configure.in: Move assembler checks to before sysdep dir checking.
48858 2010-08-20 Petr Baudis <pasky@suse.cz>
48860 * LICENSES: Sync the sunrpc license.
48862 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48864 * sunrpc/auth_des.c: Update copyright notice once again.
48865 * sunrpc/auth_none.c: Likewise.
48866 * sunrpc/auth_unix.c: Likewise.
48867 * sunrpc/authdes_prot.c: Likewise.
48868 * sunrpc/authuxprot.c: Likewise.
48869 * sunrpc/bindrsvprt.c: Likewise.
48870 * sunrpc/clnt_gen.c: Likewise.
48871 * sunrpc/clnt_perr.c: Likewise.
48872 * sunrpc/clnt_raw.c: Likewise.
48873 * sunrpc/clnt_simp.c: Likewise.
48874 * sunrpc/clnt_tcp.c: Likewise.
48875 * sunrpc/clnt_udp.c: Likewise.
48876 * sunrpc/clnt_unix.c: Likewise.
48877 * sunrpc/des_crypt.c: Likewise.
48878 * sunrpc/des_soft.c: Likewise.
48879 * sunrpc/get_myaddr.c: Likewise.
48880 * sunrpc/getrpcport.c: Likewise.
48881 * sunrpc/key_call.c: Likewise.
48882 * sunrpc/key_prot.c: Likewise.
48883 * sunrpc/openchild.c: Likewise.
48884 * sunrpc/pm_getmaps.c: Likewise.
48885 * sunrpc/pm_getport.c: Likewise.
48886 * sunrpc/pmap_clnt.c: Likewise.
48887 * sunrpc/pmap_prot.c: Likewise.
48888 * sunrpc/pmap_prot2.c: Likewise.
48889 * sunrpc/pmap_rmt.c: Likewise.
48890 * sunrpc/rpc/auth.h: Likewise.
48891 * sunrpc/rpc/auth_unix.h: Likewise.
48892 * sunrpc/rpc/clnt.h: Likewise.
48893 * sunrpc/rpc/des_crypt.h: Likewise.
48894 * sunrpc/rpc/key_prot.h: Likewise.
48895 * sunrpc/rpc/netdb.h: Likewise.
48896 * sunrpc/rpc/pmap_clnt.h: Likewise.
48897 * sunrpc/rpc/pmap_prot.h: Likewise.
48898 * sunrpc/rpc/pmap_rmt.h: Likewise.
48899 * sunrpc/rpc/rpc.h: Likewise.
48900 * sunrpc/rpc/rpc_des.h: Likewise.
48901 * sunrpc/rpc/rpc_msg.h: Likewise.
48902 * sunrpc/rpc/svc.h: Likewise.
48903 * sunrpc/rpc/svc_auth.h: Likewise.
48904 * sunrpc/rpc/types.h: Likewise.
48905 * sunrpc/rpc/xdr.h: Likewise.
48906 * sunrpc/rpc_clntout.c: Likewise.
48907 * sunrpc/rpc_cmsg.c: Likewise.
48908 * sunrpc/rpc_common.c: Likewise.
48909 * sunrpc/rpc_cout.c: Likewise.
48910 * sunrpc/rpc_dtable.c: Likewise.
48911 * sunrpc/rpc_hout.c: Likewise.
48912 * sunrpc/rpc_main.c: Likewise.
48913 * sunrpc/rpc_parse.c: Likewise.
48914 * sunrpc/rpc_parse.h: Likewise.
48915 * sunrpc/rpc_prot.c: Likewise.
48916 * sunrpc/rpc_sample.c: Likewise.
48917 * sunrpc/rpc_scan.c: Likewise.
48918 * sunrpc/rpc_scan.h: Likewise.
48919 * sunrpc/rpc_svcout.c: Likewise.
48920 * sunrpc/rpc_tblout.c: Likewise.
48921 * sunrpc/rpc_util.c: Likewise.
48922 * sunrpc/rpc_util.h: Likewise.
48923 * sunrpc/rpcinfo.c: Likewise.
48924 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48925 * sunrpc/rpcsvc/key_prot.x: Likewise.
48926 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48927 * sunrpc/rpcsvc/mount.x: Likewise.
48928 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48929 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48930 * sunrpc/rpcsvc/rex.x: Likewise.
48931 * sunrpc/rpcsvc/rstat.x: Likewise.
48932 * sunrpc/rpcsvc/rusers.x: Likewise.
48933 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48934 * sunrpc/rpcsvc/spray.x: Likewise.
48935 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48936 * sunrpc/rtime.c: Likewise.
48937 * sunrpc/svc.c: Likewise.
48938 * sunrpc/svc_auth.c: Likewise.
48939 * sunrpc/svc_authux.c: Likewise.
48940 * sunrpc/svc_raw.c: Likewise.
48941 * sunrpc/svc_run.c: Likewise.
48942 * sunrpc/svc_simple.c: Likewise.
48943 * sunrpc/svc_tcp.c: Likewise.
48944 * sunrpc/svc_udp.c: Likewise.
48945 * sunrpc/svc_unix.c: Likewise.
48946 * sunrpc/svcauth_des.c: Likewise.
48947 * sunrpc/xcrypt.c: Likewise.
48948 * sunrpc/xdr.c: Likewise.
48949 * sunrpc/xdr_array.c: Likewise.
48950 * sunrpc/xdr_float.c: Likewise.
48951 * sunrpc/xdr_mem.c: Likewise.
48952 * sunrpc/xdr_rec.c: Likewise.
48953 * sunrpc/xdr_ref.c: Likewise.
48954 * sunrpc/xdr_sizeof.c: Likewise.
48955 * sunrpc/xdr_stdio.c: Likewise.
48957 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48960 2010-08-19 Andreas Schwab <schwab@redhat.com>
48962 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48964 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48966 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48967 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48968 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48969 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48971 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48973 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48976 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48978 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48979 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48981 2010-07-26 Anton Blanchard <anton@samba.org>
48983 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48984 * malloc/arena.c (heap_trim): Likewise.
48986 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48988 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48991 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48993 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48995 * sysdeps/i386/elf/Makefile: New file.
48997 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48999 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49000 from fanotify_init.
49001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49004 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49006 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49008 * sysdeps/multiarch/strcmp.S: Likewise.
49010 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49012 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49013 strncase_l-nonascii.
49014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49015 Add strncase_l-ssse3.
49016 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49017 * sysdeps/x86_64/strcmp.S: Likewise.
49018 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49019 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49020 * sysdeps/x86_64/strncase.S: New file.
49021 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49022 * sysdeps/x86_64/strncase_l.S: New file.
49023 * string/Makefile (strop-tests): Add strncasecmp.
49024 * string/test-strncasecmp.c: New file.
49026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49029 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49030 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49032 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49034 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49036 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49038 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49039 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49042 2010-05-01 Alan Modra <amodra@gmail.com>
49044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49045 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49046 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49047 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49048 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49049 tidying. Don't tail-call __sigjmp_save for static lib.
49050 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49052 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49053 (CALL_MCOUNT): Add eh info, and nop after bl.
49054 (TAIL_CALL_SYSCALL_ERROR): New macro.
49055 (PSEUDO_RET): Use it.
49056 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49057 Correct save location of integer regs and cr.
49058 (_dl_profile_resolve): Correct cr save location. Delete nops
49059 after bl when SHARED. Reduce cfi size a little by better
49060 placement of cfi directives.
49061 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49062 make a stack frame. Instead use parm save area as a temp.
49063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49064 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49066 Don't make a stack frame for parent, use parm save area.
49067 Increase child stack frame to 112 bytes. Don't save unused reg,
49068 and adjust reg usage. Set up cfi on error recovery and
49069 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49071 (__makecontext): Add dummy nop after jump to exit.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49073 Use correct parm save area and cr save, reduce stack frame.
49074 Correct cfi for possible PSEUDO_RET frame setup.
49075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49076 Branch to local label emitted by PSEUDO_RET rather than
49079 2010-08-12 Andreas Schwab <schwab@redhat.com>
49082 * locale/programs/locale.c (print_assignment): New function.
49083 (show_locale_vars): Use it.
49085 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49087 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49089 (struct statfs64): Likewise.
49090 (_STATFS_F_FLAGS): Define.
49091 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49093 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49094 (ST_VALID): Define locally.
49095 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49096 __statvfs_getflags, use the provided value.
49097 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49098 __ASSUME_STATFS_F_FLAGS.
49100 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49102 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49103 Add sys/fanotify.h.
49104 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49105 fanotify_mask for GLIBC_2.13.
49106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49107 fanotify_init and fanotify_mark.
49108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49109 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49113 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49114 prlimit64 for GLIBC_2.13.
49115 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49125 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49128 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49129 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49131 * nss/Makefile: Add rules to build and run tst-nss-test1.
49132 * shlib-versions: Add entry for libnss_test1.
49133 * nss/nss_test1.c: New file.
49134 * nss/tst-nss-test1.c: New file.
49136 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49137 (__nss_configure_lookup): Set appropriate entry in
49138 __nss_configure_lookup to true.
49139 * nss/nsswitch.h: Define enum with indeces of databases in
49140 databases and __nss_database_custom arrays. Declare
49141 __nss_database_custom.
49142 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49143 to avoid using nscd when custom rules are installed.
49144 * nss/getXXbyYY_r.c: Likewise.
49145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49147 * nss/nss_files/files-parse.c: Whitespace fixes.
49149 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49152 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49153 * posix/fnmatch_loop.c: Likewise.
49155 2010-07-17 Andi Kleen <ak@linux.intel.com>
49157 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49158 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49159 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49160 * Versions.def [GLIBC_2.13]: Add.
49162 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49165 Also fail if tpwd after pwuid call is NULL.
49167 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49169 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49170 when converting to ms.
49172 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49174 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49175 EOPNOTSUPP errors with ENOTTY.
49176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49177 EOPNOTSUPP errors with ENOTTY.
49179 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49182 Add strcasecmp_l-ssse3.
49183 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49185 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49186 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49189 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49191 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49193 * string/Makefile (strop-tests): Add strcasecmp.
49194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49195 strcasecmp_l-nonascii.
49196 (gen-as-const-headers): Add locale-defines.sym.
49197 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49198 * sysdeps/x86_64/strcasecmp.S: New file.
49199 * sysdeps/x86_64/strcasecmp_l.S: New file.
49200 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49201 * sysdeps/x86_64/locale-defines.sym: New file.
49202 * string/test-strcasecmp.c: New file.
49204 * string/test-strcasestr.c: Test both ends of the range of characters.
49205 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49207 2010-07-29 Roland McGrath <roland@redhat.com>
49210 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49212 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49214 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49217 2010-07-27 Andreas Schwab <schwab@redhat.com>
49219 * manual/memory.texi (Malloc Tunable Parameters): Document
49222 2010-07-26 Roland McGrath <roland@redhat.com>
49225 * configure.in (-fgnu89-inline check): Set and substitute
49226 gnu89_inline, not libc_cv_gnu89_inline.
49227 * configure: Regenerated.
49228 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49230 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49232 * string/test-strnlen.c: New file.
49233 * string/Makefile (strop-tests): Add strnlen.
49234 * string/tester.c (test_strnlen): Add a few more test cases.
49235 * string/tst-strlen.c: Better error reporting.
49237 * sysdeps/x86_64/strnlen.S: New file.
49239 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49242 lower-latency instructions.
49244 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49246 * string/test-strcasestr.c: New file.
49247 * string/test-strstr.c: New file.
49248 * string/Makefile (strop-tests): Add strstr and strcasestr.
49249 * string/str-two-way.h: Don't undefine MAX.
49250 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49252 2010-07-21 Andreas Schwab <schwab@redhat.com>
49254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49255 strcasestr-nonascii.
49256 (CFLAGS-strcasestr-nonascii.c): Define.
49257 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49259 Remove unused attribute.
49261 2010-07-20 Roland McGrath <roland@redhat.com>
49263 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49264 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49265 ld.so.cache was broken. With it, there is no way to disable dsocaps
49266 like LD_HWCAP_MASK can disable hwcaps.
49268 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49270 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49272 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49274 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49275 call in strcasestr.
49276 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49277 __strcasestr_sse42_nonascii.
49278 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49279 strcasestr-nonascii.c.
49280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49282 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49285 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49287 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49289 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49294 2010-07-06 Andreas Schwab <schwab@redhat.com>
49297 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49300 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49303 _PC_PIPE_BUF using F_GETPIPE_SZ.
49305 2010-07-05 Roland McGrath <roland@redhat.com>
49307 * manual/arith.texi (Rounding Functions): Fix rint description
49308 implicit in round description.
49310 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49312 * elf/Makefile: Fix linking for a few tests to make recent linker
49315 2010-06-30 Andreas Schwab <schwab@redhat.com>
49317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49318 $(common-objpfx)libc_nonshared.a.
49320 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49322 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49323 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49324 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49325 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49326 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49328 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49329 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49344 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49345 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49346 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49347 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49348 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49349 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49350 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49351 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49352 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49353 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49354 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49355 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49371 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49373 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49374 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49375 * string/memmove.c (memmove): Renamed to ...
49376 (MEMMOVE): ...this. Default to memmove.
49377 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49378 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49381 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49382 mempcpy-ssse3-back memmove-ssse3-back.
49383 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49386 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49387 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49388 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49389 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49390 * sysdeps/x86_64/multiarch/memmove.c: New file.
49391 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49392 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49393 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49394 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49395 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49398 (index_Fast_Copy_Backward): Define.
49399 (HAS_ARCH_FEATURE): Define.
49400 (HAS_FAST_REP_STRING): Define.
49401 (HAS_FAST_COPY_BACKWARD): Define.
49403 2010-06-21 Andreas Schwab <schwab@redhat.com>
49405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49406 Restore proper fallback handling.
49408 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49411 * posix/group_member.c (__group_member): Correct checking loop.
49413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49414 OOM in getpwuid_r correctly. Return error number when the caller
49415 should return, otherwise -1.
49416 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49417 call returning > 0 value.
49418 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49420 2010-06-07 Andreas Schwab <schwab@redhat.com>
49422 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49423 libc_nonshared.a from targets in modules-names.
49425 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49427 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49430 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49435 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49437 2010-06-02 Andreas Schwab <schwab@redhat.com>
49439 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49441 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49452 2010-06-14 Roland McGrath <roland@redhat.com>
49454 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49456 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49458 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49459 __REDIRECT followed by __THROW.
49460 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49461 * posix/getopt.h (getopt): Likewise.
49463 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49465 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49466 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49467 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49469 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49470 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49472 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49476 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49480 Properly check family and model.
49482 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49486 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49488 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49490 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49492 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49495 2010-05-19 Andreas Schwab <schwab@redhat.com>
49497 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49500 2010-05-21 Andreas Schwab <schwab@redhat.com>
49502 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49503 and internal_recvmmsg.
49504 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49505 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49506 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49507 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49509 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49510 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49511 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49513 2010-05-20 Andreas Schwab <schwab@redhat.com>
49515 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49517 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49519 POWER7 optimizations.
49520 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49521 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49523 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49525 * version.h: Update for 2.13 development version.
49527 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49530 exceptions. Return 0.
49532 2010-05-07 Roland McGrath <roland@redhat.com>
49534 * elf/ldconfig.c (main): Add a const.
49536 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49538 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49539 (args_options): Add no-idn option.
49540 (ahosts_keys_int): Add idn_flags to ai_flags.
49541 (parse_option): Handle 'i' option to clear idn_flags.
49543 * malloc/malloc.c (_int_free): Possible race in the most recently
49544 added check. Only act on the data if no current modification
49547 See ChangeLog.17 for earlier changes.