1 2014-08-05 Richard Henderson <rth@redhat.com>
3 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10 Protect libm symbols with IS_IN_libm.
12 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
18 2014-08-04 Will Newton <will.newton@linaro.org>
20 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23 2014-08-04 Mike Frysinger <vapier@gentoo.org>
25 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26 variants for each function.
28 2014-08-04 Roland McGrath <roland@hack.frob.com>
30 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
48 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
50 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
52 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
54 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
56 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
58 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
60 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
62 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
64 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
66 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
68 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
70 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
71 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
72 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
73 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
74 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
75 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
76 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
77 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
78 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
79 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
80 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
81 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
82 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
83 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
84 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
85 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
86 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
87 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
89 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
90 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
92 2014-08-04 Roland McGrath <roland@hack.frob.com>
94 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
95 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
96 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
97 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
98 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
99 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
101 2014-08-04 Roland McGrath <roland@hack.frob.com>
103 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
104 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
105 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
106 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
108 2014-08-04 Roland McGrath <roland@hack.frob.com>
110 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
111 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
112 (__libc_vfork): Define function under this name.
113 (__vfork): Define as an alias.
114 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
115 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
117 2014-08-04 Roland McGrath <roland@hack.frob.com>
119 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
120 that was previously under [RESET_PID].
121 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
123 2014-08-04 Andreas Schwab <schwab@suse.de>
125 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
127 2014-08-03 Mike Frysinger <vapier@gentoo.org>
129 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
132 2014-08-01 Roland McGrath <roland@hack.frob.com>
134 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
136 2014-08-01 Richard Henderon <rth@redhat.com>
138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
139 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
140 typo in exact zero test.
141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
142 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
145 2014-08-01 Roland McGrath <roland@hack.frob.com>
147 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
148 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
149 * sysdeps/arm/sysdep.h: ... here.
150 [!__ASSEMBLER__]: Include <stdint.h>.
152 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
154 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
155 (HAVE_WCTYPE_H): Likewise.
156 (HAVE_ISWCTYPE): Likewise.
157 (ENABLE_NLS): Likewise.
158 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
159 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
161 * posix/regex_internal.c: Check if DEBUG is defined and is
164 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
165 (HAVE_MBSRTOWCS): Likewise.
166 * posix/fnmatch.c: Include string.h unconditionally.
168 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
170 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
173 2014-07-31 Roland McGrath <roland@hack.frob.com>
175 * sysdeps/generic/safe-fatal.h: New file.
176 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
177 * nptl/forward.c: Include it.
178 (__pthread_unwind): Use __safe_fatal as default action, rather
179 than a bogus use of INTERNAL_SYSCALL that could never work.
181 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
182 * configure.ac (libc_cv_builtin_trap): New test.
183 * configure: Regenerated.
184 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
185 (ABORT_INSTRUCTION): Define using __builtin_trap.
187 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
188 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
189 * sysdeps/nptl/nptl-signals.h: New file.
190 * nptl/pthreadP.h: Include <nptl-signals.h>.
192 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
194 * sysdeps/s390/s390-64/utf16-utf32-z9.c
195 (ONE_DIRECTION): Define.
196 * sysdeps/s390/s390-64/utf8-utf16-z9.c
197 (ONE_DIRECTION): Define.
198 * sysdeps/s390/s390-64/utf8-utf32-z9.c
199 (ONE_DIRECTION): Define.
201 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
203 * sysdeps/s390/Makefile: Delete file.
204 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
205 * sysdeps/s390/__longjmp.c: Delete file.
206 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
207 Remove fields __flags and __reserved.
208 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
210 * sysdeps/s390/rtld-__longjmp.c: Delete file.
211 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
212 * sysdeps/s390/rtld-setjmp.S: Likewise.
213 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
214 * sysdeps/s390/s390-32/__longjmp.c: ... here.
215 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
216 * sysdeps/s390/s390-32/setjmp.S: ... here.
218 (__sigsetjmp): Remove setting __flags field.
219 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
220 * sysdeps/s390/s390-64/__longjmp.c: ... here.
221 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
222 * sysdeps/s390/s390-64/setjmp.S: ... here.
224 (__sigsetjmp): Remove setting __flags field.
225 * sysdeps/s390/setjmp.S: Delete file.
226 * sysdeps/s390/sigjmp.c: Likewise.
227 * sysdeps/s390/v1-longjmp.c: Likewise.
228 * sysdeps/s390/v1-setjmp.h: Likewise.
229 * sysdeps/s390/v1-sigjmp.c: Likewise.
230 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
231 Remove v1-longjmp_chk.
232 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
233 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
234 Include debug/longjmp_chk.c and add versioning.
235 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
236 Include nptl/pt-longjmp.c and add versioning.
237 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
238 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
242 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
243 (__getcontext): Remove setting __flags field.
245 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
246 Don't restore upper high grps.
247 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
249 (__swapcontext): Remove setting uc_flags field.
250 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
252 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
254 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
256 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
257 (__getcontext): Remove setting __flags field.
259 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
260 (__swapcontext): Remove setting uc_flags field.
261 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
262 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
263 Remove fields uc_high_gprs and __reserved.
264 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
265 New file with reverted content.
266 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
267 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
269 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
272 2014-07-31 Andreas Schwab <schwab@suse.de>
274 * config.h.in (HAVE_IFUNC): Define to 0.
275 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
278 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
281 memmove-avx-unaligned, memcpy-avx-unaligned and
282 mempcpy-avx-unaligned.
283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
284 Add tests for AVX memcpy functions.
285 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
286 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
288 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
289 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
291 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
292 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
294 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
295 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
296 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
298 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
304 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
307 * manual/llio.texi: Add section about open file description locks.
308 * manual/examples/ofdlocks.c: Example of open file description
310 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
311 F_OFD_SETLK, and F_OFD_SETLKW.
313 2014-07-23 Allan McRae <allan@archlinux.org>
315 * po/es.po: Update Spanish translation from translation project.
317 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
319 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
321 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
324 * sysdeps/arm/dl-machine.h (elf_machine_rela)
325 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
326 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
328 2014-07-17 Joseph Myers <joseph@codesourcery.com>
331 * math/fesetenv.c (__fesetenv)
332 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
333 * math/feupdateenv.c (__feupdateenv)
334 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
336 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
337 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
338 (__ASSUME_SOCKETCALL): Do not define.
340 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
341 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
342 (__ASSUME_SOCKETCALL): Do not define.
343 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
344 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
345 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
346 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
347 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
348 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
349 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
350 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
353 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
354 (__ASSUME_SOCKETCALL): Do not define.
355 (__ASSUME_IPC64): Define unconditionally.
356 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
357 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
358 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
359 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
360 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
361 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
362 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
365 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
366 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
367 (__ASSUME_SOCKETCALL): Do not define.
368 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
369 (__ASSUME_FUTEX_LOCK_PI): Likewise.
370 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
371 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
372 (__ASSUME_REQUEUE_PI): Define unconditionally.
373 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
374 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
375 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
376 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
377 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
378 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
380 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
381 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
382 (__ASSUME_SOCKETCALL): Do not define.
383 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
384 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
385 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
386 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
387 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
388 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
391 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
392 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
393 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
394 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
395 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
396 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
397 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
398 (__ASSUME_GETCPU_SYSCALL): Likewise.
400 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
401 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
402 cases for individual architectures.
403 * sysdeps/gnu/configure: Regenerated.
404 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
405 LIBC_SLIBDIR_RTLDDIR.
406 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
407 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
408 LIBC_SLIBDIR_RTLDDIR.
409 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
411 LIBC_SLIBDIR_RTLDDIR.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
414 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
415 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
417 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
418 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
420 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
421 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
422 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
423 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
425 * sysdeps/aarch64/shlib-versions: Move to ...
426 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
427 * sysdeps/alpha/shlib-versions: Move to ...
428 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
429 * sysdeps/arm/shlib-versions: Move to ...
430 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
431 * sysdeps/hppa/shlib-versions: Move all contents except for
432 libgcc_s entry to ...
433 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
435 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
436 * sysdeps/ia64/shlib-versions: Move to ...
437 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
439 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
440 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
441 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
442 * sysdeps/microblaze/shlib-versions: Move to ...
443 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
444 * sysdeps/mips/shlib-versions: Move to ...
445 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
447 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
448 * sysdeps/tile/shlib-versions: Move to ...
449 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
450 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
452 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
453 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
455 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
457 2014-07-17 Will Newton <will.newton@linaro.org>
459 * sysdeps/arm/bits/atomic.h
460 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
461 (__arch_compare_and_exchange_bool_16_int): Likewise.
462 (__arch_compare_and_exchange_bool_64_int): Likewise.
464 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
467 2014-07-16 Roland McGrath <roland@hack.frob.com>
469 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
470 just Linux configurations. Test empirically that the compiler sets
471 __ARM_EABI__, rather than using the tuple to decide.
472 * sysdeps/arm/preconfigure: Regenerated.
473 * sysdeps/unix/sysv/linux/arm/configure: File removed.
474 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
475 contents appended ...
476 * sysdeps/arm/configure.ac: ... here.
477 * sysdeps/arm/configure: Regenerated.
479 2014-07-15 Roland McGrath <roland@hack.frob.com>
481 * nptl/pthread_kill.c: New file.
482 * nptl/pthread_sigmask.c: New file.
483 * nptl/pthread_sigqueue.c: New file.
485 * sysdeps/nptl/lowlevellock.h: New file.
486 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
487 * sysdeps/nptl/lowlevellock-futex.h: New file.
489 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
490 Remove dead declarations.
492 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
494 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
495 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
497 * sysdeps/x86_64/configure.ac: Likewise.
498 * sysdeps/i386/configure: Regenerated.
499 * sysdeps/x86_64/configure: Likewise.
500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
501 memset-avx2 only if config-cflags-avx2 is yes.
502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
503 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
505 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
506 only if HAVE_AVX2_SUPPORT is defined.
507 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
509 2014-07-14 Alan Modra <amodra@gmail.com>
512 * elf/elf.h (DT_PPC64_NUM): Correct value.
513 * NEWS: Add to fixed bug list.
515 2014-07-13 Jim Meyering <meyering@fb.com>
518 regex: don't deref NULL upon heap allocation failure
519 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
520 failure in one more place.
521 To trigger the segfault, configure grep -with-included-regex,
522 build it, and run these commands:
523 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
525 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
527 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
529 2014-07-11 Richard Henderson <rth@redhat.com>
531 * sysdeps/aarch64/libm-test-ulps: Update.
533 2014-07-10 Florian Weimer <fweimer@redhat.com>
536 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
537 * nptl/allocatestack.c (__nptl_setxid_error): New function.
538 (__nptl_setxid): Initialize error member. Call
540 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
541 * nptl/descr.h (struct xid_command): Add error member.
542 * nptl/tst-setuid3.c: New file.
543 * nptl/Makefile (tests): Add it.
545 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
549 (__lll_trylock): Use __lll_base_trylock.
550 (__lll_cond_trylock): Likewise.
552 2014-07-10 Roland McGrath <roland@hack.frob.com>
554 * nptl/pthread_create.c (start_thread): Use atomic_or and
555 lll_futex_wake directly rather than lll_robust_dead.
556 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
557 (lll_robust_dead): Macro removed.
558 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
559 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
560 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
561 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
562 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
563 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
564 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
565 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
566 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
569 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
570 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
571 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
574 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
575 Use atomic_compare_and_exchange_val_acq directly rather than
577 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
578 (__lll_robust_trylock, lll_robust_trylock): Removed.
579 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
580 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
581 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
582 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
583 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
584 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
585 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
586 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
588 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
589 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
590 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
591 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
594 2014-07-02 Florian Weimer <fweimer@redhat.com>
596 * manual/locale.texi (Locale Names): New section documenting
597 locale name syntax. Adjust menu and node chaining accordingly.
598 (Choosing Locale): Reference Locale Names, Locale Categories.
599 Mention setting LC_ALL=C. Reflect that name syntax is now
601 (Locale Categories): New section title. Reference Locale Names.
602 LC_ALL is an environment variable, but not a category.
603 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
604 description, now in Locale Name. Reference that section. Locale
605 name syntax is now documented.
607 2014-07-02 Florian Weimer <fweimer@redhat.com>
610 * locale/findlocale.c (name_present, valid_locale_name): New
612 (_nl_find_locale): Use the loc_name variable to store name
613 candidates. Call name_present and valid_locale_name to check and
614 validate locale names. Return an error if the locale is invalid.
616 2014-07-02 Florian Weimer <fweimer@redhat.com>
618 * locale/setlocale.c (setlocale): Use strdup for allocating
621 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
625 [!_LIBC && ENABLE_NLS]: Include gettext.h.
626 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
628 [USE_UNLOCKED_IO]: Include unlocked-io.h.
629 [!_LIBC]: Include code for Windows and Cygwin.
630 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
631 Include prototype for int strerror_r.
632 [!_LIBC] (is_open): New function.
633 (flush_stdout): New function.
634 (print_errno_message): Use it.
636 (error_at_line): Likewise.
637 (error_tail) Add function attribute macros. Use
640 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
642 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
644 * io/ftw.c: Include sys/param.h unconditionally.
646 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
649 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
651 (freecache): New function to free CACHE on exit.
653 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
656 2014-07-09 David S. Miller <davem@davemloft.net>
658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
660 * sysdeps/sparc/nptl/internaltypes.h: Delete.
661 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
662 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
663 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
664 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
665 * sysdeps/sparc/nptl/sem_init.c: Likewise.
666 * sysdeps/sparc/nptl/sem_post.c: Likewise.
667 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
668 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
669 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
670 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
671 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
672 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
674 2014-07-09 Andreas Schwab <schwab@suse.de>
676 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
678 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
681 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
683 2014-07-09 Will Newton <will.newton@linaro.org>
685 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
686 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
687 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
688 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
689 * sysdeps/hppa/start.S (_start): Likewise.
691 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
693 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
695 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
698 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
700 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
701 after checking that it is non-NULL.
703 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
705 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707 * sysdeps/powerpc/memmove.c: Remove file.
708 * sysdeps/powerpc/powerpc32/power4/memcopy.h
709 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
711 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
713 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
714 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
715 string memmove instead of removed powerpc one.
717 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
718 [weak_alias]: Fix compiler warning due trailing data.
719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
720 [weak_alias]: Likewise.
721 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
722 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
725 (__libc_ifunc_impl_list): Add memmove functions.
727 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
729 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
731 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
733 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
735 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
737 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
739 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
741 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
743 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
745 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
747 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
749 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
751 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
753 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
755 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
757 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
759 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
761 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
764 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
767 to avoid alignment traps in non-cacheable memory.
768 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
772 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
773 file: multiarch power7 memmove.
774 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
775 multiarch default memmove.
776 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
777 multiarch memove for powerpc32/power4.
779 * string/bcopy.c: Use full path to include memmove.c.
780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
782 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
784 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
787 and memmove implementations.
788 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
789 optimized multiarch memmove for POWER7/powerpc64.
790 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
791 default multiarch memmove for powerpc64.
792 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
793 multiarch for powerpc64.
794 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
795 for POWER7/powerpc64.
796 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
797 memmove for POWER7/powerpc64.
799 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
802 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
803 __ELF_NATIVE_CLASS equal to 64.
805 2014-07-07 Roland McGrath <roland@hack.frob.com>
807 * sysdeps/nptl/lowlevellock.h: File removed.
809 * NEWS: NPTL is no longer an add-on!
810 * nptl/internaltypes.h: Moved ...
811 * sysdeps/nptl/internaltypes.h: ... here.
812 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
813 * sysdeps/nptl/fork.c: Likewise.
814 * sysdeps/nptl/gai_misc.h: Likewise.
815 * sysdeps/nptl/librt-cancellation.c: Likewise.
816 * sysdeps/nptl/jmp-unwind.c: Likewise.
817 * sysdeps/nptl/setxid.h: Likewise.
818 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
819 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
820 * sysdeps/unix/sysv/linux/arm/Implies: New file.
821 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
822 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
823 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
824 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
825 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
826 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
827 * sysdeps/unix/sysv/linux/mips/Implies: New file.
828 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
829 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
830 * sysdeps/unix/sysv/linux/sh/Implies: New file.
831 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
832 * sysdeps/unix/sysv/linux/tile/Implies: New file.
833 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
834 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
835 * nptl/Makeconfig: Moved ...
836 * sysdeps/nptl/Makeconfig: ... here.
837 * nptl/configure: File removed.
838 * nptl/ANNOUNCE: File removed.
839 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
840 * sysdeps/unix/sysv/linux/configure: Regenerated.
842 * nptl/Makefile (routines): Add libc_pthread_init,
843 libc_multiple_threads, register-atfork and unregister-atfork.
844 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
845 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
846 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
847 pthread-pi-defines.sym, structsem.sym.
848 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
849 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
850 [$(subdir) = nptl] (tests): Add tst-setgetname.
851 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
852 * sysdeps/unix/sysv/linux/sigaction.c: Just include
853 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
854 [!LIBC_SIGACTION]: Remove aliases.
855 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
856 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
857 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
858 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
859 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
860 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
864 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
865 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
866 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
867 __libc_allocate_rtsig_private.
868 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
869 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
870 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
871 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
872 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
873 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
874 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
875 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
876 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
877 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
878 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
879 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
880 * nptl/internaltypes.h: ... here.
881 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
882 * sysdeps/nptl/jmp-unwind.c: ... here.
883 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
884 * nptl/libc-lowlevellock.c: ... here.
885 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
886 * nptl/libc_multiple_threads.c: ... here.
887 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
888 * nptl/libc_pthread_init.c: ... here.
889 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
890 * nptl/lowlevelbarrier.sym: ... here.
891 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
892 * nptl/lowlevelcond.sym: ... here.
893 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
894 * nptl/lowlevellock.c: ... here.
895 * nptl/lowlevellock.h: Moved ...
896 * sysdeps/nptl/lowlevellock.h: ... here.
897 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
898 * nptl/lowlevelrobustlock.c: ... here.
899 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
900 * nptl/lowlevelrobustlock.sym: ... here.
901 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
902 * nptl/lowlevelrwlock.sym: ... here.
903 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
904 * nptl/pt-fork.c: ... here.
905 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
906 * nptl/pthread-pi-defines.sym: ... here.
907 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
908 * nptl/pthread_attr_getaffinity.c: ... here.
909 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
910 * nptl/pthread_attr_setaffinity.c: ... here.
911 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
912 * nptl/pthread_mutex_cond_lock.c: ... here.
913 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
915 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
916 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
917 * nptl/pthread_once.c: ... here, replacing old file.
918 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
919 * nptl/pthread_yield.c: ... here.
920 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
921 * nptl/register-atfork.c: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
923 * nptl/sem_post.c: ... here.
924 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
925 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
926 * nptl/sem_timedwait.c: ... here.
927 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
928 * nptl/sem_trywait.c: ... here.
929 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
930 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
931 * nptl/sem_wait.c: ... here.
932 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
933 * nptl/structsem.sym: ... here.
934 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
935 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
936 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
937 * nptl/unregister-atfork.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
939 * nptl/unwindbuf.sym: ... here.
940 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
941 * sysdeps/nptl/fork.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
943 * sysdeps/nptl/fork.h: ... here.
944 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
945 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
946 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
947 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
948 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
949 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
950 * sysdeps/unix/sysv/linux/getpid.c: ... here.
951 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
952 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
953 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
954 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
955 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
956 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
957 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
958 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
959 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
960 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
961 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
962 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
963 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
964 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
965 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
966 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
967 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
968 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
969 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
970 * sysdeps/unix/sysv/linux/raise.c: ... here.
971 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
972 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
973 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
974 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
975 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
976 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
977 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
978 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
979 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
980 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
981 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
982 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
983 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
984 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
985 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
987 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
989 * sysdeps/generic/memcopy.h: Add comment for
990 MEMCPY_OK_FOR_FWD_MEMMOVE.
992 2014-07-04 Will Newton <will.newton@linaro.org>
994 * string/memchr.c: Merge from gnulib.
995 [_LIBC]: Remove conditionals.
996 (__ptr_t): Remove define.
997 (LONG_MAX_32_BITS): Likewise.
998 (LONG_MAX): Likewise.
999 (MEMCHR): Use ANSI prototype and optimize algorithm.
1001 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1003 2014-07-03 Roland McGrath <roland@hack.frob.com>
1005 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1006 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1008 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1009 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1010 in a bare environment with no <stdlib.h> installed.
1011 * sysdeps/nptl/configure: Regenerated.
1013 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1015 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1016 AC_EGREP_CPP for kernel header checks, so they only succeed if
1017 including <linux/version.h> actually works right.
1018 * sysdeps/unix/sysv/linux/configure: Regenerated.
1020 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1021 value so it's not diagnosed as unused.
1023 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1024 thing) with "ifeq ($(subdir),rt)".
1026 2014-07-03 Richard Henderson <rth@redhat.com>
1028 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1029 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1030 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1032 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1033 (math_force_eval): New.
1035 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1036 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1038 * sysdeps/alpha/fpu/s_round.c: Remove file.
1039 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1041 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1042 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1043 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1044 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1045 (_dl_start, print_statistics): Likewise.
1046 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1047 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1049 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1050 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1051 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1052 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1054 (HP_SMALL_TIMING_AVAIL): Define.
1055 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1056 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1057 (HP_SMALL_TIMING_AVAIL): Define.
1058 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1059 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1061 * sysdeps/aarch64/hp-timing.h: New file.
1063 * sysdeps/generic/hp-timing.h: Remove dead comment.
1064 * sysdeps/generic/hp-timing-common.h: New file.
1065 * sysdeps/alpha/hp-timing.h: Include it.
1066 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1067 * sysdeps/i386/i686/hp-timing.h: Likewise.
1068 * sysdeps/ia64/hp-timing.h: Likewise.
1069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1070 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1071 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1072 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1073 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1074 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1077 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1078 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1079 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1080 * elf/rtld.c (_dl_start_final): Likewise.
1081 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1082 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1083 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1084 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1085 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1087 (HP_TIMING_DIFF_INIT): Remove.
1088 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1090 (HP_TIMING_DIFF_INIT): Remove.
1091 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1092 * sysdeps/i386/i686/hp-timing.c: Remove file.
1093 * sysdeps/x86_64/hp-timing.c: Remove file.
1094 * sysdeps/ia64/hp-timing.c: Remove file.
1095 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1096 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1097 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1098 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1100 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1101 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1102 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1103 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1105 (HP_TIMING_ACCUM): Remove.
1106 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1108 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1110 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1111 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1112 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1113 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1115 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1117 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1119 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1121 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1123 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1125 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1127 Sync up with gettext.
1128 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1129 [_MSC_VER]: Include malloc.h
1130 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1131 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1132 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1133 TEMP_FAILURE_RETRY. Cast return of alloca.
1134 [!_LIBC] Call gl_rwlock_init.
1135 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1137 2014-07-02 Roland McGrath <roland@hack.frob.com>
1139 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1140 before checking its value.
1142 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1144 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1146 * debug/memcpy_chk.c: Don't include pagecopy.h.
1147 * debug/mempcpy_chk.c: Likewise.
1148 * string/memcpy.c: Likewise.
1149 * string/memmove.c: Likewise.
1150 * sysdeps/powerpc/memmove.c: Likewise.
1151 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1152 definition of PAGE_COPY_FWD_MAYBE here...
1153 * sysdeps/generic/pagecopy.h: ... from here.
1154 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1156 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1157 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1163 (__libc_ifunc_impl_list): Likewise.
1164 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1165 multiarch strcat for PPC64.
1166 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1167 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1169 2014-07-02 Roland McGrath <roland@hack.frob.com>
1171 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1173 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1175 * intl/loadmsgcat.c: Remove declaration of
1176 get_sysdep_segment_value.
1177 (get_sysdep_segment_value): Use ISO C style.
1178 (_nl_load_domain): Use ISO C style. Get rid of redundant
1179 semicolon. Fix typo and formatting in comment.
1180 (_nl_unload_domain): Use ISO C style.
1182 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1184 2014-07-02 Will Newton <will.newton@linaro.org>
1186 * malloc/obstack.c: Merge from gnulib master.
1187 [HAVE_CONFIG_H]: Remove conditional code.
1188 [!_LIBC]: Include config.h.
1189 [!ELIDE_CODE]: Don't include inttypes.h, include
1190 stdint.h unconditionally.
1191 (print_and_abort): Mark as _Noreturn.
1192 (_obstack_allocated_p): Mark as __attribute_pure__.
1193 (obstack_free): Rename to __obstack_free.
1194 [!__attribute__]: Remove conditional code.
1195 * malloc/obstack.h: Merge from gnulib master.
1196 [__cplusplus]: Move conditional down.
1197 [!__attribute_pure__]: Define __attribute_pure__ here
1198 if it is not already defined.
1199 (_obstack_memory_used): Mark as __attribute_pure__.
1200 [!__obstack_free]: Define as obstack_free.
1201 [__GNUC__]: Remove check for ancient NeXT gcc.
1203 2014-07-02 Will Newton <will.newton@linaro.org>
1204 Paul Eggert <eggert@cs.ucla.edu>
1206 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1208 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1210 * resolv/gethnamaddr.c: Add comment warning that the file is
1213 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1215 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1218 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1219 entry for aio_cancel and aio_cancel64.
1220 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1221 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1222 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1223 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1224 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1225 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1226 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1227 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1228 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1229 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1230 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1231 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1232 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1234 2014-07-01 Roland McGrath <roland@hack.frob.com>
1236 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1237 * nptl/pthread_mutex_lock.c: Likewise.
1238 * nptl/pthread_mutex_timedlock.c: Likewise.
1239 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1241 2014-07-01 Richard henderson <rth@redhat.com>
1243 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1244 (__isnan, __isnanl): Remove.
1245 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1247 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1249 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1251 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1253 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1255 * resolv/nss_dns/dns-host.c (getanswer_r)
1256 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1258 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1261 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1263 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1264 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1266 2014-07-01 Roland McGrath <roland@hack.frob.com>
1268 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1269 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1271 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1272 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1274 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1275 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1277 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1278 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1280 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1281 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1282 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1283 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1285 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1286 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1287 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1288 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1291 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1293 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1300 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1301 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1306 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1307 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1308 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1309 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1312 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1314 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1317 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1318 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1319 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1320 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1321 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1323 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1325 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1326 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1327 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1330 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1334 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1337 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1339 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1341 * sysdeps/arm/libm-test-ulps: Regenerated.
1343 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1344 Roland McGrath <roland@hack.frob.com>
1346 * test-skeleton.c (signal_handler): Kill the whole process group
1347 before killing the child individually.
1348 (main): Report any failure on `setpgid'.
1350 2014-06-30 Roland McGrath <roland@hack.frob.com>
1352 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1353 from _TLS_H to _ARM_NPTL_TLS_H.
1354 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1355 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1357 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1360 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1361 (__expm1l): Return argument unchanged when small but not
1364 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1366 (_FP_UNPACK_RAW_1_P): Likewise.
1367 (_FP_PACK_RAW_1): Likewise.
1368 (_FP_PACK_RAW_1_P): Likewise.
1369 (_FP_MUL_MEAT_1_wide): Likewise.
1370 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1371 (_FP_MUL_MEAT_1_hard): Likewise.
1372 (_FP_DIV_MEAT_1_imm): Likewise.
1373 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1374 (_FP_DIV_MEAT_1_udiv): Likewise.
1375 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1376 (_FP_UNPACK_RAW_2): Likewise.
1377 (_FP_UNPACK_RAW_2_P): Likewise.
1378 (_FP_PACK_RAW_2): Likewise.
1379 (_FP_PACK_RAW_2_P): Likewise.
1380 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1381 (_FP_MUL_MEAT_2_wide): Likewise.
1382 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1383 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1384 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1385 (_FP_MUL_MEAT_2_gmp): Likewise.
1386 (_FP_DIV_MEAT_2_udiv): Likewise.
1387 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1388 (_FP_FRAC_SRL_4): Likewise.
1389 (_FP_FRAC_SRST_4): Likewise.
1390 (_FP_FRAC_SRS_4): Likewise.
1391 (_FP_UNPACK_RAW_4): Likewise.
1392 (_FP_UNPACK_RAW_4_P): Likewise.
1393 (_FP_PACK_RAW_4): Likewise.
1394 (_FP_PACK_RAW_4_P): Likewise.
1395 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1396 (_FP_MUL_MEAT_4_wide): Likewise.
1397 (_FP_MUL_MEAT_4_gmp): Likewise.
1398 (umul_ppppmnnn): Likewise.
1399 (_FP_DIV_MEAT_4_udiv): Likewise.
1400 (__FP_FRAC_ADD_4): Likewise.
1401 (__FP_FRAC_SUB_3): Likewise.
1402 (__FP_FRAC_SUB_4): Likewise.
1403 (__FP_FRAC_DEC_3): Likewise.
1404 (__FP_FRAC_DEC_4): Likewise.
1405 (__FP_FRAC_ADDI_4): Likewise.
1406 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1407 (_FP_FRAC_SRL_8): Likewise.
1408 (_FP_FRAC_SRS_8): Likewise.
1410 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1412 (FP_UNPACK_RAW_EP): Likewise.
1413 (FP_PACK_RAW_E): Likewise.
1414 (FP_PACK_RAW_EP): Likewise.
1415 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1416 (_FP_ISSIGNAN): Likewise.
1417 (_FP_ADD_INTERNAL): Likewise.
1418 (_FP_FMA): Likewise.
1419 (_FP_CMP): Likewise.
1420 (_FP_SQRT): Likewise.
1421 (_FP_TO_INT): Likewise.
1422 (_FP_FROM_INT): Likewise.
1423 (FP_EXTEND): Likewise.
1424 (_FP_DIV_MEAT_N_loop): Likewise.
1426 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1428 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1431 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1435 result with correct sign in case of exponents that produce
1436 overflow except for X very close to 1.
1438 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1440 mktime: merge #if/#ifdef usage from glibc
1441 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1442 as that works with both Glibc's and Gnulib's style.
1443 See thread starting at Siddhesh Poyarekar's bug report at:
1444 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1446 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1448 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1449 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1450 * sysdeps/tile/tilegx/memmove.c: Remove file.
1452 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1454 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1455 abi-name definition.
1456 * scripts/soversions.awk: Do not handle or generate ABI lines.
1457 * shlib-versions: Remove ABI entries.
1458 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1459 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1461 2014-06-27 Roland McGrath <roland@hack.frob.com>
1463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1464 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1465 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1466 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1468 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1471 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1474 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1476 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1478 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1480 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1494 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1511 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1519 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1521 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1524 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1527 Identical file removed.
1528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1530 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1532 Identical file removed.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1537 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1539 Identical file removed.
1540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1543 Identical file removed.
1544 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1547 Identical file removed.
1548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1549 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1551 Identical file removed.
1552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1554 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1556 Identical file removed.
1557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1559 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1561 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1563 Identical file removed.
1564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1566 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1569 Identical file removed.
1570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1572 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1574 Identical file removed.
1575 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1577 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1578 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1579 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1584 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1585 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1586 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1588 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1589 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1590 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1591 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1592 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1594 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1597 * nscd/nscd.c (monitor_child): Return exit status of child
1598 instead of return value from wait syscall.
1600 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1602 * configure.ac (libc_commonpagesize): Remove variable.
1603 (libc_relro_required): Likewise.
1604 (libc_cv_z_relro): Remove configure test.
1605 * configure: Regenerated.
1606 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1608 (libc_relro_required): Likewise.
1609 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1610 (libc_relro_required): Likewise.
1611 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1612 (libc_relro_required): Likewise.
1613 * sysdeps/arm/preconfigure: Regenerated.
1614 * sysdeps/ia64/preconfigure: Remove file.
1615 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1617 (libc_relro_required): Likewise.
1621 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1622 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1623 recompute overflowing results in original rounding mode.
1624 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1625 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1626 recompute overflowing results in original rounding mode.
1627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1628 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1629 recompute overflowing results in original rounding mode.
1630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1631 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1632 recompute overflowing results in original rounding mode.
1633 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1634 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1635 recompute overflowing results in original rounding mode.
1636 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1637 (libc_feholdsetround_ctx): New macro.
1638 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1642 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1644 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1645 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1646 corresponding .cpsetup call.
1648 2014-06-26 Roland McGrath <roland@hack.frob.com>
1650 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1651 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1652 * sysdeps/arm/Makefile [$(subdir) = csu]
1653 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1654 (static-only-routines): Add aeabi_read_tp here.
1655 (shared-only-routines): Add libc-aeabi_read_tp here.
1656 (CFLAGS-libc-start.c): Add -fexceptions here.
1657 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1658 (sysdep_routines, static-only-routines, shared-only-routines):
1659 Don't add to these here.
1660 (CFLAGS-libc-start.c): Likewise.
1662 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1663 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1664 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1665 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1666 * sysdeps/arm/Makefile [$(subdir) = rt]
1667 (librt-sysdep_routines, librt-shared-only-routines):
1668 Append rt-aeabi_unwind_cpp_pr1 here.
1669 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1670 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1671 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1672 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1673 Append nptl-aeabi_unwind_cpp_pr1 here.
1674 (tests): Filter out tst-cleanupx4 here.
1675 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1676 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1677 Don't do those here.
1679 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1681 * scripts/list-sources.sh: Do not handle ports specially.
1683 2014-06-26 Roland McGrath <roland@hack.frob.com>
1685 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1686 * sysdeps/arm/feupdateenv.c: Likewise.
1688 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1690 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1692 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1693 trailing whitespace removed.
1694 * scripts/config.guess: Update to version 2014-03-23.
1695 * scripts/config.sub: Update to version 2014-05-01
1696 * scripts/install-sh: Update to version 2013-12-25.23.
1697 * scripts/move-if-change: Update from gnulib.
1699 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1701 * debug/memmove_chk.c: Remove pagecopy.h include.
1703 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1705 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1706 identical to gnulib mktime.
1708 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1710 * configure.ac: Do not test for machine being rs6000. Do not test
1712 * configure: Regenerated.
1714 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1716 * configure: Regenerated.
1717 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1718 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1719 Remove configure test.
1720 * sysdeps/arm/configure: Regenerated.
1721 * sysdeps/nptl/configure.ac: Do not check
1722 libc_cv_asm_cfi_directives.
1723 * sysdeps/nptl/configure: Regenerated.
1724 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1725 * sysdeps/x86_64/nptl/configure: Remove generated file.
1726 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1728 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1730 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1733 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1734 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1737 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1738 instead of whether it is defined.
1739 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1740 * sysdeps/hppa/dl-machine.h: Likewise.
1741 * sysdeps/ia64/dl-machine.h: Likewise.
1742 * sysdeps/m68k/dl-machine.h: Likewise.
1743 * sysdeps/microblaze/dl-machine.h: Likewise.
1744 * sysdeps/mips/dl-machine.: Likewise.
1745 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1746 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1747 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1748 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1749 * sysdeps/sh/dl-machine.h: Likewise.
1750 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1752 * sysdeps/tile/dl-machine.h: Likewise.
1753 * sysdeps/x86_64/dl-machine.h: Likewise.
1755 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1757 (verify_persistent_db): Likewise.
1759 2014-06-26 Roland McGrath <roland@hack.frob.com>
1761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1762 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1767 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1772 Identical file removed.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1785 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1792 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1796 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1798 Identical file removed.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1800 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1805 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1810 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1819 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1822 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1827 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1833 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1834 * sysdeps/unix/sysv/linux/s390/Versions
1835 (libpthread: GLIBC_2.19): New version set.
1836 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1837 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1838 (librt: GLIBC_2.3.3): New version set.
1839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1840 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1841 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1842 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1843 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1844 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1845 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1847 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1849 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1851 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1853 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1855 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1857 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1859 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1861 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1863 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1865 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1867 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1869 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1875 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1877 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1879 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1881 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1883 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1886 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1887 (__libc_vfork): Define the function under this name.
1888 [!NOT_IN_libc] (__vfork): Make this an alias.
1889 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1891 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1892 (__libc_vfork): Define the function under this name.
1893 [!NOT_IN_libc] (__vfork): Make this an alias.
1894 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1895 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1896 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1897 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1899 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1901 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1902 code that was previously under [RESET_PID].
1903 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1904 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1907 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1908 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1909 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1910 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1911 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1912 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1914 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1915 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1919 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1943 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1944 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1945 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1946 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1947 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1949 2014-06-25 Roland McGrath <roland@hack.frob.com>
1951 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1952 that was previously under [RESET_PID].
1953 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1955 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1958 not undefine and redefine.
1959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1960 [O_CLOEXEC]: Make code unconditional.
1961 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1962 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1963 <kernel-features.h>.
1964 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1965 conditional variable definition.
1966 (shm_open) [O_CLOEXEC]: Make code unconditional.
1967 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1970 * configure.ac (USE_REGPARMS): Don't define here.
1971 * configure: Regenerated.
1972 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1973 * sysdeps/i386/configure: Regenerated.
1975 * nptl/createthread.c: Don't include kernel-features.h.
1976 * nptl/pthread_cancel.c: Likewise.
1977 * nptl/pthread_condattr_setclock.c: Likewise.
1978 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1979 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1980 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1981 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1982 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1983 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1984 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1986 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1987 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1988 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1989 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1990 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1991 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1992 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1993 * nscd/gai.c: Likewise.
1994 * nss/nss_db/db-open.c: Likewise.
1995 * sysdeps/generic/ldsodefs.h: Likewise.
1996 * sysdeps/sh/nptl/tls.h: Likewise.
1997 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1998 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1999 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2000 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2001 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2002 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2003 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2004 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2006 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2007 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2008 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2009 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2010 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2011 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2012 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2013 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2014 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2015 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2016 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2017 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2018 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2019 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2020 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2021 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2024 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2025 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2026 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2027 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2028 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2029 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2030 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2031 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2032 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2033 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2034 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2035 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2036 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2037 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2038 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2039 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2040 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2041 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2042 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2043 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2044 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2045 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2046 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2047 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2048 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2049 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2050 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2051 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2077 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2078 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2079 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2080 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2081 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2083 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2085 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2086 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2087 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2088 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2089 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2090 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2091 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2092 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2095 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2096 * sysdeps/unix/sysv/linux/system.c: Likewise.
2097 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2098 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2101 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2103 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2105 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2106 * configure: Regenerated.
2107 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2109 * configure.ac (base_machine): Do not set specially for particular
2111 * configure: Regenerated.
2112 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2113 settings from configure.ac.
2114 * sysdeps/i386/preconfigure: New file.
2115 * sysdeps/s390/preconfigure: Likewise.
2116 * sysdeps/sh/preconfigure: Likewise.
2117 * sysdeps/sparc/preconfigure: Likewise.
2119 2014-06-25 Roland McGrath <roland@hack.frob.com>
2121 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2122 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2123 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2124 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2125 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2126 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2127 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2128 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2129 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2130 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2131 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2132 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2133 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2134 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2135 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2136 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2137 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2138 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2139 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2141 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2142 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2143 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2144 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2145 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2146 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2147 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2148 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2149 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2150 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2151 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2152 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2153 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2154 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2155 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2156 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2157 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2158 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2159 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2160 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2162 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2166 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2170 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2172 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2174 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2176 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2177 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2178 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2191 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2203 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2213 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2215 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2242 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2244 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2253 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2255 * timezone/checktab.awk: Update from tzcode 2014e.
2256 * timezone/private.h: Likewise.
2257 * timezone/tzfile.h: Likewise.
2258 * timezone/zdump.c: Likewise.
2259 * timezone/zic.c: Likewise.
2261 * sysdeps/unix/sysv/linux/kernel-features.h
2262 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2264 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2265 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2266 Remove conditional code.
2268 2014-06-25 Will Newton <will.newton@linaro.org>
2270 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2271 (_dl_arm_cap_flags): Add HWCAP2 values.
2272 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2273 (_DL_HWCAP_COUNT): Increase to 37.
2274 (_DL_HWCAP_LAST): New define.
2275 (_DL_HWCAP2_LAST): New define.
2276 (_dl_procinfo): Add support for printing
2278 (_dl_string_hwcap): Use _dl_hwcap_string.
2280 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2284 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2286 * README: Do not mention ports directory.
2288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2290 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2291 <kernel-features.h>.
2292 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2293 conditional variable definition.
2294 (__futimes): Update comment.
2295 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2296 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2299 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2300 arguments close to 0.
2301 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2303 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2305 * math/auto-libm-test-in: Add more tests of exp10.
2306 * math/auto-libm-test-out: Regenerated.
2307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2309 * sysdeps/unix/sysv/linux/kernel-features.h
2310 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2311 * sysdeps/unix/sysv/linux/readv.c: Do not include
2312 <kernel-features.h>.
2313 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2314 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2315 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2317 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2319 * sysdeps/unix/sysv/linux/writev.c: Do not include
2320 <kernel-features.h>.
2321 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2322 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2323 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2325 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2328 2014-06-25 Will Newton <will.newton@linaro.org>
2330 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2331 comment changes throughout the file. Remove checks
2332 for HAVE_*_H definitions that are not required.
2333 (__gen_tempname): Call abort if an unknown kind value is
2336 2014-06-25 Andreas Schwab <schwab@suse.de>
2339 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2340 scalbln, scalblnf, scalblnl in libc.
2342 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2345 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2346 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2347 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2349 2014-06-24 Roland McGrath <roland@hack.frob.com>
2351 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2352 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2353 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2354 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2356 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2357 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2359 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2361 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2363 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2364 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2365 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2366 * sysdeps/x86/bits/semaphore.h: ... here.
2367 * sysdeps/x86/nptl/elide.h: Moved ...
2368 * sysdeps/x86/elide.h: ... here.
2369 * sysdeps/x86_64/nptl/Implies: File removed.
2370 * sysdeps/i386/nptl/Implies: File removed.
2372 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2376 return the argument for normal arguments with exponent below -64.
2377 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2379 * math/auto-libm-test-in: Add another test of expm1.
2380 * math/auto-libm-test-out: Regenerated.
2383 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2384 calling __erfcl for arguments at least 16.
2385 * math/auto-libm-test-in: Add more tests of erf.
2386 * math/auto-libm-test-out: Regenerated.
2388 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2389 individual architectures.
2390 * sysdeps/unix/sysv/linux/configure: Regenerated.
2391 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2392 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2393 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2394 (ldd_rewrite_script): Define variable.
2395 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2400 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2401 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2402 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2403 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2404 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2405 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2406 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2407 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2409 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2412 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2413 Rename member __data.d to __data.__elision_data.
2415 2014-06-24 Wilco <wdijkstr@arm.com>
2417 * NEWS: Add 16918 to fixed bug list.
2419 2014-06-24 Wilco <wdijkstr@arm.com>
2421 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2423 2014-06-24 Wilco <wdijkstr@arm.com>
2425 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2426 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2427 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2428 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2429 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2430 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2431 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2434 2014-06-24 Wilco <wdijkstr@arm.com>
2436 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2438 2014-06-24 Wilco <wdijkstr@arm.com>
2440 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2441 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2442 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2443 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2445 2014-06-24 Wilco <wdijkstr@arm.com>
2448 * sysdeps/arm/feupdateenv.c (feupdateenv):
2449 Rewrite to reduce FPSCR accesses and fix return value.
2451 2014-06-24 Wilco <wdijkstr@arm.com>
2453 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2454 Optimize to avoid unnecessary FPSCR writes.
2455 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2456 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2457 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2458 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2460 2014-06-24 Wilco <wdijkstr@arm.com>
2462 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2463 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2464 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2465 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2466 Call libc_fetestexcept_vfp.
2467 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2468 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2469 __SOFTFP__ ifdef so that they can be built for softfp.
2471 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2473 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2474 argument type signed char.
2476 * Makerules (check-abi): Dump diff of symlist if the test
2479 2014-06-23 Roland McGrath <roland@hack.frob.com>
2481 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2484 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2485 Remove unused variable ST.
2487 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2491 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2492 small arguments before calling __expm1.
2493 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2494 small arguments before calling __expm1f.
2495 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2496 small arguments before calling __expm1l.
2497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2499 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2500 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2501 spurious underflow for some cosh tests.
2502 * math/auto-libm-test-out: Regenerated.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2507 (__ieee754_y1): Set errno if return value overflows.
2508 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2509 (__ieee754_y1f): Set errno if return value overflows.
2510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2511 (__ieee754_y1l): Set errno if return value overflows.
2512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2513 (__ieee754_y1l): Set errno if return value overflows.
2514 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2515 * math/auto-libm-test-out: Regenerated.
2517 * math/gen-auto-libm-tests.c: Document use of
2518 ignore-zero-inf-sign.
2519 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2520 (input_flags): Add ignore-zero-inf-sign.
2521 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2522 * math/gen-libm-test.pl (generate_testfile): Handle
2523 ignore-zero-inf-sign.
2524 * math/auto-libm-test-in: Mark some cpow tests with
2525 ignore-zero-inf-sign and some with xfail-rounding.
2526 * math/auto-libm-test-out: Regenerated.
2527 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2532 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2533 overflowing or underflowing operations take place with sign of
2535 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2536 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2537 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2538 (__ieee754_pow): Recompute overflowing and underflowing results in
2539 original rounding mode.
2540 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2541 (__powl_helper): Allow negative argument X and scale negated value
2542 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2543 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2544 overflowing or underflowing operations take place with sign of
2546 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2548 * math/auto-libm-test-in: Add more tests of pow.
2549 * math/auto-libm-test-out: Regenerated.
2550 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2551 (pow_tonearest_test_data): Remove.
2552 (pow_test_tonearest): Likewise.
2553 (pow_towardzero_test_data): Likewise.
2554 (pow_test_towardzero): Likewise.
2555 (pow_downward_test_data): Likewise.
2556 (pow_test_downward): Likewise.
2557 (pow_upward_test_data): Likewise.
2558 (pow_test_upward): Likewise.
2559 (main): Don't call removed functions.
2560 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2563 2014-06-23 Roland McGrath <roland@hack.frob.com>
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2739 2014-06-23 Will Newton <will.newton@linaro.org>
2740 Wilco <wdijkstr@arm.com>
2742 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2743 implementation. Include get-rounding-mode.h.
2744 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2745 [!libc_feholdsetround_noex_ctx]: Define
2746 libc_feholdsetround_noex_ctx.
2747 [!libc_feholdsetround_noexf_ctx]: Define
2748 libc_feholdsetround_noexf_ctx.
2749 [!libc_feholdsetround_noexl_ctx]: Define
2750 libc_feholdsetround_noexl_ctx.
2751 (libc_feholdsetround_ctx): New function.
2752 (libc_feresetround_ctx): New function.
2753 (libc_feholdsetround_noex_ctx): New function.
2754 (libc_feresetround_noex_ctx): New function.
2756 2014-06-23 Roland McGrath <roland@hack.frob.com>
2758 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2759 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2760 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2761 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2762 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2763 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2765 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2766 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2767 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2768 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2769 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2770 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2772 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2777 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2782 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2785 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2794 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2797 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2802 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2806 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2807 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2808 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2813 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2829 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2836 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2840 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2842 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2843 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2844 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2845 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2847 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2849 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2861 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2863 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2865 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2867 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2868 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2869 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2871 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2874 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2875 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2876 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2877 (IPV6_PMTUDISC_INTERFACE): Likewise.
2878 (IPV6_PMTUDISC_OMIT): Likewise.
2880 2014-06-23 Andreas Schwab <schwab@suse.de>
2882 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2883 Remove unused errout label.
2885 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2888 macro: hardware supports Vector Crypto instructions.
2890 2014-06-23 Will Newton <will.newton@linaro.org>
2892 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2893 rather than __builtin_expect.
2895 * elf/dl-lookup.c (undefined_msg): Remove variable.
2896 (_dl_lookup_symbol_x): Replace undefined_msg with string
2899 * elf/dl-lookup.c (do_lookup_unique): New function.
2900 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2901 to a separate function.
2903 2014-06-23 Andreas Schwab <schwab@suse.de>
2906 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2907 before reading the next line.
2909 2014-06-23 Will Newton <will.newton@linaro.org>
2911 * test-skeleton.c (signal_handler): Use printf and %m
2912 rather than perror. Use printf rather than fprintf to
2913 stderr. Use puts rather than fputs to stderr.
2916 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2918 * nscd/nscd.c (thread_info_t): Remove typedef.
2919 (thread_info): Remove variable.
2921 2014-06-21 Allan McRae <allan@archlinux.org>
2923 * NEWS: Mention CVE-2014-4043.
2925 2014-06-20 Roland McGrath <roland@hack.frob.com>
2927 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2928 * nptl/smp.h: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2932 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2933 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2934 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2935 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2937 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2938 * nptl/stack-aliasing.h: New file.
2939 * sysdeps/i386/i686/stack-aliasing.h: New file.
2940 * sysdeps/i386/i686/nptl/Makefile: File removed.
2941 * sysdeps/x86_64/stack-aliasing.h: New file.
2942 * sysdeps/x86_64/nptl/Makefile
2943 (CFLAGS-pthread_create.c): Variable removed.
2945 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2946 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2948 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2949 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2952 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2954 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2955 (__ASSUME_SIGFRAME_V2): Remove macro.
2956 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2957 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2958 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2959 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2960 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2961 Declare as function. Remove conditional macro definitions.
2962 (__default_rt_sa_restorer): Likewise.
2963 (__default_sa_restorer_v1): Remove declaration.
2964 (__default_sa_restorer_v2): Likewise.
2965 (__default_rt_sa_restorer_v1): Likewise.
2966 (__default_rt_sa_restorer_v2): Likewise.
2967 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2968 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2969 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2971 2014-06-20 Roland McGrath <roland@hack.frob.com>
2973 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2974 (libpthread-routines): Add sysdep.
2975 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2976 * sysdeps/unix/sysv/linux/sparc/Versions
2977 (libpthread: GLIBC_2.3.3): New version set.
2978 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2979 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2980 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2982 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2983 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2985 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2987 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2989 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2991 * sysdeps/sparc/nptl/sem_init.c: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2993 * sysdeps/sparc/nptl/sem_post.c: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2995 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2997 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2999 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3000 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3001 (libpthread-routines): Add cpu_relax.
3002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3005 (librt: GLIBC_2.3.3): New version set.
3006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3007 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3008 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3009 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3012 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3015 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3017 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3019 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3021 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3023 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3026 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3030 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3042 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3046 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3049 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3062 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3066 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3068 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3069 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3070 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3071 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3072 * nscd/nscd.c: Likewise.
3073 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3074 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3075 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3076 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3078 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3079 <kernel-features.h>.
3080 (init_mq_netlink): Remove conditional have_sock_cloexec
3081 definitions. Remove code conditional on have_sock_cloexec < 0.
3082 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3083 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3084 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3085 <kernel-features.h>.
3086 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3087 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3089 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3092 Add tests for memset_chk and memset.
3094 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3097 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3100 * elf/tst-dl-iter-static.c: New file.
3101 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3103 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3106 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3108 * sysdeps/unix/sysv/linux/kernel-features.h
3109 (__ASSUME_F_GETOWN_EX): Remove macro.
3110 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3111 <kernel-features.h>.
3112 (miss_F_GETOWN_EX): Remove variable or macro.
3113 (do_fcntl): Do not check miss_F_GETOWN_EX.
3114 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3119 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3120 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3122 * sysdeps/unix/sysv/linux/kernel-features.h
3123 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3124 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3125 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3126 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3128 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3131 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3132 Fix calculation of the symbol's value.
3133 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3134 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3135 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3136 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3137 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3138 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3139 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3140 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3141 (modules-names): Add `tst-armtlsdescmod',
3142 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3143 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3144 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3145 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3146 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3147 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3148 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3149 ($(objpfx)tst-armtlsdescloc): New dependency.
3150 ($(objpfx)tst-armtlsdescextnow): Likewise.
3151 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3152 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3154 * sysdeps/arm/configure: Regenerate.
3156 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3158 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3159 (__atfct_seterrno_2): Likewise.
3160 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3161 <kernel-features.h>.
3162 (__ASSUME_ATFCTS): Do not undefine and redefine.
3163 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3164 (__have_atfcts): Remove conditional definition.
3165 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3166 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3167 unreachable if [__ASSUME_ATFCTS].
3168 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3169 not undefine and redefine.
3170 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3171 <kernel-features.h>.
3172 (faccessat) [__NR_faccessat]: Make code unconditional.
3173 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3174 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3175 <kernel-features.h>.
3176 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3177 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3178 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3179 <kernel-features.h>.
3180 (fchownat) [__NR_fchownat]: Make code unconditional.
3181 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3182 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3183 <kernel-features.h>.
3184 (futimesat) [__NR_futimesat]: Make code unconditional.
3185 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3186 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3187 <kernel-features.h>.
3188 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3189 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3190 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3191 <kernel-features.h>.
3192 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3193 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3194 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3195 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3196 <kernel-features.h>.
3197 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3198 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3199 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3200 <kernel-features.h>.
3201 (linkat) [__NR_linkat]: Make code unconditional.
3202 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3204 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3205 <kernel-features.h>.
3206 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3207 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3208 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3209 <kernel-features.h>.
3210 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3211 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3212 * sysdeps/unix/sysv/linux/openat.c: Do not include
3213 <kernel-features.h>.
3214 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3215 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3216 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3217 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3218 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3219 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3220 <kernel-features.h>.
3221 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3222 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3223 result of INLINE_SYSCALL directly, not via int variable.
3224 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3225 <kernel-features.h>.
3226 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3227 (renameat) [__NR_renameat]: Make code unconditional.
3228 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3230 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3231 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3232 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3233 (__ASSUME_ATFCTS): Do not undefine and redefine.
3234 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3235 <kernel-features.h>.
3236 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3237 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3238 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3239 <kernel-features.h>.
3240 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3241 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3242 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3243 (__ASSUME_ATFCTS): Do not undefine and redefine.
3244 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3245 <kernel-features.h>.
3246 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3247 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3248 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3249 <kernel-features.h>.
3250 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3251 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3253 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3255 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3257 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3260 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3261 constructed tree before returning error.
3262 * posix/bug-regexp36.c: Expand test case.
3264 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3267 * math/libm-test.inc (scalbln_test_date):
3268 Add errno expectations.
3269 * math/w_scalblnf.c: New File.
3270 Add wrapper which checks for setting errno to ERANGE.
3271 Add weak_alias for corresponding scalbln function.
3272 * math/w_scalbln.c: Likewise.
3273 * math/w_scalblnl.c: Likewise.
3274 * math/Makefile (libm-calls): Add w_scalbln.
3275 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3276 Remove weak_alias for corresponding scalbln function.
3277 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3279 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3281 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3282 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3283 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3284 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3285 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3286 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3287 Remove long_double_symbol for scalblnl function in libm, libc.
3288 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3289 Add wrapper which checks for setting errno to ERANGE.
3290 Add long_double_symbol for scalblnl function in libm, libc.
3291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3292 Remove long_double_symbol for scalblnl in libm.
3293 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3294 Add wrapper which checks for setting errno to ERANGE.
3295 Add long_double_symbol for scalblnl function in libm.
3296 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3297 Do not use wrapper because of own implementation.
3299 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3301 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3302 3 bytes for __pad1 for x32.
3303 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3305 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3306 H.J. Lu <hongjiu.lu@intel.com>
3308 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3309 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3310 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3311 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3312 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3314 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3317 * posix/regcomp.c (parse_expression): Deallocate partially
3318 constructed tree before returning error.
3319 * posix/Makefile.c (tests): Add bug-regex36.
3320 (generated): Add bug-regex36.mtrace.
3321 (tests-special): Add $(objpfx)bug-regex36-mem.out
3322 (bug-regex36-ENV): New variable.
3323 ($(objpfx)bug-regex36-mem.out): New rule.
3324 * posix/bug-regex36.c: New file.
3326 2014-06-19 Will Newton <will.newton@linaro.org>
3328 * malloc/malloc.c (systrim): If extra is zero then return
3331 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3333 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3335 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3337 * sysdeps/aarch64/strchr.S: New file.
3339 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3342 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3343 from arguments -2 or below.
3344 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3345 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3347 2014-06-18 Andreas Schwab <schwab@suse.de>
3350 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3351 of a bracket expr not to run off the end of the string.
3352 * posix/Makefile (tests): Add tst-fnmatch3.
3353 * posix/tst-fnmatch3.c: New file.
3355 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3357 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3358 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3359 [$(cross-compiling) = no]: Likewise.
3360 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3361 [$(cross-compiling) = no]: Likewise.
3363 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3367 double, adjusted for any remainder from the high double.
3368 * math/libm-test.inc (nearbyint): Add tests.
3371 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3373 * nptl/sysdeps/powerpc/Makefile: Moved ...
3374 * sysdeps/powerpc/nptl/Makefile: ... here.
3375 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3376 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3377 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3378 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3379 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3380 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3381 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3382 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3383 * nptl/sysdeps/powerpc/tls.h: Moved ...
3384 * sysdeps/powerpc/nptl/tls.h: ... here.
3386 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3389 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3390 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3391 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3392 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3393 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3394 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3395 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3396 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3397 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3399 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3401 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3403 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3405 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3408 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3411 2014-06-16 Florian Weimer <fweimer@redhat.com>
3414 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3415 non-executed part of the test.
3417 2014-06-16 Andreas Schwab <schwab@suse.de>
3419 * string/bits/string2.h (strdup, strndup): Update feature guard.
3421 2014-06-14 David S. Miller <davem@davemloft.net>
3423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3425 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3427 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3428 that was previously under [RESET_PID].
3429 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3431 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3432 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3433 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3435 (__libc_vfork): New strong alias.
3436 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3438 2014-06-14 Andi Kleen <ak@linux.intel.com>
3440 * sysdeps/generic/elide.h: New file.
3442 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3444 * Makefile (installed-headers): Adjust path of pthread.h header.
3446 2014-06-13 Roland McGrath <roland@hack.frob.com>
3448 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3449 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3450 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3451 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3453 * nptl/sysdeps/s390/Makefile: Moved ...
3454 * sysdeps/s390/nptl/Makefile: ... here.
3455 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3456 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3457 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3458 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3459 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3460 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3461 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3462 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3463 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3464 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3465 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3466 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3467 * nptl/sysdeps/s390/tls.h: Moved ...
3468 * sysdeps/s390/nptl/tls.h: ... here.
3470 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3471 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3473 2014-06-13 David S. Miller <davem@davemloft.net>
3475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3482 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3483 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3484 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3485 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3486 Remove RESET_PID cpp guards.
3487 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3488 Remove RESET_PID cpp guards.
3489 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3491 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3493 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3496 2014-06-13 Andi Kleen <ak@linux.intel.com>
3498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3499 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3500 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3501 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3504 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3506 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3507 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3511 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3512 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3516 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3517 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3519 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3520 (pthread_rwlock_rdlock): Add elision.
3521 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3522 (pthread_rwlock_wrlock): Add elision.
3523 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3524 (pthread_rwlock_trywrlock): Add elision.
3525 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3526 (pthread_rwlock_tryrdlock): Add elision.
3527 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3528 (pthread_rwlock_tryrdlock): Add elision unlock.
3529 * nptl/sysdeps/pthread/pthread.h:
3530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3531 (PTHREAD_RWLOCK_INITIALIZER,
3532 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3533 Handle new elision field.
3534 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3535 * sysdeps/arm/nptl/bits/pthreadtypes.h
3536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3537 * sysdeps/sh/nptl/bits/pthreadtypes.h
3538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3539 * sysdeps/tile/nptl/bits/pthreadtypes.h
3540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3541 * sysdeps/a/nptl/bits/pthreadtypes.h
3542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3543 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3545 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3547 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3551 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3553 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3555 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3557 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3559 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3560 (elision_init): Set try_xbegin to zero when no RTM.
3561 * sysdeps/x86/nptl/bits/pthreadtypes.h
3562 (pthread_rwlock_t): Change __pad1 to __rwelision.
3563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3565 2014-06-13 Andi Kleen <ak@linux.intel.com>
3567 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3568 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3569 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3570 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3572 2014-06-13 Meador Inge <meadori@codesourcery.com>
3575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3576 that the cached result has been set before returning it.
3578 2014-06-12 Roland McGrath <roland@hack.frob.com>
3580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3581 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3582 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3583 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3585 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3587 * nptl/sysdeps/sparc/Makefile: Moved ...
3588 * sysdeps/sparc/nptl/Makefile: ... here.
3589 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3590 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3591 * nptl/sysdeps/sparc/tls.h: Moved ...
3592 * sysdeps/sparc/nptl/tls.h: ... here.
3593 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3594 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3595 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3596 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3597 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3598 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3599 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3600 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3601 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3602 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3603 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3604 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3605 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3606 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3607 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3608 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3609 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3612 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3613 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3615 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3618 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3619 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3622 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3624 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3625 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3627 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3628 (struct list_links): Type removed.
3629 (struct thread_node, struct timer_node): Replace struct list_links
3630 with struct list_head.
3631 (list_unlink_ip): Likewise.
3632 * sysdeps/pthread/timer_routines.c
3633 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3634 (list_append, list_insbefore): Likewise.
3635 (list_init): Function removed.
3636 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3637 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3638 * sysdeps/pthread/Makefile: ... here, new file.
3640 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3641 * sysdeps/nptl/Implies: ... here.
3642 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3643 * nptl/sysdeps/pthread/list.h: Moved ...
3644 * include/list.h: ... here.
3645 * nptl/sysdeps/pthread/createthread.c: Moved ...
3646 * nptl/createthread.c: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3648 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3649 * nptl/pt-longjmp.c: ... here.
3650 * nptl/sysdeps/pthread/Makefile: Moved ...
3651 * sysdeps/nptl/Makefile: ... here.
3652 * nptl/sysdeps/pthread/Subdirs: Moved ...
3653 * sysdeps/nptl/Subdirs: ... here.
3654 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3655 * sysdeps/nptl/aio_misc.h: ... here.
3656 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3657 * sysdeps/nptl/bits/libc-lock.h: ... here.
3658 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3659 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3660 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3661 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3662 * nptl/sysdeps/pthread/configure: Moved ...
3663 * sysdeps/nptl/configure: ... here.
3664 * nptl/sysdeps/pthread/configure.ac: Moved ...
3665 * sysdeps/nptl/configure.ac: ... here.
3666 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3667 * sysdeps/nptl/gai_misc.h: ... here.
3668 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3669 * sysdeps/nptl/librt-cancellation.c: ... here.
3670 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3671 * sysdeps/nptl/malloc-machine.h: ... here.
3672 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3673 * sysdeps/nptl/pthread-functions.h: ... here.
3674 * nptl/sysdeps/pthread/pthread.h: Moved ...
3675 * sysdeps/nptl/pthread.h: ... here.
3676 * nptl/sysdeps/pthread/setxid.h: Moved ...
3677 * sysdeps/nptl/setxid.h: ... here.
3678 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3679 * sysdeps/nptl/sigfillset.c: ... here.
3680 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3681 * sysdeps/nptl/tcb-offsets.h: ... here.
3682 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3683 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3684 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3685 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3686 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3687 * sysdeps/pthread/allocalim.h: ... here.
3688 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3689 * sysdeps/pthread/bits/sigthread.h: ... here.
3690 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3691 * sysdeps/pthread/flockfile.c: ... here.
3692 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3693 * sysdeps/pthread/ftrylockfile.c: ... here.
3694 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3695 * sysdeps/pthread/funlockfile.c: ... here.
3696 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3697 * sysdeps/pthread/posix-timer.h: ... here.
3698 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3699 * sysdeps/pthread/timer_create.c: ... here.
3700 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3701 * sysdeps/pthread/timer_delete.c: ... here.
3702 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3703 * sysdeps/pthread/timer_getoverr.c: ... here.
3704 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3705 * sysdeps/pthread/timer_gettime.c: ... here.
3706 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3707 * sysdeps/pthread/timer_routines.c: ... here.
3708 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3709 * sysdeps/pthread/timer_settime.c: ... here.
3710 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3711 * sysdeps/pthread/tst-timer.c: ... here.
3712 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3713 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3715 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3716 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3718 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3719 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3720 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3721 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3722 Update #include target.
3723 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3724 * sysdeps/i386/i686/nptl/Makefile: ... here.
3725 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3726 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3727 Update #include target.
3728 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3729 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3730 * nptl/sysdeps/i386/Makefile: Moved ...
3731 * sysdeps/i386/nptl/Makefile: ... here.
3732 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3733 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3734 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3735 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3736 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3737 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3738 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3739 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3740 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3741 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3742 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3743 * nptl/sysdeps/i386/tls.h: Moved ...
3744 * sysdeps/i386/nptl/tls.h: ... here.
3746 * sysdeps/sh/Makefile [$(subdir) = csu]
3747 (gen-as-const-headers): Add tcb-offsets.sym.
3748 * nptl/sysdeps/sh/Makefile: File removed.
3749 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3750 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3751 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3752 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3753 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3754 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3755 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3756 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3757 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3758 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3759 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3760 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3761 * nptl/sysdeps/sh/tls.h: Moved ...
3762 * sysdeps/sh/nptl/tls.h: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3764 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3766 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3768 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3770 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3772 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3774 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3776 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3778 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3780 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3782 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3784 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3786 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3789 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3792 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3795 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3796 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3797 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3798 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3800 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3801 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3802 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3804 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3806 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3808 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3810 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3812 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3814 * posix/spawn_faction_addopen.c: Include string.h.
3816 2014-06-11 Roland McGrath <roland@hack.frob.com>
3818 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3819 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3820 * nptl/sysdeps/x86_64/Makefile: Moved ...
3821 * sysdeps/x86_64/nptl/Makefile: ... here.
3822 * nptl/sysdeps/x86_64/configure: Moved ...
3823 * sysdeps/x86_64/nptl/configure: ... here.
3824 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3825 * sysdeps/x86_64/nptl/configure.ac: ... here.
3826 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3827 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3828 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3829 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3830 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3831 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3832 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3833 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3834 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3835 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3836 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3837 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3838 * nptl/sysdeps/x86_64/tls.h: Moved ...
3839 * sysdeps/x86_64/nptl/tls.h: ... here.
3840 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3841 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3842 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3843 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3845 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3847 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3851 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3853 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3855 [POSIX] (off_t): Likewise.
3856 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3857 [POSIX] (S_ISBLK): Require macro.
3858 [POSIX] (S_ISCHR): Likewise.
3859 [POSIX] (S_ISDIR): Likewise.
3860 [POSIX] (S_ISFIFO): Likewise.
3861 [POSIX] (S_ISREG): Likewise.
3862 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3864 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3866 [POSIX] (time_t): Likewise.
3867 [POSIX] (timer_t): Likewise.
3869 2014-06-11 Florian Weimer <fweimer@redhat.com>
3872 * posix/spawn_int.h (struct __spawn_action): Make the path string
3873 non-const to support deallocation.
3874 * posix/spawn_faction_addopen.c
3875 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3876 * posix/spawn_faction_destroy.c
3877 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3878 path in all spawn_do_open actions.
3879 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3880 posix_spawn_file_actions_addopen.
3882 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3884 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3885 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3886 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3887 conditional code always true.
3888 (__libc_vfork): New alias.
3890 2014-06-11 Roland McGrath <roland@hack.frob.com>
3892 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3893 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3895 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3897 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3898 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3900 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3901 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3903 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3904 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3906 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3908 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3909 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3910 multiarch strcmp for PPC64.
3911 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3912 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3914 multiarch optimizations.
3915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3916 (__libc_ifunc_impl_list): Likewise.
3918 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 * benchtests/scripts/validate_benchout.py: New script.
3921 * benchtests/Makefile (bench-func): Call it.
3922 * benchtests/scripts/benchout.schema.json: New file.
3924 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3926 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3927 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3928 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3929 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3930 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3931 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3932 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3933 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3934 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3935 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3936 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3937 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3938 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3939 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3940 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3941 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4046 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4051 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4067 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4070 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4075 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4079 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4080 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4081 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4083 2014-06-10 Wilco <wdijkstr@arm.com>
4085 * math/test-fenv-return.c: New file.
4086 * math/Makefile: Add new test test-fenv-return.
4088 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4091 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4093 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4094 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4095 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4096 0.0L for an argument of 1.0L.
4097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4099 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4100 value when x - 1 is zero.
4101 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4102 * sysdeps/i386/fpu/libm-test-ulps: Update.
4103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4105 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4108 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4110 2014-06-09 Roland McGrath <roland@hack.frob.com>
4112 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4113 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4115 2014-06-09 Roland McGrath <roland@hack.frob.com>
4117 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4118 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4120 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4121 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4123 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4124 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4126 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4127 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4129 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4130 if not already defined.
4131 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4132 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4133 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4134 (TLS_INIT_TP): Use it.
4135 (TLS_DEFINE_INIT_TP): New macro.
4136 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4138 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4140 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4142 [POSIX] (IXANY): Likewise.
4143 [POSIX] (OLCUC): Likewise.
4144 [POSIX || POSIX2008] (CBAUD): Do not allow.
4145 [POSIX || POSIX2008] (DEFECHO): Likewise.
4146 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4147 [POSIX || POSIX2008] (ECHOKE): Likewise.
4148 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4149 [POSIX || POSIX2008] (EXTA): Likewise.
4150 [POSIX || POSIX2008] (EXTB): Likewise.
4151 [POSIX || POSIX2008] (FLUSHO): Likewise.
4152 [POSIX || POSIX2008] (LOBLK): Likewise.
4153 [POSIX || POSIX2008] (PENDIN): Likewise.
4154 [POSIX || POSIX2008] (SWTCH): Likewise.
4155 [POSIX || POSIX2008] (VDISCARD): Likewise.
4156 [POSIX || POSIX2008] (VDSUSP): Likewise.
4157 [POSIX || POSIX2008] (VLNEXT): Likewise.
4158 [POSIX || POSIX2008] (VREPRINT): Likewise.
4159 [POSIX || POSIX2008] (VSTATUS): Likewise.
4160 [POSIX || POSIX2008] (VWERASE): Likewise.
4161 (B*): Change to B[0123456789]*.
4162 * conform/data/time.h-data [POSIX || UNIX98]
4163 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4164 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4165 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4166 [POSIX] (tm_*): Do not allow.
4168 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4170 * Makefile (install): Don't set LANGUAGE.
4171 * Makefile.in (install): Likewise.
4172 * assert/Makefile (test-assert-ENV): Remove variable.
4173 (test-assert-perr-ENV): Likewise.
4174 * elf/Makefile (neededtest4-ENV): Likewise.
4175 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4176 [$(cross-compiling) = no]: Don't set LANGUAGE.
4177 * io/ftwtest-sh (LANG): Remove variable.
4178 * libio/Makefile (tst-widetext-ENV): Likewise.
4179 * manual/install.texi (Running make install): Don't refer to
4180 environment settings for make install.
4181 * INSTALL: Regenerated.
4182 * nptl/tst-tls6.sh: Don't set LANG.
4183 * posix/globtest.sh (LANG): Remove variable.
4184 * string/Makefile (tester-ENV): Likewise.
4185 (inl-tester-ENV): Likewise.
4186 (noinl-tester-ENV): Likewise.
4187 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4188 [$(cross-compiling) = no]: Don't set LANGUAGE.
4189 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4190 without explicit environment settings.
4192 2014-06-06 Roland McGrath <roland@hack.frob.com>
4194 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4195 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4197 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4199 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4201 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4202 other files in the crypt directory.
4203 * crypt/crypt.c: Remove duplicate includes.
4204 * crypt/crypt-entry.c: Likewise.
4205 * crypt/crypt_util.c: Likewise.
4207 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4209 * Makeconfig (run-program-env): New variable.
4210 (run-program-prefix-before-env): Likewise.
4211 (run-program-prefix-after-env): Likewise.
4212 (run-program-prefix): Define in terms of new variables.
4213 (built-program-cmd-before-env): New variable.
4214 (built-program-cmd-after-env): Likewise.
4215 (built-program-cmd): Define in terms of new variables.
4216 (test-program-prefix-before-env): New variable.
4217 (test-program-prefix-after-env): Likewise.
4218 (test-program-prefix): Define in terms of new variables.
4219 (test-program-cmd-before-env): New variable.
4220 (test-program-cmd-after-env): Likewise.
4221 (test-program-cmd): Define in terms of new variables.
4222 * Rules (make-test-out): Use $(run-program-env).
4223 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4224 (help): Do not mention environment variables. Mention
4225 --timeoutfactor option.
4226 (timeoutfactor): New variable.
4227 (blacklist_exports): Remove function.
4228 (exports): Remove variable.
4229 (command): Do not include ${exports}.
4230 * manual/install.texi (Configuring and compiling): Do not mention
4231 test wrappers preserving environment variables. Mention that last
4232 assignment to a variable must take precedence.
4233 * INSTALL: Regenerated.
4234 * benchtests/Makefile (run-bench): Use $(run-program-env).
4235 * catgets/Makefile ($(objpfx)test1.cat): Use
4236 $(built-program-cmd-before-env), $(run-program-env) and
4237 $(built-program-cmd-after-env).
4238 ($(objpfx)test2.cat): Do not specify environment variables
4240 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4241 $(run-program-env) and $(built-program-cmd-after-env).
4242 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4243 $(run-program-env) and $(test-program-cmd-after-env).
4244 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4246 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4247 run_program_env and test_program_cmd_after_env arguments.
4248 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4249 * elf/tst-pathopt.sh: Use run_program_env argument.
4250 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4251 $(test-wrapper-env) and $(run-program-env).
4252 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4253 run_program_env arguments.
4254 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4255 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4256 $(test-program-prefix-before-env), $(run-program-env) and
4257 $(test-program-prefix-after-env).
4258 ($(objpfx)tst-gettext2.out): Likewise.
4259 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4260 run_program_env and test_program_prefix_after_env arguments.
4261 * intl/tst-gettext2.sh: Likewise.
4262 * intl/tst-gettext4.sh: Do not set environment variables
4264 * intl/tst-gettext6.sh: Likewise.
4265 * intl/tst-translit.sh: Likewise.
4266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4267 $(test-program-prefix-before-env), $(run-program-env) and
4268 $(test-program-prefix-after-env).
4269 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4270 run_program_env and test_program_prefix_after_env arguments.
4271 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4272 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4273 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4274 explicitly with each use of ${test_wrapper_env}.
4275 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4276 $(test-program-prefix-before-env), $(run-program-env) and
4277 $(test-program-prefix-after-env).
4278 * posix/tst-getconf.sh: Do not set environment variables
4280 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4281 run_program_env and test_program_prefix_after_env arguments.
4282 * stdio-common/tst-printf.sh: Do not set environment variables
4284 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4285 $(test-program-prefix-before-env), $(run-program-env) and
4286 $(test-program-prefix-after-env).
4287 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4288 run_program_env and test_program_prefix_after_env arguments.
4289 Split $test calls into $test_pre and $test.
4290 * timezone/Makefile (build-testdata): Use
4291 $(built-program-cmd-before-env), $(run-program-env) and
4292 $(built-program-cmd-after-env).
4294 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4296 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4297 strlen for non SHARED builds.
4299 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4301 * nptl/allocatestack.c (check_list): Inlined function...
4302 (__reclaim_stacks): ... here.
4304 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4307 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4310 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4312 * Rules (make-test-out): Include
4313 LOCPATH=$(common-objpfx)localedata in default environment.
4314 * debug/Makefile (tst-chk1-ENV): Remove variable.
4315 (tst-chk2-ENV): Likewise.
4316 (tst-chk3-ENV): Likewise.
4317 (tst-chk4-ENV): Likewise.
4318 (tst-chk5-ENV): Likewise.
4319 (tst-chk6-ENV): Likewise.
4320 (tst-lfschk1-ENV): Likewise.
4321 (tst-lfschk2-ENV): Likewise.
4322 (tst-lfschk3-ENV): Likewise.
4323 (tst-lfschk4-ENV): Likewise.
4324 (tst-lfschk5-ENV): Likewise.
4325 (tst-lfschk6-ENV): Likewise.
4326 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4327 (tst-iconv7-ENV): Likewise.
4328 * intl/Makefile (LOCPATH-ENV): Likewise.
4329 (tst-codeset-ENV): Likewise.
4330 (tst-gettext3-ENV): Likewise.
4331 (tst-gettext5-ENV): Likewise.
4332 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4333 (tst-fopenloc-ENV): Likewise.
4334 (tst-fgetws-ENV): Remove variable.
4335 (tst-ungetwc1-ENV): Likewise.
4336 (tst-ungetwc2-ENV): Likewise.
4337 (bug-ungetwc2-ENV): Likewise.
4338 (tst-swscanf-ENV): Likewise.
4339 (bug-ftell-ENV): Likewise.
4340 (tst-fgetwc-ENV): Likewise.
4341 (tst-fseek-ENV): Likewise.
4342 (tst-ftell-partial-wide-ENV): Likewise.
4343 (tst-ftell-active-handler-ENV): Likewise.
4344 (tst-ftell-append-ENV): Likewise.
4345 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4346 (tst-regexloc-ENV): Likewise.
4347 (bug-regex1-ENV): Likewise.
4348 (tst-regex-ENV): Likewise.
4349 (tst-regex2-ENV): Likewise.
4350 (bug-regex5-ENV): Likewise.
4351 (bug-regex6-ENV): Likewise.
4352 (bug-regex17-ENV): Likewise.
4353 (bug-regex18-ENV): Likewise.
4354 (bug-regex19-ENV): Likewise.
4355 (bug-regex20-ENV): Likewise.
4356 (bug-regex22-ENV): Likewise.
4357 (bug-regex23-ENV): Likewise.
4358 (bug-regex25-ENV): Likewise.
4359 (bug-regex26-ENV): Likewise.
4360 (bug-regex30-ENV): Likewise.
4361 (bug-regex32-ENV): Likewise.
4362 (bug-regex33-ENV): Likewise.
4363 (bug-regex34-ENV): Likewise.
4364 (bug-regex35-ENV): Likewise.
4365 (tst-rxspencer-ENV): Likewise.
4366 (tst-rxspencer-no-utf8-ENV): Likewise.
4367 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4368 (tst-sscanf-ENV): Likewise.
4369 (tst-swprintf-ENV): Likewise.
4370 (tst-swscanf-ENV): Likewise.
4371 (test-vfprintf-ENV): Likewise.
4372 (scanf13-ENV): Likewise.
4373 (bug14-ENV): Likewise.
4374 (tst-grouping-ENV): Likewise.
4375 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4376 (tst-strtod3-ENV): Likewise.
4377 (tst-strtod4-ENV): Likewise.
4378 (tst-strtod5-ENV): Likewise.
4379 (testmb2-ENV): Likewise./
4380 * string/Makefile (tst-strxfrm-ENV): Likewise.
4381 (tst-strxfrm2-ENV): Likewise.
4382 (bug-strcoll1-ENV): Likewise.
4383 (test-strcasecmp-ENV): Likewise.
4384 (test-strncasecmp-ENV): Likewise.
4385 * time/Makefile (tst-strptime-ENV): Likewise.
4386 (tst-ftime_l-ENV): Likewise.
4387 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4388 (tst-mbrtowc-ENV): Likewise.
4389 (tst-wcrtomb-ENV): Likewise.
4390 (tst-mbrtowc2-ENV): Likewise.
4391 (tst-c16c32-1-ENV): Likewise.
4392 (tst-mbsnrtowcs-ENV): Likewise.
4394 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4396 * manual/resource.texi (How to get information about the memory
4397 subsystem?): Fix typo.
4398 Reported by Peon de la Parra Ivan <peon@keba.com>
4400 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4403 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4404 (pthread_spin_lock): Branch out of spin loop to proper location.
4405 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4406 (pthread_spin_lock): Likewise.
4408 * nptl/tst-spin4.c: New test.
4409 * nptl/Makefile (tests): Add tst-spin4.
4411 2014-06-03 Andreas Schwab <schwab@suse.de>
4414 * resolv/res_send.c (send_dg): Reload file descriptor after
4417 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4419 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4421 2014-06-03 Richard Henderson <rth@redhat.com>
4423 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4424 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4425 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4426 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4427 in the SAVE_PID block.
4428 (__libc_vfork): New alias.
4429 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4431 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4432 child in registers, not on the stack. Remove RESET_PID conditionals.
4433 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4435 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4437 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4439 2014-06-03 Wilco <wdijkstr@arm.com>
4441 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4442 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4443 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4444 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4445 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4448 2014-06-03 Wilco <wdijkstr@arm.com>
4450 * sysdeps/aarch64/fpu/math_private.h
4451 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4452 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4453 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4454 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4457 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4459 * crypt/crypt-private.h: Include ufc-crypt.h.
4460 (__b64_from_24bit): Declare extern.
4461 * crypt/crypt_util.c(__b64_from_24bit): New function.
4462 (b64t): New static const variable.
4463 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4464 (b64t): Remove variable.
4465 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4466 * crypt/sha256-crypt.c: Include crypt-private.h.
4467 (b64t): Remove variable.
4468 (__sha256_crypt_r): Remove b64_from_24bit and replace
4469 with __b64_from_24bit.
4470 * crypt/sha512-crypt.c: Likewise.
4472 2014-06-02 Roland McGrath <roland@hack.frob.com>
4474 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4475 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4476 Label the code __libc_vfork rather than __vfork.
4477 [!NOT_IN_libc] (vfork): Define as weak alias.
4478 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4479 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4480 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4482 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4484 * malloc/malloc.c (malloc_info): Fix format specifier for
4487 2014-06-02 Wilco <wdijkstr@arm.com>
4489 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4492 2014-06-02 Wilco <wdijkstr@arm.com>
4495 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4496 Rewrite to reduce FPCR/FPSR accesses.
4498 2014-06-01 David S. Miller <davem@davemloft.net>
4500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4502 2014-05-31 David S. Miller <davem@davemloft.net>
4504 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4505 to occur in round to nearest mode when |x| >= 2.0
4507 2014-05-30 Richard Henderson <rth@twiddle.net>
4509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4510 (PSEUDO_RET_NOERRNO): Remove.
4511 (ret): Don't redefine.
4512 (ret_NOERRNO): Define in terms of ret.
4513 (ret_ERRVAL): Likewise.
4515 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4516 use of PSEUDO_RET; perform the error check directly.
4518 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4520 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4523 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4525 * malloc/malloc (malloc_info): Fix formatting.
4527 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4528 Roland McGrath <roland@hack.frob.com>
4530 * malloc/malloc (malloc_info): Also print mmapped statistics.
4532 2014-05-30 Roland McGrath <roland@hack.frob.com>
4534 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4535 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4537 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4539 * malloc/malloc.c (malloc_info): Inline mi_arena.
4541 2014-05-29 Richard Henderson <rth@twiddle.net>
4543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4544 Remove comma before expanding ASM_ARGS_##nr.
4545 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4546 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4548 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4549 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4550 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4551 (ASM_ARGS_1): Add leading comma.
4553 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4554 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4555 to __errno_location.
4556 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4557 Remove the expected plt for __errno_location.
4559 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4560 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4564 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4565 it and break it down.
4566 (DOCARGS_0, DOCARGS_1): Do nothing.
4567 (DOCARGS_2): Update to store into the new stack frame.
4568 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4569 (UNDOCARGS_1): Update to restore from the new stack frame.
4570 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4571 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4574 (SINGLE_THREAD_P): New parameter for result regno.
4575 (PSEUDO): Update to match; use cbz instead of beq.
4577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4578 Use ENTRY to define the _nocancel entry point. Share the syscall
4579 and syscall error check paths with the cancel path.
4582 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4583 whitespace; tabs before and after asm mnemonics.
4585 2014-05-29 Eric Wong <normalperson@yhbt.net>
4588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4589 Call fstat64 or stat64 internally, depending on arguments passed.
4590 Replace stat buffer argument with file descriptor argument.
4591 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4592 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4593 Pass fd to __internal_statvfs instead of calling fstat64.
4594 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4595 Pass fd to __internal_statvfs64 instead of calling fstat64.
4596 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4597 Pass -1 to __internal_statvfs instead of calling stat64.
4598 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4599 Pass -1 to __internal_statvfs64 instead of calling stat64.
4601 2014-05-28 Roland McGrath <roland@hack.frob.com>
4603 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4604 that was previously under [RESET_PID].
4605 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4607 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4608 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4610 2014-05-27 Roland McGrath <roland@hack.frob.com>
4612 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4614 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4615 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4617 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4621 2014-05-27 Andreas Schwab <schwab@suse.de>
4623 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4625 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4626 * elf/rtld.c (init_tls, dl_main): Likewise.
4627 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4628 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4629 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4630 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4631 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4632 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4633 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4634 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4635 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4636 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4637 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4638 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4639 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4640 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4641 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4642 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4643 * sysdeps/generic/tls.h: Update description.
4645 2014-05-27 Will Newton <will.newton@linaro.org>
4648 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4649 and restore r2 rather than just restoring.
4651 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 * libio/tst-ftell-append.c: New test case.
4655 * libio/Makefile (tests): Add test case.
4656 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4658 * libio/wfileops.c (do_ftell_wide): Likewise.
4660 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4664 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4668 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4669 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4671 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4673 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4681 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4683 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4686 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4689 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4691 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4693 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4695 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4697 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4698 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4700 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4723 conditional [RESET_PID].
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4727 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4732 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4733 (__libc_vfork): New strong alias.
4734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4741 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4742 (__libc_vfork): New strong alias.
4743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4745 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4748 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4750 * malloc/malloc.c (mi_arena): New function.
4751 (malloc_info): Remove nested function mi_arena. Call non-nosted
4754 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4758 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4759 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4760 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4761 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4762 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4763 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4764 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4766 2014-05-26 Andreas Schwab <schwab@suse.de>
4769 * locale/programs/repertoire.c (repertoire_read): Add slash
4770 between I18NPATH element and file name.
4771 * locale/programs/locfile.c (locfile_read): Likewise.
4773 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4775 * nptl/pthread_mutexattr_settype.c
4776 (__pthread_mutexattr_settype):
4777 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4779 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4781 * nptl/tst-mutex5 (do_test):
4782 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4784 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4786 * benchtests/README: Document 'init' directive.
4787 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4789 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4790 (parse_file): Recognize 'init' directive.
4792 2014-05-26 Kyle McMartin <kyle@redhat.com>
4795 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4796 alignment of struct pthread.
4798 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4801 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4802 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4803 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4804 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4806 2014-05-25 Richard Henderson <rth@twiddle.net>
4808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4809 (SINGLE_THREAD_P_PIC): Remove.
4810 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4811 (SINGLE_THREAD_P_PIC): Remove.
4813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4814 branch to syscall error ...
4816 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4817 from __local_syscall_error to .Lsyscall_error.
4818 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4819 (SYSCALL_ERROR): Update label name.
4821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4822 Do not use DOARGS/UNDOARGS.
4823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4824 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4825 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4826 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4827 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4829 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4832 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4833 define if !NOT_IN_libc.
4834 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4835 define with non-default symbol versions.
4837 2014-05-23 Richard Henderson <rth@twiddle.net>
4839 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4840 (vfork, __vfork): Define via compat_symbol.
4842 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4843 [!HAVE_IFUNC] (vfork_compat): Remove.
4844 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4846 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4849 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4850 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4853 2014-05-23 Richard Henderson <rth@twiddle.net>
4855 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4856 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4857 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4858 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4860 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4861 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4862 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4863 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4864 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4865 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4866 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4867 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4868 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4869 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4870 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4871 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4872 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4873 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4877 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4878 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4879 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4881 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4883 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4884 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4885 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4886 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4887 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4888 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4889 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4890 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4891 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4892 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4893 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4894 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4895 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4896 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4897 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4898 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4899 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4900 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4901 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4902 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4903 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4904 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4905 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4906 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4907 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4909 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4911 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4913 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4914 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4915 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4917 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4918 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4919 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4920 before exiting on error.
4921 (__libc_vfork): New strong alias.
4922 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4923 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4925 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4926 that was previously under [RESET_PID].
4927 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4929 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4931 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4934 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4935 value when x - 1 is zero.
4936 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4937 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4938 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4939 0.0L for an argument of 1.0L.
4940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4942 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4943 value when x - 1 is zero.
4944 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4945 * sysdeps/i386/fpu/libm-test-ulps: Update.
4946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4950 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4951 alphasort and versionsort.
4953 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4957 [copysignf]: Likewise.
4959 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4961 * crypt/md5-crypt.c: Fix formatting.
4963 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4965 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4966 (b64_from_24bit): New function.
4968 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4971 libc_hidden_builtin_def to ifunc.
4972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4973 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4975 2014-05-21 Roland McGrath <roland@hack.frob.com>
4977 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4978 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4980 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4982 * nscd/Depend (linuxthreads): Remove.
4984 * resolv/Depend (linuxthreads): Remove.
4985 * rt/Depend (linuxthreads): Remove.
4987 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4988 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4989 $(common-objpfx)elf/.
4990 (link-libc-before-gnulib): Likewise.
4991 (elfobjdir): Remove variable.
4992 * Makefile (install): Use $(elf-objpfx) instead of
4993 $(common-objpfx)elf/.
4994 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4996 (link-libc-deps): Likewise.
4997 ($(common-objpfx)libc.so): Likewise.
4998 ($(common-objpfx)linkobj/libc.so): Likewise.
4999 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5000 instead of $(common-objpfx)elf/.
5001 (symbolic-link-list): Likewise.
5002 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5003 [$(cross-compiling) = no]: Likewise.
5004 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5006 (static-gnulib-arch): Likewise.
5007 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5008 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5009 $(common-objpfx)elf/.
5011 2014-05-21 Richard Henderson <rth@redhat.com>
5013 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5014 (SINGLE_THREAD_P): Use the correct width load. Fold
5015 into the ldr offset.
5017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5018 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5020 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5022 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5023 (libgcc_s_resume): Use __attribute_used__.
5024 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5027 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5030 optimization when used with float constants.
5032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5034 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5037 * locale/nl_langinfo_l.c: Make direct reference to every
5038 _nl_current_CATEGORY symbol.
5039 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5040 (tests-static): Add tst-langinfo-static.
5041 (tests-special): Add tst-langinfo-static.out.
5042 ($(objpfx)tst-langinfo.out): Redirect output.
5043 ($(objpfx)tst-langinfo-static.out): New.
5044 * localedata/tst-langinfo.sh: Send output to stdout.
5045 * localedata/tst-langinfo-static.c: New file.
5048 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5049 when the shift amount is modulo the limb size.
5051 2014-05-20 Richard Henderson <rth@redhat.com>
5054 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5055 Change type of sa_flags from unsigned int to int.
5058 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5060 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5062 2014-05-20 Will Newton <will.newton@linaro.org>
5064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5065 Test the return value of the system call in the nocancel case.
5067 2014-05-20 Will Newton <will.newton@linaro.org>
5068 Yvan Roux <yvan.roux@linaro.org>
5070 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5071 #include of asm/ptrace.h.
5072 (PTRACE_GET_THREAD_AREA): Remove #undef.
5073 (PTRACE_GETHBPREGS): Likewise.
5074 (PTRACE_SETHBPREGS): Likewise.
5075 (struct user_regs_struct): New structure.
5076 (struct user_fpsimd_struct): New structure.
5077 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5078 #include of asm/ptrace.h and second #include of sys/user.h.
5079 (PTRACE_GET_THREAD_AREA): Remove #undef.
5080 (PTRACE_GETHBPREGS): Likewise.
5081 (PTRACE_SETHBPREGS): Likewise.
5082 (ELF_NGREG): Use new struct user_regs_struct.
5083 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5085 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5090 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5093 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5094 membar to avoid block loads/stores to overlap previous stores.
5096 2014-05-17 Richard Henderson <rth@redhat.com>
5098 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5099 Create the __##syscall_name##_nocancel entry point.
5100 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5101 Remove; let the sysdep-cancel.h code create it.
5103 2014-05-17 David S. Miller <davem@davemloft.net>
5105 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5106 Protect with __USE_GNU.
5107 (TIOCSET_TEMPT): Likewise.
5108 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5109 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5110 these are already provided in bits/ioctl-types.h
5112 2014-05-16 Roland McGrath <roland@hack.frob.com>
5114 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5115 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5117 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5118 Use wait4 regardless of [__NR_waitpid].
5120 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5123 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5124 (_FP_NANSIGN_Q): Set the quiet bit.
5126 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5128 * benchtests/Makefile
5129 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5130 not $(common-objpfx)math/libm.so.
5131 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5132 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5133 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5134 $(common-objpfx)dlfcn/libdl.so.
5135 ($(objpfx)tst-audit8): Depend on $(libm), not
5136 $(common-objpfx)math/libm.so.
5137 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5138 not $(common-objpfx)dlfcn/libdl.so.
5140 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5141 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5142 [$(build-shared) = yes].
5143 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5144 $(common-objpfx)nptl/libpthread.so.
5145 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5146 $(common-objpfx)math/libm.so$(libm.so-version) or
5147 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5148 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5149 $(common-objpfx)dlfcn/libdl.so.
5150 * setjmp/Makefile (link-libm): Remove variable.
5151 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5152 * stdio-common/Makefile (link-libm): Remove variable.
5153 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5154 * stdlib/Makefile (link-libm): Remove variable.
5155 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5156 ($(objpfx)tst-strtod-round): Likewise.
5157 ($(objpfx)tst-tininess): Likewise.
5158 ($(objpfx)tst-strtod-underflow): Likewise.
5159 ($(objpfx)tst-strtod6): Likewise.
5160 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5161 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5162 $(common-objpfx)dlfcn/libdl.so.
5164 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5167 BSD terminal modes definitions.
5169 2014-05-16 Roland McGrath <roland@hack.frob.com>
5171 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5172 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5174 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5175 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5176 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5177 Don't do #include_next.
5178 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5179 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5180 Don't do #include_next.
5181 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5182 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5183 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5184 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5186 2014-05-16 Allan McRae <allan@archlinux.org>
5188 * po/sv.po: Update Swedish translation from translation project.
5190 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5193 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5196 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5197 errno if the TIOCGPTN ioctl fails with an error different than
5199 * login/tst-ptsname.c: New file.
5200 * login/Makefile (tests): Add tst-ptsname.
5203 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5206 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5210 herrno to return EAI_AGAIN.
5212 2014-05-14 Roland McGrath <roland@hack.frob.com>
5214 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5215 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5216 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5217 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5218 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5219 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5220 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5221 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5223 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5224 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5225 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5226 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5227 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5229 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5230 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5231 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5232 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5233 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5234 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5235 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5237 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5241 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5243 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5250 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5252 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5274 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5279 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5281 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5289 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5291 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5300 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5305 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5306 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5307 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5308 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5309 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5310 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5311 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5312 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5313 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5314 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5316 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5318 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5320 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5322 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5324 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5326 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5328 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5330 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5332 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5333 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5334 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5336 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5337 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5339 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5340 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5341 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5343 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5349 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5352 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5357 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5360 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5362 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5364 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5366 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5369 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5374 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5377 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5386 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5388 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5391 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5392 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5394 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5397 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5401 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5402 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5405 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5406 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5407 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5409 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5411 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5412 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5414 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5419 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5420 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5422 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5425 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5429 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5431 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5433 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5437 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5440 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5443 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5446 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5450 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5451 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5452 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5453 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5458 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5462 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5465 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5466 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5470 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5471 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5473 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5476 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5478 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5480 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5481 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5482 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5484 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5486 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5488 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5489 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5490 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5492 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5493 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5495 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5496 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5498 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5499 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5500 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5501 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5502 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5504 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5506 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5512 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5514 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5519 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5522 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5524 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5526 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5531 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5540 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5542 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5544 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5545 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5546 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5548 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5550 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5553 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5554 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5555 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5556 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5558 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5559 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5561 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5562 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5563 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5564 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5565 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5566 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5567 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5572 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5573 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5575 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5577 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5578 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5579 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5580 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5581 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5582 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5583 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5584 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5585 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5609 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5610 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5613 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5615 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5616 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5617 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5619 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5620 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5622 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5623 that was previously under [RESET_PID].
5624 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5625 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5626 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5628 * sysdeps/i386/nptl/Implies: New file.
5629 * sysdeps/x86_64/nptl/Implies: New file.
5630 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5631 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5632 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5633 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5635 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5636 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5637 (__libc_vfork): New strong alias.
5638 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5639 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5641 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5642 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5643 (__libc_vfork): New strong alias.
5644 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5645 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5647 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5648 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5649 (__libc_vfork): New strong alias.
5650 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5651 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5652 * nptl/pt-vfork.c: New file.
5653 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5654 (libpthread: GLIBC_2.20): New version set (empty).
5656 2014-05-14 Will Newton <will.newton@linaro.org>
5658 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5661 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5664 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5665 arguments with exponent 65 or above.
5666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5667 arguments 0x1p113L or above.
5668 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5669 to arguments 0x1p107L or above.
5670 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5671 positive arguments with exponent 65 or above.
5672 * math/auto-libm-test-in: Add more tests of log1p.
5673 * math/auto-libm-test-out: Regenerated.
5676 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5677 non-finite arguments is +0.
5678 * math/s_cacosf.c (__cacosf): Likewise.
5679 * math/s_cacosl.c (__cacosl): Likewise.
5680 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5685 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5687 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5688 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5689 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5690 for explicit high bit of mantissa when testing for argument equal
5692 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5693 * sysdeps/i386/fpu/libm-test-ulps: Update.
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5698 (__erf): Scale by 16 instead of 8 in potentially underflowing
5699 case. Ensure exception if result actually underflows.
5700 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5701 (__erff): Scale by 16 instead of 8 in potentially underflowing
5702 case. Ensure exception if result actually underflows.
5703 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5704 (efx8): Remove variable.
5705 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5706 case. Ensure exception if result actually underflows.
5707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5708 (efx8): Remove variable.
5709 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5710 case. Ensure exception if result actually underflows.
5711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5712 (efx8): Remove variable.
5713 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5714 case. Ensure exception if result actually underflows.
5715 * math/auto-libm-test-in: Add more tests of erf.
5716 * math/auto-libm-test-out: Regenerated.
5718 2014-05-14 Andreas Schwab <schwab@suse.de>
5720 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5721 Remove code conditionalized on USE___THREAD.
5723 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5724 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5727 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5730 Define unconditionally.
5731 (__ASSUME_O_CLOEXEC): Likewise.
5732 (__ASSUME_SOCK_CLOEXEC): Likewise.
5733 (__ASSUME_IN_NONBLOCK): Likewise.
5734 (__ASSUME_PIPE2): Likewise.
5735 (__ASSUME_EVENTFD2): Likewise.
5736 (__ASSUME_SIGNALFD4): Likewise.
5737 (__ASSUME_DUP3): Likewise.
5738 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5739 (__ASSUME_DUP3): Do not define.
5740 (__ASSUME_EVENTFD2): Likewise.
5741 (__ASSUME_IN_NONBLOCK): Likewise.
5742 (__ASSUME_O_CLOEXEC): Likewise.
5743 (__ASSUME_PIPE2): Likewise.
5744 (__ASSUME_SIGNALFD4): Likewise.
5745 (__ASSUME_SOCK_CLOEXEC): Likewise.
5746 (__ASSUME_UTIMES): Undefine.
5747 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5748 (__ASSUME_UTIMES): Do not define.
5749 (__ASSUME_O_CLOEXEC): Likewise.
5750 (__ASSUME_SOCK_CLOEXEC): Likewise.
5751 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5752 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5754 (__ASSUME_PIPE2): Likewise.
5755 (__ASSUME_EVENTFD2): Likewise.
5756 (__ASSUME_SIGNALFD4): Likewise.
5757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5758 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5760 (__ASSUME_EVENTFD2): Likewise.
5761 (__ASSUME_SIGNALFD4): Likewise.
5762 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5763 (__ASSUME_32BITUIDS): Likewise.
5764 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5765 (__ASSUME_IPC64): Likewise.
5766 (__ASSUME_ST_INO_64_BIT): Likewise.
5767 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5768 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5769 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5770 (__ASSUME_UTIMES): Do not define.
5771 (__ASSUME_PSELECT): Likewise.
5772 (__ASSUME_PPOLL): Likewise.
5773 (__ASSUME_O_CLOEXEC): Likewise.
5774 (__ASSUME_SOCK_CLOEXEC): Likewise.
5775 (__ASSUME_IN_NONBLOCK): Likewise.
5776 (__ASSUME_PIPE2): Likewise.
5777 (__ASSUME_EVENTFD2): Likewise.
5778 (__ASSUME_SIGNALFD4): Likewise.
5779 (__ASSUME_DUP3): Likewise.
5780 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5781 (__ASSUME_UTIMES): Likewise.
5782 (__ASSUME_O_CLOEXEC): Likewise.
5783 (__ASSUME_SOCK_CLOEXEC): Likewise.
5784 (__ASSUME_IN_NONBLOCK): Likewise.
5785 (__ASSUME_PIPE2): Likewise.
5786 (__ASSUME_EVENTFD2): Likewise.
5787 (__ASSUME_SIGNALFD4): Likewise.
5788 (__ASSUME_DUP3): Likewise.
5789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5790 (__ASSUME_UTIMES): Likewise.
5791 (__ASSUME_O_CLOEXEC): Likewise.
5792 (__ASSUME_SOCK_CLOEXEC): Likewise.
5793 (__ASSUME_IN_NONBLOCK): Likewise.
5794 (__ASSUME_PIPE2): Likewise.
5795 (__ASSUME_EVENTFD2): Likewise.
5796 (__ASSUME_SIGNALFD4): Likewise.
5797 (__ASSUME_DUP3): Likewise.
5798 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5800 (__ASSUME_UTIMES): Likewise.
5801 (__ASSUME_EVENTFD2): Likewise.
5802 (__ASSUME_SIGNALFD4): Likewise.
5803 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5804 (__ASSUME_O_CLOEXEC): Likewise.
5805 (__ASSUME_SOCK_CLOEXEC): Likewise.
5806 (__ASSUME_IN_NONBLOCK): Likewise.
5807 (__ASSUME_PIPE2): Likewise.
5808 (__ASSUME_EVENTFD2): Likewise.
5809 (__ASSUME_SIGNALFD4): Likewise.
5810 (__ASSUME_DUP3): Likewise.
5811 (__ASSUME_UTIMES): Undefine.
5813 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5814 feclearexcept. Remove symbol versioning code.
5815 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5816 symbol versioning code.
5817 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5818 symbol versioning code.
5819 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5820 feupdateenv. Remove symbol versioning code.
5821 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5822 fegetexceptflag. Remove symbol versioning code.
5823 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5824 fesetexceptflag. Remove symbol versioning code.
5825 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5826 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5827 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5828 (__posix_fadvise64_l32): Remove prototype.
5829 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5832 2014-05-13 Roland McGrath <roland@hack.frob.com>
5834 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5835 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5836 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5837 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5839 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5841 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5842 current working directory
5844 2014-05-13 Roland McGrath <roland@hack.frob.com>
5846 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5847 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5848 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5849 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5850 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5851 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5852 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5865 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5879 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5880 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5881 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5882 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5883 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5884 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5885 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5886 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5887 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5889 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5890 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5892 * sysdeps/unix/sysv/linux/arm/Makefile
5893 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5894 Add rt-aeabi_unwind_cpp_pr1.
5895 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5896 Add nptl-aeabi_unwind_cpp_pr1.
5897 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5898 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5899 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5900 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5901 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5902 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5904 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5905 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5906 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5907 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5909 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5910 Deconditionalize the code that was previously under [RESET_PID].
5911 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5913 * sysdeps/generic/exit-thread.h: New file.
5914 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5915 * include/unistd.h (__exit_thread): Remove declaration.
5916 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5917 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5918 * csu/libc-start.c: Include <exit-thread.h>.
5919 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5920 * nptl/pthread_create.c: Include <exit-thread.h>.
5921 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5922 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5923 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5924 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5925 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5926 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5927 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5928 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5929 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5930 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5931 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5932 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5933 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5934 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5935 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5936 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5937 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5939 2014-05-13 Andreas Schwab <schwab@suse.de>
5941 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5943 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5945 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5946 (__ASSUME_UTIMES): Do not condition on kernel version.
5947 (__ASSUME_PSELECT): Define unconditionally.
5948 (__ASSUME_PPOLL): Likewise.
5949 (__ASSUME_ATFCTS): Likewise.
5950 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5951 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5952 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5953 (__ASSUME_UTIMENSAT): Define unconditionally.
5954 (__ASSUME_PRIVATE_FUTEX): Likewise.
5955 (__ASSUME_FALLOCATE): Likewise.
5956 (__ASSUME_O_CLOEXEC): Likewise.
5957 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5958 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5959 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5960 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5961 (__ASSUME_IN_NONBLOCK): Likewise.
5962 (__ASSUME_PIPE2): Likewise.
5963 (__ASSUME_EVENTFD2): Likewise.
5964 (__ASSUME_SIGNALFD4): Likewise.
5965 (__ASSUME_DUP3): Likewise.
5966 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5967 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5968 (__ASSUME_AT_RANDOM): Likewise.
5969 (__ASSUME_PREADV): Likewise.
5970 (__ASSUME_PWRITEV): Likewise.
5971 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5972 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5973 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5975 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5976 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5977 (__ASSUME_O_CLOEXEC): Define unconditionally.
5978 (__ASSUME_PSELECT): Do not undefine conditionally.
5979 (__ASSUME_PPOLL): Likewise.
5980 (__ASSUME_ATFCTS): Likewise.
5981 (__ASSUME_SET_ROBUST_LIST): Likewise.
5982 (__ASSUME_UTIMENSAT): Likewise.
5983 (__ASSUME_FDATASYNC): Define unconditionally.
5984 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5985 (__ASSUME_SIGFRAME_V2): Likewise.
5986 )__ASSUME_EVENTFD2): Likewise.
5987 (__ASSUME_SIGNALFD4): Likewise.
5988 (__ASSUME_PSELECT): Do not undefine conditionally.
5989 (__ASSUME_PPOLL): Likewise.
5990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5991 (__ASSUME_PSELECT): Define unconditionally.
5992 (__ASSUME_PPOLL): Likewise.
5993 (__ASSUME_O_CLOEXEC): Likewise.
5994 (__ASSUME_SOCK_CLOEXEC): Likewise.
5995 (__ASSUME_IN_NONBLOCK): Likewise.
5996 (__ASSUME_PIPE2): Likewise.
5997 (__ASSUME_EVENTFD2): Likewise.
5998 (__ASSUME_SIGNALFD4): Likewise.
5999 (__ASSUME_DUP3): Likewise.
6000 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6001 (__ASSUME_O_CLOEXEC): Likewise.
6002 (__ASSUME_SOCK_CLOEXEC): Likewise.
6003 (__ASSUME_IN_NONBLOCK): Likewise.
6004 (__ASSUME_PIPE2): Likewise.
6005 (__ASSUME_EVENTFD2): Likewise.
6006 (__ASSUME_SIGNALFD4): Likewise.
6007 (__ASSUME_DUP3): Likewise.
6008 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6009 (__ASSUME_EVENTFD2): Likewise.
6010 (__ASSUME_SIGNALFD4): Likewise.
6011 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6013 2014-05-12 Andreas Schwab <schwab@suse.de>
6016 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6017 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6018 than maximum RPC packet size.
6019 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6020 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6021 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6022 (_nss_nis_getservbyport_r): Likewise.
6024 2014-05-12 Will Newton <will.newton@linaro.org>
6026 * malloc/Makefile (tests): Add tst-mallopt.
6027 * malloc/tst-mallopt.c: New file.
6029 2014-05-09 Roland McGrath <roland@hack.frob.com>
6031 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6032 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6034 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6037 (tst-tlsmod6.so): Likewise.
6039 2014-05-09 Roland McGrath <roland@hack.frob.com>
6041 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6043 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6046 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6047 and <dl-procinfo.h>.
6048 (__fegetenv): Save SSE state in envp->__eip if supported.
6049 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6050 envp->__eip if supported.
6051 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6052 and <dl-procinfo.h>.
6053 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6054 __data_offset and __data_selector in environment to 0. Set SSE
6056 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6058 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6060 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6062 2014-05-09 Will Newton <will.newton@linaro.org>
6064 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6065 and libc_relro_required for ARM.
6066 * sysdeps/arm/preconfigure: Regenerate.
6068 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6069 Stefan Liebler <stli@linux.vnet.ibm.com>
6071 * config.make.in (enable-lock-elision): New Makefile variable.
6072 * configure.ac: Likewise.
6073 * configure: Regenerate.
6074 * sysdeps/s390/configure.ac:
6075 Add check for gcc transactions support.
6076 * sysdeps/s390/configure: Regenerate.
6077 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6078 Build elision files if enabled.
6079 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6080 Add lock elision support for s390.
6081 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6082 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6083 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6084 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6085 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6086 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6087 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6091 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6093 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6095 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6096 (__lll_timedlock_elision, __lll_lock_elision)
6097 (__lll_unlock_elision, __lll_trylock_elision)
6098 (lll_timedlock_elision, lll_lock_elision)
6099 (lll_unlock_elision, lll_trylock_elision): Add.
6100 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6101 (pthread_mutex_t): Add lock elision support for s390.
6103 2014-05-14 Wilco <wdijkstr@arm.com>
6105 * sysdeps/arm/fclrexcpt.c: Cleanup.
6106 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6107 * sysdeps/arm/feenablxcpt.c: Cleanup.
6108 * sysdeps/arm/fegetenv.c: Cleanup.
6109 * sysdeps/arm/fegetexcept.c: Cleanup.
6110 * sysdeps/arm/fegetround.c: Cleanup.
6111 * sysdeps/arm/feholdexcpt.c: Cleanup.
6112 * sysdeps/arm/fesetenv.c: Cleanup.
6113 * sysdeps/arm/fesetround.c: Cleanup.
6114 * sysdeps/arm/feupdateenv.c: Cleanup.
6115 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6116 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6117 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6118 * sysdeps/arm/ftestexcept.c: Cleanup.
6119 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6120 * sysdeps/arm/setfpucw.c: Cleanup.
6122 2014-05-09 Will Newton <will.newton@linaro.org>
6124 * sysdeps/arm/armv7/strcmp.S: New file.
6125 * NEWS: Mention addition of ARMv7 optimized strcmp.
6127 2014-05-08 Roland McGrath <roland@hack.frob.com>
6129 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6130 look for %.ac rather than %.in.
6132 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6133 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6134 * sysdeps/mach/hurd/configure: Regenerated.
6135 * sysdeps/unix/sysv/linux/configure: Regenerated.
6137 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6139 2014-05-07 Steve Ellcey <sellcey@mips.com>
6142 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6146 2014-05-07 Andreas Schwab <schwab@suse.de>
6148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6149 when skipping over non-matching result from nscd.
6151 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6154 * nptl/sockperf.c (client): Check socket return value.
6157 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6158 nscd security class.
6160 2014-05-06 Roland McGrath <roland@hack.frob.com>
6162 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6163 * sysdeps/arm/unwind.h: ... here.
6165 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6168 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6171 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6173 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6174 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6175 multiarch strncpy for PPC64.
6176 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6177 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6179 multiarch optimizations.
6180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6181 (__libc_ifunc_impl_list): Likewise.
6182 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6184 multiarch stpncpy for PPC64.
6185 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6186 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6188 2014-05-06 Andreas Schwab <schwab@suse.de>
6191 * gmon/mcount.c (_MCOUNT_DECL): Use
6192 atomic_compare_and_exchange_bool_acq instead of
6193 catomic_compare_and_exchange_bool_acq.
6195 2014-05-05 Roland McGrath <roland@hack.frob.com>
6197 * elf/Makefile (others, install-bin): Remove pldd.
6198 (pldd-modules): Variable removed.
6199 ($(objpfx)pldd): Target removed.
6200 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6201 (others, install-bin): Append pldd here.
6202 ($(objpfx)pldd): New target.
6204 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6205 to 0, so the first #if test emitted later doesn't see it undefined.
6206 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6207 * sysdeps/gnu/errlist.c: Regenerated.
6209 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6212 [libc_hidden_builtin_def]: Define to empty value.
6213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6214 [libc_hidden_builtin_def]: Likewise.
6215 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6216 [libc_hidden_builtin_def]: Likewise.
6217 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6218 [libc_hidden_builtin_def]: Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6220 __redirect_memcpy and define ifunc as default hidden symbol.
6221 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6222 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6224 2014-05-04 Adam Conrad <adconrad@0c3.net>
6226 * locale/iso-4217.def: Reintroduce XDR currency.
6228 2014-05-04 Allan McRae <allan@archlinux.org>
6230 * po/eo.po: Update Esperanto translation from translation project.
6232 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6234 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6235 and FEATURE_INDEX_MAX to 1.
6236 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6238 2014-05-01 Steve Ellcey <sellcey@mips.com>
6240 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6241 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6242 * iconvdata/big5.c (ONE_DIRECTION): Define.
6243 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6244 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6245 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6246 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6247 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6248 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6249 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6250 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6251 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6252 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6253 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6254 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6255 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6256 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6257 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6258 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6259 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6260 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6261 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6262 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6263 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6264 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6265 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6266 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6267 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6268 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6269 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6270 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6271 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6272 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6273 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6274 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6275 * iconvdata/johab.c (ONE_DIRECTION): Define.
6276 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6277 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6278 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6279 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6280 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6281 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6282 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6283 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6284 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6285 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6287 2014-05-01 Roland McGrath <roland@hack.frob.com>
6289 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6290 (_IO_JUMPS_OFFSET): Define to 0.
6292 * nptl/sysdeps/pthread/bits/libc-lock.h
6293 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6294 (__libc_lock_define_initialized_recursive): Always define using
6295 initializer. Modern compilers treat uninitialized (implicit zero) and
6296 explicit zero initializers the same (i.e. put the datum in bss).
6298 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6300 * nscd/nscd-client.h: Include <string.h>.
6302 2014-05-01 David S. Miller <davem@davemloft.net>
6305 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6306 multiple zero bytes exist at the end of a string.
6307 Reported by Aurelien Jarno <aurelien@aurel32.net>
6309 * string/test-strcmp.c (check): Add explicit test for situations where
6310 there are multiple zero bytes after the first.
6312 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6315 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6316 when compiling wprintf.
6317 * stdio-common/tstdiomisc.c (t3): New function.
6320 2014-05-01 Steve Ellcey <sellcey@mips.com>
6322 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6323 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6324 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6325 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6327 2014-05-01 Steve Ellcey <sellcey@mips.com>
6329 * stdlib/longlong.h: Updated from GCC.
6331 2014-05-01 Will Newton <will.newton@linaro.org>
6332 Bernard Ogden <bernie.ogden@linaro.org>
6334 * NEWS: Update fixed bug list.
6337 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6339 2014-04-30 David S. Miller <davem@davemloft.net>
6341 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6342 (libc_feholdexcept_setround_sparc_ctx): New function.
6343 (libc_fesetenv_sparc_ctx): Likewise.
6344 (libc_feupdateenv_sparc_ctx): Likewise.
6345 (libc_feholdsetround_sparc_ctx): Likewise.
6346 (libc_feholdexcept_setround_ctx): Define.
6347 (libc_feholdexcept_setroundf_ctx): Likewise.
6348 (libc_feholdexcept_setroundl_ctx): Likewise.
6349 (libc_fesetenv_ctx): Likewise.
6350 (libc_fesetenvf_ctx): Likewise.
6351 (libc_fesetenvl_ctx): Likewise.
6352 (libc_feupdateenv_ctx): Likewise.
6353 (libc_feupdateenvf_ctx): Likewise.
6354 (libc_feupdateenvl_ctx): Likewise.
6355 (libc_feresetround_ctx): Likewise.
6356 (libc_feresetroundf_ctx): Likewise.
6357 (libc_feresetroundl_ctx): Likewise.
6358 (libc_feholdsetround_ctx): Likewise.
6359 (libc_feholdsetroundf_ctx): Likewise.
6360 (libc_feholdsetroundl_ctx): Likewise.
6362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6363 with __USE_GNU instead of XOPEN cpp guards.
6365 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6369 with XOPEN cpp guards.
6371 2014-04-30 Julian Brown <julian@codesourcery.com>
6374 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6377 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6380 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6382 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6383 * sysdeps/unix/sysv/linux/configure: Regenerated.
6384 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6385 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6386 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6387 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6388 * README: Update reference to required Linux kernel version.
6389 * manual/install.texi (Linux): Update reference to required Linux
6390 kernel headers version.
6391 * INSTALL: Regenerated.
6393 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6395 [POSIX] (limits.h): Likewise.
6396 [POSIX] (math.h): Likewise.
6397 [POSIX] (sys/wait.h): Likewise.
6398 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6400 [POSIX] (stddef.h): Do not allow header inclusion.
6402 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6404 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6406 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6408 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6409 Return immediately after lll_futex_wake.
6411 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6414 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6416 (datahead_init_pos): Call datahead_init_common early.
6417 (datahead_init_neg): Likewise.
6419 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6420 datahead_init_neg): New functions.
6421 * nscd/aicache.c (addhstaiX): Use them.
6422 * nscd/grpcache.c (cache_addgr): Likewise.
6423 * nscd/hstcache.c (cache_addhst): Likewise.
6424 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6425 * nscd/netgroupcache.c (do_notfound): Likewise.
6426 (addgetnetgrentX): Likewise.
6427 (addinnetgrX): Likewise.
6428 * nscd/pwdcache.c (cache_addpw): Likewise.
6429 * nscd/servicescache.c (cache_addserv): Likewise.
6431 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6432 Atsushi Onoe <atsushi@onoe.org>
6437 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6438 one response is valid.
6439 * resolv/res_send.c (send_dg): Check for validity of other
6440 response if the current response is a referral.
6442 2014-04-29 Steve Ellcey <sellcey@mips.com>
6444 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6446 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6449 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6450 Always divide by positive zero when computing -Inf result.
6451 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6452 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6454 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6456 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6457 FPSCR if value do not change.
6458 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6459 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6460 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6461 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6462 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6463 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6466 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6468 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6469 * sysdeps/unix/sysv/linux/hppa: Move directory from
6470 ports/systeps/unix/sysv/linux/hppa.
6471 * README: Update listing for hppa-*-linux-gnu.
6473 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6476 * manual/stdio.texi (Hook functions): Fix types of stream hook
6479 * socket/sys/socket.h: Fix typo in comment.
6481 2014-04-28 Wilco <wdijkstr@arm.com>
6483 * sysdeps/arm/fenv_private.h: New file.
6484 * sysdeps/arm/math_private.h: New file.
6485 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6487 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6489 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6491 (La_x86_64_retval): Likewise.
6493 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6495 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6496 fpsr if value didn't change.
6497 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6498 to fpcr if value didn't change.
6499 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6500 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6501 fpsr or fpcr if value didn't change.
6502 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6503 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6504 fpcr if value didn't change.
6505 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6506 to fpsr if value didn't change.
6508 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6510 * nptl/tst-sem3.c: Use test-skeleton.c
6511 (main): Rename to do_test. Use return instead of
6513 * nptl/tst-sem4.c: Use test-skeleton.c
6514 (main): Rename to do_test.
6516 2014-04-22 David S. Miller <davem@davemloft.net>
6518 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6519 (struct sigaction): New struct member __glibc_reserved0, change
6520 type of sa_flags to int.
6522 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6524 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6525 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6527 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6530 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6532 2014-04-22 Will Newton <will.newton@linaro.org>
6533 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6535 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6536 (__longjmp): Add longjmp and longjmp_target SystemTap
6538 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6539 (__sigsetjmp): Add setjmp SystemTap probe.
6541 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6543 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6546 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6550 * sysdeps/powerpc/fpu/fenv_private.h
6551 (libc_feholdexcept_setroundl_ctx): Define to
6552 libc_feholdexcept_setround_ppc_ctx.
6553 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6554 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6555 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6556 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6558 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6560 * sysdeps/aarch64/math-tests.h: New file.
6562 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6564 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6567 Check and set bit_AVX2_Usable.
6568 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6570 (bit_AVX2): Likewise.
6571 (index_AVX2_Usable): Likewise.
6572 (CPUID_AVX2): Likewise.
6573 (HAS_AVX2): Likewise.
6575 2014-04-17 Will Newton <will.newton@linaro.org>
6577 * manual/setjmp.texi (System V contexts): Add note that
6578 calling setcontext on a context created by a call to a
6579 signal handler is undefined. Update text to note that
6580 setcontext from a signal handler is possible but not
6584 * stdlib/tst-setcontext.c: Include signal.h.
6585 (main): Check that the signal stack before and
6586 after swapcontext is the same.
6588 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6589 Re-implement to restore registers in user code and avoid
6590 rt_sigreturn system call.
6592 2014-04-17 Wilco <wdijkstr@arm.com>
6594 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6595 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6596 * math/test-fenv.c: Skip exception trap tests on targets which only
6597 support non-stop mode.
6599 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6600 Wilco Dijkstra <wilco.dijkstra@arm.com>
6602 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6603 (libc_feholdsetround_aarch64_ctx)
6604 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6605 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6606 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6607 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6608 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6609 (libc_feresetround_noexl_ctx): Define.
6611 2014-04-16 Richard Henderson <rth@redhat.com>
6613 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6615 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6618 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6619 const from the non-libc, non-ldso copy.
6621 * sysdeps/alpha/libm-test-ulps: Regenerate.
6623 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6624 Wilco Dijkstra <wilco.dijkstra@arm.com>
6626 * sysdeps/aarch64/fpu/math_private.h: New file.
6628 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6630 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6632 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6634 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6635 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6637 Intel MPX bound registers before _dl_profile_fixup.
6638 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6639 registers after _dl_profile_fixup. Save and restore bound
6640 registers bnd0/bnd1 when calling _dl_call_pltexit.
6641 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6642 (LR_BND_OFFSET): Likewise.
6643 (LRV_BND0_OFFSET): Likewise.
6644 (LRV_BND1_OFFSET): Likewise.
6646 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6648 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6650 * sysdeps/mach/hurd/i386/tls.h: ... here.
6651 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6652 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6655 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6657 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6659 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6661 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6663 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6666 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6667 * sysdeps/s390/configure: Regenerate.
6670 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6671 Set round-to-nearest internally to reduce error accumulation.
6673 2014-04-16 Alan Modra <amodra@gmail.com>
6677 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6678 * math/libm-test.inc (frexp_test_data): Add tests.
6679 * NEWS: Update fixed bug list.
6681 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6683 * benchtests/Makefile: Depend on libraries in build directory.
6684 (bench-math): Separate out math tests.
6685 (bench-pthread): Separate out pthread tests.
6686 (bench): Include math and pthread tests.
6688 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6691 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6692 _dl_debug_initialize.
6694 * configure.ac: Remove SELinux header check.
6695 * configure: Regenerate.
6696 * nscd/selinux.c (perms): Array of const char* to permission names.
6697 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6698 default policy. Call string_to_security_class and string_to_av_perm to
6699 translate strings. Enforce default policy and call avs_has_perm with
6700 results of translated strings.
6702 2014-04-13 David S. Miller <davem@davemloft.net>
6704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6706 2014-04-12 Allan McRae <allan@archlinux.org>
6709 * manual/string.texi (Collation Functions): Fix qsort argument
6711 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6713 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6715 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6716 Make the test a no-op if there are no exceptions defined.
6718 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6720 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6721 enable-hardcoded-path-in-tests
6723 2014-04-11 Will Newton <will.newton@linaro.org>
6725 * benchtests/Makefile (extra-objs): Add json-lib.o.
6726 (bench-func): Tidy up JSON output.
6727 * benchtests/bench-skeleton.c: Include json-lib.h.
6728 (main): Use JSON library functions to do output of
6730 * benchtests/bench-timing-type.c (main): Output the
6731 timing type simply, leaving formatting to the user.
6732 * benchtests/json-lib.c: New file.
6733 * benchtests/json-lib.h: Likewise.
6735 2014-04-11 Torvald Riegel <triegel@redhat.com>
6738 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6739 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6740 memory barriers. Add comments.
6741 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6742 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6743 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6744 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6745 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6746 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6748 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6750 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6751 * sysdeps/s390/s390-64/configure.ac: ... this ...
6752 * sysdeps/s390/configure.ac: ... to here.
6753 * sysdeps/s390/s390-32/configure: Delete file.
6754 * sysdeps/s390/s390-64/configure: Delete file.
6755 * sysdeps/s390/configure: Regenerate.
6757 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6759 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6761 2014-04-11 Will Newton <will.newton@linaro.org>
6763 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6764 to zero if it is not defined elsewhere. (mtrim): Test
6765 the value of MALLOC_DEBUG with #if rather than #ifdef.
6767 2014-04-10 Torvald Riegel <triegel@redhat.com>
6769 * benchtests/pthread_once-inputs: New file.
6770 * benchtests/pthread_once-source.c: New file.
6771 * benchtests/README: Update documentation.
6773 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6774 H.J. Lu <hongjiu.lu@intel.com>
6776 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6777 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6778 * sysdeps/x86_64/configure: Regenerated.
6779 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6781 (REGISTER_SAVE_RAX): Likewise.
6782 (REGISTER_SAVE_RCX): Likewise.
6783 (REGISTER_SAVE_RDX): Likewise.
6784 (REGISTER_SAVE_RSI): Likewise.
6785 (REGISTER_SAVE_RDI): Likewise.
6786 (REGISTER_SAVE_R8): Likewise.
6787 (REGISTER_SAVE_R9): Likewise.
6788 (REGISTER_SAVE_BND0): Likewise.
6789 (REGISTER_SAVE_BND1): Likewise.
6790 (REGISTER_SAVE_BND2): Likewise.
6791 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6792 bound registers when calling _dl_fixup.
6794 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6796 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6797 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6799 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6800 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6801 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6802 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6803 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6804 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6805 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6807 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6810 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6811 pathconf(_PC_NAME_MAX).
6813 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6817 (__PTHREAD_SPINS): Move definition to ...
6818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6819 (__PTHREAD_SPINS): ... here.
6820 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6821 (__PTHREAD_SPIN): Likewise.
6822 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6823 (__PTHREAD_SPIN): Likewise.
6824 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6825 (__PTHREAD_SPIN): Likewise.
6826 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6827 (__PTHREAD_SPIN): Likewise.
6828 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6829 (__PTHREAD_SPIN): Likewise.
6830 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6831 (__PTHREAD_SPIN): Likewise.
6832 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6833 (__PTHREAD_SPIN): Likewise.
6834 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6835 (__PTHREAD_SPIN): Likewise.
6836 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6837 (__PTHREAD_SPIN): Likewise.
6838 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6839 (__PTHREAD_SPIN): Likewise.
6840 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6841 (__PTHREAD_SPIN): Likewise.
6842 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6843 (__PTHREAD_SPIN): Likewise.
6845 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6846 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6847 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6848 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6851 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6852 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6853 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6855 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6856 strlen symbol for non multi-arch builds.
6857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6858 missing hidden_def and weak_alias.
6860 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6862 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6864 2014-04-07 Will Newton <will.newton@linaro.org>
6866 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6867 and contents. [!_LIBC] Remove #ifndef and contents.
6868 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6869 * string/memccpy.c (__memccpy): Use ANSI prototype.
6870 * string/memfrob.c (memfrob): Likewise.
6871 * string/strcoll.c (STRCOLL): Likewise.
6872 * string/strlen.c (strlen): Likewise.
6873 * string/strtok.c (STRTOK): Likewise.
6874 * string/strcat.c: Remove unused #include of memcopy.h.
6875 (strcat): Use ANSI prototype.
6876 * string/strchr.c: Remove unused #include of memcopy.h.
6877 (strchr): Use ANSI prototype.
6878 * string/strcmp.c: Remove unused #include of memcopy.h.
6879 (strcmp): Use ANSI prototype.
6880 * string/strcpy.c: Remove unused #include of memcopy.h.
6881 (strcpy): Use ANSI prototype.
6883 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6886 * config.make.in (config-extra-cppflags): Set it from
6887 libc_extra_cppflags.
6888 * configure.ac (libc_extra_cflags): Make it accumulate over
6889 configure fragments.
6890 (libc_extra_cppflags): New flag.
6891 * configure. Regenerate.
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6893 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6894 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6899 result for FE_DOWNWARD rounding mode.
6900 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6904 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6906 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6907 in function argument name.
6909 2014-04-03 David Svoboda <svoboda@cert.org>
6912 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6915 2014-04-03 Roland McGrath <roland@hack.frob.com>
6917 * elf/dl-unmap-segments.h: New file.
6918 * sysdeps/generic/ldsodefs.h
6919 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6920 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6921 * elf/dl-fptr.c: Likewise.
6922 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6923 * sysdeps/aarch64/tlsdesc.c: Likewise.
6924 * sysdeps/arm/tlsdesc.c: Likewise.
6925 * sysdeps/i386/tlsdesc.c: Likewise.
6926 * sysdeps/tile/dl-runtime.c: Likewise.
6927 * sysdeps/x86_64/tlsdesc.c: Likewise.
6928 * elf/dl-load.h: New file.
6929 * elf/dl-load.c: Include it.
6930 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6931 Macros moved to dl-load.h.
6932 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6933 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6934 Use _dl_unmap_segments in place of __munmap.
6935 Break out segment-mapping loop into ...
6936 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6938 2014-04-03 Will Newton <will.newton@linaro.org>
6940 * elf/dl-lookup.c (do_lookup_x): Remove comment
6941 referring to nested function and move variable
6942 declarations down to before first use.
6944 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6948 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6950 * math/s_catanf.c (__catanf): Likewise.
6951 * math/s_catanh.c (__catanh): Likewise.
6952 * math/s_catanhf.c (__catanhf): Likewise.
6953 * math/s_catanhl.c (__catanhl): Likewise.
6954 * math/s_catanl.c (__catanl): Likewise.
6955 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6956 by positive zero when computing -Inf result.
6957 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6958 (catanh_test): Likewise.
6959 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6963 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6964 instead of using underflowing value in computing result.
6965 * math/s_clog10.c (__clog10): Likewise.
6966 * math/s_clog10f.c (__clog10f): Likewise.
6967 * math/s_clog10l.c (__clog10l): Likewise.
6968 * math/s_clogf.c (__clogf): Likewise.
6969 * math/s_clogl.c (__clogl): Likewise.
6970 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6971 (clog10_test): Likewise.
6972 * sysdeps/i386/fpu/libm-test-ulps: Update.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6975 2014-04-02 Alan Modra <amodra@gmail.com>
6978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6979 output when value is near a power of two. Use int64_t for lx and
6980 remove casts. Use decimal rather than hex exponent constants.
6981 Don't use long double multiplication when double will suffice.
6982 * math/libm-test.inc (nextafter_test_data): Add tests.
6983 * NEWS: Add 16739 and 16786 to bug list.
6985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6987 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6989 2014-04-01 Will Newton <will.newton@linaro.org>
6991 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6992 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6994 2014-04-01 Florian Weimer <fweimer@redhat.com>
6997 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6998 * nptl/tst-setuid2.c: New file.
6999 * nptl/Makefile (xtests): Add tst-setuid2.
7001 2014-04-01 Alan Modra <amodra@gmail.com>
7004 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7006 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7010 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7011 set errno as appropriate.
7012 * math/w_scalbf.c (__scalbf): Likewise.
7013 * math/w_scalbl.c (__scalbl): Likewise.
7014 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7015 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7016 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7020 * math/w_atan2.c: Include <errno.h>.
7021 (__atan2): Set errno for result underflowing to zero.
7022 * math/w_atan2f.c: Include <errno.h>.
7023 (__atan2f): Set errno for result underflowing to zero.
7024 * math/w_atan2l.c: Include <errno.h>.
7025 (__atan2l): Set errno for result underflowing to zero.
7026 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7028 * math/auto-libm-test-out: Regenerated.
7030 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7032 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7033 Encode instruction correctly in little endian.
7034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7043 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/unix/sysv/linux/kernel-features.h
7047 [__sparc__ && !__arch64__ && !__sparc_v9__]
7048 (__ASSUME_SET_ROBUST_LIST): Do not define.
7049 [__sparc__ && !__arch64__ && !__sparc_v9__]
7050 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7051 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7053 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7054 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7055 (__ASSUME_REQUEUE_PI): Likewise.
7056 (__ASSUME_SET_ROBUST_LIST): Likewise.
7057 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7058 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7061 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7065 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7068 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7070 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7071 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7077 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7079 2014-03-31 Will Newton <will.newton@linaro.org>
7081 * benchtests/Makefile (bench): Add ffs and ffsll to list
7083 * benchtests/ffs-inputs: New file.
7084 * benchtests/ffsll-inputs: Likewise.
7086 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7089 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7090 too large before casting to int.
7091 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7092 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7093 * math/libm-test.inc (scalb_test_data): Add more tests.
7095 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7097 * benchtests/Makefile (DETAILED_OPT): New make option.
7098 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7100 * benchtests/bench-skeleton.c: Include stdbool.h.
7101 (main): Store and print timings per input.
7102 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7103 member to each argument value.
7104 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7105 (_print_arg_data): Initialize per-input timing to 0.
7107 * benchtests/Makefile (timing-type): New binary.
7108 (bench-clean): Also remove bench-timing-type.
7109 (bench): New target for timing-type.
7110 (bench-func): Print output in JSON format.
7111 * benchtests/bench-skeleton.c (main): Print output in JSON
7113 * benchtests/bench-timing-type.c: New file.
7114 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7115 (TIMING_PRINT_STATS): Remove.
7116 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7119 * benchtests/bench-modf.c: Remove.
7120 * benchtests/modf-inputs: New inputs file.
7122 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7125 * math/s_clog10.c (M_PI_LOG10E): New macro.
7126 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7127 imaginary parts are 0.
7128 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7129 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7130 imaginary parts are 0.
7131 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7132 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7133 imaginary parts are 0.
7134 * math/libm-test.inc (clog10_test_data): Update expected results
7135 for when real and imaginary parts are 0.
7137 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7139 * elf/dl-load.c: Finish conversion of __builtin_expect into
7142 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7146 1+x for argument with exponent below -67.
7147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7149 * math/auto-libm-test-in: Add more tests of exp.
7150 * math/auto-libm-test-out: Regenerated.
7152 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7156 (nscd_getnetgrent): Use it.
7159 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7162 2014-03-27 Andi Kleen <ak@linux.intel.com>
7164 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7165 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7166 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7167 (lll_robust_unlock): Remove out of line section. Use cfi
7169 (LLL_STUB_UNWIND_INFO*): Remove.
7170 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7171 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7172 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7173 (lll_robust_unlock): Remove out of line section. Use cfi
7175 (LLL_STUB_UNWIND_INFO*): Remove.
7177 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7180 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7183 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7185 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7187 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7190 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7192 * math/test-fenv-preserve.c: New file.
7193 * math/Makefile (tests): Add test-fenv-preserve.
7195 2014-03-26 Will Newton <will.newton@linaro.org>
7197 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7199 2014-03-25 Roland McGrath <roland@hack.frob.com>
7201 * scripts/versionlist.awk: Partition the version sets and emit all
7202 GLIBC_* (sorted) before all others (sorted).
7204 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7206 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7207 GLIBC_2.2.5 version.
7209 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7211 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7214 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7219 2014-03-25 Andreas Schwab <schwab@suse.de>
7221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7222 label to be used after in6ailist is initialized.
7224 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7227 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7229 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7233 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7235 (fp_formats): Update initializers.
7236 (init_fp_formats): Initialize new field.
7237 (output_for_one_input_case): Allow underflow for results up to
7239 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7240 * math/auto-libm-test-in: Don't mark some underflows from asin and
7242 * math/auto-libm-test-out: Regenerated.
7243 * sysdeps/i386/fpu/libm-test-ulps: Update.
7244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246 2014-03-25 Andreas Schwab <schwab@suse.de>
7248 * libio/Makefile (tst-ftell-partial-wide-ENV)
7249 (tst-ftell-active-handler-ENV): Define.
7251 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7253 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7255 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7257 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7259 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7261 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7262 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7263 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7265 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7268 * elf/dl-load.c (open_verify): Add mode parameter.
7269 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7270 (open_path): Change from boolean 'secure' to complete flag 'mode'
7271 (_dl_map_object): Adjust.
7272 * elf/Makefile (tests): Add tst-dlopen-aout.
7273 * elf/tst-dlopen-aout.c: New test.
7275 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7278 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7279 (struct stat): Rename member pad0 to __glibc_reserved0.
7282 * sysdeps/s390/s390-32/bits/wordsize.h
7283 (__WORDSIZE32_SIZE_ULONG): New define.
7284 * sysdeps/s390/s390-64/bits/wordsize.h
7285 (__WORDSIZE32_SIZE_ULONG): Likewise.
7286 * sysdeps/generic/stdint.h (SIZE_MAX):
7287 Define as UL if __WORDSIZE32_SIZE_ULONG.
7290 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7291 (__glibc_reserved0): New variable.
7292 (sa_flags): Change type to int.
7294 * posix/Makefile (before-compile): Use += before-compile instead
7297 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7298 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7300 2014-03-20 Andreas Schwab <schwab@suse.de>
7303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7304 non-matching result from nscd.
7306 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7308 * scripts/bench.py: Moved to ...
7309 * benchtests/scripts/bench.py: ... here.
7310 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7312 2014-03-24 Andreas Schwab <schwab@suse.de>
7315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7316 alloca_account and account alloca use for struct in6ailist.
7318 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7321 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7322 rounding mode to recompute results that overflow to infinity or
7324 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7326 * math/auto-libm-test-out: Regenerated.
7327 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7328 (ccosh_test): Likewise.
7329 (csin_test_data): Use plus_oflow.
7330 (csin_test): Use ALL_RM_TEST.
7331 (csinh_test_data): Use plus_oflow.
7332 (csinh_test): Use ALL_RM_TEST.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7339 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7340 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7343 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7345 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7346 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7347 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7350 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7351 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7353 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7354 * sysdeps/i386/fpu/libm-test-ulps: Update.
7355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7357 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7359 * scripts/bench.pl: Remove file.
7360 * scripts/bench.py: New benchmark script.
7361 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7362 * benchtests/README: Mention python dependency.
7363 * scripts/pylintrc: New file.
7364 * scripts/pylint: New file.
7366 * bits/mathdef.h: Use #ifdef instead of #if.
7367 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7368 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7369 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7370 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7371 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7372 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7374 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7375 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7377 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7379 and strpbrk-ppc64 objects.
7380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7381 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7382 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7383 multiarch strpbrk for POWER7.
7384 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7385 multiarch strpbrk for PPC64.
7386 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7388 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7391 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7393 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7394 (atan_test): Likewise.
7395 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7396 (atanh_test): Use ALL_RM_TEST.
7397 (atan2_test_data): Likewise.
7398 (cabs_test): Likewise.
7399 (cacosh_test): Likewise.
7400 (carg_test): Likewise.
7401 (casin_test): Likewise.
7402 (casinh_test): Likewise.
7403 (cbrt_test): Likewise.
7404 (csqrt_test): Likewise.
7405 (erf_test): Likewise.
7406 (erfc_test): Likewise.
7407 (pow10_test): Likewise.
7408 (exp2_test): Likewise.
7409 (hypot_test): Likewise.
7410 (j0_test): Likewise.
7411 (j1_test): Likewise.
7412 (lgamma_test): Likewise.
7413 (gamma_test): Likewise.
7414 (sincos_test): Likewise.
7415 (tanh_test): Likewise.
7416 (y0_test): Likewise.
7417 (y1_test): Likewise.
7418 * sysdeps/i386/fpu/libm-test-ulps: Update.
7419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7425 and strcspn-ppc64 objects.
7426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7427 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7428 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7429 multiarch strcspn for POWER7.
7430 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7431 multiarch strcspn for PPC64.
7432 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7434 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7437 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7439 * math/gen-libm-test.pl (generate_testfile): Expect only function
7440 name as argument to AUTO_TESTS_* and pass results for all rounding
7441 modes to parse_args.
7442 (parse_auto_input): Separate inputs of automatic tests from
7443 outputs before storing in %auto_tests.
7444 * math/libm-test.inc (acos_test_data): Update call to
7446 (acos_test): Use ALL_RM_TEST.
7447 (acos_tonearest_test_data): Remove.
7448 (acos_test_tonearest): Likewise.
7449 (acos_towardzero_test_data): Likewise.
7450 (acos_test_towardzero): Likewise.
7451 (acos_downward_test_data): Likewise.
7452 (acos_test_downward): Likewise.
7453 (acos_upward_test_data): Likewise.
7454 (acos_test_upward): Likewise.
7455 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7456 (asin_test_data): Likewise.
7457 (asin_test): Use ALL_RM_TEST.
7458 (asin_tonearest_test_data): Remove.
7459 (asin_test_tonearest): Likewise.
7460 (asin_towardzero_test_data): Likewise.
7461 (asin_test_towardzero): Likewise.
7462 (asin_downward_test_data): Likewise.
7463 (asin_test_downward): Likewise.
7464 (asin_upward_test_data): Likewise.
7465 (asin_test_upward): Likewise.
7466 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7467 (atan_test_data): Likewise.
7468 (atanh_test_data): Likewise.
7469 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7470 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7471 (carg_test_data): Likewise.
7472 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7473 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7474 (ccosh_test_data): Likewise.
7475 (cexp_test_data): Likewise.
7476 (clog_test_data): Likewise.
7477 (clog10_test_data): Likewise.
7478 (cos_test_data): Update call to AUTO_TESTS_f_f.
7479 (cos_test): Use ALL_RM_TEST.
7480 (cos_tonearest_test_data): Remove.
7481 (cos_test_tonearest): Likewise.
7482 (cos_towardzero_test_data): Likewise.
7483 (cos_test_towardzero): Likewise.
7484 (cos_downward_test_data): Likewise.
7485 (cos_test_downward): Likewise.
7486 (cos_upward_test_data): Likewise.
7487 (cos_test_upward): Likewise.
7488 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7489 (cosh_test): Use ALL_RM_TEST.
7490 (cosh_tonearest_test_data): Remove.
7491 (cosh_test_tonearest): Likewise.
7492 (cosh_towardzero_test_data): Likewise.
7493 (cosh_test_towardzero): Likewise.
7494 (cosh_downward_test_data): Likewise.
7495 (cosh_test_downward): Likewise.
7496 (cosh_upward_test_data): Likewise.
7497 (cosh_test_upward): Likewise.
7498 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7499 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7500 (ctan_test_data): Likewise.
7501 (ctan_test): Use ALL_RM_TEST.
7502 (ctan_tonearest_test_data): Remove.
7503 (ctan_test_tonearest): Likewise.
7504 (ctan_towardzero_test_data): Likewise.
7505 (ctan_test_towardzero): Likewise.
7506 (ctan_downward_test_data): Likewise.
7507 (ctan_test_downward): Likewise.
7508 (ctan_upward_test_data): Likewise.
7509 (ctan_test_upward): Likewise.
7510 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7511 (ctanh_test): Use ALL_RM_TEST.
7512 (ctanh_tonearest_test_data): Remove.
7513 (ctanh_test_tonearest): Likewise.
7514 (ctanh_towardzero_test_data): Likewise.
7515 (ctanh_test_towardzero): Likewise.
7516 (ctanh_downward_test_data): Likewise.
7517 (ctanh_test_downward): Likewise.
7518 (ctanh_upward_test_data): Likewise.
7519 (ctanh_test_upward): Likewise.
7520 (erf_test_data): Update call to AUTO_TESTS_f_f.
7521 (erfc_test_data): Likewise.
7522 (exp_test_data): Likewise.
7523 (exp_test): Use ALL_RM_TEST.
7524 (exp_tonearest_test_data): Remove.
7525 (exp_test_tonearest): Likewise.
7526 (exp_towardzero_test_data): Likewise.
7527 (exp_test_towardzero): Likewise.
7528 (exp_downward_test_data): Likewise.
7529 (exp_test_downward): Likewise.
7530 (exp_upward_test_data): Likewise.
7531 (exp_test_upward): Likewise.
7532 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7533 (exp10_test): Use ALL_RM_TEST.
7534 (exp10_tonearest_test_data): Remove.
7535 (exp10_test_tonearest): Likewise.
7536 (exp10_towardzero_test_data): Likewise.
7537 (exp10_test_towardzero): Likewise.
7538 (exp10_downward_test_data): Likewise.
7539 (exp10_test_downward): Likewise.
7540 (exp10_upward_test_data): Likewise.
7541 (exp10_test_upward): Likewise.
7542 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7543 (expm1_test_data): Likewise.
7544 (expm1_test): Use ALL_RM_TEST.
7545 (expm1_tonearest_test_data): Remove.
7546 (expm1_test_tonearest): Likewise.
7547 (expm1_towardzero_test_data): Likewise.
7548 (expm1_test_towardzero): Likewise.
7549 (expm1_downward_test_data): Likewise.
7550 (expm1_test_downward): Likewise.
7551 (expm1_upward_test_data): Likewise.
7552 (expm1_test_upward): Likewise.
7553 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7554 (fma_test): Use ALL_RM_TEST.
7555 (fma_towardzero_test_data): Remove.
7556 (fma_test_towardzero): Likewise.
7557 (fma_downward_test_data): Likewise.
7558 (fma_test_downward): Likewise.
7559 (fma_upward_test_data): Likewise.
7560 (fma_test_upward): Likewise.
7561 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7562 (j0_test_data): Update call to AUTO_TESTS_f_f.
7563 (j1_test_data): Likewise.
7564 (jn_test_data): Update call to AUTO_TESTS_if_f.
7565 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7566 (log_test_data): Update call to AUTO_TESTS_f_f.
7567 (log10_test_data): Likewise.
7568 (log1p_test_data): Likewise.
7569 (log2_test_data): Likewise.
7570 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7571 (pow_tonearest_test_data): Likewise.
7572 (sin_test_data): Update call to AUTO_TESTS_f_f.
7573 (sin_test): Use ALL_RM_TEST.
7574 (sin_tonearest_test_data): Remove.
7575 (sin_test_tonearest): Likewise.
7576 (sin_towardzero_test_data): Likewise.
7577 (sin_test_towardzero): Likewise.
7578 (sin_downward_test_data): Likewise.
7579 (sin_test_downward): Likewise.
7580 (sin_upward_test_data): Likewise.
7581 (sin_test_upward): Likewise.
7582 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7583 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7584 (sinh_test): Use ALL_RM_TEST.
7585 (sinh_tonearest_test_data): Remove.
7586 (sinh_test_tonearest): Likewise.
7587 (sinh_towardzero_test_data): Likewise.
7588 (sinh_test_towardzero): Likewise.
7589 (sinh_downward_test_data): Likewise.
7590 (sinh_test_downward): Likewise.
7591 (sinh_upward_test_data): Likewise.
7592 (sinh_test_upward): Likewise.
7593 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7594 (sqrt_test): Use ALL_RM_TEST.
7595 (sqrt_tonearest_test_data): Remove.
7596 (sqrt_test_tonearest): Likewise.
7597 (sqrt_towardzero_test_data): Likewise.
7598 (sqrt_test_towardzero): Likewise.
7599 (sqrt_downward_test_data): Likewise.
7600 (sqrt_test_downward): Likewise.
7601 (sqrt_upward_test_data): Likewise.
7602 (sqrt_test_upward): Likewise.
7603 (tan_test_data): Update call to AUTO_TESTS_f_f.
7604 (tan_test): Use ALL_RM_TEST.
7605 (tan_tonearest_test_data): Remove.
7606 (tan_test_tonearest): Likewise.
7607 (tan_towardzero_test_data): Likewise.
7608 (tan_test_towardzero): Likewise.
7609 (tan_downward_test_data): Likewise.
7610 (tan_test_downward): Likewise.
7611 (tan_upward_test_data): Likewise.
7612 (tan_test_upward): Likewise.
7613 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7614 (tgamma_test_data): Likewise.
7615 (y0_test_data): Likewise.
7616 (y1_test_data): Likewise.
7617 (yn_test_data): Update call to AUTO_TESTS_if_f.
7618 (main): Do not call removed functions.
7620 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7622 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7623 (ldexp_test_data): Remove.
7624 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7626 (scalb_test): Use ALL_RM_TEST.
7628 2014-03-19 Andreas Schwab <schwab@suse.de>
7630 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7632 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7635 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7636 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7639 (__ASSUME_PREADV): Undefine.
7640 (__ASSUME_PWRITEV): Likewise.
7642 2014-03-18 Roland McGrath <roland@hack.frob.com>
7644 * bits/mman-linux.h: Add comment about non-Linux use.
7645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7646 bits/mman-linux.h resting place.
7648 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7649 * bits/mman-linux.h: ... here.
7651 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7653 * conform/conformtest.pl: Add standard definition when calling C
7654 preprocessor on data files.
7655 (checknamespace): Remove unused variable.
7657 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7659 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7660 minus_oflow, plus_uflow and minus_uflow in expected results.
7661 * math/libm-test.inc (scalbn_test_data): Add more tests of
7662 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7664 (scalbn_test): Use ALL_RM_TEST.
7665 (scalbln_test_data): Add more tests of negative arguments. Use
7666 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7667 (scalbln_test): Use ALL_RM_TEST.
7669 2014-03-18 Roland McGrath <roland@hack.frob.com>
7671 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7673 2014-03-18 Will Newton <will.newton@linaro.org>
7675 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7678 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7680 * Makerules [!subdir] (check-abi): Exit with error status if a
7683 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7685 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7686 for rint. Include results for all rounding modes.
7687 (nearbyint_test): Use ALL_RM_TEST.
7688 (rint_test_data): Include all tests used for nearbyint.
7690 2014-03-17 Will Newton <will.newton@linaro.org>
7692 * nptl/sysdeps/pthread/pthread.h: Revert previous
7695 * sysdeps/generic/ldsodefs.h: Revert previous
7698 * libio/genops.c: Revert previous change.
7699 * libio/libioP.h: Likewise.
7700 * stdio-common/vfprintf.c: Likewise.
7702 * sysdeps/generic/math_private.h: Revert previous
7705 * sysdeps/generic/math_private.h: Check whether
7706 HAVE_RM_CTX is defined with #ifdef rather
7709 * argp/argp-fmtstream.h: Check whether
7710 __STRICT_ANSI__ is defined with #ifdef rather
7712 * argp/argp.h: Likewise.
7714 * libio/genops.c: Check whether
7715 _IO_JUMPS_OFFSET is defined with #ifdef rather
7717 * libio/libioP.h: Likewise.
7718 * stdio-common/vfprintf.c: Likewise.
7720 * sysdeps/generic/ldsodefs.h: Check whether
7721 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7724 * nptl/sysdeps/pthread/pthread.h: Check
7725 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7728 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7730 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7732 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7736 * libio/fileops.c (_IO_file_open): Seek to end of file but
7737 don't cache the offset.
7738 (get_file_offset): Remove function.
7739 (do_ftell): Use cached offset when available.
7740 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7741 don't cache the offset.
7742 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7744 (do_one_test): Call it.
7745 (do_ftell_test): Fix up expected old offset for a+ mode.
7746 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7749 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7750 up test status with function return status.
7751 (do_write_test): Likewise.
7752 (do_append_test): Likewise.
7754 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7755 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7758 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7760 * math/gen-libm-test.pl (parse_args): Handle results specified for
7761 each rounding mode separately.
7762 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7763 tests and results from lrint_tonearest_test_data,
7764 lrint_towardzero_test_data, lrint_downward_test_data and
7765 lrint_upward_test_data.
7766 (lrint_test): Use ALL_RM_TEST.
7767 (lrint_tonearest_test_data): Remove.
7768 (lrint_test_tonearest): Likewise.
7769 (lrint_towardzero_test_data): Likewise.
7770 (lrint_test_towardzero): Likewise.
7771 (lrint_downward_test_data): Likewise.
7772 (lrint_test_downward): Likewise.
7773 (lrint_upward_test_data): Likewise.
7774 (lrint_test_upward): Likewise.
7775 (llrint_test_data): Merge in per-rounding-mode tests and results
7776 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7777 llrint_downward_test_data and llrint_upward_test_data.
7778 (llrint_test): Use ALL_RM_TEST.
7779 (llrint_tonearest_test_data): Remove.
7780 (llrint_test_tonearest): Likewise.
7781 (llrint_towardzero_test_data): Likewise.
7782 (llrint_test_towardzero): Likewise.
7783 (llrint_downward_test_data): Likewise.
7784 (llrint_test_downward): Likewise.
7785 (llrint_upward_test_data): Likewise.
7786 (llrint_test_upward): Likewise.
7787 (rint_test_data): Merge in per-rounding-mode tests and results
7788 from rint_tonearest_test_data, rint_towardzero_test_data,
7789 rint_downward_test_data and rint_upward_test_data. Add
7790 per-rounding-mode results for tests not in those arrays.
7791 (rint_test): Use ALL_RM_TEST.
7792 (rint_tonearest_test_data): Remove.
7793 (rint_test_tonearest): Likewise.
7794 (rint_towardzero_test_data): Likewise.
7795 (rint_test_towardzero): Likewise.
7796 (rint_downward_test_data): Likewise.
7797 (rint_test_downward): Likewise.
7798 (rint_upward_test_data): Likewise.
7799 (rint_test_upward): Likewise.
7800 (main): Don't call removed functions.
7802 2014-03-14 Roland McGrath <roland@hack.frob.com>
7804 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7805 "Compiled on ..." crapola. It is anti-useful.
7807 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7809 * scripts/evaluate-test.sh: Handle fourth argument to determine
7810 whether test run should stop on failure.
7811 * Makeconfig (stop-on-test-failure): New variable.
7812 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7813 $(stop-on-test-failure).
7814 * Makefile (tests): Give a summary of results from testing and
7815 exit with failure status if they include an ERROR or FAIL.
7817 * manual/install.texi (Configuring and compiling): Mention
7818 stop-on-test-failure=y.
7819 * INSTALL: Regenerated.
7821 2014-03-14 Roland McGrath <roland@hack.frob.com>
7823 * scripts/versionlist.awk: New file.
7824 * Makerules [$(build-shared) = yes]
7825 (postclean-generated): Add Versions.def, not Versions.def.v and
7827 ($(common-objpfx)Versions.def.v.i): Target removed.
7828 ($(common-objpfx)Versions.def): New target.
7829 ($(common-objpfx)Versions.all): Depend on that rather that
7830 $(common-objpfx)Versions.def.v.
7831 * Versions.def: File removed.
7833 * Makeconfig (+gccwarn): Add -Wundef.
7834 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7835 a dl-sysdep.h breaking its contract.
7836 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7837 * include/stackinfo.h: New file.
7838 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7839 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7840 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7841 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7842 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7843 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7844 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7845 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7846 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7847 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7848 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7849 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7850 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7851 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7852 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7854 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7857 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7859 * math/libm-test.inc (round_test_data): Add more tests.
7862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7864 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7869 * math/libm-test.inc (ceil_test_data): Add more tests.
7871 * math/libm-test.inc (trunc_test_data): Add more tests related to
7874 2014-03-14 Roland McGrath <roland@hack.frob.com>
7876 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7877 with #if rather than #ifdef.
7878 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7880 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7882 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7883 first. Disable AVX-512 GCC support if assembler doesn't support
7885 * sysdeps/x86_64/configure: Regenerated.
7887 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7889 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7890 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7891 (__old_pthread_attr_setstack): Likewise.
7892 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7893 [!_STACK_GROWS_DOWN]: Likewise.
7895 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7897 * config.make.in (have-bash2): Delete.
7898 * configure.ac (libc_cv_have_bash2): Delete.
7899 * configure: Regenerate.
7900 * elf/Makefile (common-ldd-rewrite): Rename to ...
7901 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7902 (sh-ldd-rewrite): Delete.
7903 (bash-ldd-rewrite): Delete.
7904 (have-bash2): Delete checks.
7905 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7908 * config.make.in (have-ksh): Delete.
7910 * configure.ac (libc_cv_have_ksh): Delete.
7911 * configure: Regenerate.
7913 * elf/Makefile: Delete $(have-ksh) check.
7914 ($(objpfx)sotruss): Change KSH to BASH.
7915 * elf/sotruss.ksh: Rename to ...
7916 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7917 function style to match POSIX. Drop ksh vim mode setting.
7919 * manual/time.texi (Specifying the Time Zone with TZ): Change
7920 Tuesday to Thursday.
7922 * debug/tst-longjmp_chk2.c: Update header comment.
7923 (stackoverflow_handler): Add comment. Call assert on pass value.
7925 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7927 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7928 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7929 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7930 (La_x86_64_vector): Add zmm.
7931 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7932 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7933 ($(objpfx)tst-audit10): New target.
7934 ($(objpfx)tst-audit10.out): Likewise.
7935 (tst-audit10-ENV): New.
7936 (AVX512-CFLAGS): Likewise.
7937 (CFLAGS-tst-audit10.c): Likewise.
7938 (CFLAGS-tst-auditmod10a.c): Likewise.
7939 (CFLAGS-tst-auditmod10b.c): Likewise.
7940 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7941 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7942 * sysdeps/x86_64/configure: Regenerated.
7943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7944 AVX-512 zmm register support.
7945 (_dl_x86_64_save_sse): Likewise.
7946 (_dl_x86_64_restore_sse): Likewise.
7947 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7948 size vector registers.
7949 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7950 (ZMM_SIZE): Likewise.
7951 * sysdeps/x86_64/tst-audit10.c: New file.
7952 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7953 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7955 2014-03-13 Roland McGrath <roland@hack.frob.com>
7957 * configure.ac (HAVE_EHDR_START): New check.
7958 * configure: Regenerated.
7959 * config.h.in (HAVE_EHDR_START): New #undef.
7960 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7961 assuming the lowest-addressed segment maps the start of the file.
7963 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7965 * INSTALL: Regenerated.
7967 2014-03-13 Will Newton <will.newton@linaro.org>
7969 * manual/setjmp.texi (System V contexts): Improve
7970 clarity and grammar of documentation.
7972 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7975 * elf/Makefile (tests): Add tst-pie2.
7976 (tests-pie): Add tst-pie2.
7977 * elf/tst-pie2.c: New file.
7978 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7980 * elf/rtld.c (map_doit): Load executable as lt_executable.
7981 (dl_main): Likewise.
7983 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7987 (__ASSUME_PSELECT): Undefine.
7989 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7993 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7996 selector for static builds.
7998 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8001 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8004 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8007 IFUNC selector for static builds.
8009 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8011 * sysdeps/mips/math_private.h [__mips_hard_float]
8012 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8013 libc_feresetround_mips_ctx.
8014 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8015 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8016 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8019 * math/s_nextafter.c (__nextafter): Do not return value from
8020 overflowing computation.
8021 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8022 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8023 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8025 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8027 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8028 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8030 2014-03-11 Roland McGrath <roland@hack.frob.com>
8032 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8033 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8034 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8035 the new mov targetting sp.
8037 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8040 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8041 Define it for static builds as well.
8042 (NO_BZERO_IMPL): Likewise.
8044 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8046 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8047 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8048 multiarch strspn for PPC64.
8049 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8050 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8052 (__libc_ifunc_impl_list): Likewise.
8053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8054 multiarch optimizations
8055 * string/strspn.c (strspn): Using macro to redefine symbol name.
8057 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8058 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8060 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8061 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8062 multiarch strncat for PPC64.
8063 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8064 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8066 (__libc_ifunc_impl_list): Likewise.
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8068 multiarch optimizations
8070 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8073 * nscd/nscd.service: Make service type forking.
8075 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8078 sign in non default rounding modes.
8079 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8081 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8083 * math/libm-test.inc (ALL_RM_TEST): New macro.
8084 (ceil_test): Use ALL_RM_TEST.
8085 (cimag_test): Likewise.
8086 (conj_test): Likewise.
8087 (copysign_test): Likewise.
8088 (cproj_test): Likewise.
8089 (creal_test): Likewise.
8090 (fabs_test): Likewise.
8091 (floor_test): Likewise.
8092 (fmax_test): Likewise.
8093 (fmin_test): Likewise.
8094 (fmod_test): Likewise.
8095 (fpclassify_test): Likewise.
8096 (frexp_test): Likewise.
8097 (ilogb_test): Likewise.
8098 (isfinite_test): Likewise.
8099 (finite_test): Likewise.
8100 (isgreater_test): Likewise.
8101 (isgreaterequal_test): Likewise.
8102 (isinf_test): Likewise.
8103 (isless_test): Likewise.
8104 (islessequal_test): Likewise.
8105 (islessgreater_test): Likewise.
8106 (isnan_test): Likewise.
8107 (isnormal_test): Likewise.
8108 (issignaling_test): Likewise.
8109 (isunordered_test): Likewise.
8110 (logb_test): Likewise.
8111 (logb_downward_test_data): Remove.
8112 (logb_test_downward): Likewise.
8113 (lround_test): Use ALL_RM_TEST.
8114 (llround_test): Likewise.
8115 (modf_test): Likewise.
8116 (nexttoward_test): Likewise.
8117 (remainder_test): Likewise.
8118 (drem_test): Likewise.
8119 (remainder_tonearest_test_data): Likewise.
8120 (remainder_test_tonearest): Likewise.
8121 (drem_test_tonearest): Likewise.
8122 (remainder_towardzero_test_data): Likewise.
8123 (remainder_test_towardzero): Likewise.
8124 (drem_test_towardzero): Likewise.
8125 (remainder_downward_test_data): Likewise.
8126 (remainder_test_downward): Likewise.
8127 (drem_test_downward): Likewise.
8128 (remainder_upward_test_data): Likewise.
8129 (remainder_test_upward): Likewise.
8130 (drem_test_upward): Likewise.
8131 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8132 (round_test): Use ALL_RM_TEST.
8133 (signbit_test): Likewise.
8134 (trunc_test): Likewise.
8135 (significand_test): Likewise.
8136 (main): Don't call removed functions.
8138 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8141 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8143 (ILL_ILLOPN): Likewise.
8144 (ILL_ILLADR): Likewise.
8145 (ILL_ILLTRP): Likewise.
8146 (ILL_PRVOPC): Likewise.
8147 (ILL_PRVREG): Likewise.
8148 (ILL_COPROC): Likewise.
8149 (ILL_BADSTK): Likewise.
8150 (FPE_INTDIV): Likewise.
8151 (FPE_INTOVF): Likewise.
8152 (FPE_FLTDIV): Likewise.
8153 (FPE_FLTOVF): Likewise.
8154 (FPE_FLTUND): Likewise.
8155 (FPE_FLTRES): Likewise.
8156 (FPE_FLTINV): Likewise.
8157 (FPE_FLTSUB): Likewise.
8158 (SEGV_MAPERR): Likewise.
8159 (SEGV_ACCERR): Likewise.
8160 (BUS_ADRALN): Likewise.
8161 (BUS_ADRERR): Likewise.
8162 (BUS_OBJERR): Likewise.
8163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8164 (TRAP_TRACE): Likewise.
8165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8167 (CLD_KILLED): Likewise.
8168 (CLD_DUMPED): Likewise.
8169 (CLD_TRAPPED): Likewise.
8170 (CLD_STOPPED): Likewise.
8171 (CLD_CONTINUED): Likewise.
8172 (POLL_IN): Likewise.
8173 (POLL_OUT): Likewise.
8174 (POLL_MSG): Likewise.
8175 (POLL_ERR): Likewise.
8176 (POLL_PRI): Likewise.
8177 (POLL_HUP): Likewise.
8178 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8180 (ILL_ILLOPN): Likewise.
8181 (ILL_ILLADR): Likewise.
8182 (ILL_ILLTRP): Likewise.
8183 (ILL_PRVOPC): Likewise.
8184 (ILL_PRVREG): Likewise.
8185 (ILL_COPROC): Likewise.
8186 (ILL_BADSTK): Likewise.
8187 (FPE_INTDIV): Likewise.
8188 (FPE_INTOVF): Likewise.
8189 (FPE_FLTDIV): Likewise.
8190 (FPE_FLTOVF): Likewise.
8191 (FPE_FLTUND): Likewise.
8192 (FPE_FLTRES): Likewise.
8193 (FPE_FLTINV): Likewise.
8194 (FPE_FLTSUB): Likewise.
8195 (SEGV_MAPERR): Likewise.
8196 (SEGV_ACCERR): Likewise.
8197 (BUS_ADRALN): Likewise.
8198 (BUS_ADRERR): Likewise.
8199 (BUS_OBJERR): Likewise.
8200 (BUS_MCEERR_AR): Likewise.
8201 (BUS_MCEERR_AO): Likewise.
8202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8203 (TRAP_TRACE): Likewise.
8204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8206 (CLD_KILLED): Likewise.
8207 (CLD_DUMPED): Likewise.
8208 (CLD_TRAPPED): Likewise.
8209 (CLD_STOPPED): Likewise.
8210 (CLD_CONTINUED): Likewise.
8211 (POLL_IN): Likewise.
8212 (POLL_OUT): Likewise.
8213 (POLL_MSG): Likewise.
8214 (POLL_ERR): Likewise.
8215 (POLL_PRI): Likewise.
8216 (POLL_HUP): Likewise.
8217 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8218 (ILL_ILLOPN): Likewise.
8219 (ILL_ILLADR): Likewise.
8220 (ILL_ILLTRP): Likewise.
8221 (ILL_PRVOPC): Likewise.
8222 (ILL_PRVREG): Likewise.
8223 (ILL_COPROC): Likewise.
8224 (ILL_BADSTK): Likewise.
8225 (FPE_INTDIV): Likewise.
8226 (FPE_INTOVF): Likewise.
8227 (FPE_FLTDIV): Likewise.
8228 (FPE_FLTOVF): Likewise.
8229 (FPE_FLTUND): Likewise.
8230 (FPE_FLTRES): Likewise.
8231 (FPE_FLTINV): Likewise.
8232 (FPE_FLTSUB): Likewise.
8233 (SEGV_MAPERR): Likewise.
8234 (SEGV_ACCERR): Likewise.
8235 (BUS_ADRALN): Likewise.
8236 (BUS_ADRERR): Likewise.
8237 (BUS_OBJERR): Likewise.
8238 (BUS_MCEERR_AR): Likewise.
8239 (BUS_MCEERR_AO): Likewise.
8240 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8241 (TRAP_TRACE): Likewise.
8242 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8244 (CLD_KILLED): Likewise.
8245 (CLD_DUMPED): Likewise.
8246 (CLD_TRAPPED): Likewise.
8247 (CLD_STOPPED): Likewise.
8248 (CLD_CONTINUED): Likewise.
8249 (POLL_IN): Likewise.
8250 (POLL_OUT): Likewise.
8251 (POLL_MSG): Likewise.
8252 (POLL_ERR): Likewise.
8253 (POLL_PRI): Likewise.
8254 (POLL_HUP): Likewise.
8255 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8257 (ILL_ILLOPN): Likewise.
8258 (ILL_ILLADR): Likewise.
8259 (ILL_ILLTRP): Likewise.
8260 (ILL_PRVOPC): Likewise.
8261 (ILL_PRVREG): Likewise.
8262 (ILL_COPROC): Likewise.
8263 (ILL_BADSTK): Likewise.
8264 (ILL_BADIADDR): Likewise.
8265 (ILL_BREAK): Likewise.
8266 (FPE_INTDIV): Likewise.
8267 (FPE_INTOVF): Likewise.
8268 (FPE_FLTDIV): Likewise.
8269 (FPE_FLTOVF): Likewise.
8270 (FPE_FLTUND): Likewise.
8271 (FPE_FLTRES): Likewise.
8272 (FPE_FLTINV): Likewise.
8273 (FPE_FLTSUB): Likewise.
8274 (FPE_DECOVF): Likewise.
8275 (FPE_DECDIV): Likewise.
8276 (FPE_DECERR): Likewise.
8277 (FPE_INVASC): Likewise.
8278 (FPE_INVDEC): Likewise.
8279 (SEGV_MAPERR): Likewise.
8280 (SEGV_ACCERR): Likewise.
8281 (SEGV_PSTKOVF): Likewise.
8282 (BUS_ADRALN): Likewise.
8283 (BUS_ADRERR): Likewise.
8284 (BUS_OBJERR): Likewise.
8285 (BUS_MCEERR_AR): Likewise.
8286 (BUS_MCEERR_AO): Likewise.
8287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8288 (TRAP_TRACE): Likewise.
8289 (TRAP_BRANCH): Likewise.
8290 (TRAP_HWBKPT): Likewise.
8291 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8293 (CLD_KILLED): Likewise.
8294 (CLD_DUMPED): Likewise.
8295 (CLD_TRAPPED): Likewise.
8296 (CLD_STOPPED): Likewise.
8297 (CLD_CONTINUED): Likewise.
8298 (POLL_IN): Likewise.
8299 (POLL_OUT): Likewise.
8300 (POLL_MSG): Likewise.
8301 (POLL_ERR): Likewise.
8302 (POLL_PRI): Likewise.
8303 (POLL_HUP): Likewise.
8304 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8305 (ILL_ILLOPN): Likewise.
8306 (ILL_ILLADR): Likewise.
8307 (ILL_ILLTRP): Likewise.
8308 (ILL_PRVOPC): Likewise.
8309 (ILL_PRVREG): Likewise.
8310 (ILL_COPROC): Likewise.
8311 (ILL_BADSTK): Likewise.
8312 (FPE_INTDIV): Likewise.
8313 (FPE_INTOVF): Likewise.
8314 (FPE_FLTDIV): Likewise.
8315 (FPE_FLTOVF): Likewise.
8316 (FPE_FLTUND): Likewise.
8317 (FPE_FLTRES): Likewise.
8318 (FPE_FLTINV): Likewise.
8319 (FPE_FLTSUB): Likewise.
8320 (SEGV_MAPERR): Likewise.
8321 (SEGV_ACCERR): Likewise.
8322 (BUS_ADRALN): Likewise.
8323 (BUS_ADRERR): Likewise.
8324 (BUS_OBJERR): Likewise.
8325 (BUS_MCEERR_AR): Likewise.
8326 (BUS_MCEERR_AO): Likewise.
8327 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8328 (TRAP_TRACE): Likewise.
8329 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8331 (CLD_KILLED): Likewise.
8332 (CLD_DUMPED): Likewise.
8333 (CLD_TRAPPED): Likewise.
8334 (CLD_STOPPED): Likewise.
8335 (CLD_CONTINUED): Likewise.
8336 (POLL_IN): Likewise.
8337 (POLL_OUT): Likewise.
8338 (POLL_MSG): Likewise.
8339 (POLL_ERR): Likewise.
8340 (POLL_PRI): Likewise.
8341 (POLL_HUP): Likewise.
8342 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8343 (ILL_ILLOPN): Likewise.
8344 (ILL_ILLADR): Likewise.
8345 (ILL_ILLTRP): Likewise.
8346 (ILL_PRVOPC): Likewise.
8347 (ILL_PRVREG): Likewise.
8348 (ILL_COPROC): Likewise.
8349 (ILL_BADSTK): Likewise.
8350 (FPE_INTDIV): Likewise.
8351 (FPE_INTOVF): Likewise.
8352 (FPE_FLTDIV): Likewise.
8353 (FPE_FLTOVF): Likewise.
8354 (FPE_FLTUND): Likewise.
8355 (FPE_FLTRES): Likewise.
8356 (FPE_FLTINV): Likewise.
8357 (FPE_FLTSUB): Likewise.
8358 (SEGV_MAPERR): Likewise.
8359 (SEGV_ACCERR): Likewise.
8360 (BUS_ADRALN): Likewise.
8361 (BUS_ADRERR): Likewise.
8362 (BUS_OBJERR): Likewise.
8363 (BUS_MCEERR_AR): Likewise.
8364 (BUS_MCEERR_AO): Likewise.
8365 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8366 (TRAP_TRACE): Likewise.
8367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8369 (CLD_KILLED): Likewise.
8370 (CLD_DUMPED): Likewise.
8371 (CLD_TRAPPED): Likewise.
8372 (CLD_STOPPED): Likewise.
8373 (CLD_CONTINUED): Likewise.
8374 (POLL_IN): Likewise.
8375 (POLL_OUT): Likewise.
8376 (POLL_MSG): Likewise.
8377 (POLL_ERR): Likewise.
8378 (POLL_PRI): Likewise.
8379 (POLL_HUP): Likewise.
8380 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8381 (ILL_ILLOPN): Likewise.
8382 (ILL_ILLADR): Likewise.
8383 (ILL_ILLTRP): Likewise.
8384 (ILL_PRVOPC): Likewise.
8385 (ILL_PRVREG): Likewise.
8386 (ILL_COPROC): Likewise.
8387 (ILL_BADSTK): Likewise.
8388 (FPE_INTDIV): Likewise.
8389 (FPE_INTOVF): Likewise.
8390 (FPE_FLTDIV): Likewise.
8391 (FPE_FLTOVF): Likewise.
8392 (FPE_FLTUND): Likewise.
8393 (FPE_FLTRES): Likewise.
8394 (FPE_FLTINV): Likewise.
8395 (FPE_FLTSUB): Likewise.
8396 (SEGV_MAPERR): Likewise.
8397 (SEGV_ACCERR): Likewise.
8398 (BUS_ADRALN): Likewise.
8399 (BUS_ADRERR): Likewise.
8400 (BUS_OBJERR): Likewise.
8401 (BUS_MCEERR_AR): Likewise.
8402 (BUS_MCEERR_AO): Likewise.
8403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8404 (TRAP_TRACE): Likewise.
8405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8407 (CLD_KILLED): Likewise.
8408 (CLD_DUMPED): Likewise.
8409 (CLD_TRAPPED): Likewise.
8410 (CLD_STOPPED): Likewise.
8411 (CLD_CONTINUED): Likewise.
8412 (POLL_IN): Likewise.
8413 (POLL_OUT): Likewise.
8414 (POLL_MSG): Likewise.
8415 (POLL_ERR): Likewise.
8416 (POLL_PRI): Likewise.
8417 (POLL_HUP): Likewise.
8418 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8419 (ILL_ILLOPN): Likewise.
8420 (ILL_ILLADR): Likewise.
8421 (ILL_ILLTRP): Likewise.
8422 (ILL_PRVOPC): Likewise.
8423 (ILL_PRVREG): Likewise.
8424 (ILL_COPROC): Likewise.
8425 (ILL_BADSTK): Likewise.
8426 (ILL_DBLFLT): Likewise.
8427 (ILL_HARDWALL): Likewise.
8428 (FPE_INTDIV): Likewise.
8429 (FPE_INTOVF): Likewise.
8430 (FPE_FLTDIV): Likewise.
8431 (FPE_FLTOVF): Likewise.
8432 (FPE_FLTUND): Likewise.
8433 (FPE_FLTRES): Likewise.
8434 (FPE_FLTINV): Likewise.
8435 (FPE_FLTSUB): Likewise.
8436 (SEGV_MAPERR): Likewise.
8437 (SEGV_ACCERR): Likewise.
8438 (BUS_ADRALN): Likewise.
8439 (BUS_ADRERR): Likewise.
8440 (BUS_OBJERR): Likewise.
8441 (BUS_MCEERR_AR): Likewise.
8442 (BUS_MCEERR_AO): Likewise.
8443 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8444 (TRAP_TRACE): Likewise.
8445 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8447 (CLD_KILLED): Likewise.
8448 (CLD_DUMPED): Likewise.
8449 (CLD_TRAPPED): Likewise.
8450 (CLD_STOPPED): Likewise.
8451 (CLD_CONTINUED): Likewise.
8452 (POLL_IN): Likewise.
8453 (POLL_OUT): Likewise.
8454 (POLL_MSG): Likewise.
8455 (POLL_ERR): Likewise.
8456 (POLL_PRI): Likewise.
8457 (POLL_HUP): Likewise.
8458 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8459 (ILL_ILLOPN): Likewise.
8460 (ILL_ILLADR): Likewise.
8461 (ILL_ILLTRP): Likewise.
8462 (ILL_PRVOPC): Likewise.
8463 (ILL_PRVREG): Likewise.
8464 (ILL_COPROC): Likewise.
8465 (ILL_BADSTK): Likewise.
8466 (FPE_INTDIV): Likewise.
8467 (FPE_INTOVF): Likewise.
8468 (FPE_FLTDIV): Likewise.
8469 (FPE_FLTOVF): Likewise.
8470 (FPE_FLTUND): Likewise.
8471 (FPE_FLTRES): Likewise.
8472 (FPE_FLTINV): Likewise.
8473 (FPE_FLTSUB): Likewise.
8474 (SEGV_MAPERR): Likewise.
8475 (SEGV_ACCERR): Likewise.
8476 (BUS_ADRALN): Likewise.
8477 (BUS_ADRERR): Likewise.
8478 (BUS_OBJERR): Likewise.
8479 (BUS_MCEERR_AR): Likewise.
8480 (BUS_MCEERR_AO): Likewise.
8481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8482 (TRAP_TRACE): Likewise.
8483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8485 (CLD_KILLED): Likewise.
8486 (CLD_DUMPED): Likewise.
8487 (CLD_TRAPPED): Likewise.
8488 (CLD_STOPPED): Likewise.
8489 (CLD_CONTINUED): Likewise.
8490 (POLL_IN): Likewise.
8491 (POLL_OUT): Likewise.
8492 (POLL_MSG): Likewise.
8493 (POLL_ERR): Likewise.
8494 (POLL_PRI): Likewise.
8495 (POLL_HUP): Likewise.
8496 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8497 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8500 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8501 before #include of <time.h>.
8502 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8503 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8504 (test-xfail-UNIX98/sched.h/conform): Likewise.
8506 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8508 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8509 error absence of trapping exception support.
8510 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8512 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8514 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8515 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8516 * timezone/Makefile (testdata): Move definition above include of
8518 (test-zones): New variable.
8519 (tests-special): Add zone files.
8520 (build-testdata): Use $(evaluate-test).
8522 * elf/Makefile (tests-special): Rename tests to end with .out.
8523 ($(objpfx)noload-mem): Likewise.
8524 ($(objpfx)tst-leaks1-mem): Likewise.
8525 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8526 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8527 $(objpfx)test-iconvconfig.out.
8528 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8529 set -e inside subshell and redirect output to file.
8530 * iconvdata/Makefile (generated): Rename tests to end with .out.
8532 (tests-special): Rename tests to end with .out.
8533 ($(objpfx)mtrace-tst-loading): Likewise.
8534 * intl/Makefile (generated): Likewise.
8535 (tests-special): Likewise.
8536 ($(objpfx)mtrace-tst-gettext): Likewise.
8537 * misc/Makefile (generated): Likewise.
8538 (tests-special): Likewise.
8539 ($(objpfx)tst-error1-mem): Likewise.
8540 * nptl/Makefile (tests-special): Likewise.
8541 ($(objpfx)tst-stack3-mem): Likewise.
8542 (generated): Likewise.
8543 * posix/Makefile (generated): Likewise.
8544 (tests-special): Likewise.
8545 (xtests-special): Likewise.
8546 ($(objpfx)tst-fnmatch-mem): Likewise.
8547 ($(objpfx)bug-regex2-mem): Likewise.
8548 ($(objpfx)bug-regex14-mem): Likewise.
8549 ($(objpfx)bug-regex21-mem): Likewise.
8550 ($(objpfx)bug-regex31-mem): Likewise.
8551 ($(objpfx)tst-vfork3-mem): Likewise.
8552 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8553 ($(objpfx)tst-pcre-mem): Likewise.
8554 ($(objpfx)tst-boost-mem): Likewise.
8555 ($(objpfx)bug-ga2-mem): Likewise.
8556 ($(objpfx)bug-glob2-mem): Likewise.
8557 * resolv/Makefile (generate): Likewise.
8558 (tests-special): Likewise.
8559 (xtests-special): Likewise.
8560 (generated): Likewise.
8561 ($(objpfx)mtrace-tst-leaks): Likewise.
8562 ($(objpfx)mtrace-tst-leaks2): Likewise.
8564 * scripts/merge-test-results.sh: New file.
8565 * Makefile (tests-special-notdir): New variable.
8566 (tests): Run merge-test-results.sh.
8568 * Rules (tests-special-notdir): New variable.
8569 (xtests-special-notdir): Likewise.
8570 (tests): Run merge-test-results.sh
8573 * Makeconfig (test-xfail-name): New variable.
8574 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8575 compute variable name for expected failures.
8576 * conform/Makefile (conformtest-headers-data): New variable.
8577 (conformtest-standards): Likewise.
8578 (conformtest-headers-ISO): Likewise.
8579 (conformtest-headers-ISO99): Likewise.
8580 (conformtest-headers-ISO11): Likewise.
8581 (conformtest-headers-POSIX): Likewise.
8582 (conformtest-headers-XPG3): Likewise.
8583 (conformtest-headers-XPG4): Likewise.
8584 (conformtest-headers-UNIX98): Likewise.
8585 (conformtest-headers-XOPEN2K): Likewise.
8586 (conformtest-headers-POSIX2008): Likewise.
8587 (conformtest-headers-XOPEN2K8): Likewise.
8588 (conformtest-header-list-base): Likewise.
8589 (conformtest-header-list-tests): Likewise.
8590 (conformtest-header-base): Likewise.
8591 (conformtest-header-tests): Likewise.
8592 (tests-special): Add $(conformtest-header-list-tests). If
8593 [$(fast-check) && !$(cross-compiling)], add
8594 $(conformtest-header-tests) instead of
8595 $(objpfx)run-conformtest.out.
8596 (generated): Add $(conformtest-header-list-base). If
8597 [$(fast-check) && !$(cross-compiling)], add
8598 $(conformtest-header-base). Remove previous setting.
8599 ($(conformtest-header-list-tests)): New target.
8600 (test-xfail-run-conformtest): Remove variable.
8601 ($(objpfx)run-conformtest.out): Remove target.
8602 (test-xfail-ISO11/complex.h/conform): New variable.
8603 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8604 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8605 (test-xfail-XPG3/varargs.h/conform): Likewise.
8606 (test-xfail-XPG4/varargs.h/conform): Likewise.
8607 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8608 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8609 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8610 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8611 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8612 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8613 (test-xfail-XPG3/ftw.h/conform): Likewise.
8614 (test-xfail-XPG3/grp.h/conform): Likewise.
8615 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8616 (test-xfail-XPG3/limits.h/conform): Likewise.
8617 (test-xfail-XPG3/pwd.h/conform): Likewise.
8618 (test-xfail-XPG3/search.h/conform): Likewise.
8619 (test-xfail-XPG3/signal.h/conform): Likewise.
8620 (test-xfail-XPG3/stdio.h/conform): Likewise.
8621 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8622 (test-xfail-XPG3/string.h/conform): Likewise.
8623 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8624 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8625 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8626 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8627 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8628 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8629 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8630 (test-xfail-XPG3/termios.h/conform): Likewise.
8631 (test-xfail-XPG3/time.h/conform): Likewise.
8632 (test-xfail-XPG3/unistd.h/conform): Likewise.
8633 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8634 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8635 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8636 (test-xfail-XPG4/netdb.h/conform): Likewise.
8637 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8638 (test-xfail-XPG4/signal.h/conform): Likewise.
8639 (test-xfail-XPG4/stdio.h/conform): Likewise.
8640 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8641 (test-xfail-XPG4/stropts.h/conform): Likewise.
8642 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8643 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8644 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8645 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8646 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8647 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8648 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8649 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8650 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8651 (test-xfail-XPG4/termios.h/conform): Likewise.
8652 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8653 (test-xfail-XPG4/unistd.h/conform): Likewise.
8654 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8655 (test-xfail-POSIX/sched.h/conform): Likewise.
8656 (test-xfail-POSIX/signal.h/conform): Likewise.
8657 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8658 (test-xfail-POSIX/tar.h/conform): Likewise.
8659 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8660 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8661 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8662 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8663 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8664 (test-xfail-UNIX98/sched.h/conform): Likewise.
8665 (test-xfail-UNIX98/signal.h/conform): Likewise.
8666 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8667 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8668 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8669 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8670 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8671 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8672 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8673 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8674 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8675 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8676 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8677 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8678 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8679 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8680 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8681 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8682 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8683 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8684 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8685 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8686 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8687 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8688 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8689 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8690 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8691 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8692 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8693 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8694 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8695 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8696 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8697 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8698 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8699 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8700 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8701 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8702 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8703 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8704 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8705 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8706 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8707 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8708 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8709 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8710 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8711 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8712 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8713 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8714 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8715 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8716 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8717 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8718 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8719 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8720 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8721 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8722 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8723 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8724 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8725 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8726 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8727 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8728 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8729 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8730 (conformtest-cc-flags): Likewise.
8731 ($(conformtest-header-tests): New target.
8732 * conform/check-header-lists.sh: New file.
8733 * conform/run-conformtest.sh: Remove.
8735 * conform/conformtest.pl: Allow ' and \ in values given for
8737 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8739 [POSIX] (sys/types.h): Likewise.
8740 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8742 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8744 * conform/data/signal.h-data (SIGIO): Remove expectation.
8745 [XPG3] (SIGBUS): Do not expect.
8746 [POSIX || XPG3] (SIGPOLL): Likewise.
8747 [POSIX || XPG3] (SIGPROF): Likewise.
8748 [POSIX || XPG3] (SIGSYS): Likewise.
8749 [XPG3] (SIGTRAP): Likewise.
8750 [POSIX || XPG3] (SIGURG): Likewise.
8751 [POSIX || XPG3] (SIGVTALRM): Likewise.
8752 [POSIX || XPG3] (SIGXCPU): Likewise.
8753 [POSIX || XPG3] (SIGXFSZ): Likewise.
8754 [POSIX] (SA_SIGINFO): Expect.
8755 [XPG3] (siginfo_t): Do not expect type or contents.
8756 [POSIX] (si_pid): Do not expect element.
8757 [POSIX] (si_uid): Likewise.
8758 [POSIX] (si_addr): Likewise.
8759 [POSIX] (si_status): Likewise.
8760 [POSIX] (si_band): Likewise.
8761 [XPG4] (si_value): Likewise.
8762 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8763 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8764 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8765 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8766 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8767 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8768 [POSIX || XPG3] (ILL_COPROC): Likewise.
8769 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8770 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8771 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8772 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8773 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8774 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8775 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8776 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8777 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8778 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8779 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8780 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8781 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8782 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8783 [POSIX || XPG3] (CLD_EXITED): Likewise.
8784 [POSIX || XPG3] (CLD_KILLED): Likewise.
8785 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8786 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8787 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8788 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8789 [POSIX || XPG3] (POLL_IN): Likewise.
8790 [POSIX || XPG3] (POLL_OUT): Likewise.
8791 [POSIX || XPG3] (POLL_MSG): Likewise.
8792 [POSIX || XPG3] (POLL_ERR): Likewise.
8793 [POSIX || XPG3] (POLL_PRI): Likewise.
8794 [POSIX || XPG3] (POLL_HUP): Likewise.
8795 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8796 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8797 (SIG*): Do not allow.
8798 [XPG3] (si_*): Likewise.
8799 [XPG3] (SI_*): Likewise.
8800 [XPG3 || XPG4] (sigev_*): Likewise.
8801 [XPG3 || XPG4] (SIGEV_*): Likewise.
8802 [XPG3 || XPG4] (sival_*): Likewise.
8803 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8804 [POSIX || XPG3] (BUS_*): Likewise.
8805 [POSIX || XPG3] (CLD_*): Likewise.
8806 [POSIX || XPG3] (FPE_*): Likewise.
8807 [POSIX || XPG3] (ILL_*): Likewise.
8808 [POSIX || XPG3] (POLL_*): Likewise.
8809 [POSIX || XPG3] (SEGV_*): Likewise.
8810 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8811 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8812 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8813 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8814 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8815 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8816 Specify type and value.
8817 (TVERSLEN): Likewise.
8818 (REGTYPE): Likewise.
8819 (AREGTYPE): Likewise.
8820 (LNKTYPE): Likewise.
8821 (SYMTYPE): Likewise.
8822 (CHRTYPE): Likewise.
8823 (BLKTYPE): Likewise.
8824 (DIRTYPE): Likewise.
8825 (FIFOTYPE): Likewise.
8826 (CONTTYPE): Likewise.
8831 (TUWRITE): Likewise.
8834 (TGWRITE): Likewise.
8837 (TOWRITE): Likewise.
8839 [POSIX] (TSVTX): Expect constant.
8841 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8843 * Makefile (tests): Change dependencies to ....
8844 (tests-special): ... additions to this variable.
8845 (tests): Depend on $(tests-special).
8846 * Makerules (check-abi-list): New variable.
8847 (check-abi): Depend on $(check-abi-list).
8848 [$(subdir) = elf] (tests-special): Add
8849 $(objpfx)check-abi-libc.out.
8850 [$(build-shared) = yes && subdir] (tests-special): Add
8852 [$(build-shared) = yes && subdir] (tests): Do not depend on
8854 * Rules (tests): Depend on $(tests-special).
8855 (xtests): Depend on $(xtests-special).
8856 * catgets/Makefile (tests): Change dependencies to ....
8857 (tests-special): ... additions to this variable.
8858 * conform/Makefile (tests): Change dependencies to ....
8859 (tests-special): ... additions to this variable.
8860 * elf/Makefile (tests): Change dependencies to ....
8861 (tests-special): ... additions to this variable.
8862 * grp/Makefile (tests): Change dependencies to ....
8863 (tests-special): ... additions to this variable.
8864 * iconv/Makefile (xtests): Change dependencies to ....
8865 (xtests-special): ... additions to this variable.
8866 * iconvdata/Makefile (tests): Change dependencies to ....
8867 (tests-special): ... additions to this variable.
8868 * intl/Makefile (tests): Change dependencies to ....
8869 (tests-special): ... additions to this variable. Also add
8870 $(objpfx)tst-gettext.out.
8871 * io/Makefile (tests): Change dependencies to ....
8872 (tests-special): ... additions to this variable.
8873 * libio/Makefile (tests): Change dependencies to ....
8874 (tests-special): ... additions to this variable.
8875 * malloc/Makefile (tests): Change dependencies to ....
8876 (tests-special): ... additions to this variable.
8877 * misc/Makefile (tests): Change dependencies to ....
8878 (tests-special): ... additions to this variable.
8879 * nptl/Makefile (tests): Change dependencies to ....
8880 (tests-special): ... additions to this variable.
8881 * nptl_db/Makefile (tests): Change dependencies to ....
8882 (tests-special): ... additions to this variable.
8883 * posix/Makefile (tests): Change dependencies to ....
8884 (tests-special): ... additions to this variable.
8885 (xtests): Change dependencies to ....
8886 (xtests-special): ... additions to this variable.
8887 * resolv/Makefile (tests): Change dependencies to ....
8888 (tests-special): ... additions to this variable.
8889 (xtests): Change dependencies to ....
8890 (xtests-special): ... additions to this variable.
8891 * stdio-common/Makefile (tests): Change dependencies to ....
8892 (tests-special): ... additions to this variable.
8893 (do-tst-unbputc): Remove target.
8894 (do-tst-printf): Likewise.
8895 * stdlib/Makefile (tests): Change dependencies to ....
8896 (tests-special): ... additions to this variable.
8897 * string/Makefile (tests): Change dependencies to ....
8898 (tests-special): ... additions to this variable.
8899 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8900 (tests-special): ... additions to this variable.
8902 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8904 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8906 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8907 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8909 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8910 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8911 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8912 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8913 * conform/data/libgen.h-data [XPG3]: Likewise.
8914 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8915 * conform/data/ndbm.h-data [XPG3]: Likewise.
8916 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8917 * conform/data/netdb.h-data [XPG3]: Likewise.
8918 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8919 * conform/data/poll.h-data [XPG3]: Likewise.
8920 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8921 * conform/data/strings.h-data [XPG3]: Likewise.
8922 * conform/data/stropts.h-data [XPG3]: Likewise.
8923 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8924 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8925 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8927 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8928 * conform/data/sys/time.h-data [XPG3]: Likewise.
8929 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8930 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8931 * conform/data/sys/un.h-data [XPG3]: Likewise.
8932 * conform/data/syslog.h-data [XPG3]: Likewise.
8933 * conform/data/ucontext.h-data [XPG3]: Likewise.
8934 * conform/data/utmpx.h-data [XPG3]: Likewise.
8935 * conform/data/varargs.h-data [UNIX98]: Enable file.
8937 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8939 * math/libm-test.inc (struct test_f_f_data): Move expected results
8940 into structure for each rounding mode.
8941 (struct test_ff_f_data): Likewise.
8942 (struct test_ff_f_data_nexttoward): Likewise.
8943 (struct test_fi_f_data): Likewise.
8944 (struct test_fl_f_data): Likewise.
8945 (struct test_if_f_data): Likewise.
8946 (struct test_fff_f_data): Likewise.
8947 (struct test_c_f_data): Likewise.
8948 (struct test_f_f1_data): Likewise.
8949 (struct test_fF_f1_data): Likewise.
8950 (struct test_ffI_f1_data): Likewise.
8951 (struct test_c_c_data): Likewise.
8952 (struct test_cc_c_data): Likewise.
8953 (struct test_f_i_data): Likewise.
8954 (struct test_ff_i_data): Likewise.
8955 (struct test_f_l_data): Likewise.
8956 (struct test_f_L_data): Likewise.
8957 (struct test_fFF_11_data): Likewise.
8959 (RM_FE_DOWNWARD): Likewise.
8960 (RM_FE_TONEAREST): Likewise.
8961 (RM_FE_TOWARDZERO): Likewise.
8962 (RM_FE_UPWARD): Likewise.
8963 (RUN_TEST_LOOP_f_f): Update references to expected results.
8964 (RUN_TEST_LOOP_2_f): Likewise.
8965 (RUN_TEST_LOOP_fff_f): Likewise.
8966 (RUN_TEST_LOOP_c_f): Likewise.
8967 (RUN_TEST_LOOP_f_f1): Likewise.
8968 (RUN_TEST_LOOP_fF_f1): Likewise.
8969 (RUN_TEST_LOOP_fI_f1): Likewise.
8970 (RUN_TEST_LOOP_ffI_f1): Likewise.
8971 (RUN_TEST_LOOP_c_c): Likewise.
8972 (RUN_TEST_LOOP_cc_c): Likewise.
8973 (RUN_TEST_LOOP_f_i): Likewise.
8974 (RUN_TEST_LOOP_f_i_tg): Likewise.
8975 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8976 (RUN_TEST_LOOP_f_b): Likewise.
8977 (RUN_TEST_LOOP_f_b_tg): Likewise.
8978 (RUN_TEST_LOOP_f_l): Likewise.
8979 (RUN_TEST_LOOP_f_L): Likewise.
8980 (RUN_TEST_LOOP_fFF_11): Likewise.
8981 * math/gen-libm-test.pl (parse_args): Output four copies of
8982 expected results for each test.
8984 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8985 (__ASSUME_UTIMES): Remove.
8986 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8987 (__ASSUME_UTIMES): Likewise.
8989 * math/gen-auto-libm-tests.c: Update comment on output format.
8990 (output_for_one_input_case): Generate before-rounding and
8991 after-rounding information as conditions on output flags not
8992 floating-point format.
8993 * math/auto-libm-test-out: Regenerated.
8994 * math/gen-libm-test.pl (cond_value): New function.
8995 (or_cond_value): Use cond_value.
8996 (generate_testfile): Handle conditional exceptions.
8998 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9000 * math/libm-test.inc (max_valid_error): New variable.
9001 (init_max_error): Take new argument specifying whether function
9002 results are exactly determined. Set max_valid_error and bound
9003 other variables for errors based on this argument.
9004 (set_max_error): Do not record results above max_valid_error.
9005 (check_float_internal): Only accept errors of up to 0.5ulps if
9006 also at most max_valid_error.
9007 (START): Take new argument EXACT and pass it to init_max_error.
9008 (acos_test): Update call to START.
9009 (acos_test_tonearest): Likewise.
9010 (acos_test_towardzero): Likewise.
9011 (acos_test_downward): Likewise.
9012 (acos_test_upward): Likewise.
9013 (acosh_test): Likewise.
9014 (asin_test): Likewise.
9015 (asin_test_tonearest): Likewise.
9016 (asin_test_towardzero): Likewise.
9017 (asin_test_downward): Likewise.
9018 (asin_test_upward): Likewise.
9019 (asinh_test): Likewise.
9020 (atan_test): Likewise.
9021 (atanh_test): Likewise.
9022 (atan2_test): Likewise.
9023 (cabs_test): Likewise.
9024 (cacos_test): Likewise.
9025 (cacosh_test): Likewise.
9026 (carg_test): Likewise.
9027 (casin_test): Likewise.
9028 (casinh_test): Likewise.
9029 (catan_test): Likewise.
9030 (catanh_test): Likewise.
9031 (cbrt_test): Likewise.
9032 (ccos_test): Likewise.
9033 (ccosh_test): Likewise.
9034 (ceil_test): Likewise.
9035 (cexp_test): Likewise.
9036 (cimag_test): Likewise.
9037 (clog_test): Likewise.
9038 (clog10_test): Likewise.
9039 (conj_test): Likewise.
9040 (copysign_test): Likewise.
9041 (cos_test): Likewise.
9042 (cos_test_tonearest): Likewise.
9043 (cos_test_towardzero): Likewise.
9044 (cos_test_downward): Likewise.
9045 (cos_test_upward): Likewise.
9046 (cosh_test): Likewise.
9047 (cosh_test_tonearest): Likewise.
9048 (cosh_test_towardzero): Likewise.
9049 (cosh_test_downward): Likewise.
9050 (cosh_test_upward): Likewise.
9051 (cpow_test): Likewise.
9052 (cproj_test): Likewise.
9053 (creal_test): Likewise.
9054 (csin_test): Likewise.
9055 (csinh_test): Likewise.
9056 (csqrt_test): Likewise.
9057 (ctan_test): Likewise.
9058 (ctan_test_tonearest): Likewise.
9059 (ctan_test_towardzero): Likewise.
9060 (ctan_test_downward): Likewise.
9061 (ctan_test_upward): Likewise.
9062 (ctanh_test): Likewise.
9063 (ctanh_test_tonearest): Likewise.
9064 (ctanh_test_towardzero): Likewise.
9065 (ctanh_test_downward): Likewise.
9066 (ctanh_test_upward): Likewise.
9067 (erf_test): Likewise.
9068 (erfc_test): Likewise.
9069 (exp_test): Likewise.
9070 (exp_test_tonearest): Likewise.
9071 (exp_test_towardzero): Likewise.
9072 (exp_test_downward): Likewise.
9073 (exp_test_upward): Likewise.
9074 (exp10_test): Likewise.
9075 (exp10_test_tonearest): Likewise.
9076 (exp10_test_towardzero): Likewise.
9077 (exp10_test_downward): Likewise.
9078 (exp10_test_upward): Likewise.
9079 (pow10_test): Likewise.
9080 (exp2_test): Likewise.
9081 (expm1_test): Likewise.
9082 (expm1_test_tonearest): Likewise.
9083 (expm1_test_towardzero): Likewise.
9084 (expm1_test_downward): Likewise.
9085 (expm1_test_upward): Likewise.
9086 (fabs_test): Likewise.
9087 (fdim_test): Likewise.
9088 (floor_test): Likewise.
9089 (fma_test): Likewise.
9090 (fma_test_towardzero): Likewise.
9091 (fma_test_downward): Likewise.
9092 (fma_test_upward): Likewise.
9093 (fmax_test): Likewise.
9094 (fmin_test): Likewise.
9095 (fmod_test): Likewise.
9096 (fpclassify_test): Likewise.
9097 (frexp_test): Likewise.
9098 (hypot_test): Likewise.
9099 (ilogb_test): Likewise.
9100 (isfinite_test): Likewise.
9101 (finite_test): Likewise.
9102 (isgreater_test): Likewise.
9103 (isgreaterequal_test): Likewise.
9104 (isinf_test): Likewise.
9105 (isless_test): Likewise.
9106 (islessequal_test): Likewise.
9107 (islessgreater_test): Likewise.
9108 (isnan_test): Likewise.
9109 (isnormal_test): Likewise.
9110 (issignaling_test): Likewise.
9111 (isunordered_test): Likewise.
9112 (j0_test): Likewise.
9113 (j1_test): Likewise.
9114 (jn_test): Likewise.
9115 (ldexp_test): Likewise.
9116 (lgamma_test): Likewise.
9117 (gamma_test): Likewise.
9118 (lrint_test): Likewise.
9119 (lrint_test_tonearest): Likewise.
9120 (lrint_test_towardzero): Likewise.
9121 (lrint_test_downward): Likewise.
9122 (lrint_test_upward): Likewise.
9123 (llrint_test): Likewise.
9124 (llrint_test_tonearest): Likewise.
9125 (llrint_test_towardzero): Likewise.
9126 (llrint_test_downward): Likewise.
9127 (llrint_test_upward): Likewise.
9128 (log_test): Likewise.
9129 (log10_test): Likewise.
9130 (log1p_test): Likewise.
9131 (log2_test): Likewise.
9132 (logb_test): Likewise.
9133 (logb_test_downward): Likewise.
9134 (lround_test): Likewise.
9135 (llround_test): Likewise.
9136 (modf_test): Likewise.
9137 (nearbyint_test): Likewise.
9138 (nextafter_test): Likewise.
9139 (nexttoward_test): Likewise.
9140 (pow_test): Likewise.
9141 (pow_test_tonearest): Likewise.
9142 (pow_test_towardzero): Likewise.
9143 (pow_test_downward): Likewise.
9144 (pow_test_upward): Likewise.
9145 (remainder_test): Likewise.
9146 (drem_test): Likewise.
9147 (remainder_test_tonearest): Likewise.
9148 (drem_test_tonearest): Likewise.
9149 (remainder_test_towardzero): Likewise.
9150 (drem_test_towardzero): Likewise.
9151 (remainder_test_downward): Likewise.
9152 (drem_test_downward): Likewise.
9153 (remainder_test_upward): Likewise.
9154 (drem_test_upward): Likewise.
9155 (remquo_test): Likewise.
9156 (rint_test): Likewise.
9157 (rint_test_tonearest): Likewise.
9158 (rint_test_towardzero): Likewise.
9159 (rint_test_downward): Likewise.
9160 (rint_test_upward): Likewise.
9161 (round_test): Likewise.
9162 (scalb_test): Likewise.
9163 (scalbn_test): Likewise.
9164 (scalbln_test): Likewise.
9165 (signbit_test): Likewise.
9166 (sin_test): Likewise.
9167 (sin_test_tonearest): Likewise.
9168 (sin_test_towardzero): Likewise.
9169 (sin_test_downward): Likewise.
9170 (sin_test_upward): Likewise.
9171 (sincos_test): Likewise.
9172 (sinh_test): Likewise.
9173 (sinh_test_tonearest): Likewise.
9174 (sinh_test_towardzero): Likewise.
9175 (sinh_test_downward): Likewise.
9176 (sinh_test_upward): Likewise.
9177 (sqrt_test): Likewise.
9178 (sqrt_test_tonearest): Likewise.
9179 (sqrt_test_towardzero): Likewise.
9180 (sqrt_test_downward): Likewise.
9181 (sqrt_test_upward): Likewise.
9182 (tan_test): Likewise.
9183 (tan_test_tonearest): Likewise.
9184 (tan_test_towardzero): Likewise.
9185 (tan_test_downward): Likewise.
9186 (tan_test_upward): Likewise.
9187 (tanh_test): Likewise.
9188 (tgamma_test): Likewise.
9189 (trunc_test): Likewise.
9190 (y0_test): Likewise.
9191 (y1_test): Likewise.
9192 (yn_test): Likewise.
9193 (significand_test): Likewise.
9195 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9196 individual tests in comment.
9197 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9198 (prev_max_error): New variable.
9199 (prev_real_max_error): Likewise.
9200 (prev_imag_max_error): Likewise.
9201 (compare_ulp_data): Don't refer to test names in comment.
9202 (find_test_ulps): Remove function.
9203 (find_function_ulps): Likewise.
9204 (find_complex_function_ulps): Likewise.
9205 (init_max_error): Take function name as argument. Look up ulps
9207 (print_ulps): Remove function.
9208 (print_max_error): Use prev_max_error instead of calling
9210 (print_complex_max_error): Use prev_real_max_error and
9211 prev_imag_max_error instead of calling find_complex_function_ulps.
9212 (check_float_internal): Take max_ulp parameter instead of calling
9213 find_test_ulps. Don't call print_ulps.
9214 (check_float): Update call to check_float_internal.
9215 (check_complex): Update calls to check_float_internal.
9216 (START): Pass argument to init_max_error.
9217 * math/gen-libm-test.pl (%results): Don't include "kind"
9219 (parse_ulps): Don't handle ulps of individual tests.
9220 (print_ulps_file): Likewise.
9221 (output_ulps): Likewise.
9222 * math/README.libm-test: Update.
9223 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9225 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9226 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9227 * sysdeps/arm/libm-test-ulps: Likewise.
9228 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9229 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9230 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9231 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9232 * sysdeps/microblaze/libm-test-ulps: Likewise.
9233 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9234 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9236 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9238 * sysdeps/sh/libm-test-ulps: Likewise.
9239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9240 * sysdeps/tile/libm-test-ulps: Likewise.
9241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9243 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9245 * math/libm-test.inc (print_complex_max_error): Check separately
9246 whether real and imaginary errors are within allowed range and
9247 pass 0 to print_complex_function_ulps instead of value within
9250 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9252 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9254 (get_handles_fopen): Likewise.
9255 (do_write_test): Likewise.
9257 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9259 * libio/fileops.c (do_ftell): Use cached offset when
9261 * libio/iofwide.c (do_ftell_wide): Likewise.
9262 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9264 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9267 * libio/libioP.h (get_file_offset): New function.
9268 * libio/fileops.c (get_file_offset): Likewise.
9269 (do_ftell): Likewise.
9270 (_IO_new_file_seekoff): Split out ftell logic.
9271 * libio/wfileops.c (do_ftell_wide): Likewise.
9272 (_IO_wfile_seekoff): Split out ftell logic.
9273 * libio/tst-ftell-active-handler.c: New test case.
9274 * libio/Makefile (tests): Add it.
9276 2014-03-03 Roland McGrath <roland@hack.frob.com>
9278 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9279 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9281 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9284 * nscd/connections.c (nscd_init): Call do_exit.
9285 (start_threads): Call do_exit and notify_parent.
9286 (begin_drop_privileges): Call do_exit.
9287 (finish_drop_privileges): Likewise.
9288 * nscd/selinux.c (preserve_capabilities): Likewise.
9289 (install_real_capabilities): Likewise.
9290 (nscd_selinux_enabled): Likewise.
9291 (avc_create_thread): Likewise.
9292 (avc_alloc_lock): Likewise.
9293 (nscd_avc_init): Likewise.
9294 * nscd/nscd.c (parent_fd): New static variable.
9295 (main): Create a pipe between parent and child processes.
9296 Skip closing parent_fd.
9297 (monitor_child): New function.
9298 (do_exit): Likewise.
9299 (notify_parent): Likewise.
9300 * nscd/nscd.h (notify_parent): Likewise.
9301 (do_exit): Likewise.
9303 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9305 * malloc/malloc.c (__libc_calloc): Revert last change.
9307 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9311 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9313 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9317 (__libc_ifunc_impl_list): Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9319 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9320 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9321 * string/strrchr.c: Define STRRCHR.
9323 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9325 * benchtest/bench-strtok.c (simple_strtok): Delete.
9326 (strtok_string): Use as benchmark.
9327 * string/strtok (STRTOK): New macro.
9329 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9331 * manual/threads.texi: Add header and standard comments to all
9334 * elf/dl-lookup.c (check_match): New function.
9335 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9336 (do_lookup_x): Remove nested function check_match. Use non-nested
9337 function check_match.
9339 2014-02-28 Roland McGrath <roland@hack.frob.com>
9341 * csu/Makefile (generated, before-compile): Use += rather than =.
9342 * catgets/Makefile (generated, generated-dirs): Likewise.
9343 * debug/Makefile (generated): Likewise.
9344 * dlfcn/Makefile (generated): Likewise.
9345 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9346 * iconvdata/Makefile (before-compile, generated): Likewise.
9347 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9348 * libio/Makefile (generated): Likewise.
9349 * malloc/Makefile (generated): Likewise.
9350 * manual/Makefile (generated, generated-dirs): Likewise.
9351 * misc/Makefile (generated): Likewise.
9352 * posix/Makefile (generated): Likewise.
9353 * resolv/Makefile (generated): Likewise.
9354 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9355 * timezone/Makefile (generated, generated-dirs): Likewise.
9357 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9359 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9362 power8 implementation.
9363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9364 file: POWER8 llround ifunc implementation.
9365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9366 (__lllround): Add POWER8 implementation.
9367 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9368 POWER8 llround implementation.
9370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9371 power8 implementation.
9372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9373 file: POWER8 llrint ifunc implementation.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9375 Add POWER8 implementation.
9376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9377 POWER8 llrint implementation.
9379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9380 power8 implementation.
9381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9382 file: POWER8 finite ifunc implementation.
9383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9384 Add POWER8 implementation.
9385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9387 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9388 POWER8 finite implementation.
9389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9392 power8 implementation.
9393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9394 file: POWER8 isinf ifunc implementation.
9395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9396 POWER8 implementation.
9397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9400 isinf implementation.
9401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9403 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9404 (INIT_ARCH): Add hwcap2 initialization.
9405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9406 power8 implementation.
9407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9408 file: POWER8 isnan ifunc implementation.
9409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9410 POWER8 implementation.
9411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9414 isnan implementation.
9415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9417 2014-02-27 Joey Ye <joey.ye@arm.com>
9419 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9420 (_FP_NANFRAC_Q): Set to zero.
9422 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9425 * math/auto-libm-test-in: New test inputs.
9426 * math/auto-libm-test-out: Regenerate.
9427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9432 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9434 * scripts/evaluate-test.sh: Take new argument indicating whether
9435 failure is expected.
9436 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9437 indicating whether failure is expected.
9438 * conform/Makefile (test-xfail-run-conformtest): New variable.
9439 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9441 * posix/Makefile (test-xfail-annexc): New variable.
9442 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9444 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9446 * argp/Makefile: Include Makeconfig immediately after defining
9448 * assert/Makefile: Likewise.
9449 * benchtests/Makefile: Likewise.
9450 * catgets/Makefile: Likewise.
9451 * conform/Makefile: Likewise.
9452 * crypt/Makefile: Likewise.
9453 * csu/Makefile: Likewise.
9454 (all): Remove target.
9455 * ctype/Makefile: Include Makeconfig immediately after defining
9457 * debug/Makefile: Likewise.
9458 * dirent/Makefile: Likewise.
9459 * dlfcn/Makefile: Likewise.
9460 * gmon/Makefile: Likewise.
9461 * gnulib/Makefile: Likewise.
9462 * grp/Makefile: Likewise.
9463 * gshadow/Makefile: Likewise.
9464 * hesiod/Makefile: Likewise.
9465 * hurd/Makefile: Likewise.
9466 (all): Remove target.
9467 * iconvdata/Makefile: Include Makeconfig immediately after
9469 * inet/Makefile: Likewise.
9470 * intl/Makefile: Likewise.
9471 * io/Makefile: Likewise.
9472 * libio/Makefile: Likewise.
9473 (all): Remove target.
9474 * locale/Makefile: Include Makeconfig immediately after defining
9476 * login/Makefile: Likewise.
9477 * mach/Makefile: Likewise.
9478 (all): Remove target.
9479 * malloc/Makefile: Include Makeconfig immediately after defining
9481 (all): Remove target.
9482 * manual/Makefile: Include Makeconfig immediately after defining
9484 * math/Makefile: Likewise.
9485 * misc/Makefile: Likewise.
9486 * nis/Makefile: Likewise.
9487 * nss/Makefile: Likewise.
9488 * po/Makefile: Likewise.
9489 (all): Remove target.
9490 * posix/Makefile: Include Makeconfig immediately after defining
9492 * pwd/Makefile: Likewise.
9493 * resolv/Makefile: Likewise.
9494 * resource/Makefile: Likewise.
9495 * rt/Makefile: Likewise.
9496 * setjmp/Makefile: Likewise.
9497 * shadow/Makefile: Likewise.
9498 * signal/Makefile: Likewise.
9499 * socket/Makefile: Likewise.
9500 * soft-fp/Makefile: Likewise.
9501 * stdio-common/Makefile: Likewise.
9502 * stdlib/Makefile: Likewise.
9503 * streams/Makefile: Likewise.
9504 * string/Makefile: Likewise.
9505 * sunrpc/Makefile: Likewise.
9506 (all): Remove target.
9507 * sysvipc/Makefile: Include Makeconfig immediately after defining
9509 * termios/Makefile: Likewise.
9510 * time/Makefile: Likewise.
9511 * timezone/Makefile: Likewise.
9512 (all): Remove target.
9513 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9515 * wctype/Makefile: Likewise.
9517 2014-02-26 Steve Ellcey <sellcey@mips.com>
9519 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9520 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9521 (libc_feholdexcept_setround_mips): Ditto.
9522 (libc_feholdsetround): New.
9523 (libc_feholdsetroundf): New.
9524 (libc_feholdsetroundl): New.
9525 (libc_feupdateenv_test_mips): New.
9526 (libc_feupdateenv_test): New.
9527 (libc_feupdateenv_testf): New.
9528 (libc_feupdateenv_testl): New.
9529 (libc_feresetround): New.
9530 (libc_feresetroundf): New.
9531 (libc_feresetroundl): New.
9532 (libc_fetestexcept_mips): New.
9533 (libc_fetestexcept): New.
9534 (libc_fetestexceptf): New.
9535 (libc_fetestexceptl): New.
9537 (libc_feholdexcept_setround_mips_ctx): New.
9538 (libc_feholdexcept_setround_ctx): New.
9539 (libc_feholdexcept_setroundf_ctx): New.
9540 (libc_feholdexcept_setroundl_ctx): New.
9541 (libc_fesetenv_mips_ctx): New.
9542 (libc_fesetenv_ctx): New.
9543 (libc_fesetenv_ctxf): New.
9544 (libc_fesetenv_ctxl): New.
9545 (libc_feupdateenv_mips_ctx): New.
9546 (libc_feupdateenv_ctx): New.
9547 (libc_feupdateenvf_ctx): New.
9548 (libc_feupdateenvl_ctx): New.
9549 (libc_feholdsetround_mips_ctx): New.
9550 (libc_feholdsetround_ctx): New.
9551 (libc_feholdsetroundf_ctx): New.
9552 (libc_feholdsetroundl_ctx): New.
9553 (libc_feresetround_mips_ctx): New.
9554 (libc_feresetround_ctx): New.
9555 (libc_feresetroundf_ctx): New.
9556 (libc_feresetroundl_ctx): New.
9558 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9560 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9562 * manual/ipc.texi: New file.
9563 * manual/Makefile (chapters): Add ipc.
9564 * manual/job.texi: Add "Inter-Process Communication" to next.
9565 * manual/process.texi: Add "Inter-Process Communication" to prev.
9567 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9571 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9573 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9575 * manual/arith.texi: Fix spaces after sentences.
9576 * manual/charset.texi: Likewise.
9577 * manual/errno.texi: Likewise.
9578 * manual/install.texi: Likewise.
9579 * manual/llio.texi: Likewise.
9580 * manual/locale.texi: Likewise.
9581 * manual/maint.texi: Likewise.
9582 * manual/math.texi: Likewise.
9583 * manual/memory.texi: Likewise.
9584 * manual/message.texi: Likewise.
9585 * manual/probes.texi: Likewise.
9586 * manual/resource.texi: Likewise.
9587 * manual/signal.texi: Likewise.
9588 * manual/socket.texi: Likewise.
9589 * manual/stdio.texi: Likewise.
9590 * manual/string.texi: Likewise.
9591 * manual/time.texi: Likewise.
9592 * manual/users.texi: Likewise.
9594 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9597 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9598 _DEFAULT_SOURCE is defined.
9600 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9601 Carlos O'Donell <carlos@redhat.com>
9604 * elf/dl-tls.c (_dl_count_modids): New function.
9605 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9606 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9607 audit library and increment generation counter.
9608 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9609 * elf/tst-audit9.c: New file.
9610 * elf/tst-auditmod9a.c: New file.
9611 * elf/tst-auditmod9b.c: New file.
9612 * elf/Makefile: Add rules to build and run tst-audit9.
9614 2014-02-25 Florian Weimer <fweimer@redhat.com>
9617 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9619 2014-02-25 Will Newton <will.newton@linaro.org>
9621 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9622 (__longjmp): Restore sp and lr before restoring callee
9623 saved registers. Add longjmp and longjmp_target
9624 SystemTap probe point.
9625 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9626 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9627 Define to zero to match jmpbuf layout.
9628 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9629 (__sigsetjmp): Save sp and lr before saving callee
9630 saved registers. Add setjmp SystemTap probe point.
9632 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9634 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9636 2014-02-24 Andreas Schwab <schwab@suse.de>
9639 * elf/pldd.c (wait_for_ptrace_stop): New function.
9640 (main): Call it after attaching.
9642 2014-02-22 Roland McGrath <roland@hack.frob.com>
9644 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9645 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9646 Versions files is now verboten.
9647 * hurd/Versions (libc: GLIBC_2.0):
9648 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9649 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9650 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9651 * mach/Versions: Likewise.
9653 * csu/Versions: Remove unused %include.
9654 * resolv/Versions: Likewise.
9656 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9658 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9659 ($(objpfx)check-local-headers.out): Likewise.
9660 ($(objpfx)begin-end-check.out): Likewise.
9661 * Makerules (check-abi-%.out): Likewise.
9662 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9663 ($(objpfx)test2.cat): Likewise.
9664 ($(objpfx)de/libc.cat): Likewise.
9665 ($(objpfx)test-gencat.out): Likewise.
9666 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9667 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9668 ($(objpfx)noload-mem): Likewise.
9669 ($(objpfx)tst-pathopt.out): Likewise.
9670 ($(objpfx)tst-rtld-load-self.out): Likewise.
9671 ($(objpfx)tst-array1-cmp.out): Likewise.
9672 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9673 ($(objpfx)tst-array2-cmp.out): Likewise.
9674 ($(objpfx)tst-array3-cmp.out): Likewise.
9675 ($(objpfx)tst-array4-cmp.out): Likewise.
9676 ($(objpfx)tst-array5-cmp.out): Likewise.
9677 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9678 ($(objpfx)check-textrel.out): Likewise.
9679 ($(objpfx)check-execstack.out): Likewise.
9680 ($(objpfx)check-localplt.out): Likewise.
9681 ($(objpfx)order2-cmp.out): Likewise.
9682 ($(objpfx)tst-leaks1-mem): Likewise.
9683 ($(objpfx)tst-leaks1-static-mem): Likewise.
9684 ($(objpfx)tst-initorder-cmp.out): Likewise.
9685 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9686 ($(objpfx)tst-unused-dep.out): Likewise.
9687 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9688 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9689 * iconv/Makefile (test-iconvconfig): Likewise.
9690 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9691 ($(objpfx)iconv-test.out): Likewise.
9692 ($(objpfx)tst-tables.out): Likewise.
9693 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9694 ($(objpfx)tst-gettext.out): Likewise.
9695 ($(objpfx)tst-translit.out): Likewise.
9696 ($(objpfx)tst-gettext2.out): Likewise.
9697 ($(objpfx)tst-gettext4.out): Likewise.
9698 ($(objpfx)tst-gettext6.out): Likewise.
9699 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9700 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9701 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9702 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9703 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9704 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9705 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9706 ($(objpfx)wordexp-tst.out): Likewise.
9707 ($(objpfx)annexc.out): Likewise.
9708 ($(objpfx)tst-fnmatch-mem): Likewise.
9709 ($(objpfx)bug-regex2-mem): Likewise.
9710 ($(objpfx)bug-regex14-mem): Likewise.
9711 ($(objpfx)bug-regex21-mem): Likewise.
9712 ($(objpfx)bug-regex31-mem): Likewise.
9713 ($(objpfx)tst-vfork3-mem): Likewise.
9714 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9715 ($(objpfx)tst-pcre-mem): Likewise.
9716 ($(objpfx)tst-boost-mem): Likewise.
9717 ($(objpfx)tst-getconf.out): Likewise.
9718 ($(objpfx)bug-ga2-mem): Likewise.
9719 ($(objpfx)bug-glob2-mem): Likewise.
9720 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9721 ($(objpfx)mtrace-tst-leaks2): Likewise.
9722 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9723 ($(objpfx)tst-printf.out): Likewise.
9724 ($(objpfx)tst-setvbuf1.out): Likewise.
9725 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9726 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9727 ($(objpfx)tst-fmtmsg.out): Likewise.
9728 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9729 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9731 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9732 * bits/sigaction.h [__USE_MISC]: Likewise.
9733 * bits/waitstatus.h: Update #endif comments.
9734 * ctype/ctype.h: Likewise.
9735 * dirent/dirent.h: Likewise.
9736 [__USE_MISC]: Remove redundant conditionals.
9737 * grp/grp.h: Update #endif comments.
9738 [__USE_GNU]: Remove redundant conditionals.
9739 [__USE_MISC]: Likewise.
9740 * inet/netinet/in.h [__USE_GNU]: Likewise.
9741 * io/sys/stat.h [__USE_MISC]: Likewise.
9742 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9743 * libio/bits/stdio.h: Update #endif comments.
9744 [__USE_MISC]: Remove redundant conditionals.
9745 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9746 * libio/stdio.h: Update #endif comments.
9747 [__USE_MISC]: Remove redundant conditionals.
9748 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9749 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9750 * math/math.h: Update #else and #endif comments.
9751 [__USE_MISC]: Remove redundant conditionals.
9752 * misc/sys/uio.h: Update #endif comments.
9753 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9754 * posix/glob.h [__USE_MISC]: Likewise.
9755 * posix/sys/types.h: Update #endif comments.
9756 [__USE_MISC]: Remove redundant conditionals.
9757 * posix/sys/wait.h: Update #endif comments.
9758 [__USE_MISC]: Remove redundant conditionals.
9759 * posix/unistd.h: Update #endif comments.
9760 [__USE_MISC]: Remove redundant conditionals.
9761 * pwd/pwd.h [__USE_GNU]: Likewise.
9762 [__USE_MISC]: Likewise.
9763 * resolv/netdb.h [__USE_GNU]: Likewise.
9764 * signal/signal.h: Update #endif comments.
9765 [__USE_MISC]: Remove redundant conditionals.
9766 * stdlib/stdlib.h: Update #else and #endif comments.
9767 [__USE_MISC]: Remove redundant conditionals.
9768 [__USE_GNU]: Likewise.
9769 * string/bits/string2.h [__USE_MISC]: Likewise.
9770 * string/string.h: Update #endif comments.
9771 [__USE_MISC]: Remove redundant conditionals.
9772 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9774 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9775 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9776 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9778 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9780 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9782 [__USE_MISC]: Remove redundant conditionals.
9783 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9784 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9785 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9786 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9787 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9789 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9790 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9792 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9795 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9797 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9798 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9800 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9802 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9803 * sysdeps/x86/bits/string.h: Update #endif comments.
9804 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9806 * time/sys/time.h: Update #endif comments.
9807 * time/time.h: Likewise.
9808 [__USE_MISC]: Remove redundant conditionals.
9810 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9813 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9815 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9817 * Versions.def (librt): Add GLIBC_2.17.
9819 2014-02-21 Adam Conrad <adconrad@0c3.net>
9821 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9822 synonym for _SYS_AUXV_H to allow direct inclusion.
9823 * sysdeps/sparc/bits/hwcap.h: Likewise.
9824 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9825 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9826 * sysdeps/sparc/sysdep.h: Likewise.
9828 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9830 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9832 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9834 * benchtests/bench-strrchr.c: Print length instead of position.
9836 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9839 * sysdeps/unix/sysv/linux/kernel-features.h
9840 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9841 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9842 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9843 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9845 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9846 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9847 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9848 (__ASSUME_SENDMMSG): Define instead of using previous
9849 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9850 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9851 (__ASSUME_SENDMMSG_SYSCALL): Define.
9852 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9853 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9855 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9856 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9858 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9859 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9861 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9862 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9863 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9864 [__ASSUME_SENDMMSG]: Change conditionals to
9865 [__ASSUME_SENDMMSG_SOCKETCALL].
9866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9867 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9869 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9870 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9872 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9873 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9874 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9875 [!__ASSUME_SENDMMSG]: Change conditional to
9876 [!__ASSUME_SENDMMSG_SOCKETCALL].
9877 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9878 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9882 * sysdeps/unix/sysv/linux/kernel-features.h
9883 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9884 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9885 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9886 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9887 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9888 [__i386__ || __sparc__]
9889 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9890 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9891 (__ASSUME_RECVMMSG): Define instead of using previous
9892 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9893 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9894 (__ASSUME_RECVMMSG_SYSCALL): Define.
9895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9896 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9899 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9902 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9904 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9905 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9906 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9907 [__ASSUME_RECVMMSG]: Change condition to
9908 [__ASSUME_RECVMMSG_SOCKETCALL].
9909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9912 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9913 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9914 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9916 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9917 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9918 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9919 [!__ASSUME_RECVMMSG]: Change condition to
9920 [!__ASSUME_RECVMMSG_SOCKETCALL].
9921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9922 (__ASSUME_RECVMMSG_SYSCALL): Define.
9925 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9926 __powerpc__ || __s390__ || __sh__ || __sparc__]
9927 (__ASSUME_SOCKETCALL): Define.
9928 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9929 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9930 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9931 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9932 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9933 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9934 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9935 (__ASSUME_ACCEPT4): Define instead of using previous
9936 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9937 __powerpc__ || __sparc__ || __s390__)] condition.
9938 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9939 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9940 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9941 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9942 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9943 [!__ASSUME_ACCEPT4]: Change condition to
9944 [!__ASSUME_ACCEPT4_SOCKETCALL].
9945 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9946 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9947 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9948 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9949 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9950 __ASSUME_ACCEPT4_SYSCALL.
9951 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9952 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9954 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9955 __ASSUME_ACCEPT4_SYSCALL.
9956 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9957 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9959 [__ASSUME_ACCEPT4]: Change condition to
9960 [__ASSUME_ACCEPT4_SOCKETCALL].
9961 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9962 (__ASSUME_SOCKETCALL): Define.
9963 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9965 (__ASSUME_SOCKETCALL): Define.
9966 (__ASSUME_ACCEPT4): Remove.
9967 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9969 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9970 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9972 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9973 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9975 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9977 (HWCAP_ARM_LPAE): Likewise.
9978 (HWCAP_ARM_EVTSTRM): Likewise.
9979 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9980 Add vpfd32, lpae and evtstrm.
9981 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9984 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9986 * math/auto-libm-test-in: Add tests of clog10.
9987 * math/auto-libm-test-out: Regenerated.
9988 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9989 * sysdeps/i386/fpu/libm-test-ulps: Update.
9990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992 2014-02-18 Andreas Schwab <schwab@suse.de>
9995 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9996 Store non-zero if the second buffer was newly allocated.
9997 (send_dg): Likewise.
9998 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9999 to send_vc and send_dg.
10000 (res_nsend): Pass NULL for ansp2_malloced.
10001 * resolv/res_query.c (__libc_res_nquery): Add parameter
10002 answerp2_malloced and pass it down to __libc_res_nsend.
10003 (res_nquery): Pass additional NULL to __libc_res_nquery.
10004 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10005 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10006 second answer buffer if answerp2_malloced was set.
10007 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10008 (__libc_res_nquerydomain): Add parameter
10009 answerp2_malloced and pass it down to __libc_res_nquery.
10010 (res_nquerydomain): Pass additional NULL to
10011 __libc_res_nquerydomain.
10012 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10013 additional NULL to __libc_res_nsend and __libc_res_nquery.
10014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10015 additional NULL to __libc_res_nsearch.
10016 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10017 parameter of __libc_res_nsearch to check for separately allocated
10019 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10021 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10022 additional NULL to __libc_res_nquery.
10023 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10024 __libc_res_nsearch.
10025 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10026 * include/resolv.h: Update prototypes of __libc_res_nquery,
10027 __libc_res_nsearch, __libc_res_nsend.
10029 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10031 * math/auto-libm-test-in: Add tests of fma.
10032 * math/auto-libm-test-out: Regenerated.
10033 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10034 (fma_towardzero_test_data): Likewise.
10035 (fma_downward_test_data): Likewise.
10036 (fma_upward_test_data): Likewise.
10037 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10039 (rounding_modes): Add values for new field.
10040 (func_calc_method): Add value mpfr_fff_f.
10041 (func_calc_desc): Add mpfr_fff_f union field.
10042 (test_function): Add field exact_args.
10043 (FUNC): Add macro argument EXACT_ARGS.
10044 (FUNC_mpfr_f_f): Update call to FUNC.
10045 (FUNC_mpfr_f_f): Likewise.
10046 (FUNC_mpfr_ff_f): Likewise.
10047 (FUNC_mpfr_if_f): Likewise.
10048 (FUNC_mpc_c_f): Likewise.
10049 (FUNC_mpc_c_c): Likewise.
10050 (test_functions): Add fma. Update calls to FUNC.
10051 (handle_input_arg): Add argument exact_args.
10052 (add_test): Update call to handle_input_arg.
10053 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10054 (output_for_one_input_case): Update call to calc_generic_results.
10055 Recalculate exact zero results in each rounding mode.
10057 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10058 non-negative before setting low bit.
10059 * math/auto-libm-test-in: Mark one asin test possibly having
10060 spurious underflow.
10061 * math/auto-libm-test-out: Regenerated.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10065 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10067 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10068 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10069 ports/sysdeps/unix/sysv/linux/microblaze.
10070 * README: Add missing listing for microblaze*-*-linux-gnu.
10072 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10074 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10077 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10079 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10080 * sysdeps/unix/sysv/linux/ia64: Move directory from
10081 ports/sysdeps/unix/sysv/linux/ia64.
10082 * README: Update listing for ia64-*-linux-gnu.
10084 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10085 Joseph Myers <joseph@codesourcery.com>
10087 * Makeconfig (test-name): New variable.
10088 (evaluate-test): Likewise.
10089 * Makerules (do-test-clean): Remove .test-result files.
10090 (common-mostlyclean): Likewise.
10091 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10092 * scripts/evaluate-test.sh: New file.
10094 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10096 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10097 separate $(objpfx)tst-fopenloc-cmp.out and
10098 $(objpfx)tst-fopenloc-mem.out targets.
10099 (tests): Update dependencies.
10100 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10101 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10102 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10103 (tst-rxspencer-no-utf8-ARGS): New variable.
10104 (tst-rxspencer-no-utf8-ENV): Likewise.
10105 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10106 instead of $(objpfx)tst-rxspencer-mem.
10107 ($(objpfx)tst-rxspencer-mem): Change target to
10108 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10109 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10110 * posix/tst-rxspencer-no-utf8.c: New file.
10112 * elf/Makefile ($(objpfx)order.out): Remove rule.
10113 [$(run-built-tests) = yes] (tests): Depend on
10114 $(objpfx)order-cmp.out.
10115 ($(objpfx)order-cmp.out): New rule.
10116 [$(run-built-tests) = yes] (tests): Depend on
10117 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10118 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10119 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10120 $(objpfx)tst-array5-static-cmp.out.
10121 ($(objpfx)tst-array1.out): Remove rule.
10122 ($(objpfx)tst-array1-cmp.out): New rule.
10123 ($(objpfx)tst-array1-static.out): Remove rule.
10124 ($(objpfx)tst-array1-static-cmp.out): New rule.
10125 ($(objpfx)tst-array2.out): Remove rule.
10126 ($(objpfx)tst-array2-cmp.out): New rule.
10127 ($(objpfx)tst-array3.out): Remove rule.
10128 ($(objpfx)tst-array3-cmp.out): New rule.
10129 ($(objpfx)tst-array4.out): Remove rule.
10130 ($(objpfx)tst-array4-cmp.out): New rule.
10131 ($(objpfx)tst-array5.out): Remove rule.
10132 ($(objpfx)tst-array5-cmp.out): New rule.
10133 ($(objpfx)tst-array5-static.out): Remove rule.
10134 ($(objpfx)tst-array5-static-cmp.out): New rule.
10135 [$(run-built-tests) = yes] (tests): Depend on
10136 $(objpfx)order2-cmp.out.
10137 ($(objpfx)order2.out): Remove rule.
10138 ($(objpfx)order2-cmp.out): New rule.
10139 ($(objpfx)tst-initorder.out): Remove rule.
10140 [$(run-built-tests) = yes] (tests): Depend on
10141 $(objpfx)tst-initorder-cmp.out.
10142 ($(objpfx)tst-initorder-cmp.out): New rule.
10143 ($(objpfx)tst-initorder2.out): Remove rule.
10144 [$(run-built-tests) = yes] (tests): Depend on
10145 $(objpfx)tst-initorder2-cmp.out.
10146 ($(objpfx)tst-initorder2-cmp.out): New rule.
10147 [$(run-built-tests) = yes] (tests): Depend on
10148 $(objpfx)tst-unused-dep-cmp.out.
10149 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10150 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10151 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10152 on $(objpfx)tst-setvbuf1-cmp.out.
10153 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10154 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10155 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10156 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10157 ($(objpfx)tst-svc.out): Remove rule.
10158 ($(objpfx)tst-svc-cmp.out): New rule.
10160 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10162 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10163 * ctype/ctype.h [__USE_MISC]: Likewise.
10164 * dirent/dirent.h [__USE_MISC]: Likewise.
10165 * grp/grp.h [__USE_MISC]: Likewise.
10166 * io/fcntl.h [__USE_MISC]: Likewise.
10167 * io/sys/stat.h [__USE_MISC]: Likewise.
10168 * libio/stdio.h [__USE_MISC]: Likewise.
10169 * posix/unistd.h [__USE_MISC]: Likewise.
10170 * pwd/pwd.h [__USE_MISC]: Likewise.
10171 * stdlib.h [__USE_MISC]: Likewise.
10172 * string/bits/string2.h [__USE_MISC]: Likewise.
10173 * string/string.h [__USE_MISC]: Likewise.
10174 * time/time.h [__USE_MISC]: Likewise.
10176 2014-02-13 Andreas Schwab <schwab@suse.de>
10179 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10180 second answer buffer if it was separately allocated.
10182 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/mips/math-tests.h: Include <features.h>.
10185 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10186 (ROUNDING_TESTS_long_double): Do not define.
10187 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10188 (EXCEPTION_TESTS_long_double): Likewise.
10189 * sysdeps/mips/mips64/libm-test-ulps: Update.
10191 * include/features.h (__USE_BSD): Remove macro definitions.
10192 (__USE_SVID): Likewise.
10193 (_BSD_SOURCE): Likewise.
10194 (_SVID_SOURCE): Likewise.
10195 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10196 from definition of _DEFAULT_SOURCE.
10197 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10199 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10200 * bits/mman.h [__USE_BSD]: Likewise.
10201 * bits/termios.h [__USE_BSD]: Likewise.
10202 * bits/waitstatus.h [__USE_BSD]: Likewise.
10203 * ctype/ctype.h [__USE_SVID]: Likewise.
10204 * dirent/dirent.h [__USE_BSD]: Likewise.
10205 * grp/grp.h [__USE_SVID]: Likewise.
10206 [__USE_BSD]: Likewise.
10207 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10208 * io/fcntl.h [__USE_BSD]: Likewise.
10209 * io/ftw.h [__USE_BSD]: Likewise.
10210 * io/sys/stat.h [__USE_BSD]: Likewise.
10211 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10212 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10213 * libio/stdio.h [__USE_SVID]: Likewise.
10214 [__USE_BSD]: Likewise.
10215 * math/math.h [__USE_SVID]: Likewise.
10216 [__USE_BSD]: Likewise.
10217 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10218 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10219 * misc/search.h [__USE_SVID]: Likewise.
10220 * misc/sys/mman.h [__USE_BSD]: Likewise.
10221 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10222 * misc/sys/uio.h [__USE_BSD]: Likewise.
10223 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10224 * posix/glob.h [__USE_BSD]: Likewise.
10225 * posix/regex.h [__USE_BSD]: Likewise.
10226 * posix/sys/types.h [__USE_BSD]: Likewise.
10227 [__USE_SVID]: Likewise.
10228 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10229 * posix/sys/wait.h [__USE_BSD]: Likewise.
10230 [__USE_SVID]: Likewise.
10231 * posix/unistd.h [__USE_BSD]: Likewise.
10232 [__USE_SVID]: Likewise.
10233 * pwd/pwd.h [__USE_SVID]: Likewise.
10234 * resolv/netdb.h [__USE_BSD]: Likewise.
10235 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10236 * signal/signal.h [__USE_BSD]: Likewise.
10237 [__USE_SVID]: Likewise.
10238 * socket/sys/socket.h [__USE_BSD]: Likewise.
10239 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10240 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10241 [__USE_SVID]: Likewise.
10242 * string/bits/string2.h [__USE_BSD]: Likewise.
10243 [__USE_SVID]: Likewise.
10244 * string/bits/string3.h [__USE_BSD]: Likewise.
10245 * string/endian.h [__USE_BSD]: Likewise.
10246 * string/string.h [__USE_SVID]: Likewise.
10247 [__USE_BSD]: Likewise.
10248 * string/strings.h [__USE_BSD]: Likewise.
10249 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10250 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10251 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10252 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10253 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10254 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10258 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10259 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10261 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10262 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10264 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10266 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10267 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10268 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10270 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10272 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10273 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10274 * termios/termios.h [__USE_BSD]: Likewise.
10275 * time/sys/time.h [__USE_BSD]: Likewise.
10276 * time/time.h [__USE_BSD]: Likewise.
10277 [__USE_SVID]: Likewise.
10279 * Makefile (subdir_targets): Remove subdir_lint.out.
10281 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10282 (do-tst-printf): Likewise.
10283 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10284 $(objpfx)tst-printf.out.
10286 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10288 * Makerules (check-abi-%): Change target to
10289 $(objpfx)check-abi-%.out.
10290 (check-abi target): Update dependencies.
10291 (check-abi-pattern variable): Redirect output of diff to $@.
10292 (check-abi variable): Likewise.
10293 * elf/Makefile (check-abi): Update dependencies.
10295 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10297 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10298 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10300 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10301 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10302 value has largest subnormal exponent.
10303 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10304 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10305 * sysdeps/aarch64/soft-fp/sfp-machine.h
10306 (_FP_TININESS_AFTER_ROUNDING): New macro.
10307 * sysdeps/alpha/soft-fp/sfp-machine.h
10308 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10309 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10311 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10312 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10313 * sysdeps/mips/soft-fp/sfp-machine.h
10314 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10315 * sysdeps/powerpc/soft-fp/sfp-machine.h
10316 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10317 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10319 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10320 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10321 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10322 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10323 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10326 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10329 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10332 2014-02-12 Richard Henderson <rth@redhat.com>
10334 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10335 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10336 * sysdeps/unix/sysv/linux/alpha: Move directory from
10337 ports/sysdeps/unix/sysv/linux/alpha.
10338 * README: Update listing for alpha-*-linux-gnu.
10340 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10342 * include/features.h: Update comment documenting feature test
10344 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10346 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10347 (_SVID_SOURCE): Likewise.
10348 (_DEFAULT_SOURCE): Update description of default features.
10349 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10351 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10352 (S_ISVTX): Likewise.
10353 * manual/math.texi (Mathematical Constants): Likewise.
10354 * manual/signal.texi (Interrupted Primitives): Likewise.
10355 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10356 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10357 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10358 Don't refer to _SVID_SOURCE in warning text.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10362 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10364 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10365 * sysdeps/mips/dl-lookup.c: Remove.
10366 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10368 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10371 * math/auto-libm-test-in: Add testcase for expl.
10372 * math/auto-libm-test-out: Regenerate.
10373 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10374 calculation of unsafe.
10375 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10377 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10379 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10380 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10381 ports/sysdeps/unix/sysv/linux/aarch64.
10382 * README: Update listing for aarch64*-*-linux-gnu.
10384 2014-02-11 Will Newton <will.newton@linaro.org>
10386 * manual/probes.texi (Mathematical Function Probes): Use
10387 "triggered" instead of "hit".
10389 * manual/probes.texi (Internal Probes): Add documentation
10390 of setjmp, longjmp and longjmp_target probes.
10392 * include/stap-probe.h: Add comment about probe argument
10395 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10396 definition. (tr_where, tr_freehook, tr_mallochook,
10397 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10399 2014-02-11 David S. Miller <davem@davemloft.net>
10401 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10402 processing int_tests.
10404 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10406 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10407 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10408 * sysdeps/unix/sysv/linux/mips: Move directory from
10409 ports/sysdeps/unix/sysv/linux/mips.
10410 * README: Update listing for mips-*-linux-gnu and
10411 mips64-*-linux-gnu.
10413 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10415 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10416 * sysdeps/unix/sysv/linux/m68k: Move directory from
10417 ports/sysdeps/unix/sysv/linux/m68k.
10418 * README: Update listing for m68k-*-linux-gnu.
10420 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10422 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10423 * sysdeps/unix/sysv/linux/generic: Move directory from
10424 ports/sysdeps/unix/sysv/linux/generic.
10425 * sysdeps/unix/sysv/linux/tile: Move directory from
10426 ports/sysdeps/unix/sysv/linux/tile.
10427 * README: Update listing for tile*-*-linux-gnu.
10429 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10431 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10433 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10434 * catgets/open_catalog.c (__open_catalog): Likewise.
10435 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10436 * debug/confstr_chk.c: Likewise.
10437 * debug/fread_chk.c (__fread_chk): Likewise.
10438 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10439 * debug/getgroups_chk.c: Likewise.
10440 * debug/mbsnrtowcs_chk.c: Likewise.
10441 * debug/mbsrtowcs_chk.c: Likewise.
10442 * debug/mbstowcs_chk.c: Likewise.
10443 * debug/memcpy_chk.c: Likewise.
10444 * debug/memmove_chk.c: Likewise.
10445 * debug/mempcpy_chk.c: Likewise.
10446 * debug/memset_chk.c: Likewise.
10447 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10448 * debug/strcat_chk.c (__strcat_chk): Likewise.
10449 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10450 * debug/strncat_chk.c (__strncat_chk): Likewise.
10451 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10452 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10453 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10454 * debug/wcpncpy_chk.c: Likewise.
10455 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10456 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10457 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10458 * debug/wcsncpy_chk.c: Likewise.
10459 * debug/wcsnrtombs_chk.c: Likewise.
10460 * debug/wcsrtombs_chk.c: Likewise.
10461 * debug/wcstombs_chk.c: Likewise.
10462 * debug/wmemcpy_chk.c: Likewise.
10463 * debug/wmemmove_chk.c: Likewise.
10464 * debug/wmempcpy_chk.c: Likewise.
10465 * debug/wmemset_chk.c: Likewise.
10466 * dirent/scandirat.c (SCANDIRAT): Likewise.
10467 * dlfcn/dladdr1.c (dladdr1): Likewise.
10468 * dlfcn/dladdr.c (dladdr): Likewise.
10469 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10470 * dlfcn/dlerror.c (__dlerror): Likewise.
10471 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10472 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10473 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10474 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10475 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10476 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10477 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10478 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10480 * elf/dl-conflict.c: Likewise.
10481 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10482 * elf/dl-dst.h: Likewise.
10483 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10484 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10485 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10486 * elf/dl-init.c (call_init, _dl_init): Likewise.
10487 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10488 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10489 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10491 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10493 * elf/dl-minimal.c (__libc_memalign): Likewise.
10494 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10495 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10496 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10497 * elf/dl-sym.c (do_sym): Likewise.
10498 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10499 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10500 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10501 * elf/dl-writev.h (_dl_writev): Likewise.
10502 * elf/ldconfig.c (search_dir): Likewise.
10503 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10504 (dl_main): Likewise.
10505 * elf/setup-vdso.h (setup_vdso): Likewise.
10506 * grp/compat-initgroups.c (compat_call): Likewise.
10507 * grp/fgetgrent.c (fgetgrent): Likewise.
10508 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10509 * grp/putgrent.c (putgrent): Likewise.
10510 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10512 * hurd/hurdinit.c: Likewise.
10513 * iconvdata/8bit-gap.c (struct): Likewise.
10514 * iconvdata/ansi_x3.110.c : Likewise.
10515 * iconvdata/big5.c : Likewise.
10516 * iconvdata/big5hkscs.c : Likewise.
10517 * iconvdata/cp1255.c: Likewise.
10518 * iconvdata/cp1258.c : Likewise.
10519 * iconvdata/cp932.c : Likewise.
10520 * iconvdata/euc-cn.c: Likewise.
10521 * iconvdata/euc-jisx0213.c : Likewise.
10522 * iconvdata/euc-jp.c: Likewise.
10523 * iconvdata/euc-jp-ms.c : Likewise.
10524 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10525 * iconvdata/gb18030.c : Likewise.
10526 * iconvdata/gbbig5.c (const): Likewise.
10527 * iconvdata/gbgbk.c: Likewise.
10528 * iconvdata/gbk.c : Likewise.
10529 * iconvdata/ibm1364.c : Likewise.
10530 * iconvdata/ibm930.c : Likewise.
10531 * iconvdata/ibm932.c: Likewise.
10532 * iconvdata/ibm933.c : Likewise.
10533 * iconvdata/ibm935.c : Likewise.
10534 * iconvdata/ibm937.c : Likewise.
10535 * iconvdata/ibm939.c : Likewise.
10536 * iconvdata/ibm943.c: Likewise.
10537 * iconvdata/iso_11548-1.c: Likewise.
10538 * iconvdata/iso-2022-cn.c : Likewise.
10539 * iconvdata/iso-2022-cn-ext.c : Likewise.
10540 * iconvdata/iso-2022-jp-3.c: Likewise.
10541 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10542 * iconvdata/iso-2022-kr.c : Likewise.
10543 * iconvdata/iso646.c (gconv_end): Likewise.
10544 * iconvdata/iso_6937-2.c : Likewise.
10545 * iconvdata/iso_6937.c : Likewise.
10546 * iconvdata/iso8859-1.c: Likewise.
10547 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10548 * iconvdata/shift_jisx0213.c : Likewise.
10549 * iconvdata/sjis.c : Likewise.
10550 * iconvdata/t.61.c : Likewise.
10551 * iconvdata/tcvn5712-1.c : Likewise.
10552 * iconvdata/tscii.c: Likewise.
10553 * iconvdata/uhc.c : Likewise.
10554 * iconvdata/unicode.c (gconv_end): Likewise.
10555 * iconvdata/utf-16.c (gconv_end): Likewise.
10556 * iconvdata/utf-32.c (gconv_end): Likewise.
10557 * iconvdata/utf-7.c (base64): Likewise.
10558 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10559 * iconv/gconv_close.c (__gconv_close): Likewise.
10560 * iconv/gconv_open.c (__gconv_open): Likewise.
10561 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10562 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10563 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10564 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10565 (ucs4le_internal_loop_single): Likewise.
10566 * iconv/iconv.c (iconv): Likewise.
10567 * iconv/iconv_close.c: Likewise.
10568 * iconv/loop.c (SINGLE): Likewise.
10569 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10570 * include/atomic.h: Likewise.
10571 * inet/inet6_option.c (option_alloc): Likewise.
10572 * intl/bindtextdom.c (set_binding_values): Likewise.
10573 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10574 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10575 * intl/localealias.c (read_alias_file): Likewise.
10576 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10577 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10578 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10579 * libio/fmemopen.c (fmemopen): Likewise.
10580 * libio/iofgets.c (_IO_fgets): Likewise.
10581 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10582 * libio/iofgetws.c (fgetws): Likewise.
10583 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10584 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10585 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10586 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10587 * locale/findlocale.c (_nl_find_locale): Likewise.
10588 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10589 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10591 * locale/setlocale.c (setlocale): Likewise.
10592 * login/programs/pt_chown.c (main): Likewise.
10593 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10594 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10595 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10596 (mmap, mmap64, mremap, munmap): Likewise.
10597 * math/e_exp2l.c: Likewise.
10598 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10599 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10600 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10601 * math/s_catan.c (__catan): Likewise.
10602 * math/s_catanf.c (__catanf): Likewise.
10603 * math/s_catanh.c (__catanh): Likewise.
10604 * math/s_catanhf.c (__catanhf): Likewise.
10605 * math/s_catanhl.c (__catanhl): Likewise.
10606 * math/s_catanl.c (__catanl): Likewise.
10607 * math/s_ccosh.c (__ccosh): Likewise.
10608 * math/s_ccoshf.c (__ccoshf): Likewise.
10609 * math/s_ccoshl.c (__ccoshl): Likewise.
10610 * math/s_cexp.c (__cexp): Likewise.
10611 * math/s_cexpf.c (__cexpf): Likewise.
10612 * math/s_cexpl.c (__cexpl): Likewise.
10613 * math/s_clog10.c (__clog10): Likewise.
10614 * math/s_clog10f.c (__clog10f): Likewise.
10615 * math/s_clog10l.c (__clog10l): Likewise.
10616 * math/s_clog.c (__clog): Likewise.
10617 * math/s_clogf.c (__clogf): Likewise.
10618 * math/s_clogl.c (__clogl): Likewise.
10619 * math/s_csin.c (__csin): Likewise.
10620 * math/s_csinf.c (__csinf): Likewise.
10621 * math/s_csinh.c (__csinh): Likewise.
10622 * math/s_csinhf.c (__csinhf): Likewise.
10623 * math/s_csinhl.c (__csinhl): Likewise.
10624 * math/s_csinl.c (__csinl): Likewise.
10625 * math/s_csqrt.c (__csqrt): Likewise.
10626 * math/s_csqrtf.c (__csqrtf): Likewise.
10627 * math/s_csqrtl.c (__csqrtl): Likewise.
10628 * math/s_ctan.c (__ctan): Likewise.
10629 * math/s_ctanf.c (__ctanf): Likewise.
10630 * math/s_ctanh.c (__ctanh): Likewise.
10631 * math/s_ctanhf.c (__ctanhf): Likewise.
10632 * math/s_ctanhl.c (__ctanhl): Likewise.
10633 * math/s_ctanl.c (__ctanl): Likewise.
10634 * math/w_pow.c: Likewise.
10635 * math/w_powf.c: Likewise.
10636 * math/w_powl.c: Likewise.
10637 * math/w_scalb.c (sysv_scalb): Likewise.
10638 * math/w_scalbf.c (sysv_scalbf): Likewise.
10639 * math/w_scalbl.c (sysv_scalbl): Likewise.
10640 * misc/error.c (error_tail): Likewise.
10641 * misc/pselect.c (__pselect): Likewise.
10642 * nis/nis_callback.c (__nis_create_callback): Likewise.
10643 * nis/nis_call.c (__nisfind_server): Likewise.
10644 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10645 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10646 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10647 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10648 * nis/nis_lookup.c (nis_lookup): Likewise.
10649 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10650 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10651 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10652 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10653 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10654 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10655 * nis/nss_compat/compat-initgroups.c (add_group)
10656 (internal_getgrent_r): Likewise.
10657 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10658 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10659 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10660 (internal_getspnam_r): Likewise.
10661 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10662 (_nss_nis_getaliasbyname_r): Likewise.
10663 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10664 (_nss_nis_getntohost_r): Likewise.
10665 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10666 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10667 (_nss_nis_getgrgid_r): Likewise.
10668 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10669 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10670 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10671 (_nss_nis_gethostbyname4_r): Likewise.
10672 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10673 (initgroups_netid): Likewise.
10674 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10675 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10676 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10677 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10678 (_nss_nis_getprotobynumber_r): Likewise.
10679 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10680 (_nss_nis_getsecretkey): Likewise.
10681 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10682 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10683 (_nss_nis_getpwuid_r): Likewise.
10684 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10685 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10686 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10687 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10688 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10689 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10690 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10692 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10693 (_nss_nisplus_getntohost_r): Likewise.
10694 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10695 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10696 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10697 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10699 * nis/nss_nisplus/nisplus-initgroups.c
10700 (_nss_nisplus_initgroups_dyn): Likewise.
10701 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10702 (_nss_nisplus_getnetbyaddr_r): Likewise.
10703 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10704 (_nss_nisplus_getprotobynumber_r): Likewise.
10705 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10706 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10707 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10709 * nis/nss_nisplus/nisplus-service.c
10710 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10711 (_nss_nisplus_getservbyport_r): Likewise.
10712 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10713 (_nss_nisplus_getspnam_r): Likewise.
10714 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10716 * nscd/aicache.c (addhstaiX): Likewise.
10717 * nscd/cache.c (cache_search, prune_cache): Likewise.
10718 * nscd/connections.c (register_traced_file, send_ro_fd)
10719 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10720 (main_loop_epoll): Likewise.
10721 * nscd/grpcache.c (addgrbyX): Likewise.
10722 * nscd/hstcache.c (addhstbyX): Likewise.
10723 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10724 * nscd/mem.c (gc, mempool_alloc): Likewise.
10725 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10726 (addinnetgrX): Likewise.
10727 * nscd/nscd-client.h (__nscd_acquire_maplock)
10728 (__nscd_drop_map_ref): Likewise.
10729 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10730 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10733 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10734 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10735 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10736 (__nscd_get_map_ref): Likewise.
10737 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10738 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10740 * nscd/pwdcache.c (addpwbyX): Likewise.
10741 * nscd/selinux.c (preserve_capabilities): Likewise.
10742 * nscd/servicescache.c (addservbyX): Likewise.
10743 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10744 * posix/fnmatch.c (fnmatch): Likewise.
10745 * posix/getopt.c (_getopt_internal_r): Likewise.
10746 * posix/glob.c (glob, glob_in_dir): Likewise.
10747 * posix/wordexp.c (exec_comm_child): Likewise.
10748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10749 (getanswer_r, gaih_getanswer_slice): Likewise.
10750 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10751 * resolv/res_init.c: Likewise.
10752 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10753 * resolv/res_query.c (__libc_res_nquery): Likewise.
10754 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10756 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10757 * stdio-common/perror.c (perror): Likewise.
10758 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10759 * stdio-common/tmpnam.c (tmpnam): Likewise.
10760 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10761 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10762 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10764 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10765 * stdlib/putenv.c (putenv): Likewise.
10766 * stdlib/setenv.c (__add_to_environ): Likewise.
10767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10768 * stdlib/strtol_l.c (INTERNAL): Likewise.
10769 * string/memmem.c (memmem): Likewise.
10770 * string/strerror.c (strerror): Likewise.
10771 * string/strnlen.c (__strnlen): Likewise.
10772 * string/test-memmem.c (simple_memmem): Likewise.
10773 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10774 * sunrpc/pm_getport.c (__get_socket): Likewise.
10775 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10776 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10777 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10778 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10780 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10781 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10782 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10783 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10784 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10785 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10787 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10789 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10790 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10792 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10793 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10795 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10796 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10797 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10798 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10799 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10802 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10808 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10810 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10811 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10812 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10823 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10825 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10827 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10829 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10831 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10833 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10834 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10835 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10836 * sysdeps/posix/sleep.c: Likewise.
10837 * sysdeps/posix/tempname.c: Likewise.
10838 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10839 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10841 * sysdeps/powerpc/powerpc32/dl-machine.h
10842 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10843 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10844 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10845 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10846 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10848 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10850 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10851 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10852 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10853 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10854 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10855 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10856 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10857 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10859 (elf_machine_lazy_rel): Likewise.
10860 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10862 (elf_machine_lazy_rel): Likewise.
10863 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10864 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10865 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10866 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10867 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10868 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10869 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10872 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10873 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10874 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10875 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10876 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10877 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10878 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10879 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10880 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10881 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10882 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10884 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10885 (__posix_fallocate64_l64): Likewise.
10886 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10887 (posix_fallocate): Likewise.
10888 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10891 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10892 (getifaddrs_internal): Likewise.
10893 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10894 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10895 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10896 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10897 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10898 (__posix_fallocate64_l64): Likewise.
10899 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10901 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10903 (__get_clockfreq): Likewise.
10904 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10905 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10906 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10909 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10910 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10911 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10913 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10914 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10915 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10916 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10917 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10918 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10919 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10921 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10922 (posix_fallocate): Likewise.
10923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10924 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10925 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10926 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10927 (elf_machine_rela, elf_machine_rela_relative)
10928 (elf_machine_lazy_rel): Likewise.
10929 * time/asctime.c (asctime_internal): Likewise.
10930 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10931 * time/tzset.c (__tzset_parse_tz): Likewise.
10932 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10933 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10934 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10935 * wcsmbs/wcsmbsload.h: Likewise.
10938 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10940 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10941 (arena_get2): Remove THREAD_STATS conditionals.
10942 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10943 (__malloc_stats, int): Likewise.
10945 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10947 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10948 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10950 * manual/setjmp.texi: Fix typos/grammar errors.
10952 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10953 Only return early when n is <= 0. Delete unused return statement.
10955 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10956 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10957 * debug/tst-longjmp_chk3.c: New file.
10959 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10960 (test_main): Replace code with set_fortify_handler call.
10961 * debug/test-strcpy_chk.c: Likewise.
10962 * debug/tst-chk1.c: Likewise.
10963 * debug/tst-longjmp_chk.c: Likewise.
10964 * test-skeleton.c: Include fcntl.h & paths.h
10965 (set_fortify_handler): Define.
10967 * debug/tst-longjmp_chk.c: Add header comment and include
10968 ../test-skeleton.c.
10969 (do_test): Mark static.
10970 (TEST_FUNCTION): Define.
10972 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10973 (IP_PMTUDISC_INTERFACE): Likewise.
10974 (IP_MULTICAST_IF): Likewise.
10975 (IP_MULTICAST_TTL): Likewise.
10976 (IP_MULTICAST_LOOP): Likewise.
10977 (IP_ADD_MEMBERSHIP): Likewise.
10978 (IP_DROP_MEMBERSHIP): Likewise.
10979 (IP_UNBLOCK_SOURCE): Likewise.
10980 (IP_BLOCK_SOURCE): Likewise.
10981 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10982 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10983 (IP_MSFILTER): Likewise.
10984 (MCAST_JOIN_GROUP): Likewise.
10985 (MCAST_BLOCK_SOURCE): Likewise.
10986 (MCAST_UNBLOCK_SOURCE): Likewise.
10987 (MCAST_LEAVE_GROUP): Likewise.
10988 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10989 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10990 (MCAST_MSFILTER): Likewise.
10991 (IP_MULTICAST_ALL): Likewise.
10992 (IP_UNICAST_IF): Likewise.
10994 * timezone/Makefile: Delete $(have-ksh) check.
10995 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10996 * timezone/tzselect.ksh: Add +x mode bits.
10998 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10999 (ANON_INODE_FS_MAGIC): Likewise.
11000 (BDEVFS_MAGIC): Likewise.
11001 (BINFMTFS_MAGIC): Likewise.
11002 (BTRFS_TEST_MAGIC): Likewise.
11003 (CRAMFS_MAGIC_WEND): Likewise.
11004 (DEBUGFS_MAGIC): Likewise.
11005 (ECRYPTFS_SUPER_MAGIC): Likewise.
11006 (EXT3_SUPER_MAGIC): Likewise.
11007 (EXT4_SUPER_MAGIC): Likewise.
11008 (FUTEXFS_SUPER_MAGIC): Likewise.
11009 (HOSTFS_SUPER_MAGIC): Likewise.
11010 (HUGETLBFS_MAGIC): Likewise.
11011 (MINIX3_SUPER_MAGIC): Likewise.
11012 (MTD_INODE_FS_MAGIC): Likewise.
11013 (NILFS_SUPER_MAGIC): Likewise.
11014 (OPENPROM_SUPER_MAGIC): Likewise.
11015 (PIPEFS_MAGIC): Likewise.
11016 (PSTOREFS_MAGIC): Likewise.
11017 (QNX6_SUPER_MAGIC): Likewise.
11018 (RAMFS_MAGIC): Likewise.
11019 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11020 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11021 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11022 (SECURITYFS_MAGIC): Likewise.
11023 (SELINUX_MAGIC): Likewise.
11024 (SMACK_MAGIC): Likewise.
11025 (SOCKFS_MAGIC): Likewise.
11026 (SQUASHFS_MAGIC): Likewise.
11027 (STACK_END_MAGIC): Likewise.
11028 (TMPFS_MAGIC): Likewise.
11029 (USBDEVICE_SUPER_MAGIC): Likewise.
11030 (V9FS_MAGIC): Likewise.
11031 (XENFS_SUPER_MAGIC): Likewise.
11032 (CRAMFS_MAGIC): Fix typo in comment.
11033 (EXT2_SUPER_MAGIC): Update comment.
11034 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11036 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11038 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11039 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11040 * sysdeps/unix/sysv/linux/arm: Move directory from
11041 ports/sysdeps/unix/sysv/linux/arm.
11042 * README: Update listing for arm-*-linux-gnueabi.
11044 * README: Remove mention of am33.
11046 2014-02-07 Roland McGrath <roland@hack.frob.com>
11048 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11049 than the comma operator, to avoid "rhs of comma has no effect"
11051 (__sigfillset, __sigandset, __sigorset): Likewise.
11052 * include/signal.h (__sigemptyset): Likewise.
11053 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11055 2014-02-07 Allan McRae <allan@archlinux.org>
11057 * version.h (RELEASE): Set to "development".
11058 (VERSION): Set to "2.19.90"
11059 * NEWS: Add 2.20 section.
11061 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11064 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11066 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11068 * manual/contrib.texi: Update entry for Carlos O'Donell,
11069 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11071 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11073 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11075 * sysdeps/unix/sysv/linux/kernel-features.h
11076 [__LINUX_KERNEL_VERSION >= 0x020621]
11077 (__ASSUME_PROC_PID_TASK_COMM): Define.
11079 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11082 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11083 conversion when destination buffer does not have enough space.
11084 * libio/tst-ftell-partial-wide.c: New test case.
11085 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11087 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11088 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11089 Leonard and Allan McRae.
11091 2014-02-04 David S. Miller <davem@davemloft.net>
11093 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11096 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11125 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11127 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11128 * shlib-versions: Likewise.
11130 2014-02-04 Roland McGrath <roland@hack.frob.com>
11131 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11133 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11134 (abilist-pattern): New variable, set to %-le.abilist.
11136 * Makerules (abilist-pattern): New variable.
11137 (vpath): Use $(abilist-pattern) in place of %.abilist.
11138 (check-abi-% pattern rule): Likewise.
11139 (check-abi, update-abi): Likewise.
11141 2014-02-04 Eric Wong <normalperson@yhbt.net>
11143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11145 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11147 * manual/startup.texi: Add next, previous, and top entries for
11148 the `Program Arguments' and `Environment Variables' nodes.
11150 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11152 * manual/macros.texi: Add comments before MTASC-safety macros.
11154 * manual/users.texi: Document MTASC-safety properties.
11156 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11157 (pthread_getspecific, pthread_setspecific): Format with
11158 @deftypefun, and add @safety note.
11159 * manual/signal.texi: Move comments that analyze the above
11160 functions to their home place.
11162 2014-02-03 Allan McRae <allan@archlinux.org>
11164 * po/sl.po: Update Slovenian translation from translation project.
11166 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11168 * manual/time.texi (timegm): Add missing blank after @c.
11169 Reported by Joseph Myers <joseph@codesourcery.com>.
11171 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11173 * manual/check-safety.sh: New.
11174 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11176 * manual/terminal.texi: Document MTASC-safety properties.
11178 * manual/filesys.texi: Document MTASC-safety properties.
11180 * manual/errno.texi: Document MTASC-safety properties.
11182 * manual/intro.texi: Document safety identifiers and
11185 * manual/string.texi (wcstok): Fix prototype.
11186 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11188 * manual/time.texi: Document MTASC-safety properties.
11190 * manual/string.texi: Document MTASC-safety properties.
11192 * manual/threads.texi: Document MTASC-safety properties.
11194 * manual/stdio.texi: Document MTASC-safety properties.
11196 * manual/syslog.texi: Document MTASC-safety properties.
11198 * manual/sysinfo.texi: Document MTASC-safety properties.
11200 * manual/startup.texi: Document MTASC-safety properties.
11202 * manual/socket.texi: Document MTASC-safety properties.
11204 * manual/signal.texi: Document MTASC-safety properties.
11206 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11208 * manual/setjmp.texi: Document MTASC-safety properties.
11210 * manual/search.texi: Document MTASC-safety properties.
11212 * manual/resource.texi: Document MTASC-safety properties.
11214 * manual/process.texi: Document MTASC-safety properties.
11216 * manual/platform.texi: Document MTASC-safety properties.
11218 * manual/pipe.texi: Document MTASC-safety properties.
11220 * manual/pattern.texi: Document MTASC-safety properties.
11222 * manual/message.texi: Document MTASC-safety properties.
11225 * manual/memory.texi: Document MTASC-safety properties.
11227 * manual/math.texi: Document MTASC-safety properties.
11229 * manual/locale.texi: Document MTASC-safety properties.
11231 * manual/llio.texi: Document MTASC-safety properties.
11233 * manual/libdl.texi: New.
11235 * manual/lang.texi: Document MTASC-safety properties.
11237 * manual/job.texi: Document MTASC-safety properties.
11239 * manual/getopt.texi: Document MTASC-safety properties.
11241 * manual/ctype.texi: Document MTASC-safety properties.
11243 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11246 * csu/libc-tls.c (static_map): Remove variable.
11247 (__libc_setup_tls): Use main executable's link map for TLS data.
11248 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11249 casing for LM_ID_BASE and GL(dl_nns).
11250 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11251 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11252 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11253 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11254 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11256 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11259 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11261 * manual/debug.texi: Document MTASC-safety properties.
11263 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11266 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11267 of __x86_64__ when disabling x87 inline functions.
11269 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11271 * manual/charset.texi: Document MTASC-safety properties.
11273 * manual/crypt.texi: Document MTASC-safety properties.
11275 * manual/conf.texi: Document MTASC-safety properties.
11277 * manual/arith.texi: Document MTASC-safety properties.
11279 * manual/argp.texi: Document MTASC-safety properties.
11281 * manual/macros.texi: Introduce macros to document multi
11282 thread, asynchronous signal and asynchronous cancellation
11284 * manual/intro.texi: Introduce the properties themselves.
11286 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11288 * sysdeps/sh/sh4/Makefile: New file.
11290 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11292 * math/gen-libm-test.pl ($srcdir): New variable.
11293 ($auto_input): Use it.
11295 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11298 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11299 access beyond array bounds when parsing netgroups file.
11301 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11302 the old buffer before realloc.
11304 2014-01-27 Allan McRae <allan@archlinux.org>
11306 * po/fr.po: Update French translation from translation project.
11308 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11310 * sysdeps/sh/libm-test-ulps: Regenerate.
11312 2014-01-24 David S. Miller <davem@davemloft.net>
11314 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11316 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11318 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11319 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11321 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11324 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11325 string pointers after reallocation.
11327 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11330 __SH4A__ instead of __SH_FPU_ANY__.
11332 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11334 * sysdeps/sh/fpu_control.h: New file.
11335 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11336 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11337 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11338 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11339 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11340 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11341 * sysdeps/sh/sys/ucontext.h: Remove.
11342 * sysdeps/sh/sys: Remove directory.
11344 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11346 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11347 s390/sys/ucontext.h.
11348 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11349 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11351 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11354 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11356 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11360 Adjust the vDSO correctly for internal calls.
11361 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11363 2014-01-20 Allan McRae <allan@archlinux.org>
11365 * po/ca.po: Update Catalan translation from translation project.
11367 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11369 * sysdeps/s390/sotruss-lib.c: New file.
11371 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11375 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11376 local calls issues by not having a PLT stub required for IFUNC calls.
11377 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11379 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11381 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11382 * math/test-fpucw-static.c: Likewise.
11384 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11387 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11389 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11391 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11392 implementation for powerpc.
11394 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11397 * sysdeps/posix/system.c (__libc_system): Do not enable
11398 asynchronous cancellation.
11400 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11403 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11404 handling only for numbers special also in the IEEE case.
11406 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11408 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11410 2014-01-11 Allan McRae <allan@archlinux.org>
11412 * po/bg.po: Update Bulgarian translation from translation project.
11414 * po/de.po: Update German translation from translation project.
11416 2014-01-10 Roland McGrath <roland@hack.frob.com>
11418 * sysdeps/generic/gcc-compat.h: New file.
11420 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11422 * benchtests/asin-inputs: Correct slow inputs.
11423 * benchtests/acos-inputs: Likewise.
11425 2014-01-10 Allan McRae <allan@archlinux.org>
11427 * po:sv.po: Update Swedish translation from translation project.
11429 * po/vi.po: Update Vietnamese translation from translation project.
11431 * po/eo.po: Update Esperanto translation from translation project.
11433 * po/cs.po: Update Czech translation from translation project.
11435 * po/nl.po: Update Dutch translation from translation project.
11437 * po/pl.po: Update Polish translation from translation project.
11439 * po/ru.po: Update Russian translation from translation project.
11441 * po/uk.po: Update Ukrainian translation from translation project.
11443 2014-01-08 Brooks Moses <bmoses@google.com>
11445 * elf/dl-load.c: Fix comment typo.
11447 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11449 * po/header.pot: Rename to...
11450 * po/pot.header: ... this.
11451 * po/Makefile: Use pot.header.
11453 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11454 Maxim Kuvyrkov <maxim@kugelworks.com>
11457 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11458 SRC and DEST against LEN.
11460 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11465 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11467 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11471 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11475 for large positive arguments.
11477 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11481 * math/auto-libm-test-in: Mark various tests with
11482 xfail-rounding:ldbl-128ibm.
11483 * math/auto-libm-test-out: Regenerated.
11486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11487 Increase overflow threshold.
11489 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11492 * stdio-common/vfprintf.c: Check for integer overflow.
11494 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11496 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11497 the first argument and return value of __tls_get_addr_internal.
11499 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11501 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11502 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11504 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11506 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11507 * sysdeps/s390/rtld-global-offsets.sym: New file.
11508 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11510 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11511 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11512 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11514 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11515 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11521 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11522 halfs of GPRs for high_gprs contexts.
11523 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11524 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11526 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11528 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11530 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11531 for high GPRs (uc_high_gprs) and for future extensions
11533 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11534 for future extensions (__reserved).
11535 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11537 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11538 SC_HIGHGPRS offset definition.
11539 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11540 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11542 * Versions.def: Add GLIBC_2.19 for libpthread.
11543 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11544 siglongjmp for libpthread with GLIBC_2.19 symver.
11545 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11546 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11547 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11548 * sysdeps/s390/__longjmp.c: New file.
11549 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11550 * sysdeps/s390/longjmp.c: New file.
11551 * sysdeps/s390/setjmp.S: New file.
11552 * sysdeps/s390/sigjmp.S: New file.
11553 * sysdeps/s390/v1-longjmp.c: New file.
11554 * sysdeps/s390/v1-setjmp.h: New file.
11555 * sysdeps/s390/v1-sigjmp.c: New file.
11556 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11557 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11558 GLIBC_2.19 version.
11559 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11560 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11561 versioned symbols for ____longjmp_chk.
11562 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11572 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11573 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11574 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11575 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11576 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11577 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11578 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11579 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11580 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11581 * sysdeps/s390/rtld-__longjmp.c: New file.
11582 * sysdeps/s390/rtld-setjmp.S: New file.
11584 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11588 Return -__logl (x) for small positive arguments without evaluating
11591 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11593 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11595 (__ptrace_peeksiginfo_args): ... this.
11596 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11600 2014-01-06 Allan McRae <allan@archlinux.org>
11602 * inet/netinet/in.h: Fix typo in comment.
11604 2014-01-05 Andreas Jaeger <aj@suse.de>
11606 * sysdeps/i386/fpu/libm-test-ulps: Update.
11608 2014-01-05 Allan McRae <allan@archlinux.org>
11610 * po/libc.pot: Regenerated.
11612 * malloc/memusagestat.c: Fix gettext call formatting.
11614 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11616 * nscd/nscd.c: Improve usage() output.
11618 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11620 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11621 * sysdeps/unix/sysv/linux/configure: Regenerated.
11622 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11623 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11625 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11629 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11631 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11634 extra tokens at end of #undef directive.
11635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11636 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11637 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11639 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11641 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11643 * math/auto-libm-test-in: Mark various tests with
11644 xfail-rounding:ldbl-128ibm.
11645 * math/auto-libm-test-out: Regenerated.
11647 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11651 numbers with subnormal high part when calculating exponent.
11654 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11660 (__ieee754_acoshl): Use __log1pl not __log1p.
11662 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11664 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11665 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11666 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11667 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11668 (reused_arena, arena_get2): Convert to GNU style.
11669 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11670 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11671 (memalign_check, __malloc_set_state): Likewise.
11672 * malloc/mallocbug.c (main): Likewise.
11673 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11674 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11675 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11676 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11677 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11678 (__posix_memalign, malloc_info): Likewise.
11679 * malloc/malloc.h: Likewise.
11680 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11681 (mallochook, memalignhook, reallochook, mabort): Likewise.
11682 * malloc/mcheck.h: Likewise.
11683 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11684 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11685 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11686 * malloc/morecore.c (__default_morecore): Likewise.
11687 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11688 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11689 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11690 (print_and_abort): Likewise.
11691 * malloc/obstack.h: Likewise.
11692 * malloc/set-freeres.c (__libc_freeres): Likewise.
11693 * malloc/tst-mallocstate.c (main): Likewise.
11694 * malloc/tst-mtrace.c (main): Likewise.
11695 * malloc/tst-realloc.c (do_test): Likewise.
11697 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 * nscd/netgroupcache.c (do_notfound): New function.
11701 (addgetnetgrentX): Use it.
11704 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11705 NSS_STATUS_NOTFOUND.
11707 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2014-01-01 Allan McRae <allan@archlinux.org>
11714 * scripts/update-copyrights: Update configure input file suffix.
11716 * NEWS: Update copyright year.
11717 * catgets/gencat.c: Likewise.
11718 * csu/version.c: Likewise.
11719 * debug/catchsegv.sh: Likewise.
11720 * debug/pcprofiledump.c: Likewise.
11721 * debug/xtrace.sh: Likewise.
11722 * elf/ldconfig.c: Likewise.
11723 * elf/ldd.bash.in: Likewise.
11724 * elf/pldd.c: Likewise.
11725 * elf/sotruss.ksh: Likewise.
11726 * elf/sprof.c: Likewise.
11727 * iconv/iconv_prog.c: Likewise.
11728 * iconv/iconvconfig.c: Likewise.
11729 * locale/programs/locale.c: Likewise.
11730 * locale/programs/localedef.c: Likewise.
11731 * login/programs/pt_chown.c: Likewise.
11732 * malloc/memusage.sh: Likewise.
11733 * malloc/memusagestat.c: Likewise.
11734 * malloc/mtrace.pl: Likewise.
11735 * manual/libc.texinfo: Likewise.
11736 * nscd/nscd.c: Likewise.
11737 * nss/getent.c: Likewise.
11738 * nss/makedb.c: Likewise.
11739 * posix/getconf.c: Likewise.
11740 * scripts/test-installation.pl: Likewise.
11742 * All files with FSF copyright notices: Update copyright dates
11743 using scripts/update-copyrights.
11744 * intl/plural.c: Regenerated.
11745 * locale/programs/charmap-kw.h: Likewise.
11746 * locale/programs/locfile-kw.h: Likewise.
11748 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11750 * sysdeps/unix/sysv/linux/configure: Regenerated.
11751 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11752 the linux/fanotify.h header.
11753 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11754 HAVE_LINUX_FANOTIFY_H is defined.
11756 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11758 * benchtests/cos-inputs: New inputs.
11759 * benchtests/sin-inputs: Likewise.
11761 * benchtests/atan-inputs: New inputs. Fix name of multiple
11762 precision fallback inputs.
11764 * benchtests/atanh-inputs: New inputs.
11765 * benchtests/tanh-inputs: Likewise.
11767 * benchtests/acosh-inputs: New inputs.
11768 * benchtests/asinh-inputs: Likewise.
11770 * benchtests/cosh-inputs: New inputs.
11771 * benchtests/sinh-inputs: Likewise.
11773 * benchtests/acos-inputs: Add more inputs.
11774 * benchtests/asin-inputs: Likewise.
11776 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11779 * manual/arith.texi: Fix spelling.
11780 * manual/charset.texi: Likewise.
11781 * manual/errno.texi: Likewise.
11782 * manual/filesys.texi: Likewise.
11783 * manual/lang.texi: Likewise.
11784 * manual/llio.texi: Likewise.
11785 * manual/locale.texi: Likewise.
11786 * manual/message.texi: Likewise.
11787 * manual/resource.texi: Likewise.
11788 * manual/search.texi: Likewise.
11789 * manual/setjmp.texi: Likewise.
11790 * manual/stdio.texi: Likewise.
11791 * manual/string.texi: Likewise.
11792 * manual/sysinfo.texi: Likewise.
11793 * manual/time.texi: Likewise.
11795 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11797 * po/sl.po: New file.
11799 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11801 * .gitignore: Add core/.gdbinit/.gdb_history.
11803 2013-12-27 Allan McRae <allan@archlinux.org>
11806 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11807 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11809 2013-12-24 Brooks Moses <bmoses@google.com>
11811 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11812 all compilers that claim C++98 compliance, not just GCC.
11813 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11816 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11818 * NEWS: Restore accidentally deleted bug-fix entries.
11820 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11821 Ondřej Bílka <neleai@seznam.cz>
11824 * malloc/malloc.c (_int_free): Perform sanity check only if we
11827 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11830 * manual/stdio.texi (String Input Conversions): Clarify that character
11831 classes are not supported.
11833 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11837 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11840 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11841 Calculate results for small negative arguments directly rather
11842 than using reflection formula with special underflow handling.
11844 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11845 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11846 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11847 (fchflags): Likewise.
11848 (revoke): Likewise.
11849 (setlogin): Likewise.
11850 (sigaltstack): Likewise.
11852 (sigblock): Remove.
11853 (sigsetmask): Likewise.
11855 (waitpid): Likewise.
11856 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11857 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11859 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11860 * sysdeps/unix/bsd/Makefile: ... here.
11861 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11862 * sysdeps/unix/bsd/Versions: ... here.
11863 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11864 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11865 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11866 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11867 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11868 * sysdeps/unix/bsd/sigblock.c: ... here.
11869 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11870 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11871 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11872 * sysdeps/unix/bsd/sigvec.c: ... here.
11873 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11874 * sysdeps/unix/bsd/tcdrain.c: ... here.
11875 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11876 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11877 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11878 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11879 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11880 * sysdeps/unix/bsd/wait.c: ... here.
11881 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11882 * sysdeps/unix/bsd/wait3.c: ... here.
11883 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11884 * sysdeps/unix/bsd/waitpid.c: ... here.
11886 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11889 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11890 round-to-nearest for [!USE_AS_EXPM1L].
11891 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11892 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11893 more tests of exp and exp10. Expect some exp10 tests to miss
11894 exceptions or fail in directed rounding modes.
11895 * math/auto-libm-test-out: Regenerated.
11896 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11897 (exp10_test_tonearest): New function.
11898 (exp10_towardzero_test_data): New array.
11899 (exp10_test_towardzero): New function.
11900 (exp10_downward_test_data): New array.
11901 (exp10_test_downward): New function.
11902 (exp10_upward_test_data): New array.
11903 (exp10_test_upward): New function.
11904 (main): Call the new functions.
11905 * sysdeps/i386/fpu/libm-test-ulps: Update.
11906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11908 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11910 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11911 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11912 * math/auto-libm-test-out: Regenerated.
11913 * math/libm-test.inc (acosh_test_data): Add more tests.
11914 (atanh_test_data): Likewise.
11915 (ceil_test_data): Likewise.
11916 (copysign_test_data): Likewise.
11917 * sysdeps/i386/fpu/libm-test-ulps: Update.
11918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11920 * timezone/checktab.awk: Update from tzcode 2013i.
11921 * timezone/private.h: Likewise.
11922 * timezone/scheck.c: Likewise.
11923 * timezone/tzfile.h: Likewise.
11924 * timezone/tzselect.ksh: Likewise.
11925 * timezone/zdump.c: Likewise.
11926 * timezone/zic.c: Likewise.
11928 * math/auto-libm-test-in: Add tests of cpow.
11929 * math/auto-libm-test-out: Regenerated.
11930 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11933 (func_calc_desc): Add mpc_cc_c union field.
11934 (test_functions): Add cpow.
11935 (special_fill_2pi): New function.
11936 (special_real_inputs): Add 2pi.
11937 (calc_generic_results): Handle mpc_cc_c.
11938 * sysdeps/i386/fpu/libm-test-ulps: Update.
11939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11941 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11942 csqrt, ctan and ctanh.
11943 * math/auto-libm-test-out: Regenerated.
11944 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11945 (TEST_COND_x86): Likewise.
11946 (ccos_test_data): Use AUTO_TESTS_c_c.
11947 (ccosh_test_data): Likewise.
11948 (cexp_test_data): Likewise.
11949 (clog_test_data): Likewise.
11950 (csqrt_test_data): Likewise.
11951 (ctan_test_data): Likewise.
11952 (ctan_tonearest_test_data): Likewise.
11953 (ctan_towardzero_test_data): Likewise.
11954 (ctan_downward_test_data): Likewise.
11955 (ctan_upward_test_data): Likewise.
11956 (ctanh_test_data): Likewise.
11957 (ctanh_tonearest_test_data): Likewise.
11958 (ctanh_towardzero_test_data): Likewise.
11959 (ctanh_downward_test_data): Likewise.
11960 (ctanh_upward_test_data): Likewise.
11961 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11963 (func_calc_desc): Add mpc_c_c union field.
11964 (FUNC_mpc_c_c): New macro.
11965 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11966 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11968 (special_fill_min_subnorm_p120): New function.
11969 (special_real_inputs): Add min_subnorm_p120.
11970 (calc_generic_results): Handle mpc_c_c.
11971 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11974 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11976 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11977 (do_sin_slow): New functions.
11978 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11979 (cslow2, csloww1, csloww2): Use the new functions.
11981 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11982 Use M to change sign of result instead of X. Assume X is
11984 (csloww1): Likewise.
11988 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11989 arguments A and DA.
11993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11995 (sloww1): Don't adjust sign of DX.
11996 (csloww1): Likewise.
11997 (sloww2): Use X directly and don't adjust sign of DX.
11998 (csloww2): Likewise.
12000 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12002 * math/auto-libm-test-in: Add tests of cabs and carg.
12003 * math/auto-libm-test-out: Regenerated.
12004 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12005 (carg_test_data): Likewise.
12006 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12008 (func_calc_desc): Add mpc_c_f union field.
12009 (test_functions): Add cabs and carg.
12010 (calc_generic_results): Handle mpc_c_f.
12012 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12013 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12014 as a macro and a compat symbol.
12015 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12016 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12017 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12018 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12019 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12020 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12022 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12024 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12026 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12028 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12030 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12032 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12033 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12036 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12040 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12042 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12043 trailing whitespace removed.
12044 * scripts/config.guess: Update to version 2013-11-29.
12045 * scripts/config.sub: Update to version 2013-10-01.
12047 * math/auto-libm-test-in: Add tests of sincos.
12048 * math/auto-libm-test-out: Regenerated.
12049 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12050 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12052 (func_calc_desc): Add mpfr_f_11 union field.
12053 (test_functions): Add sincos.
12054 (calc_generic_results): Handle mpfr_f_11.
12055 * sysdeps/i386/fpu/libm-test-ulps: Update.
12056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058 2013-12-19 Andreas Schwab <schwab@suse.de>
12060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12063 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12064 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12066 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12068 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12069 * sysdeps/i386/fpu/libm-test-ulps: Update.
12070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12073 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12074 round-to-nearest mode when using frndint.
12075 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12076 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12079 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12081 * math/auto-libm-test-out: Regenerated.
12082 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12083 (TEST_COND_x86): Likewise.
12084 (expm1_tonearest_test_data): New array.
12085 (expm1_test_tonearest): New function.
12086 (expm1_towardzero_test_data): New array.
12087 (expm1_test_towardzero): New function.
12088 (expm1_downward_test_data): New array.
12089 (expm1_test_downward): New function.
12090 (expm1_upward_test_data): New array.
12091 (expm1_test_upward): New function.
12092 (main): Run the new test functions.
12093 * sysdeps/i386/fpu/libm-test-ulps: Update.
12094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12096 * include/features.h: Update comment documenting feature test
12097 macros. Mention _DEFAULT_SOURCE in comment.
12098 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12099 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12100 _BSD_SOURCE and _SVID_SOURCE.
12101 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12102 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12103 !_SVID_SOURCE]: Likewise.
12104 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12105 (__USE_POSIX_IMPLICITLY): Define.
12106 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12107 (_POSIX_SOURCE): Undefine and redefine.
12108 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12109 (_POSIX_C_SOURCE): Likewise.
12110 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12111 (Feature Test Macros): Update documentation of default features.
12113 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12115 * benchtests/Makefile: Add bench-strtok.
12116 * benchtests/bench-strtok.c: New file: strtok benchtest.
12118 2013-12-19 Allan McRae <allan@archlinux.org>
12120 * manual/install.texi: Suppress menu for plain text output.
12121 * INSTALL: Regenerated.
12123 2013-12-18 Brooks Moses <bmoses@google.com>
12126 * misc/getauxval.c: Include errno.h.
12127 (__getauxval): Set errno to ENOENT if the requested type is not
12129 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12130 don't declare with __attribute_const__.
12131 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12132 * manual/startup.texi: Document that getauxval sets errno.
12134 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12136 * math/auto-libm-test-in: Add tests of jn and yn.
12137 * math/auto-libm-test-out: Regenerated.
12138 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12139 (yn_test_data): Likewise.
12140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12142 (func_calc_desc): Add mpfr_if_f union field.
12143 (FUNC_mpfr_if_f): New macro.
12144 (test_functions): Add jn and yn.
12145 (calc_generic_results): Assert type of second input for
12146 mpfr_ff_f. Handle mpfr_if_f.
12147 (output_for_one_input_case): Disable all checking for arguments
12148 fitting floating-point types in case of an integer argument.
12149 * sysdeps/i386/fpu/libm-test-ulps: Update.
12150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12153 Don't expect fegetround reference in libm.so.
12155 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12157 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12158 $(config-cflags-nofma).
12160 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12162 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12163 * math/auto-libm-test-out: Regenerated.
12166 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12167 to determine exponent and adjust argument to have exponent of -1.
12168 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12170 * math/auto-libm-test-out: Regenerated.
12171 * sysdeps/i386/fpu/libm-test-ulps: Update.
12172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12176 * manual/probes.texi: Remove cases when per-thread arenas are
12179 2013-12-18 Andreas Schwab <schwab@suse.de>
12181 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12182 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12183 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12184 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12185 * sysdeps/i386/i686/multiarch/Makefile: Update.
12186 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12188 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12191 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12193 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12196 Support TZ transition times < 00:00:00.
12197 This is needed for version-3 tz-format files; it supports time
12198 stamps past 2037 for America/Godthab (the only entry in the tz
12199 database for which this change is relevant).
12200 * manual/time.texi (TZ Variable): Document transition times
12201 from -167:59:59 through -00:00:01.
12202 * time/tzset.c (tz_rule): Time of day is now signed.
12203 (__tzset_parse_tz): Parse negative time of day.
12205 Document TZ transition times >= 25:00:00.
12206 * manual/time.texi (TZ Variable): Document transition times from
12207 25:00:00 through 167:59:59. These are already supported, and this
12208 support will help with version-3 tz-format files.
12210 * manual/time.texi (TZ Variable): Modernize North America example
12211 to reflect current (i.e., 2007-and-later) daylight saving rules.
12213 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12215 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12217 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12218 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12221 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12222 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12223 * sysdeps/unix/bsd/clock.c: Likewise.
12224 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12225 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12226 * sysdeps/unix/bsd/init-posix.c: Likewise.
12227 * sysdeps/unix/bsd/poll.c: Likewise.
12228 * sysdeps/unix/bsd/ptsname.c: Likewise.
12229 * sysdeps/unix/bsd/seekdir.c: Likewise.
12230 * sysdeps/unix/bsd/setegid.c: Likewise.
12231 * sysdeps/unix/bsd/seteuid.c: Likewise.
12232 * sysdeps/unix/bsd/setgid.c: Likewise.
12233 * sysdeps/unix/bsd/setrgid.c: Likewise.
12234 * sysdeps/unix/bsd/setruid.c: Likewise.
12235 * sysdeps/unix/bsd/setsid.c: Likewise.
12236 * sysdeps/unix/bsd/setuid.c: Likewise.
12237 * sysdeps/unix/bsd/sigaction.c: Likewise.
12238 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12239 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12240 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12241 * sysdeps/unix/bsd/telldir.c: Likewise.
12242 * sysdeps/unix/bsd/times.c: Likewise.
12243 * sysdeps/unix/bsd/usleep.c: Likewise.
12245 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12246 ($(objpfx)libbsd-compat.a): Remove rule.
12248 * include/features.h (__FAVOR_BSD): Do not define.
12249 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12250 features conflicting with POSIX.
12251 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12252 (_BSD_SOURCE): Remove description of not being a subset of other
12253 feature test macros.
12254 * manual/job.texi (getpgrp): Do not document BSD version.
12255 (getpgid): Do not document by reference to BSD getpgrp.
12256 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12257 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12258 * signal/signal.h [__FAVOR_BSD]: Likewise.
12259 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12260 instead of making contents conditional on [__FAVOR_BSD].
12261 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12263 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12267 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12271 values below 2**-450, not 2**-500.
12272 * math/auto-libm-test-in: Don't allow spurious underflow from
12274 * math/auto-libm-test-out: Regenerated.
12278 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12279 values of ha and hb and sort them after adjusting subnormal
12281 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12283 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12284 values of ea and eb and sort them after adjusting subnormal
12286 * math/auto-libm-test-in: Do not expect some hypot tests of
12287 subnormals to fail. Add more hypot tests.
12288 * math/auto-libm-test-out: Regenerated.
12290 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12293 * sysdeps/sh/s_fma.c: New file.
12294 * sysdeps/sh/s_fmaf.c: New file.
12295 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12297 * sysdeps/sh/Implies: Add sh/soft-fp.
12299 2013-12-16 Roland McGrath <roland@hack.frob.com>
12301 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12302 level of indirection to members `objname', `errstring', `malloced'.
12303 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12304 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12305 it as the __longjmp argument (just pass 1 instead).
12306 (_dl_catch_error): Initialize C with argument pointers and address of
12307 volatile local ERRCODE rather than copying values out of C at return.
12309 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12311 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12312 * math/auto-libm-test-out: Regenerated.
12313 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12314 (hypot_test_data): Likewise.
12315 (pow_test_data): Likewise.
12316 (pow_tonearest_test_data): Likewise.
12317 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12319 (func_calc_desc): Add mpfr_ff_f union field.
12320 (FUNC_mpfr_ff_f): New macro.
12321 (test_functions): Add atan2, hypot and pow.
12322 (special_fill_min): New function.
12323 (special_fill_minus_min): Likewise.
12324 (special_fill_min_subnorm): Likewise.
12325 (special_fill_minus_min_subnorm): Likewise.
12326 (special_real_inputs): Add min, -min, min_subnorm and
12328 (calc_generic_results): Handle mpfr_ff_f.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332 2013-12-16 Will Newton <will.newton@linaro.org>
12334 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12335 (Aligned Memory Blocks): Add documentation for aligned_alloc
12336 and suggest it as an alternative to posix_memalign.
12337 (Hooks for Malloc): Document __memalign_hook is also called
12338 for aligned_alloc. (Summary of Malloc): Add summary for
12339 aligned alloc. Document __memalign_hook is also called
12342 2013-12-16 Will Newton <will.newton@linaro.org>
12344 * manual/memory.texi (Malloc Examples): Clarify default
12345 alignment documentation. Suggest posix_memalign rather
12346 than memalign or valloc.
12347 (Aligned Memory Blocks): Remove suggestion to use memalign
12348 or valloc. Remove obsolete comment about BSD.
12349 Document memalign errno values and mark the function obsolete.
12350 Document posix_memalign returned error codes. Mark valloc
12351 as obsolete. (Hooks for Malloc): __memalign_hook is also
12352 called for posix_memalign and valloc.
12353 (Summary of Malloc): Add posix_memalign to function summary.
12354 __memalign_hook is also called for posix_memalign and valloc.
12356 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12358 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12362 (sloww): Use mynumber union. Expand ternary operator into
12363 if-else statements.
12364 (cslow): use mynumber union.
12366 2013-12-16 Allan McRae <allan@archlinux.org>
12368 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12369 * configure: Regenerated.
12371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12374 * configure.ac: Added --enable-maintainer-mode. Check for
12375 autoconf when enabled.
12376 * configure: Regenerated.
12378 * nscd/nscd.service: New file.
12379 * nscd/nscd.tmpfiles: New file.
12381 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12384 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12385 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12386 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12387 (strstr): Add __strstr_sse2_unaligned ifunc.
12388 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12389 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12390 (strcasestr): Remove __strcasestr_sse42 ifunc.
12391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12395 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12397 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12398 * sysdeps/sh/bits/fenv.h: ... here.
12399 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12401 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12403 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12406 hypotf multiarch implementations.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12409 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12410 multiarch hypot for PPC64.
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12413 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12414 multiarch hypotf for PPC64.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12417 modff multiarch implementations.
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12421 multiarch modf for PPC64.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12425 multiarch modff for PPC64.
12427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12428 and logl multiarch implementations.
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12432 multiarch logb for PPC64.
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12436 multiarch logb for PPC64.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12440 multiarch logb for PPC64.
12442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12443 isinff multiarch implementation.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12448 multiarch isinf for PPC64.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12452 multiarch isinff for PPC64.
12454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12455 finitef multiarch implementation.
12456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12460 multiarch finite for PPC64.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12464 multiarch finitef for PPC64.
12466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12467 lrint multiarch implementation.
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12472 multiarch llrint for PPC64.
12473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12474 multiarch lrint for PPC64.
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12477 copysignf multiarch implementation.
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12483 multiarch copysign for PPC64.
12484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12485 multiarch copysignf for PPC64.
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12488 multiarch implementation.
12489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12497 multiarch llround for PPC64.
12498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12499 multiarch trunc for PPC64.
12500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12501 multiarch truncf for PPC64.
12503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12504 multiarch implementation.
12505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12513 multiarch llround for PPC64.
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12515 multiarch round for PPC64.
12516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12517 multiarch roundf for PPC64.
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12520 multiarch implementation.
12521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12529 multiarch llround for PPC64.
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12531 multiarch floor for PPC64.
12532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12533 multiarch floorf for PPC64.
12535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12536 multiarch implementation.
12537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12545 multiarch llround for PPC64.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12547 multiarch ceil for PPC64.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12549 multiarch ceilf for PPC64.
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12552 multiarch implementation.
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12560 multiarch llround for PPC64.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12562 multiarch lround for PPC64.
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12565 multiarch implementation.
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12573 multiarch isnan for PPC64.
12574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12575 multiarch isnanf for PPC64.
12577 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12578 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12579 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12580 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12581 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12584 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12585 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12590 multiarch implementations.
12591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12592 (__libc_ifunc_impl_list): Likewise.
12593 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12596 multiarch stpcpy for PPC64.
12598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12599 multiarch implementations.
12600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12601 (__libc_ifunc_impl_list): Likewise.
12602 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12603 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12604 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12605 multiarch strcpy for PPC64.
12607 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12608 redefine function name.
12609 (_wordcopy_fwd_dest_aligned): Likewise.
12610 (_wordcopy_bwd_aligned): Likewise.
12611 (_wordcopy_bwd_dest_aligned): Likewise.
12612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12613 multiarch implementations.
12614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12615 (__libc_ifunc_impl_list): Likewise.
12616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12620 multiarch wcscpy for PPC64.
12622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12623 multiarch implementations.
12624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Likewise.
12626 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12630 multiarch wcscpy for PPC64.
12632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12633 multiarch implementations.
12634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12635 (__libc_ifunc_impl_list): Likewise.
12636 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12638 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12639 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12640 multiarch wcsrchr for PPC64.
12642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12643 multiarch implementations.
12644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12645 (__libc_ifunc_impl_list): Likewise.
12646 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12647 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12648 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12649 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12650 multiarch wcschr for PPC64.
12652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12653 multiarch implementations.
12654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12655 (__libc_ifunc_impl_list): Likewise.
12656 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12657 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12658 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12659 multiarch strchrnul for PPC64.
12661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12664 (__libc_ifunc_impl_list): Likewise.
12665 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12666 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12667 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12668 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12674 (__libc_ifunc_impl_list): Likewise.
12675 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12676 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12677 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12678 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12682 multiarch implementations.
12683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12684 (__libc_ifunc_impl_list): Likewise.
12685 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12686 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12687 strncasecmp for PPC64.
12688 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12689 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12690 multiarch strncasecmp_l for PPC64.
12692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12693 multiarch implementations.
12694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12695 (__libc_ifunc_impl_list): Likewise.
12696 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12698 multiarch strcasecmp for PPC64.
12699 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12701 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12702 multiarch strcasecmp_l for PPC64.
12704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12707 (__libc_ifunc_impl_list): Likewise.
12708 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12709 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12710 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12716 (__libc_ifunc_impl_list): Likewise.
12717 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12718 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12725 (__libc_ifunc_impl_list): Likewise.
12726 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12727 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12728 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12729 rawmemrchr for PPC64.
12731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12734 (__libc_ifunc_impl_list): Likewise.
12735 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12736 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12737 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12743 (__libc_ifunc_impl_list): Likewise.
12744 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12745 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12746 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752 (__libc_ifunc_impl_list): Likewise.
12753 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12754 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12755 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12758 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12759 avoid cretion of __bzero symbol.
12760 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12762 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12764 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12767 multiarch implementations.
12768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12769 (__libc_ifunc_impl_list): Likewise.
12770 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12771 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12772 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12773 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12775 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12779 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12781 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12783 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12787 (__libc_ifunc_impl_list): Likewise.
12788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12789 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12790 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12791 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12795 multiarch for POWER/PPC64.
12796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12797 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12804 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12807 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12808 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12809 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12810 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12811 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12812 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12813 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12814 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12815 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12816 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12817 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12818 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12819 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12820 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12821 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12830 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12834 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12836 * benchtests/Makefile (bench): Add exp2 and log2.
12837 (LDLIBS-bench-exp2): Add -lm.
12838 (LDLIBS-bench-log2): Likewise.
12839 * benchtests/exp2-inputs: New inputs file.
12840 * benchtests/log2-inputs: New inputs file.
12841 * benchtests/log-inputs: Add new inputs.
12842 * benchtests/tan-inputs: Likewise.
12844 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12846 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12848 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12849 (csloww2): ... from here.
12851 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12852 instead of structures.
12853 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12854 (POLYNOMIAL): Likewise.
12855 (TAYLOR_SLOW): Likewise.
12861 (sloww1); Likewise.
12862 (sloww2): Likewise.
12863 (bsloww1): Likewise.
12864 (bsloww2): Likewise.
12865 (cslow2): Likewise.
12866 (csloww): Likewise.
12867 (csloww1): Likewise.
12868 (csloww2): Likewise.
12870 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12872 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12873 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12874 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12875 * malloc/hooks.c (realloc_check): Likewise.
12877 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12878 * malloc/arena.c: Remove PER_THREAD conditional.
12879 [!PER_THREAD]: Remove code.
12880 (ptmalloc_unlock_all2): Likewise.
12881 (ptmalloc_init): Likewise.
12882 (_int_new_arena): Likewise.
12883 (arena_get2): Likewise.
12884 * malloc/hooks.c (__malloc_get_state): Likewise.
12885 (__malloc_set_state): Likewise.
12886 * malloc/malloc.c: Likewise.
12887 (struct malloc_state): Likewise.
12888 (struct malloc_par): Likewise.
12889 (__libc_realloc): Likewise.
12890 (__libc_mallopt): Likewise.
12892 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12894 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12896 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12898 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12899 macro to a function. Check for zero perturb_byte.
12900 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12902 * malloc/malloc.c: (force_reg): Remove.
12903 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12904 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12905 force_reg by atomic_forced_read.
12906 * malloc/arena.c (ptmalloc_init): Likewise.
12907 * malloc/hooks.c (top_check): Likewise.
12909 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12913 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12917 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12919 * math/auto-libm-test-in: Add tests of lgamma.
12920 * math/auto-libm-test-out: Regenerated.
12921 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12922 (M_LOG_2_SQRT_PIl): Likewise.
12923 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12926 (func_calc_desc): Add mpfr_f_f1 union field.
12927 (ARGS1): New macro.
12935 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12936 (test_functions): Add lgamma.
12937 (calc_generic_results): Handle mpfr_f_f1.
12938 * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12943 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12944 __mpn_add_n for PowerPC64/POWER7.
12945 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12946 __mpn_sub_n for PowerPC64/POWER7.
12948 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12949 __mpn_addmul_1 for PowerPC64.
12950 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12951 __mpn_submul_1 for PowerPC64.
12952 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12954 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12957 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12960 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12964 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12966 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12967 add multiarch folders.
12968 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12969 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12970 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12971 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12972 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12973 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12974 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12975 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12976 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12977 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12978 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12987 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12993 multiarch __ieee754_hypot for PowerPC32.
12994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12999 multiarch __ieee754_hypotf for PowerPC32.
13001 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13002 long_double_symbol only if __logbl is defined.
13003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13004 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13006 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13008 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13010 path for implementation.
13011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13014 logb, and logbl multiarch implementations for PowerPC32.
13015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13020 multiarch logb for PowerPC32.
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13026 multiarch logbf for PowerPC32.
13027 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13031 multiarch logbl implementation for PowerPC32.
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13034 and modff multiarch implementations.
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13040 multiarch modf for PowerPC32.
13041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13046 multiarch modff for PowerPC32.
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13049 and lrintf multiarch implementations.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13055 multiarch lrint for PowerPC32.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13057 file: multiarch lrintf for PowerPC32.
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13060 and lroundf multiarch implementations.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13068 multiarch lround for PowerPC32.
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13070 file: multiarch lroundf for PowerPC32.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13073 copysign and copysignf multiarch implementations.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13079 file: multiarch copysign for PowerPC32.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13081 file: multiarch copysignf for PowerPC32.
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13084 and truncf multiarch implementations.
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13090 multiarch trunc for PowerPC32.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13096 multiarch truncf for PowerPC32.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13099 and roundf multiarch implementations.
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13105 multiarch round for PowerPC32.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13111 multiarch roundf for PowerPC32.
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13114 and floorf multiarch implementations.
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13120 multiarch floor for PowerPC32.
13121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13126 multiarch floorf for PowerPC32.
13128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13129 and ceilf multiarch implementations.
13130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13135 multiarch ceil for PowerPC32.
13136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13141 multiarch ceilf for PowerPC32.
13143 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13145 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13146 FINITEF is defined.
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13148 and finitef multiarch implementations.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13154 multiarch finite for PowerPC32.
13155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13158 file: multiarch finitef for PowerPC32.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13161 and isinff multiarch implementations.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13167 multiarch isinf for PowerPC32.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13171 multiarch isinff for PowerPC32.
13173 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13174 alias when __isnan is defined.
13175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13176 and isnanf multiarch implementations.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13186 multiarch isnan for PowerPC32.
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13192 multiarch isnanf for PowerPC32.
13194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13195 and sqrtf multiarch implementations.
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13201 multiarch sqrt for PowerPC32.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13207 multiarch sqrtf for PowerPC32.
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13210 and llroundf multiarch implementations.
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13218 file: multiarch llround for PowerPC32.
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13220 file: multiarch llroundf for PowerPC32.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13223 multiarch PowerPC32 fpu implementations.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13229 multiarch llrint for PowerPC32.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13245 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13246 multiarch wordcopy for PPC32.
13247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13250 (__libc_ifunc_impl_list): Likewise.
13251 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13252 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13253 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13254 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13255 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13256 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13258 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13266 multiarch wcscpy for PPC32.
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13270 (__libc_ifunc_impl_list): Likewise.
13271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13272 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13273 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13274 sysdeps/powerpc/power6/wcscpy.c.
13276 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13284 multiarch wcsrchr for PPC32.
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13288 (__libc_ifunc_impl_list): Likewise.
13289 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13290 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13291 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13292 sysdeps/powerpc/power6/wcsrchr.c.
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13300 multiarch wcschr for PPc32.
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13304 (__libc_ifunc_impl_list): Likewise.
13305 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13306 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13307 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13308 sysdeps/powerpc/power6/wcschr.c.
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13314 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13315 file: multiarch strchr for PPC32.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13319 (__libc_ifunc_impl_list): Likewise.
13321 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13323 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13328 multiarch strchrnul for PPC32.
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13332 (__libc_ifunc_impl_list): Likewise.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13337 multiarch strncasecmp for PPC32.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13341 multiarch strncasecmp_l for PPC32.
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13343 strncasecmp multiarch objects.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13345 (__libc_ifunc_impl_list): Likewise.
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13350 multiarch strncasecmp for PPC32.
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13353 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13354 multiarch strcasecmp_l for PPC32.
13355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13358 (__libc_ifunc_impl_list): Likewise.
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13365 multiarch strncmp for PPC32.
13366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13369 (__libc_ifunc_impl_list): Likewise.
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13372 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13379 (__libc_ifunc_impl_list): Likewise.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13389 (__libc_ifunc_impl_list): Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13396 multiarch rawmemchr for PPC32.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13400 (__libc_ifunc_impl_list): Likewise.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13407 file: memrchr multiarch for PPC32.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13411 (__libc_ifunc_impl_list): Likewise.
13413 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13417 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13418 multiarch memchr for PPC32.
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13422 (__libc_ifunc_impl_list): Likewise.
13424 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13430 file: multiarch mempcpy for PPC32.
13431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13434 (__libc_ifunc_impl_list): Likewise.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13437 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13440 multiarch bzero for PPC32.
13441 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13445 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13446 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13447 file: multiarch memset for PPC32.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13450 memset multiarch objects.
13451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13452 (__libc_ifunc_impl_list): Likewise.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13459 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13463 (__libc_ifunc_impl_list): Likewise.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13474 multiarch memcpy for PPC32.
13475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13478 (__libc_ifunc_impl_list): Likewise.
13480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13481 support multiarch for POWER/PPC32.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13486 Implies file to make multiarch folder appers before the fpu and
13487 default folder for power4 configuration.
13489 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13491 * scripts/bench.pl: Append volatile keyword to type.
13493 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13495 * sysdeps/sh/sotruss-lib.c: New file.
13496 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13498 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13502 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13505 * math/w_tgamma.c: Include <errno.h>.
13506 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13507 * math/w_tgammaf.c: Include <errno.h>.
13508 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13509 * math/w_tgammal.c: Include <errno.h>.
13510 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13511 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13512 underflow. Add more tgamma tests.
13513 * math/auto-libm-test-out: Regenerated.
13514 * sysdeps/i386/fpu/libm-test-ulps: Update.
13515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13517 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13518 sin, sinh, tan, tanh, tgamma, y0 and y1.
13519 * math/auto-libm-test-out: Regenerated.
13520 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13521 (TEST_COND_x86): Likewise.
13522 (M_E2l): Remove macro.
13524 (M_2_SQRT_PIl): Likewise.
13525 (M_SQRT_PIl): Likewise.
13526 (M_1_DIV_El): Likewise.
13527 (log_test_data): Use AUTO_TESTS_f_f.
13528 (log10_test_data): Likewise.
13529 (log1p_test_data): Likewise.
13530 (log2_test_data): Likewise.
13531 (sin_test_data): Likewise.
13532 (sin_tonearest_test_data): Likewise.
13533 (sin_towardzero_test_data): Likewise.
13534 (sin_downward_test_data): Likewise.
13535 (sin_upward_test_data): Likewise.
13536 (sinh_test_data): Likewise.
13537 (sinh_tonearest_test_data): Likewise.
13538 (sinh_towardzero_test_data): Likewise.
13539 (sinh_downward_test_data): Likewise.
13540 (sinh_upward_test_data): Likewise.
13541 (tan_test_data): Likewise.
13542 (tan_tonearest_test_data): Likewise.
13543 (tan_towardzero_test_data): Likewise.
13544 (tan_downward_test_data): Likewise.
13545 (tan_upward_test_data): Likewise.
13546 (tanh_test_data): Likewise.
13547 (tgamma_test_data): Likewise.
13548 (y0_test_data): Likewise.
13549 (y1_test_data): Likewise.
13550 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13551 (special_real_inputs): Add pi/4.
13552 * sysdeps/i386/fpu/libm-test-ulps: Update.
13553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13555 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13557 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13558 "longjmp_target" static probes.
13559 (__longjmp): Rename to __longjmp_symbol.
13560 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13561 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13562 on which longjmp to generate.
13563 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13566 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13567 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13568 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13569 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13570 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13571 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13573 __longjmp_symbol based on which __longjmp to generate.
13574 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13576 (setjmp): Rename to setjmp_symbol.
13577 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13578 (_setjmp): Rename to _setjmp_symbol.
13579 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13580 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13581 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13582 which setjmp to generate.
13583 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13584 "longjmp_target" static probes.
13586 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13588 * benchtests/README: Add note about output arguments.
13589 * benchtests/bench-sincos.c: Remove file.
13590 * benchtests/sincos-inputs: New file.
13591 * scripts/bench.pl: Identify output arguments and define
13592 static variables for them.
13594 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13597 * Makefile (INSTALL): Add install-plain.texi as the primary
13599 * manual/install-plain.texi: New file.
13600 * manual/install.texi: Include node directive only for
13601 non-plaintext output.
13603 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13605 * stdlib/longlong.h: Update from GCC.
13609 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13610 * math/w_j0f.c (y0f): Likewise.
13611 * math/w_j0l.c (__y0l): Likewise.
13612 * math/w_j1.c (y1): Likewise.
13613 * math/w_j1f.c (y1f): Likewise.
13614 * math/w_j1l.c (__y1l): Likewise
13615 * math/w_jn.c (yn): Likewise.
13616 * math/w_jnf.c (ynf): Likewise.
13617 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13618 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13619 value for Bessel function domain errors outside _SVID_ mode.
13620 Adjust sign of return value for yn (negative integer, 0).
13621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13622 by zero in return for negative x and set sign appropriately for
13624 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13626 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13627 expectations in error cases.
13628 (y1_test_data): Likewise.
13629 (yn_test_data): Likewise.
13630 * sysdeps/i386/fpu/libm-test-ulps: Update.
13631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13633 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13635 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13636 "64" to "64-v1". Add "64-v2".
13637 (abi-64-options): Rename to ...
13638 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13639 (abi-64-condition): Rename to ...
13640 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13641 (abi-64-ld-soname): Rename to ...
13642 (abi-64-v1-ld-soname): ... this.
13643 (abi-64-v2-options): Define.
13644 (abi-64-v2-condition): Likewise.
13645 (abi-64-v2-ld-soname): Likewise.
13646 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13647 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13652 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13653 Alan Modra <amodra@gmail.com>
13655 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13656 New versions for use with the ELFv2 ABI.
13657 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13658 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13660 (struct La_ppc64v2_retval): Likewise.
13661 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13662 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13663 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13664 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13665 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13666 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13667 Do not save or restore CR.
13668 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13669 (_dl_profile_resolve): Do no save or restore CR. Support extended
13670 return values for ELFv2 ABI. Fix location of FPR return registers.
13671 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13672 updated values for _CALL_ELF == 2.
13673 (La_regs, La_retval, int_retval): Likewise.
13675 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13677 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13678 (FRAME_MIN_SIZE_PARM): Likewise.
13679 (FRAME_BACKCHAIN): Likewise.
13680 (FRAME_CR_SAVE): Likewise.
13681 (FRAME_LR_SAVE): Likewise.
13682 (FRAME_TOC_SAVE): Likewise.
13683 (FRAME_PARM_SAVE): Likewise.
13684 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13685 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13686 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13687 (call_mcount_parm_offset): New macro.
13688 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13689 (PROF): Use symbolic stack frame offsets.
13690 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13692 Redefine in terms of FRAME_MIN_SIZE.
13693 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13694 (_dl_profile_resolve): Likewise. Update comment.
13695 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13696 symbols stack frame offsets.
13697 (__sigsetjmp): Likewise.
13698 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13699 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13700 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13701 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13704 (FRAME_BACKCHAIN): Remove.
13705 (FRAME_CR_SAVE): Likewise.
13706 (FRAME_LR_SAVE): Likewise.
13707 (FRAME_COMPILER_DW): Likewise.
13708 (FRAME_LINKER_DW): Likewise.
13709 (FRAME_TOC_SAVE): Likewise.
13710 (FRAME_PARM_SAVE): Likewise.
13711 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13712 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13713 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13715 (CHECK_SP): Use symbolic stack frame offsets.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13717 zone" instead of caller's parameter save area for temp storage.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13719 Likewise. Also, use symbolic stack frame offsets.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13721 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13722 our own stack frame instead of the caller's.
13723 (__socket): Use symbolic stack frame offsets.
13725 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13726 Alan Modra <amodra@gmail.com>
13728 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13730 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13731 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13732 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13734 (elf_machine_fixup_plt): Call it.
13735 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13737 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13738 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13739 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13740 r2 before calling target.
13742 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13743 Alan Modra <amodra@gmail.com>
13745 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13746 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13747 versions of macros to support ELFv2 ABI.
13748 (LOCALENTRY): New macro.
13749 (ENTRY, EALIGN): Use it.
13750 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13751 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13752 fall through into ENTRY entry point.
13753 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13754 Only define if _CALL_ELF != 2.
13756 (elf_machine_matches_host): Verify ABI version matches.
13757 (RTLD_START): Use LOCALENTRY.
13758 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13759 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13760 (PLT_ENTRY_WORDS): New macro.
13761 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13762 (elf_machine_runtime_setup): Support ELFv2 ABI.
13763 (elf_machine_fixup_plt): Likewise.
13764 (elf_machine_plt_conflict): Likewise.
13765 (resolve_ifunc): Likewise.
13766 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13770 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13772 (makecontext): Support ELFv2 ABI.
13773 * elf/elf.h (EF_PPC64_ABI): Define.
13775 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13777 * sysdeps/powerpc/powerpc64/sysdep.h
13778 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13779 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13780 (ENTRY) [ASSEMBLER]: ... but instead here ...
13781 (EALIGN) [ASSEMBLER]: ... and here.
13782 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13783 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13784 (ENTRY_2) [!ASSEMBLER]: Use it.
13785 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13786 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13787 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13788 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13789 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13791 Use PPC64_LOAD_FUNCPTR.
13793 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13795 2013-12-04 Alan Modra <amodra@gmail.com>
13797 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13798 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13799 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13800 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13803 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13804 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13805 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13806 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13807 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13809 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13812 (__makecontext): Fix incorrect CFI when backtracing out of
13813 context created via makecontext.
13814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13815 (__setcontext): Fix incorrect CFI during switch to new context.
13816 (__novec_setcontext): Likewise.
13818 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13821 * time/strptime_l.c (__strptime_internal): Allow modifiers
13823 * time/tst-strptime.c (day_tests): Add testcase.
13825 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13827 * scripts/bench.pl: Skip over blank lines.
13829 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13832 * manual/time.texi (Calendar Time): Clarify what timezone functions
13835 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13839 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13841 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13843 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13844 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13845 * debug/memset_chk.c (__memset_chk): Likewise.
13846 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13847 * debug/strncpy_chk.c: Likewise.
13849 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13854 (__ieee754_exp): For possibly underflowing results, check size of
13855 result and force underflow exception if required.
13856 * math/auto-libm-test-in: Add more tests of exp.
13857 * math/auto-libm-test-out: Regenerated.
13858 * sysdeps/i386/fpu/libm-test-ulps: Update.
13859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13862 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13863 * math/w_exp2f.c (__exp2f): Likewise.
13864 * math/w_exp2l.c (__exp2l): Likewise.
13865 * math/auto-libm-test-in: Do not allow missing errno on exp2
13867 * math/auto-libm-test-out: Regenerated.
13869 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13872 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13873 handle filename validation.
13874 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13877 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13880 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13881 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13882 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13884 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13886 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13888 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13890 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13891 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13892 Add more erfc tests.
13893 * math/auto-libm-test-out: Regenerated.
13894 * sysdeps/i386/fpu/libm-test-ulps: Update.
13895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13897 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13898 exp2, expm1, j0 and j1.
13899 * math/auto-libm-test-out: Regenerated.
13900 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13901 (erfc_test_data): Likewise.
13902 (exp_test_data): Likewise.
13903 (exp_tonearest_test_data): Likewise.
13904 (exp_towardzero_test_data): Likewise.
13905 (exp_downward_test_data): Likewise.
13906 (exp_upward_test_data): Likewise.
13907 (exp10_test_data): Likewise.
13908 (exp2_test_data): Likewise.
13909 (expm1_test_data): Likewise.
13910 (j0_test_data): Likewise.
13911 (j1_test_data): Likewise.
13912 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13913 (input_flag_type): Add flag_xfail_rounding.
13914 (input_flags): Add xfail-rounding.
13915 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13916 (output_for_one_input_case): Handle flag_xfail_rounding.
13917 * sysdeps/i386/fpu/libm-test-ulps: Update.
13918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13920 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13923 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13926 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13929 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13930 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13931 (STAP_PROBE0): New macro.
13932 (STAP_PROBE1): Likewise.
13933 (STAP_PROBE2): Likewise.
13934 (STAP_PROBE3): Likewise.
13935 (STAP_PROBE4): Likewise.
13937 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13939 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13941 2013-12-02 Steve Ellcey <sellcey@mips.com>
13943 * benchtests/Makefile (bench): Add sqrt.
13944 (LDLIBS-bench-sqrt): New.
13945 * benchtests/sqrt-input: New.
13947 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13949 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13950 (GAIH_EAI): Likewise.
13951 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13952 (gaih_inet): Likewise.
13953 (getaddrinfo): Don't use GAIH_EAI.
13955 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13956 (struct gaih): Remove definition.
13958 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13960 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13961 Use HERRNOP directly.
13963 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13967 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13969 * math/gen-auto-libm-tests.c (test_functions): Add more
13970 single-argument functions.
13971 (special_fill_pi_2): New function.
13972 (special_fill_minus_pi_2): Likewise.
13973 (special_fill_pi_6): Likewise.
13974 (special_fill_minus_pi_6): Likewise.
13975 (special_fill_pi_3): Likewise.
13976 (special_fill_2pi_3): Likewise.
13977 (special_fill_e): Likewise.
13978 (special_fill_1_e): Likewise.
13979 (special_fill_e_minus_1): Likewise.
13980 (special_real_inputs): Add more special inputs.
13981 (output_for_one_input_case): Do not require ERANGE on underflow to
13982 zero if round-to-nearest result does not underflow to zero, unless
13983 exact results required.
13984 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13985 atan, atanh, cbrt, cos and cosh.
13986 * math/auto-libm-test-out: Regenerated.
13987 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13988 (acos_tonearest_test_data): Likewise.
13989 (acos_towardzero_test_data): Likewise.
13990 (acos_downward_test_data): Likewise.
13991 (acos_upward_test_data): Likewise.
13992 (acosh_test_data): Likewise.
13993 (asin_test_data): Likewise.
13994 (asin_tonearest_test_data): Likewise.
13995 (asin_towardzero_test_data): Likewise.
13996 (asin_upward_test_data): Likewise.
13997 (asinh_test_data): Likewise.
13998 (atan_test_data): Likewise.
13999 (atanh_test_data): Likewise.
14000 (cbrt_test_data): Likewise.
14001 (cos_test_data): Likewise.
14002 (cos_tonearest_test_data): Likewise.
14003 (cos_towardzero_test_data): Likewise.
14004 (cos_downward_test_data): Likewise.
14005 (cos_upward_test_data): Likewise.
14006 (cosh_test_data): Likewise.
14007 (cosh_tonearest_test_data): Likewise.
14008 (cosh_towardzero_test_data): Likewise.
14009 (cosh_downward_test_data): Likewise.
14010 (cosh_upward_test_data): Likewise.
14011 * sysdeps/i386/fpu/libm-test-ulps: Update.
14012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14014 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14017 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14018 * math/w_exp10f.c (__exp10f): Likewise.
14019 * math/w_exp10l.c (__exp10l): Likewise.
14020 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14021 errno settings in existing tests.
14024 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14025 precision control set to double precision.
14026 * sysdeps/i386/fpu/w_sqrt.c: New file.
14027 * math/auto-libm-test-in: Add more tests.
14028 * math/auto-libm-test-out: Update.
14030 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14031 (sqrt_test_tonearest): New function.
14032 (sqrt_towardzero_test_data): New variable.
14033 (sqrt_test_towardzero): New function.
14034 (sqrt_downward_test_data): New variable.
14035 (sqrt_test_downward): New function.
14036 (sqrt_upward_test_data): New variable.
14037 (sqrt_test_upward): New function.
14038 (main): Call the new functions.
14040 * math/gen-auto-libm-tests.c: New file.
14041 * math/auto-libm-test-in: Likewise.
14042 * math/auto-libm-test-out: New generated file.
14043 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14045 (%beautify): Add generated representations of zero.
14046 (top level): Set $auto_input and call parse_auto_input.
14047 (beautify): Remove trailing "f" from hex float constants.
14048 (parse_args): Handle XFAIL_TEST.
14049 (convert_condition): New function.
14050 (or_value): Likewise.
14051 (or_cond_value): Likewise.
14052 (generate_testfile): Handle AUTO_TESTS_* lines.
14053 (parse_auto_input): New function.
14054 * math/libm-test.inc (XFAIL_TEST): New macro.
14055 (ERRNO_UNCHANGED): Update value.
14056 (ERRNO_EDOM): Likewise.
14057 (ERRNO_ERANGE): Likewise.
14058 (IGNORE_RESULT): Likewise.
14059 (TEST_COND_flt_32): New macro.
14060 (TEST_COND_dbl_64): Likewise.
14061 (TEST_COND_ldbl_96_intel): Likewise.
14062 (TEST_COND_ldbl_96_m68k): Likewise.
14063 (TEST_COND_ldbl_128): Likewise.
14064 (TEST_COND_ldbl_128ibm): Likewise.
14065 (TEST_COND_long32): Likewise.
14066 (TEST_COND_long64): Likewise.
14067 (TEST_COND_before_rounding): Likewise.
14068 (TEST_COND_after_rounding): Likewise.
14069 (enable_test): Handle XFAIL_TEST flag.
14070 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14071 with finite results.
14072 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14073 auto-libm-test-out.
14075 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14076 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14079 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14080 __tls_get_addr_internal instead of __tls_get_offset in order to
14081 avoid GOT pointer dependency. Make rtld export
14082 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14083 __tls_get_addr since we are a __tls_get_offset platform.
14084 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14085 GOT pointer being set up before.
14086 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14088 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14090 * manual/math.texi (Errors in Math Functions): Document accuracy
14094 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14095 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14111 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14112 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14113 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14114 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14115 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14117 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14119 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14121 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14122 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14123 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14124 atomic-feupdateenv and flt-rounds.
14125 * sysdeps/powerpc/nofpu/Versions (libc): Add
14126 __atomic_feholdexcept, __atomic_feclearexcept,
14127 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14128 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14129 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14130 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14131 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14136 * manual/arith.texi (FP Exceptions): Document that exceptions may
14137 not be raised when matherr is used.
14138 (Math Error Reporting): Document overflow in directed rounding
14139 modes. Document that errno may not be set when finite values are
14140 returned on overflow. Document intent to set errno on underflow
14141 only for underflow to zero.
14144 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14145 round-to-nearest then adjust result for other rounding modes.
14146 * include/fenv.h (fegetround): Use libm_hidden_proto.
14147 * math/fegetround.c (fegetround): Use libm_hidden_def.
14148 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14149 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14150 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14153 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14154 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14155 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14156 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14158 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14161 * nss/Versions (libnss_files): Add
14162 _nss_files_gethostbyname3_r.
14163 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14165 (HOST_DB_LOOKUP): Remove macro.
14166 (_nss_files_gethostbyname_r): Implement function without the
14167 HOST_DB_LOOKUP macro.
14168 (_nss_files_gethostbyname2_r): Likewise.
14170 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14172 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14174 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14176 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14177 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14180 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14183 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14184 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14185 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14186 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14187 __fe_nomask_env_priv and attribute_hidden.
14188 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14189 (libc_feupdateenv_test_ppc): Likewise.
14190 (libc_feresetround_ppc): Likewise.
14191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14192 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14193 compat_symbol macro.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14195 (__fe_nomask_env): Likewise.
14196 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14198 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14200 * string/Makefile: Remove ifunc tests.
14201 * string/test-string.h: Define TEST_IFUNC.
14202 * string/test-bcopy-ifunc.c: Remove.
14203 * string/test-bzero-ifunc.c: Likewise.
14204 * string/test-memccpy-ifunc.c: Likewise.
14205 * string/test-memchr-ifunc.c: Likewise.
14206 * string/test-memcmp-ifunc.c: Likewise.
14207 * string/test-memcpy-ifunc.c: Likewise.
14208 * string/test-memmem-ifunc.c: Likewise.
14209 * string/test-memmove-ifunc.c: Likewise.
14210 * string/test-mempcpy-ifunc.c: Likewise.
14211 * string/test-memrchr-ifunc.c: Likewise.
14212 * string/test-memset-ifunc.c: Likewise.
14213 * string/test-rawmemchr-ifunc.c: Likewise.
14214 * string/test-stpcpy-ifunc.c: Likewise.
14215 * string/test-stpncpy-ifunc.c: Likewise.
14216 * string/test-strcasecmp-ifunc.c: Likewise.
14217 * string/test-strcasestr-ifunc.c: Likewise.
14218 * string/test-strcat-ifunc.c: Likewise.
14219 * string/test-strchr-ifunc.c: Likewise.
14220 * string/test-strchrnul-ifunc.c: Likewise.
14221 * string/test-strcmp-ifunc.c: Likewise.
14222 * string/test-strcpy-ifunc.c: Likewise.
14223 * string/test-strcspn-ifunc.c: Likewise.
14224 * string/test-strlen-ifunc.c: Likewise.
14225 * string/test-strncasecmp-ifunc.c: Likewise.
14226 * string/test-strncat-ifunc.c: Likewise.
14227 * string/test-strncmp-ifunc.c: Likewise.
14228 * string/test-strncpy-ifunc.c: Likewise.
14229 * string/test-strnlen-ifunc.c: Likewise.
14230 * string/test-strpbrk-ifunc.c: Likewise.
14231 * string/test-strrchr-ifunc.c: Likewise.
14232 * string/test-strspn-ifunc.c: Likewise.
14233 * string/test-strstr-ifunc.c: Likewise.
14235 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14237 * benchtests/Makefile: Remove ifunc tests.
14238 * benchtests/bench-string.h: Define TEST_IFUNC.
14239 * benchtests/bench-bcopy-ifunc.c: Remove.
14240 * benchtests/bench-bzero-ifunc.c: Likewise.
14241 * benchtests/bench-memccpy-ifunc.c: Likewise.
14242 * benchtests/bench-memchr-ifunc.c: Likewise.
14243 * benchtests/bench-memcmp-ifunc.c: Likewise.
14244 * benchtests/bench-memcpy-ifunc.c: Likewise.
14245 * benchtests/bench-memmem-ifunc.c: Likewise.
14246 * benchtests/bench-memmove-ifunc.c: Likewise.
14247 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14248 * benchtests/bench-memrchr-ifunc.c: Likewise.
14249 * benchtests/bench-memset-ifunc.c: Likewise.
14250 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14251 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14252 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14253 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14254 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14255 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14256 * benchtests/bench-strcat-ifunc.c: Likewise.
14257 * benchtests/bench-strchr-ifunc.c: Likewise.
14258 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14259 * benchtests/bench-strcmp-ifunc.c: Likewise.
14260 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14261 * benchtests/bench-strcpy-ifunc.c: Likewise.
14262 * benchtests/bench-strcspn-ifunc.c: Likewise.
14263 * benchtests/bench-strlen-ifunc.c: Likewise.
14264 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14265 * benchtests/bench-strncat-ifunc.c: Likewise.
14266 * benchtests/bench-strncmp-ifunc.c: Likewise.
14267 * benchtests/bench-strncpy-ifunc.c: Likewise.
14268 * benchtests/bench-strnlen-ifunc.c: Likewise.
14269 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14270 * benchtests/bench-strrchr-ifunc.c: Likewise.
14271 * benchtests/bench-strsep-ifunc.c: Likewise.
14272 * benchtests/bench-strspn-ifunc.c: Likewise.
14273 * benchtests/bench-strstr-ifunc.c: Likewise.
14275 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14277 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14279 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14281 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14282 * rt/aio.h: Likewise.
14283 * sysdeps/gnu/bits/utmp.h: Likewise.
14284 * sysdeps/gnu/bits/utmpx.h: Likewise.
14285 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14286 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14287 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14288 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14289 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14290 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14291 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14292 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14296 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14300 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14301 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14302 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14303 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14304 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14305 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14306 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14307 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14308 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14309 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14311 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14313 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14314 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14315 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14316 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14317 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14318 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14320 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14321 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14322 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14323 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14324 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14325 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14326 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14328 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14331 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14332 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14334 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14336 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14337 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14340 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14342 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14343 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14344 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14345 (__fesetround): Remove define.
14346 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14347 rounding and exceptions handling.
14348 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14349 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14350 (__fe_nomask_env): Likewise.
14351 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14352 __fegetround instead of fegetround.
14353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14354 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14356 2013-11-21 Roland McGrath <roland@hack.frob.com>
14358 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14361 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14363 2013-11-21 Meador Inge <meadori@codesourcery.com>
14366 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14367 (encrypt_r): Likewise.
14368 * malloc/obstack.h (obstack_free): Likewise.
14369 * posix/unistd.h (encrypt): Likewise.
14371 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14373 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14374 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14375 DL_CALL_DT_FINI() that call the functions directly.
14376 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14377 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14378 * elf/dl-fini.c: Likewise.
14380 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14382 * malloc/hooks.c (memalign_check): Add alignment rounding.
14383 * malloc/malloc.c (_mid_memalign): New function.
14384 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14385 Implement by calling _mid_memalign.
14386 * manual/probes.texi (Memory Allocation Probes): Remove
14387 memory_valloc_retry and memory_pvalloc_retry.
14389 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14391 * locale/programs/locarchive.c (open_archive): Add const
14392 qualifier to ARCHIVEFNAME and copy default fname to
14396 * libio/tst-widetext.input: Rename Oriya to Odia.
14397 * locale/iso-639.def: Likewise.
14399 * manual/probes.texi (Mathematical Function Probes): Add
14400 documentation for sin, cos, asin and acos probes.
14401 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14402 (__sin32): Add slowasin probe.
14403 (__cos32): Add slowacos probe.
14404 (__mpsin): Add slowsin probe.
14405 (__mpcos): Add slowcos probe.
14407 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14410 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14411 thread-local __sim_exceptions_thread and global
14412 __sim_exceptions_global.
14413 (__sim_disabled_exceptions): Change to thread-local
14414 __sim_disabled_exceptions_thread and global
14415 __sim_disabled_exceptions_global.
14416 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14417 and global __sim_round_mode_global.
14418 (__simulate_exceptions): Use thread-local floating-point state and
14419 set global state from it as needed.
14420 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14421 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14422 __sim_round_mode_thread.
14423 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14424 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14425 and global __sim_exceptions_global.
14426 (__sim_disabled_exceptions): Change to thread-local
14427 __sim_disabled_exceptions_thread and global
14428 __sim_disabled_exceptions_global.
14429 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14430 and global __sim_round_mode_global.
14431 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14432 (SIM_SET_GLOBAL): Likewise.
14433 * sysdeps/powerpc/soft-fp/sfp-machine.h
14434 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14435 __sim_round_mode_thread.
14436 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14437 __sim_disabled_exceptions_thread.
14438 (__sim_exceptions): Change to __sim_exceptions_thread.
14439 (__sim_disabled_exceptions): Change to
14440 __sim_disabled_exceptions_thread.
14441 (__sim_round_mode): Change to __sim_round_mode_thread.
14442 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14443 thread-local floating-point state and set global state from it as
14445 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14446 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14447 (__sim_disabled_exceptions): Remove extern declaration.
14448 (feenableexcept): Use thread-local floating-point state and set
14449 global state from it as needed.
14450 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14451 extern declaration.
14452 (__sim_disabled_exceptions): Likewise.
14453 (__sim_round_mode): Likewise.
14454 (__fegetenv): Use thread-local floating-point state.
14455 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14456 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14457 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14458 floating-point state and set global state from it as needed.
14459 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14460 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14461 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14463 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14464 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14466 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14467 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14468 Use __sim_round_mode_thread.
14469 * math/test-fenv-tls.c: New file.
14470 * math/Makefile (tests): Add test-fenv-tls.
14471 ($(objpfx)test-fenv-tls): Depend on
14472 $(common-objpfx)nptl/libpthread.so.
14474 2013-11-19 Andreas Schwab <schwab@suse.de>
14476 * locale/programs/locale.c (show_info): Decode wordarray elements.
14477 * locale/categories.def (LC_MONETARY): Add element for
14478 _NL_MONETARY_CRNCYSTR.
14479 * locale/C-monetary.c (conversion_rate): New variable.
14480 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14483 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14485 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14486 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14488 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14490 * elf/Makefile (tst-auxv): New test.
14491 * elf/tst-auxv.c: New
14492 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14494 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14496 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14497 (hidden_proto): Caller changed.
14498 (hidden_tls_proto): New macro.
14499 (libc_hidden_tls_proto): Likewise.
14500 (rtld_hidden_tls_proto): Likewise.
14501 (libm_hidden_tls_proto): Likewise.
14502 (libresolv_hidden_tls_proto): Likewise.
14503 (librt_hidden_tls_proto): Likewise.
14504 (libdl_hidden_tls_proto): Likewise.
14505 (libnss_files_hidden_tls_proto): Likewise.
14506 (libnsl_hidden_tls_proto): Likewise.
14507 (libnss_nisplus_hidden_tls_proto): Likewise.
14508 (libutil_hidden_tls_proto): Likewise.
14510 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14513 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14514 (decompose_rpath): Defer expansion to fillin_rpath.
14515 (_dl_init_paths): Pass linkmap to fillin_rpath.
14517 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14519 * benchtests/Makefile: Add strsep.
14520 * benchtests/bench-strsep.c: New file: strsep benchtest.
14521 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14523 2013-11-18 Andreas Schwab <schwab@suse.de>
14525 * locale/programs/locale.c (show_info) [case byte]: Check for
14526 '\377' instead of '\177'.
14527 * locale/C-monetary.c (not_available): Always use "\377".
14528 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14529 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14530 detect unavailable sign_posn locale elements.
14531 * locale/localeconv.c (__localeconv): For grouping and
14532 mon_grouping handle "\177" and "\377" like no grouping.
14533 (INT_ELEM): New macro. Use it to set all numeric members.
14534 * locale/programs/ld-monetary.c (monetary_read)
14535 <tok_mon_grouping>: Normalize single -1 to the empty string.
14536 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14539 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14542 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14543 when we match (nil).
14544 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14546 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14548 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14549 (NO_TEST_INLINE): Update value.
14550 (ERRNO_UNCHANGED): Likewise.
14551 (ERRNO_EDOM): Likewise.
14552 (ERRNO_ERANGE): Likewise.
14553 (IGNORE_RESULT): Likewise.
14554 (check_float_internal): Check signs of NaN results if
14555 TEST_NAN_SIGN used.
14556 (check_complex): Pass TEST_NAN_SIGN flag through to second
14557 check_float_internal call.
14558 (copysign_test_data): Add tests with quiet NaNs as second
14559 argument. Use TEST_NAN_SIGN.
14560 (fabs_test_data): Add test of negative quiet NaN argument. Use
14562 (signbit_test_data): Add tests of quiet NaN argument.
14563 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14565 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14567 (parse_args): Handle function results specified as IGNORE.
14568 * math/libm-test.inc (IGNORE_RESULT): New macro.
14569 (check_float_internal): Do not check numerical result if flag
14571 (check_complex): Pass through IGNORE_RESULT to second
14572 check_float_internal call.
14573 (check_int): Do not check numerical result if flag IGNORE_RESULT
14575 (check_long): Likewise.
14576 (check_bool): Likewise.
14577 (check_longlong): Likewise.
14578 (lrint_test_data): Add tests of infinite and NaN arguments.
14579 (lrint_tonearest_test_data): Likewise.
14580 (lrint_towardzero_test_data): Likewise.
14581 (lrint_downward_test_data): Likewise.
14582 (lrint_upward_test_data): Likewise.
14583 (llrint_test_data): Likewise.
14584 (llrint_tonearest_test_data): Likewise.
14585 (llrint_towardzero_test_data): Likewise.
14586 (llrint_downward_test_data): Likewise.
14587 (llrint_upward_test_data): Likewise.
14588 (lround_test_data): Likewise.
14589 (llround_test_data): Likewise.
14591 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14592 (ERRNO_UNCHANGED): Update value.
14593 (ERRNO_EDOM): Likewise.
14594 (ERRNO_ERANGE): Likewise.
14595 (NO_TEST_INLINE_FLOAT): New macro.
14596 (NO_TEST_INLINE_DOUBLE): Likewise.
14597 (enable_test): New function.
14598 (RUN_TEST_f_f): Check enable_test before running test.
14599 (RUN_TEST_2_f): Likewise.
14600 (RUN_TEST_fff_f): Likewise.
14601 (RUN_TEST_c_f): Likewise.
14602 (RUN_TEST_f_f1): Likewise.
14603 (RUN_TEST_fF_f1): Likewise.
14604 (RUN_TEST_fI_f1): Likewise.
14605 (RUN_TEST_ffI_f1): Likewise.
14606 (RUN_TEST_c_c): Likewise.
14607 (RUN_TEST_cc_c): Likewise.
14608 (RUN_TEST_f_i): Likewise.
14609 (RUN_TEST_f_i_tg): Likewise.
14610 (RUN_TEST_ff_i_tg): Likewise.
14611 (RUN_TEST_f_b): Likewise.
14612 (RUN_TEST_f_b_tg): Likewise.
14613 (RUN_TEST_f_l): Likewise.
14614 (RUN_TEST_f_L): Likewise.
14615 (RUN_TEST_fFF_11): Likewise.
14616 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14618 (cosh_test_data): Likewise.
14619 (exp_test_data): Likewise.
14620 (expm1_test_data): Likewise.
14621 (hypot_test_data): Likewise.
14622 (pow_test_data): Likewise.
14623 (sinh_test_data): Likewise.
14624 (tanh_test_data): Likewise.
14625 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14628 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14629 tests with quiet NaN input and output.
14630 (acosh_test_data): Likewise.
14631 (asin_test_data): Likewise.
14632 (asinh_test_data): Likewise.
14633 (atan_test_data): Likewise.
14634 (atanh_test_data): Likewise.
14635 (atan2_test_data): Likewise.
14636 (cbrt_test_data): Likewise.
14637 (cos_test_data): Likewise.
14638 (cosh_test_data): Likewise.
14639 (erf_test_data): Likewise.
14640 (erfc_test_data): Likewise.
14641 (exp_test_data): Likewise.
14642 (exp10_test_data): Likewise.
14643 (exp2_test_data): Likewise.
14644 (expm1_test_data): Likewise.
14645 (hypot_test_data): Likewise.
14646 (j0_test_data): Likewise.
14647 (j1_test_data): Likewise.
14648 (jn_test_data): Likewise.
14649 (lgamma_test_data): Likewise.
14650 (log_test_data): Likewise.
14651 (log10_test_data): Likewise.
14652 (log1p_test_data): Likewise.
14653 (log2_test_data): Likewise.
14654 (pow_test_data): Likewise.
14655 (scalb_test_data): Likewise.
14656 (sin_test_data): Likewise.
14657 (sincos_test_data): Likewise.
14658 (sinh_test_data): Likewise.
14659 (tan_test_data): Likewise.
14660 (tanh_test_data): Likewise.
14661 (tgamma_test_data): Likewise.
14662 (y0_test_data): Likewise.
14663 (y1_test_data): Likewise.
14664 (yn_test_data): Likewise.
14667 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14668 argument being NaN and avoid computations with second argument in
14670 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14671 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14674 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14676 * locale/iso-639.def: Add Chitwani Tharu (the).
14678 2013-11-14 Andreas Schwab <schwab@suse.de>
14680 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14681 word instead of empty string.
14683 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14686 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14688 (__fe_nomask_env): Likewise.
14690 2013-11-13 Steve Ellcey <sellcey@mips.com>
14692 * benchtests/bench-timing.h: Include time.h.
14694 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14697 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14699 * sysdeps/unix/sysv/linux/configure: Regenerated.
14701 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14704 * stdlib/strtod_l.c (round_and_return): Do not consider
14705 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14706 exponent one less than half the least subnormal exponent.
14707 * stdlib/test-strtod-round-data: Add more tests.
14708 * stdlib/tst-strtod-round.c (tests): Regenerated.
14710 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14713 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14714 (__fe_mask_env): Likewise.
14715 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14716 libm_hidden_proto and add function prototype.
14717 (__fe_mask_env): Add function prototype.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14719 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14721 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14723 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14725 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14727 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14728 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14730 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14732 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14733 of htab_find_slot().
14735 2013-11-11 David S. Miller <davem@davemloft.net>
14738 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14739 symbol in the non-vis3 case in static builds.
14740 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14741 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14742 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14743 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14745 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14748 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14751 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14753 * benchtests/Makefile: Add bench-strtod.
14754 * benchtests/bench-strtod.c: New file: strtod benchtest
14756 2013-11-11 Andreas Schwab <schwab@suse.de>
14759 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14760 terminating NUL in key length.
14762 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14764 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14765 Add artificial ODP entry for vDSO symbol for PPC64.
14766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14767 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14769 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14772 * nss/getent.c (services_keys): Recognize services starting with digit.
14774 2013-11-06 David S. Miller <davem@davemloft.net>
14777 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14778 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14780 2013-11-06 Will Newton <will.newton@linaro.org>
14782 * manual/memory.texi (Malloc Examples): Remove register
14783 keyword from examples.
14785 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14787 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14789 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14792 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14793 depending on [__GCC_IEC_559 > 0].
14794 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14795 depending on [__GCC_IEC_559_COMPLEX > 0].
14797 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14799 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14802 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14804 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14806 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14809 * malloc/malloc (malloc_info): Do not handle first bin as
14812 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14814 * locale/iso-639.def: Add Central Nahuatl (nhn).
14816 2013-11-01 Bruno Haible <bruno@clisp.org>
14819 * manual/math.texi (BSD Random): Specify range upper bound as
14822 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14824 * locale/iso-639.def: Add Meadow Mari (mhr).
14826 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14828 [BZ #14752], [BZ #15763]
14829 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14831 * rt/tst_shm.c: Add test for escaping directory.
14833 2013-10-31 Andreas Schwab <schwab@suse.de>
14836 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14837 followed by 'x' as part of digit sequence.
14838 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14840 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14843 * configure.ac: allow GNU Make 4.0 and greater.
14844 * configure: Regenerated.
14846 2013-10-30 Will Newton <will.newton@linaro.org>
14849 * malloc/hooks.c (memalign_check): Limit alignment to the
14850 maximum representable power of two.
14851 * malloc/malloc.c (__libc_memalign): Likewise.
14852 * malloc/tst-memalign.c (do_test): Add test for very
14853 large alignment values.
14854 * malloc/tst-posix_memalign.c (do_test): Likewise.
14856 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14859 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14860 (munmap_chunk): Likewise.
14861 (mremap_chunk): Likewise.
14863 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14866 * stdlib/div.c (div): Remove obsolete code.
14867 * stdlib/ldiv.c (ldiv): Likewise.
14868 * stdlib/lldiv.c (lldiv): Likewise.
14870 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14873 * nss/nss_files/files-XXX.c (get_contents_ret): New
14875 (get_contents): New function.
14876 (internal_getent): Use it. Expand size of LINEBUFLEN.
14878 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14880 * configure.in: Moved to ...
14881 * configure.ac: ... here. Change reference to configure.in
14883 * sysdeps/arm/preconfigure.ac: ... here.
14884 configure.in to configure.ac.
14885 * sysdeps/gnu/configure.in: Moved to ...
14886 * sysdeps/gnu/configure.ac: ... here.
14887 * sysdeps/i386/configure.in: Moved to ...
14888 * sysdeps/i386/configure.ac: ... here.
14889 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14890 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14891 * sysdeps/mach/configure.in: Moved to ...
14892 * sysdeps/mach/configure.ac: ... here.
14893 * sysdeps/mach/hurd/configure.in: Moved to ...
14894 * sysdeps/mach/hurd/configure.ac: ... here.
14895 * sysdeps/powerpc/configure.in: Moved to ...
14896 * sysdeps/powerpc/configure.ac: ... here.
14897 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14898 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14899 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14900 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14901 * sysdeps/s390/s390-32/configure.in: Moved to ...
14902 * sysdeps/s390/s390-32/configure.ac: ... here.
14903 * sysdeps/s390/s390-64/configure.in: Moved to ...
14904 * sysdeps/s390/s390-64/configure.ac: ... here.
14905 * sysdeps/sh/configure.in: Moved to ...
14906 * sysdeps/sh/configure.ac: ... here.
14907 * sysdeps/sparc/configure.in: Moved to ...
14908 * sysdeps/sparc/configure.ac: ... here.
14909 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14910 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14911 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14912 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14913 * sysdeps/x86_64/configure.in: Moved to ...
14914 * sysdeps/x86_64/configure.ac: ... here.
14915 * sysdeps/x86_64/preconfigure.in: Moved to ...
14916 * sysdeps/x86_64/preconfigure.ac: ... here.
14917 * aclocal.m4: Change reference to configure.in to configure.ac.
14918 * config.h.in: Likewise.
14919 * manual/install.texi: Likewise.
14920 * manual/maint.texi: Likewise.
14921 * Makefile: Likewise.
14922 * malloc/Makefile: Likewise.
14923 * nscd/Makefile: Likewise.
14924 * Makeconfig: Change reference to configure.in and
14925 preconfigure.in to configure.ac and preconfigure.ac
14927 * INSTALL: Regenerated.
14928 * configure: Likewise.
14929 * sysdeps/gnu/configure: Likewise.
14930 * sysdeps/i386/configure: Likewise.
14931 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14932 * sysdeps/mach/configure: Likewise.
14933 * sysdeps/mach/hurd/configure: Likewise.
14934 * sysdeps/powerpc/configure: Likewise.
14935 * sysdeps/powerpc/powerpc32/configure: Likewise.
14936 * sysdeps/powerpc/powerpc64/configure: Likewise.
14937 * sysdeps/s390/s390-32/configure: Likewise.
14938 * sysdeps/s390/s390-64/configure: Likewise.
14939 * sysdeps/sh/configure: Likewise.
14940 * sysdeps/sparc/configure: Likewise.
14941 * sysdeps/unix/sysv/linux/configure: Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14943 * sysdeps/x86_64/configure: Likewise.
14944 * sysdeps/x86_64/preconfigure: Likewise.
14946 2013-10-29 Andreas Schwab <schwab@suse.de>
14948 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14950 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14952 * benchtests/pow-inputs: Add new inputs.
14954 * benchtests/exp-inputs: Add new inputs.
14956 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14957 conditional check for return value.
14958 (__cos32): Likewise.
14960 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14962 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14963 to provide a boost for large inputs with word alignment.
14964 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14965 implementation based on optimized PPC64 strcpy.
14966 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14967 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14968 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14969 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14971 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14974 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14976 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14979 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14980 * time/tst-strptime.c (day_tests): Add testcase.
14982 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14985 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14987 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14990 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14991 MAP_FAILED on error.
14993 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14996 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14997 heap for large requests.
14999 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15002 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15003 result if the result has no associated interface.
15004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15005 interface for all 127.X.Y.Z addresses.
15007 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15009 * locale/iso-639.def: Add Ligurian (lij)
15011 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15014 * sunrpc/rpc_main.c: Document rpcgen -5.
15016 2013-10-19 Michael Stahl <mstahl@redhat.com>
15018 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15020 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15023 * posix/glob.c: Match only directories when trailing slash is present.
15024 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15025 (main): Add testcase.
15027 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15030 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15032 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15034 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15035 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15036 AUTH_DES and cindex for FIPS 140-2.
15037 (DES Encryption): Add cindex FIPS 46-3.
15039 * locale/locarchive.h (struct locarhandle): Add fname.
15040 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15041 if an optional argument was specified to --list-archive,
15043 * locale/programs/locarchive.c (show_archive_content): Take new
15044 argument fname and pass it via ah.fname to open_archive.
15045 * locale/programs/localedef.h: Update decl.
15046 (open_archive): If AH->fname is non-null, open that file
15047 rather than the default file name, and don't ignore ENOENT.
15048 (create_archive): Set AH.fname to NULL.
15049 (delete_locales_from_archive): Likewise.
15050 (add_locales_to_archive): Likewise.
15051 * locale/programs/locfile.c (write_all_categories): Likewise.
15053 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15054 Aldy Hernandez <aldyh@redhat.com>
15056 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15057 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15058 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15059 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15060 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15061 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15063 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15064 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15065 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15067 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15068 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15069 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15070 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15072 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15074 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15076 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15078 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15081 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15082 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15083 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15084 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15086 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15087 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15088 * sysdeps/powerpc/preconfigure: Likewise.
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15091 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15092 Replace contents of file by #include of <fenv_libc.h>.
15093 * sysdeps/powerpc/soft-fp/sfp-machine.h
15094 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15096 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15103 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15107 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15109 Allow copysignl PLT reference to be missing.
15111 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15112 Joseph Myers <joseph@codesourcery.com
15115 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15117 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15119 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15121 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15122 * elf/tst-tls1.c: Likewise.
15123 * elf/tst-tls10.h: Likewise.
15124 * elf/tst-tls14.c: Likewise.
15125 * elf/tst-tls2.c: Likewise.
15126 * elf/tst-tls3.c: Likewise.
15127 * elf/tst-tls4.c: Likewise.
15128 * elf/tst-tls5.c: Likewise.
15129 * elf/tst-tls6.c: Likewise.
15130 * elf/tst-tls7.c: Likewise.
15131 * elf/tst-tls8.c: Likewise.
15132 * elf/tst-tls9.c: Likewise.
15133 * elf/tst-tlsmod1.c: Likewise.
15134 * elf/tst-tlsmod13.c: Likewise.
15135 * elf/tst-tlsmod13a.c: Likewise.
15136 * elf/tst-tlsmod14a.c: Likewise.
15137 * elf/tst-tlsmod16a.c: Likewise.
15138 * elf/tst-tlsmod16b.c: Likewise.
15139 * elf/tst-tlsmod2.c: Likewise.
15140 * elf/tst-tlsmod3.c: Likewise.
15141 * elf/tst-tlsmod4.c: Likewise.
15142 * elf/tst-tlsmod5.c: Likewise.
15143 * elf/tst-tlsmod6.c: Likewise.
15145 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15148 * malloc/malloc.c: remove checks for statistics.
15150 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15153 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15154 * inet/tst-network.c: Add testcase.
15156 2013-10-17 Andreas Schwab <schwab@suse.de>
15159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15160 to determine canonical name.
15162 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15164 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15165 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15188 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15189 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15223 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15226 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15227 make result into a quiet NaN.
15229 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15231 * soft-fp/adddf3.c: Fix horizontal whitespace.
15232 * soft-fp/addsf3.c: Likewise.
15233 * soft-fp/addtf3.c: Likewise.
15234 * soft-fp/divdf3.c: Likewise.
15235 * soft-fp/divsf3.c: Likewise.
15236 * soft-fp/divtf3.c: Likewise.
15237 * soft-fp/double.h: Likewise.
15238 * soft-fp/eqdf2.c: Likewise.
15239 * soft-fp/eqsf2.c: Likewise.
15240 * soft-fp/eqtf2.c: Likewise.
15241 * soft-fp/extenddftf2.c: Likewise.
15242 * soft-fp/extended.h: Likewise.
15243 * soft-fp/extendsfdf2.c: Likewise.
15244 * soft-fp/extendsftf2.c: Likewise.
15245 * soft-fp/extendxftf2.c: Likewise.
15246 * soft-fp/fixdfdi.c: Likewise.
15247 * soft-fp/fixdfsi.c: Likewise.
15248 * soft-fp/fixdfti.c: Likewise.
15249 * soft-fp/fixsfdi.c: Likewise.
15250 * soft-fp/fixsfsi.c: Likewise.
15251 * soft-fp/fixsfti.c: Likewise.
15252 * soft-fp/fixtfdi.c: Likewise.
15253 * soft-fp/fixtfsi.c: Likewise.
15254 * soft-fp/fixtfti.c: Likewise.
15255 * soft-fp/fixunsdfdi.c: Likewise.
15256 * soft-fp/fixunsdfsi.c: Likewise.
15257 * soft-fp/fixunsdfti.c: Likewise.
15258 * soft-fp/fixunssfdi.c: Likewise.
15259 * soft-fp/fixunssfsi.c: Likewise.
15260 * soft-fp/fixunssfti.c: Likewise.
15261 * soft-fp/fixunstfdi.c: Likewise.
15262 * soft-fp/fixunstfsi.c: Likewise.
15263 * soft-fp/fixunstfti.c: Likewise.
15264 * soft-fp/floatdidf.c: Likewise.
15265 * soft-fp/floatdisf.c: Likewise.
15266 * soft-fp/floatditf.c: Likewise.
15267 * soft-fp/floatsidf.c: Likewise.
15268 * soft-fp/floatsisf.c: Likewise.
15269 * soft-fp/floatsitf.c: Likewise.
15270 * soft-fp/floattidf.c: Likewise.
15271 * soft-fp/floattisf.c: Likewise.
15272 * soft-fp/floattitf.c: Likewise.
15273 * soft-fp/floatundidf.c: Likewise.
15274 * soft-fp/floatundisf.c: Likewise.
15275 * soft-fp/floatunditf.c: Likewise.
15276 * soft-fp/floatunsidf.c: Likewise.
15277 * soft-fp/floatunsisf.c: Likewise.
15278 * soft-fp/floatunsitf.c: Likewise.
15279 * soft-fp/floatuntidf.c: Likewise.
15280 * soft-fp/floatuntisf.c: Likewise.
15281 * soft-fp/floatuntitf.c: Likewise.
15282 * soft-fp/fmadf4.c: Likewise.
15283 * soft-fp/fmasf4.c: Likewise.
15284 * soft-fp/fmatf4.c: Likewise.
15285 * soft-fp/gedf2.c: Likewise.
15286 * soft-fp/gesf2.c: Likewise.
15287 * soft-fp/getf2.c: Likewise.
15288 * soft-fp/ledf2.c: Likewise.
15289 * soft-fp/lesf2.c: Likewise.
15290 * soft-fp/letf2.c: Likewise.
15291 * soft-fp/muldf3.c: Likewise.
15292 * soft-fp/mulsf3.c: Likewise.
15293 * soft-fp/multf3.c: Likewise.
15294 * soft-fp/negdf2.c: Likewise.
15295 * soft-fp/negsf2.c: Likewise.
15296 * soft-fp/negtf2.c: Likewise.
15297 * soft-fp/op-1.h: Likewise.
15298 * soft-fp/op-2.h: Likewise.
15299 * soft-fp/op-4.h: Likewise.
15300 * soft-fp/op-8.h: Likewise.
15301 * soft-fp/op-common.h: Likewise.
15302 * soft-fp/quad.h: Likewise.
15303 * soft-fp/single.h: Likewise.
15304 * soft-fp/soft-fp.h: Likewise.
15305 * soft-fp/sqrtdf2.c: Likewise.
15306 * soft-fp/sqrtsf2.c: Likewise.
15307 * soft-fp/sqrttf2.c: Likewise.
15308 * soft-fp/subdf3.c: Likewise.
15309 * soft-fp/subsf3.c: Likewise.
15310 * soft-fp/subtf3.c: Likewise.
15311 * soft-fp/truncdfsf2.c: Likewise.
15312 * soft-fp/trunctfdf2.c: Likewise.
15313 * soft-fp/trunctfsf2.c: Likewise.
15314 * soft-fp/trunctfxf2.c: Likewise.
15315 * soft-fp/unorddf2.c: Likewise.
15316 * soft-fp/unordsf2.c: Likewise.
15317 * soft-fp/unordtf2.c: Likewise.
15319 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15321 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15322 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15324 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15326 * elf/dl-libc.c: Clear initfini list after freeing.
15328 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15330 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15331 * soft-fp/addsf3.c: Likewise.
15332 * soft-fp/addtf3.c: Likewise.
15333 * soft-fp/divdf3.c: Likewise.
15334 * soft-fp/divsf3.c: Likewise.
15335 * soft-fp/divtf3.c: Likewise.
15336 * soft-fp/double.h: Likewise.
15337 * soft-fp/eqdf2.c: Likewise.
15338 * soft-fp/eqsf2.c: Likewise.
15339 * soft-fp/eqtf2.c: Likewise.
15340 * soft-fp/extenddftf2.c: Likewise.
15341 * soft-fp/extended.h: Likewise.
15342 * soft-fp/extendsfdf2.c: Likewise.
15343 * soft-fp/extendsftf2.c: Likewise.
15344 * soft-fp/extendxftf2.c: Likewise.
15345 * soft-fp/fixdfdi.c: Likewise.
15346 * soft-fp/fixdfsi.c: Likewise.
15347 * soft-fp/fixdfti.c: Likewise.
15348 * soft-fp/fixsfdi.c: Likewise.
15349 * soft-fp/fixsfsi.c: Likewise.
15350 * soft-fp/fixsfti.c: Likewise.
15351 * soft-fp/fixtfdi.c: Likewise.
15352 * soft-fp/fixtfsi.c: Likewise.
15353 * soft-fp/fixtfti.c: Likewise.
15354 * soft-fp/fixunsdfdi.c: Likewise.
15355 * soft-fp/fixunsdfsi.c: Likewise.
15356 * soft-fp/fixunsdfti.c: Likewise.
15357 * soft-fp/fixunssfdi.c: Likewise.
15358 * soft-fp/fixunssfsi.c: Likewise.
15359 * soft-fp/fixunssfti.c: Likewise.
15360 * soft-fp/fixunstfdi.c: Likewise.
15361 * soft-fp/fixunstfsi.c: Likewise.
15362 * soft-fp/fixunstfti.c: Likewise.
15363 * soft-fp/floatdidf.c: Likewise.
15364 * soft-fp/floatdisf.c: Likewise.
15365 * soft-fp/floatditf.c: Likewise.
15366 * soft-fp/floatsidf.c: Likewise.
15367 * soft-fp/floatsisf.c: Likewise.
15368 * soft-fp/floatsitf.c: Likewise.
15369 * soft-fp/floattidf.c: Likewise.
15370 * soft-fp/floattisf.c: Likewise.
15371 * soft-fp/floattitf.c: Likewise.
15372 * soft-fp/floatundidf.c: Likewise.
15373 * soft-fp/floatundisf.c: Likewise.
15374 * soft-fp/floatunsidf.c: Likewise.
15375 * soft-fp/floatunsisf.c: Likewise.
15376 * soft-fp/floatuntidf.c: Likewise.
15377 * soft-fp/floatuntisf.c: Likewise.
15378 * soft-fp/floatuntitf.c: Likewise.
15379 * soft-fp/fmadf4.c: Likewise.
15380 * soft-fp/fmasf4.c: Likewise.
15381 * soft-fp/fmatf4.c: Likewise.
15382 * soft-fp/gedf2.c: Likewise.
15383 * soft-fp/gesf2.c: Likewise.
15384 * soft-fp/getf2.c: Likewise.
15385 * soft-fp/ledf2.c: Likewise.
15386 * soft-fp/lesf2.c: Likewise.
15387 * soft-fp/letf2.c: Likewise.
15388 * soft-fp/muldf3.c: Likewise.
15389 * soft-fp/mulsf3.c: Likewise.
15390 * soft-fp/multf3.c: Likewise.
15391 * soft-fp/negdf2.c: Likewise.
15392 * soft-fp/negsf2.c: Likewise.
15393 * soft-fp/negtf2.c: Likewise.
15394 * soft-fp/op-1.h: Likewise.
15395 * soft-fp/op-2.h: Likewise.
15396 * soft-fp/op-4.h: Likewise.
15397 * soft-fp/op-8.h: Likewise.
15398 * soft-fp/op-common.h: Likewise.
15399 * soft-fp/quad.h: Likewise.
15400 * soft-fp/single.h: Likewise.
15401 * soft-fp/soft-fp.h: Likewise.
15402 * soft-fp/sqrtdf2.c: Likewise.
15403 * soft-fp/sqrtsf2.c: Likewise.
15404 * soft-fp/sqrttf2.c: Likewise.
15405 * soft-fp/subdf3.c: Likewise.
15406 * soft-fp/subsf3.c: Likewise.
15407 * soft-fp/subtf3.c: Likewise.
15408 * soft-fp/truncdfsf2.c: Likewise.
15409 * soft-fp/trunctfdf2.c: Likewise.
15410 * soft-fp/trunctfsf2.c: Likewise.
15411 * soft-fp/trunctfxf2.c: Likewise.
15412 * soft-fp/unorddf2.c: Likewise.
15413 * soft-fp/unordsf2.c: Likewise.
15414 * soft-fp/unordtf2.c: Likewise.
15416 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15419 * misc/error.c (error_tail): Fix possible buffer overflow.
15421 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15424 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15427 2013-10-14 P. J. McDermott <pj@pehjota.net>
15430 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15431 testing pipefail option.
15433 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15435 * soft-fp/double.h: Indent preprocessor directives inside #if.
15436 * soft-fp/extended.h: Likewise.
15437 * soft-fp/op-2.h: Likewise.
15438 * soft-fp/op-4.h: Likewise.
15439 * soft-fp/op-common.h: Likewise.
15440 * soft-fp/quad.h: Likewise.
15441 * soft-fp/single.h: Likewise.
15442 * soft-fp/soft-fp.h: Likewise.
15444 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15446 * iconv/iconv_prog.c: Fix typos.
15447 * stdio-common/psiginfo-data.h: Likewise.
15449 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15452 * locale/setlocale.c: Fix typo.
15454 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15457 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15458 signaling NaN arguments.
15459 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15460 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15463 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15464 unordered operands.
15465 * soft-fp/gesf2.c (__gesf2): Likewise.
15466 * soft-fp/getf2.c (__getf2): Likewise.
15467 * soft-fp/ledf2.c (__ledf2): Likewise.
15468 * soft-fp/lesf2.c (__lesf2): Likewise.
15469 * soft-fp/letf2.c (__letf2): Likewise.
15471 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15472 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15473 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15474 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15475 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15476 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15477 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15478 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15479 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15480 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15481 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15482 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15483 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15484 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15485 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15486 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15487 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15488 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15489 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15490 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15491 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15492 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15493 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15494 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15495 * soft-fp/floattidf.c (__floattidf): Likewise.
15496 * soft-fp/floattisf.c (__floattisf): Likewise.
15497 * soft-fp/floattitf.c (__floattitf): Likewise.
15498 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15499 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15500 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15501 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15502 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15503 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15504 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15505 * soft-fp/gesf2.c (__gesf2): Likewise.
15506 * soft-fp/getf2.c (__getf2): Likewise.
15507 * soft-fp/ledf2.c (__ledf2): Likewise.
15508 * soft-fp/lesf2.c (__lesf2): Likewise.
15509 * soft-fp/letf2.c (__letf2): Likewise.
15511 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15512 Undefine and redefine.
15513 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15514 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15515 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15516 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15517 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15518 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15519 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15520 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15521 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15522 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15523 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15524 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15525 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15526 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15527 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15530 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15531 without decrementing exponent if mantissa >= that for the
15532 denominator, not >.
15533 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15534 denominator, not >. Decrement exponent in < case instead of
15535 incrementing in >= case.
15536 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15537 without decrementing exponent if mantissa >= that for the
15538 denominator, not >.
15540 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15541 computing saturated result for unsigned overflow.
15543 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15544 Jeff Law <law@redhat.com>
15546 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15547 (atan2Mp): Add systemtap probe marker.
15548 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15549 (__ieee754_log): Add systemtap probe marker.
15550 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15551 (atanMp): Add systemtap probe marker.
15552 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15553 (tanMp): Add systemtap probe marker.
15554 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15555 (__slowexp): Add systemtap probe marker.
15556 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15557 (__slowpow): Add systemtap probe marker.
15558 * manual/probes.texi: Document probes.
15560 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15563 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15565 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15567 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15568 written to buffer but not flushed.
15569 * libio/iofwrite_u.c: Likewise.
15570 * libio/iopadn.c: Return bytes returned even if EOF was
15572 * libio/iowpadn.c: Likewise.
15573 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15574 if _IO_padn does not write the whole buffer.
15575 [!COMPILE_WPRINTF] (PAD): Likewise.
15577 2013-10-10 David S. Miller <davem@davemloft.net>
15579 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15582 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15584 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15585 instead of FSF address.
15586 * soft-fp/fixdfti.c: Likewise.
15587 * soft-fp/fixsfti.c: Likewise.
15588 * soft-fp/fixtfti.c: Likewise.
15589 * soft-fp/fixunsdfti.c: Likewise.
15590 * soft-fp/fixunssfti.c: Likewise.
15591 * soft-fp/fixunstfti.c: Likewise.
15592 * soft-fp/floattidf.c: Likewise.
15593 * soft-fp/floattisf.c: Likewise.
15594 * soft-fp/floattitf.c: Likewise.
15595 * soft-fp/floatuntidf.c: Likewise.
15596 * soft-fp/floatuntisf.c: Likewise.
15597 * soft-fp/floatuntitf.c: Likewise.
15598 * soft-fp/trunctfxf2.c: Likewise.
15600 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15601 * soft-fp/fixdfti.c: Likewise.
15602 * soft-fp/fixsfti.c: Likewise.
15603 * soft-fp/fixtfti.c: Likewise.
15604 * soft-fp/fixunsdfti.c: Likewise.
15605 * soft-fp/fixunssfti.c: Likewise.
15606 * soft-fp/fixunstfti.c: Likewise.
15607 * soft-fp/floattidf.c: Likewise.
15608 * soft-fp/floattisf.c: Likewise.
15609 * soft-fp/floattitf.c: Likewise.
15610 * soft-fp/floatuntidf.c: Likewise.
15611 * soft-fp/floatuntisf.c: Likewise.
15612 * soft-fp/floatuntitf.c: Likewise.
15613 * soft-fp/trunctfxf2.c: Likewise.
15615 2013-10-10 David S. Miller <davem@davemloft.net>
15617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15619 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15622 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15623 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15630 for NaNs before doing comparisons on argument.
15631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15634 2013-10-10 Will Newton <will.newton@linaro.org>
15636 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15637 passed to _int_memalign does not overflow.
15639 2013-10-10 Torvald Riegel <triegel@redhat.com>
15641 * scripts/bench.pl: Add include-sources directive.
15642 * benchtests/README: Update documentation.
15644 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15646 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15647 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15648 instead of FP_INIT_ROUNDMODE.
15649 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15650 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15653 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15654 copy class of input value.
15655 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15656 not handle exceptions.
15657 * soft-fp/negsf2.c (__negsf2): Likewise.
15658 * soft-fp/negtf2.c (__negtf2): Likewise.
15659 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15661 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15663 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15664 semicolon. From Linux kernel.
15666 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15668 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15670 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15673 * manual/socket.texi: Added statement about buffer
15674 for gethostbyname2_r.
15676 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15678 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15679 Use .p2align directive instead, throughout.
15680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15681 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15682 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15683 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15685 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15686 * sysdeps/x86_64/strchr.S: Likewise.
15687 * sysdeps/x86_64/strrchr.S: Likewise.
15689 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15691 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15693 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15695 * sysdeps/generic/math_private.h (__mpsin1): Remove
15697 (__mpcos1): Likewise.
15698 (__mpsin): New argument __range_reduce.
15699 (__mpcos): Likewise.
15700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15701 (slow): Use __mpsin and __mpcos.
15705 (sloww1): Likewise.
15706 (sloww2): Likewise.
15707 (bsloww): Likewise.
15708 (bsloww1): Likewise.
15709 (bsloww2): Likewise.
15710 (cslow2): Likewise.
15711 (csloww): Likewise.
15712 (csloww1): Likewise.
15713 (csloww2): Likewise.
15714 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15715 range_reduce. Merge in __mpsin1.
15716 (__mpcos): Likewise.
15717 (__mpsin1): Remove.
15718 (__mpcos1): Likewise.
15720 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15722 * locale/loadlocale.c (_nl_intern_locale_data): Use
15724 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15725 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15726 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15727 obstack data is appropriately aligned.
15728 (obstack_int32_grow_fast): Likewise.
15729 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15730 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15731 (add_locale_uint32_array): Likewise.
15733 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15735 * benchtests/Makefile: Remove ARGLIST and RET variables.
15736 ($(objpfx)bench-%.c): Pass only function name to the script.
15737 * benchtests/README: Update documentation.
15738 * benchtests/acos-inputs: Add new directives.
15739 * benchtests/acosh-inputs: Likewise.
15740 * benchtests/asin-inputs: Likewise.
15741 * benchtests/asinh-inputs: Likewise.
15742 * benchtests/atan-inputs: Likewise.
15743 * benchtests/atanh-inputs: Likewise.
15744 * benchtests/cos-inputs: Likewise.
15745 * benchtests/cosh-inputs: Likewise.
15746 * benchtests/exp-inputs: Likewise.
15747 * benchtests/log-inputs: Likewise.
15748 * benchtests/pow-inputs: Likewise.
15749 * benchtests/rint-inputs: Likewise.
15750 * benchtests/sin-inputs: Likewise.
15751 * benchtests/sinh-inputs: Likewise.
15752 * benchtests/tan-inputs: Likewise.
15753 * benchtests/tanh-inputs: Likewise.
15754 * scripts/bench.pl: Add support for new directives.
15756 2013-10-07 Alan Modra <amodra@gmail.com>
15758 * README: Fix careless merge.
15760 2013-10-05 Alan Modra <amodra@gmail.com>
15762 * NEWS: Mention powerpc64le support and bugs fixed.
15763 * README: Both big-endian and little-endian powerpc64 supported.
15765 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15767 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15768 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15769 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15770 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15772 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15774 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15777 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15779 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15780 Move -mhard-float appending from
15781 ports/sysdeps/powerpc/powerpc32/Makefile.
15782 [$(with-fp) = yes] (ASFLAGS): Likewise.
15783 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15784 * sysdeps/powerpc/nofpu: Move directory from
15785 ports/sysdeps/powerpc/nofpu.
15786 * sysdeps/powerpc/soft-fp: Move directory from
15787 ports/sysdeps/powerpc/soft-fp.
15788 * sysdeps/powerpc/powerpc32/405: Move directory from
15789 ports/sysdeps/powerpc/powerpc32/405.
15790 * sysdeps/powerpc/powerpc32/440: Move directory from
15791 ports/sysdeps/powerpc/powerpc32/440.
15792 * sysdeps/powerpc/powerpc32/464: Move directory from
15793 ports/sysdeps/powerpc/powerpc32/464.
15794 * sysdeps/powerpc/powerpc32/476: Move directory from
15795 ports/sysdeps/powerpc/powerpc32/476.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15797 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15799 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15801 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15803 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15805 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15806 * README: Update for powerpc-*-linux-gnu software floating point
15809 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15810 case to powerpc/powerpc32*.
15811 * sysdeps/unix/sysv/linux/configure: Regenerated.
15813 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15814 (_FPU_MASK_OM): Define as 0x04.
15815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15823 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15826 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15829 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15830 and setcontext_e500.
15832 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15834 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15836 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 * manual/threads.texi (Default Thread Attributes): Fix typo.
15840 2013-10-04 Will Newton <will.newton@linaro.org>
15842 * malloc/Makefile: Add tst-memalign.
15843 * malloc/tst-memalign.c: New file.
15845 * malloc/tst-posix_memalign.c: Add comments.
15846 (do_test): Add comments and call free on all potentially
15847 allocated pointers. Add space after cast.
15849 * malloc/tst-pvalloc.c: Add comments.
15850 (do_test): Add comments and call free on all potentially
15851 allocated pointers. Remove duplicate check for NULL pointer.
15852 Add space after cast.
15854 * malloc/tst-valloc.c: Add comments.
15855 (do_test): Add comments and call free on all potentially
15856 allocated pointers. Remove duplicate check for NULL pointer.
15857 Add space after cast.
15859 2013-10-04 Alan Modra <amodra@gmail.com>
15861 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15862 Use stdint types in rather than __attribute__((mode())).
15863 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15865 2013-10-04 Alan Modra <amodra@gmail.com>
15867 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15868 Correct handling of unaligned relocs for little-endian.
15869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15871 2013-10-04 Alan Modra <amodra@gmail.com>
15873 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15874 * configure: Regenerate.
15875 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15876 * shlib-versions: Likewise.
15878 2013-10-04 Alan Modra <amodra@gmail.com>
15880 * string/tester.c (test_memrchr): Increment reported test cycle.
15882 2013-10-04 Alan Modra <amodra@gmail.com>
15884 * string/test-memcpy.c (do_one_test): When reporting errors, print
15885 string address and don't overrun end of string.
15887 2013-10-04 Alan Modra <amodra@gmail.com>
15889 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15890 insrdi. Make better use of reg selection to speed exit slightly.
15891 Schedule entry path a little better. Remove useless "are we done"
15892 checks on entry to main loop. Handle wrapping around zero address.
15893 Correct main loop count. Handle single left-over word from main
15894 loop inline rather than by using loop_small. Remove extra word
15895 case in loop_small caused by wrong loop count. Add little-endian
15897 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15898 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15900 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15901 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15902 support. Avoid rlwimi.
15903 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15905 2013-10-04 Alan Modra <amodra@gmail.com>
15907 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15908 insrdi. Formatting.
15909 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15910 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15911 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15912 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15913 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15914 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15916 2013-10-04 Alan Modra <amodra@gmail.com>
15918 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15920 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15922 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15923 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15924 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15925 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15926 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15927 use of regs. Use power7 mtocrf. Tidy function tails.
15929 2013-10-04 Alan Modra <amodra@gmail.com>
15931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15932 Formatting. Consistently use rXXX register defines or rN defines.
15933 Use early exit labels that avoid restoring unused non-volatile regs.
15934 Make cr field use more consistent with rWORDn compares. Rename
15935 regs used as shift registers for unaligned loop, using rN defines
15936 for short lifetime/multiple use regs.
15937 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15939 addi 1,1,64 to pop stack frame. Simplify return value code.
15940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15942 2013-10-04 Alan Modra <amodra@gmail.com>
15944 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15945 support. Correct typos, formatting. Optimize tail. Use insrdi
15946 rather than rlwimi.
15947 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15948 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15949 little-endian support. Correct typos.
15950 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15951 rather than rlwimi.
15952 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15953 in loop and entry code to keep "and." results.
15954 (strchr): Add little-endian support. Comment. Move cntlzd
15956 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15958 2013-10-04 Alan Modra <amodra@gmail.com>
15960 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15961 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15962 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15963 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15965 2013-10-04 Alan Modra <amodra@gmail.com>
15967 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15968 (rTMP): Define as r11.
15969 (strcmp): Add little-endian support. Optimise tail.
15970 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15971 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15972 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15973 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15974 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15978 2013-10-04 Alan Modra <amodra@gmail.com>
15980 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15981 little-endian support. Remove unnecessary "are we done" tests.
15982 Handle "s" wrapping around zero and extremely large "size".
15983 Correct main loop count. Handle single left-over word from main
15984 loop inline rather than by using small_loop. Correct comments.
15985 Delete "zero" tail, use "end_max" instead.
15986 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15988 2013-10-04 Alan Modra <amodra@gmail.com>
15990 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15991 support. Don't branch over align.
15992 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15993 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15994 support. Rearrange tmp reg use to suit. Comment.
15995 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15997 2013-10-04 Alan Modra <amodra@gmail.com>
15999 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16001 2013-10-04 Alan Modra <amodra@gmail.com>
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16004 conditional form of branch and link when obtaining pc.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16007 2013-10-04 Alan Modra <amodra@gmail.com>
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16014 2013-10-04 Alan Modra <amodra@gmail.com>
16016 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16017 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16018 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16023 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16025 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16027 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16028 Alistair Popple <alistair@ozlabs.au.ibm.com>
16029 Alan Modra <amodra@gmail.com>
16032 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16034 _dl_hwcap access for little-endian.
16035 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16036 destroy vmx regs when saving unaligned.
16037 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16038 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16039 destroy vmx regs when saving unaligned.
16041 2013-10-04 Alan Modra <amodra@gmail.com>
16043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16044 Don't use a union to pack hi/low value.
16046 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16048 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16050 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16056 2013-10-04 Alan Modra <amodra@gmail.com>
16058 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16059 constants to usual value for .cst8 section, and remove redundant
16061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16062 constant for 0x1p52. Load little-endian words of double from
16063 correct stack offsets.
16065 2013-10-04 Alan Modra <amodra@gmail.com>
16067 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16068 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16069 words of double from correct stack offsets.
16070 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16071 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16077 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16078 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16079 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16083 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16084 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16085 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16086 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16088 2013-10-04 Alan Modra <amodra@gmail.com>
16090 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16091 64-bit int/double union.
16092 (_FPU_SETCW): Likewise.
16093 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16094 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16096 2013-10-04 Alan Modra <amodra@gmail.com>
16098 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16099 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16101 2013-10-04 Alan Modra <amodra@gmail.com>
16103 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16104 use vector int constants.
16105 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16107 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16109 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16110 array with long long.
16111 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16112 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16113 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16114 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16115 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16116 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16117 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16118 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16119 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16120 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16121 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16122 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16123 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16125 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16127 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16128 (__signbit): Likewise. Correct for little-endian.
16129 (__signbitl): Call __signbit.
16130 (lrint): Correct for little-endian.
16131 (lrintf): Call lrint.
16133 2013-10-04 Alan Modra <amodra@gmail.com>
16135 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16136 union 32-bit int array member with 64-bit int array.
16137 (t515, tm256): Double rather than long double.
16138 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16140 2013-10-04 Alan Modra <amodra@gmail.com>
16142 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16144 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16146 version of math_ldbl.h.
16148 2013-10-04 Alan Modra <amodra@gmail.com>
16150 [BZ #15734], [BZ #15735]
16151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16152 all uses of ieee875 long double macros and unions. Simplify test
16153 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16154 ldbl_extract_mantissa value for ix,iy exponents. Properly
16155 normalize after ldbl_extract_mantissa, and don't add hidden bit
16156 already handled. Don't treat low word of ieee854 mantissa like
16157 low word of IBM long double and mask off bit when testing for
16159 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16160 all uses of ieee875 long double macros and unions. Simplify tests
16161 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16162 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16163 two1022, instead use their values. Recognise that tests for large
16164 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16165 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16166 Rewrite all uses of ieee875 long double macros and unions. Simplify
16167 test for 0.0L and nan. Correct negation.
16168 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16169 ieee875 long double macros and unions. Correct output for large
16170 magnitude x. Correct absolute value calculation.
16171 (__erfcl): Likewise.
16172 * math/libm-test.inc: Add tests for errors discovered in IBM long
16173 double versions of fmodl, remainderl, erfl and erfcl.
16175 2013-10-04 Alan Modra <amodra@gmail.com>
16177 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16178 all uses of ieee854 long double macros and unions. Simplify tests
16179 for long doubles that are fully specified by the high double.
16180 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16182 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16183 Remove dead code too.
16184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16185 (__ieee754_ynl): Likewise.
16186 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16187 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16189 Remove dead code too.
16190 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16191 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16195 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16197 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16199 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16200 Comment on variable precision.
16201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16204 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16208 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16210 2013-10-04 Alan Modra <amodra@gmail.com>
16212 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16214 all uses of ieee854 long double macros and unions.
16215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16228 Simplify sign and nan test too.
16229 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16230 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16232 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16234 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16237 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16238 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16240 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16241 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16242 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16244 2013-10-04 Alan Modra <amodra@gmail.com>
16246 * stdio-common/printf_size.c (__printf_size): Don't use
16247 union ieee854_long_double in fpnum union.
16248 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16249 signbit macro to retrieve sign from long double.
16250 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16251 retrieve sign from long double.
16252 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16253 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16254 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16255 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16256 * math/test-misc.c (main): Don't use union ieee854_long_double.
16258 2013-10-04 Alan Modra <amodra@gmail.com>
16261 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16262 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16263 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16264 calculation. Remove unnecessary test for denormal exponent.
16265 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16266 Correct handling of denormals. Avoid undefined shift behaviour.
16267 Correct normalisation of low mantissa when low double is denormal.
16268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16269 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16270 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16271 Correct normalisation of low mantissa. Test for overflow of high
16272 mantissa and normalise.
16273 (ldbl_nearbyint): Use more readable constant for two52.
16274 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16275 (__mpn_construct_long_double): Fix test for overflow of high
16276 mantissa and correct normalisation. Avoid undefined shift.
16278 2013-10-04 Alan Modra <amodra@gmail.com>
16280 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16281 (union ibm_extended_long_double): Define as an array of ieee754_double.
16282 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16283 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16284 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16285 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16294 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16296 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16297 page size instead of calling getpagesize.
16299 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16300 (LOCFILE_ALIGN_MASK): Likewise.
16301 (LOCFILE_ALIGN_UP): Likewise.
16302 (LOCFILE_ALIGNED_P): Likewise.
16303 * locale/programs/ld-collate.c (collate_output): Use the new
16304 macros instead of __alignof__ (int32_t).
16305 * locale/weight.h (findidx): Likewise.
16307 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16310 * manual/string.texi: Fix strncat and wcsncat.
16312 2013-10-03 Brooks Moses <bmoses@google.com>
16315 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16316 * Makerules: ...here, and adjust associated comments.
16318 2013-10-02 Will Newton <will.newton@linaro.org>
16320 * malloc/Makefile: Add tst-pvalloc.
16321 * malloc/tst-pvalloc.c: New file.
16323 2013-10-02 Will Newton <will.newton@linaro.org>
16325 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16326 improve test coverage.
16328 2013-10-02 Will Newton <will.newton@linaro.org>
16330 * malloc/Makefile: Add tst-posix_memalign.
16331 * malloc/tst-posix_memalign.c: New file.
16333 2013-10-01 Eric Blake <eblake@redhat.com>
16335 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16336 Use __THROWNL rather than __THROW on static functions.
16338 2013-09-30 Petr Machata <pmachata@redhat.com>
16340 * elf/elf.h (R_AARCH64_ABS16): New macro.
16341 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16342 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16343 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16344 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16345 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16346 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16347 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16348 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16349 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16350 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16351 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16352 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16353 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16354 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16355 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16356 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16357 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16358 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16359 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16360 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16361 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16362 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16363 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16364 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16365 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16366 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16367 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16368 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16369 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16370 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16371 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16372 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16373 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16374 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16375 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16376 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16377 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16378 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16379 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16380 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16381 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16382 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16383 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16384 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16385 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16386 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16387 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16388 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16389 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16390 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16391 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16392 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16393 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16394 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16395 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16396 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16397 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16398 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16399 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16400 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16401 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16402 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16403 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16404 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16405 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16406 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16407 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16408 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16409 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16410 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16411 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16412 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16413 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16414 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16415 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16416 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16417 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16418 (R_AARCH64_TLSDESC_LDR): Likewise.
16419 (R_AARCH64_TLSDESC_ADD): Likewise.
16420 (R_AARCH64_TLSDESC_CALL): Likewise.
16422 2013-09-30 Andreas Schwab <schwab@suse.de>
16425 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16426 the nss database lookup.
16427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16430 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16432 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16434 2013-09-28 P. J. McDermott <pj@pehjota.net>
16436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16437 ${Bash-specific parameter/pattern/string} parameter expansion.
16438 * sysdeps/unix/make-syscalls.sh: Likewise.
16440 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16442 * sysdeps/sh/stackguard-macros.h: New file.
16444 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16448 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16450 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16451 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16453 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16455 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16456 Fix thread ID register.
16458 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16460 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16461 [POSIX || UNIX98]: Require rather than permitting all symbols from
16463 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16464 element of struct sched_param.
16465 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16466 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16467 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16468 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16471 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16473 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16474 argument calculation.
16476 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16478 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16480 [POSIX] (pthread_attr_t): Do not require type.
16481 [POSIX] (pthread_cond_t): Likewise.
16482 [POSIX] (pthread_condattr_t): Likewise.
16483 [POSIX] (pthread_key_t): Likewise.
16484 [POSIX] (pthread_mutex_t): Likewise.
16485 [POSIX] (pthread_mutexattr_t): Likewise.
16486 [POSIX] (pthread_once_t): Likewise.
16487 [POSIX] (pthread_t): Likewise.
16488 [POSIX-based standards] (pthread_atfork): Expect function.
16490 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16491 Richard Sandiford <richard@codesourcery.com>
16493 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16494 (swap_endianness_p): New extern variable.
16495 (set_big_endian): New inline function.
16496 (maybe_swap_uint32): Likewise.
16497 (maybe_swap_uint32_array): Likewise.
16498 (maybe_swap_uint32_obstack): Likewise.
16499 * locale/programs/locfile.c: Include <stdbool.h>.
16500 (swap_endianness_p): New variable.
16501 (add_locale_uint32): Call maybe_swap_uint32.
16502 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16503 (write_locale_data): Call maybe_swap_uint32_array.
16504 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16506 (obstack_int32_grow_fast): Likewise.
16507 (output_weightwc): Call maybe_swap_uint32_obstack.
16508 (collate_output): Likewise.
16509 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16510 (OPT_LITTLE_ENDIAN): Likewise.
16511 (options): Add --little-endian and --big-endian options.
16512 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16513 * locale/programs/locarchive.c: Include "locfile.h".
16517 (create_archive): Use the new macros to access fields of
16518 structures directly mapped from or written to locale archives.
16519 (oldlocrecentcmp): Likewise.
16520 (enlarge_archive): Likewise.
16521 (insert_name): Likewise.
16522 (add_alias): Likewise.
16523 (add_locale): Likewise.
16524 (delete_locales_from_archive): Likewise.
16525 (show_archive_content): Likewise.
16526 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16529 2013-09-24 Roland McGrath <roland@hack.frob.com>
16531 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16532 http://www.gnu.org/doc/freemanuals.texi.
16533 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16535 2013-09-24 Will Newton <will.newton@linaro.org>
16537 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16540 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16542 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16545 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16547 * manual/threads.texi (POSIX Threads): Fix a typo.
16549 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16552 * string/tst-strcoll-overflow.c: New test case.
16553 * string/Makefile (xtests): Add tst-strcoll-overflow.
16554 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16555 cache if string sizes may cause integer overflow.
16558 * string/strcoll_l.c (coll_seq): New members rule, idx,
16559 save_idx and back_us.
16560 (get_next_seq_nocache): New function.
16561 (do_compare_nocache): New function.
16562 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16565 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16568 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16569 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16570 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16573 * elf/Makefile (tests): Add tst-ptrguard1.
16574 (tests-static): Add tst-ptrguard1-static.
16575 (tst-ptrguard1-ARGS): Define.
16576 (tst-ptrguard1-static-ARGS): Define.
16577 * elf/tst-ptrguard1.c: New file.
16578 * elf/tst-ptrguard1-static.c: New file.
16579 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16580 * sysdeps/i386/stackguard-macros.h: Likewise.
16581 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16582 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16583 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16584 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16585 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16586 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16588 2013-09-23 Hector Marco <hecmargi@upv.es>
16589 Ismael Ripoll <iripoll@disca.upv.es>
16590 Carlos O'Donell <carlos@redhat.com>
16593 * sysdeps/generic/stackguard-macros.h: Define
16594 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16595 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16596 Define __pointer_chk_guard_local.
16597 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16598 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16600 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16603 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16605 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16607 * include/string.h (__ffs): Declare as hidden.
16608 * string/ffs.c (__ffs): Define as hidden.
16609 * sysdeps/i386/ffs.c (__ffs): Likewise.
16610 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16611 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16612 * sysdeps/s390/ffs.c (__ffs): Likewise.
16613 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16615 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16617 * NEWS: Mention malloc probes.
16619 * malloc/arena.c (new_heap): New memory_heap_new probe.
16620 (grow_heap): New memory_heap_more probe.
16621 (shrink_heap): New memory_heap_less probe.
16622 (heap_trim): New memory_heap_free probe.
16623 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16624 (systrim): New memory_sbrk_less probe.
16625 * manual/probes.texi: Document them.
16627 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16628 * manual/probes.texi: Document it.
16630 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16631 (__libc_realloc): Add memory_realloc_retry probe.
16632 (__libc_memalign): Add memory_memalign_retry probe.
16633 (__libc_valloc): Add memory_valloc_retry probe.
16634 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16635 (__libc_calloc): Add memory_calloc_retry probe.
16636 * manual/probes.texi: Document them.
16638 * malloc/arena.c (get_free_list): Add probe
16639 memory_arena_reuse_free_list.
16640 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16641 and memory_arena_reuse.
16642 (arena_get2) [!PER_THREAD]: Likewise.
16643 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16644 memory_arena_reuse_realloc.
16645 * manual/probes.texi: Document them.
16647 * malloc/malloc.c (__libc_free): Add
16648 memory_mallopt_free_dyn_thresholds probe.
16649 (__libc_mallopt): Add multiple memory_mallopt probes.
16650 * manual/probes.texi: Document them.
16652 * malloc/malloc.c: Include stap-probe.h.
16653 (__libc_mallopt): Add memory_mallopt probe.
16654 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16655 * manual/probes.texi: New.
16656 * manual/Makefile (chapters): Add probes.
16657 * manual/threads.texi: Set next node.
16659 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16661 [BZ #15963, #13985]
16662 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16663 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16664 Add `Chinese' to `nan' entry name.
16666 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16668 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16669 (POLYNOMIAL): Likewise.
16670 (TAYLOR_SINCOS): Likewise.
16671 (TAYLOR_SLOW): Likewise.
16672 (__sin): Use TAYLOR_SINCOS.
16674 (slow): Use TAYLOR_SLOW.
16676 (bsloww): Likewise.
16677 (csloww): Likewise.
16679 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16681 * stdlib/strtod_l.c: Fix buffer overrun.
16683 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16685 * benchtests/Makefile (bench): Add sincos.
16686 * benchtests/bench-sincos.c: New file.
16688 * math/libm-test.inc (cos_test_data): New test inputs.
16689 (sin_test_data): Likewise.
16691 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16697 (sloww1): Likewise.
16698 (sloww2): Likewise.
16699 (bsloww1): Likewise.
16700 (bsloww2): Likewise.
16701 (cslow2): Likewise.
16702 (csloww1): Likewise.
16703 (csloww2): Likewise.
16705 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16714 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16716 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16717 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16718 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16719 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16720 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16721 * elf/cache.c (print_entry): Handle the new cache flags.
16723 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16724 Aldy Hernandez <aldyh@redhat.com>
16726 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16727 Change condition to [_SOFT_FLOAT].
16728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16740 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16743 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16746 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16748 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16749 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16750 (__longjmp): Use LOAD_GP to load saved GPRs.
16751 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16752 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16753 (__sigsetjmp): Use SAVE_GP to save GPRs.
16755 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16756 Do not append -msoft-float.
16757 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16759 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16761 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16763 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16766 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16767 (_FPU_GETCW): Use initial "__" on variable and field names but not
16768 on macro parameter name.
16769 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16770 parentheses around reference to macro parameter.
16772 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16774 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16776 (ctype_startup): Use uint32_t in cast and sizeof for
16779 2013-09-11 Jia Liu <proljc@gmail.com>
16781 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16783 [__FreeBSD__]: Likewise.
16785 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16788 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16789 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16790 (strchr): Remove __strchr_sse42 ifunc selection.
16791 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16792 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16794 2013-09-11 Will Newton <will.newton@linaro.org>
16796 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16797 parameter to RES. Remove hardcoded 1000 value.
16798 * benchtests/bench-skeleton.c (main): Pass RES parameter
16799 to TIMING_INIT and multiply result by 1000.
16801 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16805 2013-09-11 Andreas Schwab <schwab@suse.de>
16807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16809 (O_TMPFILE) [__USE_GNU]: Define.
16810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16813 2013-09-11 Will Newton <will.newton@linaro.org>
16816 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16819 2013-09-11 Will Newton <will.newton@linaro.org>
16822 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16825 2013-09-11 Will Newton <will.newton@linaro.org>
16828 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16831 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16833 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16834 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16839 2013-09-10 Allan McRae <allan@archlinux.org>
16842 * manual/arith.texi (Parsing of Floats): Clarify
16846 * manual/install.texi (Running make install): Mention
16848 * INSTALL: Regenerated.
16850 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16852 * csu/init-first.c (_init): Remove the !SHARED condition around
16853 FPU control word initialization.
16854 * elf/dl-support.c (_dl_fpu_control): New variable.
16855 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16856 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16857 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16858 * math/test-fpucw-static.c: New file.
16859 * math/test-fpucw-ieee.c: New file.
16860 * math/test-fpucw-ieee-static.c: New file.
16861 * math/Makefile (tests): Add `test-fpucw-ieee' and
16863 (tests-static): New variable.
16864 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16866 [($(build-shared),yes)]
16867 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16869 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16872 2013-09-09 Allan McRae <allan@archlinux.org>
16875 * manual/string.texi (Collation Functions): Fix typo in
16877 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16880 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16883 * libio/memstream.c (open_memstream): Fix memory leak.
16884 * libio/wmemstream.c (open_wmemstream): Likewise.
16887 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16889 2013-09-09 Will Newton <will.newton@linaro.org>
16891 * malloc/Makefile: Add tst-realloc to tests.
16892 * malloc/tst-realloc.c: New file.
16894 2013-09-09 Allan McRae <allan@archlinux.org>
16897 * COPYING: Update from GNU website to fix FSF address.
16898 * COPYING.LIB: Likewise.
16900 2013-09-06 David S. Miller <davem@davemloft.net>
16902 * po/zh_TW.po: Update Chinese (traditional) translation from
16903 translation project.
16905 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16906 Joseph Myers <joseph@codesourcery.com>
16908 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16910 (obstack_chunk_alloc): New macro.
16911 (obstack_chunk_free): Likewise.
16912 (record_offset): New function.
16913 (init_locale_data): Likewise.
16914 (align_locale_data): Likewise.
16915 (add_locale_empty): Likewise.
16916 (add_locale_raw_data): Likewise.
16917 (add_locale_raw_obstack): Likewise.
16918 (add_locale_string): Likewise.
16919 (add_locale_wstring): Likewise.
16920 (add_locale_uint32): Likewise.
16921 (add_locale_uint32_array): Likewise.
16922 (add_locale_char): Likewise.
16923 (start_locale_structure): Likewise.
16924 (end_locale_structure): Likewise.
16925 (start_locale_prelude): Likewise.
16926 (end_locale_prelude): Likewise.
16927 (write_locale_data): Take locale_file structure rather than an
16929 * locale/programs/locfile.h: Include "obstack.h".
16930 (struct locale_file): Change to store locale file contents instead
16932 (init_locale_data): New prototype.
16933 (align_locale_data): Likewise.
16934 (add_locale_empty): Likewise.
16935 (add_locale_raw_data): Likewise.
16936 (add_locale_raw_obstack): Likewise.
16937 (add_locale_string): Likewise.
16938 (add_locale_wstring): Likewise.
16939 (add_locale_uint32): Likewise.
16940 (add_locale_uint32_array): Likewise.
16941 (add_locale_char): Likewise.
16942 (start_locale_structure): Likewise.
16943 (end_locale_structure): Likewise.
16944 (start_locale_prelude): Likewise.
16945 (end_locale_prelude): Likewise.
16946 (write_locale_data): Update prototype.
16947 * locale/programs/3level.h (struct TABLE): Remove result field.
16948 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16949 Use new locale_file interface.
16950 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16951 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16952 * locale/programs/ld-address.c (address_output): Use new
16953 locale_file interface.
16954 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16956 (collate_finish): Don't call collseq_table_finalize.
16957 (collate_output): Use new locale_file interface.
16958 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16960 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16961 (TABLE): Move defines earlier in file.
16962 (ELEMENT): Likewise.
16963 (DEFAULT): Likewise.
16964 (wctrans_table_add): Move macro and inline function earlier in
16966 (struct wctype_table): Move type earlier in file.
16967 (add_locale_wctype_table): New static prototype.
16968 (struct locale_ctype_t): Use logical types instead of struct iovec
16969 pointers for members.
16970 (ctype_output): Use new locale_file interface.
16971 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16972 new locale_file interface.
16973 (allocate_arrays): Update for use of new locale_file interface.
16974 * locale/programs/ld-identification.c (identification_output): Use
16975 new locale_file interface.
16976 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16977 * locale/programs/ld-messages.c (messages_output): Likewise.
16978 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16979 * locale/programs/ld-name.c (name_output): Likewise.
16980 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16981 * locale/programs/ld-paper.c (paper_output): Likewise.
16982 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16983 * locale/programs/ld-time.c (time_output): Likewise.
16985 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16987 * benchtests/Makefile: Add memrchr benchmark.
16988 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16989 benchmark as memrchr.
16990 * benchtests/bench-memrchr-ifunc.c: New file.
16991 * benchtests/bench-memrchr.c: New file.
16993 2013-09-06 Will Newton <will.newton@linaro.org>
16995 * benchtests/Makefile (string-bench): Add memcpy.
16997 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16998 Cong Wang <amwang@redhat.com>
17001 * sysdeps/unix/sysv/linux/bits/in.h
17002 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17003 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17004 before __USE_KERNEL_IPV6_DEFS uses.
17005 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17007 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17008 sockaddr_in6, or ipv6_mreq.
17010 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17013 memory access for final bytes in some large inputs.
17014 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17016 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17018 * string/test-memrchr.c: New file.
17019 * string/test-memrchr-ifunc.c: New file.
17020 * string/Makefile: Add new memrchr testcase.
17022 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17024 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17025 fanotify_init returns EPERM.
17027 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17029 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17031 (top level): Treat second token from macro or constant entries for
17032 allowed headers as allowed.
17033 * include/complex.h: Condition internal declarations on
17035 * include/fenv.h: Condition include of <stdbool.h> and internal
17036 declarations on [!_ISOMAC].
17038 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17041 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17043 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17045 * configure.in (--enable-versioning): Remove configure option.
17046 (libc_cv_asm_symver_directive): Remove configure test.
17047 (libc_cv_ld_version_script_option): Likewise.
17048 (VERSIONING): Remove variable and AC_SUBST.
17049 (DO_VERSIONING): Remove AC_DEFINE.
17050 * configure: Regenerated.
17051 * config.h.in (DO_VERSIONING): Remove macro.
17052 * Makerules [$(versioning) = yes]: Change conditionals to
17053 [$(build-shared) = yes].
17054 * config.make.in (versioning): Remove variable.
17055 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17056 [$(build-shared) = yes].
17057 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17058 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17059 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17060 [$(build-shared) = yes].
17061 * extra-lib.mk [$(versioning) = yes]: Likewise.
17062 * hurd/Makefile [$(versioning) = yes]: Likewise.
17063 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17065 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17067 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17068 [SHARED && !NO_HIDDEN].
17069 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17071 [SHARED && DO_VERSIONING]: Likewise..
17072 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17073 [$(build-shared) = yes].
17074 * manual/install.texi (--disable-versioning): Remove
17076 * INSTALL: Regenerated.
17077 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17079 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17080 [$(build-shared) = yes].
17081 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17082 * sysdeps/i386/i686/multiarch/strstr-c.c
17083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17084 [SHARED && !NO_HIDDEN].
17085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17086 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17087 * sysdeps/powerpc/powerpc32/dl-machine.c
17088 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17089 * sysdeps/powerpc/powerpc32/sysdep.h
17090 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17091 to [SHARED && PIC && !NO_HIDDEN].
17092 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17093 conditional to [SHARED].
17095 2013-09-04 Will Newton <will.newton@linaro.org>
17097 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17098 * benchtests/bench-string.h: Include bench-timing.h instead
17099 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17100 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17101 call to HP_TIMING_DIFF_INIT.
17102 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17103 instead of hp-timing.h macros.
17104 * benchtests/bench-memchr.c: Likewise.
17105 * benchtests/bench-memcmp.c: Likewise.
17106 * benchtests/bench-memcpy.c: Likewise.
17107 * benchtests/bench-memmem.c: Likewise.
17108 * benchtests/bench-memmove.c: Likewise.
17109 * benchtests/bench-memset.c: Likewise.
17110 * benchtests/bench-rawmemchr.c: Likewise.
17111 * benchtests/bench-strcasecmp.c: Likewise.
17112 * benchtests/bench-strcasestr.c: Likewise.
17113 * benchtests/bench-strcat.c: Likewise.
17114 * benchtests/bench-strchr.c: Likewise.
17115 * benchtests/bench-strcmp.c: Likewise.
17116 * benchtests/bench-strcpy.c: Likewise.
17117 * benchtests/bench-strcpy_chk.c: Likewise.
17118 * benchtests/bench-strlen.c: Likewise.
17119 * benchtests/bench-strncasecmp.c: Likewise.
17120 * benchtests/bench-strncat.c: Likewise.
17121 * benchtests/bench-strncmp.c: Likewise.
17122 * benchtests/bench-strncpy.c: Likewise.
17123 * benchtests/bench-strnlen.c: Likewise.
17124 * benchtests/bench-strpbrk.c: Likewise.
17125 * benchtests/bench-strrchr.c: Likewise.
17126 * benchtests/bench-strspn.c: Likewise.
17127 * benchtests/bench-strstr.c: Likewise.
17129 2013-09-04 Will Newton <will.newton@linaro.org>
17131 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17133 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17137 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17138 * math/libm-test.inc (lgamma_test_data): Add more tests.
17139 * sysdeps/i386/fpu/libm-test-ulps: Update.
17140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17142 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17144 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17148 Add strcmp-sse2-unaligned
17149 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17151 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17153 * Versions.def (libc): Add GLIBC_2.19.
17155 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17157 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17158 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17160 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17163 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17164 intermediate calculations in recurrence.
17165 (__ieee754_ynf): Likewise.
17166 * math/libm-test.inc (jn_test_data): Do not allow spurious
17167 underflow exception. Add more tests.
17168 (yn_test_data): Add more tests.
17169 * sysdeps/i386/fpu/libm-test-ulps: Update.
17170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17172 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17176 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17178 * csu/init-first.c: Fix then/than typos.
17179 * locale/programs/ld-collate.c: Likewise.
17180 * locale/programs/linereader.h: Likewise.
17181 * manual/charset.texi: Likewise.
17182 * manual/filesys.texi: Likewise.
17183 * manual/stdio.texi: Likewise.
17184 * manual/string.texi: Likewise.
17185 * stdlib/fmtmsg.c: Likewise.
17186 * sysdeps/i386/stpncpy.S: Likewise.
17187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17188 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17189 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17190 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17192 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17194 * elf/dl-open.c: Fix typos.
17195 * iconvdata/gbbig5.c: Likewise.
17196 * iconvdata/iso-2022-jp.c: Likewise.
17197 * iconv/gconv_int.h: Likewise.
17198 * iconv/loop.c: Likewise.
17199 * nis/rpcsvc/nis.h: Likewise.
17200 * resolv/ns_name.c: Likewise.
17201 * stdio-common/vfscanf.c: Likewise.
17202 * streams/stropts.h: Likewise.
17203 * sunrpc/rpc_thread.c: Likewise.
17204 * sysdeps/i386/strpbrk.S: Likewise.
17205 * sysdeps/ieee754/k_standard.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17208 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17209 * sysdeps/mach/hurd/profil.c: Likewise.
17210 * sysdeps/s390/dl-procinfo.h: Likewise.
17211 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17212 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17213 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17214 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17217 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17219 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17222 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17224 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17225 aix specific files.
17226 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17227 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17228 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17229 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17230 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17231 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17232 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17233 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17235 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17236 Roland McGrath <roland@hack.frob.com>
17238 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17239 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17241 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17243 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17244 __executable_start symbol instead of _start.
17246 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17248 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17249 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17251 * sysdeps/gnu/ldsodefs.h: ... this new file.
17253 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17254 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17255 instead of ELFOSABI_LINUX.
17257 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17258 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17259 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17260 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17262 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17263 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17266 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17267 (ibm_extended_long_double): Add ieee_nan member.
17268 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17269 (do_test): New function.
17271 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17273 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17274 functions, renamed from truncdfsf_test, trunctfsf_test,
17276 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17278 (do_test): Run all these.
17280 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17282 * argp/argp-help.c: Fix typos.
17283 * argp/argp-parse.c: Likewise.
17284 * debug/backtracesyms.c: Likewise.
17285 * elf/elf.h: Likewise.
17286 * malloc/malloc.c: Likewise.
17287 * nis/nis_print.c: Likewise.
17288 * resolv/res_comp.c: Likewise.
17289 * stdlib/stdlib.h: Likewise.
17290 * sunrpc/clnt_tcp.c: Likewise.
17291 * sunrpc/clnt_udp.c: Likewise.
17292 * sunrpc/clnt_unix.c: Likewise.
17293 * sysdeps/unix/bsd/ptsname.c: Likewise.
17294 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17295 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17302 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17304 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17306 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17309 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17312 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17313 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17314 ($(objpfx)bug-dl-leaf): New rule.
17315 ($(objpfx)bug-dl-leaf.so): Likewise.
17316 ($(objpfx)bug-dl-leaf.out): Likewise.
17317 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17318 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17319 * dlfcn/bug-dl-leaf.c: New test.
17320 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17321 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17322 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17323 (dlclose): Likewise.
17324 (dlmopen): Likewise.
17326 2013-08-27 Roland McGrath <roland@hack.frob.com>
17328 * include/netdb.h [!_ISOMAC]:
17329 Don't include <tls.h>.
17330 (h_errno, __libc_h_errno): Move declaration and macros out of
17333 * include/resolv.h [_RESOLV_H_]:
17334 Don't include <tls.h>.
17335 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17336 * resolv/res_libc.c: Don't include <tls.h>.
17337 (_res): Use __attribute__ ((nocommon)) in place of
17338 __attribute__ ((section (".bss"))).
17340 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17341 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17343 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17345 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17346 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17348 * resolv/res_mkquery.c: Include <sys/time.h>.
17350 * inet/ifreq.c: Moved to ...
17351 * sysdeps/unix/ifreq.c: ... here.
17352 * inet/ifreq.c: New file, true stub version.
17354 * socket/sa_len.c: New file.
17355 * socket/Makefile (aux): Add it.
17356 * sysdeps/unix/sysv/linux/Makefile
17357 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17358 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17359 and #include <socket/sa_len.c>.
17360 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17361 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17364 * bits/socket.h: ... here.
17366 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17367 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17368 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17370 2013-08-27 Andreas Schwab <schwab@suse.de>
17373 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17374 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17375 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17376 * string/test-strcasecmp.c (test_main): Run tests in several
17378 * string/test-strncasecmp.c (test_main): Likewise.
17380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17381 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17382 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17384 (__strncasecmp_ssse3) [PIC]: Likewise.
17386 2013-08-26 Roland McGrath <roland@hack.frob.com>
17388 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17390 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17391 instead of explicitly declaring xdecrypt.
17392 * nis/nss_nis/nis-publickey.c: Likewise.
17394 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17397 * nscd/aicache.c: Include res_hconf.h.
17398 (addhstaiX): Initialize res_hconf.
17400 2013-08-26 Andreas Schwab <schwab@suse.de>
17402 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17403 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17405 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17407 * nscd/aicache.c (addhstaiX): Fix indentation.
17409 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17411 * configure.ac: Quote $build_pt_chown test.
17412 * configure: Regenerated.
17414 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17417 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17418 * math/s_cexpf.c (__cexpf): Likewise.
17419 * math/s_cexpl.c (__cexpl): Likewise.
17420 * math/libm-test.inc (cexp_test_data): Correct expected return
17421 value for NaN + i0. Add another test.
17423 2013-08-22 David S. Miller <davem@davemloft.net>
17425 * po/ca.po: Update Catalan translation from translation project.
17426 * po/uk.po: Add Ukrainian translations from translation project.
17428 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17431 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17432 is infinite, not alongside NaN test.
17433 * math/s_fdimf.c (__fdimf): Likewise.
17434 * math/s_fdiml.c (__fdiml): Likewise.
17435 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17436 errno is unchanged.
17438 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17440 * argp/argp-help.c: Fix typos.
17441 * crypt/speeds.c: Likewise.
17442 * csu/check_fds.c: Likewise.
17443 * elf/dl-load.c: Likewise.
17444 * elf/dl-open.c: Likewise.
17445 * elf/reldep3.c: Likewise.
17446 * elf/reldep.c: Likewise.
17447 * elf/sprof.c: Likewise.
17448 * iconv/iconv_charmap.c: Likewise.
17449 * iconv/skeleton.c: Likewise.
17450 * iconv/strtab.c: Likewise.
17451 * io/lockf64.c: Likewise.
17452 * libio/libioP.h: Likewise.
17453 * resolv/gai_notify.c: Likewise.
17454 * resolv/ns_name.c: Likewise.
17455 * resolv/ns_samedomain.c: Likewise.
17456 * resolv/res_send.c: Likewise.
17457 * stdlib/random.c: Likewise.
17458 * sunrpc/rpc/xdr.h: Likewise.
17459 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17461 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17462 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17463 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17467 * sysdeps/mach/hurd/check_fds.c: Likewise.
17468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17469 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17472 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17473 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17474 * sysdeps/pthread/aio_notify.c: Likewise.
17475 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17476 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17477 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17479 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17481 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17483 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17484 version if bit_Slow_SSE4_2 is set.
17485 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17488 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17492 trampoline stack frame information.
17493 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17494 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17495 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17496 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17497 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17498 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17499 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17500 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17502 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17503 interrupting a syscall and set with option SA_SIGINFO.
17505 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17508 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17509 argument is infinite.
17510 * math/s_cprojf.c (__cprojf): Likewise.
17511 * math/s_cprojl.c (__cprojl): Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17513 * math/libm-test.inc (cproj_test_data): Add more tests.
17515 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17517 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17518 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17519 size. Use __ffs to determine corresponding shift.
17521 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17522 Roland McGrath <roland@hack.frob.com>
17524 * Makefile (INSTALL): Remove trailing blank lines from output of
17527 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17529 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17530 Align 32 bit compat elf_greg to 8 bytes.
17532 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17534 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17536 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17538 * string/strcoll_l.c (coll_seq): New structure.
17539 (get_next_seq_cached): New function.
17540 (get_next_seq): New function.
17541 (do_compare): New function.
17542 (STRCOLL): Use GNU style definition. Simplify implementation
17543 by using get_next_seq, get_next_seq_cached and do_compare.
17545 2013-08-16 Florian Weimer <fweimer@redhat.com>
17549 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17551 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17553 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17554 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17555 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17557 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17558 GETDENTS_64BIT_ALIGNED.
17559 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17560 * manual/filesys.texi (Reading/Closing Directory): Document
17561 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17563 * manual/conf.texi (Limits for Files): Add portability note to
17564 NAME_MAX, PATH_MAX.
17565 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17567 2013-08-13 Andreas Schwab <schwab@suse.de>
17570 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17572 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17573 LDBL_MAX_EXP >= 16384]: Add tests for it.
17575 2013-08-12 David S. Miller <davem@davemloft.net>
17577 * version.h (RELEASE): Set to "development".
17578 (VERSION): Set to "2.18.90".
17579 * NEWS: Add 2.19 section.
17581 2013-08-03 David S. Miller <davem@davemloft.net>
17583 * po/ko.po: Update Korean translation from translation project.
17585 2013-08-01 David S. Miller <davem@davemloft.net>
17587 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17588 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17591 2013-07-30 David S. Miller <davem@davemloft.net>
17593 * po/fr.po: Update French translation from translation project.
17595 2013-07-28 David S. Miller <davem@davemloft.net>
17597 * po/cs.po: Update Czech translation from translation project.
17599 * po/sv.po: Update Swedish translation from translation project.
17601 2013-07-27 David S. Miller <davem@davemloft.net>
17603 * po/eo.po: Update Esperanto translation from translation project.
17605 * po/vi.po: Update Vietnamese translation from translation project.
17607 * po/de.po: Update German translation from translation project.
17609 2013-07-26 David S. Miller <davem@davemloft.net>
17611 * po/bg.po: Update Bulgarian translation from translation project.
17613 * po/nl.po: Update Dutch translation from translation project.
17614 * po/pl.po: Update Polish translation from translation project.
17615 * po/ru.po: Update Russian translation from translation project.
17617 2013-07-24 David S. Miller <davem@davemloft.net>
17619 * po/libc.pot: Update.
17621 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17623 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17624 variable page size.
17625 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17626 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17627 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17629 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17631 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17633 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17634 Andreas Schwab <schwab@suse.de>
17635 Roland McGrath <roland@hack.frob.com>
17636 Joseph Myers <joseph@codesourcery.com>
17637 Carlos O'Donell <carlos@redhat.com>
17640 * config.h.in: Define HAVE_PT_CHOWN.
17641 * config.make.in (build-pt-chown): New variable.
17642 * configure.in (--enable-pt_chown): New configure option.
17643 * configure: Regenerate.
17644 * login/Makefile: Include Makeconfig. Build pt_chown only if
17645 build-pt-chown is enabled.
17646 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17647 pt_chown to fix pty ownership.
17648 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17650 * manual/install.texi (Configuring and compiling): Mention
17651 --enable-pt_chown. Add @findex for grantpt.
17652 * INSTALL: Regenerate.
17654 2013-07-20 David S. Miller <davem@davemloft.net>
17656 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17657 difference between 32-bit and 64-bit.
17659 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17662 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17663 Avoid system header dependency with -ffreestanding.
17664 ($(objpfx)bits/syscall%d): Likewise.
17666 2013-07-13 David S. Miller <davem@davemloft.net>
17668 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17669 underflows from atanl/atan2l due to bug 15319.
17670 (casinh_test_data): Likewise.
17672 2013-07-07 David S. Miller <davem@davemloft.net>
17674 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17676 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17681 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17683 * configure.in (--enable-lock-elision): Fix message text.
17684 * INSTALL: Regenerate.
17685 * configure: Regenerate.
17687 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17691 2013-07-03 Andreas Jaeger <aj@suse.de>
17693 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17695 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17696 (ptrace_peeksiginfo_args): Add.
17697 (__ptrace_peeksiginfo_flags): Add.
17698 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17700 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17702 2013-07-03 Allan McRae <allan@archlinux.org>
17704 * sysdeps/i386/fpu/libm-test-ulps: Update.
17706 2013-07-02 David S. Miller <davem@davemloft.net>
17708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17710 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17714 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17716 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17719 2013-07-02 Andi Kleen <ak@linux.intel.com>
17721 * config.h.in (ENABLE_LOCK_ELISION): Add.
17722 * configure.in (--enable-lock-elision): Add option.
17723 * manual/install.texi: Document --enable lock elision.
17724 * configure: Regenerate
17725 * INSTALL: Regenerate.
17727 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17729 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17730 SSE4.2 strcasecmp for libc.a.
17731 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17733 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17736 * soft-fp/op-common.h (_FP_FMA): New macro.
17737 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17738 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17739 (_FP_MUL_MEAT_1_imm): ... here.
17740 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17741 (_FP_MUL_MEAT_1_wide): ... here.
17742 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17743 (_FP_MUL_MEAT_1_hard): ... here.
17744 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17745 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17746 (_FP_MUL_MEAT_2_wide): ... here.
17747 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17748 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17749 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17750 (_FP_MUL_MEAT_2_gmp): ... here.
17751 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17752 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17753 (_FP_MUL_MEAT_4_wide): ... here.
17754 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17755 (_FP_MUL_MEAT_4_gmp): ... here.
17756 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17757 (_FP_WFRACBITS_DW_S): Likewise.
17758 (_FP_WFRACXBITS_DW_S): Likewise.
17759 (_FP_HIGHBIT_DW_S): Likewise.
17760 (FP_FMA_S): Likewise.
17761 (_FP_FRAC_HIGH_DW_S): Likewise.
17762 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17763 (_FP_WFRACBITS_DW_D): Likewise.
17764 (_FP_WFRACXBITS_DW_D): Likewise.
17765 (_FP_HIGHBIT_DW_D): Likewise.
17766 (FP_FMA_D): Likewise.
17767 (_FP_FRAC_HIGH_DW_D): Likewise.
17768 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17769 (_FP_WFRACBITS_DW_E): Likewise.
17770 (_FP_WFRACXBITS_DW_E): Likewise.
17771 (_FP_HIGHBIT_DW_E): Likewise.
17772 (FP_FMA_E): Likewise.
17773 (_FP_FRAC_HIGH_DW_E): Likewise.
17774 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17775 (_FP_WFRACBITS_DW_Q): Likewise.
17776 (_FP_WFRACXBITS_DW_Q): Likewise.
17777 (_FP_HIGHBIT_DW_Q): Likewise.
17778 (FP_FMA_Q): Likewise.
17779 (_FP_FRAC_HIGH_DW_Q): Likewise.
17780 * soft-fp/fmasf4.c: New file.
17781 * soft-fp/fmadf4.c: Likewise.
17782 * soft-fp/fmatf4.c: Likewise.
17784 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17787 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17791 (index_Slow_SSE4_2): Likewise.
17792 (index_Prefer_PMINUB_for_stringop): Likewise.
17793 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17794 bit_Slow_SSE4_2 is set.
17795 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17796 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17798 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17800 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17801 rtld_global._dl_hwcap2.
17802 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17804 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17805 POWER8 feature descriptions defined in _dl_hwcap2.
17806 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17807 string handling for POWER8 feature bits.
17808 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17809 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17810 _dl_powerpc_cap_flags.
17811 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17812 * sysdeps/powerpc/rtld-global-offsets.sym
17813 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17814 _dl_hwcap2 in the rtld_global_ro structure.
17816 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17818 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17819 hardware capabilities in support of AT_HWCAP2.
17820 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17821 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17823 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17824 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17825 explicitly the unknown a_type display mechanism is used.
17826 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17827 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17829 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17830 to macro prototype for AT_HWCAP2 support.
17831 * sysdeps/i386/dl-procinfo.h: Likewise.
17832 * sysdeps/s390/dl-procinfo.h: Likewise.
17833 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17834 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17835 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17836 return -1 for unknown a_type display fallback.
17837 * sysdeps/sparc/dl-procinfo.h: Likewise.
17838 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17839 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17841 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17843 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17844 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17846 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17849 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17850 mprotect making __stack_prot writable.
17852 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17853 Joseph Myers <joseph@codesourcery.com>
17855 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17856 as being properly aligned.
17858 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17860 * dlfcn/modstatic5.c: New file.
17861 * dlfcn/tststatic5.c: New file.
17862 * dlfcn/Makefile (tests): Add tststatic5.
17863 (tests-static): Likewise.
17864 (modules-names): Add modstatic5.
17865 (tststatic5-ENV): New variable.
17866 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17869 * elf/dl-support.c (_dl_main_map): New variable.
17870 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17871 (_dl_nns, _dl_load_adds): Set to 1.
17872 (_dl_initial_searchlist): Refer to _dl_main_map.
17873 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17874 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17875 call to _dl_get_origin.
17876 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17878 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17879 * dlfcn/modstatic3.c: New file.
17880 * dlfcn/tststatic3.c: New file.
17881 * dlfcn/tststatic4.c: New file.
17882 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17883 (tests-static): Likewise.
17884 (modules-names): Add modstatic3.
17885 (tststatic3-ENV, tststatic4-ENV): New variables.
17886 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17887 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17889 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17891 * configure.in (CC): Require GCC version 4.4 or later.
17892 * configure: Regenerated.
17893 * manual/install.texi (Tools for Compilation): Update GCC version
17895 * INSTALL: Regenerated.
17897 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17900 * string/test-memcmp.c (check2): New.
17901 (main): Call check2.
17903 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17905 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17908 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17910 (dl_open_worker) [!SHARED]: ... here.
17912 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17914 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17916 2013-06-25 Richard Henderson <rth@redhat.com>
17918 * locale/programs/locarchive.c: Include <libc-internal.h>
17920 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17922 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17923 trailing whitespace removed.
17925 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17928 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17929 * locale/programs/locarchive.c: Include libc-mmap.h.
17930 (prepare_address_space): Take two new outputs (the mmap base and len).
17931 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17933 (create_archive): Declare new mmap base and len values for
17934 prepare_address_space, and store the result in ah.
17935 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17936 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17937 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17938 Declare new mmap base and len values for
17939 prepare_address_space, and store the result in new_ah.
17940 (open_archive): Declare new mmap base and len values for
17941 prepare_address_space, and store the result in ah.
17942 (close_archive): If ah->mmap_base is not NULL, use that and
17943 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17944 * sysdeps/generic/libc-mmap.h: New file.
17946 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17948 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17949 (ALIGN_UP): Likewise.
17950 (PTR_ALIGN_DOWN): Likewise.
17951 (PTR_ALIGN_UP): Likewise.
17953 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17956 entry mapped to PPC_PLATFORM_POWER8.
17957 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17959 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17960 (_dl_string_platform): Add case for exporting platform position for
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17963 search path to sysdeps/powerpc/powerpc32/power8 directory.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17965 search path to sysdeps/powerpc/powerpc64/power8 directory.
17966 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17967 power7 directories.
17968 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17969 power7 directories.
17971 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17973 * INSTALL: Regenerate.
17975 * nscd/connections.c (nscd_init): Fix comment.
17977 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17979 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17982 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17983 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17985 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17987 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17989 (DL_DST_REQ_STATIC): Remove macro.
17991 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17994 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17995 with a shift of 0 bits.
17997 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17999 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18002 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18005 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18007 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18009 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18010 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18011 accepts -fno-tree-loop-distribute-patterns.
18012 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18013 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18015 * string/memset.c (memset): Likewise.
18016 * string/test-memmove.c (simple_memmove): Disable loop transformation
18018 * string/test-memset.c (simple_memset): Likewise.
18019 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18020 * benchtests/bench-memset.c (simple_memset): Likewise.
18021 * configure: Regenerated.
18023 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18025 * math/test-misc.c (main): Ignore fesetround failure when failures
18026 of subsequent rounding tests would be ignored.
18029 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18030 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18031 * math/fegetenv.c (__fegetenv): Return 0.
18032 * math/fegetexcept.c (fegetexcept): Return 0.
18033 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18035 * math/feholdexcpt.c (feholdexcept): Return 0.
18036 * math/fesetenv.c (__fesetenv): Return 0.
18037 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18038 argument FE_TONEAREST.
18039 * math/feupdateenv.c (__feupdateenv): Return 0.
18040 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18042 2013-06-18 Roland McGrath <roland@hack.frob.com>
18044 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18045 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18046 ($(objpfx)rtld-%.os rules): Use them.
18048 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18050 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18053 2013-06-17 Roland McGrath <roland@hack.frob.com>
18055 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18056 length of target pattern, then descending length of dependency pattern.
18057 * configure.in (AWK): Require gawk 3.1.2 or newer.
18058 * manual/install.texi (Tools for Compilation): Say that we do.
18059 * configure: Regenerated.
18061 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18062 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18063 * scripts/sysd-rules.awk: ... this new script.
18064 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18065 than a glob-style pattern.
18067 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18069 * math/test-misc.c (main): Do not treat incorrectly rounded
18070 conversions as failure unless ROUNDING_TESTS passes.
18072 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18075 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18076 restore exception state around main square root computation, then
18077 check for inexactness explicitly.
18079 * math/libm-test.inc (fma_test_data): Add another test.
18081 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18083 * manual/threads.texi (Non-POSIX Extensions): New document
18084 node. Document pthread_getattr_default_np and
18085 pthread_setattr_default_np.
18087 * Versions.def (libpthread): Add GLIBC_2.18.
18088 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18108 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18111 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18113 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18114 H.J. Lu <hjl.tools@gmail.com>
18117 * sysdeps/x86_64/rtld-memset.c: Remove file.
18118 * sysdeps/x86_64/rtld-memset.S: New file.
18120 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18122 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18123 (test_in_one_mode): Take arguments for whether the rounding mode
18124 is supported for each floating-point type.
18125 (do_test): Pass new arguments to test_in_one_mode using
18128 2013-06-13 Roland McGrath <roland@hack.frob.com>
18130 * posix/tst-waitid.c (do_test): Distinguish different instances of
18131 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18132 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18133 before entering the kernel for waitpid.
18135 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18137 * NEWS: Fix note on clock function precision. Text by Roland
18140 2013-06-13 Roland McGrath <roland@hack.frob.com>
18142 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18143 it into place only when and if the sanity check passes.
18145 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18147 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18148 output for whether conversion result is exact. Take argument
18149 indicating whether type is IBM long double.
18150 (round_for_all): Change need_exact field to ibm_ld.
18151 * stdlib/tst-strtod-round.c (struct exactness): New type.
18152 (struct test): Change bool ld_ok field to struct exactness exact.
18153 (TEST): Update all definitions for change to field.
18154 (tests): Regenerate array contents.
18155 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18156 field value. Check for IBM long double here.
18157 (do_test): Update calls to test_in_one_mode.
18159 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18162 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18163 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18165 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18168 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18169 generated by the compiler on loop optimizations.
18170 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18171 general definitions.
18173 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18175 * math/bug-nextafter.c: Include <math-tests.h>.
18176 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18178 * math/bug-nexttoward.c: Include <math-tests.h>.
18179 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18181 * math/test-misc.c: Include <math-tests.h>.
18182 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18185 2013-06-12 Andreas Jaeger <aj@suse.de>
18187 * po/ia.po: Update Interlingua translation from translation
18190 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18192 * include/fenv.h: Include stdbool.h.
18193 (struct rm_ctx): New structure.
18194 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18196 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18197 (SET_RESTORE_ROUNDF): Likewise.
18198 (SET_RESTORE_ROUNDL): Likewise.
18199 (SET_RESTORE_ROUND_NOEX): Likewise.
18200 (SET_RESTORE_ROUND_NOEXF): Likewise.
18201 (SET_RESTORE_ROUND_NOEXL): Likewise.
18202 (SET_RESTORE_ROUND_53BIT): Likewise.
18203 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18204 (libc_feresetround_noexf_ctx): Likewise.
18205 (libc_feresetround_noexl_ctx): Likewise.
18206 (libc_feholdsetround_53bit_ctx): Likewise.
18207 (libc_feresetround_53bit_ctx): Likewise.
18208 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18209 (libc_feholdexcept_setround_sse_ctx): New function.
18210 (libc_fesetenv_sse_ctx): Likewise.
18211 (libc_feupdateenv_sse_ctx): Likewise.
18212 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18213 (libc_feholdexcept_setround_387_ctx): Likewise.
18214 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18215 (libc_feholdsetround_387_prec_ctx): Likewise.
18216 (libc_feholdsetround_387_ctx): Likewise.
18217 (libc_feholdsetround_387_53bit_ctx): Likewise.
18218 (libc_feholdsetround_sse_ctx): Likewise.
18219 (libc_feresetround_sse_ctx): Likewise.
18220 (libc_feresetround_387_ctx): Likewise.
18221 (libc_feupdateenv_387_ctx): Likewise.
18222 (libc_feholdexcept_setroundf_ctx): Define macro.
18223 (libc_fesetenvf_ctx): Likewise.
18224 (libc_feupdateenvf_ctx): Likewise.
18225 (libc_feholdsetroundf_ctx): Likewise.
18226 (libc_feresetroundf_ctx): Likewise.
18227 (libc_feholdexcept_setround_ctx): Likewise.
18228 (libc_fesetenv_ctx): Likewise.
18229 (libc_feupdateenv_ctx): Likewise.
18230 (libc_feholdsetround_ctx): Likewise.
18231 (libc_feresetround_ctx): Likewise.
18232 (libc_feholdexcept_setroundl_ctx): Likewise.
18233 (libc_feupdateenvl_ctx): Likewise.
18234 (libc_feholdsetroundl_ctx): Likewise.
18235 (libc_feresetroundl_ctx): Likewise.
18236 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18237 (libc_feresetround_53bit_ctx): Likewise.
18239 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18241 * locale/iso-639.def: Convert to UTF-8.
18243 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18245 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18246 (EXCEPTION_TESTS_double): Likewise.
18247 (EXCEPTION_TESTS_long_double): Likewise.
18248 (EXCEPTION_TESTS): Likewise.
18249 * math/libm-test.inc (test_exceptions): Only test exceptions if
18250 EXCEPTION_TESTS (FLOAT).
18252 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18254 * benchtests/Makefile (string-bench): Add strcpy_chk and
18256 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18257 * benchtests/bench-stpcpy_chk.c: New file.
18258 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18259 * benchtests/bench-strcpy_chk.c: New file.
18260 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18262 (do_test): Likewise.
18264 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18266 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18267 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18268 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18269 with tabs where appropriate.
18270 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18272 [PPC_PLATFORM_PPC440]: Likewise.
18273 [PPC_PLATFORM_PPC464]: Likewise.
18274 [PPC_PLATFORM_PPC476]: Likewise.
18275 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18276 ppc464, and ppc476 platform strings merging from ports/
18279 2013-06-11 Andreas Schwab <schwab@suse.de>
18282 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18283 (from_ucs4_idx): Regenerate.
18284 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18285 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18286 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18287 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18288 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18289 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18290 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18291 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18292 from FROM_LOOP and TO_LOOP specific macros.
18293 (BODY): Handle combining characters.
18294 * iconvdata/BIG5HKSCS.irreversible: Update.
18295 * iconvdata/BIG5HKSCS.precomposed: New file.
18296 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18298 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18300 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18302 * include/sys/time.h: Fix indentation and add copyright header.
18304 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18305 (do_test): Likewise.
18306 * string/test-memchr.c (do_one_test): Likewise.
18307 (do_test): Likewise.
18308 * string/test-memcmp.c (do_one_test): Likewise.
18309 (do_test): Likewise.
18310 * string/test-memcpy.c (do_one_test): Likewise.
18311 (do_test): Likewise.
18312 * string/test-memmem.c (do_one_test): Likewise.
18313 (do_test): Likewise.
18314 (do_random_tests): Likewise.
18315 * string/test-memmove.c (do_one_test): Likewise.
18316 (do_test): Likewise.
18317 * string/test-memset.c (do_one_test): Likewise.
18318 (do_test): Likewise.
18319 * string/test-rawmemchr.c (do_one_test): Likewise.
18320 (do_test): Likewise.
18321 * string/test-strcasecmp.c (do_one_test): Likewise.
18322 (do_test): Likewise.
18323 * string/test-strcasestr.c (do_one_test): Likewise.
18324 (do_test): Likewise.
18325 * string/test-strcat.c (do_one_test): Likewise.
18326 (do_test): Likewise.
18327 * string/test-strchr.c (do_one_test): Likewise.
18328 (do_test): Likewise.
18329 * string/test-strcmp.c (do_one_test): Likewise.
18330 (do_test): Likewise.
18331 * string/test-strcpy.c (do_one_test): Likewise.
18332 (do_test): Likewise.
18333 * string/test-string.h: Likewise.
18334 (test_init): Likewise.
18335 * string/test-strlen.c (do_one_test): Likewise.
18336 (do_test): Likewise.
18337 * string/test-strncasecmp.c (do_one_test): Likewise.
18338 (do_test): Likewise.
18339 * string/test-strncat.c (do_one_test): Likewise.
18340 (do_test): Likewise.
18341 * string/test-strncmp.c (do_one_test): Likewise.
18342 (do_test_limit): Likewise.
18343 (do_test): Likewise.
18344 * string/test-strncpy.c (do_one_test): Likewise.
18345 (do_test): Likewise.
18346 * string/test-strnlen.c (do_one_test): Likewise.
18347 (do_test): Likewise.
18348 * string/test-strpbrk.c (do_one_test): Likewise.
18349 (do_test): Likewise.
18350 * string/test-strrchr.c (do_one_test): Likewise.
18351 (do_test): Likewise.
18352 * string/test-strspn.c (do_one_test): Likewise.
18353 (do_test): Likewise.
18354 * string/test-strstr.c (do_one_test): Likewise.
18355 (do_test): Likewise.
18357 * benchtests/Makefile (string-bench): Add string benchmarks.
18358 * benchtests/bench-bcopy-ifunc.c: New file.
18359 * benchtests/bench-bcopy.c: New file.
18360 * benchtests/bench-bzero-ifunc.c: New file.
18361 * benchtests/bench-bzero.c: New file.
18362 * benchtests/bench-memccpy-ifunc.c: New file.
18363 * benchtests/bench-memccpy.c: New file.
18364 * benchtests/bench-memchr-ifunc.c: New file.
18365 * benchtests/bench-memchr.c: New file.
18366 * benchtests/bench-memcmp-ifunc.c: New file.
18367 * benchtests/bench-memcmp.c: New file.
18368 * benchtests/bench-memmem-ifunc.c: New file.
18369 * benchtests/bench-memmem.c: New file.
18370 * benchtests/bench-memmove-ifunc.c: New file.
18371 * benchtests/bench-memmove.c: New file.
18372 * benchtests/bench-mempcpy-ifunc.c: New file.
18373 * benchtests/bench-mempcpy.c: New file.
18374 * benchtests/bench-memset-ifunc.c: New file.
18375 * benchtests/bench-memset.c: New file.
18376 * benchtests/bench-rawmemchr-ifunc.c: New file.
18377 * benchtests/bench-rawmemchr.c: New file.
18378 * benchtests/bench-stpcpy-ifunc.c: New file.
18379 * benchtests/bench-stpcpy.c: New file.
18380 * benchtests/bench-stpncpy-ifunc.c: New file.
18381 * benchtests/bench-stpncpy.c: New file.
18382 * benchtests/bench-strcasecmp-ifunc.c: New file.
18383 * benchtests/bench-strcasecmp.c: New file.
18384 * benchtests/bench-strcasestr-ifunc.c: New file.
18385 * benchtests/bench-strcasestr.c: New file.
18386 * benchtests/bench-strcat-ifunc.c: New file.
18387 * benchtests/bench-strcat.c: New file.
18388 * benchtests/bench-strchr-ifunc.c: New file.
18389 * benchtests/bench-strchr.c: New file.
18390 * benchtests/bench-strchrnul-ifunc.c: New file.
18391 * benchtests/bench-strchrnul.c: New file.
18392 * benchtests/bench-strcmp-ifunc.c: New file.
18393 * benchtests/bench-strcmp.c: New file.
18394 * benchtests/bench-strcpy-ifunc.c: New file.
18395 * benchtests/bench-strcpy.c: New file.
18396 * benchtests/bench-strcspn-ifunc.c: New file.
18397 * benchtests/bench-strcspn.c: New file.
18398 * benchtests/bench-strlen-ifunc.c: New file.
18399 * benchtests/bench-strlen.c: New file.
18400 * benchtests/bench-strncasecmp-ifunc.c: New file.
18401 * benchtests/bench-strncasecmp.c: New file.
18402 * benchtests/bench-strncat-ifunc.c: New file.
18403 * benchtests/bench-strncat.c: New file.
18404 * benchtests/bench-strncmp-ifunc.c: New file.
18405 * benchtests/bench-strncmp.c: New file.
18406 * benchtests/bench-strncpy-ifunc.c: New file.
18407 * benchtests/bench-strncpy.c: New file.
18408 * benchtests/bench-strnlen-ifunc.c: New file.
18409 * benchtests/bench-strnlen.c: New file.
18410 * benchtests/bench-strpbrk-ifunc.c: New file.
18411 * benchtests/bench-strpbrk.c: New file.
18412 * benchtests/bench-strrchr-ifunc.c: New file.
18413 * benchtests/bench-strrchr.c: New file.
18414 * benchtests/bench-strspn-ifunc.c: New file.
18415 * benchtests/bench-strspn.c: New file.
18416 * benchtests/bench-strstr-ifunc.c: New file.
18417 * benchtests/bench-strstr.c: New file.
18419 * benchtests/Makefile: Disable parallel execution of targets.
18420 (string-bench): Add memcpy.
18421 (benchset): New variable to store a list of benchmark sets.
18422 (bench-func): Renamed from bench.
18423 (bench-set): New target.
18424 (bench): Depend on bench-func and bench-set.
18425 * benchtests/README: Add section on benchmark sets.
18426 * benchtests/bench-memcpy-ifunc.c: New file.
18427 * benchtests/bench-memcpy.c: New file.
18428 * benchtests/bench-string.h: New file.
18430 2013-06-11 Andreas Schwab <schwab@suse.de>
18433 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18434 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18435 values in the triple.
18436 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18437 terminator in the group key.
18439 2013-06-11 Andreas Jaeger <aj@suse.de>
18441 * po/zh_TW.po: Update Chinese (traditional) translation from
18442 translation project.
18444 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18446 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18447 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18448 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18450 (clock_getcpuclockid): Likewise.
18451 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18452 Add weak_alias and libc_hidden_def.
18453 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18454 * rt/clock_gettime.c (clock_gettime): Rename to
18455 __clock_gettime. Add weak_alias and libc_hidden_def.
18456 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18457 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18458 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18459 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18460 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18462 * rt/clock_settime.c (clock_settime): Rename to
18463 __clock_settime. Add weak_alias and libc_hidden_def.
18464 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18466 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18468 * mach/err_boot.sub: Remove trailing whitespace.
18469 * mach/err_ipc.sub: Likewise.
18470 * mach/err_mach.sub: Likewise.
18472 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18473 (ROUNDING_TESTS_double): Likewise.
18474 (ROUNDING_TESTS_long_double): Likewise.
18475 (ROUNDING_TESTS): Likewise.
18476 * math/libm-test.inc: Include <math-tests.h>.
18477 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18478 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18479 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18480 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18482 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18484 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18487 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18489 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18490 otherwise empty TRANS lines.
18491 * sysdeps/gnu/errlist.c: Regenerated.
18493 * catgets/gencat.c (error_print): Use (void) in function
18495 * crypt/crypt_util.c (__init_des): Likewise.
18496 * crypt/speeds.c (Stop): Likewise.
18498 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18499 * inet/ruserpass.c (token): Likewise.
18500 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18501 * intl/localealias.c (extend_alias_table): Likewise.
18502 * intl/plural-exp.c (init_germanic_plural): Likewise.
18503 * libio/fcloseall.c (__fcloseall): Likewise.
18504 * libio/genops.c (_IO_flush_all): Likewise.
18505 (_IO_flush_all_linebuffered): Likewise.
18506 (_IO_cleanup): Likewise.
18507 (_IO_iter_begin): Likewise.
18508 (_IO_iter_end): Likewise.
18509 (_IO_list_lock): Likewise.
18510 (_IO_list_unlock): Likewise.
18511 (_IO_list_resetlock): Likewise.
18512 * libio/getchar.c (getchar): Likewise.
18513 * libio/getchar_u.c (getchar_unlocked): Likewise.
18514 * libio/getwchar.c (getwchar): Likewise.
18515 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18516 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18517 * login/getpt.c (__getpt): Likewise.
18518 * login/tst-utmp.c (main): Likewise.
18519 * malloc/hooks.c (__malloc_check_init): Likewise.
18520 * malloc/malloc.c (__malloc_stats): Likewise.
18521 * malloc/mtrace.c (tr_break): Likewise.
18522 (mtrace): Likewise.
18523 (muntrace): Likewise.
18524 * misc/fstab.c (endfsent): Likewise.
18525 * misc/getclktck.c (__getclktck): Likewise.
18526 * misc/getdtsz.c (__getdtablesize): Likewise.
18527 * misc/gethostid.c (gethostid): Likewise.
18528 * misc/getpagesize.c (__getpagesize): Likewise.
18529 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18530 (__get_nprocs): Likewise.
18531 (__get_phys_pages): Likewise.
18532 (__get_avphys_pages): Likewise.
18533 * misc/getttyent.c (getttyent): Likewise.
18534 (setttyent): Likewise.
18535 (endttyent): Likewise.
18536 * misc/getusershell.c (getusershell): Likewise.
18537 (endusershell): Likewise.
18538 (setusershell): Likewise.
18539 (initshells): Likewise.
18540 * misc/hsearch.c (__hdestroy): Likewise.
18541 * misc/sync.c (sync): Likewise.
18542 * misc/syslog.c (closelog_internal): Likewise.
18543 (closelog): Likewise.
18544 * misc/ttyslot.c (ttyslot): Likewise.
18545 * misc/vhangup.c (vhangup): Likewise.
18546 * posix/fork.c (__fork): Likewise.
18547 * posix/getegid.c (__getegid): Likewise.
18548 * posix/geteuid.c (__geteuid): Likewise.
18549 * posix/getgid.c (__getgid): Likewise.
18550 * posix/getpid.c (__getpid): Likewise.
18551 * posix/getppid.c (__getppid): Likewise.
18552 * posix/getuid.c (__getuid): Likewise.
18553 * posix/pause.c (pause): Likewise.
18554 * posix/setpgrp.c (setpgrp): Likewise.
18555 * posix/setsid.c (__setsid): Likewise.
18556 * posix/test-vfork.c (noop): Likewise.
18557 * resolv/gethnamaddr.c (_endhtent): Likewise.
18558 (_gethtent): Likewise.
18559 (ht_endhostent): Likewise.
18560 (gethostent): Likewise.
18561 (dns_service): Likewise.
18562 * stdlib/drand48.c (drand48): Likewise.
18563 * stdlib/lrand48.c (lrand48): Likewise.
18564 * stdlib/mrand48.c (mrand48): Likewise.
18565 * stdlib/rand.c (rand): Likewise.
18566 * stdlib/random.c (__random): Likewise.
18567 * stdlib/setenv.c (clearenv): Likewise.
18568 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18569 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18570 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18571 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18572 (__get_nprocs): Likewise.
18573 (__get_phys_pages): Likewise.
18574 (__get_avphys_pages): Likewise.
18575 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18576 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18577 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18578 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18579 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18580 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18581 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18582 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18583 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18584 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18585 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18586 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18587 * sysdeps/posix/clock.c (clock): Likewise.
18588 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18589 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18590 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18591 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18592 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18594 (__get_nprocs_conf): Likewise.
18595 (__get_phys_pages): Likewise.
18596 (__get_avphys_pages): Likewise.
18597 * time/clock.c (clock): Likewise.
18598 * time/tzset.c (__tzname_max): Likewise.
18600 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18602 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18603 (__bswap_32): Do not use "register".
18604 * crypt/crypt.c (_ufc_doit_r): Likewise.
18605 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18606 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18607 * gmon/gmon.c (__monstartup): Likewise.
18608 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18609 * hurd/hurdmalloc.c (more_memory): Likewise.
18610 (malloc): Likewise.
18612 (realloc): Likewise.
18613 (malloc_fork_prepare): Likewise.
18614 (malloc_fork_parent): Likewise.
18615 (malloc_fork_child): Likewise.
18616 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18617 (_svcauth_des): Likewise.
18618 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18619 * inet/inet_net.c (inet_network): Likewise.
18620 * inet/inet_netof.c (inet_netof): Likewise.
18621 * inet/rcmd.c (__validuser2_sa): Likewise.
18622 * io/fts.c (fts_open): Likewise.
18623 (fts_load): Likewise.
18624 (fts_close): Likewise.
18625 (fts_read): Likewise.
18626 (fts_children): Likewise.
18627 (fts_build): Likewise.
18628 (fts_stat): Likewise.
18629 (fts_sort): Likewise.
18630 (fts_alloc): Likewise.
18631 (fts_lfree): Likewise.
18632 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18633 (_IO_file_xsgetn): Likewise.
18634 (_IO_file_xsgetn_mmap): Likewise.
18635 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18636 (_IO_cookie_write): Likewise.
18637 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18638 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18639 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18640 * malloc/obstack.c (_obstack_begin): Likewise.
18641 (_obstack_begin_1): Likewise.
18642 (_obstack_newchunk): Likewise.
18643 (_obstack_allocated_p): Likewise.
18644 (obstack_free): Likewise.
18645 (_obstack_memory_used): Likewise.
18646 * misc/getttyent.c (getttynam): Likewise.
18647 (getttyent): Likewise.
18650 * misc/getusershell.c (initshells): Likewise.
18651 * misc/syslog.c (__vsyslog_chk): Likewise.
18652 * misc/ttyslot.c (ttyslot): Likewise.
18653 * nis/nis_hash.c (__nis_hash): Likewise.
18654 * posix/fnmatch_loop.c (FCT): Likewise.
18655 * posix/getconf.c (print_all): Likewise.
18657 * posix/getopt.c (exchange): Likewise.
18658 * posix/glob.c (globfree): Likewise.
18659 (prefix_array): Likewise.
18660 (__glob_pattern_type): Likewise.
18661 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18662 (NS_GET32): Likewise.
18663 (NS_PUT16): Likewise.
18664 (NS_PUT32): Likewise.
18665 * resolv/gethnamaddr.c (getanswer): Likewise.
18666 (gethostbyname2): Likewise.
18667 (gethostbyaddr): Likewise.
18668 (_gethtent): Likewise.
18669 (_gethtbyname2): Likewise.
18670 (_gethtbyaddr): Likewise.
18671 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18672 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18673 * resolv/res_init.c (__res_vinit): Likewise.
18674 (net_mask): Likewise.
18675 * resolv/res_mkquery.c (outchar): Likewise.
18677 * stdio-common/printf_fp.c (outchar): Likewise.
18679 * stdio-common/printf_fphex.c (outchar): Likewise.
18681 * stdio-common/printf_size.c (outchar): Likewise.
18683 * stdio-common/test_rdwr.c (main): Likewise.
18684 * stdio-common/tfformat.c (matches): Likewise.
18685 * stdio-common/vfprintf.c (outchar): Likewise.
18686 (printf_unknown): Likewise.
18687 (buffered_vfprintf): Likewise.
18688 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18689 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18690 (ReadFile): Likewise.
18691 * stdlib/qsort.c (SWAP): Likewise.
18692 (_quicksort): Likewise.
18693 * stdlib/setenv.c (__add_to_environ): Likewise.
18694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18695 * stdlib/strtol_l.c (__strtol_l): Likewise.
18696 * stdlib/tst-strtod.c (main): Likewise.
18697 * stdlib/tst-strtol.c (main): Likewise.
18698 * stdlib/tst-strtoll.c (main): Likewise.
18699 * string/bits/string2.h (__strcmp_cc): Likewise.
18700 (__strcmp_cg): Likewise.
18701 (__strcspn_c1): Likewise.
18702 (__strcspn_c2): Likewise.
18703 (__strcspn_c3): Likewise.
18704 (__strspn_c1): Likewise.
18705 (__strspn_c2): Likewise.
18706 (__strspn_c3): Likewise.
18707 (__strsep_1c): Likewise.
18708 (__strsep_2c): Likewise.
18709 (__strsep_3c): Likewise.
18710 * string/memccpy.c (__memccpy): Likewise.
18711 * string/stpcpy.c (__stpcpy): Likewise.
18712 * string/strcmp.c (strcmp): Likewise.
18713 * string/strrchr.c (strrchr): Likewise.
18714 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18716 * sysdeps/mach/hurd/getcwd.c
18717 (_hurd_canonicalize_directory_name_internal): Likewise.
18718 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18719 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18720 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18721 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18722 Likewise, in both definitions.
18723 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18725 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18726 64] (__bswap_64): Likewise.
18727 * time/test_time.c (main): Likewise.
18728 * time/tzfile.c (__tzfile_read): Likewise.
18729 (__tzfile_compute): Likewise.
18730 * time/tzset.c (__tzset_parse_tz): Likewise.
18731 (tzset_internal): Likewise.
18732 (compute_change): Likewise.
18733 * wcsmbs/wcscat.c (__wcscat): Likewise.
18734 * wcsmbs/wcschr.c (wcschr): Likewise.
18735 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18736 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18737 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18738 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18739 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18740 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18741 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18742 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18743 * wcsmbs/wmemset.c (wmemset): Likewise.
18745 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18747 * scripts/config.guess: Update to version 2013-05-16.
18748 * scripts/config.sub: Update to version 2013-04-24.
18749 * scripts/install-sh: Update to version 2011-11-20.07.
18750 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18751 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18753 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18755 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18756 * elf/sln.c: Likewise.
18757 * hurd/hurd/ioctl.h: Likewise.
18758 * hurd/hurdmalloc.c: Likewise.
18759 * hurd/xattr.c: Likewise.
18760 * include/shlib-compat.h: Likewise.
18761 * inet/ruserpass.c: Likewise.
18762 * libio/iofgets_u.c: Likewise.
18763 * libio/iofgetws_u.c: Likewise.
18764 * locale/programs/ld-identification.c: Likewise.
18765 * locale/programs/ld-time.c: Likewise.
18766 * mach/msg-destroy.c: Likewise.
18767 * nss/nss_files/files-netgrp.c: Likewise.
18768 * resolv/res_data.c: Likewise.
18769 * soft-fp/op-1.h: Likewise.
18770 * soft-fp/op-2.h: Likewise.
18771 * soft-fp/op-4.h: Likewise.
18772 * soft-fp/op-common.h: Likewise.
18773 * stdio-common/printf_fphex.c: Likewise.
18774 * stdlib/strtod_l.c: Likewise.
18775 * sunrpc/rpc/clnt.h: Likewise.
18776 * sysdeps/generic/framestate.c: Likewise.
18777 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18778 * sysdeps/i386/bsd-setjmp.S: Likewise.
18779 * sysdeps/i386/__longjmp.S: Likewise.
18780 * sysdeps/i386/setjmp.S: Likewise.
18781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18799 * sysdeps/ieee754/support.c: Likewise.
18800 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18801 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18802 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18803 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18804 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18805 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18806 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18807 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18808 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18809 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18810 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18811 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18812 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18814 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18815 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18816 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18819 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18821 * posix/transbug.c: Remove executable mode.
18823 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18825 * crypt/speeds.c: Remove trailing whitespace.
18826 * dlfcn/default.c: Likewise.
18827 * elf/ifuncdep2.c: Likewise.
18828 * elf/ifuncmain1.c: Likewise.
18829 * elf/ifuncmain1vis.c: Likewise.
18830 * elf/testobj.h: Likewise.
18831 * elf/tst-stackguard1.c: Likewise.
18832 * gmon/sys/gmon.h: Likewise.
18833 * hurd/hurdmsg.c: Likewise.
18834 * hurd/new-fd.c: Likewise.
18835 * hurd/ports-get.c: Likewise.
18836 * iconvdata/ibm1008_420.c: Likewise.
18837 * inet/tst-getni1.c: Likewise.
18838 * inet/tst-getni2.c: Likewise.
18839 * libio/ioungetc.c: Likewise.
18840 * libio/wfiledoalloc.c: Likewise.
18841 * manual/libm-err-tab.pl: Likewise.
18842 * math/w_dremf.c: Likewise.
18843 * misc/ftruncate.c: Likewise.
18844 * posix/bug-glob2.c: Likewise.
18845 * posix/tst-pcre.c: Likewise.
18846 * posix/wait4.c: Likewise.
18847 * resolv/README: Likewise.
18848 * resolv/res_debug.h: Likewise.
18849 * resolv/tst-inet_ntop.c: Likewise.
18850 * setjmp/bug269-setjmp.c: Likewise.
18851 * soft-fp/extended.h: Likewise.
18852 * soft-fp/op-1.h: Likewise.
18853 * soft-fp/op-2.h: Likewise.
18854 * soft-fp/op-4.h: Likewise.
18855 * soft-fp/op-8.h: Likewise.
18856 * soft-fp/testit.c: Likewise.
18857 * stdio-common/bug16.c: Likewise.
18858 * stdlib/random.c: Likewise.
18859 * sunrpc/rpcsvc/rquota.x: Likewise.
18860 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18861 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18863 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18866 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18868 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18870 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18876 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18878 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18879 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18889 * sysdeps/ieee754/s_lib_version.c: Likewise.
18890 * sysdeps/mach/hurd/check_fds.c: Likewise.
18891 * sysdeps/mach/hurd/getsockname.c: Likewise.
18892 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18893 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18894 * sysdeps/powerpc/bits/link.h: Likewise.
18895 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18896 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18897 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18898 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18899 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18900 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18901 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18902 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18903 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18904 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18916 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18917 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18919 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18928 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18929 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18932 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18934 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18935 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18936 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18939 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18940 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18941 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18943 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18947 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18949 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18950 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18951 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18955 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18957 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18958 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18959 * sysdeps/powerpc/sysdep.h: Likewise.
18960 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18961 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18962 * sysdeps/sh/dl-trampoline.S: Likewise.
18963 * sysdeps/sh/memset.S: Likewise.
18964 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18965 * sysdeps/sh/strlen.S: Likewise.
18966 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18967 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18968 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18969 * sysdeps/sparc/sparc32/rem.S: Likewise.
18970 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18971 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18972 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18973 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18974 * sysdeps/sparc/sparc32/urem.S: Likewise.
18975 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18976 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18977 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18978 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18979 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18980 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18981 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18982 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18983 * sysdeps/unix/bsd/times.c: Likewise.
18984 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18985 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18989 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18990 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18991 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18992 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18993 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18994 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18995 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18996 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18997 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18998 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18999 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19000 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19001 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19002 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19003 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19004 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19005 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19006 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19007 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19008 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19009 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19010 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19012 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19013 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19014 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19015 * sysdeps/x86_64/strcspn.S: Likewise.
19017 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19019 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19020 generated file. Regenerate properly from gen-translit.pl.
19021 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19022 locale/C-translit.h.
19024 2013-06-05 Andreas Schwab <schwab@suse.de>
19027 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19028 week as 6 instead of -1.
19029 * time/tst-strptime.c (day_tests): Add test case.
19031 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19033 * sysdeps/generic/math_private.h
19034 (libc_feholdexcept_setround_53bit): Replace with
19035 libc_feholdsetround_53bit.
19036 (libc_feupdateenv_53bit): Replace with
19037 libc_feresetround_53bit.
19038 (SET_RESTORE_ROUND_53BIT): Adjust.
19040 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19042 * string/test-strchrnul.c: Add copyright header.
19044 * posix/tst-getaddrinfo4.c: Increase test timeout.
19046 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19049 * math/libm-test.inc (MAX_EXP): Remove
19051 (ulp): Use MIN_EXP - MANT_DIG.
19052 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19054 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19056 * po/be.po: Revert last change.
19057 * po/zh_CN.po: Likewise.
19058 * po/header.pot: Likewise.
19060 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19062 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19063 link-libc-deps to empty as target-specific variable.
19064 * Makerules (link-libc-args): New variable.
19065 (libc-for-link): Likewise.
19066 (link-libc-deps): Likewise.
19067 (lib%.so): Depend on $(link-libc-deps). Link with
19069 (build-module): Link with $(link-libc-args).
19070 (build-module-asneeded): Likewise.
19071 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19073 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19074 target-specific variable.
19075 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19076 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19077 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19079 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19081 ($(objpfx)libpcprofile.so): Likewise.
19082 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19084 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19085 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19086 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19088 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19089 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19090 * login/Makefile ($(objpfx)libutil.so): Likewise.
19091 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19092 * math/Makefile ($(objpfx)libm.so): Likewise.
19093 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19094 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19095 variable instead of depending directly on libc.
19096 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19097 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19099 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19101 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19102 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19103 ($(objpfx)libanl.so): Likewise.
19104 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19106 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19108 * sysdeps/i386/fpu/Makefile: Remove file.
19109 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19110 ($(objpfx)libm.so): Remove dependency on ld.so.
19112 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19115 * nis/yp_xdr.c (XDRMAXNAME): Define.
19116 (XDRMAXRECORD): Define.
19117 (xdr_domainname): Use XDRMAXNAME.
19118 (xdr_mapname): Likewise.
19119 (xdr_peername): Likewise.
19120 (xdr_keydat): Use XDRMAXRECORD.
19121 (xdr_valdat): Likewise.
19123 2013-05-30 Jeff Law <law@redhat.com>
19126 * manual/errno.texi (ESTALE): Update to account for more than
19127 just NFS file systems.
19128 * sysdeps/gnu/errlist.c: Regenerated.
19130 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19133 * elf/Makefile (tests): Add tst-null-argv.
19134 (modules-names): Add tst-null-argv-lib.
19135 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19136 (tst-null-argv-ENV): Set environment for tst-null-argv.
19137 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19138 (RTLD_PROGNAME): New macro.
19139 * elf/tst-null-argv.c: New test case.
19140 * elf/tst-null-argv-lib.c: Library for test case.
19141 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19142 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19143 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19144 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19145 * elf/dl-init.c (call_init): Likewise.
19146 (_dl_init): Likewise.
19147 * elf/dl-load.c (print_search_path): Likewise.
19148 (_dl_map_object): Likewise.
19149 * elf/dl-lookup.c (do_lookup_x): Likewise.
19150 (add_dependency): Likewise.
19151 (_dl_lookup_symbol_x): Likewise.
19152 (_dl_debug_bindings): Likewise.
19153 * elf/dl-open.c (_dl_show_scope): Likewise.
19154 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19155 * elf/dl-version.c (match_symbol): Likewise.
19156 (_dl_check_map_versions): Likewise.
19157 * elf/rtld.c (dl_main): Likewise.
19158 (print_unresolved): Use RTLD_PROGNAME.
19159 (print_missing_version): Likewise.
19160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19161 (elf_machine_rela): Likewise.
19162 * sysdeps/powerpc/powerpc32/dl-machine.c
19163 (__process_machine_rela): Likewise.
19164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19168 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19170 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19177 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19179 * po/be.po: Add descriptive title.
19180 * po/zh_CN.po: Likewise.
19181 * po/header.pot: Likewise.
19183 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19185 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19187 (enlarge_archive): Likewise.
19189 2013-05-28 Ben North <ben@redfrontdoor.org>
19191 * manual/arith.texi (frexp): It is the magnitude of the return
19192 value which lies in [0.5, 1), not the return value itself.
19194 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19198 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19200 * stdio-common/bug26.c (main): Correct fscanf template.
19202 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19203 declare _dl_skip_args.
19205 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19208 * manual/platform.texi: Add missing @end deftypefun.
19210 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19213 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19214 bit of mantissa of 2^16382.
19215 * math/libm-test.inc (hypot_test_data): Add more tests.
19217 * math/libm-test.inc: Add drem and pow10 to list of tested
19219 (pow10_test): New function.
19220 (drem_test): Likewise.
19221 (drem_test_tonearest): Likewise.
19222 (drem_test_towardzero): Likewise.
19223 (drem_test_downward): Likewise.
19224 (drem_test_upward): Likewise.
19225 (main): Call the new functions.
19227 * math/libm-test.inc (finite_test_data): Remove.
19228 (finite_test): Run tests from isfinite_test_data.
19229 (gamma_test_data): Remove.
19230 (gamma_test): Run tests from lgamma_test_data.
19231 * sysdeps/i386/fpu/libm-test-ulps: Update.
19232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19234 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19236 * manual/platform.texi: Add PowerPC PPR function set documentation.
19237 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19240 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19242 * math/libm-test.inc (MAX_EXP): Define.
19244 (ulp): New function.
19245 (check_float_internal): Use ULPDIFF.
19246 (cpow_test): Disable failing test.
19247 (check_ulp): Test ulp() implemetnation.
19248 (main): Call check_ulp before starting tests.
19250 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19252 * math/gen-libm-test.pl (generate_testfile): Do not handle
19253 START_DATA and END_DATA.
19254 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19256 (acos_tonearest_test_data): Likewise.
19257 (acos_towardzero_test_data): Likewise.
19258 (acos_downward_test_data): Likewise.
19259 (acos_upward_test_data): Likewise.
19260 (acosh_test_data): Likewise.
19261 (asin_test_data): Likewise.
19262 (asin_tonearest_test_data): Likewise.
19263 (asin_towardzero_test_data): Likewise.
19264 (asin_downward_test_data): Likewise.
19265 (asin_upward_test_data): Likewise.
19266 (asinh_test_data): Likewise.
19267 (atan_test_data): Likewise.
19268 (atanh_test_data): Likewise.
19269 (atan2_test_data): Likewise.
19270 (cabs_test_data): Likewise.
19271 (cacos_test_data): Likewise.
19272 (cacosh_test_data): Likewise.
19273 (carg_test_data): Likewise.
19274 (casin_test_data): Likewise.
19275 (casinh_test_data): Likewise.
19276 (catan_test_data): Likewise.
19277 (catanh_test_data): Likewise.
19278 (cbrt_test_data): Likewise.
19279 (ccos_test_data): Likewise.
19280 (ccosh_test_data): Likewise.
19281 (ceil_test_data): Likewise.
19282 (cexp_test_data): Likewise.
19283 (cimag_test_data): Likewise.
19284 (clog_test_data): Likewise.
19285 (clog10_test_data): Likewise.
19286 (conj_test_data): Likewise.
19287 (copysign_test_data): Likewise.
19288 (cos_test_data): Likewise.
19289 (cos_tonearest_test_data): Likewise.
19290 (cos_towardzero_test_data): Likewise.
19291 (cos_downward_test_data): Likewise.
19292 (cos_upward_test_data): Likewise.
19293 (cosh_test_data): Likewise.
19294 (cosh_tonearest_test_data): Likewise.
19295 (cosh_towardzero_test_data): Likewise.
19296 (cosh_downward_test_data): Likewise.
19297 (cosh_upward_test_data): Likewise.
19298 (cpow_test_data): Likewise.
19299 (cproj_test_data): Likewise.
19300 (creal_test_data): Likewise.
19301 (csin_test_data): Likewise.
19302 (csinh_test_data): Likewise.
19303 (csqrt_test_data): Likewise.
19304 (ctan_test_data): Likewise.
19305 (ctan_tonearest_test_data): Likewise.
19306 (ctan_towardzero_test_data): Likewise.
19307 (ctan_downward_test_data): Likewise.
19308 (ctan_upward_test_data): Likewise.
19309 (ctanh_test_data): Likewise.
19310 (ctanh_tonearest_test_data): Likewise.
19311 (ctanh_towardzero_test_data): Likewise.
19312 (ctanh_downward_test_data): Likewise.
19313 (ctanh_upward_test_data): Likewise.
19314 (erf_test_data): Likewise.
19315 (erfc_test_data): Likewise.
19316 (exp_test_data): Likewise.
19317 (exp_tonearest_test_data): Likewise.
19318 (exp_towardzero_test_data): Likewise.
19319 (exp_downward_test_data): Likewise.
19320 (exp_upward_test_data): Likewise.
19321 (exp10_test_data): Likewise.
19322 (exp2_test_data): Likewise.
19323 (expm1_test_data): Likewise.
19324 (fabs_test_data): Likewise.
19325 (fdim_test_data): Likewise.
19326 (finite_test_data): Likewise.
19327 (floor_test_data): Likewise.
19328 (fma_test_data): Likewise.
19329 (fma_towardzero_test_data): Likewise.
19330 (fma_downward_test_data): Likewise.
19331 (fma_upward_test_data): Likewise.
19332 (fmax_test_data): Likewise.
19333 (fmin_test_data): Likewise.
19334 (fmod_test_data): Likewise.
19335 (fpclassify_test_data): Likewise.
19336 (frexp_test_data): Likewise.
19337 (gamma_test_data): Likewise.
19338 (hypot_test_data): Likewise.
19339 (ilogb_test_data): Likewise.
19340 (isfinite_test_data): Likewise.
19341 (isgreater_test_data): Likewise.
19342 (isgreaterequal_test_data): Likewise.
19343 (isinf_test_data): Likewise.
19344 (isless_test_data): Likewise.
19345 (islessequal_test_data): Likewise.
19346 (islessgreater_test_data): Likewise.
19347 (isnan_test_data): Likewise.
19348 (isnormal_test_data): Likewise.
19349 (issignaling_test_data): Likewise.
19350 (isunordered_test_data): Likewise.
19351 (j0_test_data): Likewise.
19352 (j1_test_data): Likewise.
19353 (jn_test_data): Likewise.
19354 (ldexp_test_data): Likewise.
19355 (lgamma_test_data): Likewise.
19356 (lrint_test_data): Likewise.
19357 (lrint_tonearest_test_data): Likewise.
19358 (lrint_towardzero_test_data): Likewise.
19359 (lrint_downward_test_data): Likewise.
19360 (lrint_upward_test_data): Likewise.
19361 (llrint_test_data): Likewise.
19362 (llrint_tonearest_test_data): Likewise.
19363 (llrint_towardzero_test_data): Likewise.
19364 (llrint_downward_test_data): Likewise.
19365 (llrint_upward_test_data): Likewise.
19366 (log_test_data): Likewise.
19367 (log10_test_data): Likewise.
19368 (log1p_test_data): Likewise.
19369 (log2_test_data): Likewise.
19370 (logb_test_data): Likewise.
19371 (logb_downward_test_data): Likewise.
19372 (lround_test_data): Likewise.
19373 (llround_test_data): Likewise.
19374 (modf_test_data): Likewise.
19375 (nearbyint_test_data): Likewise.
19376 (nextafter_test_data): Likewise.
19377 (nexttoward_test_data): Likewise.
19378 (pow_test_data): Likewise.
19379 (pow_tonearest_test_data): Likewise.
19380 (pow_towardzero_test_data): Likewise.
19381 (pow_downward_test_data): Likewise.
19382 (pow_upward_test_data): Likewise.
19383 (remainder_test_data): Likewise.
19384 (remainder_tonearest_test_data): Likewise.
19385 (remainder_towardzero_test_data): Likewise.
19386 (remainder_downward_test_data): Likewise.
19387 (remainder_upward_test_data): Likewise.
19388 (remquo_test_data): Likewise.
19389 (rint_test_data): Likewise.
19390 (rint_tonearest_test_data): Likewise.
19391 (rint_towardzero_test_data): Likewise.
19392 (rint_downward_test_data): Likewise.
19393 (rint_upward_test_data): Likewise.
19394 (round_test_data): Likewise.
19395 (scalb_test_data): Likewise.
19396 (scalbn_test_data): Likewise.
19397 (scalbln_test_data): Likewise.
19398 (signbit_test_data): Likewise.
19399 (sin_test_data): Likewise.
19400 (sin_tonearest_test_data): Likewise.
19401 (sin_towardzero_test_data): Likewise.
19402 (sin_downward_test_data): Likewise.
19403 (sin_upward_test_data): Likewise.
19404 (sincos_test_data): Likewise.
19405 (sinh_test_data): Likewise.
19406 (sinh_tonearest_test_data): Likewise.
19407 (sinh_towardzero_test_data): Likewise.
19408 (sinh_downward_test_data): Likewise.
19409 (sinh_upward_test_data): Likewise.
19410 (sqrt_test_data): Likewise.
19411 (tan_test_data): Likewise.
19412 (tan_tonearest_test_data): Likewise.
19413 (tan_towardzero_test_data): Likewise.
19414 (tan_downward_test_data): Likewise.
19415 (tan_upward_test_data): Likewise.
19416 (tanh_test_data): Likewise.
19417 (tgamma_test_data): Likewise.
19418 (trunc_test_data): Likewise.
19419 (y0_test_data): Likewise.
19420 (y1_test_data): Likewise.
19421 (yn_test_data): Likewise.
19422 (significand_test_data): Likewise.
19424 * math/gen-libm-test.pl (@functions): Remove variable.
19425 (generate_testfile): Don't handle START and END lines.
19426 * math/libm-test.inc (START): New macro.
19428 (END_COMPLEX): Likewise.
19429 (acos_test): Use END macro without arguments.
19430 (acos_test_tonearest): Likewise.
19431 (acos_test_towardzero): Likewise.
19432 (acos_test_downward): Likewise.
19433 (acos_test_upward): Likewise.
19434 (acosh_test): Likewise.
19435 (asin_test): Likewise.
19436 (asin_test_tonearest): Likewise.
19437 (asin_test_towardzero): Likewise.
19438 (asin_test_downward): Likewise.
19439 (asin_test_upward): Likewise.
19440 (asinh_test): Likewise.
19441 (atan_test): Likewise.
19442 (atanh_test): Likewise.
19443 (atan2_test): Likewise.
19444 (cabs_test): Likewise.
19445 (cacos_test): Use END_COMPLEX macro without arguments.
19446 (cacosh_test): Likewise.
19447 (carg_test): Use END macro without arguments.
19448 (casin_test): Use END_COMPLEX macro without arguments.
19449 (casinh_test): Likewise.
19450 (catan_test): Likewise.
19451 (catanh_test): Likewise.
19452 (cbrt_test): Use END macro without arguments.
19453 (ccos_test): Use END_COMPLEX macro without arguments.
19454 (ccosh_test): Likewise.
19455 (ceil_test): Use END macro without arguments.
19456 (cexp_test): Use END_COMPLEX macro without arguments.
19457 (cimag_test): Use END macro without arguments.
19458 (clog_test): Use END_COMPLEX macro without arguments.
19459 (clog10_test): Likewise.
19460 (conj_test): Likewise.
19461 (copysign_test): Use END macro without arguments.
19462 (cos_test): Likewise.
19463 (cos_test_tonearest): Likewise.
19464 (cos_test_towardzero): Likewise.
19465 (cos_test_downward): Likewise.
19466 (cos_test_upward): Likewise.
19467 (cosh_test): Likewise.
19468 (cosh_test_tonearest): Likewise.
19469 (cosh_test_towardzero): Likewise.
19470 (cosh_test_downward): Likewise.
19471 (cosh_test_upward): Likewise.
19472 (cpow_test): Use END_COMPLEX macro without arguments.
19473 (cproj_test): Likewise.
19474 (creal_test): Use END macro without arguments.
19475 (csin_test): Use END_COMPLEX macro without arguments.
19476 (csinh_test): Likewise.
19477 (csqrt_test): Likewise.
19478 (ctan_test): Likewise.
19479 (ctan_test_tonearest): Likewise.
19480 (ctan_test_towardzero): Likewise.
19481 (ctan_test_downward): Likewise.
19482 (ctan_test_upward): Likewise.
19483 (ctanh_test): Likewise.
19484 (ctanh_test_tonearest): Likewise.
19485 (ctanh_test_towardzero): Likewise.
19486 (ctanh_test_downward): Likewise.
19487 (ctanh_test_upward): Likewise.
19488 (erf_test): Use END macro without arguments.
19489 (erfc_test): Likewise.
19490 (exp_test): Likewise.
19491 (exp_test_tonearest): Likewise.
19492 (exp_test_towardzero): Likewise.
19493 (exp_test_downward): Likewise.
19494 (exp_test_upward): Likewise.
19495 (exp10_test): Likewise.
19496 (exp2_test): Likewise.
19497 (expm1_test): Likewise.
19498 (fabs_test): Likewise.
19499 (fdim_test): Likewise.
19500 (finite_test): Likewise.
19501 (floor_test): Likewise.
19502 (fma_test): Likewise.
19503 (fma_test_towardzero): Likewise.
19504 (fma_test_downward): Likewise.
19505 (fma_test_upward): Likewise.
19506 (fmax_test): Likewise.
19507 (fmin_test): Likewise.
19508 (fmod_test): Likewise.
19509 (fpclassify_test): Likewise.
19510 (frexp_test): Likewise.
19511 (gamma_test): Likewise.
19512 (hypot_test): Likewise.
19513 (ilogb_test): Likewise.
19514 (isfinite_test): Likewise.
19515 (isgreater_test): Likewise.
19516 (isgreaterequal_test): Likewise.
19517 (isinf_test): Likewise.
19518 (isless_test): Likewise.
19519 (islessequal_test): Likewise.
19520 (islessgreater_test): Likewise.
19521 (isnan_test): Likewise.
19522 (isnormal_test): Likewise.
19523 (issignaling_test): Likewise.
19524 (isunordered_test): Likewise.
19525 (j0_test): Likewise.
19526 (j1_test): Likewise.
19527 (jn_test): Likewise.
19528 (ldexp_test): Likewise.
19529 (lgamma_test): Likewise.
19530 (lrint_test): Likewise.
19531 (lrint_test_tonearest): Likewise.
19532 (lrint_test_towardzero): Likewise.
19533 (lrint_test_downward): Likewise.
19534 (lrint_test_upward): Likewise.
19535 (llrint_test): Likewise.
19536 (llrint_test_tonearest): Likewise.
19537 (llrint_test_towardzero): Likewise.
19538 (llrint_test_downward): Likewise.
19539 (llrint_test_upward): Likewise.
19540 (log_test): Likewise.
19541 (log10_test): Likewise.
19542 (log1p_test): Likewise.
19543 (log2_test): Likewise.
19544 (logb_test): Likewise.
19545 (logb_test_downward): Likewise.
19546 (lround_test): Likewise.
19547 (llround_test): Likewise.
19548 (modf_test): Likewise.
19549 (nearbyint_test): Likewise.
19550 (nextafter_test): Likewise.
19551 (nexttoward_test): Likewise.
19552 (pow_test): Likewise.
19553 (pow_test_tonearest): Likewise.
19554 (pow_test_towardzero): Likewise.
19555 (pow_test_downward): Likewise.
19556 (pow_test_upward): Likewise.
19557 (remainder_test): Likewise.
19558 (remainder_test_tonearest): Likewise.
19559 (remainder_test_towardzero): Likewise.
19560 (remainder_test_downward): Likewise.
19561 (remainder_test_upward): Likewise.
19562 (remquo_test): Likewise.
19563 (rint_test): Likewise.
19564 (rint_test_tonearest): Likewise.
19565 (rint_test_towardzero): Likewise.
19566 (rint_test_downward): Likewise.
19567 (rint_test_upward): Likewise.
19568 (round_test): Likewise.
19569 (scalb_test): Likewise.
19570 (scalbn_test): Likewise.
19571 (scalbln_test): Likewise.
19572 (signbit_test): Likewise.
19573 (sin_test): Likewise.
19574 (sin_test_tonearest): Likewise.
19575 (sin_test_towardzero): Likewise.
19576 (sin_test_downward): Likewise.
19577 (sin_test_upward): Likewise.
19578 (sincos_test): Likewise.
19579 (sinh_test): Likewise.
19580 (sinh_test_tonearest): Likewise.
19581 (sinh_test_towardzero): Likewise.
19582 (sinh_test_downward): Likewise.
19583 (sinh_test_upward): Likewise.
19584 (sqrt_test): Likewise.
19585 (tan_test): Likewise.
19586 (tan_test_tonearest): Likewise.
19587 (tan_test_towardzero): Likewise.
19588 (tan_test_downward): Likewise.
19589 (tan_test_upward): Likewise.
19590 (tanh_test): Likewise.
19591 (tgamma_test): Likewise.
19592 (trunc_test): Likewise.
19593 (y0_test): Likewise.
19594 (y1_test): Likewise.
19595 (yn_test): Likewise.
19596 (significand_test): Likewise.
19598 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19601 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19603 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19606 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19607 __ppc_mdoio and __ppc_mdoom.
19608 * manual/platform.texi: Document new functions __ppc_yield,
19609 __ppc_mdoio and __ppc_mdoom.
19611 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19613 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19614 (main): Mention "tls" pseudo-hwcap is legacy.
19615 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19617 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19619 * math/gen-libm-test.pl (parse_args): Output only string of
19620 arguments as text for test name, not full call or descriptions of
19621 tests for extra outputs.
19622 (generate_testfile): Do not pass function name to parse_args.
19623 Generate this_func variable from START.
19624 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19626 (struct test_ff_f_data): Likewise.
19627 (test_ff_f_data_nexttoward): Likewise.
19628 (struct test_fi_f_data): Likewise.
19629 (struct test_fl_f_data): Likewise.
19630 (struct test_if_f_data): Likewise.
19631 (struct test_fff_f_data): Likewise.
19632 (struct test_c_f_data): Likewise.
19633 (struct test_f_f1_data): Likewise. Remove field extra_name.
19634 (struct test_fF_f1_data): Likewise.
19635 (struct test_ffI_f1_data): Likewise.
19636 (struct test_c_c_data): Rename test_name field to arg_str.
19637 (struct test_cc_c_data): Likewise.
19638 (struct test_f_i_data): Likewise.
19639 (struct test_ff_i_data): Likewise.
19640 (struct test_f_l_data): Likewise.
19641 (struct test_f_L_data): Likewise.
19642 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19644 (COMMON_TEST_SETUP): New macro.
19645 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19646 (COMMON_TEST_CLEANUP): Likewise.
19647 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19648 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19650 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19651 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19653 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19654 (RUN_TEST_fff_f): Take argument string. Call new setup and
19656 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19657 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19659 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19660 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19662 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19663 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19665 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19666 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19668 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19669 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19671 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19672 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19674 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19675 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19677 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19678 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19680 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19681 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19683 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19684 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19686 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19687 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19689 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19690 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19692 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19693 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19695 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19696 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19698 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19699 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19701 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19703 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19705 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19706 to _sifields.sigfault.
19707 (si_addr_lsb): Define new macro.
19708 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19710 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19712 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19715 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19717 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19719 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19720 loading the domain.
19722 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19724 * math/gen-libm-test.pl (parse_args): Do not include expected
19725 result in test name.
19726 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19728 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19730 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19733 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19735 * benchtests/Makefile: Sort function entries.
19737 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19738 tanh, asinh, acosh, atanh.
19739 * benchtests/acos-inputs: New file.
19740 * benchtests/acosh-inputs: New file.
19741 * benchtests/asin-inputs: New file.
19742 * benchtests/asinh-inputs: New file.
19743 * benchtests/atanh-inputs: New file.
19744 * benchtests/cosh-inputs: New file.
19745 * benchtests/log-inputs: New file.
19746 * benchtests/sinh-inputs: New file.
19747 * benchtests/tanh-inputs: New file.
19749 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19752 * posix/tst-getaddrinfo4.c: New test.
19753 * posix/Makefile (tests): Add it.
19755 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19758 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19759 when no services were used.
19760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19761 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19763 2013-05-21 Andreas Schwab <schwab@suse.de>
19766 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19767 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19769 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19770 redundant variable declarations and reallocation of buffer when
19771 parsing as IPv6 address. Always set NSS status when called from
19772 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19773 buffer too small. Correct computation of needed size.
19774 * nss/Makefile (tests): Add test-digits-dots.
19775 * nss/test-digits-dots.c: New test.
19777 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19779 * benchtests/Makefile: Remove instructions for adding
19781 * benchtests/README: New file to explain how to execute and
19782 enhance the benchmark tests.
19784 2013-05-21 Andreas Schwab <schwab@suse.de>
19787 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19788 * setjmp/tst-sigsetjmp.c: New test.
19790 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19792 * sysdeps/x86_64/memset.S (memset): New implementation.
19793 (__bzero): Likewise.
19794 (__memset_tail): New function.
19796 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19798 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19799 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19800 __memcpy_sse2_unaligned ifunc selection.
19801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19802 Add memcpy-sse2-unaligned.S.
19803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19804 Add: __memcpy_sse2_unaligned.
19806 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19809 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19810 math_force_eval before restoring floating-point envrionment.
19811 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19816 (__nearbyintl): Use math_force_eval before restoring
19817 floating-point environment.
19818 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19820 * math/gen-libm-test.pl (special_functions): Remove.
19821 (parse_args): Don't handle TEST_extra. Handle functions with no
19823 * math/libm-test.inc (struct test_sincos_data): Replace with
19824 struct test_fFF_11_data.
19825 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19826 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19827 (sincos_test_data): Change element type to struct
19828 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19829 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19830 RUN_TEST_LOOP_sincos.
19831 * math/README.libm-test: Don't mention special handling of
19832 individual functions.
19833 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19835 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19836 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19837 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19840 * math/gen-libm-test.pl (get_variable): Remove function.
19841 (parse_args): Don't show pointer parameters to call in test
19842 names. Use "extra output N" in test names for extra outputs
19843 rather than naming variables.
19845 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19848 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19849 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19850 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19852 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19854 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19857 * math/gen-libm-test.pl (@tests): Remove variable.
19858 ($count): Likewise.
19859 (new_test): Remove function.
19860 (show_exceptions): New function.
19861 (special_functions): Use show_exceptions instead of new_test.
19862 (parse_args): Likewise.
19863 (generate_testfile): Pass only function name in generated call to
19864 print_max_error or print_complex_max_error.
19865 (get_ulps): Do not handle complex tests specially.
19866 (output_test): Rename to ...
19867 (get_all_ulps_for_test): ... this. Return a string rather than
19868 printing to a file. Require ulps to be present.
19869 (output_ulps): Generate arrays rather than #defines.
19870 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19871 (struct ulp_data): New type.
19872 (BUILD_COMPLEX_ULP): Remove macro.
19873 (compare_ulp_data): New function.
19874 (find_ulps): Likewise.
19875 (find_test_ulps): Likewise.
19876 (find_function_ulps): Likewise.
19877 (find_complex_function_ulps): Likewise.
19878 (print_max_error): Determine allowed ulps using
19879 find_function_ulps.
19880 (print_complex_max_error): Determine allowed ulps using
19881 find_complex_function_ulps.
19882 (check_float_internal): Determine max ulps using find_test_ulps.
19883 (check_float): Do not take max_ulp parameter. Update call to
19884 check_float_internal.
19885 (check_complex): Likewise.
19886 (check_int): Do not take max_ulp parameter.
19887 (check_long): Likewise.
19888 (check_bool): Likewise.
19889 (check_longlong): Likewise.
19890 (struct test_f_f_data): Remove max_ulp field.
19891 (struct test_ff_f_data): Likewise.
19892 (struct test_ff_f_data_nexttoward): Likewise.
19893 (struct test_fi_f_data): Likewise.
19894 (struct test_fl_f_data): Likewise.
19895 (struct test_if_f_data): Likewise.
19896 (struct test_fff_f_data): Likewise.
19897 (struct test_c_f_data): Likewise.
19898 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19899 (struct test_fF_f1_data): Likewise.
19900 (struct test_ffI_f1_data): Likewise.
19901 (struct test_c_c_data): Remove max_ulp field.
19902 (struct test_cc_c_data): Likewise.
19903 (struct test_f_i_data): Likewise.
19904 (struct test_ff_i_data): Likewise.
19905 (struct test_f_l_data): Likewise.
19906 (struct test_f_L_data): Likewise.
19907 (struct test_sincos_data): Likewise.
19908 (RUN_TEST_f_f): Do not handle ulps.
19909 (RUN_TEST_LOOP_f_f): Likewise.
19910 (RUN_TEST_2_f): Likewise.
19911 (RUN_TEST_LOOP_2_f): Likewise.
19912 (RUN_TEST_fff_f): Likewise.
19913 (RUN_TEST_LOOP_fff_f): Likewise.
19914 (RUN_TEST_c_f): Likewise.
19915 (RUN_TEST_LOOP_c_f): Likewise.
19916 (RUN_TEST_f_f1): Likewise.
19917 (RUN_TEST_LOOP_f_f1): Likewise.
19918 (RUN_TEST_fF_f1): Likewise.
19919 (RUN_TEST_LOOP_fF_f1): Likewise.
19920 (RUN_TEST_fI_f1): Likewise.
19921 (RUN_TEST_LOOP_fI_f1): Likewise.
19922 (RUN_TEST_ffI_f1): Likewise.
19923 (RUN_TEST_LOOP_ffI_f1): Likewise.
19924 (RUN_TEST_c_c): Likewise.
19925 (RUN_TEST_LOOP_c_c): Likewise.
19926 (RUN_TEST_cc_c): Likewise.
19927 (RUN_TEST_LOOP_cc_c): Likewise.
19928 (RUN_TEST_f_i): Likewise.
19929 (RUN_TEST_LOOP_f_i): Likewise.
19930 (RUN_TEST_f_i_tg): Likewise.
19931 (RUN_TEST_LOOP_f_i_tg): Likewise.
19932 (RUN_TEST_ff_i_tg): Likewise.
19933 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19934 (RUN_TEST_f_b): Likewise.
19935 (RUN_TEST_LOOP_f_b): Likewise.
19936 (RUN_TEST_f_b_tg): Likewise.
19937 (RUN_TEST_LOOP_f_b_tg): Likewise.
19938 (RUN_TEST_f_l): Likewise.
19939 (RUN_TEST_LOOP_f_l): Likewise.
19940 (RUN_TEST_f_L): Likewise.
19941 (RUN_TEST_LOOP_f_L): Likewise.
19942 (RUN_TEST_sincos): Likewise.
19943 (RUN_TEST_LOOP_sincos): Likewise.
19945 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19949 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19950 main case of finite arguments, set rounding mode to FE_TONEAREST
19951 and discard exceptions.
19952 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19954 (remainder_tonearest_test_data): New variable.
19955 (remainder_test_tonearest): New function.
19956 (remainder_towardzero_test_data): New variable.
19957 (remainder_test_towardzero): New function.
19958 (remainder_downward_test_data): New variable.
19959 (remainder_test_downward): New function.
19960 (remainder_upward_test_data): New variable.
19961 (remainder_test_upward): New function.
19962 (main): Call the new test functions.
19964 * math/libm-test.inc (struct test_f_f1_data): Remove field
19966 (struct test_fF_f1_data): Likewise.
19967 (struct test_ffI_f1_data): Likewise.
19968 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19969 based on value of EXTRA_EXPECTED.
19970 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19971 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19972 EXTRA_VAR based on value of EXTRA_EXPECTED.
19973 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19974 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19975 EXTRA_VAR based on value of EXTRA_EXPECTED.
19976 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19977 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19978 EXTRA_VAR based on value of EXTRA_EXPECTED.
19979 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19980 * math/gen-libm-test.pl (parse_args): Don't output initializers
19981 for extra output values.
19983 * math/libm-test.inc (check_int): Expect result to be exactly
19984 equal to expected value and do not handle ulps.
19985 (check_long): Likewise.
19986 (check_longlong): Likewise.
19988 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19990 (cimag_test_data): Likewise.
19991 (conj_test_data): Likewise.
19992 (copysign_test_data): Likewise.
19993 (cproj_test_data): Likewise.
19994 (creal_test_data): Likewise.
19995 (fabs_test_data): Likewise.
19996 (fdim_test_data): Likewise.
19997 (finite_test_data): Likewise.
19998 (floor_test_data): Likewise.
19999 (fmax_test_data): Likewise.
20000 (fmin_test_data): Likewise.
20001 (fmod_test_data): Likewise.
20002 (fpclassify_test_data): Likewise.
20003 (frexp_test_data): Likewise.
20004 (ilogb_test_data): Likewise.
20005 (isfinite_test_data): Likewise.
20006 (isgreater_test_data): Likewise.
20007 (isgreaterequal_test_data): Likewise.
20008 (isinf_test_data): Likewise.
20009 (isless_test_data): Likewise.
20010 (islessequal_test_data): Likewise.
20011 (islessgreater_test_data): Likewise.
20012 (isnan_test_data): Likewise.
20013 (isnormal_test_data): Likewise.
20014 (issignaling_test_data): Likewise.
20015 (isunordered_test_data): Likewise.
20016 (ldexp_test_data): Likewise.
20017 (lrint_test_data): Likewise.
20018 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20019 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20020 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20021 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20022 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20023 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20025 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20026 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20027 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20028 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20030 (lrint_downward_test_data): Test for "inexact" exceptions.
20031 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20032 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20033 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20035 (lrint_upward_test_data): Test for "inexact" exceptions.
20036 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20038 (llrint_test_data): Test for "inexact" exceptions.
20039 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20040 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20041 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20042 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20043 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20044 (llrint_downward_test_data): Test for "inexact" exceptions.
20045 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20046 (llrint_upward_test_data): Test for "inexact" exceptions.
20047 (logb_test_data): Likewise.
20048 (logb_downward_test_data): Likewise.
20049 (nextafter_test_data): Likewise.
20050 (nexttoward_test_data): Likewise.
20051 (remainder_test_data): Likewise.
20052 (remquo_test_data): Likewise.
20053 (scalbn_test_data): Likewise.
20054 (scalbln_test_data): Likewise.
20055 (signbit_test_data): Likewise.
20056 (sqrt_test_data): Likewise.
20057 (significand_test_data): Likewise.
20059 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 * benchtests/bench-modf.c (struct args): Mark arg0 as
20064 * scripts/bench.pl: Mark members of struct args as volatile.
20066 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20070 negative infinity on POWER6 or lower.
20071 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20073 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20076 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20077 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20078 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20079 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20080 (_FP_SETQNAN): New macro.
20081 (_FP_SETQNAN_SEMIRAW): Likewise.
20082 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20083 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20084 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20085 (FP_EXTEND): Use _FP_FRAC_SNANP.
20086 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20087 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20089 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20091 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20094 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20096 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20097 with DIVIDE_BY_ZERO_EXCEPTION.
20098 (gamma_test_data): Likewise.
20099 (lgamma_test_data): Likewise.
20100 (log_test_data): Likewise.
20101 (log10_test_data): Likewise.
20102 (log2_test_data): Likewise.
20103 (tgamma_test_data): Likewise.
20105 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20106 (acos_test_tonearest): Likewise.
20107 (acos_test_towardzero): Likewise.
20108 (acos_test_downward): Likewise.
20109 (acos_test_upward): Likewise.
20110 (acosh_test): Likewise.
20111 (asin_test): Likewise.
20112 (asin_test_tonearest): Likewise.
20113 (asin_test_towardzero): Likewise.
20114 (asin_test_downward): Likewise.
20115 (asin_test_upward): Likewise.
20116 (asinh_test): Likewise.
20117 (atan_test): Likewise.
20118 (atanh_test): Likewise.
20119 (atan2_test): Likewise.
20120 (cabs_test): Likewise.
20121 (cacos_test): Likewise.
20122 (cacosh_test): Likewise.
20123 (casin_test): Likewise.
20124 (casinh_test): Likewise.
20125 (catan_test): Likewise.
20126 (catanh_test): Likewise.
20127 (cbrt_test): Likewise.
20128 (ccos_test): Likewise.
20129 (ccosh_test): Likewise.
20130 (cexp_test): Likewise.
20131 (clog_test): Likewise.
20132 (clog10_test): Likewise.
20133 (cos_test): Likewise.
20134 (cos_test_tonearest): Likewise.
20135 (cos_test_towardzero): Likewise.
20136 (cos_test_downward): Likewise.
20137 (cos_test_upward): Likewise.
20138 (cosh_test): Likewise.
20139 (cosh_test_tonearest): Likewise.
20140 (cosh_test_towardzero): Likewise.
20141 (cosh_test_downward): Likewise.
20142 (cosh_test_upward): Likewise.
20143 (cpow_test): Likewise.
20144 (csin_test): Likewise.
20145 (csinh_test): Likewise.
20146 (csqrt_test): Likewise.
20147 (ctan_test): Likewise.
20148 (ctan_test_tonearest): Likewise.
20149 (ctan_test_towardzero): Likewise.
20150 (ctan_test_downward): Likewise.
20151 (ctan_test_upward): Likewise.
20152 (ctanh_test): Likewise.
20153 (ctanh_test_tonearest): Likewise.
20154 (ctanh_test_towardzero): Likewise.
20155 (ctanh_test_downward): Likewise.
20156 (ctanh_test_upward): Likewise.
20157 (erf_test): Likewise.
20158 (erfc_test): Likewise.
20159 (exp_test): Likewise.
20160 (exp_test_tonearest): Likewise.
20161 (exp_test_towardzero): Likewise.
20162 (exp_test_downward): Likewise.
20163 (exp_test_upward): Likewise.
20164 (exp10_test): Likewise.
20165 (exp2_test): Likewise.
20166 (expm1_test): Likewise.
20167 (fmod_test): Likewise.
20168 (gamma_test): Likewise.
20169 (hypot_test): Likewise.
20170 (j0_test): Likewise.
20171 (j1_test): Likewise.
20172 (jn_test): Likewise.
20173 (lgamma_test): Likewise.
20174 (log_test): Likewise.
20175 (log10_test): Likewise.
20176 (log1p_test): Likewise.
20177 (log2_test): Likewise.
20178 (logb_test_downward): Likewise.
20179 (pow_test): Likewise.
20180 (pow_test_tonearest): Likewise.
20181 (pow_test_towardzero): Likewise.
20182 (pow_test_downward): Likewise.
20183 (pow_test_upward): Likewise.
20184 (remainder_test): Likewise.
20185 (remquo_test): Likewise.
20186 (sin_test): Likewise.
20187 (sin_test_tonearest): Likewise.
20188 (sin_test_towardzero): Likewise.
20189 (sin_test_downward): Likewise.
20190 (sin_test_upward): Likewise.
20191 (sincos_test): Likewise.
20192 (sinh_test): Likewise.
20193 (sinh_test_tonearest): Likewise.
20194 (sinh_test_towardzero): Likewise.
20195 (sinh_test_downward): Likewise.
20196 (sinh_test_upward): Likewise.
20197 (sqrt_test): Likewise.
20198 (tan_test): Likewise.
20199 (tan_test_tonearest): Likewise.
20200 (tan_test_towardzero): Likewise.
20201 (tan_test_downward): Likewise.
20202 (tan_test_upward): Likewise.
20203 (tanh_test): Likewise.
20204 (tgamma_test): Likewise.
20205 (y0_test): Likewise.
20206 (y1_test): Likewise.
20207 (yn_test): Likewise.
20209 * math/gen-libm-test.pl (adjust_arg): Remove function.
20210 (special_function): Remove argument $in_func. Only handle
20211 generating output for tables of tests, not inside functions.
20212 (parse_args): Likewise.
20213 (generate_testfile): Remove variable $in_func. Update call to
20215 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20216 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20217 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20218 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20219 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20220 (MAX_VALUE_INIT): Rename macro to max_value.
20221 (MIN_VALUE_INIT): Rename macro to min_value.
20222 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20223 (plus_zero): Remove variable.
20224 (minus_zero): Likewise.
20225 (plus_infty): Likewise.
20226 (minus_infty): Likewise.
20227 (qnan_value): Likewise.
20228 (max_value): Likewise.
20229 (min_value): Likewise.
20230 (min_subnorm_value): Likewise.
20232 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20234 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20235 uint64_t or uint32_t usage.
20236 * crypt/sha256-block.c: Likewise.
20237 * crypt/sha256-crypt.c: Likewise.
20238 * crypt/sha256.c: Likewise.
20239 * crypt/sha512-block.c: Likewise.
20240 * crypt/sha512-crypt.c: Likewise.
20241 * crypt/sha512.c: Likewise.
20242 * debug/backtrace-tst.c: Likewise.
20243 * debug/pcprofiledump.c: Likewise.
20244 * elf/cache.c: Likewise.
20245 * elf/dl-cache.c: Likewise.
20246 * elf/dl-misc.c: Likewise.
20247 * elf/dl-profile.c: Likewise.
20248 * elf/dl-support.c: Likewise.
20249 * elf/ldconfig.c: Likewise.
20250 * elf/sprof.c: Likewise.
20251 * iconv/dummy-repertoire.c: Likewise.
20252 * iconv/iconv_charmap.c: Likewise.
20253 * iconv/skeleton.c: Likewise.
20254 * iconvdata/8bit-generic.c: Likewise.
20255 * iconvdata/cp737.h: Likewise.
20256 * iconvdata/cp775.h: Likewise.
20257 * iconvdata/ibm1008.h: Likewise.
20258 * iconvdata/ibm1025.h: Likewise.
20259 * iconvdata/ibm1046.h: Likewise.
20260 * iconvdata/ibm1097.h: Likewise.
20261 * iconvdata/ibm1112.h: Likewise.
20262 * iconvdata/ibm1122.h: Likewise.
20263 * iconvdata/ibm1123.h: Likewise.
20264 * iconvdata/ibm1124.h: Likewise.
20265 * iconvdata/ibm1129.h: Likewise.
20266 * iconvdata/ibm1130.h: Likewise.
20267 * iconvdata/ibm1132.h: Likewise.
20268 * iconvdata/ibm1133.h: Likewise.
20269 * iconvdata/ibm1137.h: Likewise.
20270 * iconvdata/ibm1140.h: Likewise.
20271 * iconvdata/ibm1141.h: Likewise.
20272 * iconvdata/ibm1142.h: Likewise.
20273 * iconvdata/ibm1143.h: Likewise.
20274 * iconvdata/ibm1144.h: Likewise.
20275 * iconvdata/ibm1145.h: Likewise.
20276 * iconvdata/ibm1146.h: Likewise.
20277 * iconvdata/ibm1147.h: Likewise.
20278 * iconvdata/ibm1148.h: Likewise.
20279 * iconvdata/ibm1149.h: Likewise.
20280 * iconvdata/ibm1153.h: Likewise.
20281 * iconvdata/ibm1154.h: Likewise.
20282 * iconvdata/ibm1155.h: Likewise.
20283 * iconvdata/ibm1156.h: Likewise.
20284 * iconvdata/ibm1157.h: Likewise.
20285 * iconvdata/ibm1158.h: Likewise.
20286 * iconvdata/ibm1160.h: Likewise.
20287 * iconvdata/ibm1161.h: Likewise.
20288 * iconvdata/ibm1162.h: Likewise.
20289 * iconvdata/ibm1163.h: Likewise.
20290 * iconvdata/ibm1164.h: Likewise.
20291 * iconvdata/ibm1166.h: Likewise.
20292 * iconvdata/ibm1167.h: Likewise.
20293 * iconvdata/ibm12712.h: Likewise.
20294 * iconvdata/ibm1390.h: Likewise.
20295 * iconvdata/ibm1399.h: Likewise.
20296 * iconvdata/ibm16804.h: Likewise.
20297 * iconvdata/ibm4517.h: Likewise.
20298 * iconvdata/ibm4899.h: Likewise.
20299 * iconvdata/ibm4909.h: Likewise.
20300 * iconvdata/ibm4971.h: Likewise.
20301 * iconvdata/ibm5347.h: Likewise.
20302 * iconvdata/ibm803.h: Likewise.
20303 * iconvdata/ibm856.h: Likewise.
20304 * iconvdata/ibm901.h: Likewise.
20305 * iconvdata/ibm902.h: Likewise.
20306 * iconvdata/ibm9030.h: Likewise.
20307 * iconvdata/ibm9066.h: Likewise.
20308 * iconvdata/ibm921.h: Likewise.
20309 * iconvdata/ibm922.h: Likewise.
20310 * iconvdata/ibm9448.h: Likewise.
20311 * iconvdata/isiri-3342.h: Likewise.
20312 * iconvdata/jis0201.h: Likewise.
20313 * include/link.h: Likewise.
20314 * include/netdb.h: Likewise.
20315 * inet/check_native.c: Likewise.
20316 * inet/check_pf.c: Likewise.
20317 * inet/getipv4sourcefilter.c: Likewise.
20318 * inet/getnameinfo.c: Likewise.
20319 * inet/getsourcefilter.c: Likewise.
20320 * inet/htonl.c: Likewise.
20321 * inet/setipv4sourcefilter.c: Likewise.
20322 * inet/setsourcefilter.c: Likewise.
20323 * inet/test-inet6_opt.c: Likewise.
20324 * inet/tst-network.c: Likewise.
20325 * locale/C-collate.c: Likewise.
20326 * locale/C-ctype.c: Likewise.
20327 * locale/C-time.c: Likewise.
20328 * locale/C-translit.h: Likewise.
20329 * locale/loadarchive.c: Likewise.
20330 * locale/programs/3level.h: Likewise.
20331 * locale/programs/charmap.c: Likewise.
20332 * locale/programs/charmap.h: Likewise.
20333 * locale/programs/ld-address.c: Likewise.
20334 * locale/programs/ld-collate.c: Likewise.
20335 * locale/programs/ld-ctype.c: Likewise.
20336 * locale/programs/ld-identification.c: Likewise.
20337 * locale/programs/ld-measurement.c: Likewise.
20338 * locale/programs/ld-messages.c: Likewise.
20339 * locale/programs/ld-monetary.c: Likewise.
20340 * locale/programs/ld-name.c: Likewise.
20341 * locale/programs/ld-numeric.c: Likewise.
20342 * locale/programs/ld-paper.c: Likewise.
20343 * locale/programs/ld-telephone.c: Likewise.
20344 * locale/programs/ld-time.c: Likewise.
20345 * locale/programs/linereader.c: Likewise.
20346 * locale/programs/locale.c: Likewise.
20347 * locale/programs/locarchive.c: Likewise.
20348 * locale/programs/locfile.h: Likewise.
20349 * locale/programs/repertoire.c: Likewise.
20350 * locale/programs/simple-hash.c: Likewise.
20351 * locale/programs/simple-hash.h: Likewise.
20352 * malloc/memusage.c: Likewise.
20353 * malloc/memusagestat.c: Likewise.
20354 * nis/nis_defaults.c: Likewise.
20355 * nis/nis_hash.c: Likewise.
20356 * nis/nis_print.c: Likewise.
20357 * nis/nis_xdr.c: Likewise.
20358 * nscd/connections.c: Likewise.
20359 * nscd/hstcache.c: Likewise.
20360 * nscd/nscd_gethst_r.c: Likewise.
20361 * nscd/nscd_getserv_r.c: Likewise.
20362 * nscd/nscd_helper.c: Likewise.
20363 * nscd/servicescache.c: Likewise.
20364 * nss/makedb.c: Likewise.
20365 * nss/nss_db/db-XXX.c: Likewise.
20366 * nss/nss_db/db-initgroups.c: Likewise.
20367 * nss/nss_db/db-netgrp.c: Likewise.
20368 * nss/nss_files/files-network.c: Likewise.
20369 * nss/nss_files/files-parse.c: Likewise.
20370 * posix/bug-regex5.c: Likewise.
20371 * posix/fnmatch_loop.c: Likewise.
20372 * posix/regcomp.c: Likewise.
20373 * posix/regexec.c: Likewise.
20374 * posix/tst-rfc3484-2.c: Likewise.
20375 * posix/tst-rfc3484-3.c: Likewise.
20376 * posix/tst-rfc3484.c: Likewise.
20377 * resolv/nss_dns/dns-canon.c: Likewise.
20378 * resolv/nss_dns/dns-network.c: Likewise.
20379 * resolv/res_init.c: Likewise.
20380 * resolv/res_mkquery.c: Likewise.
20381 * resolv/tst-aton.c: Likewise.
20382 * stdlib/cxa_atexit.c: Likewise.
20383 * stdlib/cxa_finalize.c: Likewise.
20384 * stdlib/gen-fpioconst.c: Likewise.
20385 * stdlib/strtol_l.c: Likewise.
20386 * string/tst-endian.c: Likewise.
20387 * sunrpc/auth_des.c: Likewise.
20388 * sunrpc/clnt_udp.c: Likewise.
20389 * sunrpc/rtime.c: Likewise.
20390 * sunrpc/svcauth_des.c: Likewise.
20391 * sunrpc/xdr.c: Likewise.
20392 * sunrpc/xdr_intXX_t.c: Likewise.
20393 * sunrpc/xdr_rec.c: Likewise.
20394 * sysdeps/generic/ldconfig.h: Likewise.
20395 * sysdeps/generic/ldsodefs.h: Likewise.
20396 * sysdeps/generic/memusage.h: Likewise.
20397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20407 * sysdeps/posix/getaddrinfo.c: Likewise.
20408 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20409 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20410 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20411 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20412 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20413 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20414 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20415 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20416 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20418 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20419 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20420 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20421 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20422 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20423 * sysdeps/x86_64/dl-tls.h: Likewise.
20424 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20425 * time/alt_digit.c: Likewise.
20426 * time/era.c: Likewise.
20427 * wcsmbs/tst-c16c32-1.c: Likewise.
20429 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20431 * math/libm-test.inc (struct test_sincos_data): New type.
20432 (RUN_TEST_LOOP_sincos): New macro.
20433 (sincos_test_data): New variable.
20434 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20436 2013-05-16 Richard Henderson <rth@redhat.com>
20438 * math/atest-exp2.c (LIMB64): New macro.
20439 (CONSTSZ): New macro.
20440 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20442 (print_mpn_fp): ... to function scope.
20443 (read_mpn_hex): Remove.
20444 (get_log2): Remove.
20445 (exp2_mpn): Use mp_log2.
20446 (main): Use mp_exp1.
20448 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20450 * math/libm-test.inc: Remove comment about not testing "inexact"
20452 (INEXACT_EXCEPTION): New macro.
20453 (NO_INEXACT_EXCEPTION): Likewise.
20454 (INVALID_EXCEPTION_OK): Update value.
20455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20456 (OVERFLOW_EXCEPTION_OK): Likewise.
20457 (UNDERFLOW_EXCEPTION_OK): Likewise.
20458 (IGNORE_ZERO_INF_SIGN): Likewise.
20459 (ERRNO_UNCHANGED): Likewise.
20460 (ERRNO_EDOM): Likewise.
20461 (ERRNO_ERANGE): Likewise.
20462 (test_exceptions): Handle testing "inexact" exceptions.
20463 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20464 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20465 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20466 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20468 (rint_towardzero_test_data): Likewise.
20469 (rint_downward_test_data): Likewise.
20470 (rint_upward_test_data): Likewise.
20472 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20473 with OVERFLOW_EXCEPTION.
20474 (exp10_test_data): Likewise.
20475 (exp2_test_data): Likewise.
20476 (expm1_test_data): Likewise.
20477 (lgamma_test_data): Likewise.
20478 (pow_test_data): Likewise.
20479 (tgamma_test_data): Likewise.
20480 (yn_test_data): Remove duplicate test of overflow.
20482 * math/libm-test.inc (struct test_cc_c_data): New type.
20483 (RUN_TEST_LOOP_cc_c): New macro.
20484 (cpow_test_data): New variable.
20485 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20487 * math/libm-test.inc (struct test_f_L_data): New type.
20488 (RUN_TEST_LOOP_f_L): New macro.
20489 (llrint_test_data): New variable.
20490 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20491 (llrint_tonearest_test_data): New variable.
20492 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20493 (llrint_towardzero_test_data): New variable.
20494 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20495 (llrint_downward_test_data): New variable.
20496 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20497 (llrint_upward_test_data): New variable.
20498 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20499 (llround_test_data): New variable.
20500 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20502 2013-05-13 Peter Collingbourne <pcc@google.com>
20504 * math/atest-exp2.c (get_log2): Remove const attribute.
20506 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20508 * math/libm-test.inc (struct test_f_l_data): New type.
20509 (RUN_TEST_LOOP_f_l): New macro.
20510 (lrint_test_data): New variable.
20511 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20512 (lrint_tonearest_test_data): New variable.
20513 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20514 (lrint_towardzero_test_data): New variable.
20515 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20516 (lrint_downward_test_data): New variable.
20517 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20518 (lrint_upward_test_data): New variable.
20519 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20520 (lround_test_data): New variable.
20521 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20523 2013-05-15 Peter Collingbourne <pcc@google.com>
20525 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20526 (EXTRACT_WORDS64) Use where appropriate.
20527 (INSERT_WORDS64) Likewise.
20529 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20530 constraints with x constraints.
20531 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20533 * malloc/obstack.c (_obstack_compat): Add initializer.
20535 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20537 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20538 si_trapno and add si_addr_lsb to _sifields.sigfault.
20539 (si_trapno): Remove macro.
20540 (si_addr_lsb): Define new macro.
20541 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20543 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20545 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20546 instead of TEST_f_l.
20547 (llrint_test_tonearest): Likewise.
20548 (llrint_test_towardzero): Likewise.
20549 (llrint_test_downward): Likewise.
20550 (llrint_test_upward): Likewise.
20551 (llround_test): Likewise.
20553 * math/libm-test.inc (struct test_f_i_data): Add comment.
20554 (RUN_TEST_LOOP_f_b): New macro.
20555 (RUN_TEST_LOOP_f_b_tg): Likewise.
20556 (finite_test_data): New variable.
20557 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20558 (isfinite_test_data): New variable.
20559 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20560 (isinf_test_data): New variable.
20561 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20562 (isnan_test_data): New variable.
20563 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20564 (isnormal_test_data): New variable.
20565 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20566 (issignaling_test_data): New variable.
20567 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20568 (signbit_test_data): New variable.
20569 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20571 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20572 with INVALID_EXCEPTION.
20573 (acosh_test_data): Likewise.
20574 (asin_test_data): Likewise.
20575 (atanh_test_data): Likewise.
20576 (fmod_test_data): Likewise.
20577 (log_test_data): Likewise.
20578 (log10_test_data): Likewise.
20579 (log2_test_data): Likewise.
20580 (pow_test_data): Likewise.
20581 (sqrt_test_data): Likewise.
20582 (y0_test_data): Likewise.
20583 (y1_test_data): Likewise.
20584 (yn_test_data): Likewise.
20586 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20589 * math/libm-test.inc (struct test_ff_i_data): New type.
20590 (RUN_TEST_LOOP_ff_i_tg): New macro.
20591 (isgreater_test_data): New variable.
20592 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20593 (isgreaterequal_test_data): New variable.
20594 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20595 (isless_test_data): New variable.
20596 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20597 (islessequal_test_data): New variable.
20598 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20599 (islessgreater_test_data): New variable.
20600 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20601 (isunordered_test_data): New variable.
20602 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20604 2013-05-14 David S. Miller <davem@davemloft.net>
20606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20608 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20610 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20612 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20614 (struct test_f_i_data): Change type of max_ulp to int.
20616 * math/libm-test.inc (test_ffI_f1_data): New type.
20617 (RUN_TEST_LOOP_ffI_f1): New macro.
20618 (remquo_test_data): New variable.
20619 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20621 * setjmp/tst-setjmp-fp.c: New file.
20622 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20623 (link-libm): New variable.
20624 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20626 * math/libm-test.inc (struct test_f_i_data): New type.
20627 (RUN_TEST_LOOP_f_i): New macro.
20628 (RUN_TEST_LOOP_f_i_tg): Likewise.
20629 (fpclassify_test_data): New variable.
20630 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20631 (ilogb_test_data): New variable.
20632 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20634 * math/libm-test.inc (scalbln_test): Correct function name in END
20637 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20638 (RUN_TEST_LOOP_fI_f1): New macro.
20639 (frexp_test_data): New variable.
20640 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20642 * math/libm-test.inc (struct test_fF_f1_data): New type.
20643 (RUN_TEST_LOOP_fF_f1): New macro.
20644 (modf_test_data): New variable.
20645 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20647 * math/libm-test.inc (struct test_f_f1_data): New type.
20648 (RUN_TEST_LOOP_f_f1): New macro.
20649 (gamma_test_data): New variable.
20650 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20651 (lgamma_test_data): New variable.
20652 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20654 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20656 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20657 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20658 (main): Comment "tls" pseudo-hwcap.
20660 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20662 * math/libm-test.inc (struct test_fl_f_data): New type.
20663 (RUN_TEST_LOOP_fl_f): New variable.
20664 (scalbln_test_data): New variable.
20665 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20667 * math/libm-test.inc (struct test_fi_f_data): New type.
20668 (RUN_TEST_LOOP_fi_f): New macro.
20669 (ldexp_test_data): New variable.
20670 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20671 (scalbn_test_data): New variable.
20672 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20674 * math/libm-test.inc (struct test_c_f_data): New type.
20675 (RUN_TEST_LOOP_c_f): New macro.
20676 (cabs_test_data): New variable.
20677 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20678 (carg_test_data): New variable.
20679 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20680 (cimag_test_data): New variable.
20681 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20682 (creal_test_data): New variable.
20683 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20685 * math/libm-test.inc (struct test_if_f_data): New type.
20686 (RUN_TEST_LOOP_if_f): New macro.
20687 (jn_test_data): New variable.
20688 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20689 (yn_test_data): New variable.
20690 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20692 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20694 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20696 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20697 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20699 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20701 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20702 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20703 (bench-deps): Add bench-timing.h.
20704 * benchtests-bench-skeleton.c: Include bench-timing.h.
20705 (main): Use TIMING_* macros instead of clock_gettime.
20706 * benchtests/bench-timing.h: New file.
20709 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20710 Renamed from _LIB_VERSION.
20711 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20713 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20715 * math/libm-test.inc (struct test_fff_f_data): New type.
20716 (RUN_TEST_LOOP_fff_f): New macro.
20717 (fma_test_data): New variable.
20718 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20719 (fma_towardzero_test_data): New variable.
20720 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20721 (fma_downward_test_data): New variable.
20722 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20723 (fma_upward_test_data): New variable.
20724 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20726 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20727 (struct test_c_c_data): New type.
20728 (RUN_TEST_LOOP_c_c): New macro.
20729 (cacos_test_data): New variable.
20730 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20731 (cacosh_test_data): New variable.
20732 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20733 (casin_test_data): New variable.
20734 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20735 (casinh_test_data): New variable.
20736 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20737 (catan_test_data): New variable.
20738 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20739 (catanh_test_data): New variable.
20740 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20741 (ccos_test_data): New variable.
20742 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20743 (ccosh_test_data): New variable.
20744 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20745 (cexp_test_data): New variable.
20746 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20747 (clog_test_data): New variable.
20748 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20749 (clog10_test_data): New variable.
20750 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20751 (conj_test_data): New variable.
20752 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20753 (cproj_test_data): New variable.
20754 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20755 (csin_test_data): New variable.
20756 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20757 (csinh_test_data): New variable.
20758 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20759 (csqrt_test_data): New variable.
20760 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20761 (ctan_test_data): New variable.
20762 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20763 (ctan_tonearest_test_data): New variable.
20764 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20765 (ctan_towardzero_test_data): New variable.
20766 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20767 (ctan_downward_test_data): New variable.
20768 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20769 (ctan_upward_test_data): New variable.
20770 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20771 (ctanh_test_data): New variable.
20772 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20773 (ctanh_tonearest_test_data): New variable.
20774 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20775 (ctanh_towardzero_test_data): New variable.
20776 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20777 (ctanh_downward_test_data): New variable.
20778 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20779 (ctanh_upward_test_data): New variable.
20780 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20781 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20784 * math/libm-test.inc (struct test_ff_f_data): New type.
20785 (struct test_ff_f_data_nexttoward): Likewise.
20786 (RUN_TEST_LOOP_2_f): New macro.
20787 (RUN_TEST_LOOP_ff_f): Likewise.
20788 (atan2_test_data): New variable.
20789 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20790 (copysign_test_data): New variable.
20791 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20792 (fdim_test_data): New variable.
20793 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20794 (fmax_test_data): New variable.
20795 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20796 (fmin_test_data): New variable.
20797 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20798 (fmod_test_data): New variable.
20799 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20800 (hypot_test_data): New variable.
20801 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20802 (nextafter_test_data): New variable.
20803 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20804 (nexttoward_test_data): New variable.
20805 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20806 (pow_test_data): New variable.
20807 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20808 (pow_tonearest_test_data): New variable.
20809 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20810 (pow_towardzero_test_data): New variable.
20811 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20812 (pow_downward_test_data): New variable.
20813 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20814 (pow_upward_test_data): New variable.
20815 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20816 (remainder_test_data): New variable.
20817 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20818 (scalb_test_data): New variable.
20819 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20820 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20824 * math/libm-test.inc (fma_test): Use max_value instead of local
20826 (nextafter_test): Likewise.
20828 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20829 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20830 (acos_downward_test_data): New variable.
20831 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20832 (acos_upward_test_data): New variable.
20833 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20834 (acosh_test_data): New variable.
20835 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20836 (asin_test_data): New variable.
20837 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20838 (asin_tonearest_test_data): New variable.
20839 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20840 (asin_towardzero_test_data): New variable.
20841 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20842 (asin_downward_test_data): New variable.
20843 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20844 (asin_upward_test_data): New variable.
20845 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20846 (asinh_test_data): New variable.
20847 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20848 (atan_test_data): New variable.
20849 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20850 (atanh_test_data): New variable.
20851 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20852 (cbrt_test_data): New variable.
20853 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20854 (ceil_test_data): New variable.
20855 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20856 (cos_test_data): New variable.
20857 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20858 (cos_tonearest_test_data): New variable.
20859 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20860 (cos_towardzero_test_data): New variable.
20861 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20862 (cos_downward_test_data): New variable.
20863 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20864 (cos_upward_test_data): New variable.
20865 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20866 (cosh_test_data): New variable.
20867 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20868 (cosh_tonearest_test_data): New variable.
20869 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20870 (cosh_towardzero_test_data): New variable.
20871 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20872 (cosh_downward_test_data): New variable.
20873 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20874 (cosh_upward_test_data): New variable.
20875 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20876 (erf_test_data): New variable.
20877 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20878 (erfc_test_data): New variable.
20879 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20880 (exp_test_data): New variable.
20881 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20882 (exp_tonearest_test_data): New variable.
20883 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20884 (exp_towardzero_test_data): New variable.
20885 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20886 (exp_downward_test_data): New variable.
20887 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20888 (exp_upward_test_data): New variable.
20889 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20890 (exp10_test_data): New variable.
20891 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20892 (exp2_test_data): New variable.
20893 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20894 (expm1_test_data): New variable.
20895 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20896 (fabs_test_data): New variable.
20897 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20898 (floor_test_data): New variable.
20899 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20900 (j0_test_data): New variable.
20901 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20902 (j1_test_data): New variable.
20903 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20904 (log_test_data): New variable.
20905 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20906 (log10_test_data): New variable.
20907 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20908 (log1p_test_data): New variable.
20909 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20910 (log2_test_data): New variable.
20911 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20912 (logb_test_data): New variable.
20913 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20914 (logb_downward_test_data): New variable.
20915 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20916 (nearbyint_test_data): New variable.
20917 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20918 (rint_test_data): New variable.
20919 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20920 (rint_tonearest_test_data): New variable.
20921 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20922 (rint_towardzero_test_data): New variable.
20923 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20924 (rint_downward_test_data): New variable.
20925 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20926 (rint_upward_test_data): New variable.
20927 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20928 (round_test_data): New variable.
20929 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20930 (sin_test_data): New variable.
20931 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20932 (sin_tonearest_test_data): New variable.
20933 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20934 (sin_towardzero_test_data): New variable.
20935 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20936 (sin_downward_test_data): New variable.
20937 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20938 (sin_upward_test_data): New variable.
20939 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20940 (sinh_test_data): New variable.
20941 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20942 (sinh_tonearest_test_data): New variable.
20943 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20944 (sinh_towardzero_test_data): New variable.
20945 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20946 (sinh_downward_test_data): New variable.
20947 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20948 (sinh_upward_test_data): New variable.
20949 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20950 (sqrt_test_data): New variable.
20951 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20952 (tan_test_data): New variable.
20953 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20954 (tan_tonearest_test_data): New variable.
20955 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20956 (tan_towardzero_test_data): New variable.
20957 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20958 (tan_downward_test_data): New variable.
20959 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20960 (tan_upward_test_data): New variable.
20961 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20962 (tanh_test_data): New variable.
20963 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20964 (tgamma_test_data): New variable.
20965 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20966 (trunc_test_data): New variable.
20967 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20968 (y0_test_data): New variable.
20969 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20970 (y1_test_data): New variable.
20971 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20972 (significand_test_data): New variable.
20973 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20975 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20978 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20980 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20982 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20984 2013-05-10 Andreas Jaeger <aj@suse.de>
20987 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20988 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20990 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20992 * math/gen-libm-test.pl (adjust_arg): New function.
20993 (special_functions): Handle generating output in both functions
20995 (parse_args): Likewise.
20996 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20997 $in_func argument to parse_args.
20998 * math/libm-test.inc (struct test_f_f_data): New type.
20999 (IF_ROUND_INIT_): New macro.
21000 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21001 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21002 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21003 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21004 (ROUND_RESTORE_): Likewise.
21005 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21006 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21007 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21008 (ROUND_RESTORE_FE_UPWARD): Likewise.
21009 (RUN_TEST_LOOP_f_f): New macro.
21010 (acos_test_data): New variable.
21011 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21012 (acos_tonearest_test_data): New variable.
21013 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21015 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21017 * benchtests/bench-skeleton.c (startup): Fix coding style.
21019 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21022 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21023 negative infinity argument.
21024 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21025 negative infinity argument.
21026 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21027 negative infinity argument.
21028 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21031 2013-05-10 Florian Weimer <fweimer@redhat.com>
21033 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21034 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21035 * iconv/iconv_prog.c (main): Likewise.
21036 * locale/programs/charmap-dir.c (charmap_readdir)
21037 (fopen_uncompressed): Likewise.
21038 * locale/programs/locfile.c (siblings_uncached)
21039 (write_locale_data): Use lstat64 instead of lstat.
21040 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21043 2013-05-10 Andreas Jaeger <aj@suse.de>
21046 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21048 Include <locale.h>.
21050 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21052 * elf/dl-close.c (_dl_close_worker): Add comments.
21054 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21057 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21059 (__ieee754_rem_pio2l): Update comments.
21062 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21064 (__ieee754_rem_pio2l): Update comments.
21066 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21067 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21069 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21072 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21073 (M_PI_34_LOG10El): Likewise.
21074 (M_PI2_LOG10El): Likewise.
21075 (M_PI4_LOG10El): Likewise.
21076 (M_PI_LOG10El): Likewise.
21078 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21082 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21084 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21085 (MINUS_ZERO_INIT): Likewise.
21086 (PLUS_INFTY_INIT): Likewise.
21087 (MINUS_INFTY_INIT): Likewise.
21088 (QNAN_VALUE_INIT): Likewise.
21089 (MAX_VALUE_INIT): Likewise.
21090 (MIN_VALUE_INIT): Likewise.
21091 (MIN_SUBNORM_VALUE_INIT): Likewise.
21092 (plus_zero): Initialize with PLUS_ZERO_INIT.
21093 (minus_zero): Initialize with MINUS_ZERO_INIT.
21094 (plus_infty): Initialize with PLUS_INFTY_INIT.
21095 (minus_infty): Initialize with MINUS_INFTY_INIT.
21096 (qnan_value): Initialize with QNAN_VALUE_INIT.
21097 (max_value): Initialize with MAX_VALUE_INIT.
21098 (min_value): Initialize with MIN_VALUE_INIT.
21099 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21101 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21102 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21103 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21104 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21106 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21107 (RUN_TEST_2_f): Likewise.
21108 (RUN_TEST_ff_f): Likewise.
21109 (RUN_TEST_fi_f): Likewise.
21110 (RUN_TEST_fl_f): Likewise.
21111 (RUN_TEST_fff_f): Likewise.
21112 (RUN_TEST_c_f): Likewise.
21113 (RUN_TEST_f_f1): Likewise.
21114 (RUN_TEST_fF_f1): Likewise.
21115 (RUN_TEST_fI_f1): Likewise.
21116 (RUN_TEST_ffI_f1): Likewise.
21117 (RUN_TEST_c_c): Likewise.
21118 (RUN_TEST_cc_c): Likewise.
21119 (RUN_TEST_f_i): Likewise.
21120 (RUN_TEST_f_i_tg): Likewise.
21121 (RUN_TEST_ff_i_tg): Likewise.
21122 (RUN_TEST_f_b): Likewise.
21123 (RUN_TEST_f_b_tg): Likewise.
21124 (RUN_TEST_f_l): Likewise.
21125 (RUN_TEST_f_L): Likewise.
21126 (RUN_TEST_sincos): Likewise.
21127 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21128 whether to show exceptions. Do not include ");\n" in return
21130 (special_functions): Output call to RUN_TEST_sincos instead of
21131 check_float calls. Update calls to new_test.
21132 (parse_args): Output call to single RUN_TEST_* macro instead of
21133 check_* calls and other assignments. Update calls to new_test.
21139 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21140 input to result for tgamma overflow.
21141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21142 (gamma_coeff): New variable.
21143 (NCOEFF): New macro.
21144 (gamma_positive): New function.
21145 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21146 underflow here. Use gamma_positive instead of exp (lgamma) for
21148 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21149 (gamma_coeff): New variable.
21150 (NCOEFF): New macro.
21151 (gammaf_positive): New function.
21152 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21153 underflow here. Use gamma_positive instead of exp (lgamma) for
21155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21156 (gamma_coeff): New variable.
21157 (NCOEFF): New macro.
21158 (gammal_positive): New function.
21159 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21160 underflow here. Use gamma_positive instead of exp (lgamma) for
21162 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21163 (gamma_coeff): New variable.
21164 (NCOEFF): New macro.
21165 (gammal_positive): New function.
21166 (__ieee754_gammal_r): Handle positive infinity, overflow and
21167 underflow here. Handle NaN the same as positive infinity. Remove
21168 check x < 0xffffffff for negative integers. Use gamma_positive
21169 instead of exp (lgamma) for other arguments.
21170 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21171 (gamma_coeff): New variable.
21172 (NCOEFF): New macro.
21173 (gammal_positive): New function.
21174 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21175 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21179 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21180 * sysdeps/generic/math_private.h (__gamma_productf): New
21182 (__gamma_product): Likewise.
21183 (__gamma_productl): Likewise.
21184 * math/Makefile (libm-calls): Add gamma_product.
21185 * math/libm-test.inc (tgamma_test): Add more tests.
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21189 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21191 * benchtests/bench-skeleton.c (main): Preheat CPU.
21193 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21195 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21197 2013-05-07 Roland McGrath <roland@hack.frob.com>
21199 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21200 and _dl_skip_args_internal.
21202 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21204 * manual/message.texi (Message Translation): Talk about users.
21205 Message to key mapping impacts design.
21207 2013-05-06 Roland McGrath <roland@hack.frob.com>
21209 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21211 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21213 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21214 * sysdeps/wordsize-64/glob64.c: ... here.
21216 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21217 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21220 * debug/getlogin_r_chk.c: Moved to ...
21221 * login/getlogin_r_chk.c: ... here.
21222 * debug/Makefile (routines): Move getlogin_r_chk to ...
21223 * login/Makefile (routines): ... here.
21224 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21225 * login/Versions (libc: GLIBC_2.4): ... here.
21227 * io/poll.c (__poll): Renamed from poll.
21228 Add libc_hidden_def.
21229 (poll): Define as weak alias.
21231 * debug/ptsname_r_chk.c: Moved to ...
21232 * login/ptsname_r_chk.c: ... here.
21233 * debug/Makefile (routines): Move ptsname_r_chk to ...
21234 * login/Makefile (routines): ... here.
21235 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21236 * login/Versions (libc: GLIBC_2.4): ... here.
21238 * posix/getlogin.c: Moved to ...
21239 * login/getlogin.c: ... here.
21240 * posix/getlogin_r.c: Moved to ...
21241 * login/getlogin_r.c: ... here.
21242 * posix/getlogin_r.c: Moved to ...
21243 * login/getlogin_r.c: ... here.
21244 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21245 * login/Makefile (routines): ... here.
21246 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21247 * login/Versions (libc: GLIBC_2.0): ... here.
21249 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21250 (setrlimit): Define as weak alias.
21252 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21253 Call __ names for open, ftruncate, and close.
21254 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21255 (truncate): Define as weak alias.
21257 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21259 * math/gen-libm-test.pl (parse_args): Initialize x before each
21260 test of frexp, modf and remquo.
21262 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21263 test signgam value.
21265 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21269 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21273 2013-05-06 Roland McGrath <roland@hack.frob.com>
21275 * elf/dl-writev.h: New file.
21276 * elf/dl-misc.c: Include it.
21277 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21278 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21280 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21282 * math/libm-test.inc (noXFails): Remove variable.
21283 (noXPasses): Likewise.
21284 (BUILD_COMPLEX_INT): Remove macro.
21285 (print_screen): Remove xfail argument.
21286 (print_screen_max_error): Likewise.
21287 (update_stats): Likewise.
21288 (print_max_error): Likewise. Update calls to other affected
21290 (print_complex_max_error): Likewise.
21291 (test_single_exception): Update calls to print_screen.
21292 (test_single_errno): Likewise.
21293 (check_float_internal): Remove xfail argument. Update calls to
21294 other affected functions.
21295 (check_float): Likewise.
21296 (check_complex): Likewise.
21297 (check_int): Likewise.
21298 (check_long): Likewise.
21299 (check_bool): Likewise.
21300 (check_longlong): Likewise.
21301 (main): Don't print noXFails and noXPasses.
21302 * math/gen-libm-test.pl (top level): Don't mention expected
21303 failure handling in comment.
21304 (new_test): Don't handle expected failures.
21305 (parse_args): Don't mention expected failure handling in comment.
21306 (generate_testfile): Don't handle expected failures.
21307 (parse_ulps): Likewise.
21308 (print_ulps_file): Likewise.
21309 (get_failure): Remove function.
21310 (output_test): Don't handle expected failures.
21311 * make/README.libm-test: Don't mention expected failure handling.
21313 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21314 (minus_zero): Likewise.
21315 (plus_infty): Likewise.
21316 (minus_infty): Likewise.
21317 (qnan_value): Likewise.
21318 (max_value): Likewise.
21319 (min_value): Likewise.
21320 (min_subnorm_value): Likewise.
21321 (initialize): Do not initialize those variables dynamically.
21323 2013-05-03 Roland McGrath <roland@hack.frob.com>
21325 * io/open.c (__open_2): Moved to ...
21326 * io/open_2.c: ... this new file.
21327 * io/open64.c (__open64_2): Moved to ...
21328 * io/open64_2.c: ... this new file.
21329 * io/openat.c (__openat_2): Moved to ...
21330 * io/openat_2.c: ... this new file.
21331 * io/openat64.c (__openat64_2): Moved to ...
21332 * io/openat64_2.c: ... this new file.
21333 * io/Makefile (routines): Add them.
21334 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21335 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21336 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21337 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21338 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21339 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21340 (__openat64): Add hidden_ver.
21341 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21342 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21344 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21345 Separately conditionalize setting of GLRO(dl_sysinfo) so
21346 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21347 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21349 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21354 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21355 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21356 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21357 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21358 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21360 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21362 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21363 test signgam value.
21365 * math/libm-test.inc (hypot_test): Do not use
21366 IGNORE_ZERO_INF_SIGN.
21368 2013-05-03 Andreas Jaeger <aj@suse.de>
21370 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21372 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21373 (PF_MAX): Adjust for VSOCK change.
21375 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21379 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21382 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21383 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21384 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21386 2013-05-02 David S. Miller <davem@davemloft.net>
21388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21390 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21392 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21394 2013-05-01 Roland McGrath <roland@hack.frob.com>
21396 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21398 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21401 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21402 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21403 Use __attribute__ ((__gnu_inline__)).
21404 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21405 Don't use __attribute__ ((__gnu_inline__)).
21407 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21410 * math/s_catan.c (__catan): Handle small real or imaginary part of
21411 input specially to avoid spurious underflow.
21412 * math/s_catanf.c (__catanf): Likewise.
21413 * math/s_catanh.c (__catanh): Likewise.
21414 * math/s_catanhf.c (__catanhf): Likewise.
21415 * math/s_catanhl.c (__catanhl): Likewise.
21416 * math/s_catanl.c (__catanl): Likewise.
21417 * math/libm-test.inc (catan_test): Add more tests.
21418 (catanh_test): Likewise.
21419 * sysdeps/i386/fpu/libm-test-ulps: Update.
21420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21422 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21426 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21429 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21430 accurately for denominator in atan2.
21431 * math/s_catanf.c (__catanf): Likewise.
21432 * math/s_catanh.c (__catanh): Likewise.
21433 * math/s_catanhf.c (__catanhf): Likewise.
21434 * math/s_catanhl.c (__catanhl): Likewise.
21435 * math/s_catanl.c (__catanl): Likewise.
21436 * math/libm-test.inc (catan_test): Add more tests.
21437 (catanh_test): Likewise.
21438 * sysdeps/i386/fpu/libm-test-ulps: Update.
21439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21441 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21443 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21445 * benchtests/Makefile (bench): Remove slow benchmarks.
21446 * benchtests/atan-inputs: Add slow benchmark inputs.
21447 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21448 (BENCH_FUNC): Accept variant offset.
21450 * benchtests/bench-skeleton.c (main): Run benchmark for each
21452 * benchtests/cos-inputs: Add slow benchmark inputs.
21453 * benchtests/exp-inputs: Likewise.
21454 * benchtests/pow-inputs: Likewise.
21455 * benchtests/sin-inputs: Likewise.
21456 * benchtests/slowatan-inputs: Remove.
21457 * benchtests/slowatan.c: Remove.
21458 * benchtests/slowcos-inputs: Remove.
21459 * benchtests/slowcos.c: Remove.
21460 * benchtests/slowexp-inputs: Remove.
21461 * benchtests/slowexp.c: Remove.
21462 * benchtests/slowpow-inputs: Remove.
21463 * benchtests/slowpow.c: Remove.
21464 * benchtests/slowsin-inputs: Remove.
21465 * benchtests/slowsin.c: Remove.
21466 * benchtests/slowtan-inputs: Remove.
21467 * benchtests/slowtan.c: Remove.
21468 * benchtests/tan-inputs: Add slow benchmark inputs.
21469 * scripts/bench.pl: Parse comments and directives.
21471 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21473 ($(objpfx)bench-%.c): Remove *-ITER.
21474 * benchtests/bench-modf.c: Remove definition of ITER.
21475 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21476 (main): Loop for DURATION seconds instead of fixed number of
21478 * scripts/bench.pl: Don't expect iterations in parameters.
21480 2013-04-29 Roland McGrath <roland@hack.frob.com>
21482 * io/fchdir.c (__fchdir): Renamed from fchdir.
21483 (fchdir): Define as weak alias.
21485 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21487 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21488 (ERRNO_EDOM): Likewise.
21489 (ERRNO_ERANGE): Likewise.
21490 (noErrnoTests): New variable.
21491 (init_max_error): Set errno to 0.
21492 (test_single_errno): New function.
21493 (test_errno): Likewise.
21494 (check_float_internal): Call test_errno. Set errno to 0.
21495 (check_complex): Refer to errno tests in comment.
21496 (check_int): Call test_errno. Set errno to 0.
21497 (check_long): Likewise.
21498 (check_bool): Likewise.
21499 (check_longlong): Likewise.
21500 (cos_test): Use ERRNO_* flags for errno tests instead of
21502 (expm1_test): Likewise.
21503 (fmod_test): Likewise.
21504 (ilogb_test): Likewise.
21505 (lgamma_test): Likewise.
21506 (pow_test): Likewise.
21507 (remainder_test): Likewise.
21508 (sin_test): Likewise.
21509 (tan_test): Likewise.
21510 (yn_test): Likewise.
21511 (initialize): Set errno to 0.
21512 (main): Print number of errno tests.
21513 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21515 2013-04-29 Andreas Jaeger <aj@suse.de>
21518 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21522 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21523 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21527 * stdlib/random.c (__initstate): Return NULL if
21531 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21532 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21535 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21539 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21541 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21542 of individual tests.
21543 (casin_test): Likewise.
21544 (casinh_test): Likewise.
21546 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21549 * math/s_catan.c (__catan): Handle arguments with large real or
21550 imaginary part separately without squaring.
21551 * math/s_catanf.c (__catanf): Likewise.
21552 * math/s_catanh.c (__catanh): Likewise.
21553 * math/s_catanhf.c (__catanhf): Likewise.
21554 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21556 (__catanhl): Handle arguments with large real or imaginary part
21557 separately without squaring.
21558 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21560 (__catanl): Handle arguments with large real or imaginary part
21561 separately without squaring.
21562 * math/libm-test.inc (catan_test): Add more tests.
21563 (catanh_test): Likewise.
21564 * sysdeps/i386/fpu/libm-test-ulps: Update.
21565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21567 2013-04-27 Andreas Jaeger <aj@suse.de>
21570 * stdlib/stdlib.h: Update guards for qecvt.
21571 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21574 2013-04-27 Allan McRae <allan@archlinux.org>
21576 * sysdeps/i386/fpu/libm-test-ulps: Update.
21578 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21581 * math/s_catan.c: Include <float.h>.
21582 (__catan): Ensure underflow exception occurs for underflowed
21584 * math/s_catanf.c: Include <float.h>.
21585 (__catanf): Ensure underflow exception occurs for underflowed
21587 * math/s_catanh.c: Include <float.h>.
21588 (__catanh): Ensure underflow exception occurs for underflowed
21590 * math/s_catanhf.c: Include <float.h>.
21591 (__catanhf): Ensure underflow exception occurs for underflowed
21593 * math/s_catanhl.c: Include <float.h>.
21594 (__catanhl): Ensure underflow exception occurs for underflowed
21596 * math/s_catanl.c: Include <float.h>.
21597 (__catanl): Ensure underflow exception occurs for underflowed
21599 * math/libm-test.inc (catan_test): Add more tests.
21600 (catanh_test): Likewise.
21603 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21604 underflowed result.
21605 * math/s_ccoshf.c (__ccoshf): Likewise.
21606 * math/s_ccoshl.c (__ccoshl): Likewise.
21607 * math/s_csin.c (__csin): Likewise.
21608 * math/s_csinf.c (__csinf): Likewise.
21609 * math/s_csinh.c (__csinh): Likewise.
21610 * math/s_csinhf.c (__csinhf): Likewise.
21611 * math/s_csinhl.c (__csinhl): Likewise.
21612 * math/s_csinl.c (__csinl): Likewise.
21613 * math/libm-test.inc (ccos_test): Add more tests.
21614 (ccosh_test): Likewise.
21615 (csin_test): Likewise.
21616 (csinh_test): Likewise.
21618 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21620 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21621 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21622 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21623 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21624 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21625 powerpc/power5+/fpu folders.
21626 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21629 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21633 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21635 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21636 additions to variable.
21637 [$(config-machine) = x86_64] (modules-names): Likewise.
21638 ($(objpfx)tst-audit3): Remove dependency.
21639 ($(objpfx)tst-audit3.out): Likewise.
21640 ($(objpfx)tst-audit4): Likewise.
21641 ($(objpfx)tst-audit4.out): Likewise.
21642 ($(objpfx)tst-audit5): Likewise.
21643 ($(objpfx)tst-audit5.out): Likewise.
21644 ($(objpfx)tst-audit6): Likewise.
21645 ($(objpfx)tst-audit6.out): Likewise.
21646 ($(objpfx)tst-audit7): Likewise.
21647 ($(objpfx)tst-audit7.out): Likewise.
21648 (tst-audit3-ENV): Remove variable.
21649 (tst-audit4-ENV): Likewise.
21650 (tst-audit5-ENV): Likewise.
21651 (tst-audit6-ENV): Likewise.
21652 (tst-audit7-ENV): Likewise.
21653 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21654 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21655 addition to variable.
21656 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21659 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21660 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21661 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21662 tst-audit3, tst-audit4 and tst-audit5.
21663 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21664 tst-audit6 and tst-audit7.
21665 [$(subdir) = elf] (modules-names): Add audit modules for those
21667 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21668 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21669 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21670 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21671 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21672 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21673 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21674 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21675 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21676 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21677 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21678 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21679 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21680 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21681 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21682 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21684 [$(subdir) = elf && $(config-cflags-avx) = yes]
21685 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21686 [$(subdir) = elf && $(config-cflags-avx) = yes]
21687 (CFLAGS-tst-auditmod4a.c): Likewise.
21688 [$(subdir) = elf && $(config-cflags-avx) = yes]
21689 (CFLAGS-tst-auditmod4b.c): Likewise.
21690 [$(subdir) = elf && $(config-cflags-avx) = yes]
21691 (CFLAGS-tst-auditmod6b.c): Likewise.
21692 [$(subdir) = elf && $(config-cflags-avx) = yes]
21693 (CFLAGS-tst-auditmod6c.c): Likewise.
21694 [$(subdir) = elf && $(config-cflags-avx) = yes]
21695 (CFLAGS-tst-auditmod7b.c): Likewise.
21696 * elf/tst-audit3.c: Move to ...
21697 * sysdeps/x86_64/tst-audit3.c: ... here.
21698 * elf/tst-audit4.c: Move to ...
21699 * sysdeps/x86_64/tst-audit4.c: ... here.
21700 * elf/tst-audit5.c: Move to ...
21701 * sysdeps/x86_64/tst-audit5.c: ... here.
21702 * elf/tst-audit6.c: Move to ...
21703 * sysdeps/x86_64/tst-audit6.c: ... here.
21704 * elf/tst-audit7.c: Move to ...
21705 * sysdeps/x86_64/tst-audit7.c: ... here.
21706 * elf/tst-auditmod3a.c: Move to ...
21707 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21708 * elf/tst-auditmod3b.c: Move to ...
21709 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21710 * elf/tst-auditmod4a.c: Move to ...
21711 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21712 * elf/tst-auditmod4b.c: Move to ...
21713 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21714 * elf/tst-auditmod5a.c: Move to ...
21715 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21716 * elf/tst-auditmod5b.c: Move to ...
21717 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21718 * elf/tst-auditmod6a.c: Move to ...
21719 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21720 * elf/tst-auditmod6b.c: Move to ...
21721 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21722 * elf/tst-auditmod6c.c: Move to ...
21723 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21724 * elf/tst-auditmod7a.c: Move to ...
21725 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21726 * elf/tst-auditmod7b.c: Move to ...
21727 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21729 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21732 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21733 define unconditionally.
21734 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21735 define unconditionally.
21736 (INT8_C, INT16_C, etc.): Likewise.
21738 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21740 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21741 __ehdr_start with hidden visibility.
21743 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21745 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21747 * math/libm-test.inc (cos_test): Use accurate hex constants.
21748 (sincost_test): Likewise.
21750 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21752 * math/libm-test.inc (catan_test): Add more tests.
21753 (catanh_test): Likewise.
21755 * math/s_catanf.c (__catanf): Use suffixed floating-point
21757 * math/s_catanhf.c (__catanhf): Likewise.
21758 * math/s_catanhl.c (__catanhl): Likewise.
21759 * math/s_catanl.c (__catanl): Likewise.
21762 * math/s_catan.c (__catan): Calculate imaginary part of result
21763 with log1p not log unless computing log of number close to 0.
21764 * math/s_catanf.c (__catanf): Likewise.
21765 * math/s_catanl.c (__catanl): Likewise.
21766 * math/s_catanh.c (__catanh): Calculate real part of result with
21767 log1p not log unless computing log of number close to 0.
21768 * math/s_catanhf.c (__catanhf): Likewise.
21769 * math/s_catanhl.c (__catanhl): Likewise.
21770 * math/libm-test.inc (catan_test): Add more tests.
21771 (catanh_test): Likewise.
21772 * sysdeps/i386/fpu/libm-test-ulps: Update.
21773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21777 * benchtests/Makefile: Mention files in which fast and slow
21778 paths of math functions are implemented.
21780 2013-04-23 Roland McGrath <roland@hack.frob.com>
21782 * sysdeps/posix/timespec_get.c: New file.
21784 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21786 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21788 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21790 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21791 powerpc/power5/fpu folders.
21792 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21793 * benchtests/Makefile: Add modf testcase.
21794 * benchtests/bench-modf.c: New file: Benchmark test for mo
21796 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21799 * time/Makefile (tests): Add tst-strptime-whitespace.
21800 * time/strptime_l.c (get_number): Use ISSPACE.
21801 (__strptime_internal): Likewise.
21802 * time/tst-strptime-whitespace.c: New test case.
21804 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21806 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21808 (_nss_files_init): Set it here.
21810 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21812 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21813 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21816 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21818 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21820 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21825 2013-04-21 David S. Miller <davem@davemloft.net>
21827 * po/ru.po: Update Russion translation from translation project.
21829 2013-04-17 Adam Conrad <adconrad@0c3.net>
21831 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21834 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21836 * configure.in: Remove i386 configure warning. Remove i386 case.
21837 * configure: Regenerate.
21838 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21839 Add example to error message.
21840 * sysdeps/i386/configure: Regenerate.
21842 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21844 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21846 * benchtests/cos-inputs: New file.
21847 * benchtests/slowcos-inputs: New file.
21848 * benchtests/slowcos.c: New file.
21849 * benchtests/slowtan-inputs: New file.
21850 * benchtests/slowtan.c: New file.
21851 * benchtests/tan-inputs: New file.
21853 2013-04-16 Roland McGrath <roland@hack.frob.com>
21855 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21858 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21860 * benchtests/Makefile: Include cppflags-iterator.mk to add
21861 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21863 * Makefile.in (bench-clean): New target.
21864 * benchtests/Makefile (bench-clean): Likewise.
21866 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21868 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21870 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21872 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21874 2013-04-15 Andreas Schwab <schwab@suse.de>
21876 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21878 * nscd/pwdcache.c (cache_addpw): Likewise.
21879 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21882 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21884 * benchtests/Makefile (bench): Write all output to
21885 bench-out.tmp together.
21887 2013-04-15 Andreas Schwab <schwab@suse.de>
21889 * nscd/nscd.c (main): Don't fork again after closing files.
21891 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21893 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21895 * benchtests/Rules (bench-deps): Collect dependencies into a
21896 single variable. Add Makefile to dependencies.
21897 ($(objpfx)bench-%.c): Depend on bench-deps.
21899 2013-04-12 Roland McGrath <roland@hack.frob.com>
21900 Xavier Roche <roche+kml2@exalead.com>
21903 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21904 just that it's a file descriptor.
21905 * manual/llio.texi (Synchronizing AIO Operations): Update description
21906 for EBADF error from aio_fsync.
21908 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21910 * Rules (bench): Move target definition...
21911 * benchtests/Makefile: ... here.
21913 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21915 * math/libm-test.inc (cos_test): Fix PI/2 test.
21916 (sincos_test): Likewise.
21917 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21918 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21920 2013-04-11 Andreas Schwab <schwab@suse.de>
21923 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21924 accept exponent character only when digits were seen.
21925 * stdio-common/Makefile (tests): Add bug26.
21926 * stdio-common/bug26.c: New file.
21929 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21932 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21934 * Makeconfig (rtld-prefix): Define built linker prefix.
21935 * Rules (run-bench): Use it.
21936 * math/Makefile (run-regen-ulps): Likewise.
21938 * Rules (bench): Remove eval.
21940 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21941 Roland McGrath <roland@hack.frob.com>
21942 Ondrej Bilka <neleai@seznam.cz>
21945 * time/getdate.c: Include ctype.h and alloca.h.
21946 (__getdate_r): Trim leading and trailing spaces of input.
21947 * time/tst-getdate.c (tests): Add tests with leading and
21950 2013-04-08 Roland McGrath <roland@hack.frob.com>
21953 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21954 when computing value.
21956 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21958 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21959 Use testrun.sh to run libm tests.
21962 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21964 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21967 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21971 * Makefile.in (regen-ulps): New target.
21972 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21973 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21974 [ifneq (no,$(PERL)] (regen-ulps): New target.
21975 [ifeq (no,$(PERL)] (regen-ulps): New target.
21976 * math/libm-test.inc (ulps_file_name): Define.
21977 (output_dir): New variable.
21978 (options): Add "output-dir" option.
21979 (parse_opt): Handle 'o' case.
21980 (main): If output_dir is non-NULL use it as a prefix
21982 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21984 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21986 [BZ #10060, #10062]
21987 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21988 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21989 fail configure if __sync_val_compare_and_swap is not inlined.
21990 * sysdeps/i386/configure: Regenerate.
21991 * configure.in: Build for i686 when configured for i386.
21992 * configure: Regenerate.
21993 * README: Remove i386 reference.
21995 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21997 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22000 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22002 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22003 (lmsnanval): New variables.
22004 (F): Add conversion tests.
22005 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22006 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22008 * stdio-common/tstdiomisc.c (F): Properly collect individual
22011 [BZ #14686, #15336]
22012 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22013 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22014 Instead, use input NaN values or generate a qNaN by arithmetic
22015 operation. Also fix bugs to comply with the standard.
22016 * math/libm-test.inc (remainder_test): Add more tests.
22018 [BZ #15335, #15342]
22019 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22021 input NaN values or generate a qNaN by arithmetic operation.
22023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22026 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22029 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22032 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22033 underflowed result.
22034 * math/s_cexpf.c (__cexpf): Likewise.
22035 * math/s_cexpl.c (__cexpl): Likewise.
22036 * math/libm-test.inc (cexp_test): Add more tests.
22038 2013-04-03 Andreas Schwab <schwab@suse.de>
22041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22042 order arrays from heap if bigger than alloca cutoff.
22044 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22046 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22047 (SNAN_TESTS_double): Refer to GCC PR56831.
22048 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22051 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22053 * Rules (bench): Move bench.out after the run is complete.
22055 * Rules (bench): Echo currently running benchmark.
22057 * benchtests/Makefile (bench): Add atan and slowatan.
22058 * benchtests/atan-inputs: New file.
22059 * benchtests/slowatan-inputs: New file.
22060 * benchtests/slowatan.c: New file.
22062 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22067 * sysdeps/unix/sysv/linux/kernel-features.h
22068 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22069 __ASSUME_XFS_RESTRICTED_CHOWN.
22070 * sysdeps/unix/sysv/linux/pathconf.c
22071 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22072 Save and restore errno.
22074 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22077 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22078 arguments using __kernel_casinh.
22079 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22080 arguments using __kernel_casinhf.
22081 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22082 arguments using __kernel_casinhl.
22083 * math/libm-test.inc (cacosh_test): Add more tests.
22084 * sysdeps/i386/fpu/libm-test-ulps: Update.
22085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22089 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22092 * bench/Makefile (bench): Add sin and slowsin.
22093 * benchtests/sin-inputs: New file.
22094 * benchtests/slowsin-inputs: New file.
22095 * benchtests/slowsin.c: New file.
22097 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22098 (bench): Add slowexp and slowpow.
22099 (exp-ITER): Increase iterations.
22100 (pow-ITER): Likewise.
22101 * benchtests/exp-inputs: Change input.
22102 * benchtests/pow-inputs: Likewise.
22103 * benchtests/slowexp-inputs: New file.
22104 * benchtests/slowexp.c: New file.
22105 * benchtests/slowpow-inputs: New file.
22106 * benchtests/slowpow.c: New file.
22108 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22110 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22112 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22113 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22114 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22115 * benchtests/Makefile: Add rint benchtest.
22116 * benchtests/rint-inputs: Input for rint benchtest.
22118 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22120 * Versions.def (libm): Add GLIBC_2.18.
22121 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22122 hidden libm prototypes.
22123 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22124 * math/Makefile (libm-calls): Add s_issignaling.
22125 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22126 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22127 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22129 * math/math.h [__USE_GNU] (issignaling): New macro.
22130 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22131 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22133 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22136 * manual/arith.texi (issignaling): New section.
22137 * manual/libm-err-tab.pl (@all_functions): Update comment.
22138 * math/gen-libm-test.pl (parse_args): Apply special handling for
22140 * math/libm-test.inc (print_float, issignaling_test): New
22142 (check_float_internal): Add issignaling checks.
22143 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22144 default definition.
22145 * sysdeps/powerpc/math-tests.h: New file.
22146 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22148 * math/test-snan.c (TEST_FUNC): Likewise.
22150 2013-03-30 David S. Miller <davem@davemloft.net>
22152 * po/de.po: Update from translation team.
22154 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22157 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22158 imaginary part less than 1.0 and real part less than 0.5
22160 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22161 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22162 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22163 (cacos_test): Add more tests.
22164 (casin_test): Likewise.
22165 (casinh_test): Likewise.
22166 * sysdeps/i386/fpu/libm-test-ulps: Update.
22167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22169 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22171 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22172 ONE with its value.
22174 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22175 (__pow_mp): Replace ONE and MONE with their values.
22176 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22178 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22179 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22180 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22183 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22185 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22186 (__pow_mp): Replace ZERO and MZERO with their values.
22187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22188 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22189 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22191 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22192 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22195 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22197 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22199 2013-03-28 Roland McGrath <roland@hack.frob.com>
22201 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22202 Declare with __attribute__ ((weak)).
22203 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22204 Call __call_tls_dtors only if it's not NULL.
22206 2013-03-28 Roland McGrath <roland@hack.frob.com>
22208 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22209 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22210 magic __ehdr_start linker symbol if it's defined.
22211 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22212 them up here if it was already done.
22214 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22215 (_dl_aux_init): Use const in cast when setting it.
22216 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22217 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22218 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22220 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22222 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22223 * csu/libc-tls.c: Nor here.
22224 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22226 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22227 (__libc_message): Never call vsyslog.
22229 2013-03-28 Alan Modra <amodra@gmail.com>
22231 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22233 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22236 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22243 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22247 Don't add gid passed as argument.
22249 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22251 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22254 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22255 imaginary part between 1.0 and 1.5 and real part less than 0.5
22257 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22258 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22259 * math/libm-test.inc (cacos_test): Add more tests.
22260 (casin_test): Likewise.
22261 (casinh_test): Likewise.
22262 * sysdeps/i386/fpu/libm-test-ulps: Update.
22263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22267 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22270 (denorm): Likewise.
22271 (__dbl_mp): Likewise.
22272 (add_magnitudes): Likewise.
22273 (sub_magnitudes): Likewise.
22281 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22283 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22284 (__dubcos): Likewise.
22285 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22286 (__ieee754_acos): Likewise.
22287 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22288 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22289 (__exp1): Likewise.
22290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22293 (my_log2): Likewise.
22294 (checkint): Likewise.
22295 * sysdeps/ieee754/dbl-64/e_remainder.c
22296 (__ieee754_remainder): Likewise.
22297 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22299 (bsloww): Likewise.
22300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22302 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22303 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22304 MANTISSA_STORE_T to store computations on mantissa. Use
22305 macros for rounding and division.
22306 (denorm): Likewise.
22307 (__dbl_mp): Likewise.
22308 (add_magnitudes): Likewise.
22309 (sub_magnitudes): Likewise.
22312 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22313 powers of two in terms of TWOPOW macro.
22314 (mp_no): Make type of mantissa as MANTISSA_T.
22315 [!RADIXI]: Define RADIXI.
22316 [!TWO52]: Define TWO52.
22317 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22319 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22321 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22322 llroundl symbol when building for PPC32.
22324 2013-03-24 Mark H Weaver <mhw@netris.org>
22326 * manual/arith.texi (Normalization Functions): Fix prototypes for
22327 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22329 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22333 high value to check if expl overflow.
22334 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22335 to check for underflow and overflow.
22336 * math/libm-test.inc: Add exp test.
22338 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22341 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22344 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22346 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22349 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22351 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22352 wrap blocks consisting of several statements.
22354 * sysdeps/generic/math-tests.h: New file.
22355 * sysdeps/i386/fpu/math-tests.h: Likewise.
22356 * math/test-snan.c: Include it.
22357 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22359 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22362 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22363 (__ieee754_j0l): Do not improve calculations using cos of twice
22364 input for inputs above LDBL_MAX / 2.0L.
22365 (__ieee754_y0l): Likewise.
22366 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22367 (__ieee754_j1l): Do not improve calculations using cos of twice
22368 input for inputs above LDBL_MAX / 2.0L.
22369 (__ieee754_y1l): Likewise.
22370 * math/libm-test.inc (j0_test): Add another test.
22371 (j1_test): Likewise.
22372 (y0_test): Likewise.
22373 (y1_test): Likewise.
22374 * sysdeps/i386/fpu/libm-test-ulps: Update.
22376 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22378 * Rules ($(objpfx)bench-%.c): Include code from a C source
22381 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22384 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22385 imaginary part 1.0 and real part less than 0.5 specially.
22386 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22387 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22388 * math/libm-test.inc (cacos_test): Add more tests.
22389 (casin_test): Likewise.
22390 (casinh_test): Likewise.
22391 * sysdeps/i386/fpu/libm-test-ulps: Update.
22392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22394 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22396 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22397 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22399 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22401 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22402 * config.make.in (config-cflags-sse4): Remove variable.
22403 (config-cflags-avx): Likewise.
22404 (config-cflags-sse2avx): Likewise.
22405 (config-cflags-novzeroupper): Likewise.
22406 (config-asflags-i686): Likewise.
22407 (have-mfma4): Likewise.
22408 (have-as-vis3): Likewise.
22410 * configure.in (MIG): Do not AC_SUBST.
22411 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22412 (libc_cv_cc_sse4): Do not AC_SUBST.
22413 (libc_cv_cc_avx): Likewise.
22414 (libc_cv_cc_sse2avx): Likewise.
22415 (libc_cv_cc_novzeroupper): Likewise.
22416 (libc_cv_cc_fma4): Likewise.
22417 (libc_cv_as_i686): Likewise.
22418 (libc_cv_sparc_as_vis3): Likewise.
22419 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22421 (config-asflags-i686): Likewise.
22422 (config-cflags-avx): Likewise.
22423 (config-cflags-sse2avx): Likewise.
22424 (have-mfma4): Likewise.
22425 (config-cflags-novzeroupper): Likewise.
22426 * sysdeps/mach/configure.in (MIG): Likewise.
22427 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22428 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22430 (config-cflags-avx): Likewise.
22431 (config-cflags-sse2avx): Likewise.
22432 (have-mfma4): Likewise.
22433 (config-cflags-novzeroupper): Likewise.
22434 * configure: Regenerated.
22435 * sysdeps/i386/configure: Likewise.
22436 * sysdeps/mach/configure: Likewise.
22437 * sysdeps/sparc/configure: Likewise.
22438 * sysdeps/x86_64/configure: Likewise.
22440 2013-03-20 Roland McGrath <roland@hack.frob.com>
22443 * locale/programs/localedef.c (options): Put N_ translation marker
22444 on argument names, not just descriptions.
22446 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22448 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22450 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22453 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22455 2013-03-19 Roland McGrath <roland@hack.frob.com>
22457 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22458 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22459 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22460 [!BEFORE_ABORT] (before_abort): New function.
22461 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22462 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22463 (writev_for_fatal): New function.
22464 (WRITEV_FOR_FATAL): New macro; call that.
22465 (backtrace_and_maps): New function.
22466 (BEFORE_ABORT): New macro; call that.
22467 (struct str_list): Type removed.
22468 (__libc_message, __libc_fatal): Functions removed.
22469 Include <sysdeps/posix/libc_fatal.c> instead.
22471 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22473 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22475 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22478 2013-03-19 Andreas Schwab <schwab@suse.de>
22480 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22481 * sysdeps/gnu/configure: Regenerate.
22483 * configure.in: Substitute libc_cv_rtlddir.
22484 * configure: Regenerate.
22485 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22486 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22487 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22488 * elf/Makefile (install-others, CFLAGS-interp.c)
22489 (ldso_install, common-ldd-rewrite): Likewise.
22490 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22491 $(inst_slibdir)/$(rtld-installed-name).
22492 * scripts/rellns-sh: Add -p option.
22493 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22496 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22498 * manual/nptl.texi: Renamed to ...
22499 * manual/threads.texi: ... this.
22500 * manual/Makefile (chapters): Update.
22502 2013-03-18 Roland McGrath <roland@hack.frob.com>
22505 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22506 on argument names, not just descriptions.
22507 * malloc/memusagestat.c (options): Likewise.
22508 * nss/getent.c (options): Likewise.
22510 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22513 * iconv/iconv_prog.c (options): Put N_ translation marker
22514 on argument names, not just descriptions.
22515 * iconv/iconvconfig.c (options): Likewise.
22517 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22519 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22520 implementation which is faster on all x86_64 architectures.
22521 Tested on AMD, Intel Nehalem, SNB, IVB.
22522 * sysdeps/x86_64/strnlen.S: Likewise.
22524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22525 Remove all multiarch strlen and strnlen versions.
22526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22527 Remove strlen and strnlen related parts.
22529 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22530 Inline strlen part.
22531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22533 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22534 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22535 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22536 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22537 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22538 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22540 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22542 * manual/memory.texi (Malloc Tunable Parameters):
22543 Sort parameters alphabetically. Add comments for missing entries.
22545 2013-03-17 David S. Miller <davem@davemloft.net>
22547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22549 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22552 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22553 for arguments at most half maximum finite value.
22554 * math/libm-test.inc (j0_test): Add more tests.
22555 (j1_test): Likewise.
22556 (y0_test): Likewise.
22557 (y1_test): Likewise.
22558 * sysdeps/i386/fpu/libm-test-ulps: Update.
22559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22562 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22563 1 / x and functions P and Q for arguments above 0x1p256L.
22564 (__ieee754_y0l): Likewise.
22565 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22566 (__ieee754_y1l): Likewise.
22567 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22568 (j1_test): Likewise.
22569 (y0_test): Likewise.
22570 (y1_test): Likewise.
22572 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22574 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22577 2013-03-15 Roland McGrath <roland@hack.frob.com>
22579 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22580 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22581 zero since it's initialized to EXEC_PAGESIZE.
22583 * sysdeps/unix/sysv/linux/ldsodefs.h
22584 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22585 * sysdeps/generic/ldsodefs.h: ... here.
22587 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22589 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22591 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22593 * math/test-snan.c: Renamed from
22594 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22595 * math/Makefile (tests): Add test-snan.
22596 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22599 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22600 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22602 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22603 __builtin_nan family of functions.
22604 * math/libm-test.inc (initialize): Initialize qnan_value with
22605 __builtin_nan family of functions.
22606 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22608 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22610 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22611 storage class. Initialize qNaN_var and sNaN_var with
22612 __builtin_nan and __builtin_nans families of functions,
22615 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22616 (sqrt_test): Remove duplicate test with qNaN input.
22617 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22618 (round_test, signbit_test, significand_test): Note missing +/-Inf
22619 as well as qNaN tests.
22621 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22622 qNaN_var. Fix a few strings, too.
22623 * math/libm-test.inc (nan_value): Rename to qnan_value.
22624 * math/gen-libm-test.pl (%beautify): Adjust to that.
22625 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22626 * math/test-misc.c (main): Likewise.
22627 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22628 to __qnan_bytes, and __qnan_union, respectively.
22629 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22631 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22632 and lqnanval, respectively.
22633 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22634 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22635 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22636 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22638 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22639 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22642 * math/test-misc.c (main): Fix copy'n'pastos.
22643 * misc/tst-efgcvt.c (special): Likewise.
22645 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22646 Remove declarations.
22648 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22650 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22651 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22652 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22653 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22655 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22657 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22658 macro to return vdso values correctly in IFUNC implementations.
22659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22660 Optimization by using IFUNC.
22662 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22663 Richard Henderson <rth@redhat.com>
22664 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22666 * Makefile.in (bench): New target.
22667 * NEWS: Mention the benchmark framework.
22668 * Rules (bench): Likewise.
22669 (binaries-bench): Generate binaries for functions to
22671 * benchtests/Makefile: New makefile for benchmark tests.
22672 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22674 * benchtests/exp-inputs: New input file for EXP function.
22675 * benchtests/pow-inputs: New input file for POW function.
22676 * scripts/bench.pl: New script to generate source files for
22677 benchmark programs.
22679 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22681 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22682 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22683 computations on mantissa. Use macros for rounding and
22685 (denorm): Likewise.
22686 (__dbl_mp): Likewise.
22687 (add_magnitudes): Likewise.
22688 (sub_magnitudes): Likewise.
22691 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22692 powers of two in terms of TWOPOW macro.
22693 (mp_no): Make type of mantissa as MANTISSA_T.
22694 [!RADIXI]: Define RADIXI.
22695 [!TWO52]: Define TWO52.
22696 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22698 * manual/nptl.texi (cindex): Modify threads to pthreads.
22700 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22702 * sysdeps/x86_64/preconfigure: Regenerated.
22704 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22707 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22709 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22710 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22712 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22713 * math/libm-test.inc (j0_test): Do not allow one spurious
22714 underflow exception.
22715 (y1_test): Likewise.
22717 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22719 * manual/Makefile (chapters): Add nptl.
22720 * manual/debug.texi (Debugging Support): Add link to Threads
22722 * manual/nptl.texi: New file.
22724 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22726 2013-03-14 Petr Baudis <pasky@ucw.cz>
22728 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22729 for non-NULL pointer before the memory validity test. Pointed
22730 out by Holger Brunck <holger.brunck@keymile.com>.
22732 2013-03-13 Andreas Schwab <schwab@suse.de>
22734 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22737 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22739 * timezone/zic.c: Update from tzcode 2013b.
22741 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22743 * manual/install.texi (Configuring and compiling):
22744 Mention i686 and i586.
22745 * INSTALL: Regenerate.
22747 2013-03-12 Roland McGrath <roland@hack.frob.com>
22749 * sysdeps/init_array/elf-init.c: New file.
22751 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22752 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22754 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22755 __gmon_start__ as global, but as static with a .preinit_array pointer.
22756 * sysdeps/init_array/gmon-start.c: New file. Use that.
22757 * sysdeps/init_array/crti.S: New file, empty except for comments.
22758 * sysdeps/init_array/crtn.S: Likewise.
22760 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22762 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22765 Remove Prefer_SSE_for_memop.
22766 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22767 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22768 HAS_PREFER_SSE_FOR_MEMOP.
22769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22772 Remove bzero, memset ifunc support.
22773 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22774 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22775 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22776 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22778 2013-03-11 Andreas Schwab <schwab@suse.de>
22781 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22784 (GLIBC_2.16): Remove pthread_atfork.
22786 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22788 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22789 (ptestcases.h): Likewise.
22791 2013-03-08 Roland McGrath <roland@hack.frob.com>
22793 * Makeconfig ($(common-objpfx)config.status): Depend on
22794 sysdeps/*/preconfigure{,.in} too.
22796 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22798 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22799 (__free_hook): Use void * instead of __malloc_ptr_t.
22800 (__malloc_hook): Likewise.
22801 (__realloc_hook): Likewise.
22802 (__memalign_hook): Likewise.
22803 (__after_morecore_hook): Likewise.
22804 * malloc/arena.c (save_malloc_hook): Likewise.
22805 (save_free_hook): Likewise.
22806 * malloc/hooks.c (malloc_hook_ini): Likewise.
22807 (realloc_hook_ini): Likewise.
22808 (memalign_hook_ini): Likewise.
22809 * malloc/malloc.c (malloc_hook_ini): Likewise.
22810 (realloc_hook_ini): Likewise.
22811 (memalign_hook_ini): Likewise.
22812 (__free_hook): Likewise.
22813 (__malloc_hook): Likewise.
22814 (__realloc_hook): Likewise.
22815 (__memalign_hook): Likewise.
22816 (__libc_malloc): Likewise.
22817 (__libc_free): Likewise.
22818 (__libc_realloc): Likewise.
22819 (__libc_memalign): Likewise.
22820 (__libc_valloc): Likewise.
22821 (__libc_pvalloc): Likewise.
22822 (__libc_calloc): Likewise.
22823 (__posix_memalign): Likewise.
22824 * malloc/morecore.c (__sbrk): Likewise.
22825 (__default_morecore): Likewise.
22827 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22829 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22830 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22831 __malloc_ptrdiff_t.
22833 * malloc/malloc.h (__malloc_size_t): Remove macro.
22834 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22836 (old_memalign_hook): Likewise.
22837 (old_realloc_hook): Likewise.
22838 (struct hdr): Likewise.
22840 (mallochook): Likewise.
22841 (memalignhook): Likewise.
22842 (reallochook): Likewise.
22843 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22844 (tr_old_realloc_hook): Likewise.
22845 (tr_old_memalign_hook): Likewise.
22846 (tr_mallochook): Likewise.
22847 (tr_reallochook): Likewise.
22848 (tr_memalignhook): Likewise.
22850 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22853 default_ldbl_pack and using as default implementation.
22854 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22856 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22857 redundant definition.
22858 (ldbl_insert_mantissa): Likewise.
22859 (ldbl_canonicalize): Likewise.
22860 (ldbl_nearbyint): Likewise.
22861 (ldbl_pack): Rename to ldbl_pack_ppc.
22862 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22863 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22864 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22866 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22869 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22871 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22874 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22875 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22877 2013-03-07 Andreas Jaeger <aj@suse.de>
22879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22882 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22884 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22885 Include mpa.h and declare __MPEXP.
22886 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22888 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22890 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22891 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22894 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22895 (__slowpow): Use long double EXPL and LOGL functions to
22897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22898 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22900 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22901 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22902 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22905 intermediate variable to calculate exponent.
22907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22911 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22912 [!NO__SQR]: Define __sqr.
22913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22914 and NO__SQR. Remove all code except __mul and __sqr. Include
22915 sysdeps/ieee754/dbl-64/mpa.c.
22916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22919 * posix/Makefile (tests): Add tst-pathconf.
22920 * posix/tst-pathconf.c: New test case.
22921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22923 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22925 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22927 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22929 2013-03-06 Andreas Jaeger <aj@suse.de>
22931 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22932 definition via __MAP_ANONYMOUS.
22934 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22935 it's not part of Linux headers.
22937 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22938 (MAP_HUGE_MASK): Define.
22940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22942 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22945 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22946 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22948 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22951 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22953 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22954 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22955 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22956 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22957 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22958 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22964 Handle f2fs and efivarfs.
22966 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22969 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22970 (EFIVARFS_MAGIC): Add.
22971 (F2FS_LINK_MAX): Add.
22973 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22975 * stdio-common/vfprintf.c: Replace __builtin_expect with
22978 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22981 * sysdeps/generic/bp-sym.h: Remove file.
22982 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22983 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22984 <bp-sym.h> and <bp-asm.h>.
22985 (__longjmp): Don't use BP_SYM.
22986 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22988 (memcpy): Don't use BP_SYM.
22989 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22990 <bp-sym.h> and <bp-asm.h>.
22991 (memcpy): Don't use BP_SYM.
22992 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22994 (memcpy): Don't use BP_SYM.
22995 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22997 (memset): Don't use BP_SYM.
22998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23000 (__bzero): Don't use BP_SYM.
23001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23003 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23004 <bp-sym.h> and <bp-asm.h>.
23005 (memcmp): Don't use BP_SYM. Remove comment about bounded
23007 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23008 <bp-sym.h> and <bp-asm.h>.
23009 (memcpy): Don't use BP_SYM.
23010 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23011 <bp-sym.h> and <bp-asm.h>.
23012 (memset): Don't use BP_SYM.
23013 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23014 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23015 (__bzero): Don't use BP_SYM.
23016 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23017 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23018 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23019 <bp-sym.h> and <bp-asm.h>.
23020 (strncmp): Don't use BP_SYM. Remove comment about bounded
23022 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23023 <bp-sym.h> and <bp-asm.h>.
23024 (memcpy): Don't use BP_SYM.
23025 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23026 <bp-sym.h> and <bp-asm.h>.
23027 (memset): Don't use BP_SYM.
23028 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23029 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23030 (__bzero): Don't use BP_SYM.
23031 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23032 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23034 <bp-sym.h> and <bp-asm.h>.
23035 (__memchr): Don't use BP_SYM.
23036 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (memcmp): Don't use BP_SYM. Remove comment about bounded
23040 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23041 <bp-sym.h> and <bp-asm.h>.
23042 (memcpy): Don't use BP_SYM.
23043 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23044 <bp-sym.h> and <bp-asm.h>.
23045 (__mempcpy): Don't use BP_SYM.
23046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23047 <bp-sym.h> and <bp-asm.h>.
23048 (__memrchr): Don't use BP_SYM.
23049 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23050 <bp-sym.h> and <bp-asm.h>.
23051 (memset): Don't use BP_SYM.
23052 (__bzero): Likewise.
23053 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23054 <bp-sym.h> and <bp-asm.h>.
23055 (__rawmemchr): Don't use BP_SYM.
23056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23057 <bp-sym.h> and <bp-asm.h>.
23058 (__STRCMP): Don't use BP_SYM.
23059 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23060 <bp-sym.h> and <bp-asm.h>.
23061 (strchr): Don't use BP_SYM.
23062 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23063 <bp-sym.h> and <bp-asm.h>.
23064 (__strchrnul): Don't use BP_SYM.
23065 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23066 <bp-sym.h> and <bp-asm.h>.
23067 (strlen): Don't use BP_SYM.
23068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23069 <bp-sym.h> and <bp-asm.h>.
23070 (strncmp): Don't use BP_SYM. Remove comment about bounded
23072 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23073 <bp-sym.h> and <bp-asm.h>.
23074 (__strnlen): Don't use BP_SYM.
23075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23076 <bp-sym.h> and <bp-asm.h>.
23077 (__GI__setjmp): Don't use BP_SYM.
23078 (_setjmp): Likewise.
23079 (__sigsetjmp): Likewise.
23080 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23081 (L(start_addresses)): Don't use BP_SYM.
23082 (_start): Likewise.
23083 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23085 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23086 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23087 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23088 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23089 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23091 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23092 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23093 about bounded pointers.
23094 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23095 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23096 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23098 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23099 about bounded pointers. Remove GKM FIXME comments.
23100 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23101 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23103 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23104 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23105 Remove GKM FIXME comments.
23106 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23107 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23108 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23110 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23111 about bounded pointers. Remove GKM FIXME comment.
23112 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23114 (strncmp): Don't use BP_SYM. Remove comment about bounded
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23117 <bp-sym.h> and <bp-asm.h>.
23118 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23120 <bp-sym.h> and <bp-asm.h>.
23121 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23124 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23126 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23129 2013-03-05 David S. Miller <davem@davemloft.net>
23131 * po/es.po: Update from translation team.
23133 2013-03-05 Andreas Jaeger <aj@suse.de>
23135 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23136 <bits/mman-linux.h>.
23137 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23139 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23140 <bits/mman-linux.h> to end of file.
23141 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23144 <bits/mman-linux.h> to end of file.
23145 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23147 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23148 <bits/mman-linux.h> to end of file.
23150 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23151 (MCL_CURRENT, MCL_FUTURE): Define here.
23153 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23156 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23158 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23160 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23162 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23163 fourth parameter needed for rt_sigprocmask syscall.
23164 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23165 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23166 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23167 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23168 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23169 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23171 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23174 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23175 comment about bounded pointers.
23176 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23177 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23179 2013-03-04 Andreas Jaeger <aj@suse.de>
23181 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23182 common definitions.
23184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23185 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23186 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23187 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23191 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23195 __ieee754_sqrl instead of __sqrl.
23197 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23200 * sysdeps/powerpc/fpu_control.h: ... here.
23201 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23202 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23203 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23204 * sysdeps/powerpc/bits/mathinline.h: ... here.
23206 2013-03-01 Roland McGrath <roland@hack.frob.com>
23208 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23209 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23210 to just [NEED_DL_SYSINFO_DSO].
23211 * elf/dl-support.c: Likewise.
23212 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23213 * elf/rtld.c (dl_main): Likewise.
23214 * elf/setup-vdso.h (setup_vdso): Likewise.
23215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23216 * sysdeps/unix/sysv/linux/dl-sysdep.c
23217 (_dl_discover_osversion): Likewise.
23219 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23221 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23222 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23224 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23226 * NEWS: Mention libm performance improvements and non-x86 PI
23229 * csu/libc-start.c (__pthread_initialize_minimal): Change
23230 function arguments.
23231 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23233 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23236 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23237 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23238 <bp-sym.h> and <bp-asm.h>.
23239 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23240 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23242 (memcpy): Don't use BP_SYM.
23243 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23245 (__mpn_add_n): Don't use BP_SYM.
23246 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23247 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23249 (__mpn_addmul_1): Don't use BP_SYM.
23250 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23251 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23253 (_setjmp): Don't use BP_SYM.
23254 (__novmx_setjmp): Likewise.
23255 (__GI__setjmp): Likewise.
23256 (__vmx_setjmp): Likewise.
23257 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23259 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23260 (__bzero): Don't use BP_SYM.
23261 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23262 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23263 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23264 <bp-sym.h> and <bp-asm.h>.
23265 (memcpy): Don't use BP_SYM.
23266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23267 <bp-sym.h> and <bp-asm.h>.
23268 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23269 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23270 <bp-sym.h> and <bp-asm.h>.
23271 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23272 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23274 (__mpn_lshift): Don't use BP_SYM.
23275 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23276 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23278 (memset): Don't use BP_SYM.
23279 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23280 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23281 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23283 (__mpn_mul_1): Don't use BP_SYM.
23284 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23286 <bp-sym.h> and <bp-asm.h>.
23287 (memcmp): Don't use BP_SYM.
23288 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23289 <bp-sym.h> and <bp-asm.h>.
23290 (memcpy): Don't use BP_SYM.
23291 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23292 <bp-sym.h> and <bp-asm.h>.
23293 (memset): Don't use BP_SYM.
23294 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23295 <bp-sym.h> and <bp-asm.h>.
23296 (strncmp): Don't use BP_SYM.
23297 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23298 <bp-sym.h> and <bp-asm.h>.
23299 (memcpy): Don't use BP_SYM.
23300 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23301 <bp-sym.h> and <bp-asm.h>.
23302 (memset): Don't use BP_SYM.
23303 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23304 <bp-sym.h> and <bp-asm.h>.
23305 (__memchr): Don't use BP_SYM.
23306 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23307 <bp-sym.h> and <bp-asm.h>.
23308 (memcmp): Don't use BP_SYM.
23309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23310 <bp-sym.h> and <bp-asm.h>.
23311 (memcpy): Don't use BP_SYM.
23312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23313 <bp-sym.h> and <bp-asm.h>.
23314 (__mempcpy): Don't use BP_SYM.
23315 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23316 <bp-sym.h> and <bp-asm.h>.
23317 (__memrchr): Don't use BP_SYM.
23318 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23319 <bp-sym.h> and <bp-asm.h>.
23320 (memset): Don't use BP_SYM.
23321 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23322 <bp-sym.h> and <bp-asm.h>.
23323 (__rawmemchr): Don't use BP_SYM.
23324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23325 <bp-sym.h> and <bp-asm.h>.
23326 (__STRCMP): Don't use BP_SYM.
23327 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23328 <bp-sym.h> and <bp-asm.h>.
23329 (strchr): Don't use BP_SYM.
23330 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23331 <bp-sym.h> and <bp-asm.h>.
23332 (__strchrnul): Don't use BP_SYM.
23333 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23334 <bp-sym.h> and <bp-asm.h>.
23335 (strlen): Don't use BP_SYM.
23336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23337 <bp-sym.h> and <bp-asm.h>.
23338 (strncmp): Don't use BP_SYM.
23339 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23340 <bp-sym.h> and <bp-asm.h>.
23341 (__strnlen): Don't use BP_SYM.
23342 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23344 (__mpn_rshift): Don't use BP_SYM.
23345 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23346 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23347 <bp-sym.h> and <bp-asm.h>.
23348 (__sigsetjmp): Don't use BP_SYM.
23349 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23350 (L(start_addresses)): Don't use BP_SYM.
23351 (_start): Likewise.
23352 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23354 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23355 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23356 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23357 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23359 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23360 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23361 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23362 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23364 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23366 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23367 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23369 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23371 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23372 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23373 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23375 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23377 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23379 (strncmp): Don't use BP_SYM,
23380 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23382 (__mpn_sub_n): Don't use BP_SYM.
23383 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23384 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23386 (__mpn_submul_1): Don't use BP_SYM.
23387 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23389 <bp-sym.h> and <bp-asm.h>.
23390 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23392 <bp-sym.h> and <bp-asm.h>.
23393 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23396 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23399 Use ZK to minimize writes to Z.
23400 (sub_magnitudes): Simplify code a bit.
23401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23402 Use ZK to minimize writes to Z.
23403 (sub_magnitudes): Simplify code a bit.
23405 2013-02-27 Roland McGrath <roland@hack.frob.com>
23407 * csu/gmon-start.c: Add special exception to license text.
23409 2013-02-27 Richard Henderson <rth@redhat.com>
23411 * scripts/config.guess: Update from config.git.
23412 * scripts/config.sub: Likewise.
23414 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23418 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23420 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23422 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23424 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23426 2013-02-26 Roland McGrath <roland@hack.frob.com>
23428 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23429 [$(build-shared = yes].
23431 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23433 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23434 (__mul): Reduce iterations for calculating mantissa.
23436 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23438 (__mpranred): Likewise.
23441 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23442 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23444 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23446 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23447 Define __attribute__.
23449 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23451 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23453 * posix/regex_internal.h (__attribute): Remove.
23454 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23455 (re_string_context_at): Likewise.
23456 (bitset_not): Use __attribute__ and mark function as possibly
23458 (bitset_merge): Likewise.
23459 (bitset_mask): Likewise.
23460 (re_string_char_size_at): Likewise.
23461 (re_string_wchar_at): Likewise.
23462 (re_string_elem_size_at): Likewise.
23464 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23466 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23470 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23474 (denorm): Likewise.
23475 (__dbl_mp): Likewise.
23476 (add_magnitudes): Likewise.
23477 (sub_magnitudes): Likewise.
23481 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23484 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23487 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23491 up changes with default code.
23492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23495 2013-02-24 Allan McRae <allan@archlinux.org>
23497 * manual/socket.texi (The Internet Namespace): Order menu items
23498 to match that in the file.
23500 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23501 node listing of the info page menu.
23503 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23506 * sysdeps/i386/bp-asm.h: Remove file.
23507 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23508 (PARMS): Do not use macros from bp-asm.h.
23512 (__mpn_add_n): Do not use BP_SYM
23513 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23515 (PARMS): Do not use macros from bp-asm.h.
23518 (__mpn_addmul_1): Do not use BP_SYM
23519 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23521 (PARMS): Do not use macros from bp-asm.h.
23522 (SIGMSK): Likewise.
23523 (_setjmp): Likewise. Do not use BP_SYM.
23524 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23526 (PARMS): Do not use macros from bp-asm.h.
23527 (SIGMSK): Likewise.
23528 (setjmp): Likewise. Do not use BP_SYM.
23529 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23531 (PARMS): Do not use macros from bp-asm.h.
23532 (__frexp): Do not use BP_SYM.
23534 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23536 (PARMS): Do not use macros from bp-asm.h.
23537 (__frexpf): Do not use BP_SYM.
23538 (frexpf): Likewise.
23539 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23541 (PARMS): Do not use macros from bp-asm.h.
23542 (__frexpl): Do not use BP_SYM.
23543 (frexpl): Likewise.
23544 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23546 (PARMS): Do not use macros from bp-asm.h.
23547 (__remquo): Do not use BP_SYM.
23548 (remquo): Likewise.
23549 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23551 (PARMS): Do not use macros from bp-asm.h.
23552 (__remquof): Do not use BP_SYM.
23553 (remquof): Likewise.
23554 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23556 (PARMS): Do not use macros from bp-asm.h.
23557 (__remquol): Do not use BP_SYM.
23558 (remquol): Likewise.
23559 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23561 (PARMS): Do not use macros from bp-asm.h.
23564 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23565 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23567 (PARMS): Do not use macros from bp-asm.h.
23568 (strlen): Do not use BP_SYM.
23569 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23571 (PARMS): Do not use macros from bp-asm.h.
23575 (__mpn_add_n): Do not use BP_SYM.
23576 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23578 (PARMS): Do not use macros from bp-asm.h.
23581 (__mpn_addmul_1): Do not use BP_SYM.
23582 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23585 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23587 (PARMS): Do not use macros from bp-asm.h.
23590 (__mpn_lshift): Do not use BP_SYM.
23591 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23593 (PARMS): Do not use macros from bp-asm.h.
23597 (memcpy): Likewise. Do not use BP_SYM.
23598 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23599 libc_hidden_def and weak_alias.
23600 (mempcpy): Do not use BP_SYM in weak_alias.
23601 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23603 (PARMS): Do not use macros from bp-asm.h.
23606 [!BZERO_P] (CHR): Likewise.
23607 (memset): Likewise. Do not use BP_SYM.
23608 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23610 (PARMS): Do not use macros from bp-asm.h.
23613 (__mpn_mul_1): Do not use BP_SYM.
23614 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23616 (PARMS): Do not use macros from bp-asm.h.
23619 (__mpn_rshift): Do not use BP_SYM.
23620 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23622 (PARMS): Do not use macros from bp-asm.h.
23625 (strchr): Likewise. Do not use BP_SYM.
23626 (index): Do not use BP_SYM in weak_alias.
23627 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23629 (PARMS): Do not use macros from bp-asm.h.
23632 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23633 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23635 (PARMS): Do not use macros from bp-asm.h.
23636 (strlen): Do not use BP_SYM.
23637 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23639 (PARMS): Do not use macros from bp-asm.h.
23643 (__mpn_sub_n): Do not use BP_SYM.
23644 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23646 (PARMS): Do not use macros from bp-asm.h.
23649 (__mpn_submul_1): Do not use BP_SYM.
23650 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23652 (PARMS): Do not use macros from bp-asm.h.
23656 (__mpn_add_n): Do not use BP_SYM.
23657 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23660 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23662 (PARMS): Do not use macros from bp-asm.h.
23665 (memcmp): Do not use BP_SYM.
23666 (bcmp): Do not use BP_SYM in weak_alias.
23667 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23669 (PARMS): Do not use macros from bp-asm.h.
23673 (memcpy): Likewise. Do not use BP_SYM.
23674 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23676 (PARMS): Do not use macros from bp-asm.h.
23680 (memmove): Likewise. Do not use BP_SYM.
23681 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23683 (PARMS): Do not use macros from bp-asm.h.
23687 (__mempcpy): Likewise. Do not use BP_SYM.
23688 (mempcpy): Do not use BP_SYM in weak_alias.
23689 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23691 (PARMS): Do not use macros from bp-asm.h.
23694 [!BZERO_P] (CHR): Likewise.
23695 (memset): Likewise. Do not use BP_SYM.
23696 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23698 (PARMS): Do not use macros from bp-asm.h.
23700 (strcmp): Do not use BP_SYM.
23701 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23703 (PARMS): Do not use macros from bp-asm.h.
23706 [USE_AS_STRTOK_R] (SAVE): Likewise.
23707 (FUNCTION): Likewise. Do not use BP_SYM.
23708 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23710 (strtok_r): Likewise.
23711 (__GI___strtok_r): Likewise.
23712 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23713 (PARMS): Do not use macros from bp-asm.h.
23716 (__mpn_lshift): Do not use BP_SYM.
23717 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23718 (PARMS): Do not use macros from bp-asm.h.
23721 (__memchr): Do not use BP_SYM.
23722 (memchr): Do not use BP_SYM in weak_alias.
23723 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23724 (PARMS): Do not use macros from bp-asm.h.
23727 (memcmp): Do not use BP_SYM.
23728 (bcmp): Do not use BP_SYM in weak_alias.
23729 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23730 (PARMS): Do not use macros from bp-asm.h.
23733 (__mpn_mul_1): Do not use BP_SYM.
23734 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23736 (PARMS): Do not use macros from bp-asm.h.
23739 (__rawmemchr): Do not use BP_SYM.
23740 (rawmemchr): Do not use BP_SYM in weak_alias.
23741 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23742 (PARMS): Do not use macros from bp-asm.h.
23745 (__mpn_rshift): Do not use BP_SYM.
23746 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23747 (PARMS): Do not use macros from bp-asm.h.
23748 (SIGMSK): Likewise.
23749 (__sigsetjmp): Likewise. Do not use BP_SYM.
23750 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23751 (_start): Do not use BP_SYM.
23752 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23753 (PARMS): Do not use macros from bp-asm.h.
23756 (__stpcpy): Likewise. Do not use BP_SYM.
23757 (stpcpy): Do not use BP_SYM in weak_alias.
23758 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23760 (PARMS): Do not use macros from bp-asm.h.
23764 (__stpncpy): Likewise. Do not use BP_SYM.
23765 (stpncpy): Do not use BP_SYM in weak_alias.
23766 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23767 (PARMS): Do not use macros from bp-asm.h.
23770 (strchr): Likewise. Do not use BP_SYM.
23771 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23773 (PARMS): Do not use macros from bp-asm.h.
23776 (__strchrnul): Likewise. Do not use BP_SYM.
23777 (strchrnul): Do not use BP_SYM in weak_alias.
23778 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23780 (PARMS): Do not use macros from bp-asm.h.
23782 (strcspn): Do not use BP_SYM.
23783 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23785 (PARMS): Do not use macros from bp-asm.h.
23788 (strpbrk): Likewise. Do not use BP_SYM.
23789 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23791 (PARMS): Do not use macros from bp-asm.h.
23794 (strrchr): Likewise. Do not use BP_SYM.
23795 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23796 (PARMS): Do not use macros from bp-asm.h.
23798 (strspn): Do not use BP_SYM.
23799 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23800 (PARMS): Do not use macros from bp-asm.h.
23804 (FUNCTION): Likewise. Do not use BP_SYM.
23805 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23807 (strtok_r): Likewise.
23808 (__GI___strtok_r): Likewise.
23809 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23810 (PARMS): Do not use macros from bp-asm.h.
23814 (__mpn_sub_n): Do not use BP_SYM.
23815 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23817 (PARMS): Do not use macros from bp-asm.h.
23820 (__mpn_submul_1): Do not use BP_SYM.
23821 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23823 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23825 (PARMS): Do not use macros from bp-asm.h.
23830 (__clone): Do not use BP_SYM.
23831 (clone): Do not use BP_SYM in weak_alias.
23832 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23834 (PARMS): Do not use macros from bp-asm.h.
23836 (__mmap64): Do not use BP_SYM.
23837 (mmap64): Do not use BP_SYM in weak_alias.
23838 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23839 <bp-sym.h> and <bp-asm.h>.
23840 (PARMS): Do not use macros from bp-asm.h.
23841 (__posix_fadvise64_l64): Do not use BP_SYM.
23842 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23843 (PARMS): Do not use macros from bp-asm.h.
23845 (semtimedop): Do not use BP_SYM.
23846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23849 2013-02-21 Allan McRae <allan@archlinux.org>
23851 * manual/message.texi (Charset conversion in gettext):
23852 Move @end statement to beginning of line.
23854 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23861 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23862 (denorm): Likewise.
23863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23866 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23868 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23869 tail-call to the resolved function if pltexit isn't needed.
23871 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23874 or Y being zero as being unlikely.
23875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23878 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23880 * manual/nss.texi (System Databases and Name Service Switch):
23881 Remove frobnicate @pxref.
23883 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23885 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23886 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23888 2013-02-20 Petr Machata <pmachata@redhat.com>
23890 * elf/elf.h (R_ARM_TARGET1): New macro.
23891 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23892 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23893 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23894 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23895 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23896 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23897 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23898 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23899 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23900 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23901 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23902 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23903 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23904 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23905 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23906 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23907 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23908 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23909 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23910 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23911 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23912 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23913 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23914 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23915 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23916 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23917 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23918 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23919 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23920 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23921 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23922 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23923 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23924 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23925 (R_ARM_THM_GOT_BREL12): Likewise.
23926 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23927 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23928 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23929 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23930 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23931 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23932 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23933 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23934 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23936 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23938 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23939 __attribute_used__ to __attribute__ ((unused)).
23941 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23943 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23946 comment formatting.
23947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23949 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23952 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23954 (ENTER): Remove both macro definitions.
23956 (CHECK_BOUNDS_LOW): Likewise.
23957 (CHECK_BOUNDS_HIGH): Likewise.
23958 (CHECK_BOUNDS_BOTH): Likewise.
23959 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23960 (RETURN_BOUNDED_POINTER): Likewise.
23961 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23962 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23963 (POP_ERRNO_LOCATION_RETURN): Likewise.
23964 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23965 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23966 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23969 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23970 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23971 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23972 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23973 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23974 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23975 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23976 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23977 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23978 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23979 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23980 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23981 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23983 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23984 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23986 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23987 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23988 * sysdeps/i386/i586/memset.S (memset): Likewise.
23989 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23990 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23991 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23993 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23994 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23995 Change uses of L(2) to L(out).
23996 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23997 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23998 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24000 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24002 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24003 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24005 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24006 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24007 (RETURN): Do not use macro LEAVE.
24008 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24009 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24010 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24011 * sysdeps/i386/i686/memset.S (memset): Likewise.
24012 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24013 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24014 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24015 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24017 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24018 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24019 L(1_2) and L(1_3) into L(1).
24020 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24021 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24022 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24023 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24024 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24025 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24026 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24027 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24028 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24030 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24031 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24032 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24033 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24034 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24035 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24036 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24037 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24038 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24039 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24040 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24041 * sysdeps/i386/strspn.S (strspn): Likewise.
24042 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24044 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24045 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24046 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24047 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24048 L(1_3) into L(1_1).
24049 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24050 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24051 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24053 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24055 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24057 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24060 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24062 * math/atest-exp.c (exp_mpn): Remove ROUND.
24063 * math/atest-exp2.c (exp_mpn): Likewise.
24064 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24066 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24067 * stdlib/tst-tls-atexit-lib.c: Likewise.
24068 * stdlib/tst-tls-atexit.c: Likewise.
24070 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24072 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24073 and __attribute_alloc_size__.
24075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24077 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24078 __attribute_alloc_size__.
24079 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24080 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24082 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24084 * include/programs/xmalloc.h: New file.
24085 * catgets/gencat.c: Include it.
24086 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24087 * elf/pldd.c: Likewise.
24088 * iconv/iconv_charmap.c: Likewise.
24089 * iconv/iconvconfig.c: Likewise.
24090 * iconv/strtab.c: Likewise.
24091 * locale/programs/locale.c: Likewise.
24092 * locale/programs/localedef.h: Likewise.
24093 * locale/programs/simple-hash.c: Likewise.
24094 * nscd/nscd.h: Likewise.
24095 * nss/makedb.c: Likewise.
24096 * sysdeps/generic/ldconfig.h: Likewise.
24098 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24100 * Versions.def: Add GLIBC_2.18.
24101 * include/link.h (struct link_map): New member l_tls_dtor_count.
24102 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24103 (__call_tls_dtors): Likewise.
24104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24105 __cxa_thread_atexit_impl.
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24122 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24123 (tests): Add test case tst-tls-atexit.
24124 (modules-names): Add shared library for tst-tls-atexit.
24125 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24126 (GLIBC_PRIVATE): Add __call_tls_dtors.
24127 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24129 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24130 * stdlib/tst-tls-atexit.c: New test case.
24131 * stdlib/tst-tls-atexit-lib.c: New test case.
24133 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24135 * elf/Versions (ld): Add _dl_find_dso_for_object.
24136 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24137 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24138 (dl_open_worker): Use _dl_find_dso_for_object.
24139 * elf/dl-sym.c (do_sym): Likewise.
24140 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24142 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24144 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24145 Syntactic changes only.
24146 (_dl_runtime_profile): Do a tail-call to the resolved function.
24148 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24151 * sysdeps/x86_64/bp-asm.h: Remove file.
24152 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24153 <bp-sym.h> and <bp-asm.h>.
24154 (__clone): Do not use BP_SYM.
24155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24156 <bp-sym.h> and <bp-asm.h>.
24157 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24158 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24160 (_setjmp): Do not use BP_SYM.
24161 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24163 (setjmp): Do not use BP_SYM.
24164 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24166 (mempcpy): Do not use BP_SYM in weak_alias.
24167 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24169 (strchr): Do not use BP_SYM.
24170 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24172 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24173 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24174 (_start): Do not use BP_SYM.
24175 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24177 (strcat): Do not use BP_SYM.
24178 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24180 (STRCMP): Do not use BP_SYM.
24181 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24183 (STRCPY): Do not use BP_SYM.
24184 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24186 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24188 (FUNCTION): Do not use BP_SYM.
24189 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24191 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24193 2013-02-17 Andreas Jaeger <aj@suse.de>
24195 * time/Versions: Sort entries.
24196 * string/Versions: Likewise.
24197 * resolv/Versions: Likewise.
24198 * posix/Versions: Likewise.
24199 * iconv/Versions: Likewise.
24200 * elf/Versions: Likewise.
24201 * wcsmbs/Versions: Likewise.
24203 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24205 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24206 loop termination condition.
24208 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24209 variable to calculate EZ.
24212 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24213 the lower precision input.
24215 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24218 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24219 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24220 (run-via-rtld-prefix): Do not handle %-bp tests.
24221 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24222 (all-object-suffixes): Remove .ob.
24223 (bppfx): Remove variable.
24224 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24225 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24226 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24227 [$(build-bounded) = yes] (libtype.ob): Likewise.
24228 * Makerules (elide-routines.ob): Remove variable.
24229 (do-tests-clean): Do not handle *-bp.out.
24230 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24231 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24232 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24233 (tests): Do not include $(tests-bp.out).
24234 (xtests): Do not include $(xtests-bp.out).
24235 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24236 [$(build-bounded) = yes] ($(addprefix
24237 $(objpfx),$(binaries-bounded))): Remove rule.
24238 ($(objpfx)%-bp.out): Remove rule.
24239 * config.make.in (build-bounded): Remove variable.
24240 * crypt/Makefile [$(build-bounded) = yes]
24241 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24242 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24243 append to variable.
24244 [$(build-bounded) = yes] (install-lib): Likewise.
24245 [$(build-bounded) = yes] (generated): Likewise.
24246 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24248 * intl/Makefile [$(build-bounded) = yes]
24249 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24250 * math/Makefile [$(build-bounded) = yes]
24251 ($(tests:%=$(objpfx)%-bp): Likewise.
24252 * misc/Makefile [$(build-bounded) = yes]
24253 ($(objpfx)tst-tsearch-bp): Likewise.
24254 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24255 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24257 * string/Makefile (o-objects.ob): Remove variable.
24258 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24259 (CFLAGS-.ob): Remove variable.
24260 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24261 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24262 both definitions of variable.
24263 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24264 (ASFLAGS-.ob): Remove variable.
24266 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24269 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24270 Remove __BOUNDED_POINTERS__ from condition.
24271 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24272 * string/bits/string2.h [!__NO_STRING_INLINES &&
24273 !__BOUNDED_POINTERS__]: Likewise.
24274 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24276 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24277 Remove conditional code.
24278 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24279 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24280 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24284 * csu/libc-start.c: Do not include <bp-sym.h>.
24285 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24286 * elf/dl-open.c: Do not include <bp-sym.h>.
24287 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24288 * math/fegetenv.c: Do not include <bp-sym.h>.
24289 (fegetenv): Do not use BP_SYM in versioned symbols.
24290 * nptl/sysdeps/pthread/bits/libc-lockP.h
24291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24294 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24296 (__pthread_mutex_destroy): Likewise.
24297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24298 (__pthread_mutex_lock): Likewise.
24299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24300 (__pthread_mutex_trylock): Likewise.
24301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24302 (__pthread_mutex_unlock): Likewise.
24303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24304 (__pthread_mutexattr_init): Likewise.
24305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24306 (__pthread_mutexattr_destroy): Likewise.
24307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24308 (__pthread_mutexattr_settype): Likewise.
24309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24310 (__pthread_rwlock_init): Likewise.
24311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24312 (__pthread_rwlock_destroy): Likewise.
24313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24314 (__pthread_rwlock_rdlock): Likewise.
24315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24316 (__pthread_rwlock_tryrdlock): Likewise.
24317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24318 (__pthread_rwlock_wrlock): Likewise.
24319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24320 (__pthread_rwlock_trywrlock): Likewise.
24321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24322 (__pthread_rwlock_unlock): Likewise.
24323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24324 (__pthread_key_create): Likewise.
24325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24326 (__pthread_setspecific): Likewise.
24327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24328 (__pthread_getspecific): Likewise.
24329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24332 (_pthread_cleanup_push_defer): Likewise.
24333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24334 (_pthread_cleanup_pop_restore): Likewise.
24335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24336 (pthread_setcancelstate): Likewise.
24337 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24339 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24340 (memchr): Do not use BP_SYM in weak_alias.
24341 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24342 (fegetenv): Do not use BP_SYM in versioned symbols.
24343 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24344 (fesetenv): Do not use BP_SYM in versioned symbols.
24345 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24346 (feupdateenv): Do not use BP_SYM in versioned symbols.
24347 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24348 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24349 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24350 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24351 (open64): Do not use BP_SYM in weak_alias.
24352 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24353 (fegetenv): Do not use BP_SYM in versioned symbols.
24354 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24355 (fesetenv): Do not use BP_SYM in versioned symbols.
24356 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24357 (feupdateenv): Do not use BP_SYM in versioned symbols.
24358 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24359 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24360 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24361 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24362 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24363 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24364 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24366 (__libc_start_main): Do not use BP_SYM.
24368 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24371 redundant return line.
24373 (denorm): Likewise.
24374 (dbl_mp): Likewise.
24375 (sub_magnitudes): Likewise.
24381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24383 (denorm): Likewise.
24384 (dbl_mp): Likewise.
24385 (sub_magnitudes): Likewise.
24392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24394 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24395 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24398 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24399 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24401 of __mul for squares.
24402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24406 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24409 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24412 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24414 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24415 prototype or function definition. Rename ubp_* variables and
24416 parameters. Remove argv definitions conditional on
24417 [__BOUNDED_POINTERS__].
24418 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24419 * elf/dl-runtime.c (_dl_fixup): Likewise.
24420 * include/set-hooks.h (RUN_HOOK): Likewise.
24421 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24423 * string/strcpy.c (strcpy): Do not use __unbounded.
24424 * sysdeps/generic/frame.h (struct layout): Likewise.
24425 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24426 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24427 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24428 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24429 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24430 (__backtrace): Likewise.
24431 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24433 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24434 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24435 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24437 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24438 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24439 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24440 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24441 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24442 Do not use __unbounded.
24443 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24444 Rename __unboundedrlimits parameter to rlimits in prototype.
24445 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24446 Do not use __unbounded.
24447 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24448 not use __ptrvalue.
24449 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24450 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24451 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24452 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24453 __ptrvalue or __unbounded.
24454 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24455 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24457 (__new_msgctl): Do not use __ptrvalue.
24458 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24460 (__libc_msgrcv): Do not use __ptrvalue.
24461 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24462 startup_info): Do not use __unbounded.
24463 (__libc_start_main): Likewise. Rename ubp_* variables and
24464 parameters. Remove argv definitions conditional on
24465 [__BOUNDED_POINTERS__].
24466 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24468 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24470 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24472 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24474 (__new_shmctl): Do not use __ptrvalue.
24475 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24476 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24478 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24480 (__libc_sigaction): Likewise.
24481 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24482 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24484 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24486 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24488 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24490 * string/mempcpy.c: Implement by calling memcpy.
24492 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24499 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24500 values in the mantissa.
24502 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24503 minimize writes to Z.
24504 (sub_magnitudes): Simplify code a bit.
24506 2013-02-12 Roland McGrath <roland@hack.frob.com>
24508 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24509 from the message. The linker prefixes all warnings with that already.
24511 2013-02-12 Andreas Schwab <schwab@suse.de>
24514 * posix/regexec.c (extend_buffers): Add parameter min_len.
24515 (check_matching): Pass minimum needed length.
24516 (clean_state_log_if_needed): Likewise.
24517 (get_subexp): Likewise.
24518 * posix/Makefile (tests): Add bug-regex34.
24519 (bug-regex34-ENV): Define.
24520 * posix/bug-regex34.c: New file.
24523 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24524 elements compare against the byte sequence of it, not its name.
24525 * posix/Makefile (tests): Add bug-regex35.
24526 (bug-regex35-ENV): Define.
24527 * posix/bug-regex35.c: New file.
24529 2013-02-11 Tom de Vries <tom@codesourcery.com>
24531 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24533 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24534 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24535 (CHECK_EOL): Add undef.
24537 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24539 * bits/stdlib-bsearch.h: New file.
24540 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24541 * stdlib/stdlib.h: Likewise.
24543 2013-02-11 Roland McGrath <roland@hack.frob.com>
24545 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24546 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24548 * manual/search.texi (Array Search Function): Add missing const in
24550 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24551 declaration to use rlim_t.
24552 (Basic Scheduling Functions): Remove erroneous const from
24553 sched_getparam prototype. Remove erroneous * from
24554 sched_get_priority_max and sched_get_priority_min prototypes.
24555 (Resource Usage): Fix summary @comment on vtimes to refer to
24556 sys/vtimes.h rather than vtimes.h.
24557 Add missing *s in vtimes prototype.
24558 (Limits on Resources): Fix ulimit prototype to return long int.
24559 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24560 prototypes to use long int rather than double.
24561 (BSD Random): Fix initstate and setstate to use char *, not void *.
24562 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24563 prototype to make second argument 'struct aiocb64 *const[]'.
24564 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24565 (Status of AIO Operations): Remove erroneous const in aio_return and
24566 aio_return64 prototypes.
24567 (Synchronizing I/O): Fix sync prototype to return void.
24568 * manual/startup.texi (Suboptions): Remove an erroneous const in
24569 getsubopt prototype.
24570 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24571 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24572 use size_t rather than int.
24573 (Scanning All Users): Likewise for getpwent_r.
24574 (Setting Groups): Add missing const to setgroups prototype.
24575 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24576 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24577 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24578 'const void *' rather than 'const char *'.
24579 (Host Address Functions): Likewise for inet_ntop.
24580 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24581 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24582 ssize_t for return value.
24583 (Sending Data): Likewise for send, sendto, sendmsg.
24584 (Socket Option Functions): Add a missing const in setsockopt prototype.
24585 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24586 use wchar_t for the argument.
24587 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24588 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24590 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24591 double/float/long double for second argument.
24592 Fix return types of significand, significandf, significandl.
24593 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24594 argument in fchmod prototype.
24595 (File Owner): Use uid_t and gid_t in fchown prototype.
24596 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24597 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24598 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24599 use 'const struct dirent **' as argument types to CMP function pointer
24601 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24602 (File Times): Fix summary magic @comment for struct utimbuf and utime
24603 to refer to utime.h, not time.h.
24604 * manual/string.texi (Argz Functions): Add missing const in
24605 argz_extract and argz_next prototypes.
24606 (Finding Tokens in a String): Likewise for basename.
24607 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24608 (Copying and Concatenation): Fix typo in wmemmove prototype.
24609 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24610 (Signal Stack): Remove erroneous const in sigstack prototype.
24611 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24613 (Simple Calendar Time): Likewise for stime.
24614 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24616 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24617 say sys/sysctl.h instead.
24618 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24619 and vsyslog prototypes.
24621 2013-02-11 Tom de Vries <tom@codesourcery.com>
24623 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24626 2013-02-11 Roland McGrath <roland@hack.frob.com>
24628 * misc/sys/mman.h: Fix typo in mremap comment.
24630 2013-02-08 Roland McGrath <roland@hack.frob.com>
24632 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24633 the '\0' terminator.
24635 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24638 * debug/segfault.c: Don't include <bp-checks.h>.
24639 * sysdeps/generic/bp-checks.h: Remove file.
24640 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24641 (__GETDENTS): Don't use CHECK_N.
24642 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24643 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24644 (__getgroups): Don't use CHECK_N.
24645 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24646 (setgroups): Don't use CHECK_N.
24647 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24648 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24649 (__libc_msgrcv): Don't use CHECK_N.
24650 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24651 (__libc_msgsnd): Don't use CHECK_N.
24652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24654 (__libc_pread): Don't use CHECK_N.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24656 include <bp-checks.h>.
24657 (__libc_pread64): Don't use CHECK_N.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24659 include <bp-checks.h>.
24660 (__libc_pwrite): Don't use CHECK_N.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24662 include <bp-checks.h>.
24663 (__libc_pwrite64): Don't use CHECK_N.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24666 (__libc_pread): Don't use CHECK_N.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24668 include <bp-checks.h>.
24669 (__libc_pread64): Don't use CHECK_N.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24671 include <bp-checks.h>.
24672 (__libc_pwrite): Don't use CHECK_N.
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24674 include <bp-checks.h>.
24675 (__libc_pwrite64): Don't use CHECK_N.
24676 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24677 (do_pread): Don't use CHECK_N.
24678 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24679 (do_pread64): Don't use CHECK_N.
24680 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24681 (do_pwrite): Don't use CHECK_N.
24682 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24683 (do_pwrite64): Don't use CHECK_N.
24684 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24685 (__libc_readv): Don't use CHECK_N.
24686 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24687 (semop): Don't use CHECK_N.
24688 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24690 (semtimedop): Don't use CHECK_N.
24691 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24692 (__libc_pread): Don't use CHECK_N.
24693 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24695 (__libc_pread64): Don't use CHECK_N.
24696 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24698 (__libc_pwrite): Don't use CHECK_N.
24699 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24701 (__libc_pwrite64): Don't use CHECK_N.
24702 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24704 (__libc_msgrcv): Don't use CHECK_N.
24705 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24706 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24707 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24708 (__libc_writev): Don't use CHECK_N.
24710 2013-02-08 Roland McGrath <roland@hack.frob.com>
24712 * string/strcpy.c: Removed unused variable.
24714 * Makeconfig (+sysdep-includes): Define with := rather than =.
24715 Use an existing include/ subdir of each sysdeps dir before it.
24717 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24719 * nscd/connection.c (register_traced_file): Comment function.
24720 [HAVE_INOTIFY] (union __inev): Define.
24721 [HAVE_INOTIFY] (inotify_check_files): New function.
24722 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24723 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24725 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24727 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24729 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24730 loaded if not already and that a failure is permanent.
24732 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24735 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24736 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24738 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24741 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24742 (CHECK_1_NULL_OK): Likewise.
24743 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24744 (__fxstat): Do not use CHECK_1.
24745 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24747 (___fxstat64): Do not use CHECK_1.
24748 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24750 (__fxstatat): Do not use CHECK_1.
24751 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24753 (__fxstatat64): Do not use CHECK_1.
24754 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24756 (__fxstat): Do not use CHECK_1.
24757 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24759 (__fxstatat): Do not use CHECK_1.
24760 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24762 (__getresgid): Do not use CHECK_1.
24763 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24765 (__getresuid): Do not use CHECK_1.
24766 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24768 (__lxstat): Do not use CHECK_1.
24769 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24771 (__old_msgctl): Do not use CHECK_1.
24772 (__new_msgctl): Likewise.
24773 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24775 (__new_setrlimit): Do not use CHECK_1.
24776 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24778 (__old_shmctl): Do not use CHECK_1.
24779 (__new_shmctl): Likewise.
24780 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24782 (__xstat): Do not use CHECK_1.
24783 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24784 (__lxstat): Do not use CHECK_1.
24785 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24787 (___lxstat64): Do not use CHECK_1.
24788 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24789 (__old_msgctl): Do not use CHECK_1.
24790 (__new_msgctl): Likewise.
24791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24793 (__gettimeofday): Do not use CHECK_1.
24794 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24795 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24796 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24798 (__gettimeofday): Do not use CHECK_1.
24799 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24800 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24801 (__new_shmctl): Do not use CHECK_1.
24802 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24804 (do_sigtimedwait): Do not use CHECK_1.
24805 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24807 (do_sigwaitinfo): Do not use CHECK_1.
24808 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24810 (msgctl): Do not use CHECK_1.
24811 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24813 (shmctl): Do not use CHECK_1.
24814 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24815 (ustat): Do not use CHECK_1.
24816 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24818 (__fxstat): Do not use CHECK_1.
24819 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24821 (__fxstatat): Do not use CHECK_1.
24822 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24824 (__lxstat): Do not use CHECK_1.
24825 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24827 (__xstat): Do not use CHECK_1.
24828 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24829 (__xstat): Do not use CHECK_1.
24830 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24831 (___xstat64): Do not use CHECK_1.
24834 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24836 (CHECK_BOUNDS_HIGH): Likewise.
24837 * string/strcpy.c: Do not include <bp-checks.h>.
24838 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24840 2013-02-07 Roland McGrath <roland@hack.frob.com>
24842 * nscd/nscd-client.h (__nscd_drop_map_ref):
24843 Add __attribute__ ((unused)).
24844 * nis/nss-nisplus.h (niserr2nss): Likewise.
24846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24847 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24849 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24850 Remove inline keyword.
24851 * include/rounding-mode.h (round_away): Likewise.
24852 * libio/wfileops.c (adjust_wide_data): Likewise.
24853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24854 (__m128i_strloadu_tolower): Likewise.
24855 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24856 (__m128i_strloadu_tolower): Likewise.
24857 * time/mktime.c (ydhms_diff): Likewise.
24858 * locale/elem-hash.h (elem_hash): Likewise.
24859 * locale/setlocale.c (setdata): Likewise.
24860 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24861 (re_string_wchar_at): Likewise.
24862 (bitset_not, bitset_merge, bitset_mask): Likewise.
24863 [!(__GNUC__ > 3)] (inline): Remove macro.
24864 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24865 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24866 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24867 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24868 * string/memcmp.c (memcmp_bytes): Likewise.
24869 * locale/programs/locarchive.c (compute_hashval): Likewise.
24870 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24871 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24872 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24873 * nss/getent.c (print_rpc, print_protocols): Likewise.
24874 (print_passwd, print_group, print_aliases): Likewise.
24875 * nis/nss-nisplus.h (niserr2nss): Likewise.
24876 * nscd/connections.c (restart_p): Likewise.
24877 Change return type to bool.
24879 2013-02-05 Roland McGrath <roland@hack.frob.com>
24881 * Makeconfig (all-Depend-files): Add existing
24882 $(sorted-subdirs:=/Depend) files.
24883 (all-subdirs): Remove nss.
24884 * sysdeps/unix/inet/Subdirs: Add it here instead.
24885 * hesiod/Depend: New file.
24887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24888 instead of calling alloca.
24890 * io/lseek.c (__lseek): Rename to __libc_lseek.
24891 Define __lseek as an alias.
24893 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24895 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24897 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24898 else clause and remove check for non-standard endianness.
24900 2013-02-04 David S. Miller <davem@davemloft.net>
24902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24904 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24907 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24908 (__ubp_memchr): Remove prototype.
24909 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24910 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24911 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24912 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24913 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24915 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24916 (__ubp_memchr): Likewise.
24917 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24918 (__ubp_memchr): Likewise.
24919 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24920 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24921 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24922 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24924 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24925 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24926 (__getcwd): Do not use CHECK_STRING.
24927 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24929 (__real_chown): Do not use CHECK_STRING.
24930 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24932 (fchownat): Do not use CHECK_STRING.
24933 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24935 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24937 (__lchown): Do not use CHECK_STRING.
24938 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24939 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24940 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24941 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24943 include <bp-checks.h>.
24944 (truncate64): Do not use CHECK_STRING.
24945 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24947 (__real_chown): Do not use CHECK_STRING.
24948 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24950 (__lchown): Do not use CHECK_STRING.
24951 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24953 (__chown): Do not use CHECK_STRING.
24954 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24956 (truncate64): Do not use CHECK_STRING.
24957 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24959 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24960 (__xmknod): Do not use CHECK_STRING.
24961 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24963 (__xmknodat): Do not use CHECK_STRING.
24964 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24965 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24967 2013-02-04 Andreas Schwab <schwab@suse.de>
24970 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24971 * include/netdb.h: Likewise for h_errno.
24972 * elf/tst-stackguard1.c: Include <tls.h>.
24974 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24976 * elf/link.h (struct link_map): Extend the l_addr comment.
24977 * include/link.h (struct link_map): Likewise.
24979 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24982 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24983 (BOUNDED_1): Remove macro.
24984 * debug/backtrace.c: Don't include <bp-checks.h>.
24985 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24986 (__backtrace): Likewise.
24987 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24989 (__backtrace): Don't use BOUNDED_1.
24990 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24992 (__backtrace): Don't use BOUNDED_1.
24993 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24994 (__backtrace): Don't use BOUNDED_1.
24995 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24996 (shmat): Don't use BOUNDED_N.
24998 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25001 * sysdeps/generic/bp-start.h: Remove file.
25002 * csu/libc-start.c: Don't include <bp-start.h>.
25003 (LIBC_START_MAIN): Set up __environ directly instead of using
25004 INIT_ARGV_and_ENVIRON.
25005 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25009 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25011 (CHECK_FCNTL): Likewise.
25012 (CHECK_N_PAGES): Likewise.
25015 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25017 (CHECK_SIGSET_NULL_OK): Likewise.
25018 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25020 (sigpending): Don't use CHECK_SIGSET.
25021 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25024 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25026 (do_sigsuspend): Don't use CHECK_SIGSET.
25027 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25029 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25030 (do_sigwait): Don't use CHECK_SIGSET.
25031 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25033 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25034 include <bp-checks.h>.
25035 (sigpending): Don't use CHECK_SIGSET.
25036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25037 include <bp-checks.h>.
25038 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25039 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25041 (sigpending): Don't use CHECK_SIGSET.
25042 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25044 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25047 * sysdeps/generic/bp-semctl.h: Remove file.
25048 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25049 <bp-checks.h> and <bp-semctl.h>.
25050 (__old_semctl): Don't use CHECK_SEMCTL.
25051 (__new_semctl): Likewise.
25052 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25054 (__old_semctl): Don't use CHECK_SEMCTL.
25055 (__new_semctl): Likewise.
25056 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25057 <bp-checks.h> and <bp-semctl.h>.
25058 (__old_semctl): Don't use CHECK_SEMCTL.
25059 (__new_semctl): Likewise.
25060 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25061 <bp-checks.h> and <bp-semctl.h>.
25062 (semctl): Don't use CHECK_SEMCTL.
25065 * Makerules (elide-bp-thunks): Remove variable.
25066 (elide-routines.oS): Don't use $(elide-bp-thunks).
25067 (elide-routines.os): Likewise.
25068 (elide-routines.o): Likewise.
25069 (elide-routines.op): Likewise.
25070 (elide-routines.og): Likewise.
25071 (objects): Don't use $(bp-thunks).
25072 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25074 (common-generated): Do not add s-proto-bp.d.
25075 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25078 Do not generate makefile rules for bounded-pointer thunks.
25079 * sysdeps/generic/bp-thunks.h: Remove file.
25080 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25081 * sysdeps/unix/s-proto-bp.S: Likewise.
25084 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25085 parts of result separately when argument is not close to line from
25086 -i to i and one part of argument is small.
25087 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25088 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25089 * math/libm-test.inc (cacos_test): Add more tests.
25090 (casin_test): Likewise.
25091 (casinh_test): Likewise.
25092 * sysdeps/i386/fpu/libm-test-ulps: Update.
25093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095 2013-01-31 David S. Miller <davem@davemloft.net>
25097 * po/de.po: Update from translation team.
25099 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25101 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25103 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25105 * configure.in (_AC_PROG_CC_C89): New definition.
25106 * configure: Regenerate.
25108 * configure.in (AC_PROG_CPP): New definition.
25109 * configure: Regenerate.
25111 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25113 * debug/tst-backtrace.h: New file.
25114 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25115 (ret): Remove variable.
25117 (FAIL): Remove macro.
25118 (NO_INLINE): Likewise.
25119 (fn1): Use match function instead of strstr.
25120 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25121 (ret): Remove variable.
25123 (FAIL): Remove macro.
25124 (NO_INLINE): Likewise.
25125 (fn): Use match function instead of strstr.
25126 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25127 (ret): Remove variable.
25129 (FAIL): Remove macro.
25130 (NO_INLINE): Likewise.
25131 (handle_signal): Use match function instead of strstr.
25132 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25133 (ret): Remove variable.
25135 (FAIL): Remove macro.
25136 (NO_INLINE): Likewise.
25137 (handle_signal): Use match function instead of strstr.
25139 2013-01-23 Roland McGrath <roland@hack.frob.com>
25141 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25143 2013-01-23 David S. Miller <davem@davemloft.net>
25145 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25146 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25147 argument of CAS if possible.
25148 * sysdeps/sparc/sparc64/bits/atomic.h
25149 (__arch_compare_and_exchange_val_32_acq): Likewise.
25150 (__arch_compare_and_exchange_val_64_acq): Likewise.
25152 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25154 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25155 * sysdeps/posix/ulimit.c: ... this.
25156 Include <limits.h>.
25157 * sysdeps/unix/bsd/ulimit.c: Remove file.
25159 2013-01-23 Adam Conrad <adconrad@0c3.net>
25161 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25162 (LDFLAGS-tst-array5): Likewise.
25164 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25167 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25168 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25169 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25170 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25172 2013-01-21 David S. Miller <davem@davemloft.net>
25174 * sysdeps/sparc/backtrace.c: New file.
25175 * sysdeps/sparc/sparc32/backtrace.h: New file.
25176 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25177 * sysdeps/sparc/sparc64/backtrace.h: New file.
25178 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25179 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25182 2013-01-21 Andreas Schwab <schwab@suse.de>
25185 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25188 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25194 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25195 Mark Mitchell <mark@codesourcery.com>
25196 Tom de Vries <tom@codesourcery.com>
25197 Paul Pluzhnikov <ppluzhnikov@google.com>
25199 * debug/tst-backtrace2.c: New file.
25200 * debug/tst-backtrace3.c: Likewise.
25201 * debug/tst-backtrace4.c: Likewise.
25202 * debug/tst-backtrace5.c: Likewise.
25203 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25204 (CFLAGS-tst-backtrace3.c): Likewise.
25205 (CFLAGS-tst-backtrace4.c): Likewise.
25206 (CFLAGS-tst-backtrace5.c): Likewise.
25207 (LDFLAGS-tst-backtrace2): Likewise.
25208 (LDFLAGS-tst-backtrace3): Likewise.
25209 (LDFLAGS-tst-backtrace4): Likewise.
25210 (LDFLAGS-tst-backtrace5): Likewise.
25211 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25212 tst-backtrace4 and tst-backtrace5.
25214 2013-01-18 Anton Blanchard <anton@samba.org>
25215 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25217 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25218 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25219 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25220 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25222 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25223 "+r" and remove output regs list as redundant. Add explicit inline
25224 asm to specify register of return val to work around compiler codegen
25225 bug. Remove (int) cast on return value. Add return type parameter to
25226 use in macro so that this macro does not truncate return value for
25228 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25229 pass to INTERNAL_VSYSCALL_NCS.
25230 (INLINE_VSYSCALL): Add 'long int' as return type to
25231 INTERNAL_VSYSCALL_NCS macro invocation.
25232 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25233 INTERNAL_VSYSCALL_NCS macro invocation.
25234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25236 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25239 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25240 Fix application of SIMD FP exception mask.
25242 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25243 mp_no from a power of two.
25244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25245 __mpexp_twomm1. Use __pow_mp.
25247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25250 2013-01-17 David S. Miller <davem@davemloft.net>
25252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25254 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25257 * include/complex.h: Condition contents on [!_COMPLEX_H].
25258 (__kernel_casinhf): New prototype.
25259 (__kernel_casinh): Likewise.
25260 (__kernel_casinhl): Likewise.
25261 * math/Makefile (libm_calls): Add k_casinh.
25262 * math/k_casinh.c: New file.
25263 * math/k_casinhf.c: Likewise.
25264 * math/k_casinhl.c: Likewise.
25265 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25266 finite nonzero arguments.
25267 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25268 finite nonzero arguments.
25269 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25270 finite nonzero arguments.
25271 * math/s_casinh.c: Do not include <float.h>.
25272 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25273 * math/s_casinhf.c: Do not include <float.h>.
25274 (__casinhf): Move code for finite nonzero arguments to
25276 * math/s_casinhl.c: Do not include <float.h>.
25277 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25279 (__casinhl): Move code for finite nonzero arguments to
25281 * math/libm-test.inc (cacos_test): Add more tests.
25282 * sysdeps/i386/fpu/libm-test-ulps: Update.
25283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25287 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25288 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25289 [!HAVE_MREMAP]: Remove [defined linux] case.
25290 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25292 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25294 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25296 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25298 * elf/elf.h (R_386_SIZE32): New relocation.
25299 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25301 (elf_machine_rela): Likewise.
25302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25303 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25305 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25307 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25308 (FP_FAST_FMA): Do not define.
25309 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25310 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25311 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25312 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25313 !_SOFT_FLOAT]: Likewise.
25314 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25315 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25317 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25318 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25319 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25321 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25322 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25325 2013-01-16 Andreas Schwab <schwab@suse.de>
25328 * include/stdlib.h (__mktemp): Add declaration.
25329 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25330 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25332 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25334 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25336 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25337 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25338 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25340 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25341 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25343 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25345 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25346 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25347 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25349 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25350 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25352 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25354 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25356 2013-01-15 David S. Miller <davem@davemloft.net>
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25359 trunc{,f} to libm-sysdep_routes.
25360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25370 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25372 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25374 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25375 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25378 nearbyint{,f} to libm-sysdep_routes.
25379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25392 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25395 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25396 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25397 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25399 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25400 libc_feholdexcept and libc_fesetenv.
25402 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25404 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25406 2013-01-14 David S. Miller <davem@davemloft.net>
25408 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25409 (SPARC_ASM_VIS2_IFUNC): Likewise.
25410 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25412 use of 'siam' instruction.
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25446 routines to libm-sysdep_routines.
25447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25450 fdim/fdimf to libm-sysdep_routines.
25451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25459 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25460 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25462 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25464 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25466 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25467 to optimize copies.
25469 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25474 local variable MPTWO.
25475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25478 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25480 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25483 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25485 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25487 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25489 * manual/pattern.texi (glob_t): Document gl_flags.
25490 (glob64_t): Likewise.
25492 2013-01-11 David S. Miller <davem@davemloft.net>
25494 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25495 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25496 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25497 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25498 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25499 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25500 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25501 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25502 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25503 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25504 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25505 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25506 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25508 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25509 sparc V9 rather than using V8 code.
25510 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25511 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25513 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25515 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25518 2013-01-11 Roland McGrath <roland@hack.frob.com>
25520 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25521 not in the main loop.
25522 * configure: Regenerated.
25524 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25526 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25527 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25529 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25530 [!__GLIBC_HAVE_LONG_LONG] case.
25531 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25532 condition to just #else.
25533 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25534 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25535 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25536 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25538 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25539 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25540 #elif condition to just #else.
25541 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25542 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25543 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25544 #elif condition to just #else.
25546 2013-01-11 Steve Ellcey <sellcey@mips.com>
25548 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25549 (EF_MIPS_ARCH_64): Fix value.
25550 (EF_MIPS_ARCH_32R2): New.
25551 (EF_MIPS_ARCH_64R2): New.
25553 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25555 * Makeconfig (+link-pie-before-libc): New.
25556 (+link-pie-after-libc): Likewise.
25557 (+link-pie-tests): Likewise.
25558 (+link-pie): Rewritten.
25559 (link-before-libc): Remove $(config-LDFLAGS).
25560 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25561 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25562 (config-LDFLAGS): Renamed to ...
25563 (rtld-LDFLAGS): This.
25564 (rtld-tests-LDFLAGS): New macro.
25565 (link-libc-rpath-link): Likewise.
25566 (link-libc-tests-rpath-link): Likewise.
25567 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25568 (link-libc): Prepand $(link-libc-rpath-link).
25569 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25570 (test-program-prefix): New macro.
25571 (test-via-rtld-prefix): Likewise.
25572 (test-program-cmd): Likewise.
25573 (host-test-program-cmd): Likewise.
25574 * Makefile ($(common-objpfx)testrun.sh): Replace
25575 $(run-program-prefix) with $(test-program-prefix).
25576 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25578 ($(common-objpfx)shlib.lds): Likewise.
25579 (build-module-helper): Likewise.
25580 ($(common-objpfx)format.lds): Likewise.
25581 * Rules (binaries-pie-tests): New.
25582 (binaries-pie-notests): Likewise.
25583 (binaries-pie): Rewritten.
25584 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25585 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25586 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25587 (make-test-out): Replace $(host-built-program-cmd) with
25588 $(host-test-program-cmd).
25589 * config.make.in (build-hardcoded-path-in-tests): New variable.
25590 * configure.in (--enable-hardcoded-path-in-tests): New configure
25592 (hardcoded_path_in_tests): New AC_SUBST.
25593 * configure: Regenerated.
25594 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25595 $(built-program-cmd) with $(test-program-cmd).
25596 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25597 (test_program_cmd): This.
25598 * elf/Makefile ($(objpfx)order.out): Run test with
25599 $(test-program-prefix).
25600 ($(objpfx)order2.out): Likewise.
25601 ($(objpfx)tst-initorder.out): Likewise.
25602 ($(objpfx)tst-initorder2.out): Likewise.
25603 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25604 $(test-program-cmd).
25605 ($(objpfx)tst-array1-static.out): Likewise.
25606 ($(objpfx)tst-array2.out): Likewise.
25607 ($(objpfx)tst-array3.out): Likewise.
25608 ($(objpfx)tst-array4.out): Likewise.
25609 ($(objpfx)tst-array5.out): Likewise.
25610 ($(objpfx)tst-array5-static.out): Likewise.
25611 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25612 $(test-program-cmd).
25613 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25614 $(run-program-prefix) with $(test-program-prefix).
25615 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25616 (test_program_prefix): This.
25617 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25618 $(run-program-prefix) with $(test-program-prefix).
25619 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25620 (test_program_prefix): This.
25621 * iconvdata/tst-tables.sh: Likewise.
25622 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25623 $(run-program-prefix) with $(test-program-prefix).
25624 ($(objpfx)tst-translit.out): Likewise.
25625 ($(objpfx)tst-gettext2.out): Likewise.
25626 ($(objpfx)tst-gettext4.out): Likewise.
25627 ($(objpfx)tst-gettext6.out): Likewise.
25628 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25629 (test_program_prefix): This.
25630 * intl/tst-gettext2.sh: Likewise.
25631 * intl/tst-gettext4.sh Likewise.
25632 * intl/tst-gettext6.sh: Likewise.
25633 * intl/tst-translit.sh: Likewise.
25634 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25635 with $(test-program-cmd).
25636 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25637 $(run-program-prefix) with $(test-program-prefix).
25638 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25639 (test_program_prefix): This.
25640 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25641 $(run-program-prefix) with $(test-program-prefix).
25642 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25643 (test_program_prefix): This.
25644 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25645 * posix/Makefile ($(objpfx)globtest.out): Replace
25646 $(run-via-rtld-prefix) and $(test-wrapper) with
25647 $(test-program-prefix) and $(test-via-rtld-prefix).
25648 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25649 $(test-program-prefix).
25650 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25651 $(host-test-program-cmd).
25652 (tst-spawn-ARGS): Likewise.
25653 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25654 $(test-program-prefix).
25655 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25656 (test_via_rtld_prefix): This.
25657 (test_wrapper): Renamed to ...
25658 (test_program_prefix): This.
25659 (run_program_prefix): Replaced by test_program_prefix.
25660 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25661 (test_program_prefix): This.
25662 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25663 with $(host-test-program-cmd).
25664 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25665 $(run-program-prefix) with $(test-program-prefix).
25666 ($(objpfx)tst-printf.out): Likewise.
25667 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25668 $(test-program-cmd).
25669 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25670 (test_program_prefix): This.
25671 * stdio-common/tst-unbputc.sh: Likewise.
25672 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25673 $(run-program-prefix) with $(test-program-prefix).
25674 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25675 (test_program_prefix): This.
25676 * string/Makefile ($(objpfx)tst-svc.out): Replace
25677 $(built-program-cmd) with $(test-program-cmd).
25679 2013-01-11 Andreas Jaeger <aj@suse.de>
25682 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25683 value. Sync with Linux 3.7.
25685 2013-01-10 David S. Miller <davem@davemloft.net>
25687 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25688 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25689 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25691 2013-01-10 Roland McGrath <roland@hack.frob.com>
25693 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25695 * configure: Regenerated.
25697 2013-01-10 David S. Miller <davem@davemloft.net>
25699 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25700 sparc V9 rather than using V8 code.
25701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25704 2013-01-10 Roland McGrath <roland@hack.frob.com>
25706 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25707 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25708 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25709 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25710 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25711 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25712 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25713 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25714 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25715 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25716 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25717 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25718 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25719 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25720 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25721 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25722 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25723 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25724 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25725 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25726 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25727 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25728 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25729 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25730 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25731 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25732 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25734 2013-01-10 David S. Miller <davem@davemloft.net>
25736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25738 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25740 * posix/Makefile (tests-static): New variable.
25741 (tests): Add $(tests-static).
25742 (tst-exec-static-ARGS): New variable.
25743 (tst-spawn-static-ARGS): Likewise.
25744 * posix/tst-exec-static.c: New file.
25745 * posix/tst-spawn-static.c: Likewise.
25746 * posix/tst-exec.c: Support run directly.
25747 * posix/tst-spawn.c: Likewise.
25749 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25751 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25753 * math/bits/mathcalls.h (llrint): Likewise.
25754 (llround): Likewise.
25755 * stdlib/stdlib.h (struct drand48_data): Likewise.
25756 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25757 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25760 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25763 (elf_greg_t): Likewise.
25764 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25765 (__jmp_buf): Likewise.
25766 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25768 (llrint): Likewise, for all definitions.
25769 (llrintl): Likewise.
25771 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25772 Remove [__GNUC__] condition.
25773 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25774 condition to just [__USE_ISOC99].
25775 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25777 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25780 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25781 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25783 (_POSIX_V6_ILP32_OFF32): Likewise.
25784 (_XBS5_ILP32_OFF32): Likewise.
25785 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25786 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25788 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25790 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25793 doubles __mpexp_twomm1. Adjust usage.
25794 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25797 2013-01-10 Andreas Schwab <schwab@suse.de>
25800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25801 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25803 2013-01-09 David S. Miller <davem@davemloft.net>
25806 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25807 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25808 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25809 (TCP_FASTOPEN): Define.
25810 (tcp_repair_opt): New structure.
25811 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25813 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25814 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25815 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25816 (tcp_cookie_transactions): New structure.
25818 2013-01-09 Anton Blanchard <anton@samba.org>
25820 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25821 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25822 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25823 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25825 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25827 * include/features.h (__USE_ANSI): Remove.
25829 2013-01-09 Roland McGrath <roland@hack.frob.com>
25831 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25833 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25835 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25837 * sysdeps/s390/fpu/libm-test-ulps: Update.
25839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25841 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25845 (denorm): Likewise.
25846 (__mp_dbl): Likewise.
25847 (__dbl_mp): Likewise.
25848 (add_magnitudes): Likewise.
25849 (sub_magnitudes): Likewise.
25855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25859 (denorm): Likewise.
25860 (__mp_dbl): Likewise.
25861 (__dbl_mp): Likewise.
25862 (add_magnitudes): Likewise.
25863 (sub_magnitudes): Likewise.
25869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25873 (denorm): Likewise.
25874 (__mp_dbl): Likewise.
25875 (__dbl_mp): Likewise.
25876 (add_magnitudes): Likewise.
25877 (sub_magnitudes): Likewise.
25884 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25886 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25887 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25888 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25889 2 && __USE_EXTERN_INLINES]: Likewise.
25891 2013-01-08 Andreas Jaeger <aj@suse.de>
25894 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25896 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25897 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25899 2013-01-07 Anton Blanchard <anton@samba.org>
25901 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25902 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25903 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25904 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25905 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25906 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25907 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25908 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25913 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25915 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25918 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25919 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25922 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25924 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25928 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25931 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25933 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25934 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25935 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25936 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25940 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25941 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25943 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25945 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25947 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25948 (__MALLOC_PMT): Likewise.
25949 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25950 [__GNUC__], only on [_LIBC].
25951 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25952 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25953 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25954 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25955 forward declaration.
25956 (realloc_hook_ini): Likewise.
25957 (memalign_hook_ini): Likewise.
25958 (__libc_memalign): Do not use __MALLOC_PMT in variable
25960 (__libc_valloc): Likewise.
25961 (__libc_pvalloc): Likewise.
25962 (__libc_calloc): Likewise.
25963 (__posix_memalign): Likewise.
25966 * math/s_casinh.c: Include <float.h>.
25967 (__casinh): Do not do computation with squaring and square root
25968 for large arguments.
25969 * math/s_casinhf.c: Include <float.h>.
25970 (__casinhf): Do not do computation with squaring and square root
25971 for large arguments.
25972 * math/s_casinhl.c: Include <float.h>.
25973 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25974 (__casinhl): Do not do computation with squaring and square root
25975 for large arguments.
25976 * math/libm-test.inc (casin_test): Add more tests.
25977 (casinh_test): Likewise.
25978 * sysdeps/i386/fpu/libm-test-ulps: Update.
25979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25981 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25983 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25984 (__x86_64_raw_data_cache_size): Likewise.
25985 (__x86_64_data_cache_size_half): Likewise.
25986 (__x86_64_raw_data_cache_size_half): Likewise.
25987 (__x86_64_shared_cache_size): Likewise.
25988 (__x86_64_raw_shared_cache_size): Likewise.
25989 (__x86_64_shared_cache_size_half): Likewise.
25990 (__x86_64_raw_shared_cache_size_half): Likewise.
25991 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25993 (__x86_data_cache_size): This.
25994 (__x86_64_raw_data_cache_size): Renamed to ...
25995 (__x86_raw_data_cache_size): This.
25996 (__x86_64_data_cache_size_half): Renamed to ...
25997 (__x86_data_cache_size_half): This.
25998 (__x86_64_raw_data_cache_size_half): Renamed to ...
25999 (__x86_raw_data_cache_size_half): This.
26000 (__x86_64_shared_cache_size): Renamed to ...
26001 (__x86_shared_cache_size): This.
26002 (__x86_64_raw_shared_cache_size): Renamed to ...
26003 (__x86_raw_shared_cache_size): This.
26004 (__x86_64_shared_cache_size_half): Renamed to ...
26005 (__x86_shared_cache_size_half): This.
26006 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26007 (__x86_raw_shared_cache_size_half): This.
26008 * sysdeps/x86_64/memcpy.S: Updated.
26009 * sysdeps/x86_64/memset.S: Likewise.
26010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26012 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26014 2013-01-04 David S. Miller <davem@davemloft.net>
26016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26018 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26020 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26021 1 to avoid redefinition warning.
26022 (__USE_GNU): Don't define.
26023 (init_signaling_nan): Protoize.
26025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26027 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26029 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26031 (__cpymn): Likewise.
26032 (norm): Remove commented code.
26033 (denorm): Likewise.
26034 (__mp_dbl): Likewise.
26036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26037 (__cpymn): Likewise.
26038 (norm): Remove commented code.
26039 (denorm): Likewise.
26040 (__mp_dbl): Likewise.
26043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26044 mp_no value for 1.0 and 2.0.
26045 (norm): Use RADIXI instead of radixi.d.
26046 (denorm): Likewise.
26047 (__mul): Use 0.0 instead of zero.d.
26048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26049 mp_no value for 1.0 and 2.0.
26050 (norm): Use RADIXI instead of radixi.d.
26051 (denorm): Likewise.
26052 (__mul): Use 0.0 instead of zero.d.
26054 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26057 * math/s_casinh.c (__casinh): Reduce finite argument to first
26058 quadrant then set signs of results at the end.
26059 * math/s_casinhf.c (__casinhf): Likewise.
26060 * math/s_casinhl.c (__casinhl): Likewise.
26061 * math/libm-test.inc (casin_test): Add more tests.
26062 (casinh_test): Likewise.
26063 * sysdeps/i386/fpu/libm-test-ulps: Update.
26064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26068 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26070 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26072 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26074 (denorm): Likewise.
26075 (__mp_dbl): Likewise.
26078 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26079 and adjust the header comment.
26081 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26082 variable name from declaration.
26084 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26087 Initialize COMMON_CPUID_INDEX_7 element.
26088 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26089 (CPUID_RTM): Likewise.
26090 (HAS_RTM): Likewise.
26091 (COMMON_CPUID_INDEX_7): New enum.
26093 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26096 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26097 size is zero, record memory as freed.
26099 2013-01-03 Andreas Jaeger <aj@suse.de>
26101 * po/ia.po: Add new Interlingua translation.
26103 2012-01-03 Allan McRae <allan@archlinux.org>
26105 * locale/programs/localedef.c: Fix description of '--posix' flag.
26107 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26109 * NEWS: Update dates in second copyright notice.
26110 * README: Update copyright dates in example.
26111 * manual/libc.texinfo: Update copyright dates.
26112 * scripts/test-installation.pl: Update copyright date in --version
26115 * hurd/ctty-input.c: Fix copyright notice formatting.
26116 * hurd/ctty-output.c: Likewise.
26117 * hurd/dtable.c: Likewise.
26118 * hurd/hurd-raise.c: Likewise.
26119 * hurd/hurdprio.c: Likewise.
26120 * hurd/msgportdemux.c: Likewise.
26121 * misc/sys/file.h: Likewise.
26122 * misc/sys/ioctl.h: Likewise.
26123 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26124 * sysdeps/mach/hurd/chdir.c: Likewise.
26125 * sysdeps/mach/hurd/fchdir.c: Likewise.
26126 * sysdeps/mach/hurd/rename.c: Likewise.
26127 * sysdeps/mach/hurd/rmdir.c: Likewise.
26128 * sysdeps/mach/hurd/seekdir.c: Likewise.
26129 * sysdeps/mach/hurd/setsid.c: Likewise.
26130 * sysdeps/posix/wait3.c: Likewise.
26132 * All files with FSF copyright notices: Update copyright dates
26133 using scripts/update-copyrights.
26134 * intl/plural.c: Regenerated.
26135 * locale/programs/charmap-kw.h: Likewise.
26136 * locale/programs/locfile-kw.h: Likewise.
26138 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26140 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26143 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26144 calculation loop and add branch prediction.
26146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26147 check access beyond bounds of m1np.
26149 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26151 (__inv): Remove local variable MPTWO to use the global
26153 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26157 MP3HALFS static const.
26159 2013-01-01 David S. Miller <davem@davemloft.net>
26161 * po/ca.po: Update from translation team.
26163 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26165 * scripts/update-copyrights: New file.
26166 * Makeconfig: Reformat copyright notice.
26167 * ctype/ctype.h: Likewise.
26168 * debug/swprintf_chk.c: Likewise.
26169 * elf/dl-cache.c: Likewise.
26170 * elf/dl-debug.c: Likewise.
26171 * elf/dl-object.c: Likewise.
26172 * grp/initgroups.c: Likewise.
26173 * hurd/Makefile: Likewise.
26174 * hurd/hurd/signal.h: Likewise.
26175 * hurd/hurdfault.c: Likewise.
26176 * hurd/hurdioctl.c: Likewise.
26177 * hurd/hurdlookup.c: Likewise.
26178 * hurd/intr-msg.c: Likewise.
26179 * iconv/gconv_open.c: Likewise.
26180 * libio/swprintf.c: Likewise.
26181 * locale/lc-ctype.c: Likewise.
26182 * locale/nl_langinfo.c: Likewise.
26183 * mach/Machrules: Likewise.
26184 * mach/Makefile: Likewise.
26185 * malloc/obstack.h: Likewise.
26186 * manual/Makefile: Likewise.
26187 * manual/tsort.awk: Likewise.
26188 * misc/bits/stab.def: Likewise.
26189 * nis/nis_print_group_entry.c: Likewise.
26190 * nis/nis_table.c: Likewise.
26191 * nis/nss_compat/compat-pwd.c: Likewise.
26192 * nis/nss_compat/compat-spwd.c: Likewise.
26193 * po/Makefile: Likewise.
26194 * posix/fnmatch.c: Likewise.
26195 * posix/regex.h: Likewise.
26196 * resolv/Makefile: Likewise.
26197 * resolv/nss_dns/dns-network.c: Likewise.
26198 * resolv/res_hconf.c: Likewise.
26199 * scripts/gen-sorted.awk: Likewise.
26200 * soft-fp/soft-fp.h: Likewise.
26201 * stdio-common/printf.h: Likewise.
26202 * stdlib/monetary.h: Likewise.
26203 * stdlib/random.c: Likewise.
26204 * stdlib/random_r.c: Likewise.
26205 * sysdeps/generic/Makefile: Likewise.
26206 * sysdeps/gnu/Makefile: Likewise.
26207 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26235 * sysdeps/mach/hurd/errnos.awk: Likewise.
26236 * sysdeps/mach/hurd/fork.c: Likewise.
26237 * sysdeps/mach/hurd/getcwd.c: Likewise.
26238 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26239 * sysdeps/mach/hurd/mmap.c: Likewise.
26240 * sysdeps/mach/hurd/utimes.c: Likewise.
26241 * sysdeps/mach/hurd/xmknod.c: Likewise.
26242 * sysdeps/posix/profil.c: Likewise.
26243 * sysdeps/posix/readdir_r.c: Likewise.
26244 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26245 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26246 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26247 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26255 * sysdeps/pthread/lio_listio.c: Likewise.
26256 * sysdeps/sparc/dl-procinfo.h: Likewise.
26257 * sysdeps/unix/i386/sysdep.S: Likewise.
26258 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26259 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26260 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26261 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26263 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26264 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26265 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26266 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26267 * sysdeps/wordsize-32/divdi3.c: Likewise.
26268 * time/sys/time.h: Likewise.
26269 * wcsmbs/Makefile: Likewise.
26271 2013-01-01 David S. Miller <davem@davemloft.net>
26273 * po/fr.po: Update from translation team.
26275 * catgets/gencat.c: Update copyright year.
26276 * csu/version.c: Likewise.
26277 * debug/catchsegv.sh: Likewise.
26278 * debug/pcprofiledump.c: Likewise.
26279 * debug/xtrace.sh: Likewise.
26280 * elf/ldconfig.c: Likewise.
26281 * elf/ldd.bash.in: Likewise.
26282 * elf/pldd.c: Likewise.
26283 * elf/sotruss.ksh: Likewise.
26284 * elf/sprof.c: Likewise.
26285 * iconv/iconv_prog.c: Likewise.
26286 * iconv/iconvconfig.c: Likewise.
26287 * locale/programs/locale.c: Likewise.
26288 * locale/programs/localedef.c: Likewise.
26289 * login/programs/pt_chown.c: Likewise.
26290 * malloc/memusage.sh: Likewise.
26291 * malloc/memusagestat.c: Likewise.
26292 * malloc/mtrace.pl: Likewise.
26293 * nscd/nscd.c: Likewise.
26294 * nss/getent.c: Likewise.
26295 * nss/makedb.c: Likewise.
26296 * posix/getconf.c: Likewise.
26298 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26300 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26303 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26305 * math/bits/mathcalls.h (modf): Use __nonnull.
26307 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26309 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26310 (split): Use macro CN instead of the bare value.
26311 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26314 instead of the bare value.
26315 (power1): Likewise.
26317 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26323 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26325 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26327 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26328 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26330 2012-12-28 Andreas Jaeger <aj@suse.de>
26332 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26333 values are from Linux 3.7.
26335 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26336 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26338 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26345 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26346 variables with preprocessor constants.
26347 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26348 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26351 2012-12-27 Bruno Haible <bruno@clisp.org>
26354 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26357 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26360 and use variable directly.
26361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26363 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26365 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26370 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26371 include directive. Remove local variable MPONE.
26372 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26374 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26376 2012-12-25 David S. Miller <davem@davemloft.net>
26378 * version.h (RELEASE): Set to "development".
26379 (VERSION): Set to "2.17.90".
26380 * NEWS: Add 2.18 section.
26382 2012-12-21 David S. Miller <davem@davemloft.net>
26384 * po/hr.po: Update from translation team.
26386 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26388 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26390 2012-12-19 Steve Ellcey <sellcey@mips.com>
26392 * NEWS: Mention new memcpy for MIPS.
26394 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26396 * manual/contrib.texi (Contributors): Spelling correction.
26398 2012-12-15 David S. Miller <davem@davemloft.net>
26400 * po/ru.po: Update from translation team.
26402 2012-12-13 David S. Miller <davem@davemloft.net>
26404 * NEWS: Mention IFUNC testsuite enhancements.
26406 * po/pl.po: Update from translation team.
26407 * po/bg.po: Likewise.
26409 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26410 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26412 2012-12-11 David S. Miller <davem@davemloft.net>
26414 * po/sv.po: Update from translation team.
26416 * po/vi.po: Update from translation team.
26418 * po/cs.po: Update from translation team.
26420 * po/de.po: Update from translation team.
26421 * po/eo.po: Likewise.
26422 * po/nl.po: Likewise.
26424 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26427 * manual/argp.texi (Argp Helper Functions): Move node to follow
26428 Argp Parsing State.
26431 * manual/conf.texi (Limits on File System Capacity): Mention if
26432 terminating null is included in the max size.
26434 2012-12-10 Andreas Jaeger <aj@suse.de>
26436 * po/cs.po: Update from translation team.
26438 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26440 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26441 void pointer and cast to uintptr_t.
26442 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26444 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26445 * sysdeps/s390/s390-64/memset.S: Likewise.
26447 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26450 * menual/message.texi (Message Translation): Fix typos.
26451 (Helper programs for gettext): Likewise.
26453 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26456 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26459 2012-12-07 David S. Miller <davem@davemloft.net>
26461 * po/libc.pot: Update.
26463 2012-12-07 Richard Henderson <rth@redhat.com>
26466 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26467 normal/normal case to before the switch.
26468 (_FP_DIV): Likewise.
26470 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26471 Mike Frysinger <vapier@gentoo.org>
26473 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26474 check for __NR_fadvise64_64.
26476 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26478 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26479 0, not just to plain "0" as a statement.
26480 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26483 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26485 * NEWS: Use sourceware.org in Bugzilla URL.
26487 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26490 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26492 * stdio-common/tst-put-error.c (do_test): Add newline to the
26493 padded test to ensure flush.
26495 2012-12-05 Jeff Law <law@redhat.com>
26497 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26499 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26501 * README: Don't refer to ports add-on as distributed separately.
26502 Mention AArch64 in list of systems supported in the ports add-on.
26504 * LICENSES: Add more non-FSF copyright and license notices.
26506 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26509 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26511 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26512 10000 as width of padded output.
26514 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26516 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26519 variable LX with __attribute__ ((unused)).
26520 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26522 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26524 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26525 with __attribute__ ((unused)).
26527 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26529 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26531 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26533 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26534 (CFLAGS-nldbl-acos.c): New variable.
26535 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26536 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26537 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26538 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26539 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26540 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26541 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26542 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26543 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26544 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26545 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26546 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26547 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26548 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26549 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26550 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26551 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26552 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26553 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26554 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26555 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26556 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26557 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26558 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26559 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26560 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26561 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26562 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26563 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26564 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26565 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26566 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26567 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26568 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26619 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26620 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26621 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26622 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26623 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26624 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26625 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26626 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26627 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26628 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26629 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26630 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26631 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26634 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26638 whole low double instead of just low 47 bits when splitting values
26641 2012-12-03 Allan McRae <allan@archlinux.org>
26643 * manual/stdio.texi (Predefined Printf Handlers): Remove
26644 @hsep and @vsep usage.
26646 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26648 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26649 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26651 2012-12-03 Jeff Law <law@redhat.com>
26653 * time/sys/time.h (settimeofday): Do not mark TV argument
26656 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26658 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26659 when currently writing and seek to current position when not.
26660 * libio/Makefile (tests): Remove bug-fclose1.
26661 * libio/bug-fclose1.c: Delete.
26663 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26665 * manual/arith.texi (feenableexcept): Fix typo.
26666 (fedisableexcept): Likewise.
26668 2012-11-30 Roland McGrath <roland@hack.frob.com>
26670 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26671 second, differently-typed declaration, rather than a cast.
26673 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26675 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26676 * include/rpc/svc.h: ... here.
26678 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26681 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26682 depending n and resplen2 to catch cases where answer
26685 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26687 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26688 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26690 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26694 2012-11-29 Roland McGrath <roland@hack.frob.com>
26696 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26698 2012-11-28 Jeff Law <law@redhat.com>
26701 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26702 dataset_temporary. Track alloca usage into alloca_used.
26703 If dataset is large allocate and release it via malloc/free.
26705 2012-06-04 Florian Weimer <fweimer@redhat.com>
26708 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26710 2012-11-28 David S. Miller <davem@davemloft.net>
26712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26714 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26717 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26718 of pi/2 rounded to nearest to 64 bits.
26719 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26720 nearest to 64 bits.
26721 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26724 2012-11-28 Jeff Law <law@redhat.com>
26725 Martin Osvald <mosvald@redhat.com>
26728 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26729 * sunrpc/svc.c: Include time.h.
26730 (__svc_accept_failed): New function.
26731 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26732 any reason other than EINTR, call __svc_accept_failed.
26733 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26734 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26736 2012-11-28 Andreas Schwab <schwab@suse.de>
26738 * scripts/abilist.awk: Also handle indirect functions in .opd
26741 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26744 * sysdeps/x86/fpu/powl_helper.c: New file.
26745 * sysdeps/x86/fpu/Makefile: Likewise.
26746 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26748 (__ieee754_powl): Use __powl_helper for finite arguments except
26749 integer exponents below 8.
26750 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26752 (__ieee754_powl): Use __powl_helper for finite arguments except
26753 integer exponents below 8.
26754 * math/libm-test.inc (pow_test): Add more tests and enable some
26755 previously disabled tests.
26756 * sysdeps/i386/fpu/libm-test-ulps: Update.
26757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26759 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26760 Carlos O'Donell <carlos_odonell@mentor.com>
26762 * nss/makedb.c (is_prime): Assert that input is odd and greater
26763 than 4. Note that fact in a comment too.
26764 (next_prime): Add 4 to input.
26766 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26769 * libio/Makefile (tests): Add test case tst-fwrite-error.
26770 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26771 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26772 * libio/tst-fwrite-error.c: New test case.
26774 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26776 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26777 before casting to void *.
26778 * include/libc-internal.h (__pointer_type): New macro.
26779 (__integer_if_pointer_type_sub): Likewise.
26780 (__integer_if_pointer_type): Likewise.
26781 (cast_to_integer): Likewise.
26782 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26783 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26784 before casting to atomic64_t.
26785 (atomic_exchange_acq): Likewise.
26786 (__arch_exchange_and_add_body): Likewise.
26787 (__arch_add_body): Likewise.
26788 (atomic_add_negative): Likewise.
26789 (atomic_add_zero): Likewise.
26791 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26793 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26794 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26795 (add_fdes): Likewise.
26796 (linear_search_fdes): Likewise.
26797 (binary_search_unencoded_fdes): Likewise.
26799 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26801 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26803 2012-11-24 Adam Conrad <adconrad@0c3.net>
26805 * configure.in: Autodetect C++ header directories.
26806 * configure: Regenerated.
26808 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26810 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26812 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26816 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26818 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26819 LDBL_MANT_DIG == 106]: Disable some tests.
26820 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26822 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26827 input for small inputs. Return +/- pi/2 for large inputs.
26828 * math/libm-test.inc (atan_test): Add more tests.
26830 * sysdeps/generic/unwind-dw2-fde-glibc.c
26831 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26832 __attribute__ ((unused)).
26835 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26836 x * y if x and y are nonzero and z is zero.
26839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26840 nonzero exponents with absolute value below 0x1p-117 to +/-
26844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26845 up arguments below 2**-450, not just those below 2**-500.
26846 * math/libm-test.inc (hypot_test): Add another test.
26849 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26850 Return a+b for ratio over 2**120, not 2**60.
26851 * math/libm-test.inc (hypot_test): Add another test.
26853 * math/libm-test.inc (clog_test): Use
26854 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26855 (clog10_test): Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26860 2012-11-22 Andreas Schwab <schwab@suse.de>
26862 * sysdeps/i386/fpu/libm-test-ulps: Update.
26864 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26866 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26867 printf output with newline.
26869 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26872 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26873 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26874 -z nodlopen, -z initfirst and -z execstack support.
26875 * configure: Regenerated.
26877 * elf/elf.h (DF_1_NODIRECT): New macro.
26878 (DF_1_IGNMULDEF): Likewise.
26879 (DF_1_NOKSYMS): Likewise.
26880 (DF_1_NOHDR): Likewise.
26881 (DF_1_EDITED): Likewise.
26882 (DF_1_NORELOC): Likewise.
26883 (DF_1_SYMINTPOSE): Likewise.
26884 (DF_1_GLOBAUDIT): Likewise.
26885 (DF_1_SINGLETON): Likewise.
26886 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26887 DT_1_SUPPORTED_MASK bits.
26888 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26890 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26892 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26894 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26896 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26899 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26900 (sendmmsg): Move declarations...
26901 * socket/sys/socket.h: ... here.
26902 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26903 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26905 * socket/recvmmsg.c: ... this new file.
26906 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26907 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26908 definition of __sendmmsg hidden.
26909 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26910 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26911 Move ENOSYS stub into and include it from...
26912 * socket/sendmmsg.c: ... this new file.
26913 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26914 (sysdep_routines): Move recvmmsg and sendmmsg...
26915 * socket/Makefile (routines): ... here.
26916 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26917 (GLIBC_PRIVATE): Add __sendmmsg.
26918 * include/sys/socket.h (__sendmmsg): Add declarations.
26919 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26922 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26925 variable I1 with __attribute__ ((unused)).
26926 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26928 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26930 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26931 DUMMY variables with __attribute__ ((unused)).
26933 * bits/byteswap.h: Include <bits/types.h>.
26934 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26936 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26938 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26939 string_t. Do not manually set errno.
26940 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26941 length with __strnlen. Make sure to both set errno and return it on
26944 2012-11-19 David S. Miller <davem@davemloft.net>
26946 With help from Joseph Myers.
26947 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26948 very large arguments properly.
26949 * math/libm-test.inc (atan_test): New tests.
26950 (atan2_test): New tests.
26951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26954 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26957 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26960 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26961 [POSIX] (EADDRNOTAVAIL): Likewise.
26962 [POSIX] (EAFNOSUPPORT): Likewise.
26963 [POSIX] (EALREADY): Likewise.
26964 [POSIX] (ECONNABORTED): Likewise.
26965 [POSIX] (ECONNREFUSED): Likewise.
26966 [POSIX] (ECONNRESET): Likewise.
26967 [POSIX] (EDESTADDRREQ): Likewise.
26968 [POSIX] (EDQUOT): Likewise.
26969 [POSIX] (EHOSTUNREACH): Likewise.
26970 [POSIX] (EIDRM): Likewise.
26971 [POSIX] (EISCONN): Likewise.
26972 [POSIX] (ELOOP): Likewise.
26973 [POSIX] (EMULTIHOP): Likewise.
26974 [POSIX] (ENETDOWN): Likewise.
26975 [POSIX] (ENETUNREACH): Likewise.
26976 [POSIX] (ENOBUFS): Likewise.
26977 [POSIX] (ENODATA): Likewise.
26978 [POSIX] (ENOLINK): Likewise.
26979 [POSIX] (ENOMSG): Likewise.
26980 [POSIX] (ENOPROTOOPT): Likewise.
26981 [POSIX] (ENOSR): Likewise.
26982 [POSIX] (ENOSTR): Likewise.
26983 [POSIX] (ENOTCONN): Likewise.
26984 [POSIX] (ENOTSOCK): Likewise.
26985 [POSIX] (EOPNOTSUPP): Likewise.
26986 [POSIX] (EOVERFLOW): Likewise.
26987 [POSIX] (EPROTO): Likewise.
26988 [POSIX] (EPROTONOSUPPORT): Likewise.
26989 [POSIX] (EPROTOTYPE): Likewise.
26990 [POSIX] (ESTALE): Likewise.
26991 [POSIX] (ETIME): Likewise.
26992 [POSIX] (ETXTBSY): Likewise.
26993 [POSIX] (EWOULDBLOCK): Likewise.
26994 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26995 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26996 [POSIX] (SEEK_CUR): Likewise.
26997 [POSIX] (SEEK_END): Likewise.
26998 [POSIX || UNIX98] (mode_t): Do not require.
26999 [POSIX] (off_t): Likewise.
27000 [POSIX] (pid_t): Likewise.
27001 [POSIX] (sys/stat.h): Do not allow header.
27002 [POSIX] (unistd.h): Likewise.
27003 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27004 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27005 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27006 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27008 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27009 sigevent): Specify elements.
27010 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27012 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27013 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27015 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27016 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27017 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27018 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27019 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27020 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27021 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27022 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27023 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27024 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27025 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27026 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27027 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27028 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27030 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27032 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27034 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27036 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27037 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27039 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27040 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27041 Specify lower bound on value.
27042 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27043 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27048 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27049 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27051 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27053 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27055 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27057 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27058 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27059 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27065 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27066 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27067 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27070 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27072 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27079 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27081 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27082 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27084 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27085 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27087 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27091 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27092 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27093 specify as optional.
27094 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27097 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27098 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27099 [XPG3] (NL_LANGMAX): Likewise.
27100 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27101 [POSIX || XPG3] (NL_NMAX): Likewise.
27102 [POSIX || XPG3] (NL_SETMAX): Likewise.
27103 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27104 [XPG3] (NZERO): Likewise.
27105 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27106 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27107 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27108 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27109 (REG_ERANGE): Expect.
27110 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27112 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27113 Use (void) in prototype.
27114 [POSIX] (*_t): Allow.
27115 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27116 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27117 (WRDE_BADVAL): Expect.
27119 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27121 [XPG3 || XPG4] (O_RSYNC): Likewise.
27122 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27124 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27125 [XPG3 || XPG4] (sigqueue): Likewise.
27126 [XPG3 || XPG4] (sigtimedwait): Likewise.
27127 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27128 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27129 [XPG3 || XPG4] (vsnprintf): Likewise.
27130 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27132 [XPG3 || XPG4] (blksize_t): Likewise.
27133 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27135 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27136 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27137 [XPG3 || XPG4] (struct itimerspec): Likewise.
27138 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27139 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27140 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27141 [XPG3 || XPG4] (clockid_t): Likewise.
27142 [XPG3 || XPG4] (timer_t): Likewise.
27143 [XPG3 || XPG4] (clock_getres): Likewise.
27144 [XPG3 || XPG4] (clock_gettime): Likewise.
27145 [XPG3 || XPG4] (clock_settime): Likewise.
27146 [XPG3 || XPG4] (nanosleep): Likewise.
27147 [XPG3 || XPG4] (timer_create): Likewise.
27148 [XPG3 || XPG4] (timer_delete): Likewise.
27149 [XPG3 || XPG4] (timer_gettime): Likewise.
27150 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27151 [XPG3 || XPG4] (timer_settime): Likewise.
27152 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27153 [XPG3 || XPG4] (getlogin_r): Likewise.
27154 [XPG3 || XPG4] (pread): Likewise.
27155 [XPG3 || XPG4] (pthread_atfork): Likewise.
27156 [XPG3 || XPG4] (pwrite): Likewise.
27159 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27162 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27164 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27165 finalizing MALLSTREAM.
27167 * sysdeps/mach/hurd/syncfs.c: New file.
27169 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27172 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27173 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27174 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27175 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27176 (_nss_dns_gethostbyname4_r): Likewise.
27177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27178 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27180 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27183 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27185 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27187 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27188 * elf/cache.c (print_entry): Print ",AArch64" for
27191 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27192 * elf/cache.c (print_entry): Print ",hard-float" for
27195 2012-11-18 David S. Miller <davem@davemloft.net>
27197 With help from Joseph Myers.
27198 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27200 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27202 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27203 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27206 * math/libm-test.inc (y0_test): New tests.
27207 (y1_test): New tests.
27208 * sysdeps/i386/fpu/libm-test-ulps: Update.
27209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27212 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27214 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27216 * configure: Regenerated.
27218 2012-11-17 David S. Miller <davem@davemloft.net>
27221 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27222 nonzero exponents with absolute value below 0x1p-128 to +/-
27225 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27227 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27229 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27231 * posix/getconf-speclist.c: New file.
27232 * posix/posix-envs.def: Likewise.
27233 * posix/confstr.c (START_ENV_GROUP): New macro.
27234 (END_ENV_GROUP): Likewise.
27235 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27236 (KNOWN_PRESENT_ENV_STRING): Likewise.
27237 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27238 (UNKNOWN_ENVIRONMENT): Likewise.
27239 (confstr): Include posix-envs.def instead of handling
27240 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27241 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27242 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27243 (END_ENV_GROUP): Likewise.
27244 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27245 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27246 (UNKNOWN_ENVIRONMENT): Likewise.
27247 (__sysconf): Include posix-envs.def instead of handling associated
27248 cases directly here.
27249 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27250 preprocessing getconf-speclist.c rather than running getconf or
27251 generating empty file.
27253 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27255 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27257 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27260 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27262 2012-11-16 David S. Miller <davem@davemloft.net>
27264 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27265 smaller than LDBL_EPSILON/2.0L, just return xm1.
27267 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27269 * elf/tst-array1.c (init): Set constructor priority to 1000.
27270 (fini): Set destructor priority to 1000.
27271 * elf/tst-array2dep.c: Likewise.
27273 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27276 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27277 (_IO_new_file_xsputn): Also return EOF if none of the input
27278 data was written when overflow failed.
27279 * libio/iopadn.c (_IO_padn): Likewise.
27280 * libio/iowpadn.c (_IO_wpadn): Likewise.
27281 * stdio-common/tst-put-error.c: Add copyright notice.
27282 (do_test): Add case for printing padded string.
27283 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27284 _IO_padn returned error.
27285 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27286 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27289 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27291 * libio/libioP.h: Add comment note that the references to C++
27292 bits are now obsolete.
27294 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27296 * math/libm-test.inc (check_complex): Use asprintf.
27298 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27300 * debug/pcprofiledump.c (print_version): Update copyright year.
27301 * malloc/memusagestat.c (print_version): Likewise.
27303 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27306 * elf/Makefile (tests): Add tst-audit8.
27307 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27308 ($(objpfx)tst-audit8.out): New target.
27309 (tst-audit8-ENV): New variable.
27310 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27311 audit if l_reloc_result is NULL.
27312 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27313 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27314 * elf/tst-audit8.c: New file.
27316 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27318 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27319 * misc/Makefile (CFLAGS-select.c): Define.
27320 * posix/Makefile (CFLAGS-pause.c): Define.
27322 2012-11-13 David S. Miller <davem@davemloft.net>
27324 * crypt/Makefile: Move test targets after toplevel Rules
27325 inclusion. Grab any necessary sysdep routines when linking.
27326 * crypt/md5.c (md5_process_block): Remove define, we will always
27327 name it __md5_process_block.
27328 (md5_finish_ctx): Update md5_process_block call.
27329 (md5_stream): Likewise.
27330 (md5_process_bytes): Likewise.
27331 (md5_process_block): Rename to __md5_process_block and move to ...
27332 * crypt/md5-block.c: ... here.
27333 * crypt/sha256.c (sha256_process_block): Move to ...
27334 * crypt/sha256-block.c: ... here.
27335 * crypt/sha512.c (sha512_process_block): Move to ...
27336 * crypt/sha512-block.c: ... here.
27337 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27339 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27340 * sysdeps/sparc/sparc64/multiarch/Makefile
27341 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27343 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27346 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27347 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27348 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27349 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27350 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27351 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27352 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27353 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27354 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27356 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27359 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27361 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27363 * timezone/tzselect.ksh: Update from tzcode git revision
27364 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27365 * timezone/zdump.c: Likewise.
27366 * timezone/zic.c: Likewise.
27367 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27368 in TZVERSION setting, not $(PKGVERSION).
27369 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27370 REPORT_BUGS_TO settings.
27373 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27376 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27378 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27379 detection to immediately after _FP_ROUND().
27380 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27383 2012-11-11 David S. Miller <davem@davemloft.net>
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27387 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27388 __close rather than their public counterparts.
27390 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27392 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27394 [UNIX98] (sem_timedwait): Do not expect.
27395 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27396 [XPG4 || UNIX98] (sockatmark): Do not expect.
27397 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27398 (clock_getcpuclockid): Do not expect.
27399 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27400 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27402 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27403 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27404 [UNIX98] (vwscanf): Likewise.
27405 [UNIX98] (vswscanf): Likewise.
27407 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27409 * timezone/version.h: Remove file.
27410 * timezone/README: Do not refer to version.h.
27411 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27412 $(objpfx)version.h.
27413 ($(objpfx)zdump.o): Likewise.
27414 ($(objpfx)version.h): New target.
27416 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27418 * timezone/README: Don't mention modification to tzselect.ksh.
27419 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27420 work on unmodified tzselect.ksh. Substitute version numbers in
27423 * Makefile (format-me): Remove.
27424 (INSTALL): Adjust indentation. Use commands directly instead of
27425 using $(format-me).
27427 * aclocal.m4 (ACX_PKGVERSION): New macro.
27428 (ACX_BUGURL): Likewise.
27429 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27430 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27431 (REPORT_BUGS_TO): Likewise.
27432 * configure: Regenerated.
27433 * config.h.in (PKGVERSION): New macro.
27434 (REPORT_BUGS_TO): Likewise.
27435 * config.make.in (PKGVERSION): New variable.
27436 (PKGVERSION_TEXI): Likewise.
27437 (REPORT_BUGS_TO): Likewise.
27438 (REPORT_BUGS_TEXI): Likewise.
27439 * Makefile (format-me): Use -I$(common-objpfx)manual.
27440 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27441 ($(common-objpfx)manual/%): New target.
27442 (manual/%): Remove target.
27443 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27444 (print_version): Use PKGVERSION.
27445 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27446 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27447 and REPORT_BUGS_TO.
27448 ($(objpfx)xtrace): Likewise.
27449 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27450 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27451 (print_version): Use PKGVERSION.
27452 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27453 (do_version): Use PKGVERSION.
27454 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27456 (common-ldd-rewrite): Likewise.
27457 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27458 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27459 (print_version): Use PKGVERSION.
27460 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27461 * elf/pldd.c (argp_program_bug_address): Remove variable.
27462 (more_help): New function.
27463 (argp): Use more_help.
27464 (print_version): Use PKGVERSION.
27465 * elf/sln.c (main): Use PKGVERSION.
27466 (usage): Use REPORT_BUGS_TO.
27467 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27468 (top level): Use PKGVERSION.
27469 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27470 (print_version): Use PKGVERSION.
27471 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27472 (print_version): Use PKGVERSION.
27473 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27474 (print_version): Use PKGVERSION.
27475 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27476 (print_version): Use PKGVERSION.
27477 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27478 (print_version): Use PKGVERSION.
27479 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27480 (print_version): Use PKGVERSION.
27481 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27483 ($(objpfx)memusage): Likewise.
27484 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27485 (do_version): Use PKGVERSION.
27486 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27487 (print_version): Use PKGVERSION.
27488 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27489 ($PKGVERSION): New variable.
27490 ($REPORT_BUGS_TO): Likewise.
27491 (usage): Use $REPORT_BUGS_TO.
27492 (top level): Use $PKGVERSION.
27493 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27494 ($(objpfx)pkgvers.texi): New rule.
27495 ($(objpfx)stamp-pkgvers): Likewise.
27496 * manual/install.texi: Include pkgvers.texi.
27497 (--with-pkgversion): Document new configure option.
27498 (--with-bugurl): Likewise.
27499 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27500 than necessarily for this particular distribution. Use
27501 REPORT_BUGS_TO for where to report bugs.
27502 * INSTALL: Regenerated.
27503 * manual/libc.texinfo: Include pkgvers.texi.
27504 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27505 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27506 (print_version): Use PKGVERSION.
27507 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27508 (print_version): Use PKGVERSION.
27509 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27510 (print_version): Use PKGVERSION.
27511 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27512 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27514 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27515 (print_version): Use PKGVERSION.
27516 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27517 (print_version): Use PKGVERSION.
27518 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27521 * timezone/checktab.awk: Update from tzcode 2012i.
27522 * timezone/ialloc.c: Likewise.
27523 * timezone/private.h: Likewise.
27524 * timezone/scheck.c: Likewise.
27525 * timezone/tzfile.h: Likewise.
27526 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27527 (TZVERSION): Hardcode tzcode version number.
27528 * timezone/zdump.c: Update from tzcode 2012i.
27529 * timezone/zic.c: Likewise.
27530 * timezone/version.h: New file.
27531 * timezone/README: Describe version.h. Update upstream location.
27534 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27535 (mktemp): Enable declaration.
27536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27553 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27554 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27555 for copies of such integer values.
27556 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27557 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27559 2012-11-09 Andreas Jaeger <aj@suse.de>
27561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27562 definitions and declarations that are provided by
27563 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27565 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27567 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27568 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27569 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27572 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27574 * elf/elf.h: Update comment before AArch64 relocations.
27576 2012-11-07 David S. Miller <davem@davemloft.net>
27578 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27579 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27580 (__start_context): Declare.
27581 (__makecontext_ret): Delete.
27582 (__makecontext): Hook up __start_context instead of
27584 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27585 (sysdep_routines): Add __start_context when in stdlib.
27587 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27589 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27590 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27591 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27593 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27594 (READELF): New variable. Use it instead of hardcoded "readelf".
27596 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27598 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27599 * sysdeps/x86/Makefile: Here.
27600 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27601 * sysdeps/x86/tst-xmmymm.sh: This.
27603 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27605 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27607 [UNIX98] (pthread_barrier_t): Do not expect.
27608 [UNIX98] (pthread_barrierattr_t): Likewise.
27609 [UNIX98] (pthread_spinlock_t): Likewise.
27610 [UNIX98] (pthread_barrier_destroy): Likewise.
27611 [UNIX98] (pthread_barrier_init): Likewise.
27612 [UNIX98] (pthread_barrier_wait): Likewise.
27613 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27614 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27615 [UNIX98] (pthread_barrierattr_init): Likewise.
27616 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27617 [UNIX98] (pthread_getcpuclockid): Likewise.
27618 [UNIX98] (pthread_mutex_timedlock): Likewise.
27619 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27620 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27621 [UNIX98] (pthread_sigmask): Likewise.
27622 [UNIX98] (pthread_spin_destroy): Likewise.
27623 [UNIX98] (pthread_spin_init): Likewise.
27624 [UNIX98] (pthread_spin_lock): Likewise.
27625 [UNIX98] (pthread_spin_trylock): Likewise.
27626 [UNIX98] (pthread_spin_unlock): Likewise.
27627 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27629 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27630 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27631 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27632 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27633 [XPG3 || XPG4] (pthread_key_t): Likewise.
27634 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27635 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27636 [XPG3 || XPG4] (pthread_once_t): Likewise.
27637 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27638 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27639 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27640 [XPG3 || XPG4] (pthread_t): Likewise.
27642 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27644 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27646 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27647 Change function return type to int.
27649 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27650 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27651 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27652 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27653 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27654 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27655 [!POSIX] (posix_madvise): Likewise.
27656 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27658 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27659 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27660 (mode_t): Likewise.
27661 (posix_mem_offset): Likewise.
27662 (posix_typed_mem_get_info): Likewise.
27663 (posix_typed_mem_open): Likewise.
27665 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27666 Change condition to [XOPEN2K8].
27668 * conform/conformtest.pl: Preprocess allow-header data with -x c
27669 instead of from stdin.
27670 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27671 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27672 [C99-based standards] (cerfc): Likewise.
27673 [C99-based standards] (cexp2): Likewise.
27674 [C99-based standards] (cexpm1): Likewise.
27675 [C99-based standards] (clog10): Likewise.
27676 [C99-based standards] (clog1p): Likewise.
27677 [C99-based standards] (clog2): Likewise.
27678 [C99-based standards] (clgamma): Likewise.
27679 [C99-based standards] (ctgamma): Likewise.
27680 [C99-based standards] (cerff): Likewise.
27681 [C99-based standards] (cerfcf): Likewise.
27682 [C99-based standards] (cexp2f): Likewise.
27683 [C99-based standards] (cexpm1f): Likewise.
27684 [C99-based standards] (clog10f): Likewise.
27685 [C99-based standards] (clog1pf): Likewise.
27686 [C99-based standards] (clog2f): Likewise.
27687 [C99-based standards] (clgammaf): Likewise.
27688 [C99-based standards] (ctgammaf): Likewise.
27689 [C99-based standards] (cerfl): Likewise.
27690 [C99-based standards] (cerfcl): Likewise.
27691 [C99-based standards] (cexp2l): Likewise.
27692 [C99-based standards] (cexpm1l): Likewise.
27693 [C99-based standards] (clog10l): Likewise.
27694 [C99-based standards] (clog1pl): Likewise.
27695 [C99-based standards] (clog2l): Likewise.
27696 [C99-based standards] (clgammal): Likewise.
27697 [C99-based standards] (ctgammal): Likewise.
27698 * conform/data/inttypes.h-data [C99-based standards]: Include
27699 stdint.h-data. Remove all expectations for stdint.h contents.
27700 [C99-based standards] (PRI*): Do not allow.
27701 [C99-based standards] (SCN*): Likewise.
27702 [C99-based standards] (*_t): Likewise.
27703 [C99-based-standards] (PRId8): Expect macro.
27704 [C99-based-standards] (PRIi8): Likewise.
27705 [C99-based-standards] (PRIo8): Likewise.
27706 [C99-based-standards] (PRIu8): Likewise.
27707 [C99-based-standards] (PRIx8): Likewise.
27708 [C99-based-standards] (PRIX8): Likewise.
27709 [C99-based-standards] (SCNd8): Likewise.
27710 [C99-based-standards] (SCNi8): Likewise.
27711 [C99-based-standards] (SCNo8): Likewise.
27712 [C99-based-standards] (SCNu8): Likewise.
27713 [C99-based-standards] (SCNx8): Likewise.
27714 [C99-based-standards] (PRIdLEAST8): Likewise.
27715 [C99-based-standards] (PRIiLEAST8): Likewise.
27716 [C99-based-standards] (PRIoLEAST8): Likewise.
27717 [C99-based-standards] (PRIuLEAST8): Likewise.
27718 [C99-based-standards] (PRIxLEAST8): Likewise.
27719 [C99-based-standards] (PRIXLEAST8): Likewise.
27720 [C99-based-standards] (SCNdLEAST8): Likewise.
27721 [C99-based-standards] (SCNiLEAST8): Likewise.
27722 [C99-based-standards] (SCNoLEAST8): Likewise.
27723 [C99-based-standards] (SCNuLEAST8): Likewise.
27724 [C99-based-standards] (SCNxLEAST8): Likewise.
27725 [C99-based-standards] (PRIdFAST8): Likewise.
27726 [C99-based-standards] (PRIiFAST8): Likewise.
27727 [C99-based-standards] (PRIoFAST8): Likewise.
27728 [C99-based-standards] (PRIuFAST8): Likewise.
27729 [C99-based-standards] (PRIxFAST8): Likewise.
27730 [C99-based-standards] (PRIXFAST8): Likewise.
27731 [C99-based-standards] (SCNdFAST8): Likewise.
27732 [C99-based-standards] (SCNiFAST8): Likewise.
27733 [C99-based-standards] (SCNoFAST8): Likewise.
27734 [C99-based-standards] (SCNuFAST8): Likewise.
27735 [C99-based-standards] (SCNxFAST8): Likewise.
27736 [C99-based-standards] (PRId16): Likewise.
27737 [C99-based-standards] (PRIi16): Likewise.
27738 [C99-based-standards] (PRIo16): Likewise.
27739 [C99-based-standards] (PRIu16): Likewise.
27740 [C99-based-standards] (PRIx16): Likewise.
27741 [C99-based-standards] (PRIX16): Likewise.
27742 [C99-based-standards] (SCNd16): Likewise.
27743 [C99-based-standards] (SCNi16): Likewise.
27744 [C99-based-standards] (SCNo16): Likewise.
27745 [C99-based-standards] (SCNu16): Likewise.
27746 [C99-based-standards] (SCNx16): Likewise.
27747 [C99-based-standards] (PRIdLEAST16): Likewise.
27748 [C99-based-standards] (PRIiLEAST16): Likewise.
27749 [C99-based-standards] (PRIoLEAST16): Likewise.
27750 [C99-based-standards] (PRIuLEAST16): Likewise.
27751 [C99-based-standards] (PRIxLEAST16): Likewise.
27752 [C99-based-standards] (PRIXLEAST16): Likewise.
27753 [C99-based-standards] (SCNdLEAST16): Likewise.
27754 [C99-based-standards] (SCNiLEAST16): Likewise.
27755 [C99-based-standards] (SCNoLEAST16): Likewise.
27756 [C99-based-standards] (SCNuLEAST16): Likewise.
27757 [C99-based-standards] (SCNxLEAST16): Likewise.
27758 [C99-based-standards] (PRIdFAST16): Likewise.
27759 [C99-based-standards] (PRIiFAST16): Likewise.
27760 [C99-based-standards] (PRIoFAST16): Likewise.
27761 [C99-based-standards] (PRIuFAST16): Likewise.
27762 [C99-based-standards] (PRIxFAST16): Likewise.
27763 [C99-based-standards] (PRIXFAST16): Likewise.
27764 [C99-based-standards] (SCNdFAST16): Likewise.
27765 [C99-based-standards] (SCNiFAST16): Likewise.
27766 [C99-based-standards] (SCNoFAST16): Likewise.
27767 [C99-based-standards] (SCNuFAST16): Likewise.
27768 [C99-based-standards] (SCNxFAST16): Likewise.
27769 [C99-based-standards] (PRId32): Likewise.
27770 [C99-based-standards] (PRIi32): Likewise.
27771 [C99-based-standards] (PRIo32): Likewise.
27772 [C99-based-standards] (PRIu32): Likewise.
27773 [C99-based-standards] (PRIx32): Likewise.
27774 [C99-based-standards] (PRIX32): Likewise.
27775 [C99-based-standards] (SCNd32): Likewise.
27776 [C99-based-standards] (SCNi32): Likewise.
27777 [C99-based-standards] (SCNo32): Likewise.
27778 [C99-based-standards] (SCNu32): Likewise.
27779 [C99-based-standards] (SCNx32): Likewise.
27780 [C99-based-standards] (PRIdLEAST32): Likewise.
27781 [C99-based-standards] (PRIiLEAST32): Likewise.
27782 [C99-based-standards] (PRIoLEAST32): Likewise.
27783 [C99-based-standards] (PRIuLEAST32): Likewise.
27784 [C99-based-standards] (PRIxLEAST32): Likewise.
27785 [C99-based-standards] (PRIXLEAST32): Likewise.
27786 [C99-based-standards] (SCNdLEAST32): Likewise.
27787 [C99-based-standards] (SCNiLEAST32): Likewise.
27788 [C99-based-standards] (SCNoLEAST32): Likewise.
27789 [C99-based-standards] (SCNuLEAST32): Likewise.
27790 [C99-based-standards] (SCNxLEAST32): Likewise.
27791 [C99-based-standards] (PRIdFAST32): Likewise.
27792 [C99-based-standards] (PRIiFAST32): Likewise.
27793 [C99-based-standards] (PRIoFAST32): Likewise.
27794 [C99-based-standards] (PRIuFAST32): Likewise.
27795 [C99-based-standards] (PRIxFAST32): Likewise.
27796 [C99-based-standards] (PRIXFAST32): Likewise.
27797 [C99-based-standards] (SCNdFAST32): Likewise.
27798 [C99-based-standards] (SCNiFAST32): Likewise.
27799 [C99-based-standards] (SCNoFAST32): Likewise.
27800 [C99-based-standards] (SCNuFAST32): Likewise.
27801 [C99-based-standards] (SCNxFAST32): Likewise.
27802 [C99-based-standards] (PRId64): Likewise.
27803 [C99-based-standards] (PRIi64): Likewise.
27804 [C99-based-standards] (PRIo64): Likewise.
27805 [C99-based-standards] (PRIu64): Likewise.
27806 [C99-based-standards] (PRIx64): Likewise.
27807 [C99-based-standards] (PRIX64): Likewise.
27808 [C99-based-standards] (SCNd64): Likewise.
27809 [C99-based-standards] (SCNi64): Likewise.
27810 [C99-based-standards] (SCNo64): Likewise.
27811 [C99-based-standards] (SCNu64): Likewise.
27812 [C99-based-standards] (SCNx64): Likewise.
27813 [C99-based-standards] (PRIdLEAST64): Likewise.
27814 [C99-based-standards] (PRIiLEAST64): Likewise.
27815 [C99-based-standards] (PRIoLEAST64): Likewise.
27816 [C99-based-standards] (PRIuLEAST64): Likewise.
27817 [C99-based-standards] (PRIxLEAST64): Likewise.
27818 [C99-based-standards] (PRIXLEAST64): Likewise.
27819 [C99-based-standards] (SCNdLEAST64): Likewise.
27820 [C99-based-standards] (SCNiLEAST64): Likewise.
27821 [C99-based-standards] (SCNoLEAST64): Likewise.
27822 [C99-based-standards] (SCNuLEAST64): Likewise.
27823 [C99-based-standards] (SCNxLEAST64): Likewise.
27824 [C99-based-standards] (PRIdFAST64): Likewise.
27825 [C99-based-standards] (PRIiFAST64): Likewise.
27826 [C99-based-standards] (PRIoFAST64): Likewise.
27827 [C99-based-standards] (PRIuFAST64): Likewise.
27828 [C99-based-standards] (PRIxFAST64): Likewise.
27829 [C99-based-standards] (PRIXFAST64): Likewise.
27830 [C99-based-standards] (SCNdFAST64): Likewise.
27831 [C99-based-standards] (SCNiFAST64): Likewise.
27832 [C99-based-standards] (SCNoFAST64): Likewise.
27833 [C99-based-standards] (SCNuFAST64): Likewise.
27834 [C99-based-standards] (SCNxFAST64): Likewise.
27835 [C99-based-standards] (PRIdMAX): Likewise.
27836 [C99-based-standards] (PRIiMAX): Likewise.
27837 [C99-based-standards] (PRIoMAX): Likewise.
27838 [C99-based-standards] (PRIuMAX): Likewise.
27839 [C99-based-standards] (PRIxMAX): Likewise.
27840 [C99-based-standards] (PRIXMAX): Likewise.
27841 [C99-based-standards] (SCNdMAX): Likewise.
27842 [C99-based-standards] (SCNiMAX): Likewise.
27843 [C99-based-standards] (SCNoMAX): Likewise.
27844 [C99-based-standards] (SCNuMAX): Likewise.
27845 [C99-based-standards] (SCNxMAX): Likewise.
27846 [C99-based-standards] (PRIdPTR): Likewise.
27847 [C99-based-standards] (PRIiPTR): Likewise.
27848 [C99-based-standards] (PRIoPTR): Likewise.
27849 [C99-based-standards] (PRIuPTR): Likewise.
27850 [C99-based-standards] (PRIxPTR): Likewise.
27851 [C99-based-standards] (PRIXPTR): Likewise.
27852 [C99-based-standards] (SCNdPTR): Likewise.
27853 [C99-based-standards] (SCNiPTR): Likewise.
27854 [C99-based-standards] (SCNoPTR): Likewise.
27855 [C99-based-standards] (SCNuPTR): Likewise.
27856 [C99-based-standards] (SCNxPTR): Likewise.
27857 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27859 * conform/data/stdint.h-data: Update comments to clarify
27861 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27863 [C99-based standards] (INT8_MAX): Likewise.
27864 [C99-based standards] (INT16_MIN): Likewise.
27865 [C99-based standards] (INT16_MAX): Likewise.
27866 [C99-based standards] (INT32_MIN): Likewise.
27867 [C99-based standards] (INT32_MAX): Likewise.
27868 [C99-based standards] (INT64_MIN): Likewise.
27869 [C99-based standards] (INT64_MAX): Likewise.
27870 [C99-based standards] (UINT8_MAX): Likewise.
27871 [C99-based standards] (UINT16_MAX): Likewise.
27872 [C99-based standards] (UINT32_MAX): Likewise.
27873 [C99-based standards] (UINT64_MAX): Likewise.
27874 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27875 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27876 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27877 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27878 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27879 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27880 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27881 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27882 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27883 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27884 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27885 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27886 [C99-based standards] (INT_FAST8_MIN): Likewise.
27887 [C99-based standards] (INT_FAST8_MAX): Likewise.
27888 [C99-based standards] (INT_FAST16_MIN): Likewise.
27889 [C99-based standards] (INT_FAST16_MAX): Likewise.
27890 [C99-based standards] (INT_FAST32_MIN): Likewise.
27891 [C99-based standards] (INT_FAST32_MAX): Likewise.
27892 [C99-based standards] (INT_FAST64_MIN): Likewise.
27893 [C99-based standards] (INT_FAST64_MAX): Likewise.
27894 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27895 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27896 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27897 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27898 [C99-based standards] (INTPTR_MIN): Likewise.
27899 [C99-based standards] (INTPTR_MAX): Likewise.
27900 [C99-based standards] (UINTPTR_MAX): Likewise.
27901 [C99-based standards] (INTMAX_MIN): Likewise.
27902 [C99-based standards] (INTMAX_MAX): Likewise.
27903 [C99-based standards] (UINTMAX_MAX): Likewise.
27904 [C99-based standards] (PTRDIFF_MIN): Likewise.
27905 [C99-based standards] (PTRDIFF_MAX): Likewise.
27906 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27907 [C99-based standards] (SIZE_MAX): Likewise.
27908 [C99-based standards] (WCHAR_MAX): Likewise.
27909 [C99-based standards] (WINT_MAX): Likewise.
27910 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27911 constraint on value.
27912 [C99-based standards] (WCHAR_MIN): Likewise.
27913 [C99-based standards] (WINT_MIN): Likewise.
27914 [C99-based standards] (*_t): Allow.
27915 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27916 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27917 Include math.h-data and complex.h-data. Remove all expectations
27918 of math.h and complex.h contents.
27919 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27921 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27922 (struct tm): Expect tag.
27923 [C99-based-standards] (wcstof): Expect function.
27924 [C99-based-standards] (wcstold): Likewise.
27925 [C99-based-standards] (wcstoll): Likewise.
27926 [C99-based-standards] (wcstoull): Likewise.
27927 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27928 macro-int-constant. Specify type.
27929 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27930 constraint on value.
27931 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27933 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27935 [ISO C standards]: Do not allow headers.
27936 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27937 wcs[abcdefghijklmnopqrstuvwxyz]*.
27938 [ISO C standards] (*_t): Do not allow.
27939 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27941 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27942 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27944 [ISO C standards]: Do not allow headers.
27945 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27946 is[abcdefghijklmnopqrstuvwxyz]*.
27947 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27948 to[abcdefghijklmnopqrstuvwxyz]*.
27949 [ISO C standards] (*_t): Do not allow.
27950 * conform/data/stdalign.h-data: New file.
27951 * conform/data/stdbool.h-data: Likewise.
27952 * conform/data/stdnoreturn.h-data: Likewise.
27954 2012-11-07 Roland McGrath <roland@hack.frob.com>
27957 * manual/filesys.texi (Directory Entries): Typo fix.
27958 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27960 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27962 * elf/elf.h (EM_AARCH64): New macro.
27963 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27964 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27965 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27966 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27967 (R_AARCH64_TLSDESC): Likewise.
27968 (NT_ARM_TLS): Likewise.
27969 (NT_ARM_HW_BREAK): Likewise.
27970 (NT_ARM_HW_WATCH): Likewise.
27972 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27975 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27976 (__ieee754_powl): Saturate nonzero exponents with absolute value
27977 below 0x1p-79 to +/- 0x1p-79.
27978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27979 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27980 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27981 nonzero exponents with absolute value below 0x1p-32 to +/-
27983 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27984 (__ieee754_powl): Saturate nonzero exponents with absolute value
27985 below 0x1p-79 to +/- 0x1p-79.
27986 * math/libm-test.inc (pow_test): Add more tests.
27988 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27990 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27991 _dl_s390_cap_flags with kernel. Increase string length.
27992 (_dl_s390_platforms): Add z196 and zEC12.
27994 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27996 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27997 Change XOPEN21K to XOPEN2K.
27999 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28001 * string/memmove.c: Use memcpy when possible.
28003 2012-11-06 Andreas Jaeger <aj@suse.de>
28005 * po/eo.po: Update from translation team.
28007 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28011 exponent and small x and y exponents, scale x or y up. Increase
28012 by 2 the exponent used in scaling up.
28013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28014 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28015 * math/libm-test.inc (fma_test): Add more tests.
28016 (fma_test_towardzero): Likewise.
28017 (fma_test_downward): Likewise.
28018 (fma_test_upward): Likewise.
28020 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28023 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28027 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28028 namespace for names of struct fields.
28029 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28031 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28032 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28034 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28037 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28039 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28041 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28045 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28048 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28052 definitely overflow as x * y not x * y + z.
28053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28055 * math/libm-test.inc (fma_test): Add more tests.
28056 (fma_test_towardzero): Likewise.
28057 (fma_test_downward): Likewise.
28058 (fma_test_upward): Likewise.
28060 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28064 * include/stub-tag.h: Remove file.
28065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28067 * manual/maint.texi (Porting): Don't reference it.
28068 * Makerules ($(objpfx)stubs): Likewise.
28069 * dirent/closedir.c: Don't include <stub-tag.h>.
28070 * dirent/dirfd.c: Likewise.
28071 * dirent/fdopendir.c: Likewise.
28072 * dirent/getdents.c: Likewise.
28073 * dirent/getdents64.c: Likewise.
28074 * dirent/opendir.c: Likewise.
28075 * dirent/readdir.c: Likewise.
28076 * dirent/readdir64.c: Likewise.
28077 * dirent/readdir64_r.c: Likewise.
28078 * dirent/readdir_r.c: Likewise.
28079 * dirent/rewinddir.c: Likewise.
28080 * dirent/seekdir.c: Likewise.
28081 * dirent/telldir.c: Likewise.
28082 * gmon/profil.c: Likewise.
28083 * grp/setgroups.c: Likewise.
28084 * inet/if_index.c: Likewise.
28085 * io/access.c: Likewise.
28086 * io/chdir.c: Likewise.
28087 * io/chmod.c: Likewise.
28088 * io/chown.c: Likewise.
28089 * io/close.c: Likewise.
28090 * io/dup.c: Likewise.
28091 * io/dup2.c: Likewise.
28092 * io/dup3.c: Likewise.
28093 * io/euidaccess.c: Likewise.
28094 * io/faccessat.c: Likewise.
28095 * io/fchdir.c: Likewise.
28096 * io/fchmod.c: Likewise.
28097 * io/fchmodat.c: Likewise.
28098 * io/fchown.c: Likewise.
28099 * io/fchownat.c: Likewise.
28100 * io/fcntl.c: Likewise.
28101 * io/flock.c: Likewise.
28102 * io/fstatfs.c: Likewise.
28103 * io/fstatfs64.c: Likewise.
28104 * io/fstatvfs.c: Likewise.
28105 * io/fstatvfs64.c: Likewise.
28106 * io/futimens.c: Likewise.
28107 * io/fxstat.c: Likewise.
28108 * io/fxstat64.c: Likewise.
28109 * io/fxstatat.c: Likewise.
28110 * io/fxstatat64.c: Likewise.
28111 * io/getcwd.c: Likewise.
28112 * io/isatty.c: Likewise.
28113 * io/lchmod.c: Likewise.
28114 * io/lchown.c: Likewise.
28115 * io/link.c: Likewise.
28116 * io/linkat.c: Likewise.
28117 * io/lseek.c: Likewise.
28118 * io/lseek64.c: Likewise.
28119 * io/lxstat64.c: Likewise.
28120 * io/mkdir.c: Likewise.
28121 * io/mkdirat.c: Likewise.
28122 * io/mkfifo.c: Likewise.
28123 * io/mkfifoat.c: Likewise.
28124 * io/open.c: Likewise.
28125 * io/open64.c: Likewise.
28126 * io/openat.c: Likewise.
28127 * io/openat64.c: Likewise.
28128 * io/pipe.c: Likewise.
28129 * io/pipe2.c: Likewise.
28130 * io/poll.c: Likewise.
28131 * io/posix_fadvise.c: Likewise.
28132 * io/posix_fadvise64.c: Likewise.
28133 * io/posix_fallocate.c: Likewise.
28134 * io/posix_fallocate64.c: Likewise.
28135 * io/read.c: Likewise.
28136 * io/readlink.c: Likewise.
28137 * io/readlinkat.c: Likewise.
28138 * io/rmdir.c: Likewise.
28139 * io/sendfile.c: Likewise.
28140 * io/sendfile64.c: Likewise.
28141 * io/statfs.c: Likewise.
28142 * io/statfs64.c: Likewise.
28143 * io/statvfs.c: Likewise.
28144 * io/statvfs64.c: Likewise.
28145 * io/symlink.c: Likewise.
28146 * io/symlinkat.c: Likewise.
28147 * io/ttyname.c: Likewise.
28148 * io/ttyname_r.c: Likewise.
28149 * io/umask.c: Likewise.
28150 * io/unlink.c: Likewise.
28151 * io/unlinkat.c: Likewise.
28152 * io/utime.c: Likewise.
28153 * io/utimensat.c: Likewise.
28154 * io/write.c: Likewise.
28155 * io/xmknod.c: Likewise.
28156 * io/xmknodat.c: Likewise.
28157 * io/xstat.c: Likewise.
28158 * io/xstat64.c: Likewise.
28159 * login/getpt.c: Likewise.
28160 * login/grantpt.c: Likewise.
28161 * login/unlockpt.c: Likewise.
28162 * math/e_acoshl.c: Likewise.
28163 * math/e_acosl.c: Likewise.
28164 * math/e_asinl.c: Likewise.
28165 * math/e_atan2l.c: Likewise.
28166 * math/e_atanhl.c: Likewise.
28167 * math/e_coshl.c: Likewise.
28168 * math/e_expl.c: Likewise.
28169 * math/e_fmodl.c: Likewise.
28170 * math/e_gammal_r.c: Likewise.
28171 * math/e_hypotl.c: Likewise.
28172 * math/e_j0l.c: Likewise.
28173 * math/e_j1l.c: Likewise.
28174 * math/e_jnl.c: Likewise.
28175 * math/e_lgammal_r.c: Likewise.
28176 * math/e_log10l.c: Likewise.
28177 * math/e_log2l.c: Likewise.
28178 * math/e_logl.c: Likewise.
28179 * math/e_powl.c: Likewise.
28180 * math/e_rem_pio2l.c: Likewise.
28181 * math/e_sinhl.c: Likewise.
28182 * math/e_sqrtl.c: Likewise.
28183 * math/fclrexcpt.c: Likewise.
28184 * math/fedisblxcpt.c: Likewise.
28185 * math/feenablxcpt.c: Likewise.
28186 * math/fegetenv.c: Likewise.
28187 * math/fegetexcept.c: Likewise.
28188 * math/fegetround.c: Likewise.
28189 * math/feholdexcpt.c: Likewise.
28190 * math/fesetenv.c: Likewise.
28191 * math/fesetround.c: Likewise.
28192 * math/feupdateenv.c: Likewise.
28193 * math/fgetexcptflg.c: Likewise.
28194 * math/fraiseexcpt.c: Likewise.
28195 * math/fsetexcptflg.c: Likewise.
28196 * math/ftestexcept.c: Likewise.
28197 * math/k_cosl.c: Likewise.
28198 * math/k_rem_pio2l.c: Likewise.
28199 * math/k_sinl.c: Likewise.
28200 * math/k_tanl.c: Likewise.
28201 * math/s_asinhl.c: Likewise.
28202 * math/s_atanl.c: Likewise.
28203 * math/s_cbrtl.c: Likewise.
28204 * math/s_erfl.c: Likewise.
28205 * math/s_expm1l.c: Likewise.
28206 * math/s_log1pl.c: Likewise.
28207 * math/s_tanhl.c: Likewise.
28208 * misc/acct.c: Likewise.
28209 * misc/brk.c: Likewise.
28210 * misc/chflags.c: Likewise.
28211 * misc/chroot.c: Likewise.
28212 * misc/fchflags.c: Likewise.
28213 * misc/fgetxattr.c: Likewise.
28214 * misc/flistxattr.c: Likewise.
28215 * misc/fremovexattr.c: Likewise.
28216 * misc/fsetxattr.c: Likewise.
28217 * misc/fsync.c: Likewise.
28218 * misc/ftruncate.c: Likewise.
28219 * misc/futimes.c: Likewise.
28220 * misc/futimesat.c: Likewise.
28221 * misc/getdomain.c: Likewise.
28222 * misc/getdtsz.c: Likewise.
28223 * misc/gethostid.c: Likewise.
28224 * misc/gethostname.c: Likewise.
28225 * misc/getloadavg.c: Likewise.
28226 * misc/getpagesize.c: Likewise.
28227 * misc/getsysstats.c: Likewise.
28228 * misc/getxattr.c: Likewise.
28229 * misc/gtty.c: Likewise.
28230 * misc/ioctl.c: Likewise.
28231 * misc/lgetxattr.c: Likewise.
28232 * misc/listxattr.c: Likewise.
28233 * misc/llistxattr.c: Likewise.
28234 * misc/lremovexattr.c: Likewise.
28235 * misc/lsetxattr.c: Likewise.
28236 * misc/lutimes.c: Likewise.
28237 * misc/madvise.c: Likewise.
28238 * misc/mincore.c: Likewise.
28239 * misc/mlock.c: Likewise.
28240 * misc/mlockall.c: Likewise.
28241 * misc/mmap.c: Likewise.
28242 * misc/mprotect.c: Likewise.
28243 * misc/msync.c: Likewise.
28244 * misc/munlock.c: Likewise.
28245 * misc/munlockall.c: Likewise.
28246 * misc/munmap.c: Likewise.
28247 * misc/preadv.c: Likewise.
28248 * misc/preadv64.c: Likewise.
28249 * misc/ptrace.c: Likewise.
28250 * misc/pwritev.c: Likewise.
28251 * misc/pwritev64.c: Likewise.
28252 * misc/readv.c: Likewise.
28253 * misc/reboot.c: Likewise.
28254 * misc/remap_file_pages.c: Likewise.
28255 * misc/removexattr.c: Likewise.
28256 * misc/revoke.c: Likewise.
28257 * misc/select.c: Likewise.
28258 * misc/setdomain.c: Likewise.
28259 * misc/setegid.c: Likewise.
28260 * misc/seteuid.c: Likewise.
28261 * misc/sethostid.c: Likewise.
28262 * misc/sethostname.c: Likewise.
28263 * misc/setregid.c: Likewise.
28264 * misc/setreuid.c: Likewise.
28265 * misc/setxattr.c: Likewise.
28266 * misc/sstk.c: Likewise.
28267 * misc/stty.c: Likewise.
28268 * misc/swapoff.c: Likewise.
28269 * misc/swapon.c: Likewise.
28270 * misc/sync.c: Likewise.
28271 * misc/syncfs.c: Likewise.
28272 * misc/syscall.c: Likewise.
28273 * misc/truncate.c: Likewise.
28274 * misc/ualarm.c: Likewise.
28275 * misc/usleep.c: Likewise.
28276 * misc/ustat.c: Likewise.
28277 * misc/utimes.c: Likewise.
28278 * misc/vhangup.c: Likewise.
28279 * misc/writev.c: Likewise.
28280 * posix/_exit.c: Likewise.
28281 * posix/alarm.c: Likewise.
28282 * posix/execve.c: Likewise.
28283 * posix/fexecve.c: Likewise.
28284 * posix/fork.c: Likewise.
28285 * posix/fpathconf.c: Likewise.
28286 * posix/getaddrinfo.c: Likewise.
28287 * posix/getegid.c: Likewise.
28288 * posix/geteuid.c: Likewise.
28289 * posix/getgid.c: Likewise.
28290 * posix/getgroups.c: Likewise.
28291 * posix/getlogin.c: Likewise.
28292 * posix/getlogin_r.c: Likewise.
28293 * posix/getpgid.c: Likewise.
28294 * posix/getpid.c: Likewise.
28295 * posix/getppid.c: Likewise.
28296 * posix/getresgid.c: Likewise.
28297 * posix/getresuid.c: Likewise.
28298 * posix/getsid.c: Likewise.
28299 * posix/getuid.c: Likewise.
28300 * posix/glob64.c: Likewise.
28301 * posix/nanosleep.c: Likewise.
28302 * posix/pathconf.c: Likewise.
28303 * posix/pause.c: Likewise.
28304 * posix/posix_madvise.c: Likewise.
28305 * posix/pread.c: Likewise.
28306 * posix/pread64.c: Likewise.
28307 * posix/pwrite.c: Likewise.
28308 * posix/pwrite64.c: Likewise.
28309 * posix/sched_getaffinity.c: Likewise.
28310 * posix/sched_getp.c: Likewise.
28311 * posix/sched_gets.c: Likewise.
28312 * posix/sched_primax.c: Likewise.
28313 * posix/sched_primin.c: Likewise.
28314 * posix/sched_rr_gi.c: Likewise.
28315 * posix/sched_setaffinity.c: Likewise.
28316 * posix/sched_setp.c: Likewise.
28317 * posix/sched_sets.c: Likewise.
28318 * posix/sched_yield.c: Likewise.
28319 * posix/setgid.c: Likewise.
28320 * posix/setlogin.c: Likewise.
28321 * posix/setpgid.c: Likewise.
28322 * posix/setresgid.c: Likewise.
28323 * posix/setresuid.c: Likewise.
28324 * posix/setsid.c: Likewise.
28325 * posix/setuid.c: Likewise.
28326 * posix/sleep.c: Likewise.
28327 * posix/spawni.c: Likewise.
28328 * posix/sysconf.c: Likewise.
28329 * posix/times.c: Likewise.
28330 * posix/wait.c: Likewise.
28331 * posix/wait3.c: Likewise.
28332 * posix/wait4.c: Likewise.
28333 * posix/waitpid.c: Likewise.
28334 * resolv/gai_sigqueue.c: Likewise.
28335 * resource/getpriority.c: Likewise.
28336 * resource/getrlimit.c: Likewise.
28337 * resource/getrusage.c: Likewise.
28338 * resource/nice.c: Likewise.
28339 * resource/setpriority.c: Likewise.
28340 * resource/setrlimit.c: Likewise.
28341 * resource/ulimit.c: Likewise.
28342 * rt/aio_cancel.c: Likewise.
28343 * rt/aio_fsync.c: Likewise.
28344 * rt/aio_read.c: Likewise.
28345 * rt/aio_sigqueue.c: Likewise.
28346 * rt/aio_suspend.c: Likewise.
28347 * rt/aio_write.c: Likewise.
28348 * rt/clock_getres.c: Likewise.
28349 * rt/clock_gettime.c: Likewise.
28350 * rt/clock_nanosleep.c: Likewise.
28351 * rt/clock_settime.c: Likewise.
28352 * rt/lio_listio.c: Likewise.
28353 * rt/mq_close.c: Likewise.
28354 * rt/mq_getattr.c: Likewise.
28355 * rt/mq_notify.c: Likewise.
28356 * rt/mq_open.c: Likewise.
28357 * rt/mq_receive.c: Likewise.
28358 * rt/mq_send.c: Likewise.
28359 * rt/mq_setattr.c: Likewise.
28360 * rt/mq_timedreceive.c: Likewise.
28361 * rt/mq_timedsend.c: Likewise.
28362 * rt/mq_unlink.c: Likewise.
28363 * rt/shm_open.c: Likewise.
28364 * rt/shm_unlink.c: Likewise.
28365 * rt/timer_create.c: Likewise.
28366 * rt/timer_delete.c: Likewise.
28367 * rt/timer_getoverr.c: Likewise.
28368 * rt/timer_gettime.c: Likewise.
28369 * rt/timer_settime.c: Likewise.
28370 * setjmp/__longjmp.c: Likewise.
28371 * setjmp/setjmp.c: Likewise.
28372 * signal/kill.c: Likewise.
28373 * signal/killpg.c: Likewise.
28374 * signal/raise.c: Likewise.
28375 * signal/sigaction.c: Likewise.
28376 * signal/sigaltstack.c: Likewise.
28377 * signal/sigblock.c: Likewise.
28378 * signal/sigignore.c: Likewise.
28379 * signal/sigintr.c: Likewise.
28380 * signal/signal.c: Likewise.
28381 * signal/sigpause.c: Likewise.
28382 * signal/sigpending.c: Likewise.
28383 * signal/sigqueue.c: Likewise.
28384 * signal/sigreturn.c: Likewise.
28385 * signal/sigset.c: Likewise.
28386 * signal/sigsetmask.c: Likewise.
28387 * signal/sigstack.c: Likewise.
28388 * signal/sigsuspend.c: Likewise.
28389 * signal/sigtimedwait.c: Likewise.
28390 * signal/sigvec.c: Likewise.
28391 * signal/sigwait.c: Likewise.
28392 * signal/sigwaitinfo.c: Likewise.
28393 * signal/sysv_signal.c: Likewise.
28394 * socket/accept.c: Likewise.
28395 * socket/accept4.c: Likewise.
28396 * socket/bind.c: Likewise.
28397 * socket/connect.c: Likewise.
28398 * socket/getpeername.c: Likewise.
28399 * socket/getsockname.c: Likewise.
28400 * socket/getsockopt.c: Likewise.
28401 * socket/isfdtype.c: Likewise.
28402 * socket/listen.c: Likewise.
28403 * socket/recv.c: Likewise.
28404 * socket/recvfrom.c: Likewise.
28405 * socket/recvmsg.c: Likewise.
28406 * socket/send.c: Likewise.
28407 * socket/sendmsg.c: Likewise.
28408 * socket/sendto.c: Likewise.
28409 * socket/setsockopt.c: Likewise.
28410 * socket/shutdown.c: Likewise.
28411 * socket/sockatmark.c: Likewise.
28412 * socket/socket.c: Likewise.
28413 * socket/socketpair.c: Likewise.
28414 * stdio-common/ctermid.c: Likewise.
28415 * stdio-common/cuserid.c: Likewise.
28416 * stdio-common/remove.c: Likewise.
28417 * stdio-common/rename.c: Likewise.
28418 * stdio-common/renameat.c: Likewise.
28419 * stdio-common/tempname.c: Likewise.
28420 * stdlib/getcontext.c: Likewise.
28421 * stdlib/makecontext.c: Likewise.
28422 * stdlib/setcontext.c: Likewise.
28423 * stdlib/swapcontext.c: Likewise.
28424 * stdlib/system.c: Likewise.
28425 * streams/fattach.c: Likewise.
28426 * streams/fdetach.c: Likewise.
28427 * streams/getmsg.c: Likewise.
28428 * streams/getpmsg.c: Likewise.
28429 * streams/putmsg.c: Likewise.
28430 * streams/putpmsg.c: Likewise.
28431 * sysdeps/unix/bsd/getpt.c: Likewise.
28432 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28433 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28434 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28437 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28438 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28439 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28440 * sysvipc/msgctl.c: Likewise.
28441 * sysvipc/msgget.c: Likewise.
28442 * sysvipc/msgrcv.c: Likewise.
28443 * sysvipc/msgsnd.c: Likewise.
28444 * sysvipc/semctl.c: Likewise.
28445 * sysvipc/semget.c: Likewise.
28446 * sysvipc/semop.c: Likewise.
28447 * sysvipc/semtimedop.c: Likewise.
28448 * sysvipc/shmat.c: Likewise.
28449 * sysvipc/shmctl.c: Likewise.
28450 * sysvipc/shmdt.c: Likewise.
28451 * sysvipc/shmget.c: Likewise.
28452 * termios/tcdrain.c: Likewise.
28453 * termios/tcflow.c: Likewise.
28454 * termios/tcflush.c: Likewise.
28455 * termios/tcgetattr.c: Likewise.
28456 * termios/tcgetpgrp.c: Likewise.
28457 * termios/tcsendbrk.c: Likewise.
28458 * termios/tcsetattr.c: Likewise.
28459 * termios/tcsetpgrp.c: Likewise.
28460 * time/adjtime.c: Likewise.
28461 * time/clock.c: Likewise.
28462 * time/getitimer.c: Likewise.
28463 * time/gettimeofday.c: Likewise.
28464 * time/setitimer.c: Likewise.
28465 * time/settimeofday.c: Likewise.
28466 * time/stime.c: Likewise.
28467 * time/time.c: Likewise.
28469 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28471 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28474 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28476 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28478 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28482 FE_TONEAREST before applying Dekker multiplication and Knuth
28483 addition. Clear inexact exceptions and check for exact zero
28484 results afterwards.
28485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28488 * math/libm-test.inc (fma_test): Add more tests.
28489 (fma_test_towardzero): Likewise.
28490 (fma_test_downward): Likewise.
28491 (fma_test_upward): Likewise.
28492 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28494 (libc_fesetround): New macro.
28495 (libc_fesetroundf): Likewise.
28496 (libc_fesetroundl): Likewise.
28497 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28499 (libc_fesetround_387): Likewise.
28500 (libc_fesetroundf): New macro.
28501 (libc_fesetround): Likewise.
28502 (libc_fesetroundl): Likewise.
28503 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28505 (libc_fesetroundf): New macro.
28506 (libc_fesetround): Likewise.
28507 (libc_fesetroundl): Likewise.
28508 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28509 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28510 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28512 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28513 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28516 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28518 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28522 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28523 integer constant usable in #if and use that to give value to enum
28525 (FE_DIVBYZERO): Likewise.
28526 (FE_UNDERFLOW): Likewise.
28527 (FE_OVERFLOW): Likewise.
28528 (FE_INVALID): Likewise.
28529 (FE_INVALID_SNAN): Likewise.
28530 (FE_INVALID_ISI): Likewise.
28531 (FE_INVALID_IDI): Likewise.
28532 (FE_INVALID_ZDZ): Likewise.
28533 (FE_INVALID_IMZ): Likewise.
28534 (FE_INVALID_COMPARE): Likewise.
28535 (FE_INVALID_SOFTWARE): Likewise.
28536 (FE_INVALID_SQRT): Likewise.
28537 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28538 (FE_TONEAREST): Likewise.
28539 (FE_TOWARDZERO): Likewise.
28540 (FE_UPWARD): Likewise.
28541 (FE_DOWNWARD): Likewise.
28542 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28543 (FE_DIVBYZERO): Likewise.
28544 (FE_OVERFLOW): Likewise.
28545 (FE_UNDERFLOW): Likewise.
28546 (FE_INEXACT): Likewise.
28547 (FE_TONEAREST): Likewise.
28548 (FE_DOWNWARD): Likewise.
28549 (FE_UPWARD): Likewise.
28550 (FE_TOWARDZERO): Likewise.
28551 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28552 (FE_UNDERFLOW): Likewise.
28553 (FE_OVERFLOW): Likewise.
28554 (FE_DIVBYZERO): Likewise.
28555 (FE_INVALID): Likewise.
28556 (FE_TONEAREST): Likewise.
28557 (FE_TOWARDZERO): Likewise.
28558 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28559 (FE_OVERFLOW): Likewise.
28560 (FE_UNDERFLOW): Likewise.
28561 (FE_DIVBYZERO): Likewise.
28562 (FE_INEXACT): Likewise.
28563 (FE_TONEAREST): Likewise.
28564 (FE_TOWARDZERO): Likewise.
28565 (FE_UPWARD): Likewise.
28566 (FE_DOWNWARD): Likewise.
28567 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28568 (FE_DIVBYZERO): Likewise.
28569 (FE_OVERFLOW): Likewise.
28570 (FE_UNDERFLOW): Likewise.
28571 (FE_INEXACT): Likewise.
28572 (FE_TONEAREST): Likewise.
28573 (FE_DOWNWARD): Likewise.
28574 (FE_UPWARD): Likewise.
28575 (FE_TOWARDZERO): Likewise.
28577 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28579 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28581 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28583 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28584 commands. Quote $PWD.
28585 (blacklist_exports): Don't use remove_newlines. Replace "declare
28587 (remove_newlines): Remove.
28589 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28591 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28592 * stdlib/stdlib.h (atof): Moved to ...
28593 * include/bits/stdlib-float.h: Here. New file.
28594 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28595 * stdlib/bits/stdlib-float.h: New file.
28596 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28601 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28603 * conform/conformtest.pl (@headers): Add fenv.h.
28604 * conform/data/fenv.h-data: New file.
28605 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28606 include of <math/fenv.h>.
28608 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28609 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28610 && !UNIX98]. Enables tests for XOPEN2K8.
28611 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28612 POSIX2008]: Likewise.
28614 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28615 (struct rusage): Do not expect type or its members.
28618 * math/math.h (FP_NAN): Define macro to integer constant usable in
28619 #if and use that to give value to enum constant.
28620 (FP_INFINITE): Likewise.
28621 (FP_ZERO): Likewise.
28622 (FP_SUBNORMAL): Likewise.
28623 (FP_NORMAL): Likewise.
28625 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28627 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28628 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28631 2012-11-02 Roland McGrath <roland@hack.frob.com>
28633 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28634 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28635 autoconf-time if not.
28636 * configure.in: Remove AC_PREREQ.
28638 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28640 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28641 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28642 of the internal implementation.
28644 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28646 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28647 except include of <misc/sys/syslog.h>.
28649 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28652 function returns with a NULL context exit with zero.
28654 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28656 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28658 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28660 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28661 (run_program_cmd): This.
28662 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28663 (tst_langinfo): New variable. Use it.
28665 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28667 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28668 floating point opcodes.
28670 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28672 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28675 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28677 * sysdeps/mach/hurd/powerpc: Remove directory.
28678 * sysdeps/mach/powerpc: Likewise.
28680 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28682 * scripts/check-local-headers.sh: Ignore c++ headers.
28684 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28686 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28687 __libc_cleanup_region_start argument.
28689 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28694 x * y using scaling, not as x * y + z.
28695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28697 * math/libm-test.inc (fma_test): Add more tests.
28698 (fma_test_towardzero): Likewise.
28699 (fma_test_downward): Likewise.
28700 (fma_test_upward): Likewise.
28702 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28704 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28706 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28708 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28711 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28713 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28715 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28722 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28725 Fix the order of the list for glibc 2.17.
28726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28729 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28733 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28737 for low part of x being zero before using __atanl (y).
28738 * math/libm-test.inc (atan2_test): Add another test.
28740 * manual/install.texi (Configuring and compiling): Document
28741 general use of test-wrapper and test-wrapper-env.
28742 * INSTALL: Regenerated.
28744 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28745 (__fma): Do not extract and scale down low bits on after-rounding
28746 systems when result rounded to normal precision would have normal
28748 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28749 (__fmal): Do not extract and scale down low bits on after-rounding
28750 systems when result rounded to normal precision would have normal
28752 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28753 (__fmal): Do not extract and scale down low bits on after-rounding
28754 systems when result rounded to normal precision would have normal
28756 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28758 (fma_test): Add more tests.
28759 (fma_test_towardzero): Likewise.
28760 (fma_test_downward): Likewise.
28761 (fma_test_upward): Likewise.
28763 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28765 * sysdeps/i386/tininess.h: Renamed to ...
28766 * sysdeps/x86/tininess.h: This.
28767 * sysdeps/x86_64/tininess.h: Removed.
28769 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28771 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28772 input. Use $(build-program-cmd).
28773 ($(objpfx)tst-array1-static.out): Likewise.
28774 ($(objpfx)tst-array2.out): Likewise.
28775 ($(objpfx)tst-array3.out): Likewise.
28776 ($(objpfx)tst-array4.out): Likewise.
28777 ($(objpfx)tst-array5.out): Likewise.
28778 ($(objpfx)tst-array5-static.out): Likewise.
28780 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28782 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28785 * nss/nsswitch.h (nss_interface_function): Provide new
28786 macro for use with NSS functions.
28787 * grp/initgroups.c: Use new macro.
28788 * nss/getXXbyYY.c: Likewise.
28789 * nss/getXXbyYY_r.c: Likewise.
28790 * nss/getXXent.c: Likewise.
28791 * nss/getXXent_r.c: Likewise.
28792 * sysdeps/posix/getaddrinfo.c: Likewise.
28794 2012-10-30 Andreas Jaeger <aj@suse.de>
28796 * po/ru.po: Update Russion translation from translation project.
28798 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28803 result and shift together with sticky bit instead of replicating
28804 round-to-nearest rounding.
28805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28807 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28808 missing underflow exceptions.
28809 (fma_test_towardzero): Add more tests.
28810 (fma_test_downward): Likewise.
28811 (fma_test_upward): Likewise.
28814 * sysdeps/generic/tininess.h: New file.
28815 * sysdeps/i386/tininess.h: Likewise.
28816 * sysdeps/sh/tininess.h: Likewise.
28817 * sysdeps/x86_64/tininess.h: Likewise.
28818 * stdlib/tst-strtod-underflow.c: Likewise.
28819 * stdlib/tst-tininess.c: Likewise.
28820 * stdlib/strtod_l.c: Include <tininess.h>.
28821 (round_and_return): Do not set errno for exact underflow cases.
28822 Force an underflow exception when setting errno for underflow.
28823 Determine underflow based on rounding to normal precision if
28824 TININESS_AFTER_ROUNDING.
28825 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28826 ERANGE for exact underflow cases.
28827 * stdlib/Makefile (tests): Add tst-tininess and
28828 tst-strtod-underflow.
28829 ($(objpfx)tst-tininess): Use $(link-libm).
28830 ($(objpfx)tst-strtod-underflow): Likewise.
28832 2012-10-30 Andreas Jaeger <aj@suse.de>
28835 * elf/Makefile (tests): Remove conditional for have-initfini-array
28836 since this is now always required and the variable does not exist
28838 (tests-static): Likewise.
28839 (modules-names): Likewise.
28841 * po/eo.po: Add Esperanto translation from translation project.
28843 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28844 merged with constructor/destructor.
28845 (init_array): Likewise.
28846 * elf/tst-array2dep.c (fini_array): Likewise.
28847 (init_array): Likewise.
28849 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28851 * manual/message.texi: Delete @cartouche tags.
28853 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28855 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28857 * sysdeps/mach/hurd/fsync.c: Likewise.
28859 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28860 [_POSIX_REALTIME_SIGNALS]: Change condition to
28861 [_POSIX_REALTIME_SIGNALS > 0].
28863 2012-10-27 Andreas Jaeger <aj@suse.de>
28865 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28866 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28868 [__WORDSIZE != 64]: Likewise.
28870 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28872 * iconvdata/tst-table.sh: Remove ${SHELL}.
28873 * iconvdata/tst-tables.sh: Likewise.
28875 2012-10-25 David S. Miller <davem@davemloft.net>
28877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28878 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28884 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28885 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28888 2012-10-25 Roland McGrath <roland@hack.frob.com>
28890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28891 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28894 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28895 Jim Blandy <jimb@codesourcery.com>
28897 * scripts/cross-test-ssh.sh: New file.
28898 * manual/install.texi (Configuring and compiling): Document use of
28900 * INSTALL: Regenerated.
28902 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28904 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28907 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28909 * Makeconfig (run-program-prefix): Fix comment.
28911 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28912 Jim Blandy <jimb@codesourcery.com>
28914 * Makeconfig (test-wrapper): New variable,
28915 (test-wrapper-env): Likewise.
28916 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28917 (run-built-tests): Define to yes.
28918 (run-program-prefix): Use $(test-wrapper).
28919 (built-program-cmd): Likewise.
28920 * Rules (make-test-out): Use $(test-wrapper-env) and
28921 $(host-built-program-cmd).
28922 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28923 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28925 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28926 $(test-wrapper-env) to tst-rtld-load-self.sh.
28927 ($(objpfx)order2.out): Use $(test-wrapper).
28928 ($(objpfx)tst-initorder.out): Likewise.
28929 ($(objpfx)tst-initorder2.out): Likewise.
28930 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28931 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28932 (test_wrapper_env): New variable. Use it to run ld.so.
28933 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28934 Use it to run ld.so.
28935 (test_wrapper_env): Likewise.
28936 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28937 $(test-wrapper) to run-iconv-test.sh.
28938 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28939 (ICONV): Use $test_wrapper.
28940 * posix/Makefile ($(objpfx)globtest.out): Pass
28941 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28942 globtest.sh, not $(run-program-prefix).
28943 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28944 (test_wrapper): Likewise.
28945 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28946 set together with run_via_rtld_prefix.
28947 (run_program_prefix): Define in terms of test_wrapper and
28948 run_via_rtld_prefix.
28950 2012-10-24 Roland McGrath <roland@hack.frob.com>
28952 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28953 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28957 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28958 Declare __clock_getres, __clock_gettime, __clock_settime,
28959 __clock_nanosleep, and __clock_getcpuclockid.
28960 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28961 Remove librt_hidden_def (clock_gettime).
28962 * sysdeps/unix/clock_gettime.c: Likewise.
28963 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28964 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28965 * rt/clock_getres.c: Define __clock_getres as an alias.
28966 * sysdeps/posix/clock_getres.c: Likewise.
28967 * rt/clock_settime.c: Define __clock_settime as an alias.
28968 * sysdeps/unix/clock_settime.c: Likewise.
28969 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28970 * sysdeps/unix/clock_nanosleep.c: Likewise.
28971 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28972 * rt/clock-compat.c: New file.
28973 * rt/Makefile (librt-routines): Add clock-compat and move
28974 $(clock-routines) to ...
28975 (routines): ... here, new variable.
28976 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28977 Don't add get_clockfreq here.
28978 * rt/Versions (libc: GLIBC_2.17): New version set.
28979 Add clock_* symbols here.
28980 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28982 (GLIBC_2.17): Add clock_* symbols.
28983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28994 * NEWS: Mention the move.
28996 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28997 Use __open, __read, __close rather than their public counterparts.
28998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28999 (__get_clockfreq_via_cpuinfo): Likewise.
29000 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29001 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29003 * config.h.in (HAVE_IFUNC): New #undef.
29004 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29006 * configure: Regenerated.
29008 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29010 * configure.in: Move READELF check to start of file.
29011 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29012 libc_cv_asm_gnu_indirect_function in the process.
29013 * configure: Regenerated.
29015 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29017 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29018 send the output to /dev/null.
29019 (libc_cv_cc_with_libunwind): Likewise.
29020 (libc_cv_as_noexecstack): Likewise.
29021 * configure: Regenerate.
29023 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29025 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29027 * posix/globtest.sh (TMPDIR): Do not set.
29028 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29029 (testout): Likewise.
29031 2012-10-24 Andreas Jaeger <aj@suse.de>
29033 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29034 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29035 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29036 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29037 posix_fadvise64, posix_fallocate64.
29039 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29040 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29041 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29043 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29045 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29048 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29049 <bits/fcntl-linux.h>.
29050 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29053 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29054 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29055 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29056 [__WORDSIZE != 64]: Likewise.
29058 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29060 * Makeconfig (run-built-tests): New variable.
29061 * Rules [$(cross-compiling) = yes]: Change condition to
29062 [$(run-built-tests) = no].
29063 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29064 to [$(run-built-tests) = yes].
29065 * elf/Makefile [$(cross-compiling) = no]: Likewise
29066 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29067 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29068 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29069 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29070 * io/Makefile [$(cross-compiling) = no]: Likewise.
29071 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29072 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29073 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29074 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29075 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29076 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29077 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29078 * string/Makefile [$(cross-compiling) = no]: Likewise.
29080 * posix/Makefile ($(objpfx)globtest.out): Pass
29081 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29082 $(rtld-installed-name).
29083 * posix/globtest.sh (elf_objpfx): Remove variable.
29084 (rtld_installed_name): Likewise.
29085 (library_path): Likewise.
29086 (run_program_prefix): New variable. Use for running globtest
29089 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29090 Joseph Myers <joseph@codesourcery.com>
29092 * Makeconfig (host-built-program-cmd): New variable.
29093 * elf/Makefile (tst-stackguard1-ARGS): Use
29094 $(host-built-program-cmd).
29095 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29096 (tst-spawn-ARGS): Likewise.
29097 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29099 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29100 Jim Blandy <jimb@codesourcery.com>
29102 * Makeconfig (run-via-rtld-prefix): New variable.
29103 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29104 (built-program-cmd): Likewise.
29106 2012-10-22 Andreas Jaeger <aj@suse.de>
29108 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29109 __O_RSYNC if it exists, otherwise to O_SYNC.
29111 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29112 Joseph Myers <joseph@codesourcery.com>
29114 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29116 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29118 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29121 2012-10-22 Andreas Jaeger <aj@suse.de>
29123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29128 bits/fcntl-linux.h.
29130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29131 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29138 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29139 Joseph Myers <joseph@codesourcery.com>
29141 * config.make.in (NM): New variable.
29143 2012-10-21 Andreas Jaeger <aj@suse.de>
29145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29146 definitions and declarations that are provided by
29147 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29149 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29152 * elf/Makefile (tests-static): Add tst-leaks1-static.
29153 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29154 ($(objpfx)tst-leaks1-static): New rule.
29155 ($(objpfx)tst-leaks1-static-mem): Likewise.
29156 (tst-leaks1-static-ENV): New macro.
29157 * elf/dl-open.c (dl_open_worker): Check the main application
29158 only if SHARED is defined.
29159 * elf/tst-leaks1-static.c: New file.
29161 2012-10-20 Andreas Jaeger <aj@suse.de>
29163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29164 generic values for Linux.
29165 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29166 and declarations that are provided by <bits/fcntl-linux.h> and
29167 include <bits/fcntl-linux.h>.
29168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29171 2012-10-20 Roland McGrath <roland@hack.frob.com>
29173 * io/fcntl.h: Move include of <bits/types.h> to the top and
29174 include it unconditionally.
29176 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29178 * wcsmbs/Makefile (tests-ifunc): New variable.
29179 (tests): Add $(tests-ifunc).
29180 * wcsmbs/test-wcschr-ifunc.c: New file.
29181 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29182 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29183 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29184 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29185 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29187 * string/Makefile (tests-ifunc): New variable.
29188 (tests): Add $(tests-ifunc).
29189 * string/test-memccpy.c (TEST_NAME): New macro.
29190 * string/test-memchr.c (TEST_NAME): Likewise.
29191 * string/test-memcmp.c (TEST_NAME): Likewise.
29192 * string/test-memcpy.c (TEST_NAME): Likewise.
29193 * string/test-memmem.c (TEST_NAME): Likewise.
29194 * string/test-memmove.c (TEST_NAME): Likewise.
29195 * string/test-memset.c (TEST_NAME): Likewise.
29196 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29197 * string/test-stpcpy.c (TEST_NAME): Likewise.
29198 * string/test-stpncpy.c (TEST_NAME): Likewise.
29199 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29200 * string/test-strcasestr.c (TEST_NAME): Likewise.
29201 * string/test-strcat.c (TEST_NAME): Likewise.
29202 * string/test-strchr.c (TEST_NAME): Likewise.
29203 * string/test-strcmp.c(TEST_NAME): Likewise.
29204 * string/test-strcpy.c (TEST_NAME): Likewise.
29205 * string/test-strcspn.c (TEST_NAME): Likewise.
29206 * string/test-strlen.c (TEST_NAME): Likewise.
29207 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29208 * string/test-strncmp.c (TEST_NAME): Likewise.
29209 * string/test-strncpy.c (TEST_NAME): Likewise.
29210 * string/test-strnlen.c (TEST_NAME): Likewise.
29211 * string/test-strpbrk.c (TEST_NAME): Likewise.
29212 * string/test-strrchr.c (TEST_NAME): Likewise.
29213 * string/test-strspn.c (TEST_NAME): Likewise.
29214 * string/test-strstr.c (TEST_NAME): Likewise.
29215 * string/test-bcopy-ifunc.c: New file.
29216 * string/test-bzero-ifunc.c: Likewise.
29217 * string/test-memccpy-ifunc.c: Likewise.
29218 * string/test-memchr-ifunc.c: Likewise.
29219 * string/test-memcmp-ifunc.c: Likewise.
29220 * string/test-memcpy-ifunc.c: Likewise.
29221 * string/test-memmem-ifunc.c: Likewise.
29222 * string/test-memmove-ifunc.c: Likewise.
29223 * string/test-mempcpy-ifunc.c: Likewise.
29224 * string/test-memset-ifunc.c: Likewise.
29225 * string/test-rawmemchr-ifunc.c: Likewise.
29226 * string/test-stpcpy-ifunc.c: Likewise.
29227 * string/test-stpncpy-ifunc.c: Likewise.
29228 * string/test-strcasecmp-ifunc.c: Likewise.
29229 * string/test-strcasestr-ifunc.c: Likewise.
29230 * string/test-strcat-ifunc.c: Likewise.
29231 * string/test-strchr-ifunc.c: Likewise.
29232 * string/test-strchrnul-ifunc.c: Likewise.
29233 * string/test-strcmp-ifunc.c: Likewise.
29234 * string/test-strcpy-ifunc.c: Likewise.
29235 * string/test-strcspn-ifunc.c: Likewise.
29236 * string/test-strlen-ifunc.c: Likewise.
29237 * string/test-strncasecmp-ifunc.c: Likewise.
29238 * string/test-strncat-ifunc.c: Likewise.
29239 * string/test-strncmp-ifunc.c: Likewise.
29240 * string/test-strncpy-ifunc.c: Likewise.
29241 * string/test-strnlen-ifunc.c: Likewise.
29242 * string/test-strpbrk-ifunc.c: Likewise.
29243 * string/test-strrchr-ifunc.c: Likewise.
29244 * string/test-strspn-ifunc.c: Likewise.
29245 * string/test-strstr-ifunc.c: Likewise.
29247 * debug/Makefile (tests-ifunc): New variable.
29248 (tests): Add $(tests-ifunc).
29249 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29250 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29251 * debug/test-stpcpy_chk-ifunc.c: New file.
29252 * debug/test-strcpy_chk-ifunc.c: Likewise.
29254 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29257 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29258 header is not read in.
29260 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29262 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29263 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29264 directly. Pass built executable to script as
29265 $(built-program-cmd).
29266 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29267 $testprogram without using LD_LIBRARY_PATH and $ldso.
29269 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29270 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29271 $(rtld-installed-name).
29272 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29273 (rtld_installed_name): Likewise.
29274 (library_path): Likewise.
29275 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29276 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29277 $(run-program-prefix) to tst-tables.sh.
29278 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29279 it to run tst-table-from and tst-table-to.
29280 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29281 Pass it to tst-table.sh.
29282 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29283 $(run-program-prefix) to tst-gettext.sh.
29284 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29286 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29288 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29289 to run tst-gettext.
29290 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29291 to run tst-gettext2.
29292 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29293 to run tst-translit.
29294 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29295 $(run-program-prefix) to tst-mtrace.sh.
29296 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29298 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29299 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29300 $(rtld-installed-name).
29301 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29302 (rtld_installed_name): Likewise.
29303 (run_program_prefix): New variable. Use it to run wordexp-test.
29305 * Makeconfig (ARCH): Remove all definitions.
29306 (machine): Likewise.
29307 [ARCH]: Remove conditional code.
29308 [!objdir]: Give error.
29309 [!objdir] (objpfx): Remove.
29310 [!objdir] (common-objpfx): Likewise.
29311 [!objdir] (common-objdir): Likewise.
29312 * configure.in (config_makefile): Remove. Hardcode Makefile in
29313 AC_CONFIG_FILES call.
29314 * configure: Regenerated.
29317 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29319 (testout): Likewise.
29321 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29322 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29323 $(rtld-installed-name).
29324 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29325 (rtld_installed_name): Likwise.
29326 (runit): Remove function.
29327 (run_getconf): New variable, Use it for running getconf binary.
29329 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29332 * string/test-memmem.c (check_result): New function.
29333 (do_one_test): Use it.
29334 (check1): New function.
29335 (test_main): Use it.
29337 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29339 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29341 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29343 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29344 (_G_LSEEK64): Likewise.
29345 (_G_MMAP64): Likewise.
29346 (_G_FSTAT64): Likewise.
29347 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29348 (_G_LSEEK64): Likewise.
29349 (_G_MMAP64): Likewise.
29350 (_G_FSTAT64): Likewise.
29351 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29352 unconditional. Call __mmap64 directly.
29353 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29354 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29355 __lseek64 directly.
29356 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29357 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29359 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29360 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29361 __lseek64 directly.
29362 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29363 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29364 __lseek64 directly.
29365 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29366 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29367 __lseek64 directly.
29368 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29369 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29370 __fxstat64 directly.
29371 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29372 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29374 (freopen64) [!_G_OPEN64]: Remove conditional code.
29375 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29377 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29378 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29380 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29381 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29383 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29384 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29386 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29387 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29389 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29390 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29392 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29393 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29395 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29397 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29400 * manual/memory.texi (Malloc Tunable Parameters): Add note
29401 about free list pointers overwriting some perturb bytes.
29402 Wording suggested by Roland McGrath.
29404 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29406 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29407 (lgamma_test): Likewise.
29408 (tgamma_test): Likewise.
29410 2012-10-16 Florian Weimer <fweimer@redhat.com>
29413 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29414 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29416 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29418 * NEWS: Mention BZ #14716.
29419 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29420 when removing AVAILABLE1_USES_J macro.
29422 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29424 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29425 (__bswap_64): __uint64_t for unsigned 64-bit int.
29427 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29429 * include/string.h (memmem): Declare libc hidden alias.
29430 * string/memmem.c (memmem): Define libc hidden alias.
29431 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29432 __read, __close instead of open, read, close.
29434 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29437 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29439 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29440 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29441 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29443 (__rawmemchr_sse2): Likewise.
29444 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29445 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29446 (__strchr_sse2): Likewise.
29447 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29448 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29449 (__strcasecmp_sse2): Likewise.
29450 (__strncasecmp_sse2): Likewise.
29451 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29452 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29453 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29454 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29455 (__strrchr_sse2): Likewise.
29456 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29458 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29459 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29460 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29462 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29463 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29466 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29467 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29468 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29469 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29470 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29471 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29472 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29473 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29474 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29475 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29476 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29477 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29478 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29479 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29480 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29481 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29482 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29483 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29484 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29485 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29486 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29487 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29491 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29492 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29493 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29494 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29496 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29498 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29499 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29500 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29501 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29503 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29517 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29520 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29521 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29524 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29528 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29529 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29530 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29531 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29532 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29533 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29534 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29535 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29536 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29545 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29546 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29547 * include/ifunc-impl-list.h: New file.
29548 * misc/ifunc-impl-list.c: Likewise.
29549 * misc/Makefile (routines): Add ifunc-impl-list.
29550 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29551 * string/test-string.h: Include <ifunc-impl-list.h>.
29552 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29553 TEST_NAME]: New variables.
29554 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29556 (test_init): Call __libc_ifunc_impl_list to initialize
29557 func_list if TEST_IFUNC and TEST_NAME are defined.
29559 * string/Makefile (strop-tests): Add bcopy and bzero.
29560 * string/test-bcopy.c: New file.
29561 * string/test-bzero.c: Likewise.
29562 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29564 * string/test-memset.c: Support bzero test if TEST_BZERO is
29566 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29568 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29570 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29573 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29575 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29576 * configure: Regenerated.
29578 * Makeconfig (+link-static-before-libc): Don't include
29579 $(link-static-libc).
29581 * libio/libio.h (_IO_pos_t): Remove.
29583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29585 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29588 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29590 * crypt/crypt-entry.c: Include fips-private.h.
29591 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29592 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29593 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29594 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29596 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29598 * crypt/crypt-private.h: Include stdbool.h.
29599 (_ufc_setup_salt_r): Return bool.
29600 * crypt/crypt-entry.c: Include errno.h.
29601 (__crypt_r): Return NULL with EINVAL for bad salt.
29602 * crypt/crypt_util.c (bad_for_salt): New.
29603 (_ufc_setup_salt_r): Check that salt is long enough and within
29604 the specified alphabet.
29605 * crypt/badsalttest.c: New file.
29606 * crypt/Makefile (tests): Add it.
29607 ($(objpfx)badsalttest): New.
29609 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29611 * NEWS: Add entry for BZ #14602.
29613 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29615 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29617 * math/libm-test.inc: Update comment listing what functions and
29619 (isgreater_test): New function.
29620 (isgreaterequal_test): Likewise.
29621 (isless_test): Likewise.
29622 (islessequal_test): Likewise.
29623 (islessgreater_test): Likewise.
29624 (isunordered_test): Likewise.
29625 (main): Call the new functions.
29627 2012-10-09 Roland McGrath <roland@hack.frob.com>
29629 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29630 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29631 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29632 * sysdeps/i386/configure: Regenerated.
29633 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29634 * sysdeps/mach/configure: Regenerated.
29635 * sysdeps/mach/hurd/configure: Regenerated.
29636 * sysdeps/powerpc/configure: Regenerated.
29637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29639 * sysdeps/s390/s390-32/configure: Regenerated.
29640 * sysdeps/s390/s390-64/configure: Regenerated.
29641 * sysdeps/sh/configure: Regenerated.
29642 * sysdeps/sparc/configure: Regenerated.
29643 * sysdeps/unix/sysv/linux/configure: Regenerated.
29644 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29645 * sysdeps/x86_64/configure: Regenerated.
29647 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29648 defined. Don't check if MAP is NULL.
29650 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29652 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29653 (_G_stat64): Likewise.
29654 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29655 (_G_stat64): Likewise.
29656 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29657 instead of struct _G_stat64.
29658 * libio/fileops.c (mmap_remap_check): Likewise.
29659 (decide_maybe_mmap): Likewise.
29660 (_IO_new_file_seekoff): Likewise.
29661 (_IO_file_stat): Likewise.
29662 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29664 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29665 instead of struct _G_stat64.
29666 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29668 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29671 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29673 (CHECK_EOL): New macro.
29674 (two_way_short_needle): Check beginning of haystack for EOL. Use
29676 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29677 Replace with CHECK_EOL.
29678 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29679 Replace with CHECK_EOL.
29681 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29683 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29685 * math/libm-test.inc: Update comment listing what functions and
29687 (finite_test): New function.
29688 (isinf_test): Likewise.
29689 (isnan_test): Likewise.
29690 (fpclassify_test): Test subnormal input.
29691 (isfinite_test): Likewise.
29692 (isnormal_test): Likewise.
29693 (main): Call the new functions.
29695 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29698 * Makerules (%.dynsym): Force C locale when running
29699 $(OBJDUMP) --dynamic-syms.
29701 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29703 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29706 2012-10-06 David S. Miller <davem@davemloft.net>
29708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29709 upper 32-bits of the length value in %o2 since we use branch-on-register
29710 tests which consider the entire 64-bit register.
29712 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29714 * string/test-strstr.c (check2): Add a test for page boundary.
29716 2012-10-05 David S. Miller <davem@davemloft.net>
29718 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29719 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29721 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29723 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29724 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29725 and bzero when HWCAP_SPARC_CRYPTO is present.
29727 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29730 * string/test-strstr.c (check2): New function.
29731 (test_main): Call check2.
29733 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29735 * string/bug-strcasestr1.c (do_test): Moved to ...
29736 * string/test-strcasestr.c (check1): Here. New function.
29737 (do_one_test): Break out result checking code into ...
29738 (check_result): This. New function.
29739 (do_one_test): Call check_result.
29740 (test_main): Call check1.
29741 * string/bug-strchr1.c (do_test): Moved to ...
29742 * string/test-strchr.c (check1): Here. New function.
29743 (do_one_test): Break out result checking code into ...
29744 (check_result): This. New function.
29745 (do_one_test): Call check_result.
29746 (test_main): Call check1.
29747 * string/bug-strstr1.c (main): Moved to ...
29748 * string/test-strstr.c (check1): Here. New function.
29749 (do_one_test): Break out result checking code into ...
29750 (check_result): This. New function.
29751 (do_one_test): Call check_result.
29752 (test_main): Call check1.
29753 * string/bug-strcasestr1.c: Removed.
29754 * string/bug-strchr1.c: Likewise.
29755 * string/bug-strstr1.c: Likewise.
29757 * elf/Makefile (dl-routines): Add hwcaps.
29758 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29759 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29760 (_dl_important_hwcaps): Moved to ...
29761 * elf/dl-hwcaps.c: Here. New file.
29762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29765 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29766 if IS_IN_rtld isn't defined.
29768 * elf/dl-support.c (_dl_sysinfo_map): New.
29769 Include "get-dynamic-info.h" and "setup-vdso.h".
29770 (_dl_non_dynamic_init): Call setup_vdso.
29771 * elf/dynamic-link.h: Don't include <assert.h>.
29772 (elf_get_dynamic_info): Moved to ...
29773 * elf/get-dynamic-info.h: Here. New file.
29774 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29775 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29776 * elf/setup-vdso.h: Here. New file.
29777 * elf/rtld.c: Include "setup-vdso.h".
29778 (dl_main): Call setup_vdso.
29780 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29782 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29783 creal in comment listing functions tested. List finite, isinf,
29784 isnan, isless, islessequal, isgreater, isgreaterequal,
29785 islessgreater, isunordered, lgamma_r and pow10 as functions and
29786 macros not tested. Mention which functions not tested are aliases
29787 for other functions. Fix typo. Note that signs of NaNs are not
29790 * scripts/config.guess: Update from config.git.
29791 * scripts/config.sub: Likewise.
29793 2012-10-04 Roland McGrath <roland@hack.frob.com>
29795 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29796 * misc/madvise.c (madvise): Renamed to __madvise.
29797 Make madvise a weak alias.
29798 * include/sys/mman.h: Declare __madvise.
29799 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29800 * sysdeps/unix/syscalls.list
29801 (madvise): Make __madvise the strong name, and madvise a weak alias.
29802 * sysdeps/unix/sysv/linux/syscalls.list
29803 (madvise, mmap): Remove redundant entries.
29804 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29805 * malloc/malloc.c (mtrim): Likewise.
29806 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29808 2012-10-03 Roland McGrath <roland@hack.frob.com>
29810 * sysdeps/mach/hurd/dl-cache.c: File removed.
29811 * config.h.in (USE_LDCONFIG): New #undef.
29812 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29813 * configure: Regenerated.
29814 * elf/Makefile (dl-routines): Add dl-cache only under
29815 [$(use-ldconfig) = yes].
29816 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29817 cache on [USE_LDCONFIG].
29818 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29820 * elf/rtld.c (dl_main): Likewise.
29822 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29824 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29825 _SC_LEVEL4_CACHE_LINESIZE.
29827 2012-10-03 Roland McGrath <roland@hack.frob.com>
29829 * sysdeps/unix/bsd/confstr.h: File removed.
29831 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29833 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29836 2012-10-02 Roland McGrath <roland@hack.frob.com>
29838 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29839 Make 'mapoff' field ElfW(Off) rather than off_t.
29841 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29843 * nscd/Makefile: Remove nscd-cflags and all its users.
29844 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29845 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29848 * malloc.c (malloc_printerr): Clarify error message.
29850 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29854 Set bit_FMA_Usable if FMA is supported.
29855 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29857 (bit_FMA4_Usable): Updated.
29858 (index_FMA_Usable): New macro.
29859 (CPUID_FMA): Likewise
29860 (HAS_FMA): Defined with bit_FMA_Usable.
29862 2012-10-01 Roland McGrath <roland@hack.frob.com>
29864 * bits/types.h (__swblk_t): Type removed.
29865 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29866 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29868 (__SWBLK_T_TYPE): Likewise.
29869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29870 (__SWBLK_T_TYPE): Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29872 (__SWBLK_T_TYPE): Likewise.
29873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29874 (__SWBLK_T_TYPE): Likewise.
29876 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29877 Honza Horak <hhorak@redhat.com>
29879 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29880 (xdr_mapname): Use YPMAXMAP as maxsize.
29881 (xdr_peername): Use YPMAXPEER as maxsize.
29882 (xdr_keydat): Use YPAXRECORD as maxsize.
29883 (xdr_valdat): Use YPMAXRECORD as maxsize.
29885 2012-10-01 Roland McGrath <roland@hack.frob.com>
29887 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29889 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29890 * csu/init-first.c: ... here.
29891 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29892 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29893 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29895 * sysdeps/i386/init-first.c: File removed.
29896 * sysdeps/sh/init-first.c: File removed.
29898 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29902 if x * y might underflow to zero and z is zero.
29903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29905 * math/libm-test.inc (min_subnorm_value): New variable.
29906 (fma_test): Add more tests.
29907 (fma_test_towardzero): Likewise.
29908 (fma_test_downward): Likewise
29909 (fma_test_upward): Likewise.
29910 (initialize): Set min_subnorm_value.
29912 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29918 mode for addition resulting in exact zero.
29919 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29924 * math/libm-test.inc (fma_test): Add more tests.
29925 (fma_test_towardzero): New function.
29926 (fma_test_downward): Likewise.
29927 (fma_test_upward): Likewise.
29928 (main): Call the new functions.
29930 2012-09-28 David S. Miller <davem@davemloft.net>
29932 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29934 2012-09-28 Roland McGrath <roland@hack.frob.com>
29936 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29937 instead of SIGALRM.
29939 * sysdeps/gnu/_G_config.h: Moved to ...
29940 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29941 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29942 * sysdeps/generic/_G_config.h: ... here.
29944 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29946 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29948 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29949 Conditionalize target on [libnss_test1.so-version].
29951 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29953 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29954 (elfobjdir): Move out of conditionals.
29956 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29957 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29958 (__nss_lookup_function): Conditionalize label remove_from_tree on
29959 [!DO_STATIC_NSS || SHARED], matching its only use.
29961 2012-09-28 David S. Miller <davem@davemloft.net>
29963 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29964 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29966 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29968 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29970 when HWCAP_SPARC_CRYPTO is present.
29972 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29974 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29976 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29979 * stdio-common/vfprintf.c (process_string_arg): Revert
29982 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29984 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29986 * stdio-common/tst-sprintf.c: Include <locale.h>
29987 (main): Test sprintf's handling of incomplete multibyte
29990 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29992 * elf/dl-runtime.c (VERSYMIDX): Removed.
29993 * elf/dl-version.c (VERSYMIDX): Likewise.
29994 * elf/do-rel.h (VERSYMIDX): Likewise.
29995 (VALIDX): Likewise.
29996 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29997 * elf/rtld.c (VALIDX): Likewise.
29998 (ADDRIDX): Likewise.
29999 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30000 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30001 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30002 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30003 (VALIDX): Likewise.
30004 (ADDRIDX): Likewise.
30006 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30008 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30010 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30013 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30015 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30016 addresses are in the same scope as 192.0.2/24.
30017 * posix/gai.conf: Document new scope table defaults.
30019 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30022 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30023 for ftell. Compute offsets from write pointers instead.
30024 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30026 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30029 * libio/Makefile (tests): New test case tst-fseek.
30030 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30031 combination works in wide mode.
30032 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30033 state when the external buffer state changes.
30035 2012-09-27 David S. Miller <davem@davemloft.net>
30038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30039 pass reloc->r_addend in as the 'high' argument to
30040 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30044 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30046 * rt/tst-aio2.c: Include <pthread.h>.
30047 * rt/tst-aio3.c: Likewise.
30049 2012-09-27 Steve Ellcey <sellcey@mips.com>
30051 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30053 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30055 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30056 contents on [SHARED].
30058 2012-09-26 Marek Polacek <polacek@redhat.com>
30062 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30063 for C++ and GCC <4.3 as well as for non GCC compilers.
30065 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30069 2012-09-25 Roland McGrath <roland@hack.frob.com>
30071 * Makefile.in (all, install): Declare with .PHONY.
30072 Reported by Michael Hope <michael.hope@linaro.org>.
30074 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30076 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30077 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30079 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30081 (sydep_routines): Add the new and the internal functions.
30082 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30083 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30085 (GLIBC_2.17): Add the new function.
30086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30087 (GLIBC_2.17): Likewise.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30089 (GLIBC_2.17): Likewise.
30090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30091 (GLIBC_2.17): Likewise.
30092 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30094 2012-09-25 Alan Modra <amodra@gmail.com>
30096 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30097 Add release barrier before setting once_control to say
30098 initialisation is done. Add hints on lwarx. Use macro in
30100 (clear_once_control): Add release barrier.
30102 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30105 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30107 * math/s_clog10.c (__clog10): Likewise.
30108 * math/s_clog10f.c (__clog10f): Likewise.
30109 * math/s_clog10l.c (__clog10l): Likewise.
30110 * math/s_clogf.c (__clogf): Likewise.
30111 * math/s_clogl.c (__clogl): Likewise.
30112 * math/Makefile (libm-calls): Add x2y2m1.
30113 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30114 (__x2y2m1): Likewise.
30115 (__x2y2m1l): Likewise.
30116 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30117 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30118 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30120 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30121 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30122 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30123 * sysdeps/i386/fpu/libm-test-ulps: Update.
30124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30127 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30128 int as type of variable DEPTH.
30129 (glob): Use size_t instead of int as type of variables NEWCOUNT
30132 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30134 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30135 Add s_sincosf-sse2.
30136 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30137 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30138 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30139 macros for using routine as __sincosf_ia32.
30140 Use macro for function declaration and weak_alias.
30141 * sysdeps/i386/fpu/libm-test-ulps: Update.
30143 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30146 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30147 subnormal argument.
30148 * math/s_cexpf.c (__cexpf): Likewise.
30149 * math/s_csinf.c (__csinf): Likewise.
30150 * math/s_csinhf.c (__csinhf): Likewise.
30151 * math/s_ctanf.c (__ctanf): Likewise.
30152 * math/s_ctanhf.c (__ctanhf): Likewise.
30153 * math/s_ccosh.c (__ccoshf): Likewise.
30154 * math/s_cexp.c (__cexpl): Likewise.
30155 * math/s_csin.c (__csin): Likewise.
30156 * math/s_csinh.c (__csinh): Likewise.
30157 * math/s_ctan.c (__ctan): Likewise.
30158 * math/s_ctanh.c (ctanh): Likewise.
30159 * math/s_ccoshl.c (__ccoshl): Likewise.
30160 * math/s_cexpl.c (__cexpl): Likewise.
30161 * math/s_csinl.c (__csinl): Likewise.
30162 * math/s_csinhl.c (__csinhl): Likewise.
30163 * math/s_ctanl.c (__ctanl): Likewise.
30164 * math/s_ctanhl.c (__ctanhl): Likewise.
30166 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30168 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30169 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30170 (_IO_off_t): Define to __off_t, not _G_off_t.
30171 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30172 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30173 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30174 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30175 type of __dummy and __dummy2 fields.
30176 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30177 (_G_ssize_t): Likewise.
30178 (_G_off_t): Likewise.
30179 (_G_pid_t): Likewise.
30180 (_G_uid_t): Likewise.
30181 (_G_wchar_t): Likewise.
30182 (_G_wint_t): Likewise.
30183 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30184 (_G_ssize_t): Likewise.
30185 (_G_off_t): Likewise.
30186 (_G_pid_t): Likewise.
30187 (_G_uid_t): Likewise.
30188 (_G_wchar_t): Likewise.
30189 (_G_wint_t): Likewise.
30190 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30191 (_G_ssize_t): Likewise.
30192 (_G_off_t): Likewise.
30193 (_G_pid_t): Likewise.
30194 (_G_uid_t): Likewise.
30195 (_G_wchar_t): Likewise.
30196 (_G_wint_t): Likewise.
30198 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30200 * malloc/arena.c: Include malloc-sysdep.h.
30201 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30202 is sufficient to shrink the heap or an unmap is needed.
30203 * sysdeps/generic/malloc-sysdep.h: New file. Define
30204 new function check_may_shrink_heap.
30205 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30206 new function check_may_shrink_heap.
30208 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30210 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30213 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30215 * catgets/test-gencat.sh: Add "set -e".
30216 * elf/tst-pathopt.sh: Likewise.
30217 * grp/tst_fgetgrent.sh: Likewise.
30218 * iconvdata/run-iconv-test.sh: Likewise.
30219 * intl/tst-gettext.sh: Likewise.
30220 * intl/tst-gettext2.sh: Likewise.
30221 * intl/tst-gettext4.sh: Likewise.
30222 * intl/tst-gettext6.sh: Likewise.
30223 * intl/tst-translit.sh: Likewise.
30224 * io/ftwtest-sh: Likewise.
30225 * libio/test-freopen.sh: Likewise.
30226 * malloc/tst-mtrace.sh: Likewise.
30227 * posix/globtest.sh: Likewise.
30228 * posix/tst-getconf.sh: Likewise.
30229 * posix/wordexp-tst.sh: Likewise.
30230 * stdio-common/tst-printf.sh: Likewise.
30231 * stdio-common/tst-unbputc.sh: Likewise.
30232 * stdlib/tst-fmtmsg.sh: Likewise.
30233 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30234 * catgets/Makefile: Do not specify -e option when running
30235 testsuite shell scripts.
30236 * elf/Makefile: Likewise.
30237 * grp/Makefile: Likewise.
30238 * iconvdata/Makefile: Likewise.
30239 * intl/Makefile: Likewise.
30240 * io/Makefile: Likewise.
30241 * libio/Makefile: Likewise.
30242 * malloc/Makefile: Likewise.
30243 * posix/Makefile: Likewise.
30244 * stdio-common/Makefile: Likewise.
30245 * stdlib/Makefile: Likewise.
30246 * sysdeps/x86_64/Makefile: Likewise.
30248 * io/ftwtest-sh: Add copyright header.
30249 * posix/globtest.sh: Likewise.
30250 * posix/tst-getconf.sh: Likewise.
30251 * posix/wordexp-tst.sh: Likewise.
30252 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30254 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30257 * Makeconfig (+link): Defined as $(+link-static) if
30258 $(build-shared) isn't yes.
30259 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30261 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30263 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30266 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30267 new chunk size with MALLOC_ALIGN_MASK.
30269 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30272 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30274 (__printf_fphex): Determine rounding using get_rounding_mode and
30276 * stdio-common/tst-printf-round.c (struct hex_test): New
30278 (hex_tests): New variable.
30279 (test_hex_in_one_mode): New function.
30280 (do_test): Also run tests for hex float output.
30282 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30284 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30285 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30286 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30287 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30288 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30289 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30290 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30291 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30293 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30295 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30296 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30297 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30298 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30300 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30303 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30305 * elf/tst-rtld-load-self.sh: New test.
30306 * elf/Makefile: Run it.
30308 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30310 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30311 (tst-writev-ENV): Remove.
30312 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30314 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30316 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30318 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30320 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30322 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30324 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30325 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30326 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30329 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30332 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30333 * config.make.in (have-cpp-asm-debuginfo): Removed.
30334 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30335 * configure: Regenerated.
30337 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30340 * stdio-common/printf_fp.c: Include <stdbool.h> and
30342 (___printf_fp): Determine rounding using get_rounding_mode and
30344 * stdio-common/tst-printf-round.c: New file.
30345 * stdio-common/Makefile (tests): Add tst-printf-round.
30346 (link-libm): New variable.
30347 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30349 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30352 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30353 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30355 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30358 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30360 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30361 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30362 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30363 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30365 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30368 * include/rounding-mode.h: New file.
30369 * sysdeps/generic/get-rounding-mode.h: Likewise.
30370 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30371 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30372 (MAX_VALUE): New macro.
30373 (MIN_VALUE): Likewise.
30374 (overflow_value): New function.
30375 (underflow_value): Likewise.
30376 (round_and_return): Use overflow_value and underflow_value to
30377 determine return values in overflow and underflow cases. Use
30378 round_away to determine rounding depending on rounding mode.
30379 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30380 determine return values in overflow and underflow cases.
30381 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30382 (struct test_results): New structure.
30383 (struct test): Use struct test_results to store expected results
30384 for all rounding modes.
30385 (TEST): Include expected results for all rounding modes.
30386 (test_in_one_mode): New function.
30387 (do_test): Use test_in_one_mode to compute and check results.
30388 Check results for all rounding modes.
30389 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30392 2012-12-09 Allan McRae <allan@archlinux.org>
30394 * sysdeps/i386/fpu/libm-test-ulps: Update
30396 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30398 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30399 (_G_int32_t): Likewise.
30400 (_G_uint16_t): Likewise.
30401 (_G_uint32_t): Likewise.
30402 (_G_HAVE_BOOL): Likewise.
30403 (_G_HAVE_ATEXIT): Likewise.
30404 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30405 (_G_HAVE_IO_FILE_OPEN): Likewise.
30406 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30407 (_G_int32_t): Likewise.
30408 (_G_uint16_t): Likewise.
30409 (_G_uint32_t): Likewise.
30410 (_G_HAVE_BOOL): Likewise.
30411 (_G_HAVE_ATEXIT): Likewise.
30412 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30413 (_G_HAVE_IO_FILE_OPEN): Likewise.
30414 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30415 (_G_int32_t): Likewise.
30416 (_G_uint16_t): Likewise.
30417 (_G_uint32_t): Likewise.
30418 (_G_HAVE_BOOL): Likewise.
30419 (_G_HAVE_ATEXIT): Likewise.
30420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30421 (_G_HAVE_IO_FILE_OPEN): Likewise.
30423 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30425 * csu/libc-tls.c: Update copyright years.
30427 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30429 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30430 [!_G_USING_THUNKS]: Remove conditional code.
30431 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30432 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30434 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30435 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30436 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30437 (_G_VTABLE_LABEL_PREFIX): Likewise.
30438 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30439 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30440 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30441 (_G_VTABLE_LABEL_PREFIX): Likewise.
30442 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30443 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30444 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30445 (_G_VTABLE_LABEL_PREFIX): Likewise.
30446 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30448 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30450 * libio/Makefile: Include ../Makeconfig before tests.
30451 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30452 only if $(build-shared) is yes.
30454 * iconv/gconv_db.c: Update copyright years.
30456 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30458 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30459 unwind info if defined PIC. Fix special cases description.
30460 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30462 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30464 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30466 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30468 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30470 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30473 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30474 (LDLIBS-tst-chk4): This.
30475 (LDFLAGS-tst-chk5): Renamed to ...
30476 (LDLIBS-tst-chk5): This.
30477 (LDFLAGS-tst-chk6): Renamed to ...
30478 (LDLIBS-tst-chk6): This.
30479 (LDFLAGS-tst-lfschk4): Renamed to ...
30480 (LDLIBS-tst-lfschk4): This.
30481 (LDFLAGS-tst-lfschk5): Renamed to ...
30482 (LDLIBS-tst-lfschk5): This.
30483 (LDFLAGS-tst-lfschk6): Renamed to ...
30484 (LDLIBS-tst-lfschk6): This.
30486 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30487 on $(common-objpfx)soversions.mk.
30489 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30492 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30495 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30497 * malloc/arena.c (arena_get_retry): New function that gets
30498 another arena for the caller to try its request on.
30499 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30500 current arena cannot fulfill the request.
30501 (__libc_memalign): Likewise.
30502 (__libc_memalign): Likewise.
30503 (__libc_pvalloc): Likewise.
30504 (__libc_calloc): Likewise.
30506 2012-09-05 John Tobey <john.tobey@gmail.com>
30509 * manual/arith.texi (Operations on Complex): Fix description
30510 of carg branch cut.
30512 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30515 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30519 * manual/memory.texi (Memory): Make order of menu items match
30522 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30524 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30525 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30526 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30528 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30530 * csu/libc-tls.c (static_dtv): Renamed to ...
30531 (_dl_static_dtv): This. Make it global.
30532 (_dl_initial_dtv): Removed.
30533 (__libc_setup_tls): Updated.
30534 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30535 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30538 2012-09-06 Petr Machata <pmachata@redhat.com>
30540 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30541 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30542 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30543 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30548 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30549 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30552 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30555 * Makeconfig (link-static-before-libc): Replace $(+prector)
30557 (link-static-after-libc): Replace $(+postctor) with
30559 (link-bounded): Replace $(+prector)/$(+postctor) with
30560 $(+prectorT)/$(+postctorT).
30561 (+prectorT): New macro.
30562 (+postctorT): Likewise.
30564 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30566 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30567 (round_str): Handle values above the maximum for IBM long double
30569 * stdlib/tst-strtod-round.c (tests): Regenerated.
30571 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30573 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30575 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30576 zarch_nohighgprs around the zarch optimized routines.
30577 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30578 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30582 2012-09-05 David S. Miller <davem@davemloft.net>
30584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30586 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30587 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30588 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30589 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30594 * malloc/arena.c: Fold copyright years.
30595 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30597 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30599 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30601 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30603 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30607 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30608 change internal state upon failure.
30610 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30612 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30613 * malloc/memusage.c (mmap): Likewise.
30614 (mmap64, mremap): Likewise. Adjust name in comment.
30616 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30618 * libio/fileops.c: Fix typos in comments.
30619 * libio/oldfileops.c: Likewise.
30620 * libio/wfileops.c: Likewise.
30622 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30625 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30626 (tst-malloc-usable-ENV): Set environment for test case.
30627 * malloc/hooks.c (malloc_check_get_size): New function to get
30629 * malloc/malloc.c (musable): Use malloc_check_get_size.
30630 * malloc/tst-malloc-usable.c: New test case.
30632 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30634 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30636 2012-09-05 Allan McRae <allan@archlinux.org>
30639 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30640 determine header location.
30641 * configure: Regenerated.
30643 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30645 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30647 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30648 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30650 (test): Regenerate.
30652 2012-09-04 David S. Miller <davem@davemloft.net>
30654 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30655 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30656 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30658 2012-09-04 Florian Weimer <fweimer@redhat.com>
30660 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30663 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30665 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30668 * libio/iogetdelim.c: Include <limits.h>.
30669 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30670 + len + 1 would overflow.
30672 2012-09-03 Andreas Jaeger <aj@suse.de>
30674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30675 * sysdeps/i386/fpu/libm-test-ulps: Update.
30677 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30679 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30680 Add s_sinf-sse2, s_conf-sse2.
30682 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30683 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30684 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30685 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30687 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30688 for using routine as __sinf_ia32.
30689 Use macro for function declaration and weak_alias.
30690 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30691 for using routine as __cosf_ia32.
30692 Use macro for function declaration and weak_alias.
30694 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30695 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30697 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30698 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30701 * math/libm-test.inc (cos_test): Add more test cases.
30702 (sin_test): Likewise.
30703 (sincos_test): Likewise.
30705 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30708 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30710 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30712 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30715 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30716 first element of the GOT.
30717 (elf_machine_load_address): Return the difference between
30718 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30720 2012-09-01 Allan McRae <allan@archlinux.org>
30723 * configure.in (AWK): Require gawk version 3.0 or later.
30724 * configure: Regenerated.
30726 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30728 * sysdeps/unix/sysv/linux/kernel-features.h
30729 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30730 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30731 [__NR_clock_getres]: Make code unconditional.
30732 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30733 (clock_getcpuclockid): Remove code left unreachable by removal of
30735 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30736 code unconditional.
30737 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30738 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30739 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30740 Make code unconditional.
30741 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30743 * sysdeps/unix/sysv/linux/clock_settime.c
30744 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30746 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30747 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30749 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30752 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30753 scripts/test-installation.pl.
30755 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30756 and $ld_so_version if it is set.
30758 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30762 failure if reading from procfs failed.
30763 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30765 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30767 * sysdeps/unix/sysv/linux/kernel-features.h
30768 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30769 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30770 Remove conditional code.
30771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30772 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30773 Remove conditional code.
30774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30775 * sysdeps/unix/sysv/linux/i386/fxstat.c
30776 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30778 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30779 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30781 * sysdeps/unix/sysv/linux/i386/lxstat.c
30782 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30784 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30785 Remove conditional code.
30786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30787 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30788 Remove conditional code.
30789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30790 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30791 <kernel-features.h>.
30792 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30794 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30795 Remove conditional code.
30796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30797 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30798 Remove conditional.
30800 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30803 * NEWS: Add fixed bug number.
30805 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30808 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30809 underflowing exponent in case of negative sign.
30810 * stdlib/tst-strtod-round-data: Add more tests.
30811 * stdlib/tst-strtod-round.c (tests): Regenerated.
30814 * stdlib/strtod_l.c (NDIG): Remove.
30815 (HEXNDIG): Likewise.
30816 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30817 smallest representable value.
30818 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30819 lie within an exact representation of 1/2 ulp of the result.
30820 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30822 (TENS_P9_IDX): Define unconditionally.
30823 (TENS_P9_SIZE): Likewise.
30824 (TENS_P10_IDX): Likewise.
30825 (TENS_P10_SIZE): Likewise.
30826 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30827 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30828 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30829 entries for 10^2^13 and 10^2^14.
30830 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30831 (TENS_P13_IDX): Define.
30832 (TENS_P13_SIZE): Likewise.
30833 (TENS_P14_IDX): Likewise.
30834 (TENS_P14_SIZE): Likewise.
30835 (_fpioconst_pow10): Change array size to
30836 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30838 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30839 1024]: Add entries for 10^2^13 and 10^2^14.
30840 [LAST_POW10 > _LAST_POW10]: Remove #error.
30841 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30842 (_fpioconst_pow10): Change array size to
30843 FPIOCONST_POW10_ARRAY_SIZE.
30844 * stdlib/gen-fpioconst.c: New file.
30845 * stdlib/gen-tst-strtod-round.c: Likewise.
30846 * stdlib/tst-strtod-round-data: Likewise.
30847 * stdlib/tst-strtod-round.c: Likewise.
30848 * stdlib/Makefile (tests): Add tst-strtod-round.
30851 * stdlib/strtod_l.c: Include <stdint.h>.
30852 (NDEBUG): Do not define.
30853 (round_and_return): Change EXPONENT parameter to type intmax_t.
30854 Rearrange calculations to avoid internal overflow possibilities.
30855 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30856 Rearrange calculations to avoid internal overflow possibilities.
30857 Assert that number fits inside MPNSIZE limbs.
30858 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30859 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30860 calculations and add assertions to avoid internal overflow
30861 possibilities. Add casts to avoid signed/unsigned operations.
30862 * stdlib/tst-strtod-overflow.c: New file.
30863 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30865 2012-08-25 Marek Polacek <polacek@redhat.com>
30867 * time/time.h: Fix some typos in comments.
30869 2012-08-23 Roland McGrath <roland@hack.frob.com>
30871 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30872 * posix/tst-rfc3484-2.c: Likewise.
30873 * posix/tst-rfc3484-3.c: Likewise.
30875 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30877 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30878 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30880 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30882 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30883 #include of fxstatat64.c.
30885 2012-08-22 Roland McGrath <roland@hack.frob.com>
30887 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30888 * shadow/getspent_r.c: Likewise.
30889 * shadow/getspnam.c: Likewise.
30890 * shadow/getspnam_r.c: Likewise.
30891 * gshadow/getsgent.c: Likewise.
30892 * gshadow/getsgent_r.c: Likewise.
30893 * gshadow/getsgnam.c: Likewise.
30894 * gshadow/getsgnam_r.c: Likewise.
30895 * inet/getnetbyad.c: Likewise.
30896 * inet/getnetbyad_r.c: Likewise.
30897 * inet/getnetbynm.c: Likewise.
30898 * inet/getnetbynm_r.c: Likewise.
30899 * inet/getnetent.c: Likewise.
30900 * inet/getnetent_r.c: Likewise.
30901 * inet/getproto.c: Likewise.
30902 * inet/getproto_r.c: Likewise.
30903 * inet/getprtent.c: Likewise.
30904 * inet/getprtent_r.c: Likewise.
30905 * inet/getprtname.c: Likewise.
30906 * inet/getprtname_r.c: Likewise.
30907 * inet/getrpcbyname.c: Likewise.
30908 * inet/getrpcbyname_r.c: Likewise.
30909 * inet/getrpcbynumber.c: Likewise.
30910 * inet/getrpcbynumber_r.c: Likewise.
30911 * inet/getrpcent.c: Likewise.
30912 * inet/getrpcent_r.c: Likewise.
30913 * inet/getaliasent.c: Likewise.
30914 * inet/getaliasent_r.c: Likewise.
30915 * inet/getaliasname.c: Likewise.
30916 * inet/getaliasname_r.c: Likewise.
30917 * nscd/getgrgid_r.c: Likewise.
30918 * nscd/getgrnam_r.c: Likewise.
30919 * nscd/gethstbyad_r.c: Likewise.
30920 * nscd/gethstbynm3_r.c: Likewise.
30921 * nscd/getpwnam_r.c: Likewise.
30922 * nscd/getpwuid_r.c: Likewise.
30923 * nscd/getsrvbynm_r.c: Likewise.
30924 * nscd/getsrvbypt_r.c: Likewise.
30925 * nscd/gai.c: Likewise.
30927 * configure.in (build_nscd): New substituted variable, set
30928 by --disable-build-nscd and defaults to $use_nscd.
30929 * configure: Regenerated.
30930 * config.make.in (build-nscd): New substituted variable.
30931 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30932 Change conditional to require [$(build-nscd) = yes] as well.
30933 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30936 * configure.in (use_nscd): New substituted variable, set by
30937 --disable-nscd. If enabled, define USE_NSCD.
30938 * configure: Regenerated.
30939 * config.h.in: Add USE_NSCD.
30940 * config.make.in (use-nscd): New substituted variable.
30941 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30942 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30943 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30944 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30945 (CFLAGS-getgrnam_r.c): Likewise.
30946 (CFLAGS-initgroups.c): Likewise.
30947 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30948 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30950 * inet/getnetgrent_r.c
30951 (nscd_setnetgrent): New function, broken out of ...
30952 (setnetgrent): ... here. Call it.
30953 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30954 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30955 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30956 * nscd/Makefile (routines, aux): Move definitions after include of
30957 Makeconfig. Conditionalize on [$(use-nscd) != no].
30958 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30959 Conditionalize on [USE_NSCD].
30960 (is_nscd, nscd_init_cb): Likewise.
30961 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30962 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30963 * nss/nss_db/db-init.c: Likewise.
30964 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30966 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30967 (make_request): Use it.
30968 (cache_valid_p): New function.
30969 (__check_pf): Use it.
30970 * NEWS: Add item for --disable-nscd.
30972 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30974 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30975 to support sed >= 4.2.1-20-ga9bf076.
30976 * configure: Regenerated.
30978 2012-08-22 Roland McGrath <roland@hack.frob.com>
30980 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30981 Conditionalize whole body on [IREL].
30983 2012-08-22 Jeff Law <law@redhat.com>
30986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30987 if the family is PF_UNSPEC.
30989 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30991 * Makerules (lib-version): Rename from V.
30992 (install-lib-nosubdir): Change V to lib-version.
30994 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30997 * powerpc32/power6/wcschr.c: New file.
30998 * powerpc32/power6/wcscpy.c: New file.
30999 * powerpc32/power6/wcsrchr.c: New file.
31000 * powerpc64/power6/wcschr.c: New file.
31001 * powerpc64/power6/wcscpy.c: New file.
31002 * powerpc64/power6/wcsrchr.c: New file.
31004 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31006 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31007 (two_way_short_needle): Use it.
31008 * string/strstr.c (AVAILABLE1_USES_J): Define.
31009 * string/strcasestr.c: Likewise.
31011 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31013 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31016 * NEWS: Add an entry.
31017 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31018 define their defaults.
31019 (two_way_short_needle): Detect end-of-string on-the-fly.
31020 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31021 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31022 * string/bug-strcasestr1.c: New test.
31023 * string/Makefile: Run it.
31025 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31028 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31029 the first character.
31031 2012-08-21 Roland McGrath <roland@hack.frob.com>
31033 * csu/elf-init.c (__libc_csu_irel): Function removed.
31034 * csu/libc-start.c (apply_irel): New function.
31035 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31037 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31039 * sysdeps/unix/sysv/linux/kernel-features.h
31040 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31041 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31042 <kernel-features.h>.
31043 [__NR_fadvise64_64]: Make code unconditional.
31044 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31045 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31046 !__NR_fadvise64_64)]: Likewise.
31047 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31048 !__NR_fadvise64_64))]: Likewise.
31049 [__NR_fadvise64]: Make code unconditional.
31050 [!__NR_fadvise64]: Remove conditional code.
31051 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31052 <kernel-features.h>.
31053 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31055 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31058 not include <kernel-features.h>.
31059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31063 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31064 include <kernel-features.h>.
31065 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31067 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31070 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31072 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31073 slight instruction rearrangements per scrollpipe analysis.
31074 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31076 2012-08-20 Roland McGrath <roland@hack.frob.com>
31078 * manual/syslog.texi (syslog; vsyslog, closelog):
31079 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31080 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31082 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31083 DSOCAPS to match condition on defining it.
31085 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31087 * sysdeps/unix/sysv/linux/kernel-features.h
31088 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31090 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31091 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31093 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31094 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31096 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31097 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31099 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31100 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31102 * sysdeps/unix/sysv/linux/kernel-features.h
31103 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31104 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31106 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31107 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31111 Make code unconditional.
31112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31113 (__mmap64) [!__NR_mmap2]: Likewise.
31114 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31115 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31116 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31117 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31118 [__NR_mmap2]: Make code unconditional.
31119 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31120 (__mmap64) [!__NR_mmap2]: Likewise.
31122 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31124 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31126 2012-08-18 Andreas Jaeger <aj@suse.de>
31128 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31130 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31132 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31133 * include/unistd.h (__have_sock_cloexec): Likewise.
31134 (__have_pipe2): Likewise.
31135 (__have_dup3): Likewise.
31137 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31140 * include/unistd.h (__have_pipe2): Change define into an extern int.
31141 (__have_dup3): Likewise.
31142 * socket/have_sock_cloexec.c: Include fcntl.h.
31143 (__have_pipe2): New variable.
31144 (__have_dup3): Likewise.
31146 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31148 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31150 2012-08-17 Marek Polacek <polacek@redhat.com>
31152 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31153 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31155 2012-08-17 Roland McGrath <roland@hack.frob.com>
31157 * configure.in: Add AC_SUBST for sysheaders.
31158 * configure: Regenerated.
31159 * config.make.in (sysheaders): New substituted variable.
31161 * sysdeps/unix/mkfifo.c: Moved ...
31162 * sysdeps/posix/mkfifo.c: ... here.
31163 * sysdeps/unix/mkfifoat.c: Moved ...
31164 * sysdeps/posix/mkfifoat.c: ... here.
31166 * sysdeps/unix/utime.c: Moved ...
31167 * sysdeps/posix/utime.c: ... here.
31169 * sysdeps/unix/time.c: Moved ...
31170 * sysdeps/posix/time.c: ... here.
31171 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31174 * sysdeps/unix/nice.c: Moved ...
31175 * sysdeps/posix/nice.c: ... here.
31177 * sysdeps/unix/alarm.c: Moved ...
31178 * sysdeps/posix/alarm.c: ... here.
31180 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31182 2012-08-17 Jeff Law <law@redhat.com>
31184 * intl/Makefile (codeset_mo): New variable.
31185 ($(codeset_mo)): New target.
31186 (tst-codeset.out): Depend on that. Remove explicit rule.
31187 (tst-gettext3.out, tst-gettext5.out): Likewise.
31188 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31189 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31190 * intl/tst-codeset.sh: Remove.
31191 * intl/tst-gettext3.sh: Likewise.
31192 * intl/tst-gettext5.sh: Likewise.
31194 2012-08-17 Roland McGrath <roland@hack.frob.com>
31196 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31197 * sysdeps/unix/syscalls.list: ... here.
31199 * sysdeps/posix/getaddrinfo.c
31200 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31201 (gaiconf_init, gaiconf_reload): Use them.
31202 [!_STATBUF_ST_NSEC]
31203 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31204 Define using time_t rather than struct timespec.
31206 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31207 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31209 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31211 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31212 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31215 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31216 __libc_cleanup_push argument.
31218 * bits/param.h: New file.
31219 * misc/sys/param.h: New file.
31220 * include/sys/param.h: New file.
31221 * misc/Makefile (headers): Add bits/param.h.
31222 * sysdeps/generic/sys/param.h: File removed.
31223 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31224 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31225 * sysdeps/mach/hurd/bits/param.h: New file.
31226 * sysdeps/mach/hurd/sys/param.h: File removed.
31228 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31231 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31233 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31234 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31237 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31238 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31239 rather than -D_IO_MTSAFE_IO conditionally.
31240 * stdio-common/Makefile (CPPFLAGS): Likewise.
31241 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31242 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31243 Use $(libio-mtsafe).
31244 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31245 of -D_IO_MTSAFE_IO.
31246 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31247 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31248 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31249 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31250 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31251 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31252 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31253 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31254 (CFLAGS-fread_u_chk.c): Likewise.
31255 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31256 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31257 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31258 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31259 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31260 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31261 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31262 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31263 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31265 * libio/Makefile: Test [$(libc-reentrant) = yes]
31266 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31269 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31270 * sysdeps/pthread/configure: File removed.
31271 * sysdeps/pthread/Makeconfig: New file.
31272 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31273 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31275 2012-08-16 Gary Benson <gbenson@redhat.com>
31277 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31278 unmapping the first object in a namespace.
31280 2012-08-16 Roland McGrath <roland@hack.frob.com>
31282 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31283 (__internal_setnetgrent): ... this. Add internal_function to
31284 definition. Add libc_hidden_def.
31285 (setnetgrent): Update caller.
31286 (internal_endnetgrent): Renamed to ...
31287 (__internal_endnetgrent): ... this. Add internal_function to
31288 definition. Add libc_hidden_def.
31289 (endnetgrent): Update caller.
31290 (internal_getnetgrent_r): Renamed to ...
31291 (__internal_getnetgrent_r): ... this. Add internal_function to
31292 definition. Add libc_hidden_def.
31293 (__getnetgrent_r): Update caller.
31294 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31296 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31298 * stdlib/longlong.h: Update from GCC.
31300 2012-08-16 Roland McGrath <roland@hack.frob.com>
31302 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31303 on _QL, which is set by umul_ppmm but never used.
31304 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31305 variables, which are set by GMP macros but never used.
31306 * stdio-common/_itowa.c (_itowa): Likewise.
31307 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31308 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31310 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31312 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31313 struct La_sh_regs is not constant.
31314 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31315 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31316 and struct La_sparc64_regs are not constant.
31318 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31320 * sysdeps/unix/sysv/linux/kernel-features.h
31321 (__ASSUME_POSIX_TIMERS): Remove.
31322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31324 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31325 Make code unconditional.
31326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31327 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31328 Make code unconditional.
31329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31330 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31331 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31332 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31333 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31334 Make code unconditional.
31335 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31336 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31337 (__libc_missing_posix_timers): Remove.
31339 2012-08-15 Roland McGrath <roland@hack.frob.com>
31341 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31342 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31344 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31346 * elf/dl-sym.c: Include <stdlib.h>.
31348 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31349 constants, which avoids warnings in 32-bit builds.
31351 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31352 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31354 * misc/lseek.c: File moved to ...
31355 * io/lseek.c: ... here.
31357 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31359 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31360 shifting LEN more than 31 bits at once.
31362 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31365 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31366 segmentation fault for a case of two empty input strings.
31367 * string/test-strncasecmp.c (check1): Renamed to...
31368 (bz12205): ...this.
31369 (bz14195): Add new testcase for two empty input strings and N > 0.
31370 (test_main): Call new testcase, adapt for renamed function.
31372 2012-08-15 Andreas Jaeger <aj@suse.de>
31375 * crypt/md5test2.c: New test, based on test supplied by Serge
31376 Belyshev <belyshev@depni.sinp.msu.ru>.
31377 * crypt/Makefile (xtests): Add md5test-giant..
31378 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31380 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31383 * crypt/md5.c (md5_process_block): Don't assume the buffer
31384 length is less than 2**32.
31385 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31386 length is less than 2**64.
31388 2012-08-15 Roland McGrath <roland@hack.frob.com>
31390 * string/str-two-way.h: Include <sys/param.h>.
31391 (MAX): Macro removed.
31393 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31394 Move #define and #undef of memmove to just before and after
31395 including <string.h>.
31397 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31398 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31399 and after including <string.h>. Move declarations of
31400 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31401 to before #include "string/memmove.c".
31403 * include/dirent.h: Declare __getdirentries.
31405 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31406 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31408 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31410 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31411 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31412 * sysdeps/i386/configure: Regenerated.
31413 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31414 STABS_CURRENT_FILE, and STABS_FUN.
31415 (END): Remove call to STABS_FUN_END.
31416 (STABS_CURRENT_FILE1): Delete.
31417 (STABS_CURRENT_FILE): Likewise.
31418 (STABS_FUN): Likewise.
31419 (STABS_FUN_END): Likewise.
31420 (STABS_FUN2): Likewise.
31421 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31422 * sysdeps/x86_64/configure: Regenerated.
31424 2012-08-14 Roland McGrath <roland@hack.frob.com>
31426 * elf/dl-open.c: Include <atomic.h>.
31427 * elf/dl-lookup.c: Likewise.
31429 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31431 * sysdeps/unix/sysv/linux/kernel-features.h
31432 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31433 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31435 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31437 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31438 condition on __ASSUME_CLONE_THREAD_FLAGS.
31440 2012-08-14 Andreas Jaeger <aj@suse.de>
31442 * sysdeps/i386/fpu/libm-test-ulps: Update.
31444 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31446 * include/atomic.h (atomic_exchange_and_add): Split into ...
31447 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31450 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31454 2012-08-13 Jeff Law <law@redhat.com>
31456 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31457 null byte in the output string.
31459 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31461 * sysdeps/unix/sysv/linux/kernel-features.h
31462 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31463 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31464 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31465 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31466 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31467 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31468 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31470 2012-08-09 Jeff Law <law@redhat.com>
31473 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31474 When avoid_arena is set, don't retry in the that arena. Pick the
31475 next one, whatever it might be.
31476 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31477 (arena_lock): Pass in new parameter to arena_get2.
31478 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31480 (__libc_malloc): Unify retrying after main arena failure with
31481 __libc_memalign version.
31482 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31484 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31487 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31488 to __redirect_strstr.
31489 (__strstr_sse42): Use typeof __redirect_strstr.
31490 (__strstr_ia32): Likewise.
31491 (__libc_strstr): New prototype.
31492 (strstr): Renamed to ...
31493 (__libc_strstr): This.
31494 (strstr): New strong alias of __libc_strstr.
31495 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31496 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31499 (__libc_time): New prototype.
31500 (time_ifunc): Replace time with __libc_time.
31501 (time): New strong alias and hidden definition of __libc_time.
31502 (__GI_time): Remove strong alias.
31503 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31504 Include <stddef.h>.
31505 (memmove): Redefined to __redirect_memmove.
31506 (__memmove_sse2): Use typeof __redirect_memmove.
31507 (__memmove_ssse3): Likewise.
31508 (__memmove_ssse3_back): Likewise.
31509 (__libc_memmove): New prototype.
31510 (memmove): Renamed to ...
31511 (__libc_memmove): This.
31512 (memmove): New strong alias of __libc_memmove.
31514 2012-08-08 Mark Salter <msalter@redhat.com>
31517 (R_MN10300_TLS_GD): Define.
31518 (R_MN10300_TLS_LD): Likewise.
31519 (R_MN10300_TLS_LDO): Likewise.
31520 (R_MN10300_TLS_GOTIE): Likewise.
31521 (R_MN10300_TLS_IE): Likewise.
31522 (R_MN10300_TLS_LE): Likewise.
31523 (R_MN10300_TLS_DTPMOD): Likewise.
31524 (R_MN10300_TLS_DTPOFF): Likewise.
31525 (R_MN10300_TLS_TPOFF): Likewise.
31526 (R_MN10300_SYM_DIFF): Likewise.
31527 (R_MN10300_ALIGN): Likewise.
31528 (R_MN10300_NUM): Update.
31530 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31535 2012-08-08 Roland McGrath <roland@hack.frob.com>
31537 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31539 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31540 sysdeps/unix -> sysdeps/posix move.
31541 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31543 2012-08-07 Allan McRae <allan@archlinux.org>
31546 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31547 (SUNOS_CPP): Likewise.
31548 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31550 (open_input): Call CPP using execvp.
31552 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31554 * sysdeps/unix/sysv/linux/kernel-features.h
31555 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31556 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31557 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31558 (__ASSUME_WAITID_SYSCALL): Likewise.
31559 * sysdeps/unix/sysv/linux/dl-execstack.c
31560 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31561 code unconditional.
31562 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31564 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31565 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31566 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31568 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31570 [__ASSUME_WAITID_SYSCALL]: Likewise.
31571 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31573 2012-08-07 Roland McGrath <roland@hack.frob.com>
31575 * sysdeps/unix/closedir.c: Renamed to ...
31576 * sysdeps/posix/closedir.c: ... here.
31577 * sysdeps/unix/dirfd.c: Renamed to ...
31578 * sysdeps/posix/dirfd.c: ... here.
31579 * sysdeps/unix/dirstream.h: Renamed to ...
31580 * sysdeps/posix/dirstream.h: ... here.
31581 * sysdeps/unix/fdopendir.c: Renamed to ...
31582 * sysdeps/posix/fdopendir.c: ... here.
31583 * sysdeps/unix/opendir.c: Renamed to ...
31584 * sysdeps/posix/opendir.c: ... here.
31585 * sysdeps/unix/readdir.c: Renamed to ...
31586 * sysdeps/posix/readdir.c: ... here.
31587 * sysdeps/unix/readdir_r.c: Renamed to ...
31588 * sysdeps/posix/readdir_r.c: ... here.
31589 * sysdeps/unix/rewinddir.c: Renamed to ...
31590 * sysdeps/posix/rewinddir.c: ... here.
31591 * sysdeps/unix/seekdir.c: Renamed to ...
31592 * sysdeps/posix/seekdir.c: ... here.
31593 * sysdeps/unix/telldir.c: Renamed to ...
31594 * sysdeps/posix/telldir.c: ... here.
31595 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31596 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31597 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31598 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31600 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31601 * bits/fcntl.h: ... here.
31603 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31605 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31606 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31607 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31608 (struct flock): Move l_start, l_len to the beginning.
31609 Use __pid_t for l_pid.
31610 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31611 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31612 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31613 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31614 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31615 [__USE_LARGEFILE64] (struct flock64): New type.
31616 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31618 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31619 * bits/dirent.h: ... here.
31621 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31622 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31624 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31626 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31627 Change from 2.6.0 to 2.6.16.
31628 * sysdeps/unix/sysv/linux/configure: Regenerated.
31629 * sysdeps/unix/sysv/linux/kernel-features.h
31630 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31631 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31633 (__ASSUME_UTIMES): Likewise.
31634 (__ASSUME_CLONE_STOPPED): Remove.
31635 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31636 architectures, not kernel version.
31637 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31638 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31639 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31640 (__ASSUME_WAITID_SYSCALL): Likewise.
31641 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31642 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31643 * README: State 2.6.16 as minimum Linux kernel version. Do not
31644 refer to older versions.
31646 2012-08-06 Roland McGrath <roland@hack.frob.com>
31648 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31649 Define alphasort64 as an alias.
31650 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31651 Define versionsort64 as an alias.
31652 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31653 Define scandir64 as an alias.
31654 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31655 Define scandirat64 as an alias.
31656 * dirent/alphasort64.c (alphasort64):
31657 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31658 * dirent/versionsort64.c: Likewise.
31659 * dirent/scandir64.c: Likewise.
31660 * dirent/scandirat64.c: Likewise.
31661 * sysdeps/wordsize-64/alphasort.c: File removed.
31662 * sysdeps/wordsize-64/alphasort64.c: File removed.
31663 * sysdeps/wordsize-64/scandir.c: File removed.
31664 * sysdeps/wordsize-64/scandir64.c: File removed.
31665 * sysdeps/wordsize-64/scandirat.c: File removed.
31666 * sysdeps/wordsize-64/scandirat64.c: File removed.
31667 * sysdeps/wordsize-64/versionsort.c: File removed.
31668 * sysdeps/wordsize-64/versionsort64.c: File removed.
31669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31678 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31680 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31682 [defined __arch64__ || defined __sparcv9]
31683 (__INO_T_MATCHES_INO64_T): New macro.
31684 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31685 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31686 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31687 * sysdeps/unix/sysv/linux/bits/dirent.h
31688 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31689 (_DIRENT_MATCHES_DIRENT64): New macro.
31691 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31692 Define lockf64 as an alias.
31693 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31694 Define fseeko64 as an alias.
31695 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31696 Define ftello64 as an alias.
31697 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31698 Define _IO_fgetpos64 and fgetpos64 as aliases.
31699 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31700 Define _IO_fsetpos64 and fsetpos64 as aliases.
31701 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31702 Conditionalize body on this.
31703 * libio/fseeko64.c: Likewise.
31704 * libio/ftello64.c: Likewise.
31705 * libio/iofgetpos64.c: Likewise.
31706 * libio/iofsetpos64.c: Likewise.
31707 * sysdeps/wordsize-64/lockf.c: File removed.
31708 * sysdeps/wordsize-64/lockf64.c: File removed.
31709 * sysdeps/wordsize-64/fseeko.c: File removed.
31710 * sysdeps/wordsize-64/fseeko64.c: File removed.
31711 * sysdeps/wordsize-64/ftello.c: File removed.
31712 * sysdeps/wordsize-64/ftello64.c: File removed.
31713 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31714 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31715 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31716 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31728 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31730 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31732 [defined __arch64__ || defined __sparcv9]
31733 (__OFF_T_MATCHES_OFF64_T): New macro.
31734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31735 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31737 (__OFF_T_MATCHES_OFF64_T): New macro.
31739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31741 * stdlib/secure-getenv.c (__secure_getenv): Replace
31742 GLIBC_2_16 with GLIBC_2_17.
31744 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31749 2012-08-03 David S. Miller <davem@davemloft.net>
31751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31753 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31757 (__ASSUME_CORRECT_SI_PID): Likewise.
31758 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31759 (__ASSUME_TMPFS_NAME): Likewise.
31760 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31761 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31762 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31763 (HAVE_AUX_SECURE): Make definition unconditional.
31764 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31765 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31767 2012-08-03 Roland McGrath <roland@hack.frob.com>
31769 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31770 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31771 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31772 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31773 __eloop_threshold instead of SYMLOOP_MAX.
31775 * sysdeps/generic/eloop-threshold.h: New file.
31776 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31778 * elf/chroot_canon.c (chroot_canon): Likewise.
31780 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31783 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31784 Change to 2.6.0 everywhere.
31785 * sysdeps/unix/sysv/linux/configure: Regenerated.
31786 * sysdeps/unix/sysv/linux/kernel-features.h
31787 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31788 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31790 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31791 (__ASSUME_FUTEX_REQUEUE): Remove.
31792 (__ASSUME_STATFS64): Define unconditionally.
31793 (__ASSUME_AT_SECURE): Likewise.
31794 (__ASSUME_CORRECT_SI_PID): Likewise.
31795 (__ASSUME_TGKILL): Define without depending on kernel version for
31797 (__ASSUME_UTIMES): Likewise.
31798 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31800 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31801 (__ASSUME_TMPFS_NAME): Likewise.
31802 * README: Update reference to Linux kernel versions.
31804 2012-08-02 Marek Polacek <polacek@redhat.com>
31807 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31808 libc_cv_asm_type_prefix with %.
31809 * configure: Regenerated.
31810 * include/libc-symbols.h: Remove comment about
31811 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31812 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31813 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31814 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31815 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31816 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31817 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31818 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31819 * elf/tst-unique2mod1.c: Likewise.
31820 * elf/tst-unique1mod2.c: Likewise.
31821 * elf/tst-unique1mod1.c: Likewise.
31822 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31823 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31824 Replace ASM_TYPE_DIRECTIVE with .type.
31825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31826 * sysdeps/i386/sysdep.h: Likewise.
31827 * sysdeps/x86_64/sysdep.h: Likewise.
31828 * sysdeps/sh/sysdep.h: Likewise.
31829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31830 Do not define ASM_TYPE_DIRECTIVE.
31831 * sysdeps/powerpc/sysdep.h: Likewise.
31832 * sysdeps/powerpc/powerpc32/sysdep.h:
31833 Replace ASM_TYPE_DIRECTIVE with .type.
31834 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31836 * sysdeps/i386/fpu/e_powf.S: Likewise.
31837 * sysdeps/i386/fpu/e_expl.S: Likewise.
31838 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31839 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31840 * sysdeps/i386/fpu/e_pow.S: Likewise.
31841 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31843 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31844 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31845 * sysdeps/i386/fpu/e_log2.S: Likewise.
31846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31847 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31848 * sysdeps/i386/fpu/e_powl.S: Likewise.
31849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31850 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31851 * sysdeps/i386/fpu/e_logl.S: Likewise.
31852 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31853 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31854 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31855 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31856 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31857 * sysdeps/i386/fpu/e_log.S: Likewise.
31858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31859 * sysdeps/i386/fpu/e_logf.S: Likewise.
31860 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31861 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31862 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31863 * sysdeps/i386/fpu/e_log10.S: Likewise.
31864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31870 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31871 * sysdeps/i386/i686/strtok.S: Likewise.
31872 * sysdeps/i386/i386-mcount.S: Likewise.
31873 * sysdeps/i386/strtok.S: Likewise.
31874 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31875 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31877 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31878 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31883 * sysdeps/x86_64/_mcount.S: Likewise.
31884 * sysdeps/x86_64/strtok.S: Likewise.
31885 * sysdeps/sh/_mcount.S: Likewise.
31887 2012-08-01 Roland McGrath <roland@hack.frob.com>
31889 * libio/iofopen.c: Include <fcntl.h>.
31890 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31891 (_IO_fopen64, fopen64): Define as aliases.
31892 * libio/iofopen64.c: Include <fcntl.h>.
31893 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31894 Conditionalize body on this.
31895 * sysdeps/wordsize-64/iofopen.c: File removed.
31896 * sysdeps/wordsize-64/iofopen64.c: File removed.
31898 2012-08-01 Marek Polacek <polacek@redhat.com>
31900 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31901 Use dlfcn directly instead of a variable.
31902 (binfmt-subdir): Do not define.
31905 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31908 Remove all definitions.
31909 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31910 <kernel-features.h>.
31911 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31912 (miss_F_GETOWN_EX): Remove all definitions.
31913 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31915 [!__ASSUME_FCNTL64]: Remove conditional code.
31916 [__ASSUME_FCNTL64]: Make code unconditional.
31917 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31918 <kernel-features.h>.
31919 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31920 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31921 (lockf64) [__NR_fcntl64]: Make code unconditional.
31922 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31924 * sysdeps/unix/sysv/linux/kernel-features.h
31925 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31926 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31927 Make code unconditional.
31928 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31929 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31931 [__NR_vfork]: Make code unconditional.
31932 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31933 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31935 [__NR_vfork]: Make code unconditional.
31936 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31937 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31939 2012-08-01 Roland McGrath <roland@hack.frob.com>
31941 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31942 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31944 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31945 Define mkstemp64 as an alias.
31946 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31947 Define mkstemps64 as an alias.
31948 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31949 Define mkostemp64 as an alias.
31950 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31951 Define mkostemps64 as an alias.
31952 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31953 Conditionalize body on this.
31954 * misc/mkostemp64.c: Likewise.
31955 * misc/mkostemps64.c: Likewise.
31956 * misc/mkstemps64.c: Likewise.
31957 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31958 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31959 * sysdeps/wordsize-64/mkostemp.c: File removed.
31960 * sysdeps/wordsize-64/mkstemp.c: File removed.
31961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31964 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31967 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31968 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31969 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31970 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31972 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31973 compat_symbol macros from <shlib-compat.h> rather than the underlying
31974 default_symbol_version and symbol_version macros, so that DEFAULT
31975 lines in shlib-versions are respected.
31976 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31978 2012-08-01 Florian Weimer <fweimer@redhat.com>
31980 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31981 Declare with warn_unused_result.
31982 (setgid, setregid, setegid, setresgid): Likewise.
31983 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31985 * WUR-REPORT: Remove set*id functions.
31987 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31989 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31991 2012-07-31 Roland McGrath <roland@hack.frob.com>
31994 * include/sys/socket.h (__libc_accept, __libc_accept4):
31995 Add attribute_hidden.
31996 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31998 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32000 * inet/getnetgrent_r.c (setup): Likewise.
32002 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32004 2012-07-31 David S. Miller <davem@davemloft.net>
32006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32008 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32011 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32012 value between 1.0 and 2.0 and smaller part has absolute value less
32014 * math/s_clog10.c (__clog10): Likewise.
32015 * math/s_clog10f.c (__clog10f): Likewise.
32016 * math/s_clog10l.c (__clog10l): Likewise.
32017 * math/s_clogf.c (__clogf): Likewise.
32018 * math/s_clogl.c (__clogl): Likewise.
32019 * math/libm-test.inc (clog_test): Add more tests.
32020 (clog10_test): Likewise.
32021 * sysdeps/i386/fpu/libm-test-ulps: Update.
32022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32024 2012-07-31 Florian Weimer <fweimer@redhat.com>
32026 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32027 Exit with zero in case no suitable GID is found, and write a
32028 message to standard error.
32030 2012-07-30 Roland McGrath <roland@hack.frob.com>
32032 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32034 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32035 (MAXPATHLEN): Removed.
32036 (NOGROUP, NODEV): New macros.
32037 (setbit, clrbit, isset, isclr): New macros.
32038 (howmany, roundup, powerof2): New macros.
32039 (DEV_BSIZE): New macro.
32041 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32042 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32044 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32045 definition on [!__NO_LONG_DOUBLE_MATH].
32047 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32048 PTR_MANGLE and PTR_DEMANGLE.
32050 * socket/accept4.c (accept4): Rename to __libc_accept4.
32051 Define accept4 as a weak alias.
32053 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32054 on [_DIRENT_HAVE_D_TYPE].
32055 * io/ftw.c (ftw_dir): Likewise.
32057 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32059 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32061 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32062 Use the BSD numbers rather than the arbitrary ones we had.
32063 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32064 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32065 (SIGXCPU, SIGXFSZ): New macros.
32068 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32069 initializer on [_LIBC_REENTRANT].
32071 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32072 definitions inside [_POSIX_MAPPED_FILES].
32074 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32076 * dirent/opendir.c: Include <fcntl.h>.
32078 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32079 (__libc_getspecific): Likewise.
32080 (__libc_key_create): Likewise.
32082 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32083 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32084 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32085 (tmpfile64): Define as alias.
32086 * sysdeps/wordsize-64/tmpfile.c: File removed.
32087 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32091 * stdio-common/vfscanf.c: Include <stdbool.h>.
32092 * nss/makedb.c: Likewise.
32093 * stdio-common/_i18n_number.h: Likewise.
32094 * argp/argp-help.c: Likewise.
32095 * posix/wordexp.c: Likewise.
32096 * sysdeps/posix/spawni.c: Likewise.
32097 * nss/nss_files/files-initgroups.c: Likewise.
32098 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32099 * nss/nss_files/files-initgroups.c: Likewise.
32100 * nss/nss_db/db-netgrp.c: Likewise.
32101 * nss/nss_db/db-initgroups.c: Likewise.
32102 * io/fchmodat.c: Include <sys/stat.h>.
32104 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32105 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32107 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32110 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32111 Add multiple inclusion protection.
32113 2012-07-27 David S. Miller <davem@davemloft.net>
32115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32117 2012-07-27 Gary Benson <gbenson@redhat.com>
32120 * elf/rtld.c: Include <stap-probe.h>.
32121 (dl_main): Added static probes "init_start" and "init_complete".
32122 * elf/dl-load.c: Include <stap-probe.h>.
32123 (lose): Take new parameter "nsid".
32124 Added static probe "map_failed".
32125 (_dl_map_object_from_fd): Pass namespace id to lose.
32126 Added static probe "map_start".
32127 (open_verify): Pass namespace id to lose.
32128 * elf/dl-open.c: Include <stap-probe.h>.
32129 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32130 and "reloc_complete".
32131 * elf/dl-close.c: Include <stap-probe.h>.
32132 (_dl_close_worker): Added static probes "unmap_start" and
32134 * elf/rtld-debugger-interface.txt: New file documenting the above.
32136 2012-07-26 Roland McGrath <roland@hack.frob.com>
32138 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32139 rather than a string variable.
32140 * sunrpc/rpc_main.c (h_output): Likewise.
32141 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32143 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32145 * inet/check_native.c: New file.
32147 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32150 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32151 if larger part has absolute value 1.0.
32152 * math/s_clog10.c (__clog10): Likewise.
32153 * math/s_clog10f.c (__clog10f): Likewise.
32154 * math/s_clog10l.c (__clog10l): Likewise.
32155 * math/s_clogf.c (__clogf): Likewise.
32156 * math/s_clogl.c (__clogl): Likewise.
32157 * math/libm-test.inc (clog_test): Add more tests.
32158 (clog10_test): Likewise.
32159 * sysdeps/i386/fpu/libm-test-ulps: Update.
32160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32162 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32163 (pltexit): Likewise.
32164 (La_regs): Likewise.
32165 (La_retval): Likewise.
32166 (int_retval): Likewise.
32167 Update #error for removed macros to refer only to definitions in
32169 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32171 (pltexit): Likewise.
32172 (La_regs): Likewise.
32173 (La_retval): Likewise.
32174 (int_retval): Likewise.
32175 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32177 (pltexit): Likewise.
32178 (La_regs): Likewise.
32179 (La_retval): Likewise.
32180 (int_retval): Likewise.
32181 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32183 (pltexit): Likewise.
32184 (La_regs): Likewise.
32185 (La_retval): Likewise.
32186 (int_retval): Likewise.
32187 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32189 (pltexit): Likewise.
32190 (La_regs): Likewise.
32191 (La_retval): Likewise.
32192 (int_retval): Likewise.
32193 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32195 (pltexit): Likewise.
32196 (La_regs): Likewise.
32197 (La_retval): Likewise.
32198 (int_retval): Likewise.
32199 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32201 (pltexit): Likewise.
32202 (La_regs): Likewise.
32203 (La_retval): Likewise.
32204 (int_retval): Likewise.
32205 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32206 macro definitions in tst-audit.h.
32207 * sysdeps/i386/tst-audit.h: New file.
32208 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32209 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32210 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32211 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32212 * sysdeps/sh/tst-audit.h: Likewise.
32213 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32214 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32215 * sysdeps/x86_64/tst-audit.h: Likewise.
32217 2012-07-26 Andreas Jaeger <aj@suse.de>
32219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32222 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32223 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32224 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32226 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32227 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32228 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32230 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32233 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32235 (si_call_addr, si_syscall, si_arch): Define new macro.
32236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32238 (si_call_addr, si_syscall, si_arch): Define new marcro.
32239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32241 (si_call_addr, si_syscall, si_arch): Define new macro.
32242 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32244 (si_call_addr, si_syscall, si_arch): Define new macro.
32246 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32250 Change to 2.4.21 where previously 2.4.1.
32251 * sysdeps/unix/sysv/linux/configure: Regenerated.
32252 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32253 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32254 Linux kernel version.
32255 (__ASSUME_STD_AUXV): Remove.
32256 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32258 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32259 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32260 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32261 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32262 (__ASSUME_NETLINK_SUPPORT): Likewise.
32263 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32264 (__no_netlink_support): Remove conditional definition.
32265 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32267 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32268 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32269 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32270 (if_nameindex_ioctl): Remove.
32271 (if_nameindex_netlink): Do not handle __no_netlink_support.
32272 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32274 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32275 Remove conditional code.
32276 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32278 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32280 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32281 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32282 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32284 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32285 [!__ASSUME_STD_AUXV]: Remove conditional code.
32286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32287 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32288 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32290 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32291 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32293 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32295 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32298 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32300 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32303 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32306 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32307 code unconditional.
32308 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32310 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32312 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32315 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32317 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32320 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32321 code unconditional.
32322 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32324 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32326 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32329 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32330 code unconditional.
32331 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32333 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32335 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32338 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32340 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32342 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32343 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32344 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32345 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32347 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32348 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32349 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32350 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32351 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32352 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32353 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32364 2012-07-25 Florian Weimer <fweimer@redhat.com>
32366 * Versions.def: Add GLIBC_2.17.
32367 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32368 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32369 Introduce __libc_secure_getenv.
32370 * stdlib/Versions (2.17): Add secure_getenv
32371 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32372 * stdlib/secure-getenv.c: Rename __secure_getenv to
32373 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32374 symbol __secure_getenv for GLIBC_2.0.
32375 * stdlib/tst-secure-getenv.c: New.
32376 * stdlib/Makefile (tests): Add testcase.
32377 * manual/startup.texi (Environment Access): Document
32379 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32380 __libc_secure_getenv.
32381 * inet/ruserpass.c (ruserpass): Likewise.
32382 * malloc/mtrace.c (mtrace): Likewise.
32383 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32384 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32385 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32386 * sysdeps/posix/tempname.c: Likewise. Evaluate
32387 HAVE_SECURE_GETENV.
32388 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32389 __secure_getenv to __libc_secure_getenv.
32390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32403 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32405 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32406 (struct La_i86_retval): Likewise.
32407 (struct La_x86_64_regs): Likewise.
32408 (struct La_x86_64_retval): Likewise.
32409 (struct La_x32_regs): Likewise.
32410 (struct La_x32_retval): Likewise.
32411 (struct La_ppc32_regs): Likewise.
32412 (struct La_ppc32_retval): Likewise.
32413 (struct La_ppc64_regs): Likewise.
32414 (struct La_ppc64_retval): Likewise.
32415 (struct La_sh_regs): Likewise.
32416 (struct La_sh_retval): Likewise.
32417 (struct La_s390_32_regs): Likewise.
32418 (struct La_s390_32_retval): Likewise.
32419 (struct La_s390_64_regs): Likewise.
32420 (struct La_s390_64_retval): Likewise.
32421 (struct La_sparc32_regs): Likewise.
32422 (struct La_sparc32_retval): Likewise.
32423 (struct La_sparc64_regs): Likewise.
32424 (struct La_sparc64_retval): Likewise.
32425 (struct audit_ifaces): Remove architecture-specific pltenter and
32427 * sysdeps/i386/ldsodefs.h: New file.
32428 * sysdeps/powerpc/ldsodefs.h: Likewise.
32429 * sysdeps/s390/ldsodefs.h: Likewise.
32430 * sysdeps/sh/ldsodefs.h: Likewise.
32431 * sysdeps/sparc/ldsodefs.h: Likewise.
32432 * sysdeps/x86_64/ldsodefs.h: Likewise.
32434 2012-07-25 Marek Polacek <polacek@redhat.com>
32437 * math/libm-test.inc (yn_test): Add another test.
32438 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32439 to ERANGE when the result is +-Inf.
32440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32441 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32443 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32445 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32447 * conform/data/time.h-data (NULL): Use macro-constant. Require
32449 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32451 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32453 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32455 * configure.in <sysdeps resolving>: Correct printing
32457 * configure: Regenerate.
32459 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32461 * math/w_ilogb.c: Include <limits.h>.
32462 * math/w_ilogbl.c: Likewise.
32464 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32466 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32467 va_copy. Document allowing for unavailable va_copy only as
32468 pre-C99 compatibility.
32469 * manual/string.texi (Copying and Concatenation): Use va_copy
32470 instead of __va_copy in concat example.
32472 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32474 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32475 (__sendto): Use create_address_port. Initialize APORT and deallocate
32478 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32479 with O_NOLINK passed to __file_name_lookup.
32481 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32482 with O_NOLINK passed to __file_name_lookup.
32484 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32485 negative N or less than NGIDS.
32487 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32488 type to string_t. Set ERANGE as errno and return it if NAME is not big
32489 enough. Use memcpy instead of strncpy.
32491 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32493 * elf/Makefile (check-data): Remove.
32494 (localplt.data): New vpath directive.
32495 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32496 instead of $(check-data).
32497 * scripts/data/localplt-generic.data: Move to ...
32498 * sysdeps/generic/localplt.data: ... here.
32499 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32500 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32501 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32504 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32507 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32510 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32513 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32516 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32520 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32522 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32523 PPC32 and PPC64 files.
32524 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32525 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32527 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32529 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32530 __makecontext_ret to ...
32531 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32532 ... here and call exit if uc_link is NULL. New file.
32533 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32534 __makecontext_ret.S.
32535 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32536 __makecontext_ret to ...
32537 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32538 ... here and call exit if uc_link is NULL. New file.
32539 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32540 __makecontext_ret.S.
32542 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32544 * elf/elf.h (R_390_IRELATIVE): New definition.
32545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32546 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32547 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32549 (elf_machine_lazy_rel): Likewise.
32550 * sysdeps/s390/dl-irel.h: New file.
32551 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32552 * sysdeps/s390/s390-64/memset.S: New asm code.
32553 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32554 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32556 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32557 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32558 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32559 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32560 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32561 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32562 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32563 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32564 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32565 * sysdeps/s390/s390-32/memset.S: New asm code.
32566 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32568 2012-07-17 Marek Polacek <polacek@redhat.com>
32571 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32572 * sysdeps/s390/s390-64/configure.in: Likewise.
32573 * sysdeps/sparc/configure.in: Likewise.
32574 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32575 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32576 * sysdeps/i386/configure.in: Likewise.
32577 * sysdeps/x86_64/configure.in: Likewise.
32578 * sysdeps/sh/configure.in: Likewise.
32579 * sysdeps/s390/s390-32/configure: Regenerated.
32580 * sysdeps/s390/s390-64/configure: Likewise.
32581 * sysdeps/x86_64/configure: Likewise.
32582 * sysdeps/sh/configure: Likewise.
32583 * sysdeps/powerpc/powerpc64/configure: Likewise.
32584 * sysdeps/powerpc/powerpc32/configure: Likewise.
32585 * sysdeps/sparc/configure: Likwise.
32586 * sysdeps/i386/configure: Likewise.
32588 * elf/dl-open.c: Comment fixes.
32590 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32592 * Makefile [CXX] (check-data): Remove.
32593 [CXX] (c++-types.data): New vpath directive.
32594 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32595 vpath. Do not allow for C++ type data being missing.
32596 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32597 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32598 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32599 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32600 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32601 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32602 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32605 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32608 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32611 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32614 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32617 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32620 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32623 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32626 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32627 definitions to architecture-specific files.
32628 (TLS_IE): Likewise.
32629 (TLS_LD): Likewise.
32630 (TLS_GD): Likewise.
32631 * sysdeps/i386/tls-macros.h: New file.
32632 * sysdeps/powerpc/tls-macros.h: Likewise.
32633 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32634 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32635 * sysdeps/sh/tls-macros.h: Likewise.
32636 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32637 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32638 * sysdeps/x86_64/tls-macros.h: Likewise.
32640 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32643 zero value for regular exit case.
32645 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32646 (__start_context): Preserve zero value for regular exit case.
32648 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32649 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32651 * manual/setjmp.texi (setcontext): Clarify normal process
32652 termination when uc_link is the null pointer.
32653 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32656 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32658 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32659 preprocessor. Test for each exception mask separately.
32661 2012-07-16 Andreas Jaeger <aj@suse.de>
32663 * po/ru.po: Update from translation team.
32665 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32667 * conform/data/string.h-data (NULL): Use macro-constant. Require
32669 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32671 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32672 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32675 2012-07-13 Andreas Jaeger <aj@suse.de>
32677 * po/fr.po: Update from translation team.
32679 2012-07-12 Marek Polacek <polacek@redhat.com>
32682 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32683 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32686 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32690 Change to 2.4.1 where previously 2.4.0.
32691 * sysdeps/unix/sysv/linux/configure: Regenerated.
32692 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32693 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32695 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32696 (__ASSUME_AT_CLKTCK): Remove.
32697 (__ASSUME_AT_PAGESIZE): Likewise.
32698 (__ASSUME_AT_XID): Likewise.
32699 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32700 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32701 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32703 (HAVE_AUX_PAGESIZE): Likewise.
32704 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32705 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32706 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32708 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32712 the temporary buffer used to invoke __gethostbyname2_r,
32713 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32714 host_data / struct gaih_addrtuple.
32715 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32716 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32717 header file nss/nsswitch.h.
32718 * nss/nsswitch.h (global scope): Add definition of implementation
32719 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32720 resolv/nss_dns/dns-host.c).
32722 2012-07-11 Andreas Jaeger <aj@suse.de>
32724 * po/fr.po: Update from translation team.
32726 * po/sv.po: Update from translation team
32727 * po/fr.po: Another update from translation team.
32729 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32732 for subnormals or multiply small sinh result by itself.
32733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32736 2012-07-11 David S. Miller <davem@davemloft.net>
32738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32740 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32743 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32744 (INTERNAL_MARK): Shift it here.
32746 2012-07-10 Marek Polacek <polacek@redhat.com>
32749 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32750 libc_cv_asm_global_directive with .globl.
32751 * configure: Regenerated.
32752 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32754 * sysdeps/i386/configure: Regenerated.
32755 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32757 * sysdeps/x86_64/configure: Regenerated.
32758 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32759 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32760 * elf/tst-unique2mod2.c: Likewise.
32761 * elf/tst-unique2mod1.c: Likewise.
32762 * elf/tst-unique1mod2.c: Likewise.
32763 * elf/tst-unique1mod1.c: Likewise.
32764 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32765 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32767 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32768 * sysdeps/mach/sysdep.h: Likewise.
32769 * sysdeps/i386/sysdep.h: Likewise.
32770 * sysdeps/i386/i386-mcount.S: Likewise.
32771 * sysdeps/x86_64/_mcount.S: Likewise.
32772 * sysdeps/x86_64/sysdep.h: Likewise.
32773 * sysdeps/sh/_mcount.S: Likewise.
32774 * sysdeps/sh/sysdep.h: Likewise.
32775 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32776 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32777 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32778 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32779 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32780 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32781 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32782 * locale/localeinfo.h: Likewise.
32783 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32784 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32786 2012-07-09 Roland McGrath <roland@hack.frob.com>
32789 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32791 * manual/message.texi (The Uniforum approach): Likewise.
32792 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32793 (glibc iconv Implementation): Likewise.
32795 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32798 * math/s_clog.c (__clog): Avoid scaling a value down where that
32799 could result in underflow.
32800 * math/s_clog10.c (__clog10): Likewise.
32801 * math/s_clog10f.c (__clog10f): Likewise.
32802 * math/s_clog10l.c (__clog10l): Likewise.
32803 * math/s_clogf.c (__clogf): Likewise.
32804 * math/s_clogl.c (__clogl): Likewise.
32805 * math/libm-test.inc (clog_test): Add more tests.
32806 (clog10_test): Likewise.
32807 * sysdeps/i386/fpu/libm-test-ulps: Update.
32808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32810 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32813 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32814 by 7 not 8 to examine high bit of fractional part.
32817 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32818 for call to __mcount_internal.
32819 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32820 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32821 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32823 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32826 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32827 approximation for values within 0x1p-13f of an odd multiple of
32829 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32830 exception. Add more tests.
32831 * sysdeps/i386/fpu/libm-test-ulps: Update.
32834 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32835 inputs and return -1 for them. Do not check for +Inf in case not
32836 reachable for +Inf.
32837 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32838 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32840 and return -1 for them. Do not check for +Inf in case not
32841 reachable for +Inf.
32842 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32845 and return -1 for them. Do not check for +Inf in case not
32846 reachable for +Inf.
32847 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32848 spurious underflow.
32849 * sysdeps/i386/fpu/libm-test-ulps: Update.
32850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32852 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32854 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32856 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32860 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32861 could result in spurious underflow. Scale down values above
32862 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32863 * math/s_csqrtf.c (__csqrtf): Likewise.
32864 * math/s_csqrtl.c (__csqrtl): Likewise.
32865 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32866 spurious underflow.
32867 * sysdeps/i386/fpu/libm-test-ulps: Update.
32868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32872 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32874 * catgets/xopen-msg.awk: New file.
32875 * catgets/xopen-msg.sed: Removed.
32877 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32879 * intl/po2test.awk: New file.
32880 * intl/po2test.sed: Removed.
32882 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32885 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32886 or multiply small sinh result by itself.
32887 * math/s_ctanf.c (__ctanf): Likewise.
32888 * math/s_ctanh.c (__ctanh): Likewise.
32889 * math/s_ctanhf.c (__ctanhf): Likewise.
32890 * math/s_ctanhl.c (__ctanhl): Likewise.
32891 * math/s_ctanl.c (__ctanl): Likewise.
32892 * math/libm-test.inc (ctan_test_tonearest): New function.
32893 (ctan_test_towardzero): Likewise.
32894 (ctan_test_downward): Likewise.
32895 (ctan_test_upward): Likewise.
32896 (ctanh_test_tonearest): Likewise.
32897 (ctanh_test_towardzero): Likewise.
32898 (ctanh_test_downward): Likewise.
32899 (ctanh_test_upward): Likewise.
32900 (main): Call these new functions.
32901 * sysdeps/i386/fpu/libm-test-ulps: Update.
32902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32904 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32906 * .gitignore: Delete /ports entry.
32908 2012-07-03 Andreas Jaeger <aj@suse.de>
32910 * po/bg.po: Update from translation team.
32911 * po/cs.po: Likewise.
32912 * po/de.po: Likewise.
32913 * po/hr.po: Likewise.
32914 * po/nl.pl: Likewise.
32915 * po/pl.po: Likewise.
32916 * po/vi.po: Likewise.
32918 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32920 * Makeconfig [!+link] (+link-before-libc): New variable.
32921 [!+link] (+link-after-libc): Likewise.
32922 [!+link] (+link-tests): Likewise.
32923 [!+link] (+link): Define in terms of $(+link-before-libc) and
32924 $(+link-after-libc).
32925 [!+link-static] (+link-static-before-libc): New variable.
32926 [!+link-static] (+link-static-after-libc): Likewise.
32927 [!+link-static] (+link-static-tests): Likewise.
32928 [!+link-static] (+link-static): Define in terms of
32929 $(+link-static-before-libc) and $(+link-static-after-libc).
32930 [build-shared] (link-libc-before-gnulib): New variable.
32931 [build-shared] (link-libc-tests): Likewise.
32932 [build-shared] (link-libc): Define in terms of
32933 $(link-libc-before-gnulib).
32934 [!build-shared] (link-libc-tests): New variable.
32935 (link-libc-static-tests): New variable.
32936 [!gnulib] (gnulib-arch): New variable.
32937 [!gnulib] (gnulib-tests): Likewise.
32938 [!gnulib] (static-gnulib-arch): Likewise.
32939 [!gnulib] (static-gnulib-tests): Likewise.
32940 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32941 Define with "=" instead of ":=".
32942 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32943 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32944 * Rules (binaries-all-notests): New variable.
32945 (binaries-all-tests): Likewise.
32946 (binaries-static-notests): Likewise.
32947 (binaries-static-tests): Likewise.
32948 (binaries-all): Define using $(binaries-all-notests) and
32949 $(binaries-all-tests).
32950 (binaries-static): Define using $(binaries-static-notests) and
32951 $(binaries-static-tests).
32952 (binaries-shared-tests): New variable.
32953 (binaries-shared-notests): Likewise.
32954 (binaries-shared): Remove variable.
32955 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32956 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32957 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32958 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32959 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32960 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32961 * elf/Makefile (sln-modules): New variable.
32962 (extra-objs): Add $(sln-modules:=.o).
32963 (ldconfig-modules): Add static-stubs.
32964 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32965 * elf/static-stubs.c: New file.
32968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32969 by 7 not 8 to examine high bit of fractional part. Use volatile
32970 variables when splitting into final array of floats if
32971 __FLT_EVAL_METHOD__ != 0.
32972 * math/libm-test.inc (cos_test): Add another test.
32973 (sin_test): Likewise.
32974 * sysdeps/i386/fpu/libm-test-ulps: Update.
32977 * math/libm-test.inc (cosh_test): Add more tests.
32979 * version.h (RELEASE): Set to "development".
32980 (VERSION): Set to "2.16.90".
32982 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32984 * NEWS: Update copyright. Remove last-updated date.
32985 Mention math library bug fixes and timezone data changes.
32986 * README: Mention GNU/Hurd, x32, and HPPA support status.
32988 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32990 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32992 2012-06-27 Andreas Jaeger <aj@suse.de>
32994 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32996 2012-06-25 Andreas Jaeger <aj@suse.de>
32998 * sysdeps/s390/fpu/libm-test-ulps: Update.
33000 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33001 Thomas Schwinge <thomas@codesourcery.com>
33003 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33004 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33008 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33010 * sysdeps/mach/start.c: Remove file.
33011 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33012 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33013 * sysdeps/sh/init-first.c: Likewise.
33015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33016 registers for frame unwinding purposes, add CFI directives.
33017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33018 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33019 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33022 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33023 __fortify_fail returning.
33024 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33026 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33027 sysdeps/sh/____longjmp_chk.S.
33028 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33029 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33030 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33031 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33033 * sysdeps/sh/abort-instr.h: New file.
33034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33035 process in case exit returns.
33037 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33038 initialize the GOT register before use.
33040 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33041 calculation of ARGC > 4.
33043 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33044 meaningful names to some local labels.
33046 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33047 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33049 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33050 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33051 (__arch_compare_and_exchange_val_16_acq): Likewise.
33052 (__arch_compare_and_exchange_val_32_acq): Likewise.
33053 (atomic_exchange_and_add): Fix gUSA sequence.
33054 (atomic_add): Likewise.
33055 (atomic_add_negative): Likewise.
33056 (atomic_add_zero): Likewise.
33057 (atomic_bit_test_set): Likewise.
33059 2012-06-22 Andreas Schwab <schwab@redhat.com>
33062 * include/link.h (struct link_map): Add l_free_initfini.
33063 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33065 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33066 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33067 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33070 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33072 * configure.in: Use AC_LANG_SOURCE.
33073 * configure: Regenerate.
33075 2012-06-22 Roland McGrath <roland@hack.frob.com>
33077 * configure.in (libc_cv_localstatedir): New substituted variable.
33078 * configure: Regenerated.
33079 * config.make.in (localstatedir): New variable, substituted from
33080 libc_cv_localstatedir.
33081 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33082 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33083 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33084 * sysdeps/gnu/configure: Regenerated.
33086 2012-06-21 Jeff Law <law@redhat.com>
33089 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33090 free. Simplify list management for _LIBC case.
33092 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33095 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33096 Clear sign bit of 64-bit integer value before comparing against
33099 * sysdeps/mach/configure: Regenerated.
33101 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33104 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33106 2012-06-21 Jeff Law <law@redhat.com>
33109 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33110 uint16_t for elements in the "seen" array to avoid char overflows.
33111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33112 * elf/dl-open.c (dl_open_worker): Likewise.
33114 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33116 * scripts/list-sources.sh: Scan PORTS for translations.
33117 * po/libc.pot: Regenerated.
33119 2012-06-21 Andreas Jaeger <aj@suse.de>
33122 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33124 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33125 * bits/byteswap-16.h (__bswap_16): Likewise.
33126 * bits/byteswap.h (__bswap_constant_16): Likewise.
33128 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33131 * sysdeps/i386/fpu_control.h: Removed.
33132 * sysdeps/x86_64/fpu_control.h: Moved to ...
33133 * sysdeps/x86/fpu_control.h: Here.
33135 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33136 (_FPU_SETCW): Likewise.
33138 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33142 * sysdeps/x86/fpu/bits/mathinline.h: This.
33143 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33147 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33148 functions if __x86_64__ is defined.
33150 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33152 * string/endian.h: Add !__ASSEMBLER__ condition for including
33153 conversion interfaces.
33155 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33159 of ABS(x) in calculating zero to negative powers other than odd
33161 * math/libm-test.inc (pow_test): Add more tests.
33163 2012-06-15 Andreas Jaeger <aj@suse.de>
33165 * manual/contrib.texi (Contributors): Update entry of Liubov
33166 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33169 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33171 * string/string.h: Add __wur to GNU version of strerror_r.
33173 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33176 * string/Makefile (tests): Add tst-strtok_r.
33177 * string/tst-strtok_r.c: New file.
33178 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33179 RAX_LP/RDX_LP on SAVE_PTR.
33181 2012-06-14 Roland McGrath <roland@hack.frob.com>
33183 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33185 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33187 * libm_test.inc (csqrt_test): Allow more spurious underflow
33189 (j0_test): Likewise.
33190 (j1_test): Likewise.
33191 (y0_test): Likewise.
33192 (y1_test): Likewise.
33194 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33196 * po/Makefile (libc.pot): Use UTF-8 charset.
33198 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33201 Suppress sign-conversion warning from FD_SET.
33202 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33203 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33204 not unsigned long int.
33205 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33207 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33211 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33212 __extern_always_inline instead of __extern_inline.
33213 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33214 (__signbit): Likewise.
33215 (__signbitl): Support C++ namespace.
33216 (lrintf): New inline function.
33218 (llrintf): Likewise.
33219 (llrint): Likewise.
33229 (floorf): Likewise.
33230 (nearbyint): Likewise.
33231 (nearbyintf): Likewise.
33233 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33236 non-default versions.
33238 2012-06-11 Roland McGrath <roland@hack.frob.com>
33241 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33243 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33245 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33246 (FE_UPWARD, FE_DOWNWARD): Don't define.
33247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33252 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33253 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33255 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33259 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33260 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33262 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33265 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33266 * sysdeps/i386/fpu/Implies: New file.
33267 * sysdeps/x86_64/fpu/Implies: Likewise.
33268 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33269 * sysdeps/x86/fpu/bits/fenv.h: This.
33271 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33274 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33277 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33278 character 0xffff that matches the last element of the
33281 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33286 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33289 values higher than 25.6283.
33291 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33294 subnormal exponent extraction and add some __builtin_expect.
33295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33296 Fix for subnormal mantissa calculation.
33298 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33300 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33301 cpu2 is -1 and errno is not ENOSYS.
33303 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33307 * sysdeps/x86/bits/string.h: This.
33308 * sysdeps/x86_64/bits/string.h: Removed.
33310 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33311 if not compiling for x86-64, but compiling for >= i486.
33313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33314 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33316 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33317 New macro from Linux kernel 3.4.0.
33318 (FP_XSTATE_MAGIC2): Likewise.
33319 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33320 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33321 (struct _fpx_sw_bytes): New struct.
33322 (struct _xsave_hdr): Likewise.
33323 (struct _ymmh_state): Likewise.
33324 (struct _xstate): Likewise.
33326 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33327 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33329 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33331 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33333 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33334 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33335 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33336 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33337 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33338 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33340 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33343 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33344 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33345 (sysdep_headers): Include sys/platform/ppc.h.
33346 * sysdeps/powerpc/test-gettimebase.c: Test for
33347 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33348 * manual/Makefile (appendices): Include platform.texi.
33349 * manual/contrib.texi (Contributors): Update @node pointers.
33350 * manual/maint.texi (Maintenance): Likewise.
33351 (Platform): New node.
33352 * manual/platform.texi: New file. Document the new features.
33354 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33355 Jakub Jelinek <jakub@redhat.com>
33358 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33359 where __builtin_expect is unavailable.
33361 2012-06-03 David S. Miller <davem@davemloft.net>
33363 * stdlib/longlong.h: Updated from GCC.
33365 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33368 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33369 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33372 (GLIBC_2.16): Likewise.
33374 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33376 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33378 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33381 (default-abi): New variable.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33383 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33387 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33392 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33393 definition. Document in comment.
33395 2012-06-01 David S. Miller <davem@davemloft.net>
33397 * stdlib/longlong.h: Updated from GCC.
33399 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33402 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33403 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33404 sys/debugreg.h sys/io.h here.
33405 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33406 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33408 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33409 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33410 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33411 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33412 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33413 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33416 Define only if __x86_64__ is defined.
33418 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33422 Use int64_t for variable i.
33423 * math/libm-test.inc (fmod_test): Add more tests.
33425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33426 z computation is not scheduled after fetestexcept.
33427 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33428 Use math_force_eval instead of asm to ensure calculation scheduled
33429 before exception test.
33430 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33431 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33433 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33436 computation is not scheduled after fetestexcept.
33438 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33441 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33442 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33444 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33446 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33447 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33449 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33452 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33454 (__WCHAR_MIN): Support __WORDSIZE == 64.
33455 (__WCHAR_MAX): Likewise.
33457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33462 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33465 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33468 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33472 Defined to 1 if __x86_64__ isn't defined.
33473 (_STAT_VER_LINUX_OLD): New.
33474 (st_atime): Remove duplicate.
33475 (st_mtime): Likewise.
33476 (st_ctime): Likewise.
33478 2012-05-31 David S. Miller <davem@davemloft.net>
33480 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33483 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33485 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33489 * elf/dl-reloc.c: Include <_itoa.h>.
33490 (_dl_reloc_bad_type): Remove use of INTUSE.
33491 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33492 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33493 * stdio-common/psiginfo.c (psiginfo): Likewise.
33494 * stdio-common/psignal.c (psignal): Likewise.
33495 * string/strsignal.c (strsignal): Likewise.
33496 * include/signal.h (_sys_siglist): Declare hidden proto.
33497 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33498 INTVARDEF with libc_hidden_data_def.
33499 * stdio-common/itoa-udigits.c: Likewise.
33500 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33501 (_itoa_lower_digits_internal): Remove declaration.
33502 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33503 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33504 (_sys_sigabbrev_internal): Remove aliases.
33505 (_sys_siglist): Define hidden alias.
33507 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33512 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33516 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33518 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33519 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33520 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33521 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33523 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33525 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33526 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33527 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33529 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33537 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33544 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33545 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33546 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33548 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33549 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33551 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33552 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33558 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33559 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33561 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33563 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33565 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33567 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33569 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33571 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33573 * math/math.h (M_El): Use two more decimal places.
33574 (M_LOG2El): Likewise.
33575 (M_LOG10El): Likewise.
33576 (M_LN2l): Likewise.
33577 (M_LN10l): Likewise.
33579 (M_PI_2l): Likewise.
33580 (M_PI_4l): Likewise.
33581 (M_1_PIl): Likewise.
33582 (M_2_PIl): Likewise.
33583 (M_2_SQRTPIl): Likewise.
33584 (M_SQRT2l): Likewise.
33585 (M_SQRT1_2l): Likewise.
33587 2012-05-31 David S. Miller <davem@davemloft.net>
33589 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33590 values between float registers.
33591 * sysdeps/sparc/sparc64/memset.S: Likewise.
33592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33594 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33596 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33597 -D_FORTIFY_SOURCE=1.
33598 (CPPFLAGS-tst-longjmp_chk.c): Define.
33599 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33600 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33601 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33602 CFLAGS-tst-wchar-h.c.
33604 2012-05-31 Marek Polacek <polacek@redhat.com>
33607 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33608 __endmntent_internal): Remove declaration.
33609 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33610 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33611 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33613 2012-05-30 David S. Miller <davem@davemloft.net>
33615 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33616 (___Q_simulate_exceptions): Use real FP ops rather than writing
33618 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33621 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33624 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33625 * sysdeps/x86/bits/xtitypes.h: This.
33627 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33628 * sysdeps/x86/bits/wordsize.h: This.
33630 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33631 * sysdeps/x86/bits/huge_vall.h: This.
33633 * sysdeps/i386/bits/select.h: Removed.
33634 * sysdeps/x86_64/bits/select.h: Renamed to ...
33635 * sysdeps/x86/bits/select.h: This.
33637 * sysdeps/i386/bits/setjmp.h: Removed.
33638 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33639 * sysdeps/x86/bits/setjmp.h: This.
33641 * sysdeps/i386/bits/mathdef.h: Removed.
33642 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33643 * sysdeps/x86/bits/mathdef.h: This.
33645 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33648 * include/sys/socket.h (__connect_internal)
33649 (__libc_sa_len_internal): Remove declaration.
33650 (__connect, __libc_sa_len): Declare hidden_proto.
33651 (SA_LEN): Remove use of INTUSE.
33652 * socket/connect.c: Add libc_hidden_def.
33653 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33654 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33655 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33657 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33658 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33659 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33660 of adding _internal alias.
33662 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33665 * sysdeps/i386/bits/link.h: Removed.
33666 * sysdeps/i386/bits/linkmap.h: Likewise.
33667 * sysdeps/x86_64/bits/link.h: Renamed to ...
33668 * sysdeps/x86/bits/link.h: This.
33669 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33670 * sysdeps/x86/bits/linkmap.h: This.
33672 * sysdeps/i386/bits/endian.h: Removed.
33673 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33674 * sysdeps/x86/bits/endian.h: This.
33676 * sysdeps/i386/bits/byteswap.h: Removed.
33677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33678 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33679 * sysdeps/x86/bits/byteswap.h: This.
33680 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33681 * sysdeps/x86/bits/byteswap-16.h: This.
33682 * sysdeps/i386/Implies: Add x86.
33683 * sysdeps/x86_64/Implies: Likewise.
33685 2012-05-30 David S. Miller <davem@davemloft.net>
33687 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33688 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33690 (FP_TRAPPING_EXCEPTIONS): Define.
33691 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33692 (FP_TRAPPING_EXCEPTIONS): Define.
33693 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33694 subnormals only when inexact has been signalled or underflow
33695 exceptions are enabled.
33696 (_FP_PACK_CANONICAL): Likewise.
33698 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33702 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33704 2012-05-30 Richard Henderson <rth@twiddle.net>
33706 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33707 with #ifndef NOT_IN_libc.
33709 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33710 marked to avoid plt entry.
33712 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33715 * Makeconfig (default-abi): New macro.
33716 (abi-includes): Likewise.
33717 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33718 $(abi-$(default-abi)-lib-soname) for soname if defined.
33719 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33721 * Makefile (installed-stubs): Likewise.
33722 * include/stubs-biarch.h: Removed.
33723 * scripts/lib-names.awk: Only handle one library at a time.
33724 * scripts/soversions.awk: Remove WORDSIZE support.
33725 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33729 (syscall-list-default-condition): Likewise.
33730 (syscall-list-default-condition): Likewise.
33731 (syscall-list-includes): Likewise.
33732 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33733 syscall-list-* with abi-*. Handle undefined abi-variants.
33734 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33735 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33736 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33737 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33738 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33739 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33741 (syscall-list-32-options): Likewise.
33742 (syscall-list-32-condition): Likewise.
33743 (syscall-list-64-options): Likewise.
33744 (syscall-list-64-condition): Likewise.
33745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33747 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33750 (abi-64-ld-soname): New macro.
33751 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33752 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33755 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33756 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33758 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33760 * sysdeps/unix/sysv/linux/kernel-features.h
33761 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33762 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33763 include <kernel-features.h>.
33764 [!__NR_ftruncate64]: Remove conditional code.
33765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33766 [__NR_ftruncate64]: Make code unconditional.
33767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33768 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33769 include <kernel-features.h>.
33770 [!__NR_ftruncate64]: Remove conditional code.
33771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33772 [__NR_ftruncate64]: Make code unconditional.
33773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33775 include <kernel-features.h>.
33776 [!__NR_ftruncate64]: Remove conditional code.
33777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33778 [__NR_ftruncate64]: Make code unconditional.
33779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33781 include <kernel-features.h>.
33782 [!__NR_ftruncate64]: Remove conditional code.
33783 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33784 [__NR_ftruncate64]: Make code unconditional.
33785 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33787 * configure.in (libc_cv_fpie): Weaken to a compile test using
33788 LIBC_TRY_CC_OPTION.
33789 * configure: Regenerated.
33791 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33806 2012-05-27 David S. Miller <davem@davemloft.net>
33808 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33810 (__Q_simulate_exceptions): Return void. Change to simulate
33811 exceptions by writing into the %fsr.
33812 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33813 (__Qp_handle_exceptions): Likewise.
33815 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33816 __Qp_handle_exceptions.
33817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33818 __Qp_handle_exceptions.
33819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33820 as unused and give dummy FP_RND_NEAREST initializer.
33821 (FP_INHIBIT_RESULTS): Define.
33822 (___Q_simulate_exceptions): Update declaration.
33823 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33825 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33826 as unused and give dummy FP_RND_NEAREST initializer.
33827 (__Qp_handle_exceptions): Update declaration.
33828 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33831 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33833 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33834 the temporary FPU control word.
33835 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33836 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33837 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33839 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33841 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33842 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33843 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33844 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33845 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33847 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33849 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33852 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33854 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33855 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33856 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33857 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33859 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33860 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33863 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33865 * po/h.po: Update from translation team.
33867 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33869 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33871 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33872 handling of denormals.
33873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33874 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33875 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33882 2012-05-26 Marek Polacek <polacek@redhat.com>
33885 * math/libm-test.inc (fma_test): Don't always expect underflow
33888 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33891 * elf/tst-execstack.c: Include stackinfo.h.
33892 (do_test): Adjust test case to ensure that pthread_getattr_np
33893 behaviour remains the same after marking stack executable.
33895 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33897 * sysdeps/unix/sysv/linux/kernel-features.h
33898 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33899 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33901 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33902 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33903 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33905 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33906 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33908 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33910 * configure.in: Define the default includes to being none.
33911 * configure: Regenerated.
33913 2012-05-25 Roland McGrath <roland@hack.frob.com>
33915 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33916 * sysdeps/x86_64/setjmp.S: Likewise.
33917 * sysdeps/i386/bsd-setjmp.S: Likewise.
33918 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33919 * sysdeps/i386/setjmp.S: Likewise.
33920 * sysdeps/i386/__longjmp.S: Likewise.
33921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33922 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33924 * include/stap-probe.h: New file.
33925 * configure.in: Handle --enable-systemtap.
33926 * configure: Regenerated.
33927 * config.h.in (USE_STAP_PROBE): New #undef.
33928 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33929 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33930 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33932 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33936 to 2.4.0 where earlier.
33937 * sysdeps/unix/sysv/linux/configure: Regenerated.
33938 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33939 <kernel-features.h>.
33940 [__ASSUME_32BITUIDS]: Make code unconditional.
33941 [!__ASSUME_32BITUIDS]: Remove conditional code.
33942 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33943 <kernel-features.h>.
33944 [__ASSUME_32BITUIDS]: Make code unconditional.
33945 [!__ASSUME_32BITUIDS]: Remove conditional code.
33946 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33947 [__ASSUME_32BITUIDS]: Make code unconditional.
33948 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33949 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33950 <kernel-features.h>.
33951 [__ASSUME_32BITUIDS]: Make code unconditional.
33952 [!__ASSUME_32BITUIDS]: Remove conditional code.
33953 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33954 <kernel-features.h>.
33955 [__ASSUME_32BITUIDS]: Make code unconditional.
33956 [!__ASSUME_32BITUIDS]: Remove conditional code.
33957 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33958 <kernel-features.h>.
33959 [__ASSUME_32BITUIDS]: Make code unconditional.
33960 [!__ASSUME_32BITUIDS]: Remove conditional code.
33961 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33962 <kernel-features.h>.
33963 [__ASSUME_32BITUIDS]: Make code unconditional.
33964 [!__ASSUME_32BITUIDS]: Remove conditional code.
33965 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33966 <kernel-features.h>.
33967 [__ASSUME_32BITUIDS]: Make code unconditional.
33968 [!__ASSUME_32BITUIDS]: Remove conditional code.
33969 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33970 <kernel-features.h>.
33971 [__ASSUME_32BITUIDS]: Make code unconditional.
33972 [!__ASSUME_32BITUIDS]: Remove conditional code.
33973 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33974 <kernel-features.h>.
33975 [__ASSUME_32BITUIDS]: Make code unconditional.
33976 [!__ASSUME_32BITUIDS]: Remove conditional code.
33977 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33978 <kernel-features.h>.
33979 [__ASSUME_32BITUIDS]: Make code unconditional.
33980 [!__ASSUME_32BITUIDS]: Remove conditional code.
33981 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33982 <kernel-features.h>.
33983 [__ASSUME_32BITUIDS]: Make code unconditional.
33984 [!__ASSUME_32BITUIDS]: Remove conditional code.
33985 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33986 <kernel-features.h>.
33987 [__ASSUME_32BITUIDS]: Make code unconditional.
33988 [!__ASSUME_32BITUIDS]: Remove conditional code.
33989 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33990 <kernel-features.h>.
33991 [__NR_setresgid] (__setresgid): Do not declare.
33992 [__ASSUME_32BITUIDS]: Make code unconditional.
33993 [!__ASSUME_32BITUIDS]: Remove conditional code.
33994 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33995 <kernel-features.h>.
33996 [__NR_setresuid] (__setresuid): Do not declare.
33997 [__ASSUME_32BITUIDS]: Make code unconditional.
33998 [!__ASSUME_32BITUIDS]: Remove conditional code.
33999 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34000 <kernel-features.h>.
34001 [__ASSUME_32BITUIDS]: Make code unconditional.
34002 [!__ASSUME_32BITUIDS]: Remove conditional code.
34003 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34004 <kernel-features.h>.
34005 [__ASSUME_32BITUIDS]: Make code unconditional.
34006 [!__ASSUME_32BITUIDS]: Remove conditional code.
34007 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34008 <kernel-features.h>.
34009 [__ASSUME_32BITUIDS]: Make code unconditional.
34010 [!__ASSUME_32BITUIDS]: Remove conditional code.
34011 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34012 <kernel-features.h>.
34013 [__ASSUME_32BITUIDS]: Make code unconditional.
34014 [!__ASSUME_32BITUIDS]: Remove conditional code.
34015 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34016 <kernel-features.h>.
34017 [__ASSUME_32BITUIDS]: Make code unconditional.
34018 [!__ASSUME_32BITUIDS]: Remove conditional code.
34019 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34020 <kernel-features.h>.
34021 [__ASSUME_32BITUIDS]: Make code unconditional.
34022 [!__ASSUME_32BITUIDS]: Remove conditional code.
34023 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34024 <kernel-features.h>.
34025 [__ASSUME_32BITUIDS]: Make code unconditional.
34026 [!__ASSUME_32BITUIDS]: Remove conditional code.
34027 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34028 <kernel-features.h>.
34029 [__ASSUME_32BITUIDS]: Make code unconditional.
34030 [!__ASSUME_32BITUIDS]: Remove conditional code.
34031 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34032 <kernel-features.h>.
34033 [__ASSUME_32BITUIDS]: Make code unconditional.
34034 [!__ASSUME_32BITUIDS]: Remove conditional code.
34035 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34036 <kernel-features.h>.
34037 [__ASSUME_32BITUIDS]: Make code unconditional.
34038 [!__ASSUME_32BITUIDS]: Remove conditional code.
34039 * sysdeps/unix/sysv/linux/kernel-features.h
34040 (__ASSUME_SETRESUID_SYSCALL): Remove.
34041 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34042 (__ASSUME_32BITUIDS): Likewise.
34043 (__ASSUME_LDT_WORKS): Likewise.
34044 (__ASSUME_O_DIRECTORY): Likewise.
34045 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34046 architecture but not kernel version.
34047 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34048 (__ASSUME_MMAP2_SYSCALL): Likewise.
34049 (__ASSUME_STAT64_SYSCALL): Likewise.
34050 (__ASSUME_IPC64): Likewise.
34051 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34052 <kernel-features.h>.
34053 [__ASSUME_32BITUIDS]: Make code unconditional.
34054 [!__ASSUME_32BITUIDS]: Remove conditional code.
34055 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34056 <kernel-features.h>.
34057 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34058 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34059 132096]: Remove conditional code.
34060 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34062 <kernel-features.h>.
34063 [__ASSUME_32BITUIDS]: Make code unconditional.
34064 [!__ASSUME_32BITUIDS]: Remove conditional code.
34065 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34066 <kernel-features.h>.
34067 [__ASSUME_32BITUIDS]: Make code unconditional.
34068 [!__ASSUME_32BITUIDS]: Remove conditional code.
34069 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34070 <kernel-features.h>.
34071 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34073 (__setresgid): Do not declare.
34074 [__ASSUME_32BITUIDS]: Make code unconditional.
34075 [!__ASSUME_32BITUIDS]: Remove conditional code.
34076 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34077 <kernel-features.h>.
34078 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34080 (__setresuid): Do not declare.
34081 [__ASSUME_32BITUIDS]: Make code unconditional.
34082 [!__ASSUME_32BITUIDS]: Remove conditional code.
34083 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34084 <kernel-features.h>.
34085 [__ASSUME_32BITUIDS]: Make code unconditional.
34086 [!__ASSUME_32BITUIDS]: Remove conditional code.
34087 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34088 <kernel-features.h>.
34089 [__ASSUME_32BITUIDS]: Make code unconditional.
34090 [!__ASSUME_32BITUIDS]: Remove conditional code.
34092 2012-05-25 Richard Henderson <rth@twiddle.net>
34094 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34095 dl_hwcap to ifunc resolver.
34096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34099 dl_hwcap to ifunc resolver.
34100 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34102 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34105 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34106 for |x| <= 2**-26, not 2**-57.
34107 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34110 2012-05-24 Jeff Law <law@redhat.com>
34112 * stdio-common/Makefile (tests): Add bug25.
34113 * stdio-common/bug25.c: New test.
34115 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34118 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34119 multiple of MALLOC_ALIGNMENT in size.
34120 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34122 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34124 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34126 (FILENAME_MAX): Use macro-int-constant.
34127 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34128 (_IOFBF): Use macro-int-constant.
34129 (_IOLBF): Likewise.
34130 (_IONBF): Likewise.
34131 (SEEK_CUR): Likewise.
34132 (SEEK_END): Likewise.
34133 (SEEK_SET): Likewise.
34134 (TMP_MAX): Likewise.
34135 (EOF): Use macro-int-constant. Require < 0.
34136 (NULL): Use macro-constant. Require == 0.
34137 (stdin): Require type to be FILE *.
34138 (stdout): Likewise.
34139 (stderr): Likewise.
34140 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34141 macro-int-constant.
34142 (EXIT_SUCCESS): Likewise.
34143 (NULL): Use macro-constant. Require == 0.
34144 (RAND_MAX): Use macro-int-constant.
34145 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34146 [C99-based standards] (strtof): Require function.
34147 [C99-based standards] (strtold): Likewise.
34148 [C99-based standards] (strtoll): Likewise.
34149 [C99-based standards] (strtoull): Likewise.
34150 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34151 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34152 [ISO || ISO99 || ISO11] (math.h): Likewise.
34153 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34154 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34157 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34160 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34161 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34162 * intl/dgettext.c (DCGETTEXT): Likewise.
34163 * intl/gettext.c (DCGETTEXT): Likewise.
34164 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34165 * posix/regex_internal.h (gettext): Likewise.
34166 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34167 Remove declaration.
34168 * include/argz.h (__argz_count_internal)
34169 (__argz_stringify_internal): Remove declaration.
34170 (__argz_count, __argz_stringify): Declare hidden proto.
34171 * intl/dcgettext.c: Remove use of INTDEF.
34172 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34173 * string/argz-stringify.c: Likewise.
34174 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34175 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34176 Declare hidden proto.
34177 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34178 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34179 Declare hidden proto.
34180 * include/stdio.h (__asprintf_internal): Don't declare.
34181 (__asprintf): Don't define as macro. Declare hidden proto.
34182 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34183 (__fsetlocking): Declare hidden proto.
34184 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34185 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34187 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34188 (_IO_setlinebuf): Remove use of INTUSE.
34189 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34190 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34191 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34192 Remove declaration.
34193 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34194 (_IO_do_flush): Remove use of INTUSE.
34195 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34196 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34197 (_IO_adjust_column, _IO_least_wmarker)
34198 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34199 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34200 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34201 (_IO_default_doallocate, _IO_wdefault_doallocate)
34202 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34203 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34204 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34205 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34206 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34207 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34208 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34209 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34210 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34211 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34212 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34213 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34214 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34216 (_IO_flush_all_internal, _IO_adjust_column_internal)
34217 (_IO_default_uflow_internal, _IO_default_finish_internal)
34218 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34219 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34220 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34221 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34222 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34223 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34224 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34225 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34226 (_IO_file_close_internal, _IO_file_close_it_internal)
34227 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34228 (_IO_file_init_internal, _IO_file_attach_internal)
34229 (_IO_file_fopen_internal, _IO_file_read_internal)
34230 (_IO_file_sync_internal, _IO_file_seek_internal)
34231 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34232 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34233 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34234 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34235 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34236 (_IO_list_all_internal, _IO_link_in_internal)
34237 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34238 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34239 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34240 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34241 (_IO_do_write_internal, _IO_padn_internal)
34242 (_IO_getline_info_internal, _IO_getline_internal)
34243 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34244 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34245 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34246 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34247 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34248 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34249 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34250 with libc_hidden_ver, remove use of INTUSE.
34251 * libio/genops.c: Likewise.
34252 * libio/freopen.c: Likewise.
34253 * libio/freopen64.c: Likewise.
34254 * libio/iofclose.c: Likewise.
34255 * libio/iofdopen.c: Likewise.
34256 * libio/iofflush.c: Likewise.
34257 * libio/iofflush_u.c: Likewise.
34258 * libio/iofgets.c: Likewise.
34259 * libio/iofgets_u.c: Likewise.
34260 * libio/iofopen.c: Likewise.
34261 * libio/iofopncook.c: Likewise.
34262 * libio/iofread.c: Likewise.
34263 * libio/iofread_u.c: Likewise.
34264 * libio/ioftell.c: Likewise.
34265 * libio/iofwrite.c: Likewise.
34266 * libio/iogetline.c: Likewise.
34267 * libio/iogets.c: Likewise.
34268 * libio/iogetwline.c: Likewise.
34269 * libio/iopadn.c: Likewise.
34270 * libio/iopopen.c: Likewise.
34271 * libio/ioseekoff.c: Likewise.
34272 * libio/ioseekpos.c: Likewise.
34273 * libio/iosetbuffer.c: Likewise.
34274 * libio/iosetvbuf.c: Likewise.
34275 * libio/ioungetc.c: Likewise.
34276 * libio/ioungetwc.c: Likewise.
34277 * libio/iovdprintf.c: Likewise.
34278 * libio/iovsprintf.c: Likewise.
34279 * libio/iovsscanf.c: Likewise.
34280 * libio/memstream.c: Likewise.
34281 * libio/obprintf.c: Likewise.
34282 * libio/oldfileops.c: Likewise.
34283 * libio/oldiofclose.c: Likewise.
34284 * libio/oldiofdopen.c: Likewise.
34285 * libio/oldiofopen.c: Likewise.
34286 * libio/oldiopopen.c: Likewise.
34287 * libio/oldstdfiles.c: Likewise.
34288 * libio/putc.c: Likewise.
34289 * libio/setbuf.c: Likewise.
34290 * libio/setlinebuf.c: Likewise.
34291 * libio/stdfiles.c: Likewise.
34292 * libio/strops.c: Likewise.
34293 * libio/vasprintf.c: Likewise.
34294 * libio/vscanf.c: Likewise.
34295 * libio/vsnprintf.c: Likewise.
34296 * libio/vswprintf.c: Likewise.
34297 * libio/wfiledoalloc.c: Likewise.
34298 * libio/wfileops.c: Likewise.
34299 * libio/wgenops.c: Likewise.
34300 * libio/wmemstream.c: Likewise.
34301 * libio/wstrops.c: Likewise.
34302 * libio/__fpurge.c: Likewise.
34303 * libio/__fsetlocking.c: Likewise.
34304 * assert/assert.c: Likewise.
34305 * debug/fgets_chk.c: Likewise.
34306 * debug/fgets_u_chk.c: Likewise.
34307 * debug/fread_chk.c: Likewise.
34308 * debug/fread_u_chk.c: Likewise.
34309 * debug/gets_chk.c: Likewise.
34310 * debug/obprintf_chk.c: Likewise.
34311 * debug/vasprintf_chk.c: Likewise.
34312 * debug/vdprintf_chk.c: Likewise.
34313 * debug/vsnprintf_chk.c: Likewise.
34314 * debug/vsprintf_chk.c: Likewise.
34315 * malloc/mtrace.c: Likewise.
34316 * misc/error.c: Likewise.
34317 * misc/syslog.c: Likewise.
34318 * stdio-common/asprintf.c: Likewise.
34319 * stdio-common/fxprintf.c: Likewise.
34320 * stdio-common/getw.c: Likewise.
34321 * stdio-common/isoc99_fscanf.c: Likewise.
34322 * stdio-common/isoc99_scanf.c: Likewise.
34323 * stdio-common/isoc99_vfscanf.c: Likewise.
34324 * stdio-common/isoc99_vscanf.c: Likewise.
34325 * stdio-common/isoc99_vsscanf.c: Likewise.
34326 * stdio-common/printf-prs.c: Likewise.
34327 * stdio-common/printf_fp.c: Likewise.
34328 * stdio-common/printf_fphex.c: Likewise.
34329 * stdio-common/printf_size.c: Likewise.
34330 * stdio-common/putw.c: Likewise.
34331 * stdio-common/scanf.c: Likewise.
34332 * stdio-common/sprintf.c: Likewise.
34333 * stdio-common/tmpfile.c: Likewise.
34334 * stdio-common/vfprintf.c: Likewise.
34335 * stdio-common/vfscanf.c: Likewise.
34336 * stdlib/strfmon_l.c: Likewise.
34337 * sunrpc/openchild.c: Likewise.
34338 * sunrpc/xdr_stdio.c: Likewise.
34339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34340 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34342 2012-05-24 Roland McGrath <roland@hack.frob.com>
34344 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34346 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34347 in the third column, to generate for the shared library an IFUNC
34348 that uses _dl_vdso_vsym.
34349 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34350 * Makeconfig (object-suffixes-noshared): New variable.
34352 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34353 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34354 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34355 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34358 * include/sys/time.h (__gettimeofday): Remove macro.
34359 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34360 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34362 (__gettimeofday): Add libc_hidden_def.
34363 (gettimeofday): Add libc_hidden_weak.
34364 * sysdeps/mach/gettimeofday.c: Likewise.
34365 * sysdeps/posix/gettimeofday.c: Likewise.
34366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34367 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34369 (__gettimeofday_internal): Remove strong_alias.
34370 (__gettimeofday): Add libc_hidden_def.
34371 (gettimeofday): Add libc_hidden_weak.
34372 * sysdeps/unix/syscalls.list (gettimeofday):
34373 Remove __gettimeofday_internal alias.
34375 2012-05-24 Daniel Jacobowitz <drow@false.org>
34376 H.J. Lu <hongjiu.lu@intel.com>
34379 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34380 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34381 (largebin_index_32_big): New.
34382 (largebin_index): Use it for 16-byte alignment.
34383 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34384 correction with front_misalign.
34386 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34414 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34415 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34417 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34421 * math/libm-test.inc (exp_test): Add test from bug 14036.
34422 (pow_test): Add test from bug 10846.
34424 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34426 (special_function): Do not include flags in test name.
34427 (parse_args): Likewise.
34428 * sysdeps/i386/fpu/libm-test-ulps: Update.
34429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34431 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34434 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34436 * math/libm-test.inc ("Philosophy"): Update comment about
34438 (UNDERFLOW_EXCEPTION): New macro.
34439 (UNDERFLOW_EXCEPTION_OK): Likewise.
34440 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34441 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34442 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34443 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34444 (INVALID_EXCEPTION_OK): Update value.
34445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34446 (OVERFLOW_EXCEPTION_OK): Likewise.
34447 (IGNORE_ZERO_INF_SIGN): Likewise.
34448 (test_exceptions): Handle underflow exceptions.
34449 (acos_test): Update for underflow exception expectations.
34450 (cexp_test): Likewise.
34451 (clog_test): Likewise.
34452 (clog10_test): Likewise.
34453 (csqrt_test): Likewise.
34454 (ctan_test): Likewise.
34455 (ctanh_test): Likewise.
34456 (exp_test): Likewise.
34457 (exp10_test): Likewise.
34458 (exp2_test): Likewise.
34459 (expm1_test): Likewise.
34460 (fma_test): Likewise.
34461 (j0_test): Likewise.
34462 (jn_test): Likewise.
34463 (nexttoward_test): Likewise.
34464 (pow_test): Likewise.
34465 (scalbn_test): Likewise.
34466 (scalbln_test): Likewise.
34467 (tan_test): Likewise.
34468 (y1_test): Likewise.
34469 * sysdeps/i386/fpu/libm-test-ulps: Update.
34470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34472 2012-05-23 David S. Miller <davem@davemloft.net>
34474 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34475 (__libc_sigaction): Remove unused local variables.
34477 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34479 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34481 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34483 mktime: avoid signed integer overflow
34484 * time/mktime.c (__mktime_internal): Do not mishandle the case
34485 where diff == INT_MIN.
34487 mktime: simplify computation of average
34488 * time/mktime.c (ranged_convert): Use new time_t_avg function
34489 instead of rolling our own (probably-slower) code.
34491 mktime: do not assume signed right shift propagates sign bit
34492 * time/mktime.c (isdst_differ): New static function.
34493 (__mktime_internal): No need to normalize tm_isdst now.
34494 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34497 mktime: merge another wrapv change from gnulib
34498 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34499 from some compilers.
34501 mktime: remove incorrect attempt at unusual arithmetics
34502 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34503 The code didn't really work on such machines anyway.
34504 (TYPE_MINIMUM): Assume two's complement.
34505 (twos_complement_arithmetic): Verify that long_int and time_t
34506 are two's complement (or unsigned, in the latter case).
34508 mktime: check signed shifts on long_int and time_t, too
34509 * time/mktime.c (SHR): Check that shifts work as desired
34510 on the types long_int and time_t too, as SHR is used on
34513 mktime: do not assume 'long' is wide enough
34514 * time/mktime.c (verify): Move decl up.
34515 (long_int): New type.
34516 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34517 to remove assumption in the code that 'long' is wide enough to
34518 store year values. This assumption is not true on x32 and on
34519 some non-glibc platforms.
34521 mktime: merge wrapv change from gnulib
34522 * time/mktime.c (WRAPV): New macro.
34523 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34524 (guess_time_tm, __mktime_internal): Do not assume that signed
34525 integer overflow wraps around; modern compilers generate code
34526 where this assumption is no longer valid.
34528 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34530 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34531 Replace "jmp L(pseudo_end)" with "ret".
34532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34535 2012-05-23 Andreas Jaeger <aj@suse.de>
34537 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34538 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34540 2012-05-23 Andreas Jaeger <aj@suse.de>
34541 Maximilian Attems <max@stro.at>
34543 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34546 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34548 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34549 code so that pseudo_end is just ret and the stack pointer is
34550 correct also for static library in error case.
34552 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34554 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34555 move to syscalls.list.
34556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34561 * manual/install.texi (Running make install): Do not mention Linux
34562 kernel version for which pt_chown is not needed.
34563 (Linux): Do not mention problems with nscd with 2.0 kernels.
34564 * INSTALL: Regenerated.
34566 2012-05-23 Andreas Jaeger <aj@suse.de>
34568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34569 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34571 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34573 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34575 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34576 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34581 * sysdeps/unix/sysv/linux/bits/in.h
34582 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34584 2012-05-22 Roland McGrath <roland@hack.frob.com>
34586 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34587 (PREPARE_VERSION): Just use assert instead, it will be elided
34588 under [NDEBUG] anyway.
34590 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/unix/sysv/linux/Makefile: Include
34593 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34594 (sysdep_routines): Remove sysctl.
34595 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34596 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34599 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34601 2012-05-22 Andreas Jaeger <aj@suse.de>
34603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34604 that pseudo_end is just ret and the stack pointer is correct also
34605 for static library in error case.
34607 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34610 * nss/nsswitch.c (defconfig_entries): New variable.
34611 (__nss_database_lookup): Don't leak defconfig entries.
34612 (nss_parse_service_list): Don't leak on error paths.
34613 (free_database_entries): New function.
34614 (free_defconfig): New function.
34615 (free_mem): Move common code to free_database_entries.
34617 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34619 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34621 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34623 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34624 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34627 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34628 (INTERNAL_SYSCALL_TYPES): Likewise.
34629 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34630 (LOAD_REGS_TYPES_[1-6]): Likewise.
34631 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34632 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34634 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34637 copysignl for GLIBC_2_0.
34638 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34639 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34641 logbl for GLIBC_2_0.
34642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34643 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34648 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34650 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34653 * time/mktime.c: Update copyright years.
34655 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34657 mktime: merge comment-quoting-style change from gnulib
34658 * time/mktime.c: Quote 'like this' in comments.
34659 The GNU coding standards suggest that we no longer quote `like this',
34660 as "`" and "'" are typically rendered asymmetrically nowadays.
34661 The typical gnulib style is to quote 'like this' when quoting
34662 code, and "like this" when quoting English.
34664 * time/mktime.c (compile-command): Add "-I.".
34666 mktime: merge mktime-internal.h change from gnulib
34667 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34669 mktime: merge time_r change from gnulib
34670 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34672 mktime: merge DEBUG change from gnulib
34673 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34674 case system <time.h> has a #define.
34676 mktime: merge <sys/types.h> change from gnulib
34677 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34678 since <time.t> is now guaranteed to define time_t.
34680 mktime: merge HAVE_CONFIG_H change from gnulib
34681 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34683 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34688 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34690 (struct rusage): Use anonymous union to pad each field to
34693 2012-05-21 David S. Miller <davem@davemloft.net>
34695 * Makefules (o-iterator): Remove .s cases.
34696 (compile-command.s): Delete.
34697 (COMPILE.s): Delete.
34698 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34700 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34702 * configure.in (libc_cv_predef_stack_protector): Only consider
34703 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34704 * configure: Regenerated.
34706 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34709 New macro. Use R*LP on int and pointer.
34710 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34711 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34712 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34713 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34715 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34716 [__WORDSIZE_TIME64_COMPAT32] instead of
34717 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34718 (struct utmp): Likewise.
34719 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34720 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34722 (__WORDSIZE_TIME64_COMPAT32): This.
34723 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34724 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34725 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34726 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34727 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34728 (__WORDSIZE_TIME64_COMPAT32): New macro.
34730 2012-05-21 Andreas Jaeger <aj@suse.de>
34732 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34733 only if [SHARED]. Add prototype for __wcschr_ia32.
34735 2012-05-21 Roland McGrath <roland@hack.frob.com>
34737 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34738 of %rbp unmolested in the jmp_buf while mangling the low bits.
34739 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34740 unmolested high bits of %rbp while demangling the low bits.
34741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34743 2012-05-21 Andreas Jaeger <aj@suse.de>
34745 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34746 * sunrpc/svc_simple.c: Use it for registerrpc.
34747 * sunrpc/xcrypt.c: Use it for passwd2des.
34749 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34751 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34753 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34754 Don't define if [__SYSCALL_WORDSIZE != 32].
34755 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34758 2012-05-21 Bruno Haible <bruno@clisp.org>
34759 Andreas Jaeger <aj@suse.de>
34761 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34762 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34763 inptr and inend for must_buffer_ch.
34764 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34765 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34766 * stdio-common/Makefile (tests): Remove bug15.
34767 (bug15-ENV): Remove macro.
34768 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34771 2012-05-19 Andreas Jaeger <aj@suse.de>
34772 Roland McGrath <roland@hack.frob.com>
34774 * manual/contrib.texi: Completely rewritten. It contains now an
34775 alphabetical list of contributors and their contributions.
34777 2012-05-21 Richard Henderson <rth@twiddle.net>
34779 * misc/getauxval.c (__getauxval): Use unsigned long int.
34780 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34781 (getauxval): Use unsigned long int.
34783 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34785 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34787 2012-05-21 Roland McGrath <roland@hack.frob.com>
34789 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34790 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34791 __alignof__ (long double).
34793 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34797 2012-05-20 Richard Henderson <rth@twiddle.net>
34799 * misc/getauxval.c: New file.
34800 * misc/sys/auxv.h: New file.
34801 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34802 (routines): Add getauxval.
34803 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34804 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34805 * elf/dl-sysdep.c (_dl_auxv): Remove.
34806 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34807 * elf/dl-support.c (_dl_auxv): New variable.
34808 (_dl_aux_init): Initialize it.
34809 * manual/startup.texi (Auxiliary Vector): New node.
34810 * sysdeps/generic/bits/hwcap.h: New file.
34811 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34812 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34813 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34814 * sysdeps/sparc/sysdep.h: ... here. Include it.
34815 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34822 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34828 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34832 2012-05-19 David S. Miller <davem@davemloft.net>
34834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34836 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34839 * math/s_ccosh.c: Include <float.h>
34840 (__ccosh): Avoid internal overflow calculating sinh and cosh
34841 values before multiplying by sin and cos values.
34842 * math/s_ccoshf.c: Likewise.
34843 * math/s_ccoshl.c: Likewise.
34844 * math/s_csin.c: Likewise.
34845 * math/s_csinf.c: Likewise.
34846 * math/s_csinl.c: Likewise.
34847 * math/s_csinh.c: Likewise.
34848 * math/s_csinhf.c: Likewise.
34849 * math/s_csinhl.c: Likewise.
34850 * math/libm-test.inc (ccos_test): Add more tests.
34851 (ccosh_test): Likewise.
34852 (csin_test): Likewise.
34853 (csinh_test): Likewise.
34854 * sysdeps/i386/fpu/libm-test-ulps: Update.
34855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34857 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34859 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34860 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34862 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34864 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34866 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34867 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34868 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34869 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34870 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34871 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34872 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34873 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34874 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34875 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34876 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34877 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34878 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34879 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34880 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34881 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34882 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34883 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34884 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34885 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34886 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34887 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34888 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34889 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34890 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34891 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34892 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34893 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34894 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34895 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34896 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34898 2012-05-18 Andreas Jaeger <aj@suse.de>
34900 * csu/.gitignore: Delete.
34902 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34904 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34905 (timex): Use __syscall_slong_t.
34907 2012-05-18 Andreas Jaeger <aj@suse.de>
34908 Carlos O'Donell <carlos_odonell@mentor.com>
34910 * manual/install.texi (Configuring and compiling): Update
34911 description about files modified in the source directory.
34912 * INSTALL: Regenerated.
34914 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34916 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34917 value. Use "or" to set return value to -1.
34918 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34919 negate return value.
34921 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34923 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34924 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34925 failure if the compiler has Graphite support disabled.
34926 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34928 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34929 (CFLAGS-memmove.c): Likewise.
34930 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34933 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34935 * sysdeps/x86_64/x32/_itoa.h: New file.
34937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34938 getdents system call only if kernel and user dirents have the
34939 same d_ino and d_off.
34941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34942 LLONG_MAX != LONG_MAX.
34943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34944 (_fitoa_word): Likewise.
34946 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34950 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34953 include <bits/wordsize.h>. Check __x86_64__ instead of
34955 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34956 if __x86_64__ is defined. Use anonymous union on fpstate.
34958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34961 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34963 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34964 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34965 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34966 Refer to _rtld_local_ro instead of _rtld_global_ro.
34967 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34969 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34971 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34973 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34974 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34975 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34977 * sysdeps/powerpc/powerpc32/dl-machine.c
34978 (__elf_machine_runtime_setup) [PROF]: Don't reference
34981 2012-05-18 Andreas Jaeger <aj@suse.de>
34983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34984 function only available for GCCs before 3.4 since GCC 3.4
34985 introduced a builtin.
34987 (llrintf): Likewise.
34988 (llrint): Likewise.
34995 (nearbyint): Likewise.
34996 (nearbyintf): Likewise.
35000 (floorf): Likewise.
35002 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35004 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35005 on both fields and cast pointer to __syscall_ulong_t.
35007 * bits/types.h (__fsword_t): New type.
35008 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35009 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35011 (__FSWORD_T_TYPE): Likewise.
35012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35013 (__FSWORD_T_TYPE): Likewise.
35014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35015 (__FSWORD_T_TYPE): Likewise.
35016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35017 (__FSWORD_T_TYPE): Likewise.
35018 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35019 __SWORD_TYPE with __fsword_t.
35020 (statfs64): Likewise.
35022 2012-05-17 David S. Miller <davem@davemloft.net>
35024 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35026 2012-05-17 Andreas Jaeger <aj@suse.de>
35028 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35031 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35033 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35035 2012-05-17 Andreas Jaeger <aj@suse.de>
35037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35040 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35042 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35044 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35046 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35047 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35049 2012-05-17 Andreas Jaeger <aj@suse.de>
35050 Carlos O'Donell <carlos_odonell@mentor.com>
35053 * sysdeps/x86_64/multiarch/init-arch.h
35054 (bit_YMM_Usable): Rename to...
35055 (bit_AVX_Usable): ... this.
35056 (bit_FMA4_Usable): New macro.
35057 (bit_XMM_state): New macro.
35058 (bit_YMM_state): New macro.
35059 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35060 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35061 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35062 (CPUID_OSXSAVE): New macro.
35063 (CPUID_AVX): New macro.
35064 (CPUID_FMA4): New macro.
35065 (index_YMM_Usable): Rename to...
35066 (index_AVX_Usable): ... this.
35067 (HAS_AVX): Use HAS_ARCH_FEATURE.
35068 (HAS_FMA4): Likewise.
35069 (HAS_YMM_USABLE): Remove.
35070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35071 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35073 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35074 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35075 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35076 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35077 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35079 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35081 * math/libm-test.c: Support platforms without multiple rounding modes.
35082 * math/bug-nextafter.c: Support platforms without FP exceptions.
35083 * math/bug-nexttoward.c: Likewise.
35084 * math/test-fenv.c: Likewise.
35085 * math/test-misc.c: Likewise.
35086 * stdlib/bug-getcontext.c: Likewise.
35088 2012-05-17 Andreas Jaeger <aj@suse.de>
35090 * manual/examples/search.c (critter_cmp): Change signature to
35092 * manual/string.texi (Collation Functions): Likewise.
35094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35096 * bits/types.h: Fold copyright years.
35097 * bits/typesizes.h: Likewise.
35098 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35102 * time/time.h: Likewise.
35104 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35107 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35108 in instead of returning them. Return void.
35109 (__libc_mallinfo): Accumulate over all arenas.
35110 (__malloc_stats): Adjust for change in int_mallinfo interface.
35112 2012-05-16 Roland McGrath <roland@hack.frob.com>
35115 * configure.in (NM): Add AC_CHECK_TOOL for it.
35116 (libc_extra_cflags): New substituted variable.
35117 Check for -fstack-protector being used implicitly.
35118 * configure: Regenerated.
35119 * config.make.in (config-extra-cflags): New variable,
35120 gets @libc_extra_cflags@.
35121 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35124 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35125 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35126 * configure: Regenerated.
35127 * config.make.in (CPPUNDEFS): New substituted variable.
35128 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35129 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35130 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35134 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35135 (mq_attr): Use __syscall_slong_t.
35137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35140 Check __x86_64__ instead of __WORDSIZE.
35141 (_STAT_VER_LINUX): Likewise.
35142 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35143 __syscall_ulong_t and __syscall_slong_t.
35144 (stat64): Likewise.
35146 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35156 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35160 include <bits/wordsize.h>. Check __x86_64__ instead of
35162 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35164 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35167 include <bits/wordsize.h>. Check __x86_64__ instead of
35169 (user_regs_struct): Use "__extension__ unsigned long long"
35170 instead of "unsigned long" if __x86_64__ is defined.
35171 (user): Likewise. Pad after pointer field if __ILP32__ is
35174 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35176 * configure.in (makeinfo): Require version 4.5 or later. Allow
35178 * configure: Regenerated.
35179 * manual/install.texi (texinfo): Increase version requirement to
35181 * INSTALL: Regenerated.
35183 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35185 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35187 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35189 * sysdeps/x86_64/x32/ffs.c: New file.
35191 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35193 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35194 defined. Use __syscall_ulong_t.
35195 (shminfo): Use __syscall_ulong_t.
35196 (shm_info): Likewise.
35198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35201 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35203 (msgqnum_t): Use __syscall_ulong_t.
35204 (msglen_t): Likewise.
35205 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35208 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35209 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35211 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35213 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35214 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35216 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35220 include <bits/wordsize.h>. Check __x86_64__ instead of
35223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35224 "unsigned long long int" if __x86_64__ is defined.
35225 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35228 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35229 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35231 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35233 (GET_PC): Cast to uintptr_t first.
35234 (GET_FRAME): Likewise.
35235 (GET_STACK): Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35243 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35252 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35254 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35267 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35269 * Makerules (+depfiles): Also collect depfiles from .oS in
35271 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35272 .oS, $(libnldbl-routines)).
35274 * Makerules (native-compile-mkdep-flags): Define.
35275 * sunrpc/Makefile (extra-objs): Add $(addprefix
35276 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35277 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35278 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35279 calling $(make-target-directory).
35281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35283 * bits/types.h (__snseconds_t): Removed.
35284 * time/time.h (struct timespec): Replace __snseconds_t with
35286 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35287 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35290 (__SNSECONDS_T_TYPE): Likewise.
35291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35292 (__SNSECONDS_T_TYPE): Likewise.
35293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35294 (__SNSECONDS_T_TYPE): Likewise.
35296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/mach/hurd/bits/typesizes.h
35299 (__SYSCALL_SLONG_TYPE): New macro.
35300 (__SYSCALL_ULONG_TYPE): Likewise.
35302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35304 * bits/types.h (__syscall_slong_t): New type.
35305 (__syscall_ulong_t): Likewise.
35307 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35308 (__SYSCALL_ULONG_TYPE): Likewise.
35309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35310 (__SYSCALL_SLONG_TYPE): Likewise.
35311 (__SYSCALL_ULONG_TYPE): Likewise.
35312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35313 (__SYSCALL_SLONG_TYPE): Likewise.
35314 (__SYSCALL_ULONG_TYPE): Likewise.
35315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35316 (__SYSCALL_SLONG_TYPE): Likewise.
35317 (__SYSCALL_ULONG_TYPE): Likewise.
35319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35321 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35322 Add sigaltstack-offsets.sym.
35323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35324 <sigaltstack-offsets.h>.
35325 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35326 longjmp_msg pointer.
35327 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35328 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35330 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35332 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35334 * elf/stackguard-macros.h: Remove file.
35335 * sysdeps/generic/stackguard-macros.h: New file.
35336 * sysdeps/i386/stackguard-macros.h: Likewise.
35337 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35338 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35339 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35340 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35341 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35342 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35343 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35344 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35345 <elf/stackguard-macros.h>.
35348 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35349 __aligned__ in attribute.
35350 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35351 (gregset_t): Likewise.
35353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35355 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35356 * sysdeps/x86_64/64/Implies-after: Here. New file.
35357 * sysdeps/x86_64/x32/Implies-after: New file.
35359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35361 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35362 and access return value for _dl_profile_fixup. Use R10_LP to
35365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35367 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35371 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35372 * sysdeps/x86_64/x32/sysdep.h: New file.
35374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35376 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35377 * sysdeps/x86_64/setjmp.S: Likewise.
35379 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35383 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35385 remove unused global constant.
35387 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35389 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35390 include of <not-cancel.h>.
35392 2012-05-15 Roland McGrath <roland@hack.frob.com>
35394 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35396 2012-05-15 Jeff Law <law@redhat.com>
35397 Andreas Jaeger <aj@suse.de>
35400 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35402 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35403 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35404 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35405 code changing __hst_map_handle.map.
35407 2012-05-15 Roland McGrath <roland@hack.frob.com>
35409 * configure.in (sysnames): Look for Implies-before and Implies-after
35411 * configure: Regenerated.
35413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35415 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35416 8-byte data alignment with LP_SIZE alignment.
35418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35425 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35430 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35431 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35437 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35438 (stackinfo_sub_sp): Likewise.
35440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35457 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35461 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35462 into R11_LP and load __x86_64_shared_cache_size_half into
35465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35470 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35479 powerpc32/power7/fpu/s_logb.c via #include.
35480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35481 powerpc32/power7/fpu/s_logbf.c via #include.
35482 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35483 powerpc32/power7/fpu/s_logbl.c via #include.
35485 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35487 * README.libm: Remove file.
35489 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35491 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35492 count for x32. Use R*_LP and omit operand-size suffix.
35494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35496 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35497 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35498 * sysdeps/x86_64/x32/shlib-versions: New file.
35500 2012-05-14 Roland McGrath <roland@hack.frob.com>
35502 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35503 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35504 Use _dl_fatal_printf instead.
35506 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35508 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35509 set if not set by the user. Do not allow for being unset.
35510 * sysdeps/unix/sysv/linux/configure: Regenerated.
35512 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35514 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35515 the `q' suffix from lea and replace .quad with ASM_ADDR.
35517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35520 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35522 (PTR_DEMANGLE): Likewise.
35524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35526 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35528 (ASM_ADDR): Likewise.
35529 (RAX_LP): Likewise.
35530 (RBP_LP): Likewise.
35531 (RBX_LP): Likewise.
35532 (RCX_LP): Likewise.
35533 (RDI_LP): Likewise.
35534 (RSI_LP): Likewise.
35535 (RSP_LP): Likewise.
35538 (R10_LP): Likewise.
35539 (R10_LP): Likewise.
35540 (R11_LP): Likewise.
35541 (R12_LP): Likewise.
35542 (R13_LP): Likewise.
35543 (R14_LP): Likewise.
35544 (R15_LP): Likewise.
35546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35548 * sysdeps/x86_64/x32/dl-machine.h: New file.
35550 2012-05-14 Andreas Jaeger <aj@suse.de>
35552 * manual/Makefile (subdir): Remove export of subdir.
35553 (all): Remove target.
35554 (.PHONY): Remove all from list.
35555 (mkinstalldirs): Remove.
35556 (.PHONY): Remove installdirs from list.
35557 ($(inst_infodir)/libc.info): Use make-target-directory.
35558 (installdirs): Remove.
35559 (subdir_%): Remove.
35560 (glibc-targets): Remove.
35563 ($(objpfx)stubs ../po/manual.pot): Remove.
35564 ($(objpfx)stamp%): Remove.
35565 (make-target-directory): Remove.
35566 (subdir_install): Remove.
35567 (routines): Remove.
35574 * manual/.gitignore: Remove, it's not needed anymore.
35575 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35577 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35579 (texis): Renamed to $(objpfx)texis.
35580 (texis-path): New, contains path to generated files.
35581 (chapters.%): Use texis-path for complete path, add extra argument
35583 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35584 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35585 (summary,texi, stamp-summary): Use complete path of
35586 files. Generate files in build dir.
35587 (dir-add.texi): Build in build dir.
35588 (libm-err.texi,stamp-libm-err): Likewise.
35589 (version.texi, stamp-version): Likewise.
35590 (.%c.texi): Likewise.
35591 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35592 (mostlyclean): Remove target.
35593 (realclean): Remove target.
35594 (generated): Add new variable with contents from mostlyclean and
35595 realclean, remove entries duplicated in common-mostlyclean, add
35596 stamp-libm-err and stamp-version.
35597 (generated-dirs): Add libc directory.
35598 ($(inst_infodir)/libc.info): Install files from build dir.
35600 * manual/install.texi (Configuring and compiling): Adjust since
35601 the info files are not part of the tar ball anymore.
35603 2012-05-14 Andreas Jaeger <aj@suse.de>
35605 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35608 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35612 to 2.2.0 where earlier.
35613 * sysdeps/unix/sysv/linux/configure: Regenerated.
35614 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35615 Remove conditional code.
35616 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35617 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35618 Remove conditional code.
35619 [!__NR_lchown]: Likewise.
35620 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35621 [__NR_lchown]: Likewise.
35622 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35623 comment referencing __ASSUME_LCHOWN_SYSCALL.
35624 * sysdeps/unix/sysv/linux/i386/sigaction.c
35625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35627 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35628 Remove conditional code.
35629 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35630 (__protocol_available): Remove #if 0 code.
35631 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35633 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35634 * sysdeps/unix/sysv/linux/kernel-features.h
35635 (__ASSUME_GETCWD_SYSCALL): Don't define.
35636 (__ASSUME_REALTIME_SIGNALS): Likewise.
35637 (__ASSUME_PREAD_SYSCALL): Likewise.
35638 (__ASSUME_PWRITE_SYSCALL): Likewise.
35639 (__ASSUME_POLL_SYSCALL): Likewise.
35640 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35641 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35643 (__ASSUME_SIOCGIFNAME): Don't define.
35644 (__ASSUME_MSG_NOSIGNAL): Likewise.
35645 (__ASSUME_SENDFILE): Define unconditionally.
35646 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35647 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35649 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35650 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35651 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35652 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35653 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35654 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35655 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35660 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35672 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35678 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35680 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35681 Remove conditional code.
35682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35683 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35684 Remove conditional code.
35685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35686 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35687 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35688 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35689 Remove conditional code.
35690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35691 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35692 Remove conditional code.
35693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35694 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35695 Remove conditional code.
35696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35697 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35698 Remove conditional code.
35699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35700 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35701 Remove conditional code.
35702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35703 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35706 * sysdeps/unix/sysv/linux/sigaction.c
35707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35709 * sysdeps/unix/sysv/linux/sigpending.c
35710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35712 * sysdeps/unix/sysv/linux/sigprocmask.c
35713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35715 * sysdeps/unix/sysv/linux/sigsuspend.c
35716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35719 (__libc_missing_rt_sigs): Remove.
35720 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35721 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35722 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35723 Remove conditional code.
35724 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35725 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35728 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35729 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35730 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35732 2012-05-14 Andreas Jaeger <aj@suse.de>
35734 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35735 it's not used in glibc.
35736 (__coshm1): Likewise.
35737 (__acosh1p): Likewise.
35740 * manual/string.texi (Copying and Concatenation): Add missing
35741 variable in concat example.
35742 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35748 __builtin_clzl with __builtin_clzll.
35750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35753 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35756 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35758 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35759 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35760 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35761 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35763 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35765 * NEWS: Update ia64 info.
35767 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35769 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35772 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35774 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35775 * sysdeps/unix/syscalls.list (dup3): Likewise.
35776 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35777 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35779 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35781 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35782 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35784 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35786 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35788 (TLS_IE): Use mov/add instead of movq/addq to load thread
35790 (TLS_GD_PREFIX): New.
35793 2012-05-11 David S. Miller <davem@davemloft.net>
35795 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35796 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35797 (_FPU_SETCW): Likewise.
35799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35801 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35802 is 32-byte aligned.
35804 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35807 * iconvdata/gb18030.c: Update tables.
35808 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35809 characters specially.
35810 (BODY for TO_LOOP): Add encoding of missing ranges.
35812 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35815 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35816 * sysdeps/mach/hurd/dup3.c: Likewise.
35817 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35818 * sysdeps/powerpc/memmove.c:: Likewise.
35820 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35823 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35825 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35827 * elf/elf.h (R_X86_64_RELATIVE64): New.
35828 (R_X86_64_NUM): Updated.
35829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35830 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35831 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35832 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35833 tst-quad1pie tst-quad2pie
35834 (modules-names): Add tst-quadmod1 tst-quadmod2.
35835 ($(objpfx)tst-quad1): New dependency.
35836 ($(objpfx)tst-quad2): Likewise.
35837 ($(objpfx)tst-quad1pie): Likewise.
35838 ($(objpfx)tst-quad2pie): Likewise.
35839 * sysdeps/x86_64/tst-quad1.c: New file.
35840 * sysdeps/x86_64/tst-quad1pie.c: New file.
35841 * sysdeps/x86_64/tst-quad2.c: Likewise.
35842 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35843 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35844 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35845 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35846 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35850 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35851 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35852 * streams/stropts.h (t_scalar_t): Define type.
35854 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35855 (_PATH_PRESERVE): Set to "/var/lib".
35856 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35858 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35861 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35862 if __dir_mkfile succeeded.
35864 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35865 checking for _hurd_dtablesize. Unlock it right after having
35866 finished _hurd_dtable allocation.
35868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35870 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35871 * sysdeps/mach/hurd/configure: Regenerated.
35872 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35873 special-casing to...
35874 * sysdeps/gnu/configure.in: ... this new file.
35875 * sysdeps/unix/sysv/linux/configure: Regenerated.
35876 * sysdeps/gnu/configure: New generated file.
35878 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35879 for Linux: use nsec instead of usec, as well as:
35880 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35881 members of type struct timespec.
35882 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35884 (struct stat64): Likewise.
35885 (_STATBUF_ST_NSEC): New macro.
35886 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35889 __strtoul_internal rather than strtoul.
35891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35893 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35898 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35899 which preserves existing values.
35900 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35902 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35904 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35905 TIMEOUT values. Return EINVAL for NFDS values either negative or
35906 greater than FD_SETSIZE.
35908 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35910 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35911 allocated, call __vm_protect to finish enabling the existing space, and
35912 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35913 allocate the remainder.
35915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35917 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35918 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35922 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35923 sysdeps/mach/hurd/readlink.c.
35925 * posix/tst-sysconf.c (posix_options): Only use
35926 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35927 _POSIX_SYNCHRONIZED_IO when they are defined
35928 * sysdeps/mach/hurd/bits/posix_opt.h:
35929 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35930 (_XOPEN_REALTIME): Undefine macro.
35931 (_XOPEN_REALTIME_THREADS): Undefine macro.
35932 (_XOPEN_SHM): Undefine macro.
35933 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35935 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35937 (_POSIX_ASYNC_IO): Undefine macro.
35938 (_POSIX_PRIORITIZED_IO): Undefine macro.
35939 (_POSIX_SPIN_LOCKS): Define macro to -1.
35941 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35942 SA_NODEFER, SA_RESETHAND.
35943 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35944 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35949 * elf/Makefile (pldd-modules): Define unconditionally.
35951 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35953 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35955 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35957 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35958 Return ENOENT when name is empty.
35959 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35963 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35965 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35969 Fix mlock in all cases except non-readable pages.
35970 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35971 instead of VM_PROT_ALL as parameter to __vm_wire function.
35973 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35974 (__mkdir): When path is `/', just fail with EEXIST.
35975 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35979 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35980 <sys/uio.h> (for writev).
35981 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35982 and <sys/param.h> (for MIN).
35984 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35986 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35987 REQUESTED_TIME. Properly set the remaining time and return EINTR
35990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35992 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35993 Depend on against $(link-rpcuserlibs).
35995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35997 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35998 (__libc_stack_end): Do not use attribute_relro.
35999 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36000 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36001 to libthread-provided value.
36002 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36008 * bits/libc-lock.h (__libc_once_get): New macro.
36009 * sysdeps/mach/bits/libc-lock.h: Likewise.
36010 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36012 instead of using implementation details.
36014 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36015 * libio/freopen.c: Likewise.
36016 * libio/freopen64.c: Likewise.
36017 * misc/syslog.c: Likewise.
36018 * nscd/connections.c: Likewise.
36019 * nscd/netgroupcache.c: Likewise.
36020 * sysdeps/posix/getcwd.c: Likewise.
36022 2012-05-10 Roland McGrath <roland@hack.frob.com>
36024 * math/w_ilogbf.c: Add #include <limits.h>.
36026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36028 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36029 path instead of returning without unlocking.
36031 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36032 immediate-write ioctls.
36033 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36037 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36038 __builtin_frame_address instead of making assumptions about the
36039 location of the return address relative to DATA. Force early load of
36040 the return address.
36041 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36042 __builtin_frame_address.
36045 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36046 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36047 implement dup3 and do some further code clean-ups.
36048 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36053 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36055 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36056 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36057 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36058 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36059 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36062 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36063 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36064 when handler == SIG_ERR, not when handler != SIG_ERR.
36066 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36068 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36069 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36072 accept4 for GNU Hurd.
36073 * include/sys/socket.h (__libc_accept4): New prototype.
36074 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36075 to implement __libc_accept4.
36076 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36078 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36080 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36081 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36082 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36083 signal-defines.sym.
36085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36087 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36091 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36092 assertion on O_CLOEXEC flag.
36093 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36094 * hurd/intern-fd.c: Likewise.
36095 * hurd/port2fd.c: Likewise.
36097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36100 * bits/in.h (IPV6_PKTINFO): Define new macro.
36101 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36103 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36110 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36113 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36114 * math/libm-test.inc (logb_test) : Additional logb tests.
36116 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36117 Andreas Jaeger <aj@suse.de>
36119 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36120 * configure: Regenerated.
36121 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36122 * config.make.in (link-obsolete-rpc): New substituted variable.
36123 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36124 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36125 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36126 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36127 so that libc.a contains the symbols.
36128 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36129 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36130 * sunrpc/auth_none.c: Likewise.
36131 * sunrpc/auth_unix.c: Likewise.
36132 * sunrpc/authdes_prot.c: Likewise.
36133 * sunrpc/authuxprot.c: Likewise.
36134 * sunrpc/clnt_gen.c: Likewise.
36135 * sunrpc/clnt_perr.c: Likewise.
36136 * sunrpc/clnt_raw.c: Likewise.
36137 * sunrpc/clnt_simp.c: Likewise.
36138 * sunrpc/clnt_tcp.c: Likewise.
36139 * sunrpc/clnt_udp.c: Likewise.
36140 * sunrpc/clnt_unix.c: Likewise.
36141 * sunrpc/des_crypt.c: Likewise.
36142 * sunrpc/des_soft.c: Likewise.
36143 * sunrpc/get_myaddr.c: Likewise.
36144 * sunrpc/key_call.c: Likewise.
36145 * sunrpc/key_prot.c: Likewise.
36146 * sunrpc/netname.c: Likewise.
36147 * sunrpc/pm_getmaps.c: Likewise.
36148 * sunrpc/pm_getport.c: Likewise.
36149 * sunrpc/pmap_clnt.c: Likewise.
36150 * sunrpc/pmap_prot.c: Likewise.
36151 * sunrpc/pmap_prot2.c: Likewise.
36152 * sunrpc/pmap_rmt.c: Likewise.
36153 * sunrpc/publickey.c: Likewise.
36154 * sunrpc/rpc_cmsg.c: Likewise.
36155 * sunrpc/rpc_common.c: Likewise.
36156 * sunrpc/rpc_dtable.c: Likewise.
36157 * sunrpc/rpc_prot.c: Likewise.
36158 * sunrpc/rpc_thread.c: Likewise.
36159 * sunrpc/rtime.c: Likewise.
36160 * sunrpc/svc.c: Likewise.
36161 * sunrpc/svc_auth.c: Likewise.
36162 * sunrpc/svc_raw.c: Likewise.
36163 * sunrpc/svc_run.c: Likewise.
36164 * sunrpc/svc_tcp.c: Likewise.
36165 * sunrpc/svc_udp.c: Likewise.
36166 * sunrpc/svc_unix.c: Likewise.
36167 * sunrpc/svcauth_des.c: Likewise.
36168 * sunrpc/xcrypt.c: Likewise.
36169 * sunrpc/xdr.c: Likewise.
36170 * sunrpc/xdr_array.c: Likewise.
36171 * sunrpc/xdr_float.c: Likewise.
36172 * sunrpc/xdr_intXX_t.c: Likewise.
36173 * sunrpc/xdr_mem.c: Likewise.
36174 * sunrpc/xdr_rec.c: Likewise.
36175 * sunrpc/xdr_ref.c: Likewise.
36176 * sunrpc/xdr_sizeof.c: Likewise.
36177 * sunrpc/xdr_stdio.c: Likewise.
36179 2012-05-10 Roland McGrath <roland@hack.frob.com>
36181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36182 change. Update copyright years.
36184 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36186 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36188 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36189 Joseph Myers <joseph@codesourcery.com>
36190 Paul Pluzhnikov <ppluzhnikov@google.com>
36193 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36195 [cross-compiling] (extra-libs): Likewise.
36196 [cross-compiling] (extra-libs-others): Likewise.
36197 [cross-compiling] (librpcsvc-routines): Likewise.
36198 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36199 [cross-compiling] (omit-deps): Likewise.
36200 (sunrpc-CPPFLAGS): New variable.
36201 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36202 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36203 (cross-rpcgen-objs): New variable.
36204 (extra-objs): Append $(cross-rpcgen-objs).
36205 ($(cross-rpcgen-objs)): New rule.
36206 ($(objpfx)cross-rpcgen): Likewise.
36207 (rpcgen-cmd): Define to use $(built-program-file). Expand
36209 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36210 ($(objpfx)x%.stmp): Likewise.
36211 * sunrpc/proto.h [IS_IN_build] (_): Define.
36212 [IS_IN_build] (_libc_intl_domainname): Likewise.
36214 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36217 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36218 and R_X86_64_TPOFF64.
36220 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36222 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36223 sysdeps/unix/sysv/syscalls.list.
36226 * sysdeps/unix/sysv/syscalls.list: Remove file.
36228 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36231 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36232 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36233 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36234 (__LC_IDENTIFICATION): Make these macros useful in #if
36235 expressions, as required by C99.
36237 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36239 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36240 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36243 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36245 * stdlib/longlong.h: Updated from GCC.
36247 2012-05-09 Andreas Jaeger <aj@suse.de>
36249 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36250 default is first entry.
36251 (run_mode): Set type.
36252 (main): Remove informal message about syslog.
36253 (options): Fix typo.
36256 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36259 (llrintf): Likewise.
36260 (llrint): Likewise.
36263 (nearbyint): Likewise.
36264 (nearbyintf): Likewise.
36266 2012-05-09 Andreas Jaeger <aj@suse.de>
36267 Pedro Alves <palves@redhat.com>
36269 * nscd/nscd.c (run_mode): Use enum.
36270 (main): Cleanup coding style issue.
36272 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36273 Andreas Jaeger <aj@suse.de>
36275 * nscd/nscd.c (go_background): Replaced with...
36276 (run_mode): ... this.
36277 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36278 (options): Add -F --foreground.
36279 (main): Implement it.
36280 (parse_opt): Parse it.
36282 2012-05-09 Andreas Jaeger <aj@suse.de>
36285 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36286 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36287 -Wconversion warning.
36288 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36291 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36293 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36295 (LC_ALL): Use macro-int-constant.
36296 (LC_COLLATE): Likewise.
36297 (LC_CTYPE): Likewise.
36298 (LC_MESSAGES): Likewise.
36299 (LC_MONETARY): Likewise.
36300 (LC_NUMERIC): Likewise.
36301 (LC_TIME): Likewise.
36302 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36303 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36305 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36307 [C99-based standards] (float_t): Expect type.
36308 [C99-based standards] (double_t): Expect type.
36309 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36311 [C99-based standards] (HUGE_VALL): Likewise.
36312 [C99-based standards] (INFINITY): Likewise.
36313 [C99-based standards] (NAN): Likewise.
36314 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36315 [C99-based standards] (FP_NAN): Likewise.
36316 [C99-based standards] (FP_NORMAL): Likewise.
36317 [C99-based standards] (FP_SUBNORMAL): Likewise.
36318 [C99-based standards] (FP_ZERO): Likewise.
36319 [C99-based standards] (FP_FAST_FMA): Use
36320 optional-macro-int-constant. Specify type. Require == 1.
36321 [C99-based standards] (FP_FAST_FMAF): Likewise.
36322 [C99-based standards] (FP_FAST_FMAL): Likewise.
36323 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36324 [C99-based standards] (FP_ILOGBNAN): Likewise.
36325 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36327 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36328 [C99-based standards] (math_errhandling): Specify type.
36329 [ISO99 || ISO11] (signgam): Do not allow.
36330 [non-C99-based standards] (copysignf): Do not allow.
36331 [non-C99-based standards] (exp2f): Likewise.
36332 [non-C99-based standards] (log2f): Likewise.
36333 [non-C99-based standards] (modff): Allow.
36334 [non-C99-based standards] (erff): Do not allow.
36335 [non-C99-based standards] (erfcf): Likewise.
36336 [non-C99-based standards] (gammaf): Likewise.
36337 [non-C99-based standards] (hypotf): Likewise.
36338 [non-C99-based standards] (j0f): Likewise.
36339 [non-C99-based standards] (j1f): Likewise.
36340 [non-C99-based standards] (jnf): Likewise.
36341 [non-C99-based standards] (lgammaf): Likewise.
36342 [non-C99-based standards] (tgammaf): Likewise.
36343 [non-C99-based standards] (y0f): Likewise.
36344 [non-C99-based standards] (y1f): Likewise.
36345 [non-C99-based standards] (ynf): Likewise.
36346 [non-C99-based standards] (isnanf): Likewise.
36347 [non-C99-based standards] (acoshf): Likewise.
36348 [non-C99-based standards] (asinhf): Likewise.
36349 [non-C99-based standards] (atanhf): Likewise.
36350 [non-C99-based standards] (cbrtf): Likewise.
36351 [non-C99-based standards] (expm1f): Likewise.
36352 [non-C99-based standards] (ilogbf): Likewise.
36353 [non-C99-based standards] (log1pf): Likewise.
36354 [non-C99-based standards] (logbf): Likewise.
36355 [non-C99-based standards] (nextafterf): Likewise.
36356 [non-C99-based standards] (remainderf): Likewise.
36357 [non-C99-based standards] (rintf): Likewise.
36358 [non-C99-based standards] (scalbf): Likewise.
36359 [non-C99-based standards] (copysignl): Likewise.
36360 [non-C99-based standards] (exp2l): Likewise.
36361 [non-C99-based standards] (log2l): Likewise.
36362 [non-C99-based standards] (modfl): Allow.
36363 [non-C99-based standards] (erfl): Do not allow.
36364 [non-C99-based standards] (erfcl): Likewise.
36365 [non-C99-based standards] (gammal): Likewise.
36366 [non-C99-based standards] (hypotl): Likewise.
36367 [non-C99-based standards] (j0l): Likewise.
36368 [non-C99-based standards] (j1l): Likewise.
36369 [non-C99-based standards] (jnl): Likewise.
36370 [non-C99-based standards] (lgammal): Likewise.
36371 [non-C99-based standards] (tgammal): Likewise.
36372 [non-C99-based standards] (y0l): Likewise.
36373 [non-C99-based standards] (y1l): Likewise.
36374 [non-C99-based standards] (ynl): Likewise.
36375 [non-C99-based standards] (isnanl): Likewise.
36376 [non-C99-based standards] (acoshl): Likewise.
36377 [non-C99-based standards] (asinhl): Likewise.
36378 [non-C99-based standards] (atanhl): Likewise.
36379 [non-C99-based standards] (cbrtl): Likewise.
36380 [non-C99-based standards] (expm1l): Likewise.
36381 [non-C99-based standards] (ilogbl): Likewise.
36382 [non-C99-based standards] (log1pl): Likewise.
36383 [non-C99-based standards] (logbl): Likewise.
36384 [non-C99-based standards] (nextafterl): Likewise.
36385 [non-C99-based standards] (remainderl): Likewise.
36386 [non-C99-based standards] (rintl): Likewise.
36387 [non-C99-based standards] (scalbl): Likewise.
36388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36389 [non-C99-based standards] (FP_*): Do not allow.
36390 [C99-based standards] (FP_*): Change to
36391 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36392 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36394 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36395 (SIG_ERR): Likewise.
36396 [X/Open-based standards] (SIG_HOLD): Likewise.
36397 (SIG_IGN): Likewise.
36398 (SIGABRT): Use macro-int-constant. Specify type. Require
36400 (SIGFPE): Likewise.
36401 (SIGILL): Likewise.
36402 (SIGINT): Likewise.
36403 (SIGSEGV): Likewise.
36404 (SIGTER): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36406 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36410 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36411 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36412 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36413 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36414 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36415 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36416 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36417 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36418 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36419 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36420 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36421 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36422 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36423 [X/Open-based standards] (SIGTRAP): Likewise.
36424 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36425 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36426 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36427 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36428 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36431 2012-05-08 Ian Wienand <ianw@vmware.com>
36434 * time/tzset.c (__tzset_parse_tz): Update default rules for
36435 daylight time changes in the Energy Policy Act of 2005.
36437 2012-05-09 Andreas Jaeger <aj@suse.de>
36440 * elf/ldconfig.c (parse_conf): Change string to make clear that
36441 ldconfig only issued a warning if ld.so.conf does not exist.
36443 2012-05-08 David S. Miller <davem@davemloft.net>
36445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36446 movxtod instead of popping the value on the stack.
36448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36450 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36452 * config.h.in: Add HAVE_ARM_PCS_VFP.
36454 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36457 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36458 checking but the checks are disabled for any reason.
36460 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36462 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36463 and ELF64_R_TYPE with ELFW(R_TYPE).
36465 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36467 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36468 (ulimit): Likewise.
36470 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36471 (settimeofday): Likewise.
36473 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36475 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36476 a struct th_u2 inside the union, and move tu_block/tu_code into
36477 a new th_u3 union of tu_block/tu_code inside of that. Move
36478 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36479 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36480 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36481 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36482 (th_stuff): Change to th_u1.tu_stuff.
36484 (th_msg): Change to th_u1.th_u2.tu_data.
36486 2012-05-07 David S. Miller <davem@davemloft.net>
36488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36491 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36492 (SETUP_PIC_REG): Use it.
36493 (SETUP_PIC_REG_LEAF): Use it.
36495 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36501 (EXPL_FINITE): Likewise.
36502 (FLDLOG): Likewise.
36503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36504 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36508 (EXPL_FINITE): Likewise.
36509 (FLDLOG): Likewise.
36510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36511 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36513 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36514 test of -max_value argument for long double.
36515 * sysdeps/i386/fpu/libm-test-ulps: Update.
36516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36518 2012-05-06 David S. Miller <davem@davemloft.net>
36520 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36521 quad soft-float symbols whose references which are compiler
36523 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36525 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36531 (EXPL_FINITE): Likewise.
36532 (FLDLOG): Likewise.
36535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36536 Adjust comments for base varying.
36537 (__expl_finite): Change alias to EXPL_FINITE.
36538 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36540 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36541 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36542 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36543 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36544 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36546 (EXPL_FINITE): Likewise.
36547 (FLDLOG): Likewise.
36550 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36551 Adjust comments for base varying.
36552 (__expl_finite): Change alias to EXPL_FINITE.
36553 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36558 * math/libm-test.inc (check_float_internal): Correct ulp
36559 calculation for subnormal expected results.
36561 2012-05-06 Andreas Jaeger <aj@suse.de>
36563 * Makeconfig (+math-flags): New, set to -frounding-math.
36564 (+cflags): Add +math-flags so that all of glibc gets compiled with
36567 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36569 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36571 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36577 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36578 (__ieee754_expl): Allow for and saturate large arguments.
36579 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36580 (u_threshold): Likewise.
36581 (__exp): Call __ieee754_exp before checking for overflow and
36583 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36584 (u_threshold): Likewise.
36585 (__expf): Call __ieee754_expf before checking for overflow and
36587 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36588 (u_threshold): Likewise.
36589 (__expl): Call __ieee754_expl before checking for overflow and
36591 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36592 (__ieee754_expl): Allow for and saturate large arguments.
36593 * math/libm-test.inc (exp_test): Add another test. Do not allow
36594 missing overflow exception on overflow.
36595 (expm1_test): Do not allow missing overflow exception on overflow.
36597 * sysdeps/i386/fpu/e_expl.c: Move to ...
36598 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36599 rather than using inline asm.
36600 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36601 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36602 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36604 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36607 (signal): Likewise.
36611 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36613 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36614 sysdeps/unix/common/syscalls.list.
36615 (fchmod): Likewise.
36616 (fchown): Likewise.
36617 (ftruncate): Likewise.
36618 (getrusage): Likewise.
36619 (gettimeofday): Likewise.
36620 (setpgid): Likewise.
36621 (setregid): Likewise.
36622 (setreuid): Likewise.
36623 (sigaction): Likewise.
36624 (truncate): Likewise.
36625 (vhangup): Likewise.
36626 * sysdeps/unix/common/syscalls.list: Remove file.
36627 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36628 * sysdeps/unix/sysv/linux/Implies: Likewise.
36630 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36638 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36641 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36647 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36650 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36653 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36656 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36664 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36667 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36671 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36675 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36677 * sysdeps/unix/common/bits/dirent.h: Remove file.
36678 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36680 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36681 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36682 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36683 * sysdeps/unix/bsd/isatty.c: Likewise.
36684 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36685 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36686 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36688 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36692 long double comparison inaccuracies.
36693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36696 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36698 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36701 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36705 nonzero digits before rounding a hex value.
36706 * stdlib/tst-strtod.c (tests): Add another test.
36708 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36710 * sysdeps/s390/fpu/libm-test-ulps: Update.
36712 2012-05-03 Andreas Jaeger <aj@suse.de>
36714 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36715 does not get optimized out.
36716 (malloc_opt_barrier): New.
36718 2012-05-03 Andreas Jaeger <aj@suse.de>
36719 Roland McGrath <roland@hack.frob.com>
36721 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36722 intermediate file deletion.
36723 (generated): Add .symlist files.
36725 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36728 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36729 Redirect under this condition.
36730 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36731 [__USE_GNU] (__dprintf_chk): Not under this condition.
36732 [__USE_GNU] (__vdprintf_chk): Likewise.
36733 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36734 under this condition.
36735 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36736 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36737 [__USE_XOPEN2K8] (vdprintf): Likewise.
36738 [__USE_GNU] (__dprintf_chk): Not under this condition.
36739 [__USE_GNU] (__vdprintf_chk): Likewise.
36740 [__USE_GNU] (dprintf): Likewise.
36741 [__USE_GNU] (vdprintf): Likewise.
36743 2012-05-03 Roland McGrath <roland@hack.frob.com>
36745 * elf/Makefile (common-generated): Set this instead of generated for
36746 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36747 $(all-built-dso)-derived lists.
36749 2012-05-03 Andreas Jaeger <aj@suse.de>
36751 * sysdeps/i386/fpu/libm-test-ulps: Update.
36754 * FAQ.in: Likewise.
36755 * scripts/gen-FAQ.pl: Likewise.
36756 * manual/install.texi (Installation): Point to online location of
36758 * Makefile (files-for-dist): Remove FAQ.
36761 2012-05-02 Allan McRae <allan@archlinux.org>
36763 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36764 (LDFLAGS-reldepmod5.so): Likewise.
36765 (LDFLAGS-reldep6mod1.so): Likewise.
36766 (LDFLAGS-reldep6mod4.so): Likewise.
36767 (LDFLAGS-reldep8mod3.so): Likewise.
36768 (LDFLAGS-unload4mod1.so): Likewise.
36769 (LDFLAGS-unload4mod2.so): Likewise.
36770 (LDFLAGS-tst-initorder): Likewise.
36771 (LDFLAGS-tst-initordera2.so): Likewise.
36772 (LDFLAGS-tst-initordera3.so): Likewise.
36773 (LDFLAGS-tst-initordera4.so): Likewise.
36774 (LDFLAGS-tst-initorderb2.so): Likewise.
36775 (LDFLAGS-noload): Likewise.
36776 (LDFLAGS-next): Likewise.
36777 (LDFLAGS-order2mod1.so): Likewise.
36778 (LDFLAGS-order2mod2.so): Likewise.
36779 (LDFLAGS-tst-initorder2): Likewise.
36780 (LDFLAGS-tst-initorder2a.so): Likewise.
36781 (LDFLAGS-tst-initorder2b.so): Likewise.
36782 (LDFLAGS-tst-initorder2c.so): Likewise.
36783 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36785 2012-05-02 David S. Miller <davem@davemloft.net>
36787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36789 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36792 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36794 2012-05-02 Andreas Jaeger <aj@suse.de>
36796 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36797 since we manipulate rounding mode.
36798 (CPPFLAGS-test-idouble.c): Likewise.
36799 (CPPFLAGS-test-ifloat.c): Likewise.
36800 (CFLAGS-test-ldouble.c): Likewise.
36801 (CFLAGS-test-double.c): Likewise.
36802 (CFLAGS-test-float.c): Likewise.
36803 (CFLAGS-test-misc.c): Likewise.
36804 (CFLAGS-test-test-fenv.c): Likewise.
36806 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36811 comparisons to determine direction to adjust input.
36813 2012-05-01 Roland McGrath <roland@hack.frob.com>
36815 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36816 output to the target.
36818 * scripts/localplt.awk: New file.
36819 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36820 (check-localplt-CFLAGS): Variable removed.
36821 ($(all-built-dso:=.jmprel)): New static pattern rule.
36822 (generated): Add those targets.
36823 (localplt-built-dso): New variable.
36824 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36826 * elf/check-localplt.c: File removed.
36828 * scripts/check-execstack.awk: New file.
36829 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36830 (check-execstack-CFLAGS): Variable removed.
36831 ($(objpfx)check-execstack.h): Target removed.
36832 ($(objpfx)execstack-default): New target.
36833 (generated): Add that instead of check-execstack.h.
36834 ($(all-built-dso:=.phdr)): New static pattern rule.
36835 (generated): Add those targets.
36836 * elf/check-execstack.c: File removed.
36838 * scripts/check-textrel.awk: New file.
36839 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36840 (check-textrel-CFLAGS): Variable removed.
36841 (all-built-dso): Use := to define.o
36842 ($(all-built-dso:=.dyn)): New static pattern rule.
36843 (generated): Add those targets.
36844 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36845 * config.make.in (READELF): New substituted variable.
36846 * elf/check-textrel.c: File removed.
36848 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36850 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36852 * conform/data/ctype.h-data [C99-based standards] (isblank):
36854 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36855 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36857 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36858 Specify type. Require positive value.
36859 (EILSEQ): Likewise.
36860 (ERANGE): Likewise.
36861 [ISO || POSIX] (EILSEQ): Do not expect.
36862 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36863 Specify type. Require positive value.
36864 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36869 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36870 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36871 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36872 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36873 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36874 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36875 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36876 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36877 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36878 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36879 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36880 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36881 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36882 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36883 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36884 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36885 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36886 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36887 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36888 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36889 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36890 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36891 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36892 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36893 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36894 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36895 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36896 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36897 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36925 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36926 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36927 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36928 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36929 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36931 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36933 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36934 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36935 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36937 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36938 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36939 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36940 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36942 (FLT_ROUNDS): Expect as macro, not constant.
36943 (FLT_MANT_DIG): Use macro-int-constant.
36944 (DBL_MANT_DIG): Likewise.
36945 (LDBL_MANT_DIG): Likewise.
36946 (FLT_DIG): Likewise.
36947 (DBL_DIG): Likewise.
36948 (LDBL_DIG): Likewise.
36949 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36950 (DBL_MIN_EXP): Likewise.
36951 (LDBL_MIN_EXP): Likewise.
36952 (FLT_MAX_EXP): Use macro-int-constant.
36953 (DBL_MAX_EXP): Likewise.
36954 (LDBL_MAX_EXP): Likewise.
36955 (FLT_MAX_10_EXP): Likewise.
36956 (DBL_MAX_10_EXP): Likewise.
36957 (LDBL_MAX_10_EXP): Likewise.
36958 (FLT_MAX): Use macro-constant.
36959 (DBL_MAX): Likewise.
36960 (LDBL_MAX): Likewise.
36961 (FLT_EPSILON): Use macro-constant. Give upper bound.
36962 (DBL_EPSILON): Likewise.
36963 (LDBL_EPSILON): Likewise.
36964 (FLT_MIN): Likewise.
36965 (DBL_MIN): Likewise.
36966 (LDBL_MIN): Likewise.
36967 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36968 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36969 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36970 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36971 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36972 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36973 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36974 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36975 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36976 [ISO11] (FLT_TRUE_MIN): Likewise.
36977 [ISO11] (LDBL_TRUE_MIN): Likewise.
36978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36979 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36980 (SCHAR_MIN): Use macro-int-constant. Specify type.
36981 (SCHAR_MAX): Likewise.
36982 (UCHAR_MAX): Likewise.
36983 (CHAR_MIN): Likewise.
36984 (CHAR_MAX): Likewise.
36985 (MB_LEN_MAX): Use macro-int-constant.
36986 (SHRT_MIN): Use macro-int-constant. Specify type.
36987 (SHRT_MAX): Likewise.
36988 (USHRT_MAX): Likewise.
36989 (INT_MAX): Likewise.
36990 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36992 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36994 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36996 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36997 bound negative. Suffix upper bound with "L".
36998 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37000 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37002 [C99-based standards] (LLONG_MAX): Likewise.
37003 [C99-based standards] (ULLONG_MAX): Likewise.
37004 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37006 [ISO11] (max_align_t): Require type.
37007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37009 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37010 from $CFLAGS, without defining away __attribute__ calls.
37011 (checknamespace): Use $CFLAGS_namespace.
37013 * conform/conformtest.pl (@keywords): Only include C99 keywords
37014 for standards based on C99 or C11.
37016 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37018 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37021 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37022 usability of symbols in #if.
37024 * conform/conformtest.pl: If macro or constant types start
37025 "promoted:", expect the symbol to be of the following type
37026 promoted by the integer promotions.
37028 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37029 in one place. Also handle "macro-constant".
37031 * conform/conformtest.pl: Only accept expected macro values with
37032 "==". Parse all "macro" lines in one place.
37033 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37035 * conform/conformtest.pl: Handle braced types on "constant" lines
37036 instead of handling "typed-constant".
37037 * conform/data/signal.h-data: Use "constant" instead of
37040 * conform/conformtest.pl: Handle "optional-" at start of lines in
37041 one place rather than duplicating several cases. Handle each
37042 format of "macro" line with initial "optional-".
37044 * conform/conformtest.pl: Only accept expected constant or
37045 optional-constant values with "==". Parse all "constant" lines in
37046 one place. Parse all "optional-constant" lines in one place.
37047 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37048 * conform/data/fmtmsg.h-data: Likewise.
37049 * conform/data/netinet/in.h-data: Likewise.
37050 * conform/data/tar.h-data: Likewise.
37051 * conform/data/limits.h-data: Use "==" form on "constant" and
37052 "optional-constant" lines.
37054 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37055 Use -std=c99 for XOPEN2K.
37056 (@knownproblems): Remove.
37057 (newtoken): Don't check %isknown.
37059 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37060 Do not expect macro.
37061 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37073 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37074 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37085 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37086 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37091 [XPG3] (acosh): Likewise.
37092 [XPG3] (asinh): Likewise.
37093 [XPG3] (atanh): Likewise.
37094 [XPG3] (cbrt): Likewise.
37095 [XPG3] (expm1): Likewise.
37096 [XPG3] (ilogb): Likewise.
37097 [XPG3] (log1p): Likewise.
37098 [XPG3] (logb): Likewise.
37099 [XPG3] (nextafter): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37102 [XPG3] (remainder): Likewise.
37103 [XPG3] (rint): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37111 [UNIX98 || XOPEN2K] (scalb): Expect.
37112 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37113 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37250 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37251 _XOPEN_SOURCE_EXTENDED for XPG4.
37253 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37255 * Makeconfig (localtime): Remove variable.
37256 (inst_localtime-file): Likewise.
37258 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37279 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37283 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37284 comparisons to determine direction to adjust input.
37285 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37286 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37293 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37294 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37296 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37298 * math/libm-test.inc (nexttoward_test): Add more tests.
37300 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37304 in version GLIBC_2.1, not GLIBC_2.0.
37305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37308 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37311 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37314 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37315 * math/libm-test.inc (acos_test): Add more tests.
37316 (asin_test): Likewise.
37317 * sysdeps/i386/fpu/libm-test-ulps: Update.
37318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37321 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37323 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37324 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37325 * math/libm-test.inc (acos_test_tonearest): New function.
37326 (acos_test_towardzero): Likewise.
37327 (acos_test_downward): Likewise.
37328 (acos_test_upward): Likewise.
37329 (asin_test_tonearest): Likewise.
37330 (asin_test_towardzero): Likewise.
37331 (asin_test_downward): Likewise.
37332 (asin_test_upward): Likewise.
37333 (main): Call the new functions.
37334 * sysdeps/i386/fpu/libm-test-ulps: Update.
37335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37339 * math/e_exp10.c: Include <float.h>.
37340 (__ieee754_exp10): Handle underflow here rather than multiplying
37341 large negative argument by M_LN10.
37342 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37344 * math/e_exp10l.c: Include <float.h>.
37345 (__ieee754_exp10l): Handle underflow here rather than multiplying
37346 large negative argument by M_LN10l.
37347 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37348 spurious overflow exception on underflow.
37350 2012-04-29 Marek Polacek <polacek@redhat.com>
37352 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37353 (__fortify_function): New macro.
37354 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37355 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37356 __extern_always_inline.
37357 * libio/bits/stdio2.h: Likewise.
37358 * libio/bits/stdio.h: Likewise.
37359 * string/string.h: Likewise.
37360 * string/bits/string3.h: Likewise.
37361 * include/stdio.h: Likewise.
37362 * stdlib/bits/stdlib.h: Likewise.
37363 * stdlib/stdlib.h: Likewise.
37364 * rt/bits/mqueue2.h: Likewise.
37365 * rt/mqueue.h: Likewise.
37366 * posix/bits/unistd.h: Likewise.
37367 * posix/unistd.h: Likewise.
37368 * io/bits/poll2.h: Likewise.
37369 * io/bits/fcntl2.h: Likewise.
37370 * io/fcntl.h: Likewise.
37371 * io/sys/poll.h: Likewise.
37372 * misc/bits/syslog.h: Likewise.
37373 * misc/bits/syslog-ldbl.h: Likewise.
37374 * misc/sys/syslog.h: Likewise.
37375 * socket/bits/socket2.h: Likewise.
37376 * socket/sys/socket.h: Likewise.
37377 * debug/tst-chk1.c: Likewise.
37378 * wcsmbs/bits/wchar2.h: Likewise.
37379 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37380 * wcsmbs/wchar.h: Likewise.
37382 2012-04-29 Andreas Jaeger <aj@suse.de>
37384 * Makerules (tests): Remove enable-check-abi protection.
37385 (check-abi-warn): Remove.
37386 (check-abi-%): Remove check-abi-warn usage.
37388 * configure.in: Remove check-abi configure option.
37389 * configure: Regenerated.
37390 * config.make.in (enable-check-abi): Remove.
37392 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37395 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37396 double functions to double *_finite functions.
37399 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37400 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37402 * stdio-common/Makefile (tests): Add tst-sprintf3.
37403 * stdio-common/tst-sprintf3.c: New file.
37405 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37406 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37408 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37410 * conform/conformtest.pl: Remove duplicate typed-constant
37413 2012-04-28 David S. Miller <davem@davemloft.net>
37415 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37416 (check-abi-%): Remove AWK script prerequisite and explicit
37418 (check-abi): Rewrite to just diff the symlist with the abilist.
37419 (config-tls, config-abi-config): Delete, no longer used.
37420 (update-abi-%): Remove AWK script and explicit abilist directory.
37421 (update-abi): Rewrite to simply compare and conditionally copy the
37422 symlist and the sysdep abilist file. Remove update-abi-config
37424 * abilist/ld.abilist: Remove.
37425 * abilist/libBrokenLocale.abilist: Remove.
37426 * abilist/libanl.abilist: Remove.
37427 * abilist/libcrypt.abilist: Remove.
37428 * abilist/libdl.abilist: Remove.
37429 * abilist/librt.abilist: Remove.
37430 * abilist/libthread_db.abilist: Remove.
37431 * abilist/libutil.abilist: Remove.
37432 * scripts/extract-abilist.awk: Remove.
37433 * scripts/merge-abilist.awk: Remove.
37434 * sysdeps/generic/libcidn.abilist: New file.
37435 * sysdeps/generic/libnss_compat.abilist: New file.
37436 * sysdeps/generic/libnss_db.abilist: New file.
37437 * sysdeps/generic/libnss_dns.abilist: New file.
37438 * sysdeps/generic/libnss_files.abilist: New file.
37439 * sysdeps/generic/libnss_hesiod.abilist: New file.
37440 * sysdeps/generic/libnss_nis.abilist: New file.
37441 * sysdeps/generic/libnss_nisplus.abilist: New file.
37442 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37443 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37444 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37447 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37448 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37449 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37450 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37451 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37452 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37453 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37454 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37456 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37457 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37458 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37459 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37461 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37463 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37464 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37466 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37468 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37469 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37575 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37576 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37577 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37580 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37581 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37582 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37583 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37584 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37585 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37586 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37587 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37588 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37640 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37642 * conform/conformtest.pl: Fix typo in handling typed-constant from
37645 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37647 * README: Cut down references to pre-2.6 Linux kernels and
37648 Linuxthreads. Update lists of configurations in libc and ports
37649 and sort alphabetically. Say "or newer" with Linux kernel version
37652 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37654 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37657 * math/libm-test.inc (logb_test_downward): New test to expose
37658 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37661 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37664 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37666 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37667 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37669 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37671 * sysdeps/unix/i386/brk.S: Remove file.
37672 * sysdeps/unix/i386/dl-brk.S: Likewise.
37673 * sysdeps/unix/i386/pipe.S: Likewise.
37674 * sysdeps/unix/i386/sigreturn.S: Likewise.
37675 * sysdeps/unix/i386/syscall.S: Likewise.
37676 * sysdeps/unix/i386/vfork.S: Likewise.
37677 * sysdeps/unix/i386/wait.S: Likewise.
37679 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37680 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37682 * configure.in (arm*-none*): Do not allow without
37683 --enable-hacker-mode.
37684 (netbsd*): Remove case setting base_os.
37685 (386bsd*): Likewise.
37686 (freebsd*): Likewise.
37689 (sunos*): Likewise.
37690 (ultrix*): Likewise.
37691 (newsos*): Likewise.
37692 (dynix*): Likewise.
37698 (minix*): Likewise.
37699 (irix4*): Likewise.
37700 (irix6*): Likewise.
37701 (solaris[2-9]*): Likewise.
37703 * configure: Regenerated.
37705 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37708 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37709 overflow or cancellation in calculating denominator.
37710 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37712 down expression to avoid unexpected rounding in newer GCCs.
37713 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37715 2012-04-26 David S. Miller <davem@davemloft.net>
37717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37718 long-double compat symbols.
37719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37733 2012-04-25 David S. Miller <davem@davemloft.net>
37735 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37736 HWCAP_* values only after the memory barriers have been defined.
37737 (atomic_full_barrier): Define.
37738 (atomic_read_barrier): Define.
37739 (atomic_write_barrier): Define.
37741 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37743 * shlib-versions: Add libgcc_s version information.
37744 * sysdeps/generic/libgcc_s.h: Remove.
37745 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37747 * sysdeps/gnu/unwind-resume.c: Likewise.
37748 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37750 2012-04-25 David S. Miller <davem@davemloft.net>
37752 * sysdeps/unix/sparc/brk.S: Delete.
37753 * sysdeps/unix/sparc/dl-brk.S: Delete.
37754 * sysdeps/unix/sparc/pipe.S: Delete.
37755 * sysdeps/unix/sparc/sysdep.S: Delete.
37756 * sysdeps/unix/sparc/sysdep.h: Delete.
37757 * sysdeps/unix/sparc/vfork.S: Delete.
37758 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37759 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37761 (ret_ERRVAL, r0, r1, MOVE): Define.
37762 (JUMPTARGET): Remove.
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37764 sysdeps/unix/sparc/sysdep.h
37765 (ENTRY, END): Remove.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37768 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37770 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37771 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37774 * timezone/README: Update upstream location and email address for
37776 * timezone/zdump.c: Update from tzcode 2012b.
37777 * timezone/zic.c: Likewise.
37779 * configure.in (libc_cv_as_needed): Remove test.
37780 * configure: Regenerated.
37781 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37782 conditional definition.
37783 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37784 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37785 * config.make.in (have-as-needed): Remove variable.
37787 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37788 Paul Pluzhnikov <ppluzhnikov@google.com>
37790 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37793 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37795 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37796 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37797 * sysdeps/sh/strlen.S: Likewise.
37799 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37801 * sysdeps/unix/fork.S: Remove file.
37802 * sysdeps/unix/i386/fork.S: Likewise.
37803 * sysdeps/unix/sparc/fork.S: Likewise.
37805 * sysdeps/unix/system.c: Remove file.
37806 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37808 * sysdeps/unix/getegid.S: Remove file.
37809 * sysdeps/unix/geteuid.S: Likewise.
37811 2012-04-24 Roland McGrath <roland@hack.frob.com>
37813 * scripts/check-localplt.awk: New file.
37814 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37816 * scripts/data/localplt-generic.data: Add a comment.
37818 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37819 NODE when __dir_mkfile failed.
37820 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37821 Reported by Ludovic Courtès <ludo@gnu.org>.
37823 2012-04-24 Andreas Jaeger <aj@suse.de>
37825 * Makerules (common-clean): Also remove gen-as-const-headers
37828 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37830 * Makerules (native-compile): Do not change working directory for
37831 build. Use $(OUTPUT_OPTION) in command.
37832 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37834 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37837 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37838 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37839 * math/libm-test.inc (floor_test): Add more tests.
37840 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37842 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37844 * sysdeps/unix/getdents.c: Remove file.
37845 * sysdeps/unix/sysv/getdents.c: Likewise.
37846 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37848 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37849 sysdeps/unix/mman/syscalls.list.
37851 (mprotect): Likewise.
37853 (munmap): Likewise.
37854 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37855 * sysdeps/unix/mman/syscalls.list: Remove.
37856 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37858 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37859 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37860 * configure: Regenerated.
37861 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37862 $(libgcc_s_suffix).
37863 * config.make.in (libgcc_s_suffix): Remove variable.
37865 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37867 * sysdeps/unix/sysv/gethostname.c: Move to ...
37868 * sysdeps/posix/gethostname.c: ... here.
37870 * sysdeps/unix/execve.S: Remove file.
37872 * sysdeps/unix/_exit.S: Remove file.
37874 2012-04-23 Andreas Jaeger <aj@suse.de>
37877 * manual/Makefile: Remove make dist support, there's no
37878 need for a stand-alone documentation tar ball.
37879 (TEXI2DVI): Define always, it's not in Makeconfig.
37882 (edition): Removed.
37883 (glibc-doc-$(edition).tar): Removed
37887 (ETAGS): Remove, it's in Makeconfig.
37888 (move-if-change): Remove, it's in Makeconfig.
37890 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37893 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37894 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37895 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37896 (strtod_l, strtof_l, strtold_l): Remove __wur.
37897 It is not necessarily an error to ignore strtol's return value.
37898 One can reliably look at the stored endptr to decide whether
37899 the number had valid syntax.
37901 2012-04-21 Andreas Jaeger <aj@suse.de>
37904 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37906 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37908 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37909 * sysdeps/unix/sysv/Versions: Remove file.
37911 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37916 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37920 version from __vm86.
37922 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37924 * sysdeps/unix/common/lxstat.c: Remove file.
37925 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37927 * sysdeps/unix/sysv/Makefile: Remove file.
37929 * sysdeps/unix/sysv/direct.h: Remove file.
37931 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37932 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37933 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37934 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37935 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37936 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37937 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37939 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37941 * sysdeps/unix/xmknod.c: Remove file.
37942 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37944 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37946 * sysdeps/unix/sysv/i386/time.S: Remove file.
37948 * sysdeps/unix/fxstat.c: Remove file.
37949 * sysdeps/unix/xstat.c: Likewise.
37950 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37952 * sysdeps/unix/sysv/sigaction.c: Remove file.
37954 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37955 (sysdep_headers): Remove variable.
37956 [termio.h not in sysdep_headers] (generated): Likewise.
37957 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37958 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37959 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37960 * sysdeps/unix/sysv/tcflow.c: Likewise.
37961 * sysdeps/unix/sysv/tcflush.c: Likewise.
37962 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37963 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37964 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37965 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37966 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37968 * sysdeps/unix/siglist.c: Remove file.
37970 * sysdeps/unix/getppid.S: Remove file.
37972 * sysdeps/unix/mkdir.c: Remove file.
37973 * sysdeps/unix/rmdir.c: Likewise.
37975 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37977 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37980 errlist-compat value.
37982 2012-04-18 David S. Miller <davem@davemloft.net>
37984 * sysdeps/generic/memcopy.h (reg_char): Delete.
37985 * debug/strcat_chk.c: Use char, not reg_char.
37986 * debug/strcpy_chk.c: Likewise.
37987 * debug/strncat_chk.c: Likewise.
37988 * debug/strncpy_chk.c: Likewise.
37989 * string/memchr.c: Likewise.
37990 * string/memrchr.c: Likewise.
37991 * string/rawmemchr.c: Likewise.
37992 * string/strcat.c: Likewise.
37993 * string/strchr.c: Likewise.
37994 * string/strchrnul.c: Likewise.
37995 * string/strcmp.c: Likewise.
37996 * string/strcpy.c: Likewise.
37997 * string/strncat.c: Likewise.
37998 * string/strncmp.c: Likewise.
37999 * string/strncpy.c: Likewise.
38001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38003 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38004 __builtin_memcopy is called when src and dest ranges are known to not
38007 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38010 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38011 fwd_align_merge macro call.
38012 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38013 bwd_align_merge macro call.
38014 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38016 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38019 bwd_align_merge macros.
38020 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38021 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38022 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38024 2012-04-18 David S. Miller <davem@davemloft.net>
38026 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38028 2012-04-18 Andreas Jaeger <aj@suse.de>
38031 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38032 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38033 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38035 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38036 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38037 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38039 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38040 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38041 Adjust for changed ldbl-128 files.
38043 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38044 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38045 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38047 2012-04-17 David S. Miller <davem@davemloft.net>
38049 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38051 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38053 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38054 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38055 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38056 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38057 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38058 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38060 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38063 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38064 * math/libm-test.inc: Add ilogb errno and exception tests.
38065 * math/w_ilogb.c: New file: ilogb wrapper.
38066 * math/w_ilogbf.c: New file: ilogbf wrapper.
38067 * math/w_ilogbl.c: New file: ilogbl wrapper.
38068 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38069 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38070 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38071 exception being thrown with 0.0 as argument.
38072 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38073 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38074 exception being thrown with 0.0 as argument.
38075 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38076 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38077 exception being thrown with 0.0 as argument.
38078 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38079 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38080 exception being thrown with 0.0 as argument.
38081 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38082 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38084 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38085 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38086 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38087 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38088 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38089 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38091 2012-04-17 Petr Baudis <pasky@ucw.cz>
38093 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38096 2012-04-16 Marek Polacek <polacek@redhat.com>
38098 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38100 2012-04-16 Marek Polacek <polacek@redhat.com>
38102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38103 operands of fdivp instruction.
38105 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38107 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38108 * elf/tst-auditmod3b.c: Likewise.
38109 * elf/tst-auditmod4b.c: Likewise.
38110 * elf/tst-auditmod5b.c: Likewise.
38111 * elf/tst-auditmod6b.c: Likewise.
38112 * elf/tst-auditmod6c.c: Likewise.
38113 * elf/tst-auditmod7b.c: Likewise.
38114 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38115 * sysdeps/x86_64/preconfigure.in: Likewise.
38116 * sysdeps/x86_64/preconfigure: Regenerated.
38118 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38120 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38123 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38126 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38128 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38131 * locale/iso-639.def: Fix gl language name. Spotted by
38134 2012-04-12 Roland McGrath <roland@hack.frob.com>
38137 * libio/libio.h (__io_write_fn): Update comment.
38139 2012-04-12 Petr Baudis <pasky@ucw.cz>
38142 * stdio.texi (Hook Functions): The user provided writer function
38143 is not allowed to return -1.
38145 2012-04-11 David S. Miller <davem@davemloft.net>
38147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38149 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38151 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38152 Add a leading slash to rtkaio.
38154 2012-04-11 Jim Meyering <meyering@redhat.com>
38157 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38158 It is not necessarily an error to ignore fwrite's return
38159 value. One can reliably use ferror to test for errors after
38162 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38164 * bits/types.h (__snseconds_t): New type.
38165 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38167 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38169 (__SNSECONDS_T_TYPE): Likewise.
38170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38171 (__SNSECONDS_T_TYPE): Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38173 (__SNSECONDS_T_TYPE): Likewise.
38175 2012-04-10 Andreas Jaeger <aj@suse.de>
38178 * manual/time.texi (Processor Time): Return type of times is
38179 elapsed real time since an arbitrary point in the past.
38180 (CPU Time): Move CLK_TCK from here...
38181 (Processor Time): ...to here. Correct description.
38182 * manual/conf.texi (Constants for Sysconf): Correct description of
38185 2012-04-10 David S. Miller <davem@davemloft.net>
38188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38189 where the is a gap between DT_REL(A) and DT_JMPREL.
38191 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38193 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38194 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38195 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38197 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38199 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38200 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38201 (dl_main): Handle --inhibit-cache.
38202 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38204 * elf/dl-load.c (_dl_map_object): Use it.
38205 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38207 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38210 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38211 (__ieee754_powl): Saturate large exponents rather than testing for
38212 overflow of y*log2(x).
38213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38214 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38218 * math/s_ctan.c: Include <float.h>.
38219 (__ctan): Avoid internal overflow or cancellation in calculating
38221 * math/s_ctanf.c: Likewise.
38222 * math/s_ctanl.c: Likewise.
38223 * math/s_ctanh.c: Likewise.
38224 * math/s_ctanhf.c: Likewise.
38225 * math/s_ctanhl.c: Likewise.
38226 * math/libm-test.inc (ctan_test): Add more tests.
38227 (ctanh_test): Likewise.
38228 * sysdeps/i386/fpu/libm-test-ulps: Update.
38229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38231 2012-04-09 Andreas Jaeger <aj@suse.de>
38234 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38235 is an optional BSD extension.
38238 * manual/stdio.texi (Opening Streams): Document additional fopen
38241 2012-04-09 Roland McGrath <roland@hack.frob.com>
38243 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38244 %eax without telling the compiler.
38246 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38249 * manual/install.texi: Use sourceware.org.
38251 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38254 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38255 (__ieee754_pow): Generate overflow and underflow using huge*huge
38256 and tiny*tiny rather than just returning constant infinity or zero
38257 for large exponents.
38258 * math/libm-test.inc (pow_test): Require overflow exceptions for
38259 applicable cases of large exponents.
38262 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38263 (__ieee754_pow): Use iterative multiplication algorithm only for
38264 integer exponents with absolute value below 1024. Check for odd
38265 integer exponents when using algorithm for real exponents.
38266 * math/libm-test.inc (pow_test): Add more tests.
38267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38269 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38272 * math/libm-test.inc (exp_test): Do not allow overflow exception
38275 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38278 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38279 instead of __kernel_standard_f.
38281 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38283 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38284 * sysdeps/x86_64/memset_chk.S: Likewise.
38286 2012-04-08 Andreas Jaeger <aj@suse.de>
38289 * manual/startup.texi (Environment Access): Describe return value
38290 for putenv and setenv.
38293 * manual/filesys.texi (Directory Entries): Add description for
38297 * manual/filesys.texi (Directory Entries): Clarify that it's file
38298 system not operating system in the description of DT_UNKNOWN.
38301 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38303 2012-04-08 Stephen Compall <s11@member.fsf.org>
38306 * manual/llio.texi (Opening and Closing Files): Add cross
38307 reference to explain mode argument.
38309 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38311 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38312 * sysdeps/x86_64/memset_chk.S: Likewise.
38314 2012-04-07 David S. Miller <davem@davemloft.net>
38316 * elf/elf.h (R_SPARC_WDISP10): Define.
38317 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38320 R_SPARC_SIZE64 and R_SPARC_H34.
38322 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38325 conditions and remove no longer applicable assertion.
38327 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38329 * bits/byteswap.h: Include <features.h>.
38330 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38331 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38333 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38335 * bits/byteswap.h (__bswap_16): Removed.
38336 Include <bits/byteswap-16.h> to get __bswap_16.
38337 * sysdeps/i386/bits/byteswap.h: Likewise.
38338 * sysdeps/s390/bits/byteswap.h: Likewise.
38339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38340 * bits/byteswap-16.h: New file.
38341 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38342 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38343 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38344 * string/Makefile (headers): Add bits/byteswap-16.h.
38346 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38349 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38351 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38352 * nss/tst-nss-static.c: New.
38354 2012-04-06 Robert Millan <rmh@gnu.org>
38357 * manual/llio.texi (File Position Primitive): lseek
38358 refers to WHENCE when it really means OFFSET.
38360 2012-04-06 Andreas Jaeger <aj@suse.de>
38362 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38363 strncmp declarations.
38365 * abilist/libc.abilist: Add __poll and __ppoll.
38367 2012-04-05 David S. Miller <davem@davemloft.net>
38369 * scripts/check-local-headers.sh: Accept a host triplet in the
38370 path matched by the exclude regexp.
38372 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38374 * sysdeps/powerpc/powerpc32/dl-machine.h
38375 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38376 * sysdeps/s390/s390-32/dl-machine.h
38377 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38378 * sysdeps/sparc/sparc32/dl-machine.h
38379 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38380 * sysdeps/sparc/sparc64/dl-machine.h
38381 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38383 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38385 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38386 undefined symbol errors.
38388 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38391 2012-04-05 Michael Matz <matz@suse.de>
38394 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38396 2012-04-05 Andreas Jaeger <aj@suse.de>
38399 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38405 which ROUND is no valid rounding mode.
38407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38411 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38413 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38415 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38416 an exception using FPU order intentionally.
38418 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38420 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38421 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38422 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38423 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38425 2012-04-05 Simon Josefsson <simon@josefsson.org>
38428 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38429 EINVAL when BUFLEN is too smal.
38431 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38434 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38435 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38437 2012-04-03 Andreas Jaeger <aj@suse.de>
38440 * manual/setjmp.texi (System V contexts): Fix sentence.
38443 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38444 New macro for this case.
38445 [!__GNUC__] (__bswap_64): New inline function for this case.
38446 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38447 * bits/byteswap.h: Likewise.
38448 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38449 ull, guard with __GLIBC_HAVE_LONG_LONG.
38451 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38452 __GLIBC_HAVE_LONG_LONG.
38454 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38455 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38457 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38461 inptr and inend, rather than using last_ch.
38463 2012-04-02 David S. Miller <davem@davemloft.net>
38465 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38466 * stdio-common/printf-parse.h (read_int): Change return type to
38467 'int', return -1 on INT_MAX overflow.
38468 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38469 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38470 overflows INT_MAX. Check for overflow of in-format-string precision
38471 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38472 SIZE_MAX not INT_MAX for integer overflow test.
38473 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38474 skip the construct in the format string but do not record anything.
38475 * stdio-common/bug22.c: Adjust to test both width/prevision
38476 INT_MAX overflow as well as total length INT_MAX overflow. Check
38477 explicitly for proper errno values.
38479 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38481 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38483 * string/test-strcmp.c [! WIDE]: Likewise.
38484 * time/tst-mktime2.c: Likewise for INT_MAX.
38485 * string/test-string.h: #include <sys/param.h> for MIN.
38487 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38488 * sysdeps/i386/init-first.c (init): Likewise.
38489 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38490 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38491 * sysdeps/sh/init-first.c (init): Likewise.
38493 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38495 * po/ru.po: Update from translation team.
38496 * po/vi.po: Likewise.
38498 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38500 * resolv/nss_dns/dns-host.c: Merge copyright years.
38502 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38505 Optimize memcpy with prefetch if
38506 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38507 src, dst pointers have unequal 16 byte alignments.
38509 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38512 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38513 from a CNAME entry and return the minimum ttl for the query.
38514 (gaih_getanswer_slice): Likewise.
38516 2012-03-30 Jeff Law <law@redhat.com>
38518 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38520 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38521 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38523 * resolv/nss_dns/dns-host.c: Update copyright year.
38525 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38527 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38528 requests to save a system call. Fix check that all bytes are sent.
38530 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38531 comments for sendmmsg.
38533 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38537 with only 1 character between 0x0041 and 0x01b0.
38538 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38539 * wcsmbs/tst-mbsnrtowcs.c: New file.
38541 2012-03-29 David S. Miller <davem@davemloft.net>
38543 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38544 small copies by hand.
38546 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38549 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38550 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38553 2012-03-28 David S. Miller <davem@davemloft.net>
38555 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38556 that branches into memcpy.
38557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38560 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38563 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38564 implementation too.
38565 * sysdeps/sparc/mempcpy.S: New file.
38567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38568 the IFUNC routine in the libc case.
38569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38571 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38573 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38574 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38575 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38576 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38577 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38578 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38580 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38581 loop to 256 bytes instead of 64 bytes and fix test signedness.
38583 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38584 * sysdeps/sparc/sparc32/Makefile: rather than here...
38585 * sysdeps/sparc/sparc64/Makefile: and here.
38587 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38589 * malloc/mallocbug.c: Avoid warnings about unused variables.
38591 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38594 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38595 in the right place. Discard and retry query if response is
38596 larger than input buffer size.
38598 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38603 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38604 x for large integer exponent.
38605 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38606 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38607 sign of result as needed afterwards.
38608 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38610 result for underflowing pow the same as for overflow.
38611 (__kernel_standard_l): Handle powl overflow and underflow here
38612 rather than calling __kernel_standard.
38613 * math/libm-test.inc (pow_test): Add more tests.
38628 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38629 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38630 (__kernel_standard_l): New function.
38631 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38633 * math/w_acosl.c (__acosl): Likewise.
38634 * math/w_asinl.c (__asinl): Likewise.
38635 * math/w_atan2l.c (__atan2l): Likewise.
38636 * math/w_atanhl.c (__atanhl): Likewise.
38637 * math/w_coshl.c (__coshl): Likewise.
38638 * math/w_exp10l.c (__exp10l): Likewise.
38639 * math/w_exp2l.c (__exp2l): Likewise.
38640 * math/w_fmodl.c (__fmodl): Likewise.
38641 * math/w_hypotl.c (__hypotl): Likewise.
38642 * math/w_j0l.c (__j0l, __y0l): Likewise.
38643 * math/w_j1l.c (__j1l, __y1l): Likewise.
38644 * math/w_jnl.c (__jnl, __ynl): Likewise.
38645 * math/w_lgammal.c (__lgammal): Likewise.
38646 * math/w_log10l.c (__log10l): Likewise.
38647 * math/w_log2l.c (__log2l): Likewise.
38648 * math/w_logl.c (__logl): Likewise.
38649 * math/w_powl.c (__powl): Likewise.
38650 * math/w_remainderl.c (__remainderl): Likewise.
38651 * math/w_scalbl.c (sysv_scalbl): Likewise.
38652 * math/w_sinhl.c (__sinhl): Likewise.
38653 * math/w_sqrtl.c (__sqrtl): Likewise.
38654 * math/w_tgammal.c (__tgammal): Likewise.
38655 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38656 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38657 * math/libm-test.inc (acos_test): Add more tests.
38658 (acosh_test): Likewise.
38659 (asin_test): Likewise.
38660 (atanh_test): Likewise.
38661 (exp_test): Likewise.
38662 (exp10_test): Likewise.
38663 (exp2_test): Likewise.
38664 (expm1_test): Likewise.
38665 (lgamma_test): Likewise.
38666 (log_test): Likewise.
38667 (log10_test): Likewise.
38668 (log1p_test): Likewise.
38669 (log2_test): Likewise.
38670 (pow_test): Do not allow some spurious overflow exceptions.
38671 (sqrt_test): Add more tests.
38672 (tgamma_test): Likewise.
38673 (y0_test): Likewise.
38674 (y1_test): Likewise.
38675 (yn_test): Likewise.
38677 2012-03-27 Anton Blanchard <anton@samba.org>
38679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38681 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38685 2012-03-27 David S. Miller <davem@davemloft.net>
38687 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38689 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38690 have-as-vis3 check.
38692 2012-03-27 Andreas Jaeger <aj@suse.de>
38694 * sysdeps/x86_64/elf/configure.in: Moved to ...
38695 * sysdeps/x86_64/configure.in: ... here.
38696 * sysdeps/x86_64/elf/start.S: Moved to ...
38697 * sysdeps/x86_64/start.S: ... here.
38698 * sysdeps/x86_64/elf/configure: Delete.
38700 * sysdeps/x86_64/configure.in: Merge contents from
38701 sysdeps/i386/configure.in (without i686 check).
38703 * sysdeps/i386/elf/Versions: Merge into ...
38704 * sysdeps/i386/Versions: ... this.
38705 * sysdeps/i386/elf/Versions: Delete file.
38706 * sysdeps/i386/elf/start.S: Moved to ...
38707 * sysdeps/i386/start.S: ...here.
38708 * sysdeps/i386/elf/configure.in: Merge into...
38709 * sysdeps/i386/configure.in: ...here.
38710 * sysdeps/i386/elf/configure.in: Delete file.
38711 * sysdeps/i386/elf/configure: Delete file.
38713 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38714 * debug/backtracesyms.c: ... here.
38715 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38716 * debug/backtracesymsfd.c: ... here.
38717 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38718 * sysdeps/generic/ifunc-sel.h: ... here.
38720 * sysdeps/unix/i386/start.c: Delete file.
38721 * sysdeps/unix/sparc/start.c: Delete file.
38722 * sysdeps/unix/start.c: Delete file.
38724 * sysdeps/sh/elf/configure.in: Moved to ...
38725 * sysdeps/sh/configure.in: ... here.
38726 * sysdeps/sh/elf/start.S: Moved to ...
38727 * sysdeps/sh/start.S: ... here.
38728 * sysdeps/sh/elf/configure: Delete file.
38730 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38731 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38732 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38733 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38734 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38735 * sysdeps/powerpc/powerpc64/start.S: here.
38736 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38737 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38738 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38739 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38740 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38742 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38743 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38744 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38745 * sysdeps/powerpc/powerpc32/start.S: ... here.
38746 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38747 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38748 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38750 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38751 * sysdeps/powerpc/ifunc-sel.h: ... here.
38752 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38753 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38755 * sysdeps/sparc/elf/configure.in: Moved to ...
38756 * sysdeps/sparc/configure.in: ... here.
38757 * sysdeps/sparc/elf/configure: Delete file.
38758 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38759 * sysdeps/sparc/sparc32/start.S: ... here.
38760 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38761 * sysdeps/sparc/sparc64/start.S: ... here.
38762 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38763 * sysdeps/sparc/sparc32/Makefile: ... this.
38764 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38765 * sysdeps/sparc/sparc64/Makefile: ... this.
38767 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38768 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38769 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38770 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38771 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38772 * sysdeps/s390/s390-32/setjmp.S: ... here.
38773 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38774 * sysdeps/s390/s390-32/configure.in: ... here.
38775 * sysdeps/s390/s390-32/elf/configure: Delete file.
38776 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38777 * sysdeps/s390/s390-32/start.S: ... here.
38779 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38780 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38781 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38782 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38783 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38784 * sysdeps/s390/s390-64/setjmp.S: ... here.
38785 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38786 * sysdeps/s390/s390-64/configure.in: ... here
38787 * sysdeps/s390/s390-64/elf/configure: Delete file.
38788 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38789 * sysdeps/s390/s390-64/start.S: ... here.
38790 * sysdeps/s390/s390-64/elf/configure: Delete.
38792 * configure.in: Remove support for elf directories in sysdeps.
38794 * configure: Regenerated.
38795 * sysdeps/i386/configure: Regenerated.
38796 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38797 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38798 * sysdeps/s390/s390-32/configure: Regenerated.
38799 * sysdeps/s390/s390-64/configure: Regenerated.
38800 * sysdeps/sh/configure: Regenerated.
38801 * sysdeps/sparc/configure: Regenerated.
38802 * sysdeps/x86_64/configure: Regenerated.
38804 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38809 denormal result into account.
38811 2012-03-25 Roland McGrath <roland@hack.frob.com>
38813 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38814 Reported by Allan McRae <allan@archlinux.org>.
38816 2012-03-23 Jeff Law <law@redhat.com>
38818 * nss/getnssent.c (__nss_getent): Fix typo.
38820 2012-03-23 David S. Miller <davem@davemloft.net>
38822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38824 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38826 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38827 to pad to uint64_t for each field.
38828 (dl_tls_index): Replace unsigned long with uint64_t.
38830 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38831 Paul Pluzhnikov <ppluzhnikov@google.com>
38834 * grp/Makefile (otherlibs): Don't set it.
38835 * inet/Makefile (otherlibs): Likewise.
38836 * login/Makefile (otherlibs): Likewise.
38837 * nscd/Makefile (otherlibs): Likewise.
38838 * posix/Makefile (otherlibs): Likewise.
38839 * pwd/Makefile (otherlibs): Likewise.
38840 * rt/Makefile (otherlibs): Likewise.
38841 * sunrpc/Makefile (otherlibs): Likewise.
38842 * nss/Makefile (otherlibs): Likewise.
38843 Add libnss_files to routines and static-only-routines.
38844 ($(objpfx)getent): Remove rule.
38845 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38846 static-only-routines.
38848 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38851 * math/s_cexp.c: Include <float.h>.
38852 (__cexp): Handle exp result overflowing not necessarily
38853 overflowing both real and imaginary parts of result.
38854 * math/s_cexpf.c: Likewise.
38855 * math/s_cexpl.c: Likewise.
38856 * math/libm-test.inc (cexp_test): Add more tests.
38857 * sysdeps/i386/fpu/libm-test-ulps: Update.
38858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38862 * include/link.h (ELFW): New macro.
38863 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38864 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38868 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38871 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38873 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38875 (struct La_x32_retval): Likewise.
38877 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38879 * sysdeps/x86_64/preconfigure.in: New file.
38880 * sysdeps/x86_64/preconfigure: New generated file.
38882 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38885 * math/e_exp2l.c: Include <float.h>.
38886 (__ieee754_exp2l): Handle overflow and underflow cases
38887 separately. Only pass fractional part of argument to
38889 * math/libm-test.inc (exp2_test): Add more tests.
38891 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38892 negating x to take absolute value.
38893 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38895 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38898 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38899 computing low part if x was negated.
38900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38902 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38904 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38905 la_x32_gnu_pltexit.
38906 (pltexit): Cast int_retval to ptrdiff_t.
38907 * elf/tst-auditmod3b.c: Likewise.
38908 * elf/tst-auditmod4b.c: Likewise.
38909 * elf/tst-auditmod5b.c: Likewise.
38910 * elf/tst-auditmod6b.c: Likewise.
38911 * elf/tst-auditmod6c.c: Likewise.
38912 * elf/tst-auditmod7b.c: Likewise.
38914 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38915 and x32_gnu_pltexit.
38917 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38918 __ELF_NATIVE_CLASS.
38919 (La_x32_regs): New macro.
38920 (La_x32_retval): Likewise.
38921 (la_x32_gnu_pltenter): New function prototype.
38922 (la_x32_gnu_pltexit): Likewise.
38924 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38931 * configure.in (libc_cv_cc_nofma): Check for option to disable
38932 generation of FMA instructions.
38933 * configure: Regenerate.
38934 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38935 * sysdeps/ieee754/dbl-64/Makefile: New file.
38936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38937 Remove brandred-fma4.
38938 (CFLAGS-brandred-fma4.c): Remove.
38939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38942 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38945 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38947 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38948 LLONG_MAX != LONG_MAX.
38949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38950 (_fitoa_word): Likewise.
38951 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38952 LLONG_MAX != LONG_MAX.
38953 * stdio-common/_itowa.h: Include <_itoa.h>.
38954 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38955 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38956 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38957 only if not defined.
38958 (_ITOA_WORD_TYPE): Likewise.
38959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38960 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38962 2012-03-21 David S. Miller <davem@davemloft.net>
38964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38966 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38968 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38969 of x86_64 when setting libc_cv_slibdir, libdir and
38971 * sysdeps/unix/sysv/linux/configure: Regenerated.
38973 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38975 * manual/lang.texi (Old Varargs): Remove section.
38976 (How Variadic): Update menu.
38977 (va_start): Do not mention varargs.h.
38979 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38980 Joseph Myers <joseph@codesourcery.com>
38982 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38984 * configure: Regenerated.
38986 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38988 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38989 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38992 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38995 * Makefile (files-for-dist): Remove NOTES.
38996 (NOTES): Remove rule.
38997 * README: Don't refer to NOTES.
38998 * manual/creature.texi: Don't include macros.texi.
38999 * manual/intro.texi (creature.texi): Remove comment referring to
39002 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39003 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39004 * configure: Regenerated.
39005 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39006 LIBC_TRY_CC_OPTION.
39007 (libc_cv_as_i686): Likewise.
39008 (libc_cv_cc_avx): Likewise.
39009 (libc_cv_cc_sse2avx): Likewise.
39010 (libc_cv_cc_fma4): Likewise.
39011 (libc_cv_cc_novzeroupper): Likewise.
39012 * sysdeps/i386/configure: Regenerated.
39015 * sysdeps/i386/fpu/s_cexp.S: Remove.
39016 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39017 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39018 * math/libm-test.inc (cexp_test): Add more tests.
39019 * sysdeps/i386/fpu/libm-test-ulps: Update.
39020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39022 2012-03-21 Allan McRae <allan@archlinux.org>
39024 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39026 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39029 * math/w_exp2.c: Do not include <float.h>.
39030 (o_threshold, u_threshold): Remove.
39031 (__exp2): Calculate result before checking finiteness and calling
39033 * math/w_exp2f.c: Likewise.
39034 * math/w_exp2l.c: Likewise.
39035 * math/libm-test.inc (exp2_test): Require overflow exception for
39039 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39040 range of signed 64-bit integers before using fistpll. Remove
39041 checks for whether integers fit in mantissa bits.
39042 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39043 the range of signed 32-bit integers before using fistpl. Remove
39044 checks for whether integers fit in mantissa bits.
39045 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39046 (__ieee754_powl): Test for y outside the range of signed 64-bit
39047 integers before using fistpll. Reduce 64-bit values to 63-bit
39049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39050 divide-by-zero is raised for zero to large negative powers.
39051 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39052 (__ieee754_powl): Test for y outside the range of signed 64-bit
39053 integers before using fistpll. Reduce 64-bit values to 63-bit
39055 * math/libm-test.inc (pow_test): Add more tests.
39057 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39059 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39060 <stdio-common/_itoa.h>.
39061 * debug/segfault.c: Likewise.
39062 * elf/dl-cache.c: Likewise.
39063 * elf/dl-minimal.c: Likewise.
39064 * elf/dl-misc.c: Likewise.
39065 * elf/dl-sysdep.c: Likewise.
39066 * elf/dl-version.c: Likewise.
39067 * elf/rtld.c: Likewise.
39068 * hurd/hurdsock.c: Likewise.
39069 * hurd/lookup-retry.c: Likewise.
39070 * malloc/malloc.c: Likewise.
39071 * malloc/mtrace.c: Likewise.
39072 * nscd/nscd_getgr_r.c: Likewise.
39073 * nscd/nscd_getpw_r.c: Likewise.
39074 * nscd/nscd_getserv_r.c: Likewise.
39075 * posix/getopt_init.c: Likewise.
39076 * posix/wordexp.c: Likewise.
39077 * stdio-common/_itoa.c: Likewise.
39078 * stdio-common/printf_fphex.c: Likewise.
39079 * stdio-common/vfprintf.c: Likewise.
39080 * string/_strerror.c: Likewise.
39081 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39082 * sysdeps/i386/i686/hp-timing.h: Likewise.
39083 * sysdeps/mach/_strerror.c: Likewise.
39084 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39085 * sysdeps/mach/hurd/sethostid.c: Likewise.
39086 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39087 * sysdeps/mach/xpg-strerror.c: Likewise.
39088 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39090 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39091 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39092 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39093 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39095 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39096 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39097 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39098 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39099 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39100 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39101 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39102 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39103 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39104 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39105 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39106 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39107 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39108 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39110 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39112 * stdio-common/_itoa.h: Moved to ...
39113 * sysdeps/generic/_itoa.h: Here.
39115 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39117 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39118 instead of "_itoa.h" and "_itowa.h".
39119 * stdio-common/vfprintf.: Likewise.
39121 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39123 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39125 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39126 (__signbit): Likwise.
39127 (llrintf): Likwise.
39130 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39132 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39135 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39137 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39138 OVERFLOW_EXCEPTION_OK.
39139 * math/libm-test.inc ("Philosophy"): Update comment about
39141 (OVERFLOW_EXCEPTION): Define.
39142 (OVERFLOW_EXCEPTION_OK): Likewise.
39143 (INVALID_EXCEPTION_OK): Renumber.
39144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39145 (IGNORE_ZERO_INF_SIGN): Likewise.
39146 (test_exceptions): Handle FE_OVERFLOW.
39147 (exp10_test): Expect overflow exceptions.
39148 (exp2_test): Likewise.
39149 (expm1_test): Likewise.
39150 (nextafter_test): Likewise.
39151 (pow_test): Likewise.
39152 (scalbn_test): Likewise.
39153 (scalbln_test): Likewise.
39155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39157 * sysdeps/x86_64/bits/atomic.h
39158 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39160 (atomic_exchange_acq): Likewise.
39161 (__arch_exchange_and_add_body): Likewise.
39162 (__arch_add_body): Likewise.
39163 (atomic_add_negative): Likewise.
39164 (atomic_add_zero): Likewise.
39166 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39168 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39169 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39173 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39174 Check __x86_64__ instead of __WORDSIZE.
39176 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39178 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39180 2012-03-19 David S. Miller <davem@davemloft.net>
39182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39184 * sysdeps/sparc/fpu/fenv_private.h: New file.
39185 * sysdeps/sparc/fpu/math_private.h: Use it.
39186 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39189 (libc_feholdexcept_setroundl): Remove.
39190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39197 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39198 int64_t instead of long int.
39199 (INSERT_WORDS64): Likwise.
39201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39203 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39204 _Unwind_GetCFA return to _Unwind_Ptr first.
39206 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39209 * math/s_clog.c: Include <float.h>.
39210 (__clog): Scale large or subnormal inputs.
39211 * math/s_clogf.c: Likewise.
39212 * math/s_clogl.c: Likewise.
39213 * math/s_clog10.c: Include <float.h>.
39214 (M_LOG10_2): Define.
39215 (__clog10): Scale large or subnormal inputs.
39216 * math/s_clog10f.c: Likewise.
39217 * math/s_clog10l.c: Likewise.
39218 * math/libm-test.inc (clog_test): Add more tests.
39219 (clog10_test): Likewise.
39220 * sysdeps/i386/fpu/libm-test-ulps: Update.
39221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39226 * math/libm-test.inc (atan2_test): Add another test.
39228 * Makerules (common-objdir-compile): Remove.
39229 * sysdeps/unix/Makefile (config-generated): Do not add
39230 $(unix-generated) to variable.
39231 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39232 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39234 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39236 [generic bits/local_lim.h] (before-compile): Do not append to
39238 [generic bits/local_lim.h] (common-generated): Likewise.
39239 [generic sys/param.h] (before-compile): Do not append to variable.
39240 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39241 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39242 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39245 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39246 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39247 [generic sys/param.h] ($(addprefix
39248 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39249 [generic sys/param.h] (common-generated): Do not append to
39251 [generic sys/param.h] (sysdep_headers): Likewise.
39252 [generic bits/errno.h] (before-compile): Do not append to
39254 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39256 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39257 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39258 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39259 [generic bits/errno.h] (common-generated): Do not append to
39261 [generic bits/ioctls.h] (before-compile): Do not append to
39263 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39265 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39266 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39267 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39269 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39270 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39271 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39272 [generic bits/ioctls.h] (common-generated): Do not append to
39274 [generic sys/syscall.h] (syscall.h): Remove variable.
39275 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39277 [generic sys/syscall.h] (before-compile): Do not append to
39279 [generic sys/syscall.h] (common-generated): Likewise.
39280 * sysdeps/unix/errnos-tmpl.c: Remove file.
39281 * sysdeps/unix/errnos.awk: Likewise.
39282 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39283 * sysdeps/unix/ioctls.awk: Likewise.
39284 * sysdeps/unix/mk-local_lim.c: Likewise.
39285 * sysdeps/unix/snarf-ioctls: Likewise.
39287 2012-03-19 Richard Henderson <rth@twiddle.net>
39289 * sysdeps/i386/fpu/fenv_private.h: New file.
39290 * sysdeps/i386/fpu/math_private.h: Use it.
39291 (math_opt_barrier, math_force_eval): Remove.
39292 (libc_feholdexcept_setround_53bit): Remove.
39293 (libc_feupdateenv_53bit): Remove.
39294 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39295 (math_opt_barrier, math_force_eval): Remove.
39296 (libc_feholdexcept): Remove.
39297 (libc_feholdexcept_setround): Remove.
39298 (libc_fetestexcept, libc_fesetenv): Remove.
39299 (libc_feupdateenv_test): Remove.
39300 (libc_feupdateenv, libc_feholdsetround): Remove.
39301 (libc_feresetround): Remove.
39303 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39304 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39306 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39307 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39308 (libc_feupdateenv_testl): New.
39309 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39310 (libc_feupdateenv_testf): New.
39311 (libc_feupdateenv): Use libc_feupdateenv_test.
39312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39315 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39316 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39317 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39318 (libc_feresetround_noex): New.
39319 (libc_feresetround_noexf): New.
39320 (libc_feresetround_noexl): New.
39321 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39322 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39323 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39324 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39329 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39331 SET_RESTORE_ROUND_NOEX.
39332 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39333 SET_RESTORE_ROUND_NOEXF.
39334 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39335 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39336 (libc_feholdsetroundf): New.
39337 (libc_feresetround, libc_feresetroundf): New.
39339 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39340 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39341 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39343 * sysdeps/generic/math_private.h: Include <fenv.h>.
39344 (default_libc_feholdexcept): New.
39345 (default_libc_feholdexcept_setround): New.
39346 (default_libc_fesetenv, default_libc_feupdateenv): New.
39347 (libc_feholdexcept): Only define if undefined.
39348 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39349 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39350 (libc_feholdexcept_setroundl): Likewise.
39351 (libc_feholdexcept_setround_53bit): Likewise.
39352 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39353 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39354 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39355 (libc_feupdateenv_53bit): Likewise.
39356 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39357 (libc_feholdexcept): Convert from macro to inline function.
39358 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39359 (libc_fesetenv, libc_feupdateenv): Likewise.
39361 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39362 not previously defined.
39363 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39364 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39365 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39366 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39367 * sysdeps/ieee754/flt-32/math_private.h: New file.
39368 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39369 math_private.h below SET_FLOAT_WORD.
39370 (__isnan, __isinf_ns, __finite): Remove.
39371 (__isnanf, __isinf_nsf, __finitef): Remove.
39373 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39377 2012-03-17 David S. Miller <davem@davemloft.net>
39380 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39383 2012-03-16 David S. Miller <davem@davemloft.net>
39385 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39391 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39392 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39393 sysdep_routines when subdir is sysvipc.
39394 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39395 __getshmlba helper.
39397 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39401 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39404 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39407 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39408 (__lround): Renamed to ...
39409 (__llround): This. Replace long int with long long int.
39410 Define lround functions as aliases of llround functions.
39411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39415 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39416 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39417 adresses to uintptr_t. Replace "long int" and "unsigned long
39418 int" with "greg_t" on va_arg.
39420 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39422 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39423 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39425 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39426 Move e_machine check before EI_CLASS check. Handle x32
39427 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39428 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39429 SKIP_EM_IA_64 and include
39430 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39432 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39433 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39434 (add_system_dir): New macro.
39436 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39439 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39450 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39452 * math/w_j0f.c (j0f): Likewise.
39454 * math/w_j0l.c (__j0l): Likewise.
39456 * math/w_j1.c (j1): Likewise.
39458 * math/w_j1f.c (j1f): Likewise.
39460 * math/w_j1l.c (__j1l): Likewise.
39462 * math/w_jn.c (jn): Likewise.
39464 * math/w_jnf.c (jnf): Likewise.
39466 * math/w_jnl.c (__jnl): Likewise.
39468 * math/libm-test.inc (j0_test): Add more tests.
39469 (j1_test): Likewise.
39470 (jn_test): Likewise. Add trailing semicolon to existing test.
39471 (y0_test): Likewise.
39472 (y1_test): Likewise.
39473 * sysdeps/i386/fpu/libm-test-ulps: Update.
39474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39479 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39480 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39482 (__tanl): Set errno for infinite argument.
39483 * sysdeps/i386/fpu/mptan.c: Remove.
39484 * sysdeps/i386/fpu/s_tan.S: Likewise.
39485 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39486 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39487 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39488 * math/libm-test.inc (tan_test): Add more tests and enable more
39489 tests for double and long double.
39490 * sysdeps/i386/fpu/libm-test-ulps: Update.
39491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39493 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39495 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39496 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39498 2012-03-16 Roland McGrath <roland@hack.frob.com>
39500 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39501 * configure.in: Use it for both main tree and add-ons.
39502 * configure: Regenerated.
39504 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39506 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39508 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39514 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39515 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39520 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39522 != 0 for prec == 2.
39523 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39524 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39525 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39526 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39527 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39528 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39529 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39530 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39531 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39532 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39533 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39534 * math/libm-test.inc (cos_test): Add more tests and enable more
39535 tests for long double.
39536 (sin_test): Likewise.
39537 (sincos_test): Likewise.
39538 * sysdeps/i386/fpu/libm-test-ulps: Update.
39539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39541 2012-03-16 David S. Miller <davem@davemloft.net>
39543 * sysdeps/sparc/fpu/math_private.h: New file.
39545 2012-03-15 David S. Miller <davem@davemloft.net>
39547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39557 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39561 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39562 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39564 * sysdeps/sparc/sparc-ifunc.h: New file.
39565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39610 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39612 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39616 2012-03-15 Andreas Jaeger <aj@suse.de>
39619 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39620 ieee754/flt-32 implementation for sin, cos and sincos.
39621 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39622 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39623 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39624 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39625 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39626 ieee754/flt-32 implementation for tan.
39628 * math/libm-test.inc (cos_test): Enable some large input tests for
39630 (sin_test): Likewise.
39631 (sincos_test): Likewise.
39632 (tan_test): Add tests for large input.
39634 * sysdeps/i386/fpu/libm-test-ulps: Update.
39636 2012-03-15 Andreas Jaeger <aj@suse.de>
39639 * math/libm-test.inc (cos_test): Add more test cases.
39640 (sin_test): Likewise.
39641 (sincos_test): Likewise.
39643 2012-03-15 Andreas Jaeger <aj@suse.de>
39646 * math/libm-test.inc (cos_test): Add a test case for large input
39648 (sin_test): Likewise.
39649 (sincos_test): Likewise.
39651 2012-03-15 Andreas Jaeger <aj@suse.de>
39652 Joseph Myers <joseph@codesourcery.com>
39655 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39656 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39657 * sysdeps/i386/fpu/branred.c: Likewise.
39658 * sysdeps/i386/fpu/dosincos.c: Likewise.
39659 * sysdeps/i386/fpu/mpa.c: Likewise.
39660 * sysdeps/i386/fpu/s_cos.S: Likewise.
39661 * sysdeps/i386/fpu/s_sin.S: Likewise.
39662 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39663 * sysdeps/i386/fpu/sincos32.c: Likewise.
39665 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39667 (libc_feupdateenv_53bit): Define.
39668 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39670 (libc_feupdateenv_53bit): Define.
39672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39673 53 bit (without extend i386 double precision).
39675 * math/libm-test.inc (sincos_test): Add tests for large input.
39679 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39681 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39685 2012-03-15 David S. Miller <davem@davemloft.net>
39687 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39688 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39689 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39690 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39715 fmin/fmax sysdep routines.
39716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39718 2012-03-14 David S. Miller <davem@davemloft.net>
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39740 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39792 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39797 * sysdeps/sparc/configure.in: New file.
39798 * sysdeps/sparc/configure: Generate.
39799 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39800 * configure: Regenerate.
39801 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39802 * config.make.in (have-as-vis3): New.
39803 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39804 available use -Av9d instead of -Av9a.
39805 * sysdeps/sparc/sparc64/Makefile: Likewise.
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39821 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39822 fzeros/fnegs to load 0x80000000 into a float register instead of
39824 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39826 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39830 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39831 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39832 ($(inst_includedir)/bits/syscall.h): Remove rule.
39833 ($(objpfx)bits/syscall.d): Include instead of
39834 $(objpfx)syscall-list.d.
39835 (generated): Change syscall-list.h and syscall-list.d to
39836 bits/syscall.h and bits/syscall.d.
39838 2012-03-14 Roland McGrath <roland@hack.frob.com>
39841 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39843 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39846 * math/s_csqrt.c: Include <float.h>.
39847 (__csqrt): Scale large or subnormal inputs.
39848 * math/s_csqrtf.c: Likewise.
39849 * math/s_csqrtl.c: Likewise.
39850 * math/libm-test.inc (csqrt_test): Add more tests.
39851 * sysdeps/i386/fpu/libm-test-ulps: Update.
39852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39855 * math/libm-test.inc (hypot_test): Add more tests.
39857 2012-03-13 David S. Miller <davem@davemloft.net>
39860 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39861 double-precision for the calculation instead of scaling.
39863 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39865 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39866 manipulate bits before adding and subtracting TWO52[sx].
39867 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39872 2012-03-13 David S. Miller <davem@davemloft.net>
39874 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39875 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39877 rtld-global-offsets.h
39878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39880 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39883 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39885 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39886 'err' in the ifdef scope in which it is actually used.
39888 * nss/nss_db/db-init.c: Include string.h
39890 2012-03-12 David S. Miller <davem@davemloft.net>
39892 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39893 masking out of the most significant byte of random value used.
39894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39895 Fix coding style in previous change.
39897 * sysdeps/unix/sysv/linux/kernel-features.h
39898 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39899 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39901 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39904 2012-03-11 David S. Miller <davem@davemloft.net>
39906 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39907 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39909 for 'resultvar' otherwise things get truncated on 64-bit.
39911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39912 Fix masking out of the most significant byte of random value used.
39914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39916 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39920 2012-03-09 David S. Miller <davem@davemloft.net>
39922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39923 variables with appropriate CPP guards.
39924 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39925 from the frame pointer, not the stack pointer. Correct layout
39926 comments. Fix test on resulting framesize and the management of
39927 the outregs buffer for pltexit. Preserve floating point return
39928 values across _dl_call_pltexit call.
39929 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39930 framesize and the management of the outregs buffer for pltexit.
39931 Preserve floating point return values across _dl_call_pltexit
39933 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39934 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39935 (la_sparc64_gnu_pltexit): New functions.
39936 (print_exit): Fix format string for return register value.
39938 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39940 * sunrpc/Makefile (others): Add rpcgen.
39941 ($(objpfx)rpcgen): Remove special build rule and dependency on
39943 * sunrpc/rpcgen.c: New file.
39945 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39948 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39949 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39950 * sysdeps/i386/crti.S: Likewise.
39951 * sysdeps/i386/crtn.S: Likewise.
39952 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39953 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39954 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39955 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39956 * sysdeps/sh/crti.S: Likewise.
39957 * sysdeps/sh/crtn.S: Likewise.
39958 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39961 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39963 * locale/programs/locfile-kw.gperf: Likewise.
39964 * locale/programs/charmap-kw.h: Regenerated.
39965 * locale/programs/locfile-kw.h: Likewise.
39968 * intl/plural.y: Replace FSF snail mail address with URL.
39969 * intl/plural.c: Regenerated.
39971 2012-03-09 Richard Henderson <rth@twiddle.net>
39973 * include/math_private.h: Remove file.
39974 * math/math_private.h: Move file ...
39975 * sysdeps/generic/math_private.h: ... here.
39977 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39978 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39979 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39981 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39982 and <math_private.h>.
39983 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39984 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39985 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39986 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39987 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40071 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40087 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40088 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40089 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40090 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40095 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40096 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40098 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40099 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40100 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40102 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40103 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40104 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40108 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40111 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40113 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40115 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40116 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40117 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40118 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40119 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40120 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40121 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40124 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40125 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40126 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40129 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40130 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40131 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40132 * sysdeps/ieee754/k_standard.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40260 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40265 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40269 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40293 * sysdeps/ieee754/s_lib_version.c: Likewise.
40294 * sysdeps/ieee754/s_matherr.c: Likewise.
40295 * sysdeps/ieee754/s_signgam.c: Likewise.
40296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40298 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40299 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40300 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40302 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40303 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40304 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40305 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40306 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40307 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40311 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40318 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40320 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40321 * sunrpc/rpc_main.c: Likewise.
40322 * sunrpc/rpc_svcout.c: Likewise.
40324 2012-03-09 David S. Miller <davem@davemloft.net>
40326 * include/math_private.h: New file.
40328 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40330 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40331 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40332 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40333 from <bits/socket_type.h>.
40334 (enum __socket_type): Don't define here.
40335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40337 bits/socket_type.h.
40340 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40341 checking __USE_GNU.
40343 * Makerules ($(inst_includedir)/%.h): New rule.
40344 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40345 (install-others): Remove variable setting.
40346 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40348 2012-03-08 Richard Henderson <rth@twiddle.net>
40350 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40351 from macro to inline function; merge with the
40352 !__LIBC_INTERNAL_MATH_INLINES version.
40353 (__ieee754_sqrtf): Likewise.
40355 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40356 to inline function.
40357 (__rintf, __floor, __floorf): Likewise.
40359 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40360 macro to inline function.
40361 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40364 not <math/math_private.h>.
40366 2012-03-08 David S. Miller <davem@davemloft.net>
40368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40370 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40372 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40374 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40376 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40377 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40379 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40381 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40382 be defined individually, they must be defined as a block. Define
40383 S for printing a string instead of hidint the different by using a
40384 macro for adding the 'l'.
40385 * stdio-common/tst-fphex-wide.c: Adjust.
40387 2012-03-07 Marek Polacek <polacek@redhat.com>
40389 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40391 2012-03-08 Marek Polacek <polacek@redhat.com>
40394 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40395 * stdio-common/tst-fphex.c: Define a few macros to make the
40396 test reusable. Use them.
40397 * stdio-common/tst-fphex-wide.c: New file.
40399 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40402 * manual/macros.texi (gnusystems): New macro.
40403 (nongnusystems): Likewise.
40404 (gnulinuxhurdsystems): Likewise.
40405 (gnuhurdsystems): Likewise..
40406 (gnulinuxsystems): Likewise.
40407 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40408 variants of the GNU system, not "GNU system".
40409 * manual/conf.texi: Likewise.
40410 * manual/errno.texi: Likewise. Update example of errno macro
40412 * manual/filesys.texi: Likewise.
40413 (getumask): Document as specific to GNU/Hurd.
40414 * manual/install.texi: Likewise. Reword some references to
40416 * manual/intro.texi: Likewise.
40417 * manual/io.texi: Likewise.
40418 (File Name Portability): Detail which constraints are inapplicable
40419 to all GNU systems and which are only inapplicable to GNU/Hurd.
40420 * manual/job.texi: Likewise.
40421 * manual/llio.texi: Likewise.
40422 (O_NOCTTY): Document as present on GNU/Linux.
40423 * manual/maint.texi: Likewise.
40424 * manual/memory.texi: Likewise.
40425 * manual/pattern.texi: Likewise.
40426 * manual/pipe.texi: Likewise.
40427 * manual/process.texi: Likewise.
40428 * manual/resource.texi: Likewise.
40429 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40431 * manual/setjmp.texi: Likewise.
40432 * manual/signal.texi: Likewise.
40433 * manual/startup.texi: Likewise.
40434 * manual/stdio.texi: Likewise.
40435 * manual/terminal.texi: Likewise.
40436 (ONLCR): Document as POSIX.
40437 (OXTABS): Document availability on GNU/Linux as XTABS.
40438 (ONOEOT): Document availability separately from other bits.
40439 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40440 * manual/time.texi: Likewise.
40441 * manual/users.texi: Likewise.
40442 * INSTALL: Regenerated.
40443 * sysdeps/gnu/errlist.c: Regenerated.
40445 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40446 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40447 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40449 * configure: Regenerated.
40451 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40453 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40454 default includes instead of AC_HEADER_CHECK.
40455 * sysdeps/i386/configure: Regenerated.
40458 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40459 * math/s_cacoshf.c (__cacoshf): Likewise.
40460 * math/s_cacoshl.c (__cacoshl): Likewise.
40461 * math/s_casinh.c (__casinh): Set signs of result from argument.
40462 * math/s_casinhf.c (__casinhf): Likewise.
40463 * math/s_casinhl.c (__casinhl): Likewise.
40464 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40465 (casinh_test): Add more tests.
40466 * sysdeps/i386/fpu/libm-test-ulps: Update.
40467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40469 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40471 * po/zh_TW.po: Update from translation team.
40473 * login/Makefile (distribute): Remove variable.
40474 * catgets/Makefile: Likewise.
40475 * mach/Makefile: Likewise.
40476 * malloc/Makefile: Likewise.
40477 * misc/Makefile: Likewise.
40478 * iconv/Makefile: Likewise.
40479 * nscd/Makefile: Likewise.
40480 * hurd/Makefile: Likewise.
40481 * manual/Makefile: Likewise.
40482 * locale/Makefile: Likewise.
40483 * intl/Makefile: Likewise.
40484 * conform/Makefile: Likewise.
40485 * nss/Makefile: Likewise.
40486 * time/Makefile: Likewise.
40487 * soft-fp/Makefile: Likewise.
40488 * dirent/Makefile: Likewise.
40489 * gmon/Makefile: Likewise.
40490 * po/Makefile: Likewise.
40491 * rt/Makefile: Likewise.
40492 * socket/Makefile: Likewise.
40493 * math/Makefile: Likewise.
40494 * signal/Makefile: Likewise.
40495 * debug/Makefile: Likewise.
40496 * elf/Makefile: Likewise.
40497 * timezone/Makefile: Likewise.
40498 * stdlib/Makefile: Likewise.
40499 * iconvdata/Makefile: Likewise.
40500 * sunrpc/Makefile: Likewise.
40501 * io/Makefile: Likewise.
40502 * argp/Makefile: Likewise.
40503 * inet/Makefile: Likewise.
40504 * hesiod/Makefile: Likewise.
40505 * grp/Makefile: Likewise.
40506 * csu/Makefile: Likewise.
40507 * wctype/Makefile: Likewise.
40508 * crypt/Makefile: Likewise.
40509 * libio/Makefile: Likewise.
40510 * string/Makefile: Likewise.
40511 * nis/Makefile: Likewise.
40512 * resolv/Makefile: Likewise.
40513 * stdio-common/Makefile: Likewise.
40514 * wcsmbs/Makefile: Likewise.
40515 * dlfcn/Makefile: Likewise.
40516 * posix/Makefile: Likewise.
40519 * timezone/Makefile: Don't install timezone files, just the programs
40522 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40524 * nss/databases.def: Add missing gshadow entry.
40526 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40528 2012-03-06 Marek Polacek <polacek@redhat.com>
40531 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40532 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40533 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40534 * stdio-common/tst-long-dbl-fphex.c: New file.
40536 2012-03-06 David S. Miller <davem@davemloft.net>
40538 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40539 (set_obp_int): New function.
40540 (get_obp_int): New function.
40541 (__get_clockfreq_via_dev_openprom): Likewise.
40542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40543 Avoid unused variable warnings on 'val' and use builtin_expect.
40544 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40546 (INLINE_CLONE_SYSCALL): Likewise.
40548 2012-03-05 David S. Miller <davem@davemloft.net>
40550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40552 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40557 only for |x| >= 40.
40558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40560 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40563 Replace gettimeofday with __vdso_gettimeofday.
40565 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40566 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40567 __vdso_clock_gettime and __vdso_getcpu.
40569 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40570 time with __vdso_time.
40572 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40574 * manual/lang.texi (size_t): Note types to which size_t may be
40575 equivalent with the GNU C Library, but do not describe when
40576 differences between them are significant.
40578 2012-03-05 Andreas Jaeger <aj@suse.de>
40580 * sysdeps/i386/fpu/libm-test-ulps: Update.
40582 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40585 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40586 (__ieee754_pow): Save and restore rounding mode and use
40587 round-to-nearest for main computations.
40588 * math/libm-test.inc (pow_test_tonearest): New function.
40589 (pow_test_towardzero): Likewise.
40590 (pow_test_downward): Likewise.
40591 (pow_test_upward): Likewise.
40592 (main): Call the new functions.
40593 * sysdeps/i386/fpu/libm-test-ulps: Update.
40594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40597 * math/libm-test.inc (cosh_test_tonearest): New function.
40598 (cosh_test_towardzero): Likewise.
40599 (cosh_test_downward): Likewise.
40600 (cosh_test_upward): Likewise.
40601 (sinh_test_tonearest): Likewise.
40602 (sinh_test_towardzero): Likewise.
40603 (sinh_test_downward): Likewise.
40604 (sinh_test_upward): Likewise.
40605 (main): Call the new functions.
40606 * sysdeps/i386/fpu/libm-test-ulps: Update.
40607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40609 2012-03-05 Tom de Vries <tom@codesourcery.com>
40611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40612 default stack guard is set in last bytes.
40613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40615 2012-03-05 Kees Cook <keescook@chromium.org>
40617 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40620 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40621 possibly allocate from heap instead of stack.
40622 * stdio-common/bug-vfprintf-nargs.c: New file.
40623 * stdio-common/Makefile (tests): Add nargs overflow test.
40625 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40629 2012-03-03 Marek Polacek <polacek@redhat.com>
40631 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40632 * math/math_private.h: Likewise.
40633 * stdlib/tst-strtod.c: Likewise.
40634 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40635 * sysdeps/x86_64/bits/atomic.h: Likewise.
40637 2012-03-02 David S. Miller <davem@davemloft.net>
40639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40643 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40644 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40645 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40646 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40648 2012-03-02 Roland McGrath <roland@hack.frob.com>
40651 * manual/examples/README: New file, says the example source files
40652 can be used under GPL>=2.
40653 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40654 line containing just "*/".
40655 * manual/examples/add.c: Add copyright header (GPL>=2).
40656 * manual/examples/argp-ex1.c: Likewise.
40657 * manual/examples/argp-ex2.c: Likewise.
40658 * manual/examples/argp-ex3.c: Likewise.
40659 * manual/examples/argp-ex4.c: Likewise.
40660 * manual/examples/atexit.c: Likewise.
40661 * manual/examples/db.c: Likewise.
40662 * manual/examples/dir.c: Likewise.
40663 * manual/examples/dir2.c: Likewise.
40664 * manual/examples/execinfo.c: Likewise.
40665 * manual/examples/filecli.c: Likewise.
40666 * manual/examples/filesrv.c: Likewise.
40667 * manual/examples/fmtmsgexpl.c: Likewise.
40668 * manual/examples/genpass.c: Likewise.
40669 * manual/examples/inetcli.c: Likewise.
40670 * manual/examples/inetsrv.c: Likewise.
40671 * manual/examples/isockad.c: Likewise.
40672 * manual/examples/longopt.c: Likewise.
40673 * manual/examples/memopen.c: Likewise.
40674 * manual/examples/memstrm.c: Likewise.
40675 * manual/examples/mkfsock.c: Likewise.
40676 * manual/examples/mkisock.c: Likewise.
40677 * manual/examples/mygetpass.c: Likewise.
40678 * manual/examples/pipe.c: Likewise.
40679 * manual/examples/popen.c: Likewise.
40680 * manual/examples/rprintf.c: Likewise.
40681 * manual/examples/search.c: Likewise.
40682 * manual/examples/select.c: Likewise.
40683 * manual/examples/setjmp.c: Likewise.
40684 * manual/examples/sigh1.c: Likewise.
40685 * manual/examples/sigusr.c: Likewise.
40686 * manual/examples/stpcpy.c: Likewise.
40687 * manual/examples/strdupa.c: Likewise.
40688 * manual/examples/strftim.c: Likewise.
40689 * manual/examples/strncat.c: Likewise.
40690 * manual/examples/subopt.c: Likewise.
40691 * manual/examples/swapcontext.c: Likewise.
40692 * manual/examples/termios.c: Likewise.
40693 * manual/examples/testopt.c: Likewise.
40694 * manual/examples/testpass.c: Likewise.
40695 * manual/examples/timeval_subtract.c: Likewise.
40698 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40700 * manual/timeval_subtract.c.texi: ... here, new file.
40702 2012-03-02 David S. Miller <davem@davemloft.net>
40704 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40706 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40709 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40710 (__sin): Save and restore rounding mode and use round-to-nearest
40711 for all computations.
40712 (__cos): Save and restore rounding mode and use round-to-nearest
40713 for all computations.
40714 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40716 (tan): Save and restore rounding mode and use round-to-nearest for
40718 * math/libm-test.inc (cos_test_tonearest): New function.
40719 (cos_test_towardzero): Likewise.
40720 (cos_test_downward): Likewise.
40721 (cos_test_upward): Likewise.
40722 (sin_test_tonearest): Likewise.
40723 (sin_test_towardzero): Likewise.
40724 (sin_test_downward): Likewise.
40725 (sin_test_upward): Likewise.
40726 (tan_test_tonearest): Likewise.
40727 (tan_test_towardzero): Likewise.
40728 (tan_test_downward): Likewise.
40729 (tan_test_upward): Likewise.
40730 (main): Call the new functions.
40731 * sysdeps/i386/fpu/libm-test-ulps: Update.
40732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40735 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40736 small n, then large n, before computing and testing k+n.
40737 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40740 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40742 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40743 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40749 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40750 * math/libm-test.inc (scalbn_test): Add more tests.
40751 (scalbln_test): Likewise.
40753 * manual/filesys.texi (mode_t): Describe constraints on size and
40754 signedness, not exact equivalence to a particular type.
40756 (ino64_t): Likewise.
40758 (nlink_t): Likewise.
40759 (blkcnt_t): Likewise.
40760 (blkcnt64_t): Likewise.
40761 * manual/llio.texi (off_t): Likewise.
40764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40765 (__ieee754_exp): Save and restore rounding mode and use
40766 round-to-nearest for all computations.
40767 * math/libm-test.inc (exp_test_tonearest): New function.
40768 (exp_test_towardzero): Likewise.
40769 (exp_test_downward): Likewise.
40770 (exp_test_upward): Likewise.
40771 (main): Call the new functions.
40772 * sysdeps/i386/fpu/libm-test-ulps: Update.
40773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40775 2012-03-01 Chris Demetriou <cgd@google.com>
40777 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40778 have predictable order.
40780 2012-03-01 David S. Miller <davem@davemloft.net>
40782 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40784 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40785 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40786 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40787 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40789 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40790 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40791 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40793 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40794 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40795 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40796 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40797 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40802 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40803 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40805 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40807 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40808 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40809 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40812 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40813 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40814 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40815 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40816 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40818 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40819 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40821 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40822 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40823 * sysdeps/sparc/elf/configure: Regenerated.
40825 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40827 * configure.in (AS, LD): Require binutils 2.20 or later.
40828 * configure: Regenerated.
40829 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40830 as required minimum version.
40831 * INSTALL: Regenerated.
40835 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40836 before squaring exponent.
40837 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40838 bottom long double and 27 bits of top long double before squaring
40840 * math/libm-test.inc (erfc_test): Add more tests.
40841 * sysdeps/i386/fpu/libm-test-ulps: Update.
40842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40845 2012-03-01 Kai Tietz <ktietz@redhat.com>
40847 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40848 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40849 containing bit-fields.
40850 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40851 * soft-fp/single.h (_FP_UNION_S): Likewise.
40852 * soft-fp/double.h (_FP_UNION_D): Likewise.
40854 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40857 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40858 not include ../strcmp.S.
40859 [USE_AS_STRNCASECMP_L]: Likewise.
40860 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40861 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40862 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40863 (__strncasecmp_l_ia32): Define as alias to
40864 __strncasecmp_l_nonascii.
40867 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40868 * sysdeps/i386/fpu/libm-test-ulps: Update.
40869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40871 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40874 2012-02-29 Jeff Law <law@redhat.com>
40876 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40877 out of bounds read.
40879 2012-02-29 Marek Polacek <polacek@redhat.com>
40882 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40883 * elf/Makefile: Add rules to run tst-unused-dep.out.
40885 2012-02-28 David S. Miller <davem@davemloft.net>
40887 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40888 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40891 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40892 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40894 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40896 * math/libm-test.inc (llround_test): Move one test from
40897 lround_test. Use TEST_f_L in moved test.
40898 (lround_test): Move misplaced test to llround_test. Add testcase
40901 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40903 * sysdeps/x86_64/fpu/e_expf.S: New file.
40904 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40906 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40909 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40910 of remain_len that may cause incomplete multi-byte character and
40912 * posix/bug-regex33.c: New file.
40913 * posix/Makefile (tests): Add bug-regex33.
40915 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40917 * manual/macros.texi: New file.
40918 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40919 * manual/libc.texinfo: Include macros.texi.
40920 * manual/creatute.texi: Likewise.
40921 * manual/install.texi: Likewise.
40922 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40923 @glibcadj{} in references to the GNU C Library.
40924 * manual/charset.texi: Likewise.
40925 * manual/conf.texi: Likewise.
40926 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40927 when not using those macros.
40928 * manual/creature.texi: Likewise.
40929 * manual/crypt.texi: Likewise.
40930 * manual/errno.texi: Likewise.
40931 * manual/filesys.texi: Likewise.
40932 * manual/header.texi: Likewise.
40933 * manual/install.texi: Likewise.
40934 * manual/intro.texi: Likewise.
40935 * manual/io.texi: Likewise.
40936 * manual/job.texi: Likewise.
40937 * manual/lang.texi: Likewise.
40938 * manual/libc.texiinfo: Likewise.
40939 * manual/llio.texi: Likewise.
40940 * manual/locale.texi: Likewise.
40941 * manual/maint.texi: Likewise.
40942 * manual/math.texi: Likewise.
40943 * manual/memory.texi: Likewise.
40944 * manual/message.texi: Likewise.
40945 * manual/nss.texi: Likewise.
40946 * manual/pattern.texi: Likewise.
40947 * manual/process.texi: Likewise.
40948 * manual/resource.texi: Likewise.
40949 * manual/search.texi: Likewise.
40950 * manual/setjmp.texi: Likewise.
40951 * manual/signal.texi: Likewise.
40952 * manual/socket.texi: Likewise.
40953 * manual/startup.texi: Likewise.
40954 * manual/stdio.texi: Likewise.
40955 * manual/string.texi: Likewise.
40956 * manual/sysinfo.texi: Likewise.
40957 * manual/syslog.texi: Likewise.
40958 * manual/terminal.texi: Likewise.
40959 * manual/time.texi: Likewise.
40960 * manual/users.texi: Likewise.
40961 * INSTALL: Regenerated.
40962 * NOTES: Regenerated.
40963 * sysdeps/gnu/errlist.c: Regenerated.
40965 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40967 * include/dirent.h: Include <dirstream.h> before
40970 2012-02-28 David S. Miller <davem@davemloft.net>
40972 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40973 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40974 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40977 2012-02-27 David S. Miller <davem@davemloft.net>
40979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40981 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40982 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40985 frame pointer instead of stack pointer relative arg slot.
40986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40987 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40988 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40990 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40993 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40995 2012-02-27 David S. Miller <davem@davemloft.net>
40997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41001 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41002 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41003 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41004 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41006 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41008 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41009 later. Allow versions 5-9.
41010 * configure: Regenerated.
41011 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41012 required minimum version and 4.6 as recommended version. Do not
41013 mention bugs in GCC 2.7 and 2.8.
41014 * INSTALL: Regenerated.
41016 2012-02-27 David S. Miller <davem@davemloft.net>
41018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41022 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41023 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41024 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41025 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41027 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41028 manipulate bits before adding and subtracting TWO112[sx].
41029 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41031 2012-02-27 Roland McGrath <roland@hack.frob.com>
41034 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41035 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41036 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41037 being in POSIX, because they are in 1003.1-2008.
41039 * rt/tst-aio.c: Include <fcntl.h>.
41040 * rt/tst-aio7.c: Likewise.
41041 * rt/tst-aio64.c: Likewise.
41043 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41045 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41047 * manual/install.texi (--with-headers): Describe headers as
41048 interface headers, not private headers.
41049 (Specific advice for GNU/Linux systems): Describe use of headers
41050 from "make headers_install", not private headers from older
41052 * INSTALL: Regenerated.
41053 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41055 * sysdeps/unix/sysv/linux/configure: Regenerated.
41057 * manual/llio.texi (fclean): Remove documentation.
41059 * manual/Makefile (libc-texi-generated): New variable. Include
41061 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41062 $(libc-texi-generated), not duplicated list of files.
41063 (version.texi, stamp-version): New rules.
41064 (realclean): Remove $(libc-texi-generated), not individual files
41065 from that list. Do not remove dir-add.texinfo.
41066 * manual/libc.texinfo: Comment out uses of edition numbers and
41067 references to printed manual. Remove last-updated dates.
41068 (EDITION): Comment out.
41070 (VERSION, UPDATED): Remove.
41071 (version.texi): Include.
41073 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41075 * sysdeps/posix/spawni.c: Include <signal.h>.
41076 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41077 * sysdeps/pthread/aio_fsync.c: Likewise.
41079 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41081 * conform/Makefile (tests): Run only when not cross-compiling and
41082 when fast-check is not defined.
41084 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41085 * conform/data/limits.h-data: Fixes for POSIX2008.
41086 * conform/run-conformtest.sh: Run all tests.
41087 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41089 * include/bits/dlfcn.h: Likewise.
41090 * include/langinfo.h: Likewise.
41091 * include/monetary.h: Likewise.
41092 * include/sys/poll.h: Likewise.
41094 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41096 * posix/spawn.h: Define __need_sigset_t.
41097 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41098 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41099 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41100 to get sigevent_t only.
41101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41102 only for __USE_GNU.
41103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41105 process_vm_writev only for __USE_GNU.
41106 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41108 * conform/Makefile: For now ignore errors from run-conformtest.
41109 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41110 POSIX to avoid namespace pollution. Don't prepend headers.
41111 * conform/data/aio.h-data: Fixes for POSIX testing.
41112 * conform/data/fcntl.h-data: Likewise.
41113 * conform/data/glob.h-data: Likewise.
41114 * conform/data/grp.h-data: Likewise.
41115 * conform/data/pthread.h-data: Likewise.
41116 * conform/data/pwd.h-data: Likewise.
41117 * conform/data/signal.h-data: Likewise.
41118 * conform/data/spawn.h-data: Likewise.
41119 * conform/data/stdio.h-data: Likewise.
41120 * conform/data/stdlib.h-data: Likewise.
41121 * conform/data/stropts.h-data: Likewise.
41122 * conform/data/sys/mman.h-data: Likewise.
41123 * conform/data/sys/stat.h-data: Likewise.
41124 * conform/data/sys/types.h-data: Likewise.
41125 * conform/data/sys/wait.h-data: Likewise.
41126 * conform/data/time.h-data: Likewise.
41127 * conform/data/unistd.h-data: Likewise.
41128 * conform/data/utime.h-data: Likewise.
41130 * io/sys/stat.h: fchmod was always in POSIX.
41131 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41132 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41133 * rt/aio.h: Define __need_timespec before including <time.h>.
41134 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41135 struct. Add forward declaration of pthread_attr_t and use it in
41137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41138 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41139 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41140 always remove CLK_TCK definition.
41142 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41144 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41146 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41148 * conform/run-conformtest.sh: New file.
41149 * conform/Makefile: Run run-conformtest for tests.
41150 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41153 * conform/data/uchar.h-data: New file.
41154 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41155 * conform/data/arpa/inet.h-data: Likewise.
41156 * conform/data/assert.h-data: Likewise.
41157 * conform/data/complex.h-data: Likewise.
41158 * conform/data/cpio.h-data: Likewise.
41159 * conform/data/ctype.h-data: Likewise.
41160 * conform/data/dirent.h-data: Likewise.
41161 * conform/data/dlfcn.h-data: Likewise.
41162 * conform/data/errno.h-data: Likewise.
41163 * conform/data/fcntl.h-data: Likewise.
41164 * conform/data/float.h-data: Likewise.
41165 * conform/data/fmtmsg.h-data: Likewise.
41166 * conform/data/fnmatch.h-data: Likewise.
41167 * conform/data/ftw.h-data: Likewise.
41168 * conform/data/glob.h-data: Likewise.
41169 * conform/data/grp.h-data: Likewise.
41170 * conform/data/iconv.h-data: Likewise.
41171 * conform/data/inttypes.h-data: Likewise.
41172 * conform/data/langinfo.h-data: Likewise.
41173 * conform/data/libgen.h-data: Likewise.
41174 * conform/data/limits.h-data: Likewise.
41175 * conform/data/locale.h-data: Likewise.
41176 * conform/data/math.h-data: Likewise.
41177 * conform/data/monetary.h-data: Likewise.
41178 * conform/data/mqueue.h-data: Likewise.
41179 * conform/data/ndbm.h-data: Likewise.
41180 * conform/data/net/if.h-data: Likewise.
41181 * conform/data/netdb.h-data: Likewise.
41182 * conform/data/netinet/in.h-data: Likewise.
41183 * conform/data/nl_types.h-data: Likewise.
41184 * conform/data/poll.h-data: Likewise.
41185 * conform/data/pthread.h-data: Likewise.
41186 * conform/data/pwd.h-data: Likewise.
41187 * conform/data/regex.h-data: Likewise.
41188 * conform/data/sched.h-data: Likewise.
41189 * conform/data/search.h-data: Likewise.
41190 * conform/data/semaphore.h-data: Likewise.
41191 * conform/data/setjmp.h-data: Likewise.
41192 * conform/data/signal.h-data: Likewise.
41193 * conform/data/spawn.h-data: Likewise.
41194 * conform/data/stdarg.h-data: Likewise.
41195 * conform/data/stdio.h-data: Likewise.
41196 * conform/data/stdlib.h-data: Likewise.
41197 * conform/data/string.h-data: Likewise.
41198 * conform/data/strings.h-data: Likewise.
41199 * conform/data/stropts.h-data: Likewise.
41200 * conform/data/sys/ipc.h-data: Likewise.
41201 * conform/data/sys/mman.h-data: Likewise.
41202 * conform/data/sys/msg.h-data: Likewise.
41203 * conform/data/sys/resource.h-data: Likewise.
41204 * conform/data/sys/select.h-data: Likewise.
41205 * conform/data/sys/sem.h-data: Likewise.
41206 * conform/data/sys/shm.h-data: Likewise.
41207 * conform/data/sys/socket.h-data: Likewise.
41208 * conform/data/sys/stat.h-data: Likewise.
41209 * conform/data/sys/statvfs.h-data: Likewise.
41210 * conform/data/sys/time.h-data: Likewise.
41211 * conform/data/sys/timeb.h-data: Likewise.
41212 * conform/data/sys/times.h-data: Likewise.
41213 * conform/data/sys/types.h-data: Likewise.
41214 * conform/data/sys/uio.h-data: Likewise.
41215 * conform/data/sys/un.h-data: Likewise.
41216 * conform/data/sys/utsname.h-data: Likewise.
41217 * conform/data/sys/wait.h-data: Likewise.
41218 * conform/data/syslog.h-data: Likewise.
41219 * conform/data/tar.h-data: Likewise.
41220 * conform/data/termios.h-data: Likewise.
41221 * conform/data/utime.h-data: Likewise.
41222 * conform/data/utmpx.h-data: Likewise.
41223 * conform/data/varargs.h-data: Likewise.
41224 * conform/data/wchar.h-data: Likewise.
41225 * conform/data/wctype.h-data: Likewise.
41226 * conform/data/wordexp.h-data: Likewise.
41228 * include/stropts.h: New file.
41229 * include/uchar.h: New file.
41230 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41231 * include/assert.h: Likewise.
41232 * include/ctype.h: Likewise.
41233 * include/dirent.h: Likewise.
41234 * include/dlfcn.h: Likewise.
41235 * include/fcntl.h: Likewise.
41236 * include/fnmatch.h: Likewise.
41237 * include/glob.h: Likewise.
41238 * include/grp.h: Likewise.
41239 * include/libio.h: Likewise.
41240 * include/locale.h: Likewise.
41241 * include/math.h: Likewise.
41242 * include/net/if.h: Likewise.
41243 * include/netdb.h: Likewise.
41244 * include/netinet/in.h: Likewise.
41245 * include/pthread.h: Likewise.
41246 * include/pwd.h: Likewise.
41247 * include/regex.h: Likewise.
41248 * include/sched.h: Likewise.
41249 * include/search.h: Likewise.
41250 * include/setjmp.h: Likewise.
41251 * include/signal.h: Likewise.
41252 * include/stdio.h: Likewise.
41253 * include/stdlib.h: Likewise.
41254 * include/string.h: Likewise.
41255 * include/sys/cdefs.h: Likewise.
41256 * include/sys/mman.h: Likewise.
41257 * include/sys/msg.h: Likewise.
41258 * include/sys/resource.h: Likewise.
41259 * include/sys/select.h: Likewise.
41260 * include/sys/socket.h: Likewise.
41261 * include/sys/stat.h: Likewise.
41262 * include/sys/statvfs.h: Likewise.
41263 * include/sys/time.h: Likewise.
41264 * include/sys/times.h: Likewise.
41265 * include/sys/uio.h: Likewise.
41266 * include/sys/utsname.h: Likewise.
41267 * include/sys/wait.h: Likewise.
41268 * include/termios.h: Likewise.
41269 * include/time.h: Likewise.
41270 * include/ulimit.h: Likewise.
41271 * include/unistd.h: Likewise.
41272 * include/utime.h: Likewise.
41273 * include/wchar.h: Likewise.
41274 * include/wctype.h: Likewise.
41275 * include/wordexp.h: Likewise.
41277 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41279 * time/time.h: TIME_UTC must be a macro.
41280 Make timespec_get available for ISO C11 only as well.
41282 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41284 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41285 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41289 * configure.in: Use -o not -a in test for unsupported multi-arch.
41291 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41293 * manual/texinfo.tex: Update to version 2012-01-19.16.
41295 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41297 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41299 2012-02-24 Roland McGrath <roland@hack.frob.com>
41302 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41303 * manual/fdl-1.3.texi: New file.
41304 * manual/fdl-1.1.texi: File removed.
41307 * manual/libc.texinfo (FDL_VERSION): New @set.
41308 Use it for mention of FDL in cover text.
41309 (Documentation License): Use it in @include file name.
41311 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41312 Roland McGrath <roland@hack.frob.com>
41315 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41316 (not LONG_LONG_MAX and LONG_LONG_MIN.
41317 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41318 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41320 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41326 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41327 manipulate bits before adding and subtracting TWO23[sx].
41328 * math/libm-test.inc (nearbyint_test): Add more tests.
41330 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41333 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41334 bits before adding and subtracting TWO23[sx].
41335 * math/libm-test.inc (rint_test): Add more tests.
41336 (rint_test_tonearest): Likewise.
41337 (rint_test_towardzero): Likewise.
41338 (rint_test_downward): Likewise.
41339 (rint_test_upward: Likewise.
41341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41344 * include/stdc-predef.h: New file. Extracted from features.h.
41345 * include/features.h: Include stdc-predef.h.
41346 * Makefile (headers): Add stdc-predef.h.
41347 * CONFORMANCE (Compiler limitations): Update.
41349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41351 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41353 2012-02-21 David S. Miller <davem@davemloft.net>
41355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41358 2012-02-20 David S. Miller <davem@davemloft.net>
41360 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41361 using a normal save/restore sequence, rather than allocating a
41362 dummy stack frame just to store a frame pointer and restore.
41363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41365 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41367 * manual/install.texi: Fix stray word in line-wrapped comment.
41369 2012-02-20 David S. Miller <davem@davemloft.net>
41371 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41372 both binutils and gcc support GOTDATA.
41374 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41375 "rd %pc" in the PIC register setup sequences.
41377 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41378 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41379 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41380 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41381 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41384 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41386 (SYSCALL_ERROR_HANDLER): Likewise.
41387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41388 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41390 (SYSCALL_ERROR_HANDLER): Likewise.
41392 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41393 (HAVE_GCC_GOTDATA): New.
41394 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41395 relocation support in both binutils and gcc.
41396 * sysdeps/sparc/elf/configure: Regenerate.
41398 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41399 * sysdeps/sparc/sparc32/elf/configure: Delete.
41400 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41401 * sysdeps/sparc/sparc64/elf/configure: Delete.
41402 * sysdeps/sparc/elf/configure.in: New file.
41403 * sysdeps/sparc/elf/configure: Generate.
41405 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41406 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41408 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41409 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41411 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41413 * manual/install.texi: Do not mention specific glibc version
41415 * manual/libc.texinfo (VERSION, UPDATED): Update.
41416 (@copying): Use @copyright{} and range of years.
41418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41421 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41422 [crti.S not in sysdirs] (generated): Do not append.
41423 [crti.S not in sysdirs] (omit-deps): Likewise.
41424 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41425 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41426 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41427 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41428 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41430 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41431 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41432 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41433 * csu/defs.awk: Remove file.
41434 * sysdeps/generic/initfini.c: Likewise.
41435 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41437 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41440 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41442 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41443 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41447 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41449 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41450 (__EPOLL_PACKED): Define to empty if not defined by
41452 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41456 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41458 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41459 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41460 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41461 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41463 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41467 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41469 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41476 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41481 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41483 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41484 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41486 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41488 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41491 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41493 * math/w_acos.c: Use non-signaling floating-point comparisons.
41494 * math/w_acosf.c: Likewise.
41495 * math/w_acosh.c: Likewise.
41496 * math/w_acoshf.c: Likewise.
41497 * math/w_acoshl.c: Likewise.
41498 * math/w_acosl.c: Likewise.
41499 * math/w_asin.c: Likewise.
41500 * math/w_asinf.c: Likewise.
41501 * math/w_asinl.c: Likewise.
41502 * math/w_atanh.c: Likewise.
41503 * math/w_atanhf.c: Likewise.
41504 * math/w_atanhl.c: Likewise.
41505 * math/w_exp2.c: Likewise.
41506 * math/w_exp2f.c: Likewise.
41507 * math/w_exp2l.c: Likewise.
41508 * math/w_j0.c: Likewise.
41509 * math/w_j0f.c: Likewise.
41510 * math/w_j0l.c: Likewise.
41511 * math/w_j1.c: Likewise.
41512 * math/w_j1f.c: Likewise.
41513 * math/w_j1l.c: Likewise.
41514 * math/w_jn.c: Likewise.
41515 * math/w_jnf.c: Likewise.
41516 * math/w_log.c: Likewise.
41517 * math/w_log10.c: Likewise.
41518 * math/w_log10f.c: Likewise.
41519 * math/w_log10l.c: Likewise.
41520 * math/w_log2.c: Likewise.
41521 * math/w_log2f.c: Likewise.
41522 * math/w_log2l.c: Likewise.
41523 * math/w_logf.c: Likewise.
41524 * math/w_logl.c: Likewise.
41525 * math/w_sqrt.c: Likewise.
41526 * math/w_sqrtf.c: Likewise.
41527 * math/w_sqrtl.c: Likewise.
41528 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41529 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41534 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41537 * manual/string.texi (strnlen): Use correct parameter name in
41538 equivalent expression.
41540 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41543 * manual/users.texi (seteuid): Consistently use neweuid for
41546 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41549 * manual/nss.texi (Services in the NSS configuration): Correct
41550 list of services in example configuration file.
41552 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41555 * manual/arith.texi: Remove statements about negative zero
41556 behaving identically to zero.
41558 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41561 * manual/install.texi: Do not document upgrading from libc5.
41563 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41566 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41568 2012-02-18 David S. Miller <davem@davemloft.net>
41570 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41571 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41572 %o7 across the call.
41573 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41576 SETUP_PIC_REG_LEAF.
41577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41578 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41579 * sysdeps/sparc/crtn.S: Likewise.
41581 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41583 * aout/Makefile: Remove.
41585 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41588 * manual/examples/argp-ex1.c (main): Format definition in GNU
41590 * manual/examples/argp-ex2.c (main): Likewise.
41591 * manual/examples/argp-ex3.c (main): Likewise.
41592 * manual/examples/argp-ex4.c (main): Likewise.
41593 * manual/examples/longopt.c (main): Use new-style prototype
41595 * manual/examples/strncat.c (main): Specify return type and use
41596 (void) for arguments.
41597 * manual/examples/subopt.c (main): Use char **argv argument.
41599 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41602 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41605 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41608 * manual/string.texi (strchr): Change when strchrnul is
41611 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41614 * manual/locale.texi (setlocale): Document LOCPATH.
41616 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41619 * manual/process.texi (execle): Move @dots{} before last argument.
41621 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41624 * manual/charset.texi (Generic Charset Conversion): Fix typo
41625 (LC_TYPE -> LC_CTYPE).
41627 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41630 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41631 (scalbnf): Likewise.
41632 (scalbnl): Likewise.
41633 (scalbln): Likewise.
41634 (scalblnf): Likewise.
41635 (scalblnl): Likewise.
41636 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41637 (vwarnx): Likewise.
41640 * manual/filesys.texi (telldir): Use braces around return type.
41641 * manual/llio.texi (mmap): Add space after comma.
41642 (mmap64): Likewise.
41643 * manual/math.texi (jn): Use @var{} on parameter names.
41649 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41651 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41653 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41654 (sched_get_priority_max): Likewise.
41655 * manual/signal.texi (sigvec): Add space after comma.
41656 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41658 (if_indextoname): Likewise.
41659 (if_freenameindex): Likewise.
41660 (sendto): Use ',' instead of '.' in prototype.
41661 * manual/startup.texi (syscall): Use @dots{} instead of literal
41663 * manual/stdio.texi (__fpending): Separate initial words of
41664 paragraph from @deftypefun line.
41665 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41667 (vsyslog): Use @var{} on parameter names.
41668 * manual/terminal.texi (stty): Use @var{} on parameter names.
41669 * manual/users.texi (getutmp): Use @var{} on parameter names.
41670 (getutmpx): Likewise.
41672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41675 * manual/stdio.texi (fopen): Fix typos in description of
41678 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41681 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41682 get clock_id definition.
41684 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41687 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41688 (madvise): Cast every argument to void on its own.
41690 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41693 * manual/startup.texi (Exit Status): Fix typo.
41695 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41698 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41699 * manual/examples/argp-ex2.c: Likewise.
41700 * manual/examples/argp-ex3.c: Likewise.
41702 2012-02-16 Richard Henderson <rth@redhat.com>
41704 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41705 * sysdeps/s390/s390-32/initfini.c: Remove.
41706 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41707 * sysdeps/s390/s390-64/initfini.c: Remove.
41709 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41711 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41712 compiler output for sysdeps/generic/initfini.c.
41713 * sysdeps/sh/elf/initfini.c: Remove file.
41715 2012-02-16 David S. Miller <davem@davemloft.net>
41718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41720 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41721 * sysdeps/sparc/crti.S: New file.
41722 * sysdeps/sparc/crtn.S: New file.
41723 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41724 * sysdeps/sparc/sparc64/Makefile: Likewise.
41726 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41729 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41731 2012-02-15 Roland McGrath <roland@hack.frob.com>
41734 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41736 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41737 (write, read, close): Likewise.
41738 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41740 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41742 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41743 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41744 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41745 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41747 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41751 2012-02-14 Marek Polacek <polacek@redhat.com>
41753 * sysdeps/x86_64/crti.S: New file.
41754 * sysdeps/x86_64/crtn.S: New file.
41755 * sysdeps/x86_64/elf/initfini.c: Remove file.
41757 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41759 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41760 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41761 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41762 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41764 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41768 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41770 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41771 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41772 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41773 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41775 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41779 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41781 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41782 __feraiseexcept instead of feraiseexcept.
41784 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41785 nanosleep invocations.
41786 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41787 strings, and add error checking for a nanosleep invocations.
41789 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41791 Replace FSF snail mail address with URLs, as per GNU coding standards.
41792 Most of the snail mail addresses were wrong anyway, and omitting
41793 them makes the source code easier to maintain. Almost all of the
41794 changes are to license notices and to locale LC_IDENTIFICATION
41795 addresses, except for this one:
41796 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41797 not its snail mail address.
41799 2012-02-09 Richard Henderson <rth@twiddle.net>
41801 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41802 of kernel-features.h.
41804 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41806 2012-02-08 Marek Polacek <polacek@redhat.com>
41808 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41809 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41810 * sysdeps/gnu/_G_config.h: Likewise.
41811 * sysdeps/generic/_G_config.h: Likewise.
41813 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41815 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41819 * sysdeps/powerpc/powerpc32/crti.S: New file.
41820 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41821 * sysdeps/powerpc/powerpc64/crti.S: New file.
41822 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41824 * Makeconfig (have-initfini): Don't set.
41825 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41826 * configure.in (nopic_initfini): Don't substitute.
41827 * config.h.in (HAVE_INITFINI): Don't #undef.
41828 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41829 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41831 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41833 Support crti.S and crtn.S provided directly by architectures.
41834 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41835 [crti.S in sysdirs] (omit-deps): Likewise.
41836 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41837 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41838 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41839 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41840 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41841 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41842 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41843 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41844 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41845 compiler output for sysdeps/generic/initfini.c.
41846 * sysdeps/i386/elf/Makefile: Remove file.
41847 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41849 2012-02-07 Marek Polacek <polacek@redhat.com>
41851 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41852 * sysdeps/gnu/_G_config.h: Likewise.
41853 * sysdeps/mach/hurd/_G_config.h: Likewise.
41855 2012-02-07 Marek Polacek <polacek@redhat.com>
41857 * math/Makefile (tests): Add tst-CMPLX2.
41858 * math/tst-CMPLX2.c: New file.
41860 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41864 * math/libm-test.inc (jn_test): Add missing L suffix.
41866 2012-02-06 Marek Polacek <polacek@redhat.com>
41868 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41869 * sysdeps/i386/fpu/e_powf.S: Likewise.
41870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41872 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41873 * sysdeps/i386/fpu/e_pow.S: Likewise.
41874 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41876 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41877 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41878 * sysdeps/i386/fpu/e_log2.S: Likewise.
41879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41880 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41881 * sysdeps/i386/fpu/e_powl.S: Likewise.
41882 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41884 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41885 * sysdeps/i386/fpu/e_logl.S: Likewise.
41886 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41887 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41888 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41889 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41890 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41891 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41892 * sysdeps/i386/fpu/e_log.S: Likewise.
41893 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41895 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41896 * sysdeps/i386/fpu/e_logf.S: Likewise.
41897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41899 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41900 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41902 * sysdeps/i386/fpu/e_log10.S: Likewise.
41903 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41904 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41905 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41906 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41908 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41909 * sysdeps/i386/asm-syntax.h: Likewise.
41910 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41912 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41913 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41914 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41916 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41917 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41918 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41919 * sysdeps/powerpc/sysdep.h: Likewise.
41920 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41923 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41926 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41928 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41930 * sysdeps/i386/sysdep.h: Include <features.h>.
41931 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41934 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41936 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41938 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41941 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41943 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41944 (SETUP_PIC_REG): Use GET_PC_THUNK.
41945 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41950 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41951 for non-PIC compilation.
41952 (SETUP_PIC_REG): Add .p2align directive.
41953 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41954 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41955 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41956 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41958 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41959 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41968 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41969 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41970 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41971 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41972 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41974 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41975 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41976 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41981 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41982 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41983 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41986 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41987 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41989 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41990 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41991 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41995 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41997 * math/tst-CMPLX.c: Include <stdio.h>.
41999 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42001 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42003 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42004 * sysdeps/sparc/bits/mathdef.h: Likewise.
42006 2012-01-31 Marek Polacek <polacek@redhat.com>
42008 * libio/libio.h: Don't define _PARAMS.
42009 * locale/programs/config.h: Don't define PARAMS.
42010 * stdlib/strtol_l.c: Likewise.
42011 (__strtol_l): Remove PARAMS from the prototype.
42013 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42015 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42016 names. Just use the correct names. Remove unnecessary wrapper
42018 * malloc/arena.c: Likewise.
42019 * malloc/hooks.c: Likewise.
42021 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42022 ARENA_TEST says not to. Simplify test for creation of a new arena.
42023 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42025 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42027 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42029 (update_get_addr): New function.
42030 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42031 GET_ADDR_MODULE parameter.
42033 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42035 * crypt/cert.c: Remove __STDC__ conditionals.
42036 * crypt/crypt-entry.c: Likewise.
42037 * crypt/crypt_util.c: Likewise.
42038 * libio/filedoalloc.c: Likewise.
42039 * libio/fileops.c: Likewise.
42040 * libio/genops.c: Likewise.
42041 * libio/iofclose.c: Likewise.
42042 * libio/iofdopen.c: Likewise.
42043 * libio/iofopen.c: Likewise.
42044 * libio/iofopen64.c: Likewise.
42045 * libio/iogetdelim.c: Likewise.
42046 * libio/iopopen.c: Likewise.
42047 * libio/obprintf.c: Likewise.
42048 * libio/oldfileops.c: Likewise.
42049 * libio/oldiofclose.c: Likewise.
42050 * libio/oldiofdopen.c: Likewise.
42051 * libio/oldiofopen.c: Likewise.
42052 * libio/oldiopopen.c: Likewise.
42053 * libio/wfiledoalloc.c: Likewise.
42054 * libio/wgenops.c: Likewise.
42055 * locale/programs/xmalloc.c: Likewise.
42056 * misc/syslog.c: Likewise.
42057 * stdio-common/xbug.c: Likewise.
42058 * string/memchr.c: Likewise.
42059 * string/memcmp.c: Likewise.
42060 * string/memrchr.c: Likewise.
42061 * string/rawmemchr.c: Likewise.
42062 * sysdeps/posix/getcwd.c: Likewise.
42063 * time/strftime_l.c: Likewise.
42065 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42067 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42068 * config.make.in (config-cflags-sse2avx): Define.
42069 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42072 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42074 * scripts/config.guess: Update from upstream config git repository.
42075 * scripts/config.sub: Likewise.
42077 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42079 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42081 (R_TILEPRO_*, R_TILEGX_*): New macros.
42083 * scripts/firstversions.awk: Fix bug in version range handling.
42085 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42087 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42089 * include/sys/epoll.h: New file.
42090 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42093 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42095 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42096 Avoid unnecessary __WORDSIZE == 64 test.
42097 (fmaxf): Use VEX format if possible.
42102 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42103 * math/math_private.h: Remove libc_fegetround* and
42105 * sysdeps/i386/configure.in: Check for -msse2avx.
42106 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42107 also if SSE2AVX is defined.
42108 Remove libc_fegetround* and libc_fesetround*.
42109 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42110 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42119 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42121 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42125 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42127 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42130 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42132 * Makeconfig (libm): Define.
42133 * elf/Makefile: Add rules to build and run tst-relsort1.
42134 * elf/tst-relsort1.c: New file.
42135 * elf/tst-relsort1mod1.c: New file.
42136 * elf/tst-relsort1mod2.c: New file.
42138 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42140 * math/s_ldexp.c: Remove __STDC__ conditionals.
42141 * math/s_ldexpf.c: Likewise.
42142 * math/s_ldexpl.c: Likewise.
42143 * math/s_nextafter.c: Likewise.
42144 * math/s_nexttowardf.c: Likewise.
42145 * math/s_significand.c: Likewise.
42146 * math/s_significandf.c: Likewise.
42147 * math/s_significandl.c: Likewise.
42148 * math/w_jnl.c: Likewise.
42149 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42150 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42151 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42152 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42153 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42155 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42158 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42159 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42171 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42173 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42174 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42175 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42176 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42177 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42180 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42183 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42185 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42186 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42187 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42188 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42189 * sysdeps/ieee754/k_standard.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42191 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42269 * sysdeps/ieee754/s_matherr.c: Likewise.
42270 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42271 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42275 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42277 * crypt/md5.h: Remove __STDC__ conditionals.
42278 * libio/libioP.h: Likewise.
42279 * locale/programs/config.h: Likewise.
42280 * sysdeps/generic/sysdep.h: Likewise.
42281 * sysdeps/i386/asm-syntax.h: Likewise.
42282 * sysdeps/s390/asm-syntax.h: Likewise.
42283 * sysdeps/unix/sysdep.h: Likewise.
42284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42287 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42289 * libio/libio.h: Remove __STDC__ conditionals.
42290 * malloc/obstack.h: Likewise.
42291 * math/complex.h: Likewise.
42292 * math/math.h: Likewise.
42293 * sysdeps/generic/_G_config.h: Likewise.
42294 * sysdeps/gnu/_G_config.h: Likewise.
42295 * sysdeps/mach/hurd/_G_config.h: Likewise.
42296 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42297 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42298 * sysdeps/sparc/bits/mathdef.h: Likewise.
42300 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42304 Clean up HAS_* macros.
42305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42306 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42316 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42318 * elf/tst-unique3.cc (gets): Remove declaration.
42319 * elf/tst-unique3lib.cc (gets): Likewise.
42320 * elf/tst-unique3lib2.cc (gets): Likewise.
42321 * elf/tst-unique4.cc (gets): Likewise.
42323 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42325 * include/stdio.h: Add C++ protection. Add gets declarations and
42327 * debug/tst-chk1.c: Don't declare gets here.
42328 * stdio-common/tst-gets.c: Likewise.
42330 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42332 * posix/glob: Remove directory.
42334 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42336 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42338 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42340 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42341 of the non-standard EPFNOSUPPORT.
42343 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42345 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42346 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42347 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42349 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42351 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42353 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42355 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42357 * nscd/grpcache.c (cache_addgr): Likewise.
42358 * nscd/hstcache.c (cache_addhst): Likewise.
42359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42360 * nscd/pwdcache.c (cache_addpw): Likewise.
42361 * nscd/servicescache.c (cache_addserv): Likewise.
42363 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42365 * malloc/malloc.c: Various cleanups.
42366 * malloc/hooks.c: Likewise.
42368 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42369 * stdlib/bug-fmtmsg1.c: New file.
42371 * stdlib/fmtmsg.c (init): Add missing unlock.
42372 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42374 2012-01-12 Marek Polacek <polacek@redhat.com>
42376 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42379 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42381 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42382 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42383 macro to ensure uniqueness of label name.
42384 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42385 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42387 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42389 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42391 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42392 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42396 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42400 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42401 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42404 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42407 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42411 * math/bits/math-finite.h: Add ldexp support.
42413 2012-01-10 Marek Polacek <polacek@redhat.com>
42415 * locale/programs/localedef.h (show_archive_content): Add noreturn
42418 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42420 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42422 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42424 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42426 * io/Makefile (headers): Add bits/poll2.h.
42428 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42431 typo #include statement.
42433 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42435 * include/sys/cdefs.h: Define __attribute_alloc_size.
42436 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42437 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42438 * elf/pldd.c: Likewise.
42439 * iconv/iconv_charmap.c: Likewise.
42440 * iconv/iconvconfig.c: Likewise.
42441 * iconv/strtab.c: Likewise.
42442 * locale/programs/locale.c: Likewise.
42443 * locale/programs/localedef.h: Likewise.
42444 * locale/programs/simple-hash.c: Likewise.
42445 * nscd/nscd.h: Likewise.
42446 * nss/makedb.c: Likewise.
42447 * sysdeps/generic/ldconfig.h: Likewise.
42448 * locale/programs/localedef.c: Remove xmalloc prototype.
42449 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42451 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42453 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42456 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42458 * math/Makefile (tests): Add tst-CMPLX.
42459 * math/tst-CMPLX.c: New file.
42461 * math/complex.h (CMPLXL): Fix typo.
42463 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42464 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42466 * debug/tst-chk1.c: Add poll and ppoll tests.
42467 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42468 * include/sys/poll.h: Add hidden proto for ppoll.
42469 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42470 * sysdeps/mach/hurd/ppoll.c: Likewise.
42471 * io/ppoll.c: Likewise.
42472 * debug/poll_chk.c: New file.
42473 * debug/ppoll_chk.c: New file.
42474 * include/bits/poll2.h: New file.
42475 * io/bits/poll2.h: New file.
42478 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42480 * configure.in: static is always set to yes. Remove.
42481 * config.make.in: Don't set build-static.
42482 * Makeconfig: Remove use of build-static.
42483 * dlfcn/Makefile: Likewise.
42484 * elf/Makefile: Likewise.
42485 * math/Makefile: Likewise.
42486 * misc/Makefile: Likewise.
42487 * nptl/Makefile: Likewise.
42488 * sysdeps/mach/hurd/Makefile: Likewise.
42490 * configure.in: PWD_P is not used anymore.
42491 * config.make.in: Remove PWD_P entry.
42493 * configure.in: Remove last remnants of RANLIB.
42494 No need to check for signed size_t anymore.
42495 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42497 Remove __builtin_expect test because we require at least gcc 3.4.
42498 * aclocal.m4: Likewise.
42500 * wcsmbs/mbrtoc16.c: Implement using towc function.
42501 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42502 * wcsmbs/wcsmbsload.c: Likewise.
42503 * iconv/gconv_simple.c: Likewise.
42504 * iconv/gconv_int.h: Likewise.
42505 * iconv/gconv_builtin.h: Likewise.
42506 * iconv/iconv_prog.c: Remove CHAR16 handling.
42508 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42510 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42512 * configure.in: Remove --with-elf and --enable-bounded options.
42513 Dont set base_machine for ia64. More non-ELF conditions removed.
42514 Remove testing and setting of leading underscore information.
42515 * config.make.in (build-bounded): Set to no.
42516 * config.h.in: Remove NO_UNDERSCORES entry.
42517 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42519 * csu/start.c: Remove !NO_UNDERSCORE code.
42520 * locale/localeinfo.h: Likewise.
42521 * sysdeps/generic/machine-gmon.h: Likewise.
42522 * sysdeps/generic/sysdep.h: Likewise.
42523 * sysdeps/i386/sysdep.h: Likewise.
42524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42525 * sysdeps/mach/sysdep.h: Likewise.
42526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42528 * sysdeps/sh/sysdep.h: Likewise.
42529 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42530 * sysdeps/unix/i386/sysdep.S: Likewise.
42531 * sysdeps/unix/sparc/start.c: Likewise.
42532 * sysdeps/unix/sparc/sysdep.S: Likewise.
42533 * sysdeps/unix/sparc/sysdep.h: Likewise.
42534 * sysdeps/unix/start.c: Likewise.
42535 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42536 * sysdeps/x86_64/sysdep.h: Likewise.
42538 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42541 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42543 * argp/argp-fmtstream.h: Use const instead __const.
42544 * argp/argp.h: Likewise.
42545 * assert/assert.h: Likewise.
42546 * bits/fenv.h: Likewise.
42547 * bits/sched.h: Likewise.
42548 * bits/sigset.h: Likewise.
42549 * bits/sigthread.h: Likewise.
42550 * catgets/nl_types.h: Likewise.
42551 * conform/data/pthread.h-data: Likewise.
42552 * crypt/crypt-private.h: Likewise.
42553 * crypt/crypt.h: Likewise.
42554 * crypt/crypt_util.c: Likewise.
42555 * ctype/ctype.h: Likewise.
42556 * debug/execinfo.h: Likewise.
42557 * debug/mbsnrtowcs_chk.c: Likewise.
42558 * debug/mbsrtowcs_chk.c: Likewise.
42559 * debug/wcsnrtombs_chk.c: Likewise.
42560 * debug/wcsrtombs_chk.c: Likewise.
42561 * debug/wcstombs_chk.c: Likewise.
42562 * dirent/dirent.h: Likewise.
42563 * dlfcn/dlfcn.h: Likewise.
42564 * elf/neededtest4.c: Likewise.
42565 * grp/grp.h: Likewise.
42566 * gshadow/gshadow.h: Likewise.
42567 * iconv/gconv.h: Likewise.
42568 * iconv/gconv_int.h: Likewise.
42569 * iconv/gconv_simple.c: Likewise.
42570 * iconv/iconv.h: Likewise.
42571 * iconv/loop.c: Likewise.
42572 * iconv/skeleton.c: Likewise.
42573 * include/aio.h: Likewise.
42574 * include/aliases.h: Likewise.
42575 * include/argz.h: Likewise.
42576 * include/arpa/inet.h: Likewise.
42577 * include/assert.h: Likewise.
42578 * include/dirent.h: Likewise.
42579 * include/dlfcn.h: Likewise.
42580 * include/execinfo.h: Likewise.
42581 * include/fcntl.h: Likewise.
42582 * include/fenv.h: Likewise.
42583 * include/glob.h: Likewise.
42584 * include/grp.h: Likewise.
42585 * include/libintl.h: Likewise.
42586 * include/mntent.h: Likewise.
42587 * include/netdb.h: Likewise.
42588 * include/pwd.h: Likewise.
42589 * include/rpc/netdb.h: Likewise.
42590 * include/sched.h: Likewise.
42591 * include/search.h: Likewise.
42592 * include/shadow.h: Likewise.
42593 * include/signal.h: Likewise.
42594 * include/stdio.h: Likewise.
42595 * include/stdlib.h: Likewise.
42596 * include/string.h: Likewise.
42597 * include/sys/socket.h: Likewise.
42598 * include/sys/stat.h: Likewise.
42599 * include/sys/statfs.h: Likewise.
42600 * include/sys/statvfs.h: Likewise.
42601 * include/sys/syslog.h: Likewise.
42602 * include/sys/time.h: Likewise.
42603 * include/sys/uio.h: Likewise.
42604 * include/time.h: Likewise.
42605 * include/unistd.h: Likewise.
42606 * include/utmp.h: Likewise.
42607 * include/wchar.h: Likewise.
42608 * include/wctype.h: Likewise.
42609 * inet/aliases.h: Likewise.
42610 * inet/arpa/inet.h: Likewise.
42611 * inet/netinet/ether.h: Likewise.
42612 * inet/netinet/in.h: Likewise.
42613 * intl/libintl.h: Likewise.
42614 * io/bits/fcntl2.h: Likewise.
42615 * io/fcntl.h: Likewise.
42616 * io/ftw.h: Likewise.
42617 * io/sys/poll.h: Likewise.
42618 * io/sys/stat.h: Likewise.
42619 * io/sys/statfs.h: Likewise.
42620 * io/sys/statvfs.h: Likewise.
42621 * io/utime.h: Likewise.
42622 * libio/bits/stdio.h: Likewise.
42623 * libio/bits/stdio2.h: Likewise.
42624 * libio/libio.h: Likewise.
42625 * libio/libioP.h: Likewise.
42626 * libio/stdio.h: Likewise.
42627 * locale/lc-ctype.c: Likewise.
42628 * locale/locale.h: Likewise.
42629 * login/utmp.h: Likewise.
42630 * malloc/arena.c: Likewise.
42631 * malloc/malloc.c: Likewise.
42632 * malloc/malloc.h: Likewise.
42633 * malloc/mcheck.c: Likewise.
42634 * malloc/mtrace.c: Likewise.
42635 * math/bits/mathcalls.h: Likewise.
42636 * math/fenv.h: Likewise.
42637 * math/math_private.h: Likewise.
42638 * misc/bits/error.h: Likewise.
42639 * misc/bits/syslog.h: Likewise.
42640 * misc/err.h: Likewise.
42641 * misc/error.h: Likewise.
42642 * misc/fstab.h: Likewise.
42643 * misc/mntent.h: Likewise.
42644 * misc/regexp.h: Likewise.
42645 * misc/search.h: Likewise.
42646 * misc/sgtty.h: Likewise.
42647 * misc/sys/mman.h: Likewise.
42648 * misc/sys/syslog.h: Likewise.
42649 * misc/sys/uio.h: Likewise.
42650 * misc/sys/xattr.h: Likewise.
42651 * misc/ttyent.h: Likewise.
42652 * nis/rpcsvc/ypclnt.h: Likewise.
42653 * nss/nss.h: Likewise.
42654 * posix/bits/unistd.h: Likewise.
42655 * posix/fnmatch.h: Likewise.
42656 * posix/glob.h: Likewise.
42657 * posix/sched.h: Likewise.
42658 * posix/spawn.h: Likewise.
42659 * posix/sys/wait.h: Likewise.
42660 * posix/unistd.h: Likewise.
42661 * posix/wordexp.h: Likewise.
42662 * pwd/pwd.h: Likewise.
42663 * resolv/netdb.h: Likewise.
42664 * resource/sys/resource.h: Likewise.
42665 * rt/aio.h: Likewise.
42666 * rt/bits/mqueue2.h: Likewise.
42667 * rt/mqueue.h: Likewise.
42668 * shadow/shadow.h: Likewise.
42669 * signal/signal.h: Likewise.
42670 * socket/send.c: Likewise.
42671 * socket/sendto.c: Likewise.
42672 * socket/sys/socket.h: Likewise.
42673 * stdio-common/printf.h: Likewise.
42674 * stdlib/bits/stdlib.h: Likewise.
42675 * stdlib/fmtmsg.h: Likewise.
42676 * stdlib/monetary.h: Likewise.
42677 * stdlib/stdlib.h: Likewise.
42678 * stdlib/ucontext.h: Likewise.
42679 * streams/stropts.h: Likewise.
42680 * string/argz.h: Likewise.
42681 * string/bits/string2.h: Likewise.
42682 * string/string.h: Likewise.
42683 * string/strings.h: Likewise.
42684 * sunrpc/rpc/auth.h: Likewise.
42685 * sunrpc/rpc/auth_des.h: Likewise.
42686 * sunrpc/rpc/clnt.h: Likewise.
42687 * sunrpc/rpc/netdb.h: Likewise.
42688 * sunrpc/rpc/pmap_clnt.h: Likewise.
42689 * sunrpc/rpc/xdr.h: Likewise.
42690 * sysdeps/generic/inttypes.h: Likewise.
42691 * sysdeps/generic/net/if.h: Likewise.
42692 * sysdeps/generic/sys/swap.h: Likewise.
42693 * sysdeps/gnu/net/if.h: Likewise.
42694 * sysdeps/gnu/utmpx.h: Likewise.
42695 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42696 * sysdeps/i386/i486/bits/string.h: Likewise.
42697 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42698 * sysdeps/s390/bits/string.h: Likewise.
42699 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42700 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42701 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42702 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42703 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42704 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42705 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42706 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42707 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42708 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42709 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42710 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42711 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42712 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42713 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42714 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42715 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42721 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42722 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42723 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42724 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42725 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42727 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42729 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42730 * sysvipc/sys/ipc.h: Likewise.
42731 * sysvipc/sys/msg.h: Likewise.
42732 * sysvipc/sys/sem.h: Likewise.
42733 * sysvipc/sys/shm.h: Likewise.
42734 * termios/termios.h: Likewise.
42735 * time/sys/time.h: Likewise.
42736 * time/time.h: Likewise.
42737 * wcsmbs/bits/wchar2.h: Likewise.
42738 * wcsmbs/uchar.h: Likewise.
42739 * wcsmbs/wchar.h: Likewise.
42740 * wctype/wctype.h: Likewise.
42743 * Makeconfig: Remove all but ELF support including AIX support.
42744 * Makerules: Likewise.
42745 * config.h.in: Likewise.
42746 * config.make.in: Likewise.
42747 * configure: Likewise.
42748 * configure.in: Likewise.
42749 * csu/Makefile: Likewise.
42750 * csu/version.c: Likewise.
42751 * debug/Makefile: Likewise.
42752 * dlfcn/Makefile: Likewise.
42753 * elf/Makefile: Likewise.
42754 * extra-lib.mk: Likewise.
42755 * iconv/Makefile: Likewise.
42756 * include/libc-symbols.h: Likewise.
42757 * include/shlib-compat.h: Likewise.
42758 * resolv/Makefile: Likewise.
42759 * resolv/res_libc.c: Likewise.
42760 * rt/Makefile: Likewise.
42761 * sysdeps/i386/asm-syntax.h: Likewise.
42762 * sysdeps/i386/sysdep.h: Likewise.
42763 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42764 * sysdeps/mach/sysdep.h: Likewise.
42765 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42766 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42767 * sysdeps/s390/asm-syntax.h: Likewise.
42768 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42770 * sysdeps/sh/sysdep.h: Likewise.
42771 * sysdeps/unix/sparc/sysdep.h: Likewise.
42772 * sysdeps/wordsize-32/divdi3.c: Likewise.
42773 * sysdeps/x86_64/sysdep.h: Likewise.
42775 * argp/Versions: Remove _argp_unlock_xxx.
42778 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42779 * abilist/libBrokenLocale.abilist: Likewise.
42780 * abilist/libanl.abilist: Likewise.
42781 * abilist/libc.abilist: Likewise.
42782 * abilist/libcrypt.abilist: Likewise.
42783 * abilist/libdl.abilist: Likewise.
42784 * abilist/libm.abilist: Likewise.
42785 * abilist/libnsl.abilist: Likewise.
42786 * abilist/libpthread.abilist: Likewise.
42787 * abilist/libresolv.abilist: Likewise.
42788 * abilist/librt.abilist: Likewise.
42789 * abilist/libthread_db.abilist: Likewise.
42790 * abilist/libutil.abilist: Likewise.
42791 * abilist/libnss_db.abilist: New file.
42793 * scripts/abilist.awk: Add support for indirect functions.
42795 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42797 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42799 * shlib-versions: Remove entries for ports architectures.
42801 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42803 * elf/stackguard-macros.h: Remove support for IA-64.
42804 * elf/tst-auditmod1.c: Likewise.
42805 * sysdeps/generic/ldsodefs.h: Likewise.
42807 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42808 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42812 * configure.in: Remove --enable-omitfp support.
42814 * config.make.in: Likewise.
42815 * Makeconfig: Likewise.
42816 * manual/install.texi: Likewise.
42818 In case anyone cares, the IA-64 architecture could move to ports.
42819 * sysdeps/ia64/*: Removed.
42820 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42821 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42824 * configure.in: Remove entries for unsupported architectures.
42827 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42828 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42830 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42831 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42832 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42833 fall back to using wcrtomb.
42834 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42835 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42837 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42838 * wcsmbs/tst-c16c32-1.c: New file.
42840 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42843 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42845 * elf/tst-unique3.cc: Add explicit declaration of gets.
42846 * elf/tst-unique3lib.cc: Likewise.
42847 * elf/tst-unique3lib2.cc: Likewise.
42848 * elf/tst-unique4.cc: Likewise.
42850 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42852 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42855 * assert/assert.h (static_assert): Don't define for C++.
42856 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42857 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42859 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42861 * iconv/loop.c (single loop): Fix assertion in storing of
42864 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42866 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42868 * posix/getconf.c: Update copyright year.
42869 * nss/getent.c: Likewise.
42870 * nss/makedb.c: Likewise.
42871 * iconv/iconvconfig.c: Likewise.
42872 * iconv/iconv_prog.c: Likewise.
42873 * elf/ldconfig.c: Likewise.
42874 * elf/pldd.c: Likewise.
42875 * elf/sotruss.ksh: Likewise.
42876 * catgets/gencat.c: Likewise.
42877 * csu/version.c: Likewise.
42878 * elf/ldd.bash.in: Likewise.
42879 * elf/sprof.c (print_version): Likewise.
42880 * locale/programs/locale.c: Likewise.
42881 * locale/programs/localedef.c: Likewise.
42882 * login/programs/pt_chown.c: Likewise.
42883 * nscd/nscd.c (print_version): Likewise.
42884 * debug/xtrace.sh: Likewise.
42885 * malloc/memusage.sh: Likewise.
42886 * malloc/mtrace.pl: Likewise.
42887 * debug/catchsegv.sh: Likewise.
42889 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42891 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42894 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42897 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42898 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42900 * iconv/gconv_int.h: Likewise.
42901 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42902 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42903 from libc for GLIBC_2.16.
42904 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42905 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42906 * wcsmbs/uchar.h: Really define mbstate_t.
42907 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42908 * wcsmbs/c16rtomb.c: New file.
42909 * wcsmbs/mbrtoc16.c: New file.
42910 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42911 for C/POSIX locale.
42912 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42913 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42915 * wcsmbs/wchar.h: Add missing __restrict.
42917 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42920 * time/Makefile (routines): Add timespec_get.
42921 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42922 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42923 timespec for ISO C11.
42924 * time/timespec_get.c: New file.
42925 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42926 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42929 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42930 * stdlib/stdlib.h: Declare aligned_alloc.
42931 * Versions.def: Add GLIBC_2.16 for libc.
42932 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42935 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42938 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42942 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42945 * assert/assert.h (static_assert): Define.
42947 * version.h: Update for 2.16 development version.
42950 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42953 * version.h (RELEASE): Bump for 2.15 release.
42954 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42956 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42957 Patch by Marek Polacek <mpolacek@redhat.com>.
42959 * bits/byteswap.h: Protect long long constants with __extension__.
42960 * sysdeps/i386/bits/byteswap.h: Likewise.
42961 * sysdeps/ia64/bits/byteswap.h: Likewise.
42962 * sysdeps/s390/bits/byteswap.h: Likewise.
42963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42965 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42969 destination buffer.
42970 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42972 2011-12-23 Marek Polacek <polacek@redhat.com>
42974 * elf/dl-addr.c (determine_info): Add inline keyword.
42975 * elf/tst-auditmod4b.c (check_avx): Likewise.
42976 * elf/tst-auditmod6b.c (check_avx): Likewise.
42977 * elf/tst-auditmod6c.c (check_avx): Likewise.
42978 * elf/tst-auditmod7b.c (check_avx): Likewise.
42980 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42982 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42985 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42989 processing for last bytes.
42991 2011-08-06 Bruno Haible <bruno@clisp.org>
42994 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42995 U+0385, not to U+1FEE.
42998 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42999 entry for U+00A5 U+0301.
43001 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43004 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43005 buffer for the output is too small.
43007 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43011 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43012 SSE flags if possible.
43014 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43018 processing for last bytes.
43020 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43023 (syscall-list-default-options, syscall-list-default-condition)
43024 (syscall-list-includes): Define.
43025 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43026 list of ABIs and options and #if conditions for each ABI. Do not
43027 handle common syscalls between ABIs specially.
43028 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43030 (syscall-list-variants, syscall-list-32bit-options)
43031 (syscall-list-32bit-condition, syscall-list-64bit-options)
43032 (syscall-list-64bit-condition): Define.
43033 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43034 (syscall-list-variants, syscall-list-32bit-options)
43035 (syscall-list-32bit-condition, syscall-list-64bit-options)
43036 (syscall-list-64bit-condition): Define.
43037 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43039 (syscall-list-variants, syscall-list-32bit-options)
43040 (syscall-list-32bit-condition, syscall-list-64bit-options)
43041 (syscall-list-64bit-condition): Define.
43042 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43044 (syscall-list-variants, syscall-list-32bit-options)
43045 (syscall-list-32bit-condition, syscall-list-64bit-options)
43046 (syscall-list-64bit-condition): Define.
43048 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43050 * locale/iso-639.def: Add brx entry.
43053 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43054 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43056 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43057 __feraiseexcept_renamed.
43059 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43062 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43063 EPOLLET with unsigned values.
43064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43067 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43068 to large cancellation.
43069 * math/s_cacoshf.c: Likewise.
43070 * math/s_cacoshl.c: Likewise.
43072 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43076 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43077 * math/s_cacoshf.c: Likewise.
43078 * math/s_cacoshl.c: Likewise.
43080 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43083 * iconv/gconv.h: Define __GCONV_SWAP.
43084 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43085 * iconvdata/utf-16.c: Likewise.
43086 * iconvdata/utf-32.c: Likewise.
43088 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43092 numerator after shifting it by one limb.
43094 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43096 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43097 under [__USE_EXTERN_INLINES].
43099 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43102 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43104 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43106 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43107 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43109 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43110 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43111 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43112 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43113 for strncasecmp/strncasecmp_l compilation.
43114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43115 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43117 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43120 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43123 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43126 * time/tzfile.c (__tzfile_read): Check values from file header.
43128 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43130 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43131 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43132 * powerpc/powerpc32/dl-start.S: Likewise.
43133 * powerpc/powerpc32/elf/start.S: Likewise.
43134 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43135 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43136 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43137 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43138 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43139 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43140 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43141 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43142 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43143 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43144 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43145 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43146 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43147 * powerpc/powerpc32/memset.S: Likewise.
43148 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43149 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43150 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43151 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43152 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43153 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43154 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43155 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43156 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43157 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43158 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43162 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43164 * math/libm-test.inc: Added more nearbyint tests.
43165 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43170 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43172 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43175 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43177 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43178 Add wcscpy-ssse3 wcscpy-c.
43179 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43180 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43181 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43182 * sysdeps/x86_64/wcschr.S: New file.
43183 * sysdeps/x86_64/wcsrchr.S: New file.
43184 * string/test-strcmp.c: Remove checking of wcscmp function for
43186 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43187 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43188 wcsrchr-sse2 wcsrchr-c.
43189 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43190 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43191 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43192 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43193 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43194 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43195 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43196 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43197 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43198 * wcsmbc/wcschr.c (WCSCHR): New macro.
43200 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43202 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43203 * wcsmbs/test-wcsrchr.c: New file.
43204 * string/test-strrchr.c: Add wcsrchr support.
43206 * wcsmbs/test-wcscpy.c: New file.
43207 * string/test-strcpy.c: Add wcscpy support.
43210 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43215 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43218 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43220 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43223 Minor optimizations.
43225 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43226 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43227 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43229 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43231 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43232 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43233 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43234 for gcc to avoid warnings.
43235 * inet/Makefile (tests): Add tst-checks.
43236 * inet/tst-checks.c: New file.
43238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43241 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43244 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43245 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43247 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43249 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43251 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43254 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43256 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43258 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43259 conditional on GCC version.
43260 (__arch_compare_and_exchange_val_8_acq)
43261 (__arch_compare_and_exchange_val_16_acq)
43262 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43263 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43264 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43266 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43268 * sysdeps/sh/backtrace.c: New file.
43270 2011-12-02 Andreas Schwab <schwab@redhat.com>
43272 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43275 2011-12-01 Andreas Schwab <schwab@redhat.com>
43277 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43278 falling back to utime.
43280 2011-11-30 Andreas Schwab <schwab@redhat.com>
43282 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43283 expectations for float.
43285 2011-11-29 Andreas Schwab <schwab@redhat.com>
43287 * locale/weight.h (findidx): Add parameter len.
43288 * locale/weightwc.h (findidx): Likewise.
43289 * posix/fnmatch_loop.c (FCT): Adjust caller.
43290 * posix/regcomp.c (build_equiv_class): Likewise.
43291 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43292 * posix/regexec.c (check_node_accept_bytes): Likewise.
43293 * string/strcoll_l.c (STRCOLL): Likewise.
43294 * string/strxfrm_l.c (STRXFRM): Likewise.
43296 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43298 * Makefile.in: Remove CVSOPT handling.
43299 * configure.in: Remove use of AC_REVISION.
43300 * iconvdata/Makefile (distribute): No need to filter out CVS.
43301 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43304 2011-11-16 Andreas Schwab <schwab@redhat.com>
43306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43307 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43308 [USE_AS_STRNCASECMP_L]: Likewise.
43309 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43310 NO_TLS_DIRECT_SEG_REFS.
43311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43312 Fix argument offsets for non-PIC.
43313 [USE_AS_STRNCASECMP_L]: Likewise.
43314 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43315 NO_TLS_DIRECT_SEG_REFS.
43317 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43319 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43321 * locale/loadlocale.c (_nl_load_locale): Likewise.
43323 2011-11-15 Andreas Schwab <schwab@redhat.com>
43325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43326 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43328 (SYSCALL_GETTIME): Set errno on error.
43330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43331 count references to noai6ai_cached.
43333 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43335 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43337 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43338 FD_CLOEXEC for /proc/self/maps.
43340 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43341 FD_CLOEXEC for /proc/meminfo.
43343 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43346 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43347 FD_CLOEXEC for given file.
43349 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43351 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43352 FD_CLOEXEC for /etc/hosts.
43353 (_gethtent): Likewise.
43355 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43357 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43358 cancellation and set FD_CLOEXEC for /etc/netgroup.
43360 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43361 reading /etc/publickey.
43363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43364 allow cancellation when reading /etc/group.
43366 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43368 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43370 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43371 when using data file.
43373 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43375 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43376 (write_nis_obj): Use "c" and "e" in fopen.
43378 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43380 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43382 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43384 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43386 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43389 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43391 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43393 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43395 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43396 file parsing and set FD_CLOEXEC.
43398 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43400 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43402 2011-11-14 Andreas Schwab <schwab@redhat.com>
43404 * malloc/arena.c (arena_get2): Don't call reused_arena when
43405 _int_new_arena failed.
43407 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43409 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43410 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43415 to compile strcasecmp and strncasecmp.
43416 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43417 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43421 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43423 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43424 locale-defines.sym to gen-as-const-headers.
43425 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43426 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43428 to compile strcasecmp and strncasecmp.
43429 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43430 strcasecmp_l and strncasecmp_l.
43431 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43432 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43433 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43434 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43435 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43436 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43437 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43438 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43439 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43440 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43441 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43443 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43445 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43446 result of SYSDEP_GETTIME_CPU to retval.
43447 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43448 parameter list to macro. Remove trailing semicolon. Adjust users.
43450 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43457 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43458 from unused variable.
43460 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43462 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43465 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43468 * sunrpc/rpc_prot.c (rejected): Fix case value.
43470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43471 unsigned long long int to avoid warnings in shift.
43473 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43475 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43478 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43479 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43480 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43482 * nis/nis_table.c (nis_list): Use variable of correct type for
43483 result of __follow_path call.
43485 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43487 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43488 of math functions ceil, trunc, floor, round, and sqrt, when
43489 avaliable on the platform.
43490 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43496 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43498 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43499 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43501 2011-11-11 Roland McGrath <roland@hack.frob.com>
43503 * include/unistd.h: Fix __readlink return type.
43504 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43506 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43508 * stdlib/ucontext.h: Undo last change for makecontext.
43510 2011-11-11 Andreas Schwab <schwab@redhat.com>
43512 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43514 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43515 * setjmp/setjmp.h: Mark functions as non-leaf.
43516 * setjmp/bits/setjmp2.h: Likewise.
43517 * stdlib/ucontext.h: Likewise.
43519 2011-11-10 Andreas Schwab <schwab@redhat.com>
43521 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43522 (reused_arena): Don't check arena limit.
43523 (arena_get2): Atomically check arena limit.
43525 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43527 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43528 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43533 2011-11-07 Andreas Schwab <schwab@redhat.com>
43535 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43536 handler when locking.
43538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43539 Fix size of allocated buffer.
43541 2011-11-04 Andreas Schwab <schwab@redhat.com>
43544 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43545 declarations for long double functions.
43546 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43548 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43550 2011-11-03 Andreas Schwab <schwab@redhat.com>
43552 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43555 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43558 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43560 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43562 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43564 * include/alloca.h (stackinfo_alloca_round): Define.
43565 (extend_alloca): Use it.
43566 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43567 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43570 * scripts/check-local-headers.sh: Ignore libaudit.h.
43572 * nscd/Makefile (extra-objs): Make recursively expanded.
43574 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43576 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43579 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43580 * posix/tst-rfc3484-2.c: Likewise.
43581 * posix/tst-rfc3484-3.c: Likewise.
43583 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43585 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43587 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43588 process_vm_writev from libc using GLIBC_2.15 version.
43590 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43592 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43594 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43597 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43600 * nss/getent.c (initgroups_keys): Show error message in case no group
43603 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43604 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43605 __bump_nl_timestamp.
43606 * nscd/connections (nscd_init): When host database is served open
43607 netlink socket and request notification about configuration changes.
43608 (main_loop_poll): Track netlink file descriptor and bump timestamp
43609 in case data becomes available.
43610 (main_loop_epoll): Likewise.
43611 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43612 (database_pers_head): Add extra_data fileds.
43613 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43615 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43618 in6ai data, call __free_in6ai.
43619 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43620 Add -DHAVE_NETLINK.
43621 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43622 interface information. Reuse previous data if netlink timestamp
43624 (__bump_nl_timestamp): New function.
43625 (__free_in6ai): New function.
43627 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43630 close_not_cancel_no_status here.
43631 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43633 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43636 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43639 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43640 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43641 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43643 2011-07-03 Andreas Jaeger <aj@suse.de>
43646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43647 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43648 * math/libm-test.inc (sin_test): Add test case.
43650 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43653 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43656 * elf/chroot_canon.c (chroot_canon): Cleanups.
43658 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43661 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43664 * string/test-strchr.c: Make usable for strchrnul testing.
43665 * string/test-strchrnul.c: New file.
43666 * string/Makefile (strop-tests): Add strchrnul.
43668 * po/it.po: Update from translation team.
43669 * po/es.po: Likewise.
43671 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43674 the three constants needed as parameters. Drop the others.
43675 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43676 __m128i_strloadu_tolower.
43677 Create and initialize variable zero and use it in all the places
43678 where _mm_setzero_si128 was used.
43680 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43681 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43682 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43686 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43687 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43688 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43689 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43690 __mpranred, __mptan.
43691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43697 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43698 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43699 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43701 2011-10-28 Andreas Schwab <schwab@redhat.com>
43703 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43704 redefine if SHARED.
43705 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43708 wide char related routines to wcsmbs subdir.
43710 2011-10-27 Andreas Schwab <schwab@redhat.com>
43713 * misc/sys/cdefs.h (__THROWNL): Define.
43714 * posix/unistd.h: Use __THREADNL instead of __THREAD
43715 for memory synchronization functions.
43717 2011-10-26 Roland McGrath <roland@hack.frob.com>
43720 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43722 * manual/stdio.texi (Obstack Streams): Node removed.
43724 2011-10-26 Andreas Schwab <schwab@redhat.com>
43726 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43727 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43730 * math/math_private.h (math_force_eval): Allow non-addressable
43732 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43734 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43736 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43737 file is not needed.
43739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43740 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43742 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43743 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43744 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43746 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43748 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43750 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43751 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43752 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43754 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43755 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43756 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43757 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43758 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43759 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43762 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43763 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43764 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43766 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43768 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43769 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43772 place. Use VEX encoding when compiling for AVX.
43774 2011-10-25 Andreas Schwab <schwab@redhat.com>
43776 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43777 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43779 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43781 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43783 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43784 useless if() expression.
43785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43786 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43787 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43788 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43789 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43791 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43798 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43799 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43800 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43802 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43803 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43805 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43807 2011-10-25 Andreas Schwab <schwab@redhat.com>
43809 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43813 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43815 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43816 .text section. Avoid duplicate constants.
43817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43826 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43827 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43828 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43833 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43834 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43841 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43842 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43843 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43846 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43859 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43861 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43863 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43865 * sysdeps/x86_64/dla.h: Move to ...
43866 * sysdeps/x86_64/fpu/dla.h: ...here.
43867 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43868 situations. Use __builtin_fma only for gcc 4.6 and up.
43870 * config.make.in: Add have-mfma4 entry.
43871 * configure.in: Substitute libc_cv_cc_fma4.
43872 * math/Makefile (dbl-only-routines): Add sincostab.
43873 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43874 Use __sincostab not sincos.
43875 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43882 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43883 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43884 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43885 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43888 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43890 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43891 define aliases when function name is a macro.
43892 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43893 sysdeps/ieee754/dbl-64/sincos.tbl.
43894 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43895 fma4-enabled routines.
43896 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43897 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43899 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43905 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43907 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43908 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43909 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43911 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43912 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43913 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43914 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43916 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43917 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43923 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43927 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43938 2011-10-24 Andreas Schwab <schwab@redhat.com>
43940 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43942 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43946 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43950 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43951 Remove unused variable magic_bits.
43952 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43954 * string/strnlen.c: Define and use STRNLEN macro.
43955 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43956 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43958 * wcsmbs/wcslen.c: Define and use WCSLEN.
43959 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43960 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43961 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43962 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43963 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43964 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43965 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43967 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43970 strnlen-sse2-no-bsf.
43971 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43973 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43974 Add strnlen support.
43975 (USE_AS_STRNLEN): New macro.
43976 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43977 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43978 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43979 * sysdeps/x86_64/wcslen.S: New file.
43981 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43984 XMM-moves are used for copying on small sizes.
43986 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43988 * wcsmbs/Makefile (strop-tests): Add wcschr.
43989 * wcsmbs/test-wcschr.c: New file.
43990 * string/test-strchr.c: Update.
43991 Add wcschr support.
43994 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43996 * wcsmbs/Makefile (strop-tests): Add wcslen.
43997 * wcsmbs/test-wcslen.c: New file.
43998 * string/test-strlen.c: Update.
43999 Add wcslen support.
44002 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44004 * po/it.po: Update from translation team.
44006 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44008 * sysdeps/x86_64/wcscmp.S: Update.
44009 Fix wrong comparison semantics.
44010 wcscmp shall use signed comparison not unsigned.
44011 Don't use substraction to avoid overflow bug.
44012 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44013 * wcsmbc/wcscmp.c: Likewise.
44014 * string/test-strcmp.c: Likewise.
44015 Add new tests to check cases with negative values.
44017 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44019 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44020 * sysdeps/x86_64/dla.h: ...here. New file.
44021 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44031 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44034 __ynl_finite aliases.
44036 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44040 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44042 [DLA_FMA] (EMULV): Use DLA_FMA.
44043 [DLA_FMA] (MUL12): Use EMULV.
44044 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44045 that are not needed.
44046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44054 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44056 * math/s_nan.c: Undef __nan.
44057 * math/s_nanf.c: Undef __nanf.
44058 * math/s_nanl.c: Undef __nanl.
44059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44062 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44064 * math/s_catan.c: Add branch predictions.
44065 * math/s_catanf.c: Likewise.
44066 * math/s_catanh.c: Likewise.
44067 * math/s_catanhf.c: Likewise.
44068 * math/s_catanhl.c: Likewise.
44069 * math/s_catanl.c: Likewise.
44070 * math/s_cexp.c: Likewise.
44071 * math/s_cexpf.c: Likewise.
44072 * math/s_cexpl.c: Likewise.
44073 * math/s_clog.c: Likewise.
44074 * math/s_clog10.c: Likewise.
44075 * math/s_clog10f.c: Likewise.
44076 * math/s_clog10l.c: Likewise.
44077 * math/s_clogf.c: Likewise.
44078 * math/s_clogl.c: Likewise.
44079 * math/s_csqrt.c: Likewise.
44080 * math/s_csqrtf.c: Likewise.
44081 * math/s_csqrtl.c: Likewise.
44082 * math/s_ctanf.c: Likewise.
44083 * math/s_ctanh.c: Likewise.
44084 * math/s_ctanhf.c: Likewise.
44085 * math/s_ctanhl.c: Likewise.
44086 * math/s_ctanl.c: Likewise.
44088 * math/math_private.h: Define __nan, __nanf, __nanl.
44089 * math/s_cacosh.c: Include <math_private.h>.
44090 * math/s_cacoshl.c: Likewise.
44091 * math/s_casinh.c: Likewise.
44092 * math/s_casinhf.c: Likewise.
44093 * math/s_casinhl.c: Likewise.
44094 * math/s_ccos.c: Rely entire on ccosh.
44095 * math/s_ccosf.c: Rely entire on ccoshf.
44096 * math/s_ccosl.c: Rely entirely on ccoshl.
44097 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44098 Remove tests for FE_INVALID.
44099 * math/s_ccoshf.c: Likewise.
44100 * math/s_ccoshl.c: Likewise.
44101 * math/s_csin.c: Likewise.
44102 * math/s_csinf.c: Likewise.
44103 * math/s_csinh.c Likewise.
44104 * math/s_csinhf.c: Likewise.
44105 * math/s_csinhl.c: Likewise.
44106 * math/s_csinl.c: Likewise.
44107 * math/s_ctan.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44109 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44112 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44115 compilation problems.
44117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44120 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44122 * sysdeps/i386/configure.in: Test for -mfma4 option.
44123 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44124 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44125 COMMON_CPUID_INDEX_80000001.
44126 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44127 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44128 use it if FMA3 is not supported.
44129 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44131 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44132 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44134 2011-10-20 Andreas Schwab <schwab@redhat.com>
44137 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44138 it would create a cycle with a link time dependency.
44140 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44142 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44144 * string/Makefile (strop-tests): Add rawmemchr.
44145 * string/test-rawmemchr.c: New file.
44147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44149 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44150 when compiling str{,n}casecmp and when AVX is available. Hook up
44151 new optimized code in initializers.
44153 2011-10-19 Andreas Schwab <schwab@redhat.com>
44155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44156 __feraiseexcept instead of feraiseexcept.
44158 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44160 * math/math_private.h: Define defaults for libc_fetestexcept and
44162 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44163 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44165 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44166 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44168 libc_fetestexcept and libc_feupdateenv.
44170 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44171 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44172 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44173 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44174 libc_feholdexcept_setround.
44176 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44177 Add s_nearbyint-c and s_nearbyintf-c.
44178 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44179 nearbyintf inlines.
44180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44185 * math/math_private.h: Define defaults for libc_fegetround,
44186 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44187 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44188 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44190 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44191 standard functions.
44192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44193 Remove comments and hacks for old compiler versions.
44194 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44195 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44196 libc_feholdexceptl.
44198 2011-10-18 Andreas Schwab <schwab@redhat.com>
44200 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44201 (__feraiseexcept_renamed): Add __NTH.
44202 (feraiseexcept): Add __NTH. Rename local variables to fix
44203 namespace violations.
44205 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44209 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44211 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44212 recently added interfaces.
44213 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44215 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44216 about macro parameter expansion.
44218 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44219 __NO_MATH_INLINES is defined. Cleanups.
44221 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44222 and __floorf is target has SSE4.1.
44223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44224 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44225 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44228 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44230 (floorf): Likewise.
44232 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44234 2011-10-17 Andreas Schwab <schwab@redhat.com>
44236 * misc/sys/cdefs.h: Fix last change.
44238 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44241 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44243 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44245 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44247 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44250 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44254 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44255 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44256 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44257 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44258 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44260 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44261 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44262 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44264 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44265 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44266 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44268 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44269 ceil, ceilf, floor, floorf.
44271 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44272 Perform IRELATIVE relocations last.
44274 * elf/do-rel.h: Add another parameter nrelative, replacing the
44275 local variable with the same name. Change name of the function
44276 to end in Rel or Rela (uppercase).
44277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44278 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44279 elf_dynamic_do_##reloc function.
44281 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44283 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44284 is sufficient, at least on modern CPUs.
44286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44288 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44291 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44293 * math/bits/math-finite.h: Add entries for exp.
44294 * math/e_expl.c: Add __*_finite alias.
44295 * sysdeps/i386/fpu/e_exp.S: Likewise.
44296 * sysdeps/i386/fpu/e_expf.S: Likewise.
44297 * sysdeps/i386/fpu/e_expl.c: Likewise.
44298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44299 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44300 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44301 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44302 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44306 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44307 is sufficient, at least on modern CPUs.
44309 * ctype/ctype-info.c (__ctype_init): Define.
44310 * include/ctype.h (__ctype_init): Declare.
44311 (__ctype_b_loc): The variable is always initialized.
44312 (__ctype_toupper_loc): Likewise.
44313 (__ctype_tolower_loc): Likewise.
44314 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44315 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44317 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44319 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44321 * configure.in: Also look in $cxxmachine/include for C++ system
44324 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44326 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44327 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44328 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44329 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44331 (USE_AS_WMEMCMP): New macro.
44333 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44334 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44335 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44336 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44338 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44339 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44340 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44341 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44342 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44344 (USE_AS_WMEMCMP): New macro.
44345 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44346 * sysdeps/string/test-memcmp.c: Update.
44347 Fix simple_wmemcmp.
44349 * wcsmbs/wmemcmp.c: Update.
44350 (WMEMCMP): New macro.
44353 2011-10-12 Andreas Jaeger <aj@suse.de>
44356 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44358 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44360 * libio/iofwide.c (do_length): Avoid warning.
44362 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44364 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44366 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44368 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44369 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44370 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44371 * sysdeps/i386/i686/fpu/e_log.S: New file.
44372 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44373 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44375 * ctype/ctype.h: Add support for inlined isXXX functions when
44376 compiling C++ code.
44378 2011-10-14 Andreas Schwab <schwab@redhat.com>
44380 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44384 2011-10-13 Roland McGrath <roland@hack.frob.com>
44387 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44389 2011-10-13 Andreas Schwab <schwab@redhat.com>
44391 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44392 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44395 * sysdeps/x86_64/memrchr.S: Check for zero size.
44397 * string/stratcliff.c: Add memrchr tests.
44399 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44402 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44403 rawmemchr-sse2 rawmemchr-sse2-bsf.
44404 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44405 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44406 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44407 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44408 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44409 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44410 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44411 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44412 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44413 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44414 * string/memrchr.c (MEMRCHR): New macro.
44416 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44418 Add integration with gcc's -ffinite-math-only and optimize wrapper
44420 * Versions.def: Define GLIBC_2.15 version for libm.
44421 * math/Makefile (headers): Add bits/math-finite.h.
44422 * math/bits/math-finite.h: New file.
44423 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44424 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44425 * math/e_acoshl.c: Add __*_finite alias.
44426 * math/e_acosl.c: Likewise.
44427 * math/e_asinl.c: Likewise.
44428 * math/e_atan2l.c: Likewise.
44429 * math/e_atanhl.c: Likewise.
44430 * math/e_coshl.c: Likewise.
44431 * math/e_exp10.c: Likewise.
44432 * math/e_exp10f.c: Likewise.
44433 * math/e_exp10l.c: Likewise.
44434 * math/e_exp2l.c: Likewise.
44435 * math/e_fmodl.c: Likewise.
44436 * math/e_gammal_r.c: Likewise.
44437 * math/e_hypotl.c: Likewise.
44438 * math/e_j0l.c: Likewise.
44439 * math/e_j1l.c: Likewise.
44440 * math/e_jnl.c: Likewise.
44441 * math/e_lgammal_r.c: Likewise.
44442 * math/e_log10l.c: Likewise.
44443 * math/e_log2l.c: Likewise.
44444 * math/e_logl.c: Likewise.
44445 * math/e_powl.c: Likewise.
44446 * math/e_sinhl.c: Likewise.
44447 * math/e_sqrtl.c: Likewise.
44448 * math/e_scalb.c: Completely rewritten and optimized.
44449 * math/e_scalbf.c: Likewise.
44450 * math/e_scalbl.c: Likewise.
44451 * math/w_acos.c: Likewise.
44452 * math/w_acosf.c: Likewise.
44453 * math/w_acosl.c: Likewise.
44454 * math/w_acosh.c: Likewise.
44455 * math/w_acoshf.c: Likewise.
44456 * math/w_acoshl.c: Likewise.
44457 * math/w_asin.c: Likewise.
44458 * math/w_asinf.c: Likewise.
44459 * math/w_asinl.c: Likewise.
44460 * math/w_atan2.c: Likewise.
44461 * math/w_atan2f.c: Likewise.
44462 * math/w_atan2l.c: Likewise.
44463 * math/w_atanh.c: Likewise.
44464 * math/w_atanhf.c: Likewise.
44465 * math/w_atanhl.c: Likewise.
44466 * math/w_exp10.c: Likewise.
44467 * math/w_exp10f.c: Likewise.
44468 * math/w_exp10l.c: Likewise.
44469 * math/w_fmod.c: Likewise.
44470 * math/w_fmodf.c: Likewise.
44471 * math/w_fmodl.c: Likewise.
44472 * math/w_j0.c: Likewise.
44473 * math/w_j0f.c: Likewise.
44474 * math/w_j0l.c: Likewise.
44475 * math/w_j1.c: Likewise.
44476 * math/w_j1f.c: Likewise.
44477 * math/w_j1l.c: Likewise.
44478 * math/w_jn.c: Likewise.
44479 * math/w_jnf.c: Likewise.
44480 * math/w_log.c: Likewise.
44481 * math/w_logf.c: Likewise.
44482 * math/w_logl.c: Likewise.
44483 * math/w_log10.c: Likewise.
44484 * math/w_log10f.c: Likewise.
44485 * math/w_log10l.c: Likewise.
44486 * math/w_log2.c: Likewise.
44487 * math/w_log2f.c: Likewise.
44488 * math/w_log2l.c: Likewise.
44489 * math/w_pow.c: Likewise.
44490 * math/w_powf.c: Likewise.
44491 * math/w_powl.c: Likewise.
44492 * math/w_remainder.c: Likewise.
44493 * math/w_remainderf.c: Likewise.
44494 * math/w_remainderl.c: Likewise.
44495 * math/w_scalb.c: Likewise.
44496 * math/w_scalbf.c: Likewise.
44497 * math/w_scalbl.c: Likewise.
44498 * math/w_sqrt.c: Likewise.
44499 * math/w_sqrtf.c: Likewise.
44500 * math/w_sqrtl.c: Likewise.
44501 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44502 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44504 * math/math_private.h: Declare __kernel_standard_f.
44505 * math/w_cosh.c: Remove cruft and optimize a bit.
44506 * math/w_coshf.c: Likewise.
44507 * math/w_coshl.c: Likewise.
44508 * math/w_exp2.c: Likewise.
44509 * math/w_exp2f.c: Likewise.
44510 * math/w_exp2l.c: Likewise.
44511 * math/w_hypot.c: Likewise.
44512 * math/w_hypotf.c: Likewise.
44513 * math/w_hypotl.c: Likewise.
44514 * math/w_lgamma.c: Likewise.
44515 * math/w_lgamma_r.c: Likewise.
44516 * math/w_lgammaf.c: Likewise.
44517 * math/w_lgammaf_r.c: Likewise.
44518 * math/w_lgammal.c: Likewise.
44519 * math/w_lgammal_r.c: Likewise.
44520 * math/w_sinh.c: Likewise.
44521 * math/w_sinhf.c: Likewise.
44522 * math/w_sinhl.c: Likewise.
44523 * math/w_tgamma.c: Likewise.
44524 * math/w_tgammaf.c: Likewise.
44525 * math/w_tgammal.c: Likewise.
44526 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44528 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44529 Minor optimizations. Pretty printing. Remove cruft.
44530 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44531 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44533 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44534 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44535 * sysdeps/i386/fpu/e_asin.S: Likewise.
44536 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44537 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44538 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44539 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44541 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44543 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44544 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44545 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44546 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44547 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44548 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44549 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44550 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44551 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44552 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44553 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44554 * sysdeps/i386/fpu/e_log.S: Likewise.
44555 * sysdeps/i386/fpu/e_log10.S: Likewise.
44556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44558 * sysdeps/i386/fpu/e_log2.S: Likewise.
44559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44560 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44561 * sysdeps/i386/fpu/e_logf.S: Likewise.
44562 * sysdeps/i386/fpu/e_logl.S: Likewise.
44563 * sysdeps/i386/fpu/e_pow.S: Likewise.
44564 * sysdeps/i386/fpu/e_powf.S: Likewise.
44565 * sysdeps/i386/fpu/e_powl.S: Likewise.
44566 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44567 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44568 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44570 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44571 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44572 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44573 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44574 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44596 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44599 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44600 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44601 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44602 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44604 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44606 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44607 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44608 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44609 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44610 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44611 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44612 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44613 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44614 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44615 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44643 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44645 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44647 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44649 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44656 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44661 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44663 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44664 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44668 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44672 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44673 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44674 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44675 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44676 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44677 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44678 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44679 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44680 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44682 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44683 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44684 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44685 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44686 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44687 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44688 (__isnanf): Likewise.
44689 (__isinf_ns): Likewise.
44690 (__isinf_nsf): Likewise.
44691 (__finite): Likewise.
44692 (__finitef): Likewise.
44693 (__ieee754_sqrt): Define as macro.
44694 (__ieee754_sqrtf): Define as macro.
44695 (__ieee754_sqrtl): Define as macro.
44696 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44698 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44699 __FINITE_MATH_ONLY__ consistent.
44700 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44702 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44704 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44709 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44711 * po/ja.po: Update from translation team.
44713 2011-10-08 Roland McGrath <roland@hack.frob.com>
44715 * locale/programs/locarchive.c (prepare_address_space): New function.
44716 (create_archive, enlarge_archive, open_archive): Use it.
44718 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44719 inside [SHARED], where it is used.
44721 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44723 * nss/getent.c (netgroup_keys): Remove unused variable.
44724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44726 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44728 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44732 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44733 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44734 * math/Makefile (libm-calls): Add s_isinf_ns.
44735 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44736 * math/multc3.c: Likewise.
44737 * math/s_casin.c: Likewise.
44738 * math/s_casinf.c: Likewise.
44739 * math/s_casinl.c: Likewise.
44740 * math/s_ccos.c: Likewise.
44741 * math/s_ccosf.c: Likewise.
44742 * math/s_ccosl.c: Likewise.
44743 * math/s_ctan.c: Likewise.
44744 * math/s_ctanf.c: Likewise.
44745 * math/s_ctanh.c: Likewise.
44746 * math/s_ctanhf.c: Likewise.
44747 * math/s_ctanhl.c: Likewise.
44748 * math/s_ctanl.c: Likewise.
44749 * math/w_fmod.c: Likewise.
44750 * math/w_fmodf.c: Likewise.
44751 * math/w_fmodl.c: Likewise.
44752 * math/w_remainder.c: Likewise.
44753 * math/w_remainderf.c: Likewise.
44754 * math/w_remainderl.c: Likewise.
44755 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44756 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44759 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44760 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44761 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44762 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44764 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44766 * stdio-common/printf_fphex.c: Likewise.
44767 * stdio-common/printf_size.c: Likewise.
44769 * math/e_exp10.c: Include math_private.h using <...> not "...".
44770 * math/e_exp10f.c: Likewise.
44771 * math/e_exp10l.c: Likewise.
44772 * math/e_exp2l.c: Likewise.
44773 * math/e_j0l.c: Likewise.
44774 * math/e_j1l.c: Likewise.
44775 * math/e_jnl.c: Likewise.
44776 * math/e_lgammal_r.c: Likewise.
44777 * math/e_rem_pio2l.c: Likewise.
44778 * math/e_scalb.c: Likewise.
44779 * math/e_scalbf.c: Likewise.
44780 * math/e_scalbl.c: Likewise.
44781 * math/k_cosl.c: Likewise.
44782 * math/k_sinl.c: Likewise.
44783 * math/k_tanl.c: Likewise.
44784 * math/s_cacoshf.c: Likewise.
44785 * math/s_catan.c: Likewise.
44786 * math/s_catanf.c: Likewise.
44787 * math/s_catanh.c: Likewise.
44788 * math/s_catanhf.c: Likewise.
44789 * math/s_catanhl.c: Likewise.
44790 * math/s_catanl.c: Likewise.
44791 * math/s_ccosh.c: Likewise.
44792 * math/s_ccoshf.c: Likewise.
44793 * math/s_ccoshl.c: Likewise.
44794 * math/s_cexp.c: Likewise.
44795 * math/s_cexpf.c: Likewise.
44796 * math/s_cexpl.c: Likewise.
44797 * math/s_clog.c: Likewise.
44798 * math/s_clog10.c: Likewise.
44799 * math/s_clog10f.c: Likewise.
44800 * math/s_clog10l.c: Likewise.
44801 * math/s_clogf.c: Likewise.
44802 * math/s_clogl.c: Likewise.
44803 * math/s_csin.c: Likewise.
44804 * math/s_csinf.c: Likewise.
44805 * math/s_csinh.c: Likewise.
44806 * math/s_csinhf.c: Likewise.
44807 * math/s_csinhl.c: Likewise.
44808 * math/s_csinl.c: Likewise.
44809 * math/s_csqrt.c: Likewise.
44810 * math/s_csqrtf.c: Likewise.
44811 * math/s_csqrtl.c: Likewise.
44812 * math/s_ctan.c: Likewise.
44813 * math/s_ctanf.c: Likewise.
44814 * math/s_ctanh.c: Likewise.
44815 * math/s_ctanhf.c: Likewise.
44816 * math/s_ctanhl.c: Likewise.
44817 * math/s_ctanl.c: Likewise.
44818 * math/s_ldexp.c: Likewise.
44819 * math/s_ldexpf.c: Likewise.
44820 * math/s_ldexpl.c: Likewise.
44821 * math/s_significand.c: Likewise.
44822 * math/s_significandf.c: Likewise.
44823 * math/s_significandl.c: Likewise.
44824 * math/w_acos.c: Likewise.
44825 * math/w_acosf.c: Likewise.
44826 * math/w_acosh.c: Likewise.
44827 * math/w_acoshf.c: Likewise.
44828 * math/w_acoshl.c: Likewise.
44829 * math/w_acosl.c: Likewise.
44830 * math/w_asin.c: Likewise.
44831 * math/w_asinf.c: Likewise.
44832 * math/w_asinl.c: Likewise.
44833 * math/w_atan2.c: Likewise.
44834 * math/w_atan2f.c: Likewise.
44835 * math/w_atan2l.c: Likewise.
44836 * math/w_atanh.c: Likewise.
44837 * math/w_atanhf.c: Likewise.
44838 * math/w_atanhl.c: Likewise.
44839 * math/w_cosh.c: Likewise.
44840 * math/w_coshf.c: Likewise.
44841 * math/w_coshl.c: Likewise.
44842 * math/w_dremf.c: Likewise.
44843 * math/w_exp10.c: Likewise.
44844 * math/w_exp10f.c: Likewise.
44845 * math/w_exp10l.c: Likewise.
44846 * math/w_exp2.c: Likewise.
44847 * math/w_exp2f.c: Likewise.
44848 * math/w_fmod.c: Likewise.
44849 * math/w_fmodf.c: Likewise.
44850 * math/w_fmodl.c: Likewise.
44851 * math/w_hypot.c: Likewise.
44852 * math/w_hypotf.c: Likewise.
44853 * math/w_hypotl.c: Likewise.
44854 * math/w_j0.c: Likewise.
44855 * math/w_j0f.c: Likewise.
44856 * math/w_j0l.c: Likewise.
44857 * math/w_j1.c: Likewise.
44858 * math/w_j1f.c: Likewise.
44859 * math/w_j1l.c: Likewise.
44860 * math/w_jn.c: Likewise.
44861 * math/w_jnf.c: Likewise.
44862 * math/w_jnl.c: Likewise.
44863 * math/w_lgamma.c: Likewise.
44864 * math/w_lgamma_r.c: Likewise.
44865 * math/w_lgammaf.c: Likewise.
44866 * math/w_lgammaf_r.c: Likewise.
44867 * math/w_lgammal.c: Likewise.
44868 * math/w_lgammal_r.c: Likewise.
44869 * math/w_log.c: Likewise.
44870 * math/w_log10.c: Likewise.
44871 * math/w_log10f.c: Likewise.
44872 * math/w_log10l.c: Likewise.
44873 * math/w_log2.c: Likewise.
44874 * math/w_log2f.c: Likewise.
44875 * math/w_log2l.c: Likewise.
44876 * math/w_logf.c: Likewise.
44877 * math/w_logl.c: Likewise.
44878 * math/w_pow.c: Likewise.
44879 * math/w_powf.c: Likewise.
44880 * math/w_powl.c: Likewise.
44881 * math/w_remainder.c: Likewise.
44882 * math/w_remainderf.c: Likewise.
44883 * math/w_remainderl.c: Likewise.
44884 * math/w_scalb.c: Likewise.
44885 * math/w_scalbf.c: Likewise.
44886 * math/w_scalbl.c: Likewise.
44887 * math/w_sinh.c: Likewise.
44888 * math/w_sinhf.c: Likewise.
44889 * math/w_sinhl.c: Likewise.
44890 * math/w_sqrt.c: Likewise.
44891 * math/w_sqrtf.c: Likewise.
44892 * math/w_sqrtl.c: Likewise.
44893 * math/w_tgamma.c: Likewise.
44894 * math/w_tgammaf.c: Likewise.
44895 * math/w_tgammal.c: Likewise.
44897 * po/ja.po: Update from translation team.
44899 2011-09-29 Andreas Jaeger <aj@suse.de>
44902 * sunrpc/netname.c (netname2host): Fix logic.
44906 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44908 * math/w_remainder.c (__remainder): Likewise.
44909 * math/w_remainderf.c (__remainderf): Likewise.
44910 * math/libm-test.inc (remainder_test): Add test cases.
44912 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44914 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44917 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44919 * string/test-memcmp.c: Avoid unncessary #defines.
44920 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44922 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44924 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44925 Use new sse2 version for core i3 - i7 as it's faster
44926 than sse42 version.
44927 (bit_Prefer_PMINUB_for_stringop): New.
44928 * sysdeps/x86_64/rawmemchr.S: Update.
44929 Replace with faster SSE2 version.
44930 * sysdeps/x86_64/memrchr.S: New file.
44931 * sysdeps/x86_64/memchr.S: Update.
44932 Replace with faster SSE2 version.
44934 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44936 * elf/dl-load.c (lose): Add cast to avoid warning.
44938 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44940 * po/ca.po: Update from translation team.
44942 * inet/getnetgrent_r.c: Hook up nscd.
44943 * nscd/Makefile (routines): Add nscd_netgroup.
44944 (nscd-modules): Add netgroupcache.
44945 (CFLAGS-netgroupcache.c): Define.
44946 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44947 (cache_search): Add const to second parameter.
44948 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44950 (dbs): Add netgrdb entry.
44951 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44952 (verify_persistent_db): Handle netgrdb.
44953 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44954 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44956 (netgroup_response_header): Define.
44957 (innetgroup_response_header): Define.
44958 (datahead): Add netgroup_response_header and innetgroup_response_header
44960 * nscd/nscd.conf: Add entries for netgroup cache.
44961 * nscd/nscd.h (dbtype): Add netgrdb.
44962 (_PATH_NSCD_NETGROUP_DB): Define.
44963 (netgroup_iov_disabled): Declare.
44964 (xmalloc, xcalloc, xrealloc): Move declarations here.
44965 (cache_search): Adjust prototype.
44966 Add netgroup-related prototypes.
44967 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44968 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44969 (__nscd_innetgr): Declare.
44970 * nscd/selinux.c (perms): Use access_vector_t as element type and
44971 add netgroup-related initializers.
44972 * nscd/netgroupcache.c: New file.
44973 * nscd/nscd_netgroup.c: New file.
44974 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44975 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44976 For four parameters use innetgr.
44977 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44978 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44979 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44980 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44982 * nscd/connections.c (register_traced_file): Don't register file
44983 for disabled databases.
44985 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44987 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44989 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44990 from tree and freeing node.
44992 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44994 * nss/nsswitch.c (__nss_database_lookup): Handle
44995 nss_parse_service_list out of memory case.
44997 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44999 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45000 out of memory case.
45002 2011-10-04 Andreas Schwab <schwab@redhat.com>
45004 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45005 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45007 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45008 elf_machine_rela, elf_machine_lazy_rel.
45009 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45010 (ELF_DYNAMIC_DO_REL): Likewise.
45011 (ELF_DYNAMIC_DO_RELA): Likewise.
45012 (ELF_DYNAMIC_RELOCATE): Likewise.
45013 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45014 to ELF_DYNAMIC_DO_REL.
45015 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45016 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45017 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45020 skip_ifunc, don't call ifunc function if non-zero.
45021 (elf_machine_rela): Likewise.
45022 (elf_machine_lazy_rel): Likewise.
45023 (elf_machine_lazy_rela): Likewise.
45024 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45025 (elf_machine_lazy_rel): Likewise.
45026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45028 (elf_machine_lazy_rel): Likewise.
45029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45031 (elf_machine_lazy_rel): Likewise.
45032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45033 (elf_machine_lazy_rel): Likewise.
45034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45035 (elf_machine_lazy_rel): Likewise.
45036 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45037 (elf_machine_lazy_rel): Likewise.
45038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45039 (elf_machine_lazy_rel): Likewise.
45040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45041 (elf_machine_lazy_rel): Likewise.
45042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45043 (elf_machine_lazy_rel): Likewise.
45045 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45047 * nss/nss_files/files-init.c (_nss_files_init): Use static
45048 initialization for all the *_traced_file variables.
45050 2011-09-28 Andreas Schwab <schwab@redhat.com>
45052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45054 2011-09-27 Roland McGrath <roland@hack.frob.com>
45057 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45059 2011-09-27 Andreas Schwab <schwab@redhat.com>
45061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45062 Reread the line before reparsing it.
45064 2011-09-26 Andreas Schwab <schwab@redhat.com>
45066 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45068 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45069 Maxim Kuvyrkov <maxim@codesourcery.com>
45070 Joseph Myers <joseph@codesourcery.com>
45072 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45073 if needed for __stack_chk_guard.
45075 2011-09-19 Roland McGrath <roland@hack.frob.com>
45077 * sysdeps/posix/spawni.c (script_execute): Always define it.
45078 It will be optimized away if unused.
45079 (maybe_script_execute): New function.
45080 (__spawni): Call it.
45082 * Makerules: Don't include tls.make.
45083 (config-tls): Always set to thread.
45084 * tls.make.c: File removed.
45086 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45088 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45089 * config.make.in (CPPFLAGS-config): New substituted variable.
45091 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45096 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45097 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45099 2011-09-15 Roland McGrath <roland@hack.frob.com>
45101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45102 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45104 (CALL_FAIL): Likewise.
45105 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45106 (CALL_FAIL): Macro removed.
45107 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45109 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45111 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45112 for __FINITE_MATH_ONLY__ == 1.
45114 2011-09-15 Andreas Schwab <schwab@redhat.com>
45116 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45117 __ieee754_sqrt instead of sqrt.
45118 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45119 __ieee754_sqrtf instead of sqrtf.
45120 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45121 __floorf instead of floorf.
45122 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45123 __floorf, __truncf instead of floorf, truncf.
45125 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45127 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45129 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45130 __extern_always_inline.
45131 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45134 2011-09-14 Andreas Schwab <schwab@redhat.com>
45136 * elf/rtld.c (dl_main): Also relocate in dependency order when
45137 doing symbol dependency testing.
45139 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45142 Always define `refsym'.
45144 2011-09-13 Andreas Schwab <schwab@redhat.com>
45146 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45147 (__FD_ELT): Renamed from __FDELT.
45148 * misc/bits/select2.h (__FD_ELT): Likewise.
45149 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45150 __FD_MASK instead of __FDELT, __FDMASK.
45151 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45153 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45156 * elf/Makefile (gen-ldd): Fix pattern.
45158 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45159 (init_tls): Likewise.
45161 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45165 2011-09-12 Andreas Schwab <schwab@redhat.com>
45167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45168 `struct cmsghdr *' instead of `void *'.
45169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45172 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45174 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45176 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45177 ldd_rewrite_script.
45179 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45181 * configure.in: Remove --with-tls option.
45182 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45183 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45184 out in case it is missing.
45185 * sysdeps/ia64/elf/configure.in: Likewise.
45186 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45187 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45188 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45189 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45190 * sysdeps/sh/elf/configure.in: Likewise.
45191 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45192 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45193 * sysdeps/x86_64/elf/configure.in: Likewise.
45194 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45195 * sysdeps/mach/hurd/tls.h: Likewise.
45198 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45201 * configure.in: Fix use of AC_INIT.
45203 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45205 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45207 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45209 * malloc/hooks.c: Likewise.
45212 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45213 variables statically.
45214 (narenas): Initialize.
45215 (list_lock): Initialize.
45216 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45217 initializtion of main_arena and list_lock. Small cleanups.
45218 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45219 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45220 Add initializers to main_arena and mp_.
45221 (malloc_state): Remove pagesize member. Change all users to use
45224 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45225 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45226 is always initialized.
45228 * malloc/malloc.c: Removed unused configurations and dead code.
45229 * malloc/arena.c: Likewise.
45230 * malloc/hooks.c: Likewise.
45231 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45233 * include/tls.h: Removed. USE___THREAD must always be defined.
45234 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45235 * elf/dl-libc.c: Likewise.
45236 * elf/dl-tsd.c: Likewise.
45237 * include/errno.h: Likewise.
45238 * include/netdb.h: Likewise.
45239 * include/resolv.h: Likewise.
45240 * inet/herrno-loc.c: Likewise.
45241 * inet/herrno.c: Likewise.
45242 * malloc/arena.c: Likewise.
45243 * malloc/hooks.c: Likewise.
45244 * malloc/malloc.c: Likewise.
45245 * resolv/res-state.c: Likewise.
45246 * resolv/res_libc.c: Likewise.
45247 * sysdeps/i386/dl-machine.h: Likewise.
45248 * sysdeps/ia64/dl-machine.h: Likewise.
45249 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45250 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45251 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45252 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45253 * sysdeps/sh/dl-machine.h: Likewise.
45254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45255 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45256 * sysdeps/unix/i386/sysdep.S: Likewise.
45257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45258 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45263 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45267 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45268 * sysdeps/x86_64/dl-machine.h: Likewise.
45269 * tls.make.c: Likewise.
45271 * configure.in: Remove --with-__thread option. Make tests for
45272 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45273 tls_model attribute fail if no support is available. Remove
45275 * Makeconfig: Adjust for dropped configure option. All features are
45277 * Makerules: Likewise.
45278 * Versions.def: Likewise.
45279 * argp/argp-fmtstream.c: Likewise.
45280 * argp/argp-fmtstream.h: Likewise.
45281 * argp/argp-help.c: Likewise.
45282 * assert/assert.c: Likewise.
45283 * config.h.in: Likewise.
45284 * config.make.in: Likewise.
45285 * configure: Likewise.
45286 * configure.in: Likewise.
45287 * csu/Versions: Likewise.
45288 * csu/init.c: Likewise.
45289 * elf/tst-audit2.c: Likewise.
45290 * elf/tst-tls10.c: Likewise.
45291 * elf/tst-tls10.h: Likewise.
45292 * elf/tst-tls11.c: Likewise.
45293 * elf/tst-tls12.c: Likewise.
45294 * elf/tst-tls14.c: Likewise.
45295 * elf/tst-tlsmod11.c: Likewise.
45296 * elf/tst-tlsmod12.c: Likewise.
45297 * elf/tst-tlsmod13.c: Likewise.
45298 * elf/tst-tlsmod13a.c: Likewise.
45299 * elf/tst-tlsmod14a.c: Likewise.
45300 * elf/tst-tlsmod15b.c: Likewise.
45301 * elf/tst-tlsmod16a.c: Likewise.
45302 * elf/tst-tlsmod16b.c: Likewise.
45303 * elf/tst-tlsmod7.c: Likewise.
45304 * elf/tst-tlsmod8.c: Likewise.
45305 * elf/tst-tlsmod9.c: Likewise.
45306 * gmon/gmon.c: Likewise.
45307 * grp/fgetgrent_r.c: Likewise.
45308 * grp/putgrent.c: Likewise.
45309 * hurd/fopenport.c: Likewise.
45310 * include/libc-symbols.h: Likewise.
45311 * include/tls.h: Likewise.
45312 * intl/gettextP.h: Likewise.
45313 * intl/loadinfo.h: Likewise.
45314 * locale/global-locale.c: Likewise.
45315 * locale/localeinfo.h: Likewise.
45316 * mach/devstream.c: Likewise.
45317 * malloc/arena.c: Likewise.
45318 * malloc/set-freeres.c: Likewise.
45319 * misc/err.c: Likewise.
45320 * misc/getttyent.c: Likewise.
45321 * misc/mntent_r.c: Likewise.
45322 * posix/getopt.c: Likewise.
45323 * posix/wordexp.c: Likewise.
45324 * pwd/fgetpwent_r.c: Likewise.
45325 * resolv/Versions: Likewise.
45326 * resolv/res_hconf.c: Likewise.
45327 * shadow/fgetspent_r.c: Likewise.
45328 * shadow/putspent.c: Likewise.
45329 * stdio-common/printf_fphex.c: Likewise.
45330 * stdio-common/tmpfile.c: Likewise.
45331 * stdlib/abort.c: Likewise.
45332 * stdlib/fmtmsg.c: Likewise.
45333 * sunrpc/auth_unix.c: Likewise.
45334 * sunrpc/clnt_perr.c: Likewise.
45335 * sunrpc/clnt_tcp.c: Likewise.
45336 * sunrpc/clnt_udp.c: Likewise.
45337 * sunrpc/clnt_unix.c: Likewise.
45338 * sunrpc/openchild.c: Likewise.
45339 * sunrpc/svc_simple.c: Likewise.
45340 * sunrpc/svc_tcp.c: Likewise.
45341 * sunrpc/svc_udp.c: Likewise.
45342 * sunrpc/svc_unix.c: Likewise.
45343 * sunrpc/xdr.c: Likewise.
45344 * sunrpc/xdr_array.c: Likewise.
45345 * sunrpc/xdr_rec.c: Likewise.
45346 * sunrpc/xdr_ref.c: Likewise.
45347 * sunrpc/xdr_stdio.c: Likewise.
45349 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45351 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45353 2011-07-03 Andreas Jaeger <aj@suse.de>
45355 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45356 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45357 regenerate with gen-libm-tests.pl.
45359 2010-05-12 Petr Baudis <pasky@suse.cz>
45362 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45363 around j0() zero points by switching to j1().
45364 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45369 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45371 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45373 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45376 Patch in part by Pavel Roskin <proski@gnu.org>.
45379 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45381 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45382 Free memory block if necessary.
45385 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45386 be NULL. Don't lock in this case.
45388 2011-09-09 Roland McGrath <roland@hack.frob.com>
45390 * elf/elf.h (ELFOSABI_GNU): New macro.
45391 (ELFOSABI_LINUX): Define to that.
45393 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45395 * string/strncat.c (strncat): Undef the symbol in case it has been
45396 defined in bits/string.h.
45398 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45400 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45402 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45405 2011-08-17 Andreas Jaeger <aj@suse.de>
45407 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45409 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45410 Ian Lance Taylor <iant@google.com>
45412 * math/libm-test.inc (lround_test): New testcase.
45413 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45415 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45417 * Makefile: Remove support for automatic cvs check-ins.
45418 * Makerules: Likewise.
45419 * config.make.in: Likewise.
45420 * configure.in: Likewise.
45421 * intl/Makefile: Likewise.
45422 * locale/Makefile: Likewise.
45423 * po/Makefile: Likewise.
45424 * posix/Makefile: Likewise.
45425 * sysdeps/gnu/Makefile: Likewise.
45426 * sysdeps/mach/hurd/Makefile: Likewise.
45427 * sysdeps/sparc/sparc32/Makefile: Likewise.
45430 * posix/Makefile (bug-regex32-ENV): Define.
45431 Patch by John Stanley <jpsinthemix@verizon.net>.
45433 * misc/Makefile (headers): Add bits/select2.h.
45434 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45435 * misc/bits/select2.h: New file.
45436 * include/bits/select2.h: New file.
45437 * debug/Makefile (routines): Add fdelt_chk.
45438 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45439 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45441 * debug/fdelt_chk.c: New file.
45443 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45444 * wcsmbs/test-wmemcmp.c: Likewise.
45445 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45446 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45448 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45450 * string/Makefile (strop-tests): Add memcmp.
45451 * string/test-wmemcmp.c: New file.
45452 * string/test-memcmp.c: Add wmemcmp support.
45454 2011-09-08 Roland McGrath <roland@hack.frob.com>
45457 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45460 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45461 garbage value in a __mach_port_mod_refs call in the cases of the
45462 task-self and thread-self ports.
45464 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45466 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45468 2011-09-08 Andreas Schwab <schwab@redhat.com>
45470 * elf/dl-load.c (lose): Check for non-null L.
45472 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45474 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45476 * elf/dl-libc.c (dlerror_run): Pass back error code from
45480 * elf/dl-load.c (lose): Free l_origin if it is valid.
45482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45489 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45491 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45493 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45494 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45495 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45496 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45497 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45498 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45499 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45500 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45501 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45502 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45504 2011-08-15 Alan Modra <amodra@gmail.com>
45507 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45508 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45509 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45510 ppc_mcount to static-only-routines.
45511 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45513 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45514 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45516 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45519 for finite and infinity parameters.
45521 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45524 and add nop instructions for throughput optimization.
45525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45527 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45530 aligned copy for power7 with vector-scalar instructions.
45531 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45533 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45538 2011-09-07 Andreas Schwab <schwab@redhat.com>
45541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45544 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45546 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45547 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45548 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45552 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45555 Forgot to demangle the pointer.
45557 * sysdeps/i386/sysdep.h: Define atom_text_section.
45558 * sysdeps/x86_64/sysdep.h: Likewise.
45559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45560 section with atom_text_section.
45561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45562 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45563 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45569 already be defined. Change to take two parameters and don't assign
45570 result to variable. Adjust all users.
45571 Define INTERNAL_GETTIME if not already defined.
45572 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45575 HAVE_CLOCK_GETTIME_VSYSCALL.
45576 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45579 gettimeofday vsyscall, just use time.
45581 2011-09-06 Andreas Schwab <schwab@redhat.com>
45583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45586 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45588 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45592 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45593 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45594 syscall if possible.
45596 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45598 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45599 e_ident. Don't pass to find_mapsXX.
45600 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45602 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45605 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45606 * sysdeps/x86_64/multiarch/strchr.S: Update.
45607 Check bit_slow_BSF bit.
45608 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45609 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45612 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45615 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45617 (tryshell): Define.
45618 (__spawni): Change last parameter to be flag. Test
45619 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45620 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45621 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45622 * posix/spawni.c: Likewise.
45623 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45624 * posix/spawnp.c: Likewise. Change normal version to use
45625 SPAWN_XFLAGS_USE_PATH.
45626 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45627 SPAWN_XFLAGS_TRY_SHELL.
45630 * posix/glob.h: Remove gcc 1.x support.
45633 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45635 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45638 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45640 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45641 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45643 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45647 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45649 * sysdeps/x86_64/wcscmp.S: New file.
45651 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45652 wcscmp-c wcscmp-sse2
45653 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45654 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45655 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45656 * wcsmbs/wcscmp.c: Allow renaming.
45658 2011-09-05 David S. Miller <davem@davemloft.net>
45660 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45661 stack slot, rather than the struct return pointer slot.
45662 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45663 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45665 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45667 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45669 * po/ja.po: Update from translation team.
45672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45673 kernel in 64-bit binaries.
45675 2011-09-01 David S. Miller <davem@davemloft.net>
45677 * elf/elf.h (HWCAP_SPARC_*): Move to..
45678 * sysdeps/sparc/sysdep.h: this new file and add new values.
45679 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45680 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45681 _DL_HWCAP_COUNT to 24.
45682 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45684 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45685 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45686 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45688 instead of magic constants.
45689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45691 2011-08-31 David S. Miller <davem@davemloft.net>
45693 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45695 Reimplement to do errno handling inline.
45696 (SYSCALL_ERROR_HANDLER): New macro.
45697 (__SYSCALL_STRING): Do not do errno handling in asm.
45698 (__CLONE_SYSCALL_STRING): Delete.
45699 (__INTERNAL_SYSCALL_STRING): Delete.
45700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45701 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45702 (PSEUDO): Reimplement to do errno handling inline.
45703 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45704 (SYSCALL_ERROR_HANDLER): New macro.
45705 (__SYSCALL_STRING): Do not do errno handling in asm.
45706 (__CLONE_SYSCALL_STRING): Delete.
45707 (__INTERNAL_SYSCALL_STRING): Delete.
45708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45709 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45711 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45712 (inline_syscall*): Add 'err' argument.
45713 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45714 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45715 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45716 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45718 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45719 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45721 2011-08-30 Andreas Schwab <schwab@redhat.com>
45723 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45725 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45727 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45730 2011-08-24 David S. Miller <davem@davemloft.net>
45732 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45734 2011-08-24 Andreas Schwab <schwab@redhat.com>
45736 * elf/Makefile: Add rules to build and run unload8 test.
45737 * elf/unload8.c: New file.
45738 * elf/unload8mod1.c: New file.
45739 * elf/unload8mod1x.c: New file.
45740 * elf/unload8mod2.c: New file.
45741 * elf/unload8mod3.c: New file.
45743 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45746 2011-08-23 David S. Miller <davem@davemloft.net>
45748 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45749 subtract stack bias.
45750 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45751 %sp not %fp in calculations.
45752 (_JMPBUF_UNWINDS_ADJ): Likewise.
45754 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45755 (aio_suspend): Call it to force an exception region around the
45756 AIO_MISC_WAIT() invocation.
45758 2011-08-23 Andreas Schwab <schwab@redhat.com>
45760 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45763 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45765 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45767 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45768 and <dl-machine.h>.
45769 (Elf64_FuncDesc): Remove.
45771 2011-08-22 David S. Miller <davem@davemloft.net>
45773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45774 sigaltstack check, add missing cfi directives.
45775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45776 missing cfi directives, and sigaltstack handling.
45778 2011-08-16 Andreas Schwab <schwab@redhat.com>
45781 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45782 object is seen twice.
45783 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45785 * elf/Makefile (distribute): Add tst-initorder2.c.
45786 (tests): Add tst-initorder2.
45787 (modules-names): Add tst-initorder2a tst-initorder2b
45788 tst-initorder2c tst-initorder2d. Add rules to build them.
45789 ($(objpfx)tst-initorder2.out): New rule.
45790 * elf/tst-initorder2.c: New file.
45791 * elf/tst-initorder2.exp: New file.
45793 2011-08-22 Andreas Schwab <schwab@redhat.com>
45795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45797 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45798 dependencies back to end of function.
45800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45801 $(elfobjdir)/ld.so.
45803 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45806 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45807 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45808 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45809 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45810 of __vdso_gettimeofday.
45811 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45812 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45814 (_libc_vdso_platform_setup): Remove initialization of
45815 __vdso_gettimeofday and __vdso_time.
45817 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45819 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45820 and fgetc_unlocked.
45821 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45824 * elf/dl-open.c (add_to_global): Report additions to the global scope
45825 for LD_DEBUG=scopes.
45826 (dl_open_worker): Also print scope of newly loaded dependencies.
45827 (_dl_show_scope): Indicate if there is no scope.
45830 * stdio-common/Makefile (tests): Add bug24.
45831 * stdio-common/bug24.c: New file.
45833 2011-08-19 Andreas Jaeger <aj@suse.de>
45836 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45837 non-existant file when using close-on-exec mode.
45839 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45842 the very first instruction.
45844 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45845 the CFI state in the end.
45846 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45847 inclusion of dl-trampoline.h.
45848 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45850 2011-08-19 Andreas Schwab <schwab@redhat.com>
45852 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45853 expectations for long double.
45855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45856 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45858 2011-08-14 David S. Miller <davem@davemloft.net>
45860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45861 artificual limit depends upon the system page size.
45863 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45865 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45866 * resolv/Makefile: Define CFLAGS-libresolv.
45868 2011-08-17 Andreas Schwab <schwab@redhat.com>
45870 * nss/makedb.c (compute_tables): Make variables used in nested
45873 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45875 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45876 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45877 if buffer was too small.
45879 * elf/pldd.c (main): Attach to all threads in the process.
45880 Rewrite /proc handling to use *at functions.
45882 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45884 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45885 specifies first scope to show.
45886 (dl_open_worker): Update callers. Move printing scope of new
45887 object to before the relocation.
45888 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45889 * sysdeps/generic/ldsodefs.h: Update declaration.
45891 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45892 string for the scope number.
45894 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45896 * nscd/servicescache.c (cache_addserv): Make sure written is always
45899 2011-08-14 Roland McGrath <roland@hack.frob.com>
45901 * sysdeps/i386/i486/bits/atomic.h
45902 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45903 statement expression, so as to suppress "set but not used" warning.
45904 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45906 * string/strncat.c (STRNCAT): Use prototype definition.
45908 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45909 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45911 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45912 (localedef-modules): Add localedef.
45913 (locale-modules): Add locale.
45915 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45916 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45917 to avoid a warning.
45919 2011-08-14 David S. Miller <davem@davemloft.net>
45921 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45922 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45924 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45926 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45927 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45928 * elf/rtld.c (dl_main): Set l_name of vDSO.
45929 Call _dl_show_scope when DL_DEBUG_SCOPES.
45930 (process_dl_debug): Recognize scopes flag and also set it for all.
45931 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45932 Declare _dl_show_scope.
45934 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45935 (do_dlopen): Pass caller_dlopen to dl_open.
45936 (__libc_dlopen_mode): Initialize caller_dlopen.
45938 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45939 of libc. Make tolower call locale-independent. Optimize a bit by
45940 using isdigit instead of isalnum.
45941 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45943 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45945 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45946 was a dependency or dynamically loaded.
45948 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45950 * intl/l10nflist.c: Allow architecture-specific pop function.
45951 * sysdeps/x86_64/l10nflist.c: New file.
45953 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45956 2011-08-10 Andreas Schwab <schwab@redhat.com>
45958 * include/dirent.h: Add libc_hidden_proto for scandirat and
45959 scandirat64. Don't declare __scandirat64.
45960 * dirent/scandirat.c: Add libc_hidden_def.
45961 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45962 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45964 2011-08-10 David S. Miller <davem@davemloft.net>
45966 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45972 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45974 * Versions.def [libc]: Add GLIBC_2.15.
45975 * dirent/Makefile (routines): Add scandirat and scandirat64.
45976 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45978 * dirent/dirent.h: Declare scandirat and scandirat64.
45979 * dirent/scandirat.c: New file.
45980 * dirent/scandirat64.c: New file.
45981 * sysdeps/wordsize-64/scandirat.c: New file.
45982 * sysdeps/wordsize-64/scandirat64.c: New file.
45983 * dirent/opendir.c: Define opendirat.
45984 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45986 * dirent/scandir64.c: Adjust for scandir.c change.
45987 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45988 __scandirat64, and __scandir_cancel_handler.
45989 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45990 additional parameter and use openat instead of open (outside of ld.so).
45991 Add new __opendir as wrapper around __opendirat.
45992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45993 here without requiring old scandirat implementation.
45995 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45997 * dirent/scandir.c (cancel_handler): Renamed to
45998 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45999 defined. Adjust users.
46000 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46001 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46003 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46005 * string/test-string.h (IMPL): Use __STRING to expand name and then
46008 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46011 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46013 * string/Makefile: Update.
46014 (strop-tests): Append strncat.
46015 * string/test-wcscmp.c: New file.
46016 New comprehensive test for wcscmp.
46017 * string/test-strcmp.c: Update.
46018 (WIDE): New define.
46020 2011-07-22 Andreas Schwab <schwab@redhat.com>
46022 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46025 2011-07-26 Andreas Schwab <schwab@redhat.com>
46027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46028 encoding to ACE if AI_IDN.
46030 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46033 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46035 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46038 Fix overflow bug in strncat.
46039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46041 * string/test-strncat.c: Update.
46042 Add new tests for checking overflow bugs.
46044 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46047 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46048 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46049 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46051 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46052 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46053 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46054 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46057 (USE_AS_STRCAT): Define.
46058 Add strcat and strncat support.
46059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46061 2011-07-25 Andreas Schwab <schwab@redhat.com>
46063 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46064 __n bigger than INT_MAX+1.
46065 (__strncmp_g): Likewise.
46067 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46069 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46070 * libio/stido.h: Likewise.
46072 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46077 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46078 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46080 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46081 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46084 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46089 (_dl_x86_64_save_sse): Likewise.
46091 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46095 (_dl_x86_64_save_sse): Likewise.
46097 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46099 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46101 2011-07-21 Andreas Schwab <schwab@redhat.com>
46103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46105 (_dl_x86_64_save_sse): Use correct AVX check.
46107 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46110 bug in strncpy/strncat.
46111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46113 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46115 * string/tester.c (test_strcat): Add tests for different alignments
46116 of source and destination.
46117 (test_strncat): Likewise.
46119 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46122 * posix/glob.c (glob): Check passed in values before using them in
46123 expressions to avoid some overflows.
46124 (glob_in_dir): Likewise.
46127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46128 check for AVX enablement so that we don't crash with old kernels and
46130 * elf/tst-audit4.c: Add same checks here.
46131 * elf/tst-audit6.c: Likewise.
46133 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46135 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46137 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46139 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46141 * po/cs.po: Update from translation team.
46142 * po/bg.po: Likewise.
46144 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46146 * misc/sys/cdefs.h: Add support for const attribute.
46147 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46148 to gnu_dev_{major,minor,makedev} functions.
46150 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46152 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46154 2011-07-20 Andreas Schwab <schwab@redhat.com>
46156 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46159 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46162 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46163 register in order to avoid conflicts with the soft frame pointer
46164 being held in r11 when necessary.
46165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46166 (INTERNAL_VSYSCALL_NCS): Likewise.
46168 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46170 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46171 * elf/dl-fini.c (_dl_fini): Adjust caller.
46172 * elf/dl-close.c (_dl_close_worker): Likewise.
46173 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46175 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46177 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46178 "aux_cache->nlibs < 0".
46180 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46181 in the reload-count case.
46183 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46186 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46187 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46188 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46189 * sysdeps/x86_64/multiarch/strcat.S: New file.
46190 * sysdeps/x86_64/multiarch/strncat.S: New file.
46191 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46193 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46194 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46196 (USE_AS_STRCAT): Define.
46197 Add strcat and strncat support.
46198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46200 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46201 * string/strncat.c: Update.
46202 (USE_AS_STRNCAT): Define.
46203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46204 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46206 * sysdeps/x86_64/multiarch/init-arch.h
46207 (bit_Prefer_PMINUB_for_stringop): New.
46208 (index_Prefer_PMINUB_for_stringop): Likewise.
46209 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46210 bit_Prefer_PMINUB_for_stringop.
46212 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46214 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46216 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46217 of casting of buffer.
46218 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46219 buffer32 and buffer64.
46220 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46221 writes instead of casting of buffer.
46222 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46224 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46227 2011-07-19 Andreas Schwab <schwab@redhat.com>
46229 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46231 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46233 * nscd/nscd.c (termination_handler): Don't do anything for a database
46234 if it has not yet been initialized.
46236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46238 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46240 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46242 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46244 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46246 * po/nl.po: Update from translation team.
46247 * po/sv.po: Likewise.
46249 2011-07-16 Roland McGrath <roland@hack.frob.com>
46251 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46252 now disallowed by GCC.
46254 * configure.in (use-default-link): Default to yes if a test -shared
46255 link meets our qualifications.
46256 * configure: Regenerated.
46258 * config.make.in (output-format): New variable.
46259 * configure.in: Check for ld --print-output-format support.
46260 * configure: Regenerated.
46261 * Makerules ($(common-objpfx)format.lds)
46262 [$(output-format) != unknown]: Just use $(output-format),
46263 instead of the linker-script munging.
46265 2011-07-14 Roland McGrath <roland@hack.frob.com>
46267 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46268 of $(common-objpfx)shlib.lds.
46269 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46271 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46272 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46274 * configure.in (-z relro check): Adjust test code to add a large
46275 writable data section after it.
46276 * configure: Regenerated.
46278 2011-07-11 Roland McGrath <roland@hack.frob.com>
46280 * configure.in (-z relro check): Fix test code to make the variable
46282 * configure: Regenerated.
46284 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46286 * nscd/nscd.h (struct traced_file): Define.
46287 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46288 elements. Add traced_files.
46289 (inotify_fd): Declare.
46290 (register_traced_file): Declare.
46291 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46292 (inotify_fd): Export.
46293 (resolv_conf_descr): Remove.
46294 (nscd_init): Move inotify descriptor creation to main.
46295 Don't register files for notification here.
46296 (register_traced_file): New function.
46297 (invalidate_cache): Don't use reset_res to determine whether to call
46298 res_init, go through the list of registered files.
46299 (main_loop_poll): The inotify descriptors are now stored in the
46300 structures for the traced files.
46301 (main_loop_epoll): Likewise
46302 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46303 to __nss_disable_nscd.
46304 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46305 for a database anymore. Check the records for all the registered
46307 * nss/Makefile (libnss_files-routines): Add files-init.
46308 (libnss_db-routines): Add db-init.
46309 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46310 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46311 * nss/nss_db/db-init.c: New file.
46312 * nss/nss_files/files-init.c: New file.
46313 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46314 __nss_lookup_function.
46315 (__nss_lookup_function): Call nss_load_library.
46316 (nss_load_all_libraries): New function.
46317 (__nss_disable_nscd): Take parameter with callback function for files
46318 to register. Set is_nscd. Load all the DSOs for the NSS modules
46319 used for the cached services.
46320 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46322 options for features to all the files in nscd.
46324 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46326 2011-07-10 Roland McGrath <roland@hack.frob.com>
46328 * csu/elf-init.c (__libc_csu_init): Comment typo.
46330 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46332 * po/pl.po: Update from translation team.
46333 * po/ja.po: Likewise.
46334 * po/ru.po: Likewise.
46335 * po/ko.po: Likewise.
46336 * po/fr.po: Likewise.
46338 2011-07-09 Roland McGrath <roland@hack.frob.com>
46340 * configure.in (.ctors/.dtors header and trailer check):
46341 Use an empirical test on a built program.
46342 * configure: Regenerated.
46344 * configure.in (-z relro check): Use an empirical test on a built DSO.
46345 Detect, but do not require, on ia64.
46346 * configure: Regenerated.
46348 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46349 Update tests that use readelf to use $READELF instead.
46350 * configure: Regenerated.
46352 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46354 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46355 if the result is not used.
46357 2011-07-05 Andreas Jaeger <aj@suse.de>
46360 * stdlib/tst-strtod.c: Add testcase.
46362 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46364 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46365 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46366 The latter has a higher limit. Take additional parameter to pass to
46368 (__pathconf): Pass file to __statfs_link_max.
46369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46371 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46375 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46376 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46379 (__statfs_filesize_max): Likewise.
46380 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46382 2011-07-05 Andreas Jaeger <aj@suse.de>
46384 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46386 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46388 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46390 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46393 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46395 * Makefile (strop-tests): Add strncat.
46396 * string/test-strncat.c: New file.
46398 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46400 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46402 2011-06-21 Andreas Jaeger <aj@suse.de>
46404 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46405 Copy rule from iconvdata/Makefile.
46407 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46410 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46411 but no long options are defined, just return 'W'.
46413 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46416 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46418 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46420 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46422 (innetgr): Likewise.
46424 2011-07-05 Roland McGrath <roland@hack.frob.com>
46426 * config.make.in (install_root): Default to $(DESTDIR).
46428 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46432 2011-07-02 Roland McGrath <roland@hack.frob.com>
46434 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46436 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46437 containing directory rather than embedding absolute directory names.
46439 * scripts/check-local-headers.sh: Rewritten using awk.
46440 Match by word, not by line. Print error messages for matches.
46441 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46443 * Makerules [shlib-lds-flags empty]:
46444 ($(common-objpfx)libc_pic.opts): New target.
46445 ($(common-objpfx)libc_pic.os.clean): New target.
46446 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46448 * config.make.in (OBJCOPY): New variable.
46449 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46450 * configure: Regenerated.
46452 * config.make.in (use-default-link): New variable.
46453 * configure.in (use_default_link): Grok --with-default-link to set it.
46454 * configure: Regenerated.
46455 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46456 (shlib-lds, shlib-lds-flags): Define to empty.
46458 * Makerules (shlib-lds): New variable.
46459 (shlib-lds-flags): New variable.
46460 (build-shlib, build-moduile, build-module-asneeded): Use it.
46461 ($(common-objpfx)libc.so): Use $(shlib-lds).
46462 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46463 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46465 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46466 DT_FLAGS/DT_FLAGS_1 with zero flags.
46468 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46469 linker script munging.
46471 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46473 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46475 * crypt/sha512.c (sha512_process_block): Perform total addition using
46476 128-bit if possible.
46477 (__sha512_finish_ctx): Likewise.
46478 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46480 * crypt/sha256.c (SWAP64): Define.
46481 (sha256_process_block): Perform total addition using 64-bit if
46483 (__sha256_finish_ctx): Likewise.
46485 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46487 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46489 * nscd/hstcache.c (cache_addhst): Likewise.
46490 * nscd/grpcache.c (cache_addgr): Likewise.
46491 * nscd/aicache.c (addhstaiX): Likewise
46492 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46494 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46496 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46498 * nscd/hstcache.c (cache_addhst): Likewise.
46499 * nscd/grpcache.c (cache_addgr): Likewise.
46500 * nscd/aicache.c (addhstaiX): Likewise
46502 2011-07-01 Andreas Schwab <schwab@redhat.com>
46504 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46505 domain only when needed.
46507 2011-06-30 Andreas Schwab <schwab@redhat.com>
46509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46510 is always restored.
46512 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46514 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46515 are re-adding the entry.
46516 * nscd/servicescache.c (cache_addserv): Likewise.
46518 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46520 * sysdeps/generic/dl-irel.h: fix protection against multiple
46522 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46524 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46527 * malloc/memusage.sh: Fix quoting in message.
46528 * debug/xtrace.sh: Likewise.
46530 * configure.in: Remove support for --experimental-malloc option, make
46532 * config.make.in: Likewise.
46533 * malloc/Makefile: Likewise.
46535 2011-06-27 Andreas Schwab <schwab@redhat.com>
46537 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46538 two-byte characters.
46540 2011-06-27 Roland McGrath <roland@hack.frob.com>
46542 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46543 AC_CACHE_CHECK invocation.
46544 * configure: Regenerated.
46546 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46548 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46551 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46552 bit from old_res_options.
46554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46556 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46557 value type for setfct.
46559 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46562 __gettimeofday instead of gettimeofday.
46564 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46566 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46568 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46575 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46578 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46579 strcpy-sse2-unaligned strncpy-sse2-unaligned
46580 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46581 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46582 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46583 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46584 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46587 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46588 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46589 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46590 (STRCPY): Support SSE2 and SSSE3 versions.
46592 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46595 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46596 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46597 kernels which artificially limit size of requests.
46599 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46602 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46603 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46604 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46605 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46606 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46607 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46608 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46609 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46611 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46612 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46613 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46614 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46615 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46617 Enable unaligned load optimization for Intel Core i3, i5 and i7
46619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46621 (index_Fast_Unaligned_Load): Define.
46622 (HAS_FAST_UNALIGNED_LOAD): Define.
46624 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46626 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46628 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46632 until it is clear that the information is realy needed.
46633 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46635 2011-06-22 Andreas Schwab <schwab@redhat.com>
46637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46639 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46642 /sys/devices/system/cpu/online if it is usable.
46644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46645 reading the information from the /proc filesystem to once a second.
46647 2011-06-21 Andreas Jaeger <aj@suse.de>
46649 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46650 NULL after inclusion of kernel headers.
46652 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46654 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46655 calls to internal_setent.
46658 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46659 addresses using gethostbyname4_r ignore IPv4 addresses.
46661 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46662 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46664 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46666 2011-06-20 David S. Miller <davem@davemloft.net>
46668 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46670 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46672 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46673 (elf_irel): Use it.
46674 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46675 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46676 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46677 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46678 * sysdeps/x86_64/dl-irel.h: Likewise.
46680 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46681 * elf/dl-sym.c: Likewise.
46683 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46685 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46686 need to dereference resplen2.
46688 2011-06-14 Andreas Schwab <schwab@redhat.com>
46690 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46692 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46694 * Makeconfig: Define vardbdir and inst_vardbdir.
46695 * nss/Makefile: Add rules to install db-Makefile.
46697 * nss/nss_db/db-XXX.c: Cleanup.
46699 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46700 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46702 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46703 * nss/makedb.c: Implement -g option to specify that value strings
46704 are generated and should not be added to table iterated over for
46706 * nss/nss_db/db-initgroups.c: New file.
46708 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46711 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46712 (internal_getgrouplist): Adjust to name change.
46713 Update use_initgroups_entry if this is not the first call.
46714 * nss/databases.def: Add initgroups entry.
46716 * nss/makedb.c (compute_tables): Check result of multiple hash table
46717 sizes to minimize maximum chain length.
46719 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46721 * Versions.def: Add entry for libnss_db.
46722 * shlib-versions: Likewise.
46723 * nss/Makefile: Add rules to build libnss_db.
46724 * nss/Versions: Add libnss_db information. Organize libnss_files
46726 * nss/db-Makefile: Add gshadow support. Change rules for the new
46727 makedb progra. Some minor improvements to generate smaller files.
46728 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46730 * nss/makedb.c: ...here.
46731 Improve database format to be smaller and require less memory at
46733 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46735 * nss/nss_db/db-netgrp.c: Likewise.
46736 * nss/nss_db/db-open.c: Likewise.
46737 * nss/nss_files/flies-XXX.x: Adjust comments.
46738 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46739 * nss/nss_files/files-grp.c: Likewise.
46740 * nss/nss_files/files-hosts.c: Likewise.
46741 * nss/nss_files/files-network.c: Likewise.
46742 * nss/nss_files/files-proto.c: Likewise.
46743 * nss/nss_files/files-pwd.c: Likewise.
46744 * nss/nss_files/files-rpc.c: Likewise.
46745 * nss/nss_files/files-service.c: Likewise.
46746 * nss/nss_files/files-sgrp.c: Likewise.
46747 * nss/nss_files/files-spwd.c: Likewise.
46748 * nss/nss_db/db-alias.c: Removed.
46749 * nss/nss_db/dummy-db.h: Removed.
46751 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46753 * nss/makedb.c: Rewritten to not use database library.
46754 * nss/Makefile: Update to build new makedb program.
46756 2011-06-14 Andreas Jaeger <aj@suse.de>
46758 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46759 memset declaration.
46761 2011-06-10 Andreas Schwab <schwab@redhat.com>
46763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46766 2011-06-10 Roland McGrath <roland@hack.frob.com>
46768 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46769 * elf/Makefile ($(objpfx)ld.so): Likewise.
46771 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46772 Don't list ld.so twice in dependencies.
46774 * posix/bug-regex31.c: Include <stdlib.h>.
46776 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46778 * nis/nss_compat/compat-spwd.c
46779 (getspent_next_nss_netgr): Remove unused variable.
46780 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46782 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46783 nonmembers" output to use the right array.
46785 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46787 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46789 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46790 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46791 * catgets/gencat.c (read_input_file): Likewise.
46792 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46795 variable definition inside #if's controlling its use.
46797 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46799 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46801 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46803 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46806 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46808 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46809 * configure: Regenerated.
46811 * Makerules: Revert last change.
46812 * elf/Makefile: Likewise.
46814 2011-06-09 Roland McGrath <roland@hack.frob.com>
46816 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46817 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46818 (reloc-link): Likewise.
46820 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46822 * elf/Makefile: Add rules to build pldd.
46823 * elf/pldd.c: New file.
46824 * elf/pldd-xx.c: New file.
46826 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46828 * version.h: Update for 2.15 development version.
46830 2011-06-07 David S. Miller <davem@davemloft.net>
46832 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46835 elf_machine_lazy_rel): Likewise.
46836 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46838 elf_machine_lazy_rel): Likewise.
46839 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46840 dl_hwcap via passed in argument.
46841 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46844 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46846 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46848 2011-06-06 Roland McGrath <roland@hack.frob.com>
46851 * manual/fdl-1.1.texi: New file, verbatim from:
46852 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46853 * manual/lgpl-2.1.texi: New file, verbatim from:
46854 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46855 * manual/Makefile (licenses): New variable, list those new file names.
46857 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46859 * manual/fdl.texi: File removed.
46860 * manual/lesser.texi: File removed.
46861 * manual/libc.texinfo (Copying, Documentation License):
46862 Use new @include file names, put @appendix directive before @include.
46864 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46867 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46868 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46869 (mq_open): Add __NTH.
46871 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46874 Assume Intel Core i3/i5/i7 processor if AVX is available.
46876 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46881 2011-05-31 Andreas Schwab <schwab@redhat.com>
46883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46884 memory. Use alloca_account. Fix memory leak when retrying.
46886 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46888 * version.h (RELEASE): Bump for 2.14 release.
46889 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46891 * config.make.in (RANLIB): Remove entry.
46893 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46895 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46896 (libc.pot): Work around missing support for .ksh extension in xgettext.
46899 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46900 if both request failed.
46901 (send_dg): In case of server errors clear resplen or *resplen2.
46904 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46905 when there are multiple maps.
46906 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46907 (_dl_fini): Remove test here.
46909 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46911 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46914 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46915 bit from old_res_options.
46916 (gaih_inet): Likewise.
46919 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46922 * resolv/res_init.c (res_setoptions): Make the code more compact.
46925 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46929 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46931 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46934 * malloc/malloc.h: Declare malloc hook variables as volatile.
46936 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46940 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46941 raise in the comment.
46942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46944 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46946 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46949 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46950 grow the buffers more if it already has to be sufficient.
46951 (build_wcs_upper_buffer): Likewise.
46952 * posix/regexec.c (check_matching): Likewise.
46953 (clean_state_log_if_needed): Likewise.
46954 (extend_buffers): Don't enlarge buffers beyond size of the input
46956 Patches mostly by Emil Wojak <emil@wojak.eu>.
46957 * posix/bug-regex32.c: New file.
46958 * posix/Makefile (tests): Add bug-regex32.
46960 * locale/findlocale.c (_nl_find_locale): Return right away if
46961 _nl_explode_name failed.
46962 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46966 * debug/xtrace.sh: Unify messages.
46967 * malloc/memusage.sh: Likewise.
46970 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46971 time symbol from vDSO. Substitute with vsyscall if not available.
46972 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46975 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46976 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46977 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46978 Add sendmmsg and internal_sendmmsg.
46979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46980 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46981 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46983 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46984 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46987 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46991 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46997 * iconvdata/Makefile (tests): Add bug-iconv9.
46998 * iconvdata/bug-iconv9.c: New file.
47000 2011-05-27 Andreas Schwab <schwab@redhat.com>
47003 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47005 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47008 (struct user_regs_struct): Change intcs field back to cs.
47010 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47012 * po/ja.po: Update from translation team.
47014 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47017 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47018 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47020 2011-05-20 Andreas Schwab <schwab@redhat.com>
47022 * stdlib/longlong.h: Update from GCC.
47024 2011-05-23 Andreas Schwab <schwab@redhat.com>
47026 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47028 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47029 Add parameter name.
47030 (__sysconf): Pass it down.
47032 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47035 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47037 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47038 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47039 add in in __libc_use_alloca calls. Adjust callers.
47040 (glob): Use malloc in some situations.
47042 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47043 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47046 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47048 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47049 and CLOCK_BOOTTIME_ALARM.
47052 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47055 * string/_strerror.c (__strerror_r): Print negative errors as signed
47059 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47060 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47061 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47063 * configure.in: Fix typo in redirection and correct removal of test
47064 files in two cases.
47067 * locale/setlocale.c (new_composite_name): Fix test to check for
47068 identical name of all categories.
47071 * libio/filedoalloc.c (local_isatty): New function.
47072 (_IO_file_doallocate): Use local_isatty.
47073 * stdio-common/perror.c (perror): In case a new stream is used
47074 forward the stream error.
47075 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47078 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47083 * include/alloca.h (extend_alloca_account): Define.
47086 * posix/regex.h: Fix comments with documentation of user-accessible
47087 fields after compilation and describe correct free'ing of pattern
47088 after re_compile_pattern.
47089 Patch by Reuben Thomas <rrt@sc3d.org>.
47091 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47093 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47094 and -mno-altivec to prevent the compiler from using Altivec and/or
47095 VSX instructions when the corresponding registers are not available.
47097 2011-05-19 Andreas Schwab <schwab@redhat.com>
47099 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47101 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47103 * libio/freopen.c (freopen): Use __dup2, not dup2.
47104 * libio/freopen64.c (freopen64): Likewise.
47106 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47109 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47110 * math/Makefile (tests): Add test-powl.
47111 (CFLAGS-test-powl.c): Define.
47112 * math/test-powl.c: New file.
47114 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47116 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47118 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47121 * iconvdata/gb18030.c: Update to GB18020-2005.
47123 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47125 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47126 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47127 Patch by Aharon Robbins <arnold@skeeve.com>.
47130 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47134 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47135 through underflows.
47138 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47139 point to strings before performing equality test for error_one_per_line
47143 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47147 (struct user_fpregs_struct): Avoid __uint*_t types.
47150 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47151 symbol info. Use it instead of calling _dl_addr locally.
47152 (lock_and_info): New function.
47153 (tr_freehook): Call lock_and_info and pass symbol info as additional
47154 parameter to tr_where.
47155 (tr_mallochook): Likewise.
47156 (tr_reallochook): Likewise.
47157 (tr_memalignhook): Likewise.
47159 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47160 used and couldn't be at all thread-safe.
47162 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47164 * libio/freopen.c (freopen): Don't close old file descriptor
47165 before the new one is opened. Instead dup the new file descriptor
47166 to the old one after the new stream is created.
47167 * libio/freopen64.c (freopen64): Likewise.
47168 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47169 * libio/fileops.c (_IO_new_file_close_it): Handle new
47170 _IO_FLAGS2_NOCLOSE flag.
47171 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47172 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47173 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47174 _IO_FLAGS2_NOCLOSE flag.
47175 * include/unistd.h: Add hidden_proto for dup3.
47176 Define __have_dup3.
47177 * io/dup3.c: Define hidden symbol.
47178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47181 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47182 when an incomplete long option is used.
47183 * posix/tst-getopt_long1.c: New file.
47184 * posix/Makefile (tests): Add tst-getopt_long1.
47187 * scripts/config.guess: Update from autoconf-2.68.
47188 * scripts/config.sub: Likewise.
47191 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47193 (has_cpuclock): ...this. New function.
47194 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47195 macro here based on has_cpuclock code.
47198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47199 First byte (not low byte) is now always NUL.
47200 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47203 Use non-cancelable interfaces.
47206 * locale/iso-639.def: Add entry for Sorani.
47209 * include/stdlib.h: Move include protection to the right place.
47210 Define abort_msg_s. Declare __abort_msg with it.
47211 * stdlib/abort.c (__abort_msg): Adjust type.
47212 * assert/assert.c (__assert_fail_base): New function. Majority
47213 of code from __assert_fail. Allocate memory for __abort_msg with
47215 (__assert_fail): Now call __assert_fail_base.
47216 * assert/assert-perr.c: Remove bulk of implementation. Use
47217 __assert_fail_base.
47218 * include/assert.hL Declare __assert_fail_base.
47219 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47221 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47223 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47227 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47228 until all modules are registered in the DTV.
47229 * elf/Makefile: Add rules to build and run tst-tls19.
47230 * elf/tst-tls19.c: New file.
47231 * elf/tst-tls19mod1.c: New file.
47232 * elf/tst-tls19mod2.c: New file.
47233 * elf/tst-tls19mod3.c: New file.
47234 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47237 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47241 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47242 two-byte sequence errors.
47243 * iconvdata/Makefile (tests): Add bug-iconv8.
47244 * iconvdata/bug-iconv8.c: New file.
47247 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47250 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47253 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47254 (dummy_getcfa): New function.
47255 (init): Get _Unwind_GetCFA address, use dummy if not found.
47256 (backtrace_helper): In recursion check, also check whether CFA changes.
47257 (__backtrace): Completely initialize arg.
47259 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47260 storing incomplete byte sequence in state object. Avoid testing for
47261 guaranteed too small input if we know there is enough data available.
47263 2011-05-11 Andreas Schwab <schwab@redhat.com>
47265 * Makeconfig (+link-pie): Indent.
47266 * Rules (binaries-pie): Define if $(have-fpie) and
47268 (binaries-shared): Also filter out $(binaries-pie).
47269 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47270 * nscd/Makefile (others-pie): Add nscd.
47271 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47272 ($(objpfx)nscd): Remove command override.
47273 * login/Makefile (others-pie): Add pt_chown.
47274 ($(objpfx)pt_chown): Remove command override.
47275 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47276 remove command overrides.
47278 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47280 * libio/tst_putwc.c: Fix error messages.
47283 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47284 currently writing and seek to current position when not.
47285 * libio/Makefile (tests): Add bug-fclose1.
47286 * libio/bug-fclose1.c: New file.
47288 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47291 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47292 don't set DF_1_NODELETE here.
47293 (do_lookup_x): When entering new entry test for copy relocation
47294 and if necessary set DF_1_NODELETE flag.
47295 * elf/tst-unique4.cc: New file.
47296 * elf/tst-unique4.h: New file.
47297 * elf/tst-unique4lib.cc: New file.
47298 * elf/Makefile: Add rules to build and run tst-unique4.
47299 Patch by Piotr Bury <pbury@goahead.com>.
47301 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47304 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47307 * misc/mntent_r.c (addmntent): Flush the stream after the output
47310 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47311 (is_trusted_path_normalize): Skip initial colon. Append slash
47312 to empty buffer. Duplicate is_trusted_path code but allow
47313 constructed patch to be prefix.
47314 (is_dst): Allow $ORIGIN followed by /.
47315 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47316 Correct testing of result of is_trusted_path_normalize
47317 (decompose_rpath): Fix warning.
47319 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47322 * grp/initgroups.c (internal_getgrouplist): When we found the service
47323 list through the initgroups entry in nsswitch.conf do not always
47324 continue on a successful lookup. Don't always use the
47325 __nss_group_database value if it is set.
47326 * nss/nsswitch.conf (initgroups): Change action for successful db
47327 lookup to continue for compatibility.
47329 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47332 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47334 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47336 * iconvdata/tst-tables.sh: Likewise.
47337 * iconvdata/cp770.c: New file.
47338 * iconvdata/cp771.c: New file.
47339 * iconvdata/cp772.c: New file.
47340 * iconvdata/cp773.c: New file.
47341 * iconvdata/cp774.c: New file.
47342 * iconvdata/testdata/CP770: New file.
47343 * iconvdata/testdata/CP770..UTF8: New file.
47344 * iconvdata/testdata/CP771: New file.
47345 * iconvdata/testdata/CP771..UTF8: New file.
47346 * iconvdata/testdata/CP772: New file.
47347 * iconvdata/testdata/CP772..UTF8: New file.
47348 * iconvdata/testdata/CP773: New file.
47349 * iconvdata/testdata/CP773..UTF8: New file.
47350 * iconvdata/testdata/CP774: New file.
47351 * iconvdata/testdata/CP774..UTF8: New file.
47353 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47355 * iconvdata/gen-8bit-gap.sh: Likewise.
47356 * iconvdata/gen-8bit.sh: Likewise.
47358 * locale/iso-639.def: Add ary entry.
47361 * locale/C-translit.h.in: Add U20A1 transliteration.
47364 * locale/iso-639.def: Add wae entry.
47365 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47368 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47372 * locale/C-translit.h.in: Add entry for U20B9.
47373 Patch by pravin.d.s@gmail.com.
47375 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47378 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47379 ENAMETOOLONG use generic getcwd.
47380 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47381 in rtld. Use *stat64.
47382 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47383 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47384 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47385 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47386 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47387 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47388 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47389 __fstatat64 macros.
47390 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47391 * dirent/rewinddir.c: Add libc_hidden_def.
47392 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47393 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47395 * include/dirent.h (__alloc_dir): Add flags parameter.
47396 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47397 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47399 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47400 from fdopendir if O_CLOEXEC is already set.
47402 2011-03-15 Alan Modra <amodra@gmail.com>
47404 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47405 l_tls_firstbyte_offset non-zero. Save padding offset in
47406 l_tls_firstbyte_offset for later use.
47407 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47408 freeing static tls block.
47410 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47412 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47413 where #ifdef was intended. The intent is to prevent ARG_MAX from
47414 being defined by the kernel headers.
47416 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47419 * resolv/resolv.h: Define RES_NOTLDQUERY.
47420 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47421 no-tld-query and set RES_NOTLDQUERY.
47422 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47423 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47424 modern BIND to search name as TLD unless forbidden.
47426 2011-05-07 Petr Baudis <pasky@suse.cz>
47427 Ulrich Drepper <drepper@gmail.com>
47430 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47431 (is_trusted_path): ...to here.
47432 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47433 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47434 using is_trusted_path_normalize() in setuid scripts.
47436 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47439 __BEGIN/__END_DECLS.
47441 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47444 NSS_STATUS_NOTFOUND if no record was found.
47446 2011-05-05 Andreas Schwab <schwab@redhat.com>
47448 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47449 (headers-not-in-tirpc): Remove rpc/netdb.h
47450 * resolv/netdb.h: Revert last change.
47452 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47454 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47455 circular dependency between libgcc.a and libc.a.
47457 2011-05-05 Andreas Schwab <schwab@redhat.com>
47459 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47460 * nis/Makefile: Don't install rpcsvc/*.
47461 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47462 instead of <rpc/types.h>.
47463 (MAXHOSTNAMELEN): Define.
47465 2011-05-03 Andreas Schwab <schwab@redhat.com>
47467 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47469 2011-04-28 Maciej Babinski <mbabinski@google.com>
47472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47473 gethostbyname4_r when IPv6 results are possible.
47475 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47478 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47479 _PC_PIPE_BUF handling.
47481 2011-04-30 Bruno Haible <bruno@clisp.org>
47484 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47485 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47487 * inet/getnameinfo.c (getnameinfo): Likewise.
47489 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47491 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47492 to groups setting in database lookup.
47493 * nss/nsswitch.conf: Add initgroups entry.
47495 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47498 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47500 Patch by Eric Blake <eblake@redhat.com>.
47502 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47504 * sunrpc/Makefile (need-export-routines): Add svc_run.
47505 (routines): Remove svc_run.
47506 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47507 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47508 * sunrpc/svc_run.c (svc_run): Likewise.
47509 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47511 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47514 problem in reallocation in last patch.
47516 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47518 * sunrpc/Makefile: Move inclusion of Rules.
47520 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47522 * nss/nss_files/files-initgroups.c: New file.
47523 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47524 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47525 _nss_files_initgroups_dyn.
47527 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47529 * elf/elf.h (R_ARM_IRELATIVE): Define.
47531 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47533 * po/ru.po: Update from translation team.
47535 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47537 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47540 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47544 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47549 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47553 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47557 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47560 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47562 * stdlib/bug-getcontext.c: New file.
47563 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47565 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47567 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47568 instructions into .machine "z9-109".
47569 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47570 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47572 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47574 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47575 between environment variables and auxiliary vector.
47577 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47579 * Makefile: Add rules to build linkobj/libc.so.
47580 * include/libc-symbols.h: Define libc_hidden_nolink.
47581 * include/rpc/auth.h: Mark functions which are to be hidden.
47582 * include/rpc/auth_des.h: Likewise.
47583 * include/rpc/auth_unix.h: Likewise.
47584 * include/rpc/clnt.h: Likewise.
47585 * include/rpc/des_crypt.h: Likewise.
47586 * include/rpc/key_prot.h: Likewise.
47587 * include/rpc/pmap_clnt.h: Likewise.
47588 * include/rpc/pmap_prot.h: Likewise.
47589 * include/rpc/pmap_rmt.h: Likewise.
47590 * include/rpc/rpc_msg.h: Likewise.
47591 * include/rpc/svc.h: Likewise.
47592 * include/rpc/svc_auth.h: Likewise.
47593 * include/rpc/xdr.h: Likewise.
47594 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47595 * nss/Makefile: Likewise.
47596 * sunrpc/Makefile: Don't install headers. Build library with normal
47597 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47598 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47599 for the compat linking library. Remove use of INTDEF/INTUSE.
47600 * sunrpc/auth_none.c: Likewise.
47601 * sunrpc/auth_unix.c: Likewise.
47602 * sunrpc/authdes_prot.c: Likewise.
47603 * sunrpc/authuxprot.c: Likewise.
47604 * sunrpc/clnt_gen.c: Likewise.
47605 * sunrpc/clnt_perr.c: Likewise.
47606 * sunrpc/clnt_raw.c: Likewise.
47607 * sunrpc/clnt_simp.c: Likewise.
47608 * sunrpc/clnt_tcp.c: Likewise.
47609 * sunrpc/clnt_udp.c: Likewise.
47610 * sunrpc/clnt_unix.c: Likewise.
47611 * sunrpc/des_crypt.c: Likewise.
47612 * sunrpc/des_soft.c: Likewise.
47613 * sunrpc/get_myaddr.c: Likewise.
47614 * sunrpc/key_call.c: Likewise.
47615 * sunrpc/key_prot.c: Likewise.
47616 * sunrpc/netname.c: Likewise.
47617 * sunrpc/pm_getmaps.c: Likewise.
47618 * sunrpc/pm_getport.c: Likewise.
47619 * sunrpc/pmap_clnt.c: Likewise.
47620 * sunrpc/pmap_prot.c: Likewise.
47621 * sunrpc/pmap_prot2.c: Likewise.
47622 * sunrpc/pmap_rmt.c: Likewise.
47623 * sunrpc/publickey.c: Likewise.
47624 * sunrpc/rpc_cmsg.c: Likewise.
47625 * sunrpc/rpc_common.c: Likewise.
47626 * sunrpc/rpc_dtable.c: Likewise.
47627 * sunrpc/rpc_prot.c: Likewise.
47628 * sunrpc/rpc_thread.c: Likewise.
47629 * sunrpc/rtime.c: Likewise.
47630 * sunrpc/svc.c: Likewise.
47631 * sunrpc/svc_auth.c: Likewise.
47632 * sunrpc/svc_authux.c: Likewise.
47633 * sunrpc/svc_raw.c: Likewise.
47634 * sunrpc/svc_run.c: Likewise.
47635 * sunrpc/svc_simple.c: Likewise.
47636 * sunrpc/svc_tcp.c: Likewise.
47637 * sunrpc/svc_udp.c: Likewise.
47638 * sunrpc/svc_unix.c: Likewise.
47639 * sunrpc/svcauth_des.c: Likewise.
47640 * sunrpc/xcrypt.c: Likewise.
47641 * sunrpc/xdr.c: Likewise.
47642 * sunrpc/xdr_array.c: Likewise.
47643 * sunrpc/xdr_float.c: Likewise.
47644 * sunrpc/xdr_intXX_t.c: Likewise.
47645 * sunrpc/xdr_mem.c: Likewise.
47646 * sunrpc/xdr_rec.c: Likewise.
47647 * sunrpc/xdr_ref.c: Likewise.
47648 * sunrpc/xdr_sizeof.c: Likewise.
47649 * sunrpc/xdr_stdio.c: Likewise.
47651 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47654 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47655 * sysdeps/ia64/dl-tls.h: Likewise.
47656 * sysdeps/powerpc/dl-tls.h: Likewise.
47657 * sysdeps/s390/dl-tls.h: Likewise.
47658 * sysdeps/sh/dl-tls.h: Likewise.
47659 * sysdeps/sparc/dl-tls.h: Likewise.
47660 * sysdeps/x86_64/dl-tls.h: Likewise.
47661 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47663 2011-03-14 Andreas Schwab <schwab@redhat.com>
47665 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47666 rpath element also skip the following colon.
47667 (expand_dynamic_string_token): Add is_path parameter and pass
47668 down to DL_DST_REQUIRED and _dl_dst_substitute.
47669 (decompose_rpath): Call expand_dynamic_string_token with
47670 non-zero is_path. Ignore empty rpaths.
47671 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47674 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47679 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47683 Patch by Filipe David Manana <fdmanana@apache.org>.
47685 2011-04-07 Andreas Schwab <schwab@redhat.com>
47687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47688 Maintain aligned stack.
47689 (CHECK_RSP): Remove unused macro.
47691 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47693 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47696 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47698 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47700 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47702 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47705 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47706 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47707 * sysdeps/x86_64/memmove.c: New file.
47708 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47709 (memcpy): Renamed to ...
47710 (__new_memcpy): This.
47711 (memcpy): Provide GLIBC_2_14 memcpy.
47712 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47713 (memcpy): Provide GLIBC_2_2_5 memcpy.
47715 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47718 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47720 2011-03-30 Andreas Schwab <schwab@redhat.com>
47722 * misc/syncfs.c: New file.
47723 * misc/Makefile (routines): Add syncfs.
47724 * posix/unistd.h: Declare syncfs.
47725 * sysdeps/unix/syscalls.list: Add syncfs.
47727 2011-04-01 Andreas Schwab <schwab@redhat.com>
47729 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47736 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47739 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47741 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47749 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47750 sync_file_range.c with -fexceptions.
47751 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47752 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47753 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47754 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47755 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47756 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47758 sync_file_range as cancellation point
47759 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47760 now a wrapper around __call_sync_file_range with cancellation handling.
47761 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47762 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47763 function name to __call_sync_file_range.
47764 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47765 Add call_sync_file_range.
47767 2011-04-01 Andreas Schwab <schwab@redhat.com>
47769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47772 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47774 * iconv/iconv.h: Fix typo in comment.
47775 * io/fcntl.h: Likewise.
47776 * libio/stdio.h: Likewise.
47777 * posix/spawn.h: Likewise.
47778 * posix/unistd.h: Likewise.
47779 * stdlib/stdlib.h: Likewise.
47780 * time/time.h: Likewise.
47781 * wcsmbs/wchar.h: Likewise.
47783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47784 open_by_handle): Add.
47785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47786 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47787 Augment a few comments.
47788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47793 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47796 * io/fcntl.h (AT_EMPTY_PATH): Define.
47798 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47800 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47801 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47802 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47804 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47805 * Versions.def: Add GLIBC_2.14.
47806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47809 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47815 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47818 * string/test-strncmp.c (do_page_test): New function.
47819 (check2): Likewise.
47820 (test_main): Call check2.
47821 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47823 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47827 Handle cache information in CPU leaf 4.
47828 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47830 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47833 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47834 character representation.
47835 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47837 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47839 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47840 END(__isnan) to END(__isnanf) to match function entry point/label
47841 EALIGN(__isnanf,...).
47843 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47845 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47847 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47850 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47851 copy from the symbol referenced in the relocation to initialize the
47853 Patch by Piotr Bury <pbury@goahead.com>.
47854 * elf/Makefile: Add rules to build and tst-unique3.
47855 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47856 * elf/tst-unique3.cc: New file.
47857 * elf/tst-unique3.h: New file.
47858 * elf/tst-unique3lib.cc: New file.
47859 * elf/tst-unique3lib2.cc: New file.
47861 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47863 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47865 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47866 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47869 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47871 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47872 to-be-loaded object along a path to loader is ld.so.
47874 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47875 Ulrich Drepper <drepper@gmail.com>
47877 * sysdeps/x86_64/memset.S: After aligning destination, code
47878 branches to different locations depending on the value of
47879 misalignment, when multiarch is enabled. Fix this.
47881 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47883 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47884 Set _x86_64_preferred_memory_instruction for AMD processsors.
47885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47886 Set bit_Prefer_SSE_for_memop for AMD processors.
47888 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47890 * libio/fmemopen.c (fmemopen): Optimize a bit.
47892 2011-03-03 Andreas Schwab <schwab@redhat.com>
47894 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47896 2011-03-03 Roland McGrath <roland@redhat.com>
47898 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47900 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47902 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47903 __bzero_ultra1 instead of __memset_ultra1.
47905 2011-02-23 Andreas Schwab <schwab@redhat.com>
47906 Ulrich Drepper <drepper@gmail.com>
47909 * include/link.h (struct link_map): Add l_orig_initfini.
47910 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47911 returning unsuccessfully.
47912 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47913 close of a file loaded at startup, restore the original l_initfini
47915 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47916 list, store the pointer.
47917 * elf/Makefile ($(objpfx)noload-mem): New rule.
47918 (noload-ENV): Define.
47919 (tests): Add $(objpfx)noload-mem.
47920 * elf/noload.c: Include <memcheck.h>.
47921 (main): Call mtrace. Close all opened handles.
47923 2011-02-17 Andreas Schwab <schwab@redhat.com>
47926 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47927 dependencies are missing.
47929 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47931 Fix __if_freereq crash: Unlike the generic version which uses free,
47933 * sysdeps/mach/hurd/ifreq.h: New file.
47935 2011-01-27 Petr Baudis <pasky@suse.cz>
47936 Ulrich Drepper <drepper@gmail.com>
47939 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47940 to extend_alloca().
47941 * stdio-common/bug23.c: New file.
47942 * stdio-common/Makefile (tests): Add bug23.
47944 2010-09-28 Andreas Schwab <schwab@redhat.com>
47945 Ulrich Drepper <drepper@gmail.com>
47948 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47949 before performing relro protection. At old place add assertion
47950 to make sure nothing changed.
47952 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47953 Glauber de Oliveira Costa <glommer@gmail.com>
47955 * elf/elf.h: Add new ARM TLS relocs.
47957 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47960 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47962 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47964 * sysdeps/wordsize-64/tst-writev.c: New file.
47966 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47968 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47969 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47970 insns in _dl_start to prevent a TOC reference before relocs are
47973 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47976 * Makeconfig: Remove RANLIB definition.
47977 * Makerules: Don't use RANLIB.
47978 * aclocal.m4: Remove ranlib test.
47979 * configure.in: No need to check for ranlib.
47980 * elf/rtld-Rules: Don't use RANLIB.
47982 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47984 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47986 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47987 inclusion protection macro.
47989 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47990 SIGRTMIN and SIGRTMAX and print information in that case only when
47991 SIGRTMIN is defined.
47993 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47995 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47996 arginfo fn returning -1.
47998 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47999 and thousands string is zero terminated.
48001 2011-02-03 Andreas Schwab <schwab@redhat.com>
48003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48004 sysdeps/unix/sysv/linux/bits/socket.h.
48006 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48008 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48009 (__CPU_COUNT): Remove old macros.
48010 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48011 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48012 (__CPU_ALLOC, __CPU_FREE): Add macros.
48013 (__sched_cpualloc, __sched_cpufree): Add declarations.
48015 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48017 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48018 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48019 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48020 (readdhstai): Return value of addhstaiX call.
48021 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48022 (addgrbyX): Return value returned by cache_addgr.
48023 (readdgrbyname): Return value returned by addgrbyX.
48024 (readdgrbygid): Likewise.
48025 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48026 (addpwbyX): Return value returned by cache_addpw.
48027 (readdpwbyname): Return value returned by addhstbyX.
48028 (readdpwbyuid): Likewise.
48029 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48030 (addservbyX): Return value returned by cache_addserv.
48031 (readdservbyname): Return value returned by addservbyX:
48032 (readdservbyport): Likewise.
48033 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48034 (addhstbyX): Return value returned by cache_addhst.
48035 (readdhstbyname): Return value returned by addhstbyX.
48036 (readdhstbyaddr): Likewise.
48037 (readdhstbynamev6): Likewise.
48038 (readdhstbyaddrv6): Likewise.
48039 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48040 (readdinitgroups): Return value returned by addinitgroupsX.
48041 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48042 (prune_cache): Keep track of timeout value of re-added entries.
48043 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48044 * nscd/nscd.h: Adjust prototypes of readd* functions.
48046 2011-02-04 Roland McGrath <roland@redhat.com>
48048 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48049 (nis_stats): Likewise.
48050 * nis/nis_modify.c (nis_modify): Likewise.
48051 * nis/nis_remove.c (nis_remove): Likewise.
48052 * nis/nis_add.c (nis_add): Likewise.
48054 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48056 * posix/fnmatch_loop.c: Add some consts.
48058 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48060 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48063 * config.make.in (config-cflags-novzeroupper): Define.
48064 * configure.in: Substitute libc_cv_cc_novzeroupper.
48065 * elf/Makefile (AVX-CFLAGS): Define.
48066 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48067 (CFLAGS-tst-auditmod4a.c): Likewise.
48068 (CFLAGS-tst-auditmod4b.c): Likewise.
48069 (CFLAGS-tst-auditmod6b.c): Likewise.
48070 (CFLAGS-tst-auditmod6c.c): Likewise.
48071 (CFLAGS-tst-auditmod7b.c): Likewise.
48072 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48074 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48076 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48077 function to the callback.
48078 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48080 2011-02-02 Andreas Schwab <schwab@redhat.com>
48082 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48085 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48088 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48090 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48092 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48095 * elf/Makefile: Add rules to build and run new test.
48096 * elf/tst-initorder.c: New file.
48097 * elf/tst-initorder.exp: New file.
48098 * elf/tst-initordera1.c: New file.
48099 * elf/tst-initordera2.c: New file.
48100 * elf/tst-initordera3.c: New file.
48101 * elf/tst-initordera4.c: New file.
48102 * elf/tst-initorderb1.c: New file.
48103 * elf/tst-initorderb2.c: New file.
48104 * elf/tst-order-a1.c: New file.
48105 * elf/tst-order-a2.c: New file.
48106 * elf/tst-order-a3.c: New file.
48107 * elf/tst-order-a4.c: New file.
48108 * elf/tst-order-b1.c: New file.
48109 * elf/tst-order-b2.c: New file.
48110 * elf/tst-order-main.c: New file.
48111 New test case by George Gensure <werkt0@gmail.com>.
48113 2010-10-01 Andreas Schwab <schwab@redhat.com>
48115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48116 decoding ACE if AI_CANONIDN.
48118 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48120 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48122 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48124 * version.h (RELEASE): Bump for 2.13 release.
48125 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48127 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48131 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48133 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48135 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48138 * posix/getconf.c: Update copyright year.
48139 * catgets/gencat.c: Likewise.
48140 * csu/version.c: Likewise.
48141 * debug/catchsegv.sh: Likewise.
48142 * debug/xtrace.sh: Likewise.
48143 * elf/ldconfig.c: Likewise.
48144 * elf/ldd.bash.in: Likewise.
48145 * elf/sprof.c (print_version): Likewise.
48146 * iconv/iconv_prog.c: Likewise.
48147 * iconv/iconvconfig.c: Likewise.
48148 * locale/programs/locale.c: Likewise.
48149 * locale/programs/localedef.c: Likewise.
48150 * malloc/memusage.sh: Likewise.
48151 * malloc/mtrace.pl: Likewise.
48152 * nscd/nscd.c (print_version): Likewise.
48153 * nss/getent.c: Likewise.
48155 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48156 PF_CAIF, and PF_ALG.
48157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48159 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48161 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48162 (modules-names): Use them.
48163 (ifunc-test-modules, ifunc-pie-tests): Define.
48164 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48165 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48166 (test-extras): Likewise.
48167 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48168 $(compile-command.c).
48169 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48170 (all-built-dso): Define.
48171 (check-textrel.out, check-execstack.out): Depend on it.
48173 * configure.in: Don't override --enable-multi-arch.
48175 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48178 * nscd/hstcache.c (tryagain): Define.
48179 (cache_addhst): Return tryagain not notfound for temporary errors.
48180 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48183 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48187 to make the syscall.
48188 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48191 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48192 and fall back to matching as normal character if the string ends before
48193 the matching ']' is found. This is what POSIX requires.
48194 * posix/testfnm.c: Adjust test result.
48195 * posix/globtest.sh: Adjust test result. Add new test.
48196 * posix/tst-fnmatch.input: Likewise.
48197 * posix/tst-fnmatch2.c: Add new test.
48199 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48201 * elf/Makefile (check-execstack): Revert last change. Depend on
48203 (check-execstack.h): New target.
48204 (generated): Add check-execstack.h.
48205 * elf/check-execstack.c: Include "check-execstack.h".
48206 (main): Revert last change.
48207 (handle_file): Return zero if GNU_STACK is absent and
48208 DEFAULT_STACK_PERMS doesn't include PF_X.
48210 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48212 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48213 in child fails because the descriptor is already closed.
48214 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48215 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48219 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48223 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48224 temporary buffer used to handle multi lookups locally.
48225 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48227 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48229 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48232 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48234 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48235 alignment for SSE2.
48237 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48240 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48241 characters. When rounding increased number of integer digits recompute
48243 * stdio-common/tst-grouping.c: New file.
48244 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48246 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48248 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48249 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48251 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48253 * bits/select.h: Likewise.
48255 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48257 * po/ja.po: Update from translation team.
48259 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48262 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48263 implementation just like for lxstat, fxstatat, et al.
48265 2010-12-27 Jim Meyering <meyering@redhat.com>
48268 * posix/regexec.c (build_trtable): Return failure indication upon
48269 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48271 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48274 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48275 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48276 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48280 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48283 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48284 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48286 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48288 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48289 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48290 script has SORT_BY_INIT_PRIORITY.
48291 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48292 NO_CTORS_DTORS_SECTIONS is defined.
48293 * elf/soinit.c: Likewise.
48294 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48295 NO_CTORS_DTORS_SECTIONS is defined.
48296 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48297 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48298 * sysdeps/sh/init-first.c: Likewise.
48299 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48301 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48303 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48304 always use the slow path.
48306 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48308 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48309 similar rule which adds the sysdep directories to the header search in
48310 order to pick up the correct platform stackinfo.h.
48311 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48312 perform test if it is, otherwise return successfully without testing.
48313 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48314 DEFAULT_STACK_PERMS define in stackinfo.h.
48315 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48316 defined in stackinfo.h.
48317 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48318 DEFAULT_STACK_PERMS defined in stackinfo.h.
48319 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48320 * sysdeps/ia64/stackinfo.h: Likewise.
48321 * sysdeps/s390/stackinfo.h: Likewise.
48322 * sysdeps/sh/stackinfo.h: Likewise.
48323 * sysdeps/sparc/stackinfo.h: Likewise.
48324 * sysdeps/x86_64/stackinfo.h: Likewise.
48325 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48326 PF_X for powerpc64. Retain PF_X for powerpc32.
48328 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48330 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48333 GETDENTS_64BIT_ALIGNED.
48335 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48337 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48339 2010-12-10 Andreas Schwab <schwab@redhat.com>
48341 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48344 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48345 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48347 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48348 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48350 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48353 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48356 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48358 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48360 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48362 * po/it.po: Update from translation team.
48364 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48369 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48371 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48373 2010-11-24 Andreas Schwab <schwab@redhat.com>
48375 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48377 (gaih_getanswer_slice): Likewise.
48379 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48383 2010-05-31 Petr Baudis <pasky@suse.cz>
48386 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48387 silently even in the chroot mode.
48389 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48391 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48392 last patch a bit. Pretty printing
48394 2010-05-31 Petr Baudis <pasky@suse.cz>
48397 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48398 initialization of skip_initgroups_dyn.
48400 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48402 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48403 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48405 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48407 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48409 2010-11-11 Andreas Schwab <schwab@redhat.com>
48411 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48412 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48413 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48414 ($(objpfx)tst-fnmatch-mem): New rule.
48415 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48416 * posix/tst-fnmatch.c (main): Call mtrace.
48418 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48421 Support Intel processor model 6 and model 0x2c.
48423 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48428 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48431 * string/test-strncasecmp.c (check_result): New function.
48432 (do_one_test): Use it.
48433 (check1): New function.
48434 (test_main): Use it.
48435 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48436 Support strcasecmp and strncasecmp.
48438 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48441 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48444 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48446 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48450 * sysdeps/x86_64/multiarch/bzero.S: New file.
48451 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48452 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48453 * sysdeps/x86_64/multiarch/memset.S: New file.
48454 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48456 Set bit_Prefer_SSE_for_memop for Intel processors.
48457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48459 (index_Prefer_SSE_for_memop): Define.
48460 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48462 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48464 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48467 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48470 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48471 (__x86_64_raw_data_cache_size_half): Likewise.
48472 (__x86_64_raw_shared_cache_size): Likewise.
48473 (__x86_64_raw_shared_cache_size_half): Likewise.
48475 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48476 (__x86_64_raw_data_cache_size_half): Likewise.
48477 (__x86_64_raw_shared_cache_size): Likewise.
48478 (__x86_64_raw_shared_cache_size_half): Likewise.
48479 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48480 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48481 and __x86_64_raw_shared_cache_size_half. Round
48482 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48483 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48484 to multiple of 256 bytes.
48486 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48490 of inacessible symlinks. Verify result of symlink before returning it.
48491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48492 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48494 2010-10-28 Erich Ritz <erichritz@gmail.com>
48496 * math/math.h (isinf): Fix typo in comment.
48498 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48500 * po/da.po: Update from translation team.
48502 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48504 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48505 is added to the list.
48507 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48508 Ulrich Drepper <drepper@gmail.com>
48510 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48511 the global list here. Move code to...
48512 (_dl_add_to_namespace_list): ...here. New function.
48513 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48514 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48515 * elf/dl-load.c (lose): Don't remove the element from the list.
48516 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48517 (_dl_map_object): Likewise.
48519 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48522 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48523 into all bytes of SSE register.
48524 Patch by Richard Li <richardpku@gmail.com>.
48526 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48529 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48532 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48534 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48535 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48536 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48542 2010-10-22 Andreas Schwab <schwab@redhat.com>
48544 * include/dlfcn.h (__RTLD_SECURE): Define.
48545 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48546 mode & __RTLD_SECURE instead.
48547 (open_path): Rename preloaded parameter to secure.
48548 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48549 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48550 * elf/dl-deps.c (openaux): Likewise.
48551 * elf/rtld.c (struct map_args): Remove is_preloaded.
48552 (map_doit): Don't use it.
48553 (dl_main): Likewise.
48554 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48555 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48557 2010-09-09 Andreas Schwab <schwab@redhat.com>
48559 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48560 (sysd-rules-targets): Remove duplicates.
48561 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48562 rtld-%.$o dependency.
48564 2010-10-18 Andreas Schwab <schwab@redhat.com>
48566 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48567 _dl_map_object do it.
48569 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48571 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48572 fast fma builtins, define the macros in the C99 standard.
48573 (FP_FAST_FMAF): Likewise.
48574 (FP_FAST_FMAL): Likewise.
48575 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48577 * bits/mathdef.h: Update copyright year.
48578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48580 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48582 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48583 builtins, define the macros in the C99 standard.
48584 (FP_FAST_FMAF): Likewise.
48585 (FP_FAST_FMAL): Likewise.
48586 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48588 (FP_FAST_FMAF): Likewise.
48590 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48593 * math/libm-test.inc (fma_test): Some new testcases.
48594 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48595 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48596 y and infinite z. Do multiplication by C already in long double.
48597 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48599 y and infinite z. Do bitwise or of inexact bit into u.d.
48600 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48601 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48602 * sysdeps/i386/fpu/s_fma.S: Removed.
48603 * sysdeps/i386/fpu/s_fmal.S: Removed.
48605 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48608 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48610 computation is not scheduled after fetestexcept. Fix value
48611 of minimum denormal long double.
48613 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48616 * math/libm-test.inc (fma_test): Add some more tests.
48617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48620 2010-10-15 Andreas Schwab <schwab@redhat.com>
48622 * scripts/data/localplt-s390-linux-gnu.data: New file.
48623 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48625 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48628 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48629 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48631 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48633 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48635 if one of x and y is very large and the other is subnormal.
48636 * sysdeps/s390/fpu/s_fmaf.c: New file.
48637 * sysdeps/s390/fpu/s_fma.c: New file.
48638 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48639 * sysdeps/powerpc/fpu/s_fma.S: New file.
48640 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48641 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48642 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48644 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48647 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48650 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48651 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48652 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48653 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48654 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48657 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48660 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48661 * posix/bug-regex31.input: Add test case.
48663 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48665 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48666 * posix/bug-regex31.input: New file.
48669 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48670 (parse_sub_exp): Fix last change, use postorder.
48672 * posix/bug-regex31.c: New file.
48673 * posix/Makefile: Add rules to build and run bug-regex31.
48675 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48678 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48681 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48682 to have entries in sys_siglist.
48685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48688 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48691 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48692 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48693 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48694 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48696 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48697 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48698 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48699 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48700 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48701 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48702 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48703 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48704 * math/ftestexcept.c (fetestexcept): Likewise.
48705 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48706 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48707 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48708 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48709 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48710 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48711 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48713 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48716 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48719 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48721 * string/bug-strstr1.c: New file.
48722 * string/Makefile: Add rules to build and run bug-strstr1.
48724 2010-10-05 Eric Blake <eblake@redhat.com>
48727 * string/str-two-way.h (two_way_long_needle): Always clear memory
48728 when skipping input due to the shift table.
48730 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48733 * malloc/mcheck.c: Handle large requests.
48736 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48737 for strncmp and strncasecmp.
48738 * string/stratcliff.c: Add tests for strcmp and strncmp.
48739 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48741 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48743 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48746 2010-09-30 Andreas Jaeger <aj@suse.de>
48748 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48749 (CGROUP_SUPER_MAGIC): Define.
48750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48751 Handle btrfs and cgroup file systems.
48752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48755 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48757 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48758 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48760 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48763 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48764 trying to locate the ELF header.
48766 2010-09-27 Andreas Schwab <schwab@redhat.com>
48769 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48770 Mask out sign-bit copies when constructing f_fsid.
48772 2010-09-24 Petr Baudis <pasky@suse.cz>
48774 * debug/stack_chk_fail_local.c: Add missing licence exception.
48775 * debug/warning-nop.c: Likewise.
48777 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48780 implementing getdents64 using getdents syscall, set d_type if
48781 __ASSUME_GETDENTS32_D_TYPE.
48783 2010-09-16 Andreas Schwab <schwab@redhat.com>
48785 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48786 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48788 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48791 * posix/unistd.h: Undo change of feature selection for ftruncate from
48794 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48796 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48799 2010-09-20 Andreas Schwab <schwab@redhat.com>
48801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48805 2010-09-14 Andreas Schwab <schwab@redhat.com>
48807 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48808 variables after CHECK_SP call.
48809 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48811 2010-09-13 Andreas Schwab <schwab@redhat.com>
48812 Ulrich Drepper <drepper@redhat.com>
48814 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48815 re-relocationg ld.so.
48816 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48817 _dl_init_paths call.
48818 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48821 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48823 * resolv/res_init.c (__res_vinit): Count the default server we added.
48825 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48826 Ulrich Drepper <drepper@redhat.com>
48829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48830 (____longjmp_chk): Use %ebx for saving value across system call.
48833 2010-09-06 Andreas Schwab <schwab@redhat.com>
48835 * manual/Makefile: Don't mix pattern rules with normal rules.
48837 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48839 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48841 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48842 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48843 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48844 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48848 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48851 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48852 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48854 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48856 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48857 * sysdeps/x86_64/addmul_1.S: Likewise.
48858 * sysdeps/x86_64/lshift.S: Likewise.
48859 * sysdeps/x86_64/mul_1.S: Likewise.
48860 * sysdeps/x86_64/rshift.S: Likewise.
48861 * sysdeps/x86_64/sub_n.S: Likewise.
48862 * sysdeps/x86_64/submul_1.S: Likewise.
48864 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48866 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48867 Define __sched_param instead of SCHED_* and sched_param when
48868 <bits/sched.h> is included with __need_schedparam defined.
48869 * bits/sched.h [__need_schedparam]
48870 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48871 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48872 (__defined_schedparam): Define to 1.
48873 (__sched_param): New structure, identical to sched_param.
48874 (__need_schedparam): Undefine.
48876 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48879 (epoll_create1): Declare.
48881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48883 2010-08-31 Andreas Schwab <schwab@redhat.com>
48886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48887 shifting retval into place.
48889 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48891 * nis/rpcsvc/nis.h: Update copyright notice.
48892 * nis/rpcsvc/nis.x: Likewise.
48893 * nis/rpcsvc/nis_callback.h: Likewise.
48894 * nis/rpcsvc/nis_callback.x: Likewise.
48895 * nis/rpcsvc/nis_object.x: Likewise.
48896 * nis/rpcsvc/nis_tags.h: Likewise.
48897 * nis/rpcsvc/yp.h: Likewise.
48898 * nis/rpcsvc/yp.x: Likewise.
48899 * nis/rpcsvc/ypupd.h: Likewise.
48900 * nis/yp_xdr.c: Likewise.
48901 * nis/ypupdate_xdr.c: Likewise.
48903 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48904 mainly the body of pmap_getport. Add parameters to specify timeouts.
48905 (pmap_getport): Use __libc_rpc_getport.
48906 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48907 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48908 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48910 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48915 2010-08-27 Roland McGrath <roland@redhat.com>
48917 * sysdeps/i386/i686/multiarch/Makefile
48918 (CFLAGS-varshift.c): New variable.
48920 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48922 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48923 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48927 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48929 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48931 * sysdeps/x86_64/strlen.S: Unroll the loop.
48932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48933 strlen-sse2 strlen-sse2-bsf.
48934 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48935 __strlen_no_bsf if bit_Slow_BSF is set.
48936 (__strlen_sse42): Removed.
48937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48938 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48940 2010-08-25 Roland McGrath <roland@redhat.com>
48942 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48943 * sysdeps/x86_64/multiarch/varshift.c: New file.
48944 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48945 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48946 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48947 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48949 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48952 strlen-sse2 strlen-sse2-bsf.
48953 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48954 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48955 (__strlen_sse2): Removed.
48956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48959 bit_Slow_BSF for Atom.
48960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48961 (index_Slow_BSF): Define.
48962 (HAS_SLOW_BSF): Define.
48964 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48967 * resolv/res_init.c (__res_vinit): When no server address at all
48968 is given default to loopback.
48970 2010-08-24 Roland McGrath <roland@redhat.com>
48972 * configure.in: Remove config-name.h generation.
48973 * configure: Regenerated.
48974 * config-name.in: File removed.
48975 * scripts/config-uname.sh: New file.
48976 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48977 ($(objdir)config-name.h): New target.
48979 * sunrpc/rpc_parse.h: Avoid nested comment.
48981 2010-08-24 Richard Henderson <rth@redhat.com>
48982 Ulrich Drepper <drepper@redhat.com>
48983 H.J. Lu <hongjiu.lu@intel.com>
48985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48987 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48988 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48989 _mm_alignr_epi8 with _mm_loadu_si128.
48990 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48991 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48992 (__m128i_shift_right): Removed.
48993 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48994 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48995 * sysdeps/x86_64/multiarch/varshift.h: New file.
48996 * sysdeps/x86_64/multiarch/varshift.S: New file.
48998 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49000 * configure.in: Move assembler checks to before sysdep dir checking.
49002 2010-08-20 Petr Baudis <pasky@suse.cz>
49004 * LICENSES: Sync the sunrpc license.
49006 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49008 * sunrpc/auth_des.c: Update copyright notice once again.
49009 * sunrpc/auth_none.c: Likewise.
49010 * sunrpc/auth_unix.c: Likewise.
49011 * sunrpc/authdes_prot.c: Likewise.
49012 * sunrpc/authuxprot.c: Likewise.
49013 * sunrpc/bindrsvprt.c: Likewise.
49014 * sunrpc/clnt_gen.c: Likewise.
49015 * sunrpc/clnt_perr.c: Likewise.
49016 * sunrpc/clnt_raw.c: Likewise.
49017 * sunrpc/clnt_simp.c: Likewise.
49018 * sunrpc/clnt_tcp.c: Likewise.
49019 * sunrpc/clnt_udp.c: Likewise.
49020 * sunrpc/clnt_unix.c: Likewise.
49021 * sunrpc/des_crypt.c: Likewise.
49022 * sunrpc/des_soft.c: Likewise.
49023 * sunrpc/get_myaddr.c: Likewise.
49024 * sunrpc/getrpcport.c: Likewise.
49025 * sunrpc/key_call.c: Likewise.
49026 * sunrpc/key_prot.c: Likewise.
49027 * sunrpc/openchild.c: Likewise.
49028 * sunrpc/pm_getmaps.c: Likewise.
49029 * sunrpc/pm_getport.c: Likewise.
49030 * sunrpc/pmap_clnt.c: Likewise.
49031 * sunrpc/pmap_prot.c: Likewise.
49032 * sunrpc/pmap_prot2.c: Likewise.
49033 * sunrpc/pmap_rmt.c: Likewise.
49034 * sunrpc/rpc/auth.h: Likewise.
49035 * sunrpc/rpc/auth_unix.h: Likewise.
49036 * sunrpc/rpc/clnt.h: Likewise.
49037 * sunrpc/rpc/des_crypt.h: Likewise.
49038 * sunrpc/rpc/key_prot.h: Likewise.
49039 * sunrpc/rpc/netdb.h: Likewise.
49040 * sunrpc/rpc/pmap_clnt.h: Likewise.
49041 * sunrpc/rpc/pmap_prot.h: Likewise.
49042 * sunrpc/rpc/pmap_rmt.h: Likewise.
49043 * sunrpc/rpc/rpc.h: Likewise.
49044 * sunrpc/rpc/rpc_des.h: Likewise.
49045 * sunrpc/rpc/rpc_msg.h: Likewise.
49046 * sunrpc/rpc/svc.h: Likewise.
49047 * sunrpc/rpc/svc_auth.h: Likewise.
49048 * sunrpc/rpc/types.h: Likewise.
49049 * sunrpc/rpc/xdr.h: Likewise.
49050 * sunrpc/rpc_clntout.c: Likewise.
49051 * sunrpc/rpc_cmsg.c: Likewise.
49052 * sunrpc/rpc_common.c: Likewise.
49053 * sunrpc/rpc_cout.c: Likewise.
49054 * sunrpc/rpc_dtable.c: Likewise.
49055 * sunrpc/rpc_hout.c: Likewise.
49056 * sunrpc/rpc_main.c: Likewise.
49057 * sunrpc/rpc_parse.c: Likewise.
49058 * sunrpc/rpc_parse.h: Likewise.
49059 * sunrpc/rpc_prot.c: Likewise.
49060 * sunrpc/rpc_sample.c: Likewise.
49061 * sunrpc/rpc_scan.c: Likewise.
49062 * sunrpc/rpc_scan.h: Likewise.
49063 * sunrpc/rpc_svcout.c: Likewise.
49064 * sunrpc/rpc_tblout.c: Likewise.
49065 * sunrpc/rpc_util.c: Likewise.
49066 * sunrpc/rpc_util.h: Likewise.
49067 * sunrpc/rpcinfo.c: Likewise.
49068 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49069 * sunrpc/rpcsvc/key_prot.x: Likewise.
49070 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49071 * sunrpc/rpcsvc/mount.x: Likewise.
49072 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49073 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49074 * sunrpc/rpcsvc/rex.x: Likewise.
49075 * sunrpc/rpcsvc/rstat.x: Likewise.
49076 * sunrpc/rpcsvc/rusers.x: Likewise.
49077 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49078 * sunrpc/rpcsvc/spray.x: Likewise.
49079 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49080 * sunrpc/rtime.c: Likewise.
49081 * sunrpc/svc.c: Likewise.
49082 * sunrpc/svc_auth.c: Likewise.
49083 * sunrpc/svc_authux.c: Likewise.
49084 * sunrpc/svc_raw.c: Likewise.
49085 * sunrpc/svc_run.c: Likewise.
49086 * sunrpc/svc_simple.c: Likewise.
49087 * sunrpc/svc_tcp.c: Likewise.
49088 * sunrpc/svc_udp.c: Likewise.
49089 * sunrpc/svc_unix.c: Likewise.
49090 * sunrpc/svcauth_des.c: Likewise.
49091 * sunrpc/xcrypt.c: Likewise.
49092 * sunrpc/xdr.c: Likewise.
49093 * sunrpc/xdr_array.c: Likewise.
49094 * sunrpc/xdr_float.c: Likewise.
49095 * sunrpc/xdr_mem.c: Likewise.
49096 * sunrpc/xdr_rec.c: Likewise.
49097 * sunrpc/xdr_ref.c: Likewise.
49098 * sunrpc/xdr_sizeof.c: Likewise.
49099 * sunrpc/xdr_stdio.c: Likewise.
49101 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49104 2010-08-19 Andreas Schwab <schwab@redhat.com>
49106 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49108 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49110 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49111 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49112 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49113 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49115 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49117 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49118 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49120 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49121 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49122 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49123 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49125 2010-07-26 Anton Blanchard <anton@samba.org>
49127 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49128 * malloc/arena.c (heap_trim): Likewise.
49130 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49132 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49135 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49137 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49139 * sysdeps/i386/elf/Makefile: New file.
49141 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49143 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49144 from fanotify_init.
49145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49148 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49150 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49152 * sysdeps/multiarch/strcmp.S: Likewise.
49154 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49156 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49157 strncase_l-nonascii.
49158 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49159 Add strncase_l-ssse3.
49160 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49161 * sysdeps/x86_64/strcmp.S: Likewise.
49162 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49163 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49164 * sysdeps/x86_64/strncase.S: New file.
49165 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49166 * sysdeps/x86_64/strncase_l.S: New file.
49167 * string/Makefile (strop-tests): Add strncasecmp.
49168 * string/test-strncasecmp.c: New file.
49170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49173 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49174 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49176 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49178 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49180 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49182 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49184 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49186 2010-05-01 Alan Modra <amodra@gmail.com>
49188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49189 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49190 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49191 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49192 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49193 tidying. Don't tail-call __sigjmp_save for static lib.
49194 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49196 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49197 (CALL_MCOUNT): Add eh info, and nop after bl.
49198 (TAIL_CALL_SYSCALL_ERROR): New macro.
49199 (PSEUDO_RET): Use it.
49200 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49201 Correct save location of integer regs and cr.
49202 (_dl_profile_resolve): Correct cr save location. Delete nops
49203 after bl when SHARED. Reduce cfi size a little by better
49204 placement of cfi directives.
49205 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49206 make a stack frame. Instead use parm save area as a temp.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49208 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49210 Don't make a stack frame for parent, use parm save area.
49211 Increase child stack frame to 112 bytes. Don't save unused reg,
49212 and adjust reg usage. Set up cfi on error recovery and
49213 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49215 (__makecontext): Add dummy nop after jump to exit.
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49217 Use correct parm save area and cr save, reduce stack frame.
49218 Correct cfi for possible PSEUDO_RET frame setup.
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49220 Branch to local label emitted by PSEUDO_RET rather than
49223 2010-08-12 Andreas Schwab <schwab@redhat.com>
49226 * locale/programs/locale.c (print_assignment): New function.
49227 (show_locale_vars): Use it.
49229 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49231 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49233 (struct statfs64): Likewise.
49234 (_STATFS_F_FLAGS): Define.
49235 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49236 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49237 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49238 (ST_VALID): Define locally.
49239 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49240 __statvfs_getflags, use the provided value.
49241 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49242 __ASSUME_STATFS_F_FLAGS.
49244 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49247 Add sys/fanotify.h.
49248 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49249 fanotify_mask for GLIBC_2.13.
49250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49251 fanotify_init and fanotify_mark.
49252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49253 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49255 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49257 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49258 prlimit64 for GLIBC_2.13.
49259 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49264 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49265 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49266 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49269 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49272 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49273 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49275 * nss/Makefile: Add rules to build and run tst-nss-test1.
49276 * shlib-versions: Add entry for libnss_test1.
49277 * nss/nss_test1.c: New file.
49278 * nss/tst-nss-test1.c: New file.
49280 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49281 (__nss_configure_lookup): Set appropriate entry in
49282 __nss_configure_lookup to true.
49283 * nss/nsswitch.h: Define enum with indeces of databases in
49284 databases and __nss_database_custom arrays. Declare
49285 __nss_database_custom.
49286 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49287 to avoid using nscd when custom rules are installed.
49288 * nss/getXXbyYY_r.c: Likewise.
49289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49291 * nss/nss_files/files-parse.c: Whitespace fixes.
49293 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49296 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49297 * posix/fnmatch_loop.c: Likewise.
49299 2010-07-17 Andi Kleen <ak@linux.intel.com>
49301 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49302 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49303 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49304 * Versions.def [GLIBC_2.13]: Add.
49306 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49309 Also fail if tpwd after pwuid call is NULL.
49311 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49313 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49314 when converting to ms.
49316 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49318 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49319 EOPNOTSUPP errors with ENOTTY.
49320 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49321 EOPNOTSUPP errors with ENOTTY.
49323 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49326 Add strcasecmp_l-ssse3.
49327 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49329 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49330 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49331 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49333 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49335 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49337 * string/Makefile (strop-tests): Add strcasecmp.
49338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49339 strcasecmp_l-nonascii.
49340 (gen-as-const-headers): Add locale-defines.sym.
49341 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49342 * sysdeps/x86_64/strcasecmp.S: New file.
49343 * sysdeps/x86_64/strcasecmp_l.S: New file.
49344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49345 * sysdeps/x86_64/locale-defines.sym: New file.
49346 * string/test-strcasecmp.c: New file.
49348 * string/test-strcasestr.c: Test both ends of the range of characters.
49349 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49351 2010-07-29 Roland McGrath <roland@redhat.com>
49354 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49356 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49358 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49361 2010-07-27 Andreas Schwab <schwab@redhat.com>
49363 * manual/memory.texi (Malloc Tunable Parameters): Document
49366 2010-07-26 Roland McGrath <roland@redhat.com>
49369 * configure.in (-fgnu89-inline check): Set and substitute
49370 gnu89_inline, not libc_cv_gnu89_inline.
49371 * configure: Regenerated.
49372 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49374 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49376 * string/test-strnlen.c: New file.
49377 * string/Makefile (strop-tests): Add strnlen.
49378 * string/tester.c (test_strnlen): Add a few more test cases.
49379 * string/tst-strlen.c: Better error reporting.
49381 * sysdeps/x86_64/strnlen.S: New file.
49383 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49386 lower-latency instructions.
49388 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49390 * string/test-strcasestr.c: New file.
49391 * string/test-strstr.c: New file.
49392 * string/Makefile (strop-tests): Add strstr and strcasestr.
49393 * string/str-two-way.h: Don't undefine MAX.
49394 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49396 2010-07-21 Andreas Schwab <schwab@redhat.com>
49398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49399 strcasestr-nonascii.
49400 (CFLAGS-strcasestr-nonascii.c): Define.
49401 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49403 Remove unused attribute.
49405 2010-07-20 Roland McGrath <roland@redhat.com>
49407 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49408 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49409 ld.so.cache was broken. With it, there is no way to disable dsocaps
49410 like LD_HWCAP_MASK can disable hwcaps.
49412 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49414 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49416 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49418 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49419 call in strcasestr.
49420 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49421 __strcasestr_sse42_nonascii.
49422 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49423 strcasestr-nonascii.c.
49424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49426 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49428 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49430 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49433 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49438 2010-07-06 Andreas Schwab <schwab@redhat.com>
49441 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49444 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49447 _PC_PIPE_BUF using F_GETPIPE_SZ.
49449 2010-07-05 Roland McGrath <roland@redhat.com>
49451 * manual/arith.texi (Rounding Functions): Fix rint description
49452 implicit in round description.
49454 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49456 * elf/Makefile: Fix linking for a few tests to make recent linker
49459 2010-06-30 Andreas Schwab <schwab@redhat.com>
49461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49462 $(common-objpfx)libc_nonshared.a.
49464 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49466 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49467 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49468 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49469 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49470 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49471 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49472 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49473 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49488 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49489 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49490 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49491 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49492 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49493 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49494 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49495 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49496 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49497 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49498 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49499 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49515 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49517 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49518 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49519 * string/memmove.c (memmove): Renamed to ...
49520 (MEMMOVE): ...this. Default to memmove.
49521 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49522 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49525 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49526 mempcpy-ssse3-back memmove-ssse3-back.
49527 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49530 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49531 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49532 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49533 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49534 * sysdeps/x86_64/multiarch/memmove.c: New file.
49535 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49536 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49537 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49538 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49542 (index_Fast_Copy_Backward): Define.
49543 (HAS_ARCH_FEATURE): Define.
49544 (HAS_FAST_REP_STRING): Define.
49545 (HAS_FAST_COPY_BACKWARD): Define.
49547 2010-06-21 Andreas Schwab <schwab@redhat.com>
49549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49550 Restore proper fallback handling.
49552 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49555 * posix/group_member.c (__group_member): Correct checking loop.
49557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49558 OOM in getpwuid_r correctly. Return error number when the caller
49559 should return, otherwise -1.
49560 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49561 call returning > 0 value.
49562 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49564 2010-06-07 Andreas Schwab <schwab@redhat.com>
49566 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49567 libc_nonshared.a from targets in modules-names.
49569 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49571 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49574 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49576 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49581 2010-06-02 Andreas Schwab <schwab@redhat.com>
49583 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49585 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49596 2010-06-14 Roland McGrath <roland@redhat.com>
49598 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49600 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49602 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49603 __REDIRECT followed by __THROW.
49604 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49605 * posix/getopt.h (getopt): Likewise.
49607 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49609 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49610 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49611 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49613 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49614 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49616 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49618 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49620 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49624 Properly check family and model.
49626 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49628 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49630 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49632 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49634 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49636 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49639 2010-05-19 Andreas Schwab <schwab@redhat.com>
49641 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49644 2010-05-21 Andreas Schwab <schwab@redhat.com>
49646 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49647 and internal_recvmmsg.
49648 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49649 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49650 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49651 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49653 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49654 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49655 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49657 2010-05-20 Andreas Schwab <schwab@redhat.com>
49659 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49661 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49663 POWER7 optimizations.
49664 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49665 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49667 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49669 * version.h: Update for 2.13 development version.
49671 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49673 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49674 exceptions. Return 0.
49676 2010-05-07 Roland McGrath <roland@redhat.com>
49678 * elf/ldconfig.c (main): Add a const.
49680 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49682 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49683 (args_options): Add no-idn option.
49684 (ahosts_keys_int): Add idn_flags to ai_flags.
49685 (parse_option): Handle 'i' option to clear idn_flags.
49687 * malloc/malloc.c (_int_free): Possible race in the most recently
49688 added check. Only act on the data if no current modification
49691 See ChangeLog.17 for earlier changes.