1 2014-08-04 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
18 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
48 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
49 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
50 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
51 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
52 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
53 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
54 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
55 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
56 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
57 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
58 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
59 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
60 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
62 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
63 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
65 2014-08-04 Roland McGrath <roland@hack.frob.com>
67 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
68 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
69 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
70 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
71 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
72 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
74 2014-08-04 Roland McGrath <roland@hack.frob.com>
76 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
77 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
78 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
79 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
81 2014-08-04 Roland McGrath <roland@hack.frob.com>
83 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
84 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
85 (__libc_vfork): Define function under this name.
86 (__vfork): Define as an alias.
87 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
88 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
90 2014-08-04 Roland McGrath <roland@hack.frob.com>
92 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
93 that was previously under [RESET_PID].
94 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
96 2014-08-04 Andreas Schwab <schwab@suse.de>
98 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
100 2014-08-03 Mike Frysinger <vapier@gentoo.org>
102 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
105 2014-08-01 Roland McGrath <roland@hack.frob.com>
107 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
109 2014-08-01 Richard Henderon <rth@redhat.com>
111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
112 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
113 typo in exact zero test.
114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
118 2014-08-01 Roland McGrath <roland@hack.frob.com>
120 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
121 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
122 * sysdeps/arm/sysdep.h: ... here.
123 [!__ASSEMBLER__]: Include <stdint.h>.
125 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
127 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
128 (HAVE_WCTYPE_H): Likewise.
129 (HAVE_ISWCTYPE): Likewise.
130 (ENABLE_NLS): Likewise.
131 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
132 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
134 * posix/regex_internal.c: Check if DEBUG is defined and is
137 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
138 (HAVE_MBSRTOWCS): Likewise.
139 * posix/fnmatch.c: Include string.h unconditionally.
141 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
143 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
146 2014-07-31 Roland McGrath <roland@hack.frob.com>
148 * sysdeps/generic/safe-fatal.h: New file.
149 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
150 * nptl/forward.c: Include it.
151 (__pthread_unwind): Use __safe_fatal as default action, rather
152 than a bogus use of INTERNAL_SYSCALL that could never work.
154 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
155 * configure.ac (libc_cv_builtin_trap): New test.
156 * configure: Regenerated.
157 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
158 (ABORT_INSTRUCTION): Define using __builtin_trap.
160 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
161 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
162 * sysdeps/nptl/nptl-signals.h: New file.
163 * nptl/pthreadP.h: Include <nptl-signals.h>.
165 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
167 * sysdeps/s390/s390-64/utf16-utf32-z9.c
168 (ONE_DIRECTION): Define.
169 * sysdeps/s390/s390-64/utf8-utf16-z9.c
170 (ONE_DIRECTION): Define.
171 * sysdeps/s390/s390-64/utf8-utf32-z9.c
172 (ONE_DIRECTION): Define.
174 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
176 * sysdeps/s390/Makefile: Delete file.
177 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
178 * sysdeps/s390/__longjmp.c: Delete file.
179 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
180 Remove fields __flags and __reserved.
181 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
183 * sysdeps/s390/rtld-__longjmp.c: Delete file.
184 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
185 * sysdeps/s390/rtld-setjmp.S: Likewise.
186 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
187 * sysdeps/s390/s390-32/__longjmp.c: ... here.
188 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
189 * sysdeps/s390/s390-32/setjmp.S: ... here.
191 (__sigsetjmp): Remove setting __flags field.
192 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
193 * sysdeps/s390/s390-64/__longjmp.c: ... here.
194 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
195 * sysdeps/s390/s390-64/setjmp.S: ... here.
197 (__sigsetjmp): Remove setting __flags field.
198 * sysdeps/s390/setjmp.S: Delete file.
199 * sysdeps/s390/sigjmp.c: Likewise.
200 * sysdeps/s390/v1-longjmp.c: Likewise.
201 * sysdeps/s390/v1-setjmp.h: Likewise.
202 * sysdeps/s390/v1-sigjmp.c: Likewise.
203 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
204 Remove v1-longjmp_chk.
205 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
206 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
207 Include debug/longjmp_chk.c and add versioning.
208 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
209 Include nptl/pt-longjmp.c and add versioning.
210 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
211 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
216 (__getcontext): Remove setting __flags field.
218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
219 Don't restore upper high grps.
220 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
222 (__swapcontext): Remove setting uc_flags field.
223 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
225 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
227 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
229 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
230 (__getcontext): Remove setting __flags field.
232 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
233 (__swapcontext): Remove setting uc_flags field.
234 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
235 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
236 Remove fields uc_high_gprs and __reserved.
237 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
238 New file with reverted content.
239 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
245 2014-07-31 Andreas Schwab <schwab@suse.de>
247 * config.h.in (HAVE_IFUNC): Define to 0.
248 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
251 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
254 memmove-avx-unaligned, memcpy-avx-unaligned and
255 mempcpy-avx-unaligned.
256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
257 Add tests for AVX memcpy functions.
258 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
259 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
261 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
262 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
264 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
267 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
268 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
269 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
271 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
277 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
280 * manual/llio.texi: Add section about open file description locks.
281 * manual/examples/ofdlocks.c: Example of open file description
283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
284 F_OFD_SETLK, and F_OFD_SETLKW.
286 2014-07-23 Allan McRae <allan@archlinux.org>
288 * po/es.po: Update Spanish translation from translation project.
290 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
292 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
294 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
297 * sysdeps/arm/dl-machine.h (elf_machine_rela)
298 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
299 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
301 2014-07-17 Joseph Myers <joseph@codesourcery.com>
304 * math/fesetenv.c (__fesetenv)
305 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
306 * math/feupdateenv.c (__feupdateenv)
307 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
309 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
310 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
311 (__ASSUME_SOCKETCALL): Do not define.
313 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
314 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
315 (__ASSUME_SOCKETCALL): Do not define.
316 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
317 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
318 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
319 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
321 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
323 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
326 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
327 (__ASSUME_SOCKETCALL): Do not define.
328 (__ASSUME_IPC64): Define unconditionally.
329 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
330 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
331 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
332 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
333 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
334 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
335 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
338 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
339 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
340 (__ASSUME_SOCKETCALL): Do not define.
341 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
342 (__ASSUME_FUTEX_LOCK_PI): Likewise.
343 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
344 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
345 (__ASSUME_REQUEUE_PI): Define unconditionally.
346 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
347 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
348 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
349 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
351 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
353 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
354 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
355 (__ASSUME_SOCKETCALL): Do not define.
356 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
358 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
359 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
360 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
361 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
364 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
365 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
366 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
367 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
368 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
369 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
370 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
371 (__ASSUME_GETCPU_SYSCALL): Likewise.
373 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
374 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
375 cases for individual architectures.
376 * sysdeps/gnu/configure: Regenerated.
377 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
378 LIBC_SLIBDIR_RTLDDIR.
379 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
380 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
381 LIBC_SLIBDIR_RTLDDIR.
382 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
384 LIBC_SLIBDIR_RTLDDIR.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
387 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
388 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
390 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
391 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
393 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
394 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
395 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
396 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
398 * sysdeps/aarch64/shlib-versions: Move to ...
399 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
400 * sysdeps/alpha/shlib-versions: Move to ...
401 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
402 * sysdeps/arm/shlib-versions: Move to ...
403 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
404 * sysdeps/hppa/shlib-versions: Move all contents except for
405 libgcc_s entry to ...
406 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
408 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
409 * sysdeps/ia64/shlib-versions: Move to ...
410 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
412 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
413 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
414 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
415 * sysdeps/microblaze/shlib-versions: Move to ...
416 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
417 * sysdeps/mips/shlib-versions: Move to ...
418 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
420 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
421 * sysdeps/tile/shlib-versions: Move to ...
422 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
423 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
425 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
426 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
428 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
430 2014-07-17 Will Newton <will.newton@linaro.org>
432 * sysdeps/arm/bits/atomic.h
433 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
434 (__arch_compare_and_exchange_bool_16_int): Likewise.
435 (__arch_compare_and_exchange_bool_64_int): Likewise.
437 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
440 2014-07-16 Roland McGrath <roland@hack.frob.com>
442 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
443 just Linux configurations. Test empirically that the compiler sets
444 __ARM_EABI__, rather than using the tuple to decide.
445 * sysdeps/arm/preconfigure: Regenerated.
446 * sysdeps/unix/sysv/linux/arm/configure: File removed.
447 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
448 contents appended ...
449 * sysdeps/arm/configure.ac: ... here.
450 * sysdeps/arm/configure: Regenerated.
452 2014-07-15 Roland McGrath <roland@hack.frob.com>
454 * nptl/pthread_kill.c: New file.
455 * nptl/pthread_sigmask.c: New file.
456 * nptl/pthread_sigqueue.c: New file.
458 * sysdeps/nptl/lowlevellock.h: New file.
459 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
460 * sysdeps/nptl/lowlevellock-futex.h: New file.
462 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
463 Remove dead declarations.
465 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
467 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
468 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
470 * sysdeps/x86_64/configure.ac: Likewise.
471 * sysdeps/i386/configure: Regenerated.
472 * sysdeps/x86_64/configure: Likewise.
473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
474 memset-avx2 only if config-cflags-avx2 is yes.
475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
476 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
478 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
479 only if HAVE_AVX2_SUPPORT is defined.
480 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
482 2014-07-14 Alan Modra <amodra@gmail.com>
485 * elf/elf.h (DT_PPC64_NUM): Correct value.
486 * NEWS: Add to fixed bug list.
488 2014-07-13 Jim Meyering <meyering@fb.com>
491 regex: don't deref NULL upon heap allocation failure
492 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
493 failure in one more place.
494 To trigger the segfault, configure grep -with-included-regex,
495 build it, and run these commands:
496 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
498 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
500 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
502 2014-07-11 Richard Henderson <rth@redhat.com>
504 * sysdeps/aarch64/libm-test-ulps: Update.
506 2014-07-10 Florian Weimer <fweimer@redhat.com>
509 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
510 * nptl/allocatestack.c (__nptl_setxid_error): New function.
511 (__nptl_setxid): Initialize error member. Call
513 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
514 * nptl/descr.h (struct xid_command): Add error member.
515 * nptl/tst-setuid3.c: New file.
516 * nptl/Makefile (tests): Add it.
518 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
522 (__lll_trylock): Use __lll_base_trylock.
523 (__lll_cond_trylock): Likewise.
525 2014-07-10 Roland McGrath <roland@hack.frob.com>
527 * nptl/pthread_create.c (start_thread): Use atomic_or and
528 lll_futex_wake directly rather than lll_robust_dead.
529 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
530 (lll_robust_dead): Macro removed.
531 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
532 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
533 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
534 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
535 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
536 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
537 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
538 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
539 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
540 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
541 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
542 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
544 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
545 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
547 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
548 Use atomic_compare_and_exchange_val_acq directly rather than
550 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
551 (__lll_robust_trylock, lll_robust_trylock): Removed.
552 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
553 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
554 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
555 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
556 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
557 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
558 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
559 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
561 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
562 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
563 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
564 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
567 2014-07-02 Florian Weimer <fweimer@redhat.com>
569 * manual/locale.texi (Locale Names): New section documenting
570 locale name syntax. Adjust menu and node chaining accordingly.
571 (Choosing Locale): Reference Locale Names, Locale Categories.
572 Mention setting LC_ALL=C. Reflect that name syntax is now
574 (Locale Categories): New section title. Reference Locale Names.
575 LC_ALL is an environment variable, but not a category.
576 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
577 description, now in Locale Name. Reference that section. Locale
578 name syntax is now documented.
580 2014-07-02 Florian Weimer <fweimer@redhat.com>
583 * locale/findlocale.c (name_present, valid_locale_name): New
585 (_nl_find_locale): Use the loc_name variable to store name
586 candidates. Call name_present and valid_locale_name to check and
587 validate locale names. Return an error if the locale is invalid.
589 2014-07-02 Florian Weimer <fweimer@redhat.com>
591 * locale/setlocale.c (setlocale): Use strdup for allocating
594 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
597 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
598 [!_LIBC && ENABLE_NLS]: Include gettext.h.
599 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
601 [USE_UNLOCKED_IO]: Include unlocked-io.h.
602 [!_LIBC]: Include code for Windows and Cygwin.
603 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
604 Include prototype for int strerror_r.
605 [!_LIBC] (is_open): New function.
606 (flush_stdout): New function.
607 (print_errno_message): Use it.
609 (error_at_line): Likewise.
610 (error_tail) Add function attribute macros. Use
613 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
615 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
617 * io/ftw.c: Include sys/param.h unconditionally.
619 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
622 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
624 (freecache): New function to free CACHE on exit.
626 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
629 2014-07-09 David S. Miller <davem@davemloft.net>
631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
633 * sysdeps/sparc/nptl/internaltypes.h: Delete.
634 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
635 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
636 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
637 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
638 * sysdeps/sparc/nptl/sem_init.c: Likewise.
639 * sysdeps/sparc/nptl/sem_post.c: Likewise.
640 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
641 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
642 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
643 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
644 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
645 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
647 2014-07-09 Andreas Schwab <schwab@suse.de>
649 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
651 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
654 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
656 2014-07-09 Will Newton <will.newton@linaro.org>
658 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
659 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
660 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
661 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
662 * sysdeps/hppa/start.S (_start): Likewise.
664 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
666 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
668 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
671 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
673 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
674 after checking that it is non-NULL.
676 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
678 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680 * sysdeps/powerpc/memmove.c: Remove file.
681 * sysdeps/powerpc/powerpc32/power4/memcopy.h
682 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
683 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
684 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
685 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
686 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
687 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
688 string memmove instead of removed powerpc one.
690 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
691 [weak_alias]: Fix compiler warning due trailing data.
692 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
693 [weak_alias]: Likewise.
694 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
695 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
698 (__libc_ifunc_impl_list): Add memmove functions.
700 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
702 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
704 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
706 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
708 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
710 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
712 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
714 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
716 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
718 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
720 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
722 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
724 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
726 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
728 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
730 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
732 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
734 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
737 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
740 to avoid alignment traps in non-cacheable memory.
741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
746 file: multiarch power7 memmove.
747 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
748 multiarch default memmove.
749 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
750 multiarch memove for powerpc32/power4.
752 * string/bcopy.c: Use full path to include memmove.c.
753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
755 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
757 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
760 and memmove implementations.
761 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
762 optimized multiarch memmove for POWER7/powerpc64.
763 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
764 default multiarch memmove for powerpc64.
765 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
766 multiarch for powerpc64.
767 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
768 for POWER7/powerpc64.
769 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
770 memmove for POWER7/powerpc64.
772 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
775 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
776 __ELF_NATIVE_CLASS equal to 64.
778 2014-07-07 Roland McGrath <roland@hack.frob.com>
780 * sysdeps/nptl/lowlevellock.h: File removed.
782 * NEWS: NPTL is no longer an add-on!
783 * nptl/internaltypes.h: Moved ...
784 * sysdeps/nptl/internaltypes.h: ... here.
785 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
786 * sysdeps/nptl/fork.c: Likewise.
787 * sysdeps/nptl/gai_misc.h: Likewise.
788 * sysdeps/nptl/librt-cancellation.c: Likewise.
789 * sysdeps/nptl/jmp-unwind.c: Likewise.
790 * sysdeps/nptl/setxid.h: Likewise.
791 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
792 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
793 * sysdeps/unix/sysv/linux/arm/Implies: New file.
794 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
795 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
796 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
797 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
798 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
799 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
800 * sysdeps/unix/sysv/linux/mips/Implies: New file.
801 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
802 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
803 * sysdeps/unix/sysv/linux/sh/Implies: New file.
804 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
805 * sysdeps/unix/sysv/linux/tile/Implies: New file.
806 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
807 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
808 * nptl/Makeconfig: Moved ...
809 * sysdeps/nptl/Makeconfig: ... here.
810 * nptl/configure: File removed.
811 * nptl/ANNOUNCE: File removed.
812 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
813 * sysdeps/unix/sysv/linux/configure: Regenerated.
815 * nptl/Makefile (routines): Add libc_pthread_init,
816 libc_multiple_threads, register-atfork and unregister-atfork.
817 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
818 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
819 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
820 pthread-pi-defines.sym, structsem.sym.
821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
822 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
823 [$(subdir) = nptl] (tests): Add tst-setgetname.
824 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
825 * sysdeps/unix/sysv/linux/sigaction.c: Just include
826 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
827 [!LIBC_SIGACTION]: Remove aliases.
828 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
829 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
830 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
831 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
832 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
833 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
837 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
838 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
839 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
840 __libc_allocate_rtsig_private.
841 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
842 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
843 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
844 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
845 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
846 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
847 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
848 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
849 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
850 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
851 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
852 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
853 * nptl/internaltypes.h: ... here.
854 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
855 * sysdeps/nptl/jmp-unwind.c: ... here.
856 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
857 * nptl/libc-lowlevellock.c: ... here.
858 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
859 * nptl/libc_multiple_threads.c: ... here.
860 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
861 * nptl/libc_pthread_init.c: ... here.
862 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
863 * nptl/lowlevelbarrier.sym: ... here.
864 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
865 * nptl/lowlevelcond.sym: ... here.
866 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
867 * nptl/lowlevellock.c: ... here.
868 * nptl/lowlevellock.h: Moved ...
869 * sysdeps/nptl/lowlevellock.h: ... here.
870 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
871 * nptl/lowlevelrobustlock.c: ... here.
872 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
873 * nptl/lowlevelrobustlock.sym: ... here.
874 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
875 * nptl/lowlevelrwlock.sym: ... here.
876 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
877 * nptl/pt-fork.c: ... here.
878 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
879 * nptl/pthread-pi-defines.sym: ... here.
880 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
881 * nptl/pthread_attr_getaffinity.c: ... here.
882 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
883 * nptl/pthread_attr_setaffinity.c: ... here.
884 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
885 * nptl/pthread_mutex_cond_lock.c: ... here.
886 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
889 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
890 * nptl/pthread_once.c: ... here, replacing old file.
891 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
892 * nptl/pthread_yield.c: ... here.
893 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
894 * nptl/register-atfork.c: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
896 * nptl/sem_post.c: ... here.
897 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
898 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
899 * nptl/sem_timedwait.c: ... here.
900 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
901 * nptl/sem_trywait.c: ... here.
902 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
903 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
904 * nptl/sem_wait.c: ... here.
905 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
906 * nptl/structsem.sym: ... here.
907 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
908 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
909 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
910 * nptl/unregister-atfork.c: ... here.
911 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
912 * nptl/unwindbuf.sym: ... here.
913 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
914 * sysdeps/nptl/fork.c: ... here.
915 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
916 * sysdeps/nptl/fork.h: ... here.
917 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
918 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
919 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
920 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
921 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
922 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
923 * sysdeps/unix/sysv/linux/getpid.c: ... here.
924 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
925 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
926 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
927 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
928 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
929 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
930 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
931 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
932 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
933 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
934 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
935 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
936 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
937 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
939 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
940 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
941 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
943 * sysdeps/unix/sysv/linux/raise.c: ... here.
944 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
945 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
946 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
947 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
948 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
949 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
951 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
953 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
954 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
955 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
957 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
958 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
960 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
962 * sysdeps/generic/memcopy.h: Add comment for
963 MEMCPY_OK_FOR_FWD_MEMMOVE.
965 2014-07-04 Will Newton <will.newton@linaro.org>
967 * string/memchr.c: Merge from gnulib.
968 [_LIBC]: Remove conditionals.
969 (__ptr_t): Remove define.
970 (LONG_MAX_32_BITS): Likewise.
971 (LONG_MAX): Likewise.
972 (MEMCHR): Use ANSI prototype and optimize algorithm.
974 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
976 2014-07-03 Roland McGrath <roland@hack.frob.com>
978 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
979 (lll_futex_timed_wait_bitset): Fix syscall argument count.
981 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
982 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
983 in a bare environment with no <stdlib.h> installed.
984 * sysdeps/nptl/configure: Regenerated.
986 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
988 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
989 AC_EGREP_CPP for kernel header checks, so they only succeed if
990 including <linux/version.h> actually works right.
991 * sysdeps/unix/sysv/linux/configure: Regenerated.
993 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
994 value so it's not diagnosed as unused.
996 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
997 thing) with "ifeq ($(subdir),rt)".
999 2014-07-03 Richard Henderson <rth@redhat.com>
1001 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1002 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1003 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1005 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1006 (math_force_eval): New.
1008 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1009 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1011 * sysdeps/alpha/fpu/s_round.c: Remove file.
1012 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1014 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1015 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1016 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1017 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1018 (_dl_start, print_statistics): Likewise.
1019 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1020 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1022 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1023 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1024 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1025 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1027 (HP_SMALL_TIMING_AVAIL): Define.
1028 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1030 (HP_SMALL_TIMING_AVAIL): Define.
1031 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1032 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1034 * sysdeps/aarch64/hp-timing.h: New file.
1036 * sysdeps/generic/hp-timing.h: Remove dead comment.
1037 * sysdeps/generic/hp-timing-common.h: New file.
1038 * sysdeps/alpha/hp-timing.h: Include it.
1039 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1040 * sysdeps/i386/i686/hp-timing.h: Likewise.
1041 * sysdeps/ia64/hp-timing.h: Likewise.
1042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1044 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1045 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1046 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1047 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1050 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1051 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1052 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1053 * elf/rtld.c (_dl_start_final): Likewise.
1054 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1055 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1056 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1058 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1060 (HP_TIMING_DIFF_INIT): Remove.
1061 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1062 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1063 (HP_TIMING_DIFF_INIT): Remove.
1064 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1065 * sysdeps/i386/i686/hp-timing.c: Remove file.
1066 * sysdeps/x86_64/hp-timing.c: Remove file.
1067 * sysdeps/ia64/hp-timing.c: Remove file.
1068 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1069 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1071 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1073 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1074 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1075 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1076 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1078 (HP_TIMING_ACCUM): Remove.
1079 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1081 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1083 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1084 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1085 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1086 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1088 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1090 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1092 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1094 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1096 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1098 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1100 Sync up with gettext.
1101 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1102 [_MSC_VER]: Include malloc.h
1103 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1104 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1105 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1106 TEMP_FAILURE_RETRY. Cast return of alloca.
1107 [!_LIBC] Call gl_rwlock_init.
1108 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1110 2014-07-02 Roland McGrath <roland@hack.frob.com>
1112 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1113 before checking its value.
1115 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1117 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1119 * debug/memcpy_chk.c: Don't include pagecopy.h.
1120 * debug/mempcpy_chk.c: Likewise.
1121 * string/memcpy.c: Likewise.
1122 * string/memmove.c: Likewise.
1123 * sysdeps/powerpc/memmove.c: Likewise.
1124 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1125 definition of PAGE_COPY_FWD_MAYBE here...
1126 * sysdeps/generic/pagecopy.h: ... from here.
1127 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1129 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1130 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1136 (__libc_ifunc_impl_list): Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1138 multiarch strcat for PPC64.
1139 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1140 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1142 2014-07-02 Roland McGrath <roland@hack.frob.com>
1144 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1146 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1148 * intl/loadmsgcat.c: Remove declaration of
1149 get_sysdep_segment_value.
1150 (get_sysdep_segment_value): Use ISO C style.
1151 (_nl_load_domain): Use ISO C style. Get rid of redundant
1152 semicolon. Fix typo and formatting in comment.
1153 (_nl_unload_domain): Use ISO C style.
1155 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1157 2014-07-02 Will Newton <will.newton@linaro.org>
1159 * malloc/obstack.c: Merge from gnulib master.
1160 [HAVE_CONFIG_H]: Remove conditional code.
1161 [!_LIBC]: Include config.h.
1162 [!ELIDE_CODE]: Don't include inttypes.h, include
1163 stdint.h unconditionally.
1164 (print_and_abort): Mark as _Noreturn.
1165 (_obstack_allocated_p): Mark as __attribute_pure__.
1166 (obstack_free): Rename to __obstack_free.
1167 [!__attribute__]: Remove conditional code.
1168 * malloc/obstack.h: Merge from gnulib master.
1169 [__cplusplus]: Move conditional down.
1170 [!__attribute_pure__]: Define __attribute_pure__ here
1171 if it is not already defined.
1172 (_obstack_memory_used): Mark as __attribute_pure__.
1173 [!__obstack_free]: Define as obstack_free.
1174 [__GNUC__]: Remove check for ancient NeXT gcc.
1176 2014-07-02 Will Newton <will.newton@linaro.org>
1177 Paul Eggert <eggert@cs.ucla.edu>
1179 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1181 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1183 * resolv/gethnamaddr.c: Add comment warning that the file is
1186 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1188 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1191 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1192 entry for aio_cancel and aio_cancel64.
1193 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1194 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1195 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1196 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1197 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1198 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1199 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1200 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1201 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1202 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1203 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1204 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1205 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1207 2014-07-01 Roland McGrath <roland@hack.frob.com>
1209 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1210 * nptl/pthread_mutex_lock.c: Likewise.
1211 * nptl/pthread_mutex_timedlock.c: Likewise.
1212 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1214 2014-07-01 Richard henderson <rth@redhat.com>
1216 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1217 (__isnan, __isnanl): Remove.
1218 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1220 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1222 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1224 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1226 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1228 * resolv/nss_dns/dns-host.c (getanswer_r)
1229 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1231 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1234 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1236 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1237 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1239 2014-07-01 Roland McGrath <roland@hack.frob.com>
1241 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1242 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1244 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1245 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1247 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1248 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1250 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1251 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1253 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1254 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1255 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1256 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1258 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1259 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1260 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1261 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1264 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1266 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1267 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1269 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1271 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1272 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1273 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1275 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1276 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1277 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1279 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1280 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1281 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1283 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1285 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1287 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1288 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1290 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1291 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1292 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1293 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1294 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1296 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1298 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1299 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1300 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1303 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1307 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1309 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1310 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1312 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1314 * sysdeps/arm/libm-test-ulps: Regenerated.
1316 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1317 Roland McGrath <roland@hack.frob.com>
1319 * test-skeleton.c (signal_handler): Kill the whole process group
1320 before killing the child individually.
1321 (main): Report any failure on `setpgid'.
1323 2014-06-30 Roland McGrath <roland@hack.frob.com>
1325 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1326 from _TLS_H to _ARM_NPTL_TLS_H.
1327 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1328 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1330 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1334 (__expm1l): Return argument unchanged when small but not
1337 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1339 (_FP_UNPACK_RAW_1_P): Likewise.
1340 (_FP_PACK_RAW_1): Likewise.
1341 (_FP_PACK_RAW_1_P): Likewise.
1342 (_FP_MUL_MEAT_1_wide): Likewise.
1343 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1344 (_FP_MUL_MEAT_1_hard): Likewise.
1345 (_FP_DIV_MEAT_1_imm): Likewise.
1346 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1347 (_FP_DIV_MEAT_1_udiv): Likewise.
1348 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1349 (_FP_UNPACK_RAW_2): Likewise.
1350 (_FP_UNPACK_RAW_2_P): Likewise.
1351 (_FP_PACK_RAW_2): Likewise.
1352 (_FP_PACK_RAW_2_P): Likewise.
1353 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1354 (_FP_MUL_MEAT_2_wide): Likewise.
1355 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1356 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1357 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1358 (_FP_MUL_MEAT_2_gmp): Likewise.
1359 (_FP_DIV_MEAT_2_udiv): Likewise.
1360 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1361 (_FP_FRAC_SRL_4): Likewise.
1362 (_FP_FRAC_SRST_4): Likewise.
1363 (_FP_FRAC_SRS_4): Likewise.
1364 (_FP_UNPACK_RAW_4): Likewise.
1365 (_FP_UNPACK_RAW_4_P): Likewise.
1366 (_FP_PACK_RAW_4): Likewise.
1367 (_FP_PACK_RAW_4_P): Likewise.
1368 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1369 (_FP_MUL_MEAT_4_wide): Likewise.
1370 (_FP_MUL_MEAT_4_gmp): Likewise.
1371 (umul_ppppmnnn): Likewise.
1372 (_FP_DIV_MEAT_4_udiv): Likewise.
1373 (__FP_FRAC_ADD_4): Likewise.
1374 (__FP_FRAC_SUB_3): Likewise.
1375 (__FP_FRAC_SUB_4): Likewise.
1376 (__FP_FRAC_DEC_3): Likewise.
1377 (__FP_FRAC_DEC_4): Likewise.
1378 (__FP_FRAC_ADDI_4): Likewise.
1379 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1380 (_FP_FRAC_SRL_8): Likewise.
1381 (_FP_FRAC_SRS_8): Likewise.
1383 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1385 (FP_UNPACK_RAW_EP): Likewise.
1386 (FP_PACK_RAW_E): Likewise.
1387 (FP_PACK_RAW_EP): Likewise.
1388 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1389 (_FP_ISSIGNAN): Likewise.
1390 (_FP_ADD_INTERNAL): Likewise.
1391 (_FP_FMA): Likewise.
1392 (_FP_CMP): Likewise.
1393 (_FP_SQRT): Likewise.
1394 (_FP_TO_INT): Likewise.
1395 (_FP_FROM_INT): Likewise.
1396 (FP_EXTEND): Likewise.
1397 (_FP_DIV_MEAT_N_loop): Likewise.
1399 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1401 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1404 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1408 result with correct sign in case of exponents that produce
1409 overflow except for X very close to 1.
1411 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1413 mktime: merge #if/#ifdef usage from glibc
1414 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1415 as that works with both Glibc's and Gnulib's style.
1416 See thread starting at Siddhesh Poyarekar's bug report at:
1417 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1419 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1421 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1422 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1423 * sysdeps/tile/tilegx/memmove.c: Remove file.
1425 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1427 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1428 abi-name definition.
1429 * scripts/soversions.awk: Do not handle or generate ABI lines.
1430 * shlib-versions: Remove ABI entries.
1431 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1432 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1434 2014-06-27 Roland McGrath <roland@hack.frob.com>
1436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1437 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1444 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1479 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1481 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1484 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1492 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1497 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1499 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1500 Identical file removed.
1501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1503 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1505 Identical file removed.
1506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1510 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1512 Identical file removed.
1513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1514 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1516 Identical file removed.
1517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1520 Identical file removed.
1521 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1522 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1524 Identical file removed.
1525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1527 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1529 Identical file removed.
1530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1536 Identical file removed.
1537 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1539 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1542 Identical file removed.
1543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1545 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1547 Identical file removed.
1548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1550 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1552 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1559 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1561 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1562 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1563 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1564 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1565 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1567 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1570 * nscd/nscd.c (monitor_child): Return exit status of child
1571 instead of return value from wait syscall.
1573 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1575 * configure.ac (libc_commonpagesize): Remove variable.
1576 (libc_relro_required): Likewise.
1577 (libc_cv_z_relro): Remove configure test.
1578 * configure: Regenerated.
1579 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1581 (libc_relro_required): Likewise.
1582 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1583 (libc_relro_required): Likewise.
1584 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1585 (libc_relro_required): Likewise.
1586 * sysdeps/arm/preconfigure: Regenerated.
1587 * sysdeps/ia64/preconfigure: Remove file.
1588 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1590 (libc_relro_required): Likewise.
1594 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1595 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1596 recompute overflowing results in original rounding mode.
1597 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1598 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1599 recompute overflowing results in original rounding mode.
1600 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1601 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1602 recompute overflowing results in original rounding mode.
1603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1604 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1605 recompute overflowing results in original rounding mode.
1606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1607 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1608 recompute overflowing results in original rounding mode.
1609 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1610 (libc_feholdsetround_ctx): New macro.
1611 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1615 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1618 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1619 corresponding .cpsetup call.
1621 2014-06-26 Roland McGrath <roland@hack.frob.com>
1623 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1624 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1625 * sysdeps/arm/Makefile [$(subdir) = csu]
1626 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1627 (static-only-routines): Add aeabi_read_tp here.
1628 (shared-only-routines): Add libc-aeabi_read_tp here.
1629 (CFLAGS-libc-start.c): Add -fexceptions here.
1630 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1631 (sysdep_routines, static-only-routines, shared-only-routines):
1632 Don't add to these here.
1633 (CFLAGS-libc-start.c): Likewise.
1635 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1636 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1637 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1638 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1639 * sysdeps/arm/Makefile [$(subdir) = rt]
1640 (librt-sysdep_routines, librt-shared-only-routines):
1641 Append rt-aeabi_unwind_cpp_pr1 here.
1642 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1643 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1644 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1645 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1646 Append nptl-aeabi_unwind_cpp_pr1 here.
1647 (tests): Filter out tst-cleanupx4 here.
1648 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1649 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1650 Don't do those here.
1652 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1654 * scripts/list-sources.sh: Do not handle ports specially.
1656 2014-06-26 Roland McGrath <roland@hack.frob.com>
1658 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1659 * sysdeps/arm/feupdateenv.c: Likewise.
1661 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1663 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1665 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1666 trailing whitespace removed.
1667 * scripts/config.guess: Update to version 2014-03-23.
1668 * scripts/config.sub: Update to version 2014-05-01
1669 * scripts/install-sh: Update to version 2013-12-25.23.
1670 * scripts/move-if-change: Update from gnulib.
1672 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1674 * debug/memmove_chk.c: Remove pagecopy.h include.
1676 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1678 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1679 identical to gnulib mktime.
1681 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1683 * configure.ac: Do not test for machine being rs6000. Do not test
1685 * configure: Regenerated.
1687 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1689 * configure: Regenerated.
1690 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1691 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1692 Remove configure test.
1693 * sysdeps/arm/configure: Regenerated.
1694 * sysdeps/nptl/configure.ac: Do not check
1695 libc_cv_asm_cfi_directives.
1696 * sysdeps/nptl/configure: Regenerated.
1697 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1698 * sysdeps/x86_64/nptl/configure: Remove generated file.
1699 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1701 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1703 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1705 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1706 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1707 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1710 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1711 instead of whether it is defined.
1712 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1713 * sysdeps/hppa/dl-machine.h: Likewise.
1714 * sysdeps/ia64/dl-machine.h: Likewise.
1715 * sysdeps/m68k/dl-machine.h: Likewise.
1716 * sysdeps/microblaze/dl-machine.h: Likewise.
1717 * sysdeps/mips/dl-machine.: Likewise.
1718 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1719 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1720 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1721 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1722 * sysdeps/sh/dl-machine.h: Likewise.
1723 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1724 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1725 * sysdeps/tile/dl-machine.h: Likewise.
1726 * sysdeps/x86_64/dl-machine.h: Likewise.
1728 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1730 (verify_persistent_db): Likewise.
1732 2014-06-26 Roland McGrath <roland@hack.frob.com>
1734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1735 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1740 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1745 Identical file removed.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1755 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1758 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1765 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1769 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1771 Identical file removed.
1772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1773 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1778 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1792 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1795 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1800 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1806 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1807 * sysdeps/unix/sysv/linux/s390/Versions
1808 (libpthread: GLIBC_2.19): New version set.
1809 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1811 (librt: GLIBC_2.3.3): New version set.
1812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1813 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1814 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1816 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1818 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1820 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1822 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1824 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1826 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1828 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1830 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1832 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1834 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1842 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1848 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1850 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1859 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1860 (__libc_vfork): Define the function under this name.
1861 [!NOT_IN_libc] (__vfork): Make this an alias.
1862 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1864 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1865 (__libc_vfork): Define the function under this name.
1866 [!NOT_IN_libc] (__vfork): Make this an alias.
1867 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1868 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1869 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1872 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1874 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1875 code that was previously under [RESET_PID].
1876 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1877 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1880 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1881 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1882 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1883 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1884 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1885 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1886 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1887 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1888 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1889 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1892 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1893 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1894 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1895 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1897 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1898 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1899 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1900 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1901 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1903 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1916 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1917 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1918 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1920 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1922 2014-06-25 Roland McGrath <roland@hack.frob.com>
1924 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1925 that was previously under [RESET_PID].
1926 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1928 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1930 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1931 not undefine and redefine.
1932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1933 [O_CLOEXEC]: Make code unconditional.
1934 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1935 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1936 <kernel-features.h>.
1937 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1938 conditional variable definition.
1939 (shm_open) [O_CLOEXEC]: Make code unconditional.
1940 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1943 * configure.ac (USE_REGPARMS): Don't define here.
1944 * configure: Regenerated.
1945 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1946 * sysdeps/i386/configure: Regenerated.
1948 * nptl/createthread.c: Don't include kernel-features.h.
1949 * nptl/pthread_cancel.c: Likewise.
1950 * nptl/pthread_condattr_setclock.c: Likewise.
1951 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1952 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1953 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1954 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1955 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1956 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1957 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1960 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1961 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1962 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1963 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1964 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1965 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1966 * nscd/gai.c: Likewise.
1967 * nss/nss_db/db-open.c: Likewise.
1968 * sysdeps/generic/ldsodefs.h: Likewise.
1969 * sysdeps/sh/nptl/tls.h: Likewise.
1970 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1971 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1972 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1973 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1974 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1975 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1976 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1977 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1979 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1980 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1981 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1982 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1983 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1984 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1985 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1986 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1987 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1988 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1989 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1990 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1991 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1992 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1993 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1995 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1998 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1999 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2000 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2004 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2005 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2006 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2007 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2008 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2009 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2010 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2011 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2012 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2014 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2015 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2016 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2017 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2018 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2019 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2020 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2021 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2022 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2023 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2024 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2025 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2026 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2027 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2050 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2051 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2053 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2054 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2057 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2058 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2059 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2060 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2061 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2063 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2064 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2065 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2068 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2069 * sysdeps/unix/sysv/linux/system.c: Likewise.
2070 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2071 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2072 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2073 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2074 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2075 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2076 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2078 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2079 * configure: Regenerated.
2080 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2082 * configure.ac (base_machine): Do not set specially for particular
2084 * configure: Regenerated.
2085 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2086 settings from configure.ac.
2087 * sysdeps/i386/preconfigure: New file.
2088 * sysdeps/s390/preconfigure: Likewise.
2089 * sysdeps/sh/preconfigure: Likewise.
2090 * sysdeps/sparc/preconfigure: Likewise.
2092 2014-06-25 Roland McGrath <roland@hack.frob.com>
2094 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2095 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2096 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2097 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2098 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2099 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2100 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2101 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2102 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2103 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2104 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2105 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2106 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2108 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2111 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2112 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2114 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2115 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2116 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2117 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2118 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2119 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2120 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2121 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2122 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2123 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2124 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2125 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2126 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2127 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2128 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2129 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2130 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2131 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2132 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2133 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2134 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2135 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2137 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2144 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2145 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2147 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2149 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2151 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2154 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2156 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2164 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2167 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2169 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2173 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2188 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2190 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2192 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2215 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2226 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2228 * timezone/checktab.awk: Update from tzcode 2014e.
2229 * timezone/private.h: Likewise.
2230 * timezone/tzfile.h: Likewise.
2231 * timezone/zdump.c: Likewise.
2232 * timezone/zic.c: Likewise.
2234 * sysdeps/unix/sysv/linux/kernel-features.h
2235 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2237 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2238 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2239 Remove conditional code.
2241 2014-06-25 Will Newton <will.newton@linaro.org>
2243 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2244 (_dl_arm_cap_flags): Add HWCAP2 values.
2245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2246 (_DL_HWCAP_COUNT): Increase to 37.
2247 (_DL_HWCAP_LAST): New define.
2248 (_DL_HWCAP2_LAST): New define.
2249 (_dl_procinfo): Add support for printing
2251 (_dl_string_hwcap): Use _dl_hwcap_string.
2253 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2257 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2259 * README: Do not mention ports directory.
2261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2263 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2264 <kernel-features.h>.
2265 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2266 conditional variable definition.
2267 (__futimes): Update comment.
2268 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2269 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2272 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2273 arguments close to 0.
2274 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2276 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2278 * math/auto-libm-test-in: Add more tests of exp10.
2279 * math/auto-libm-test-out: Regenerated.
2280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2282 * sysdeps/unix/sysv/linux/kernel-features.h
2283 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2284 * sysdeps/unix/sysv/linux/readv.c: Do not include
2285 <kernel-features.h>.
2286 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2287 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2288 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2290 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2292 * sysdeps/unix/sysv/linux/writev.c: Do not include
2293 <kernel-features.h>.
2294 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2295 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2296 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2298 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2301 2014-06-25 Will Newton <will.newton@linaro.org>
2303 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2304 comment changes throughout the file. Remove checks
2305 for HAVE_*_H definitions that are not required.
2306 (__gen_tempname): Call abort if an unknown kind value is
2309 2014-06-25 Andreas Schwab <schwab@suse.de>
2312 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2313 scalbln, scalblnf, scalblnl in libc.
2315 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2318 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2319 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2320 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2322 2014-06-24 Roland McGrath <roland@hack.frob.com>
2324 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2325 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2326 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2327 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2329 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2330 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2332 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2333 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2334 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2336 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2337 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2338 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2339 * sysdeps/x86/bits/semaphore.h: ... here.
2340 * sysdeps/x86/nptl/elide.h: Moved ...
2341 * sysdeps/x86/elide.h: ... here.
2342 * sysdeps/x86_64/nptl/Implies: File removed.
2343 * sysdeps/i386/nptl/Implies: File removed.
2345 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2348 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2349 return the argument for normal arguments with exponent below -64.
2350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2352 * math/auto-libm-test-in: Add another test of expm1.
2353 * math/auto-libm-test-out: Regenerated.
2356 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2357 calling __erfcl for arguments at least 16.
2358 * math/auto-libm-test-in: Add more tests of erf.
2359 * math/auto-libm-test-out: Regenerated.
2361 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2362 individual architectures.
2363 * sysdeps/unix/sysv/linux/configure: Regenerated.
2364 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2365 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2366 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2367 (ldd_rewrite_script): Define variable.
2368 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2373 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2374 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2375 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2376 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2377 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2378 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2379 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2380 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2382 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2385 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2386 Rename member __data.d to __data.__elision_data.
2388 2014-06-24 Wilco <wdijkstr@arm.com>
2390 * NEWS: Add 16918 to fixed bug list.
2392 2014-06-24 Wilco <wdijkstr@arm.com>
2394 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2396 2014-06-24 Wilco <wdijkstr@arm.com>
2398 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2399 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2400 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2401 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2402 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2403 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2404 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2407 2014-06-24 Wilco <wdijkstr@arm.com>
2409 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2411 2014-06-24 Wilco <wdijkstr@arm.com>
2413 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2414 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2415 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2416 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2418 2014-06-24 Wilco <wdijkstr@arm.com>
2421 * sysdeps/arm/feupdateenv.c (feupdateenv):
2422 Rewrite to reduce FPSCR accesses and fix return value.
2424 2014-06-24 Wilco <wdijkstr@arm.com>
2426 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2427 Optimize to avoid unnecessary FPSCR writes.
2428 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2429 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2430 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2431 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2433 2014-06-24 Wilco <wdijkstr@arm.com>
2435 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2436 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2437 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2438 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2439 Call libc_fetestexcept_vfp.
2440 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2441 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2442 __SOFTFP__ ifdef so that they can be built for softfp.
2444 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2446 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2447 argument type signed char.
2449 * Makerules (check-abi): Dump diff of symlist if the test
2452 2014-06-23 Roland McGrath <roland@hack.frob.com>
2454 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2457 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2458 Remove unused variable ST.
2460 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2464 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2465 small arguments before calling __expm1.
2466 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2467 small arguments before calling __expm1f.
2468 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2469 small arguments before calling __expm1l.
2470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2472 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2473 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2474 spurious underflow for some cosh tests.
2475 * math/auto-libm-test-out: Regenerated.
2476 * sysdeps/i386/fpu/libm-test-ulps: Update.
2479 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2480 (__ieee754_y1): Set errno if return value overflows.
2481 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2482 (__ieee754_y1f): Set errno if return value overflows.
2483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2484 (__ieee754_y1l): Set errno if return value overflows.
2485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2486 (__ieee754_y1l): Set errno if return value overflows.
2487 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2488 * math/auto-libm-test-out: Regenerated.
2490 * math/gen-auto-libm-tests.c: Document use of
2491 ignore-zero-inf-sign.
2492 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2493 (input_flags): Add ignore-zero-inf-sign.
2494 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2495 * math/gen-libm-test.pl (generate_testfile): Handle
2496 ignore-zero-inf-sign.
2497 * math/auto-libm-test-in: Mark some cpow tests with
2498 ignore-zero-inf-sign and some with xfail-rounding.
2499 * math/auto-libm-test-out: Regenerated.
2500 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2501 * sysdeps/i386/fpu/libm-test-ulps: Update.
2502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2506 overflowing or underflowing operations take place with sign of
2508 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2509 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2510 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2511 (__ieee754_pow): Recompute overflowing and underflowing results in
2512 original rounding mode.
2513 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2514 (__powl_helper): Allow negative argument X and scale negated value
2515 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2517 overflowing or underflowing operations take place with sign of
2519 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2521 * math/auto-libm-test-in: Add more tests of pow.
2522 * math/auto-libm-test-out: Regenerated.
2523 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2524 (pow_tonearest_test_data): Remove.
2525 (pow_test_tonearest): Likewise.
2526 (pow_towardzero_test_data): Likewise.
2527 (pow_test_towardzero): Likewise.
2528 (pow_downward_test_data): Likewise.
2529 (pow_test_downward): Likewise.
2530 (pow_upward_test_data): Likewise.
2531 (pow_test_upward): Likewise.
2532 (main): Don't call removed functions.
2533 * sysdeps/i386/fpu/libm-test-ulps: Update.
2534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2536 2014-06-23 Roland McGrath <roland@hack.frob.com>
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2712 2014-06-23 Will Newton <will.newton@linaro.org>
2713 Wilco <wdijkstr@arm.com>
2715 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2716 implementation. Include get-rounding-mode.h.
2717 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2718 [!libc_feholdsetround_noex_ctx]: Define
2719 libc_feholdsetround_noex_ctx.
2720 [!libc_feholdsetround_noexf_ctx]: Define
2721 libc_feholdsetround_noexf_ctx.
2722 [!libc_feholdsetround_noexl_ctx]: Define
2723 libc_feholdsetround_noexl_ctx.
2724 (libc_feholdsetround_ctx): New function.
2725 (libc_feresetround_ctx): New function.
2726 (libc_feholdsetround_noex_ctx): New function.
2727 (libc_feresetround_noex_ctx): New function.
2729 2014-06-23 Roland McGrath <roland@hack.frob.com>
2731 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2732 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2733 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2734 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2735 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2736 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2738 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2739 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2740 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2741 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2742 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2743 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2745 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2747 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2750 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2753 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2755 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2758 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2762 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2767 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2770 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2772 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2775 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2779 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2780 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2781 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2786 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2802 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2809 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2815 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2816 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2844 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2847 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2848 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2849 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2850 (IPV6_PMTUDISC_INTERFACE): Likewise.
2851 (IPV6_PMTUDISC_OMIT): Likewise.
2853 2014-06-23 Andreas Schwab <schwab@suse.de>
2855 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2856 Remove unused errout label.
2858 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2861 macro: hardware supports Vector Crypto instructions.
2863 2014-06-23 Will Newton <will.newton@linaro.org>
2865 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2866 rather than __builtin_expect.
2868 * elf/dl-lookup.c (undefined_msg): Remove variable.
2869 (_dl_lookup_symbol_x): Replace undefined_msg with string
2872 * elf/dl-lookup.c (do_lookup_unique): New function.
2873 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2874 to a separate function.
2876 2014-06-23 Andreas Schwab <schwab@suse.de>
2879 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2880 before reading the next line.
2882 2014-06-23 Will Newton <will.newton@linaro.org>
2884 * test-skeleton.c (signal_handler): Use printf and %m
2885 rather than perror. Use printf rather than fprintf to
2886 stderr. Use puts rather than fputs to stderr.
2889 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2891 * nscd/nscd.c (thread_info_t): Remove typedef.
2892 (thread_info): Remove variable.
2894 2014-06-21 Allan McRae <allan@archlinux.org>
2896 * NEWS: Mention CVE-2014-4043.
2898 2014-06-20 Roland McGrath <roland@hack.frob.com>
2900 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2901 * nptl/smp.h: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2905 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2906 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2907 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2908 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2910 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2911 * nptl/stack-aliasing.h: New file.
2912 * sysdeps/i386/i686/stack-aliasing.h: New file.
2913 * sysdeps/i386/i686/nptl/Makefile: File removed.
2914 * sysdeps/x86_64/stack-aliasing.h: New file.
2915 * sysdeps/x86_64/nptl/Makefile
2916 (CFLAGS-pthread_create.c): Variable removed.
2918 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2919 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2921 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2922 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2925 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2928 (__ASSUME_SIGFRAME_V2): Remove macro.
2929 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2930 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2931 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2932 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2933 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2934 Declare as function. Remove conditional macro definitions.
2935 (__default_rt_sa_restorer): Likewise.
2936 (__default_sa_restorer_v1): Remove declaration.
2937 (__default_sa_restorer_v2): Likewise.
2938 (__default_rt_sa_restorer_v1): Likewise.
2939 (__default_rt_sa_restorer_v2): Likewise.
2940 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2941 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2942 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2944 2014-06-20 Roland McGrath <roland@hack.frob.com>
2946 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2947 (libpthread-routines): Add sysdep.
2948 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2949 * sysdeps/unix/sysv/linux/sparc/Versions
2950 (libpthread: GLIBC_2.3.3): New version set.
2951 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2952 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2953 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2954 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2955 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2956 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2958 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2960 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2962 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2964 * sysdeps/sparc/nptl/sem_init.c: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2966 * sysdeps/sparc/nptl/sem_post.c: ... here.
2967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2968 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2970 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2972 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2973 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2974 (libpthread-routines): Add cpu_relax.
2975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2978 (librt: GLIBC_2.3.3): New version set.
2979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2980 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2982 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2985 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2988 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2990 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2992 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2994 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2996 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2999 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3003 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3007 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3011 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3015 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3019 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3022 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3030 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3033 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3039 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3041 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3042 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3043 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3044 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3045 * nscd/nscd.c: Likewise.
3046 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3047 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3048 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3049 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3051 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3052 <kernel-features.h>.
3053 (init_mq_netlink): Remove conditional have_sock_cloexec
3054 definitions. Remove code conditional on have_sock_cloexec < 0.
3055 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3056 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3057 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3058 <kernel-features.h>.
3059 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3060 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3062 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3065 Add tests for memset_chk and memset.
3067 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3070 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3073 * elf/tst-dl-iter-static.c: New file.
3074 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3076 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3079 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/unix/sysv/linux/kernel-features.h
3082 (__ASSUME_F_GETOWN_EX): Remove macro.
3083 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3084 <kernel-features.h>.
3085 (miss_F_GETOWN_EX): Remove variable or macro.
3086 (do_fcntl): Do not check miss_F_GETOWN_EX.
3087 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3092 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3093 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3095 * sysdeps/unix/sysv/linux/kernel-features.h
3096 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3097 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3098 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3099 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3101 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3104 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3105 Fix calculation of the symbol's value.
3106 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3107 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3108 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3109 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3110 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3111 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3112 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3113 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3114 (modules-names): Add `tst-armtlsdescmod',
3115 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3116 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3117 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3118 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3119 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3120 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3121 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3122 ($(objpfx)tst-armtlsdescloc): New dependency.
3123 ($(objpfx)tst-armtlsdescextnow): Likewise.
3124 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3125 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3127 * sysdeps/arm/configure: Regenerate.
3129 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3131 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3132 (__atfct_seterrno_2): Likewise.
3133 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3134 <kernel-features.h>.
3135 (__ASSUME_ATFCTS): Do not undefine and redefine.
3136 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3137 (__have_atfcts): Remove conditional definition.
3138 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3139 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3140 unreachable if [__ASSUME_ATFCTS].
3141 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3142 not undefine and redefine.
3143 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3144 <kernel-features.h>.
3145 (faccessat) [__NR_faccessat]: Make code unconditional.
3146 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3147 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3148 <kernel-features.h>.
3149 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3150 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3151 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3152 <kernel-features.h>.
3153 (fchownat) [__NR_fchownat]: Make code unconditional.
3154 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3155 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3156 <kernel-features.h>.
3157 (futimesat) [__NR_futimesat]: Make code unconditional.
3158 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3160 <kernel-features.h>.
3161 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3162 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3163 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3164 <kernel-features.h>.
3165 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3166 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3167 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3169 <kernel-features.h>.
3170 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3171 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3172 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3173 <kernel-features.h>.
3174 (linkat) [__NR_linkat]: Make code unconditional.
3175 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3176 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3177 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3178 <kernel-features.h>.
3179 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3180 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3181 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3182 <kernel-features.h>.
3183 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3184 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3185 * sysdeps/unix/sysv/linux/openat.c: Do not include
3186 <kernel-features.h>.
3187 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3188 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3189 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3190 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3191 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3192 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3193 <kernel-features.h>.
3194 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3195 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3196 result of INLINE_SYSCALL directly, not via int variable.
3197 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3198 <kernel-features.h>.
3199 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3200 (renameat) [__NR_renameat]: Make code unconditional.
3201 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3202 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3203 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3204 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3206 (__ASSUME_ATFCTS): Do not undefine and redefine.
3207 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3208 <kernel-features.h>.
3209 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3210 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3212 <kernel-features.h>.
3213 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3214 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3215 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3216 (__ASSUME_ATFCTS): Do not undefine and redefine.
3217 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3218 <kernel-features.h>.
3219 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3220 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3221 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3222 <kernel-features.h>.
3223 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3224 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3226 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3228 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3230 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3233 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3234 constructed tree before returning error.
3235 * posix/bug-regexp36.c: Expand test case.
3237 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3240 * math/libm-test.inc (scalbln_test_date):
3241 Add errno expectations.
3242 * math/w_scalblnf.c: New File.
3243 Add wrapper which checks for setting errno to ERANGE.
3244 Add weak_alias for corresponding scalbln function.
3245 * math/w_scalbln.c: Likewise.
3246 * math/w_scalblnl.c: Likewise.
3247 * math/Makefile (libm-calls): Add w_scalbln.
3248 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3249 Remove weak_alias for corresponding scalbln function.
3250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3254 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3255 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3256 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3257 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3258 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3259 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3260 Remove long_double_symbol for scalblnl function in libm, libc.
3261 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3262 Add wrapper which checks for setting errno to ERANGE.
3263 Add long_double_symbol for scalblnl function in libm, libc.
3264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3265 Remove long_double_symbol for scalblnl in libm.
3266 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3267 Add wrapper which checks for setting errno to ERANGE.
3268 Add long_double_symbol for scalblnl function in libm.
3269 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3270 Do not use wrapper because of own implementation.
3272 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3274 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3275 3 bytes for __pad1 for x32.
3276 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3278 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3279 H.J. Lu <hongjiu.lu@intel.com>
3281 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3282 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3283 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3285 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3287 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3290 * posix/regcomp.c (parse_expression): Deallocate partially
3291 constructed tree before returning error.
3292 * posix/Makefile.c (tests): Add bug-regex36.
3293 (generated): Add bug-regex36.mtrace.
3294 (tests-special): Add $(objpfx)bug-regex36-mem.out
3295 (bug-regex36-ENV): New variable.
3296 ($(objpfx)bug-regex36-mem.out): New rule.
3297 * posix/bug-regex36.c: New file.
3299 2014-06-19 Will Newton <will.newton@linaro.org>
3301 * malloc/malloc.c (systrim): If extra is zero then return
3304 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3306 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3308 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3310 * sysdeps/aarch64/strchr.S: New file.
3312 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3316 from arguments -2 or below.
3317 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3318 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3320 2014-06-18 Andreas Schwab <schwab@suse.de>
3323 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3324 of a bracket expr not to run off the end of the string.
3325 * posix/Makefile (tests): Add tst-fnmatch3.
3326 * posix/tst-fnmatch3.c: New file.
3328 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3330 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3331 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3332 [$(cross-compiling) = no]: Likewise.
3333 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3334 [$(cross-compiling) = no]: Likewise.
3336 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3340 double, adjusted for any remainder from the high double.
3341 * math/libm-test.inc (nearbyint): Add tests.
3344 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3346 * nptl/sysdeps/powerpc/Makefile: Moved ...
3347 * sysdeps/powerpc/nptl/Makefile: ... here.
3348 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3349 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3350 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3351 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3352 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3353 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3354 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3355 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3356 * nptl/sysdeps/powerpc/tls.h: Moved ...
3357 * sysdeps/powerpc/nptl/tls.h: ... here.
3359 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3362 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3363 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3364 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3365 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3366 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3367 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3368 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3369 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3370 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3372 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3374 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3376 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3378 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3381 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3384 2014-06-16 Florian Weimer <fweimer@redhat.com>
3387 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3388 non-executed part of the test.
3390 2014-06-16 Andreas Schwab <schwab@suse.de>
3392 * string/bits/string2.h (strdup, strndup): Update feature guard.
3394 2014-06-14 David S. Miller <davem@davemloft.net>
3396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3398 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3400 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3401 that was previously under [RESET_PID].
3402 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3404 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3405 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3406 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3407 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3408 (__libc_vfork): New strong alias.
3409 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3411 2014-06-14 Andi Kleen <ak@linux.intel.com>
3413 * sysdeps/generic/elide.h: New file.
3415 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3417 * Makefile (installed-headers): Adjust path of pthread.h header.
3419 2014-06-13 Roland McGrath <roland@hack.frob.com>
3421 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3422 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3424 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3426 * nptl/sysdeps/s390/Makefile: Moved ...
3427 * sysdeps/s390/nptl/Makefile: ... here.
3428 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3429 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3430 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3431 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3432 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3433 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3434 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3435 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3436 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3437 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3438 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3439 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3440 * nptl/sysdeps/s390/tls.h: Moved ...
3441 * sysdeps/s390/nptl/tls.h: ... here.
3443 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3444 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3446 2014-06-13 David S. Miller <davem@davemloft.net>
3448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3455 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3456 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3457 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3458 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3459 Remove RESET_PID cpp guards.
3460 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3461 Remove RESET_PID cpp guards.
3462 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3464 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3466 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3469 2014-06-13 Andi Kleen <ak@linux.intel.com>
3471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3472 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3474 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3477 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3483 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3484 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3486 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3487 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3488 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3492 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3493 (pthread_rwlock_rdlock): Add elision.
3494 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3495 (pthread_rwlock_wrlock): Add elision.
3496 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3497 (pthread_rwlock_trywrlock): Add elision.
3498 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3499 (pthread_rwlock_tryrdlock): Add elision.
3500 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3501 (pthread_rwlock_tryrdlock): Add elision unlock.
3502 * nptl/sysdeps/pthread/pthread.h:
3503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3504 (PTHREAD_RWLOCK_INITIALIZER,
3505 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3506 Handle new elision field.
3507 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3508 * sysdeps/arm/nptl/bits/pthreadtypes.h
3509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3510 * sysdeps/sh/nptl/bits/pthreadtypes.h
3511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3512 * sysdeps/tile/nptl/bits/pthreadtypes.h
3513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3514 * sysdeps/a/nptl/bits/pthreadtypes.h
3515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3520 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3522 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3524 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3526 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3528 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3530 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3532 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3533 (elision_init): Set try_xbegin to zero when no RTM.
3534 * sysdeps/x86/nptl/bits/pthreadtypes.h
3535 (pthread_rwlock_t): Change __pad1 to __rwelision.
3536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3538 2014-06-13 Andi Kleen <ak@linux.intel.com>
3540 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3541 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3542 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3543 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3545 2014-06-13 Meador Inge <meadori@codesourcery.com>
3548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3549 that the cached result has been set before returning it.
3551 2014-06-12 Roland McGrath <roland@hack.frob.com>
3553 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3554 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3556 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3558 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3560 * nptl/sysdeps/sparc/Makefile: Moved ...
3561 * sysdeps/sparc/nptl/Makefile: ... here.
3562 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3563 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3564 * nptl/sysdeps/sparc/tls.h: Moved ...
3565 * sysdeps/sparc/nptl/tls.h: ... here.
3566 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3567 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3568 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3569 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3570 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3571 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3572 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3573 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3574 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3575 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3576 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3577 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3578 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3579 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3580 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3581 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3582 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3585 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3588 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3591 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3595 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3597 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3598 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3600 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3601 (struct list_links): Type removed.
3602 (struct thread_node, struct timer_node): Replace struct list_links
3603 with struct list_head.
3604 (list_unlink_ip): Likewise.
3605 * sysdeps/pthread/timer_routines.c
3606 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3607 (list_append, list_insbefore): Likewise.
3608 (list_init): Function removed.
3609 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3610 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3611 * sysdeps/pthread/Makefile: ... here, new file.
3613 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3614 * sysdeps/nptl/Implies: ... here.
3615 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3616 * nptl/sysdeps/pthread/list.h: Moved ...
3617 * include/list.h: ... here.
3618 * nptl/sysdeps/pthread/createthread.c: Moved ...
3619 * nptl/createthread.c: ... here.
3620 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3621 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3622 * nptl/pt-longjmp.c: ... here.
3623 * nptl/sysdeps/pthread/Makefile: Moved ...
3624 * sysdeps/nptl/Makefile: ... here.
3625 * nptl/sysdeps/pthread/Subdirs: Moved ...
3626 * sysdeps/nptl/Subdirs: ... here.
3627 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3628 * sysdeps/nptl/aio_misc.h: ... here.
3629 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3630 * sysdeps/nptl/bits/libc-lock.h: ... here.
3631 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3632 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3633 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3634 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3635 * nptl/sysdeps/pthread/configure: Moved ...
3636 * sysdeps/nptl/configure: ... here.
3637 * nptl/sysdeps/pthread/configure.ac: Moved ...
3638 * sysdeps/nptl/configure.ac: ... here.
3639 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3640 * sysdeps/nptl/gai_misc.h: ... here.
3641 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3642 * sysdeps/nptl/librt-cancellation.c: ... here.
3643 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3644 * sysdeps/nptl/malloc-machine.h: ... here.
3645 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3646 * sysdeps/nptl/pthread-functions.h: ... here.
3647 * nptl/sysdeps/pthread/pthread.h: Moved ...
3648 * sysdeps/nptl/pthread.h: ... here.
3649 * nptl/sysdeps/pthread/setxid.h: Moved ...
3650 * sysdeps/nptl/setxid.h: ... here.
3651 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3652 * sysdeps/nptl/sigfillset.c: ... here.
3653 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3654 * sysdeps/nptl/tcb-offsets.h: ... here.
3655 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3656 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3657 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3658 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3659 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3660 * sysdeps/pthread/allocalim.h: ... here.
3661 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3662 * sysdeps/pthread/bits/sigthread.h: ... here.
3663 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3664 * sysdeps/pthread/flockfile.c: ... here.
3665 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3666 * sysdeps/pthread/ftrylockfile.c: ... here.
3667 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3668 * sysdeps/pthread/funlockfile.c: ... here.
3669 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3670 * sysdeps/pthread/posix-timer.h: ... here.
3671 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3672 * sysdeps/pthread/timer_create.c: ... here.
3673 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3674 * sysdeps/pthread/timer_delete.c: ... here.
3675 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3676 * sysdeps/pthread/timer_getoverr.c: ... here.
3677 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3678 * sysdeps/pthread/timer_gettime.c: ... here.
3679 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3680 * sysdeps/pthread/timer_routines.c: ... here.
3681 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3682 * sysdeps/pthread/timer_settime.c: ... here.
3683 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3684 * sysdeps/pthread/tst-timer.c: ... here.
3685 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3686 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3688 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3689 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3691 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3692 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3693 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3694 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3695 Update #include target.
3696 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3697 * sysdeps/i386/i686/nptl/Makefile: ... here.
3698 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3699 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3700 Update #include target.
3701 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3702 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3703 * nptl/sysdeps/i386/Makefile: Moved ...
3704 * sysdeps/i386/nptl/Makefile: ... here.
3705 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3706 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3707 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3708 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3709 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3710 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3711 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3712 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3713 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3714 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3715 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3716 * nptl/sysdeps/i386/tls.h: Moved ...
3717 * sysdeps/i386/nptl/tls.h: ... here.
3719 * sysdeps/sh/Makefile [$(subdir) = csu]
3720 (gen-as-const-headers): Add tcb-offsets.sym.
3721 * nptl/sysdeps/sh/Makefile: File removed.
3722 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3723 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3724 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3725 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3726 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3727 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3728 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3729 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3730 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3731 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3732 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3733 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3734 * nptl/sysdeps/sh/tls.h: Moved ...
3735 * sysdeps/sh/nptl/tls.h: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3737 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3739 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3741 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3743 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3745 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3747 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3749 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3751 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3753 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3755 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3757 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3759 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3771 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3773 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3775 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3777 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3778 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3779 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3781 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3783 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3785 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3787 * posix/spawn_faction_addopen.c: Include string.h.
3789 2014-06-11 Roland McGrath <roland@hack.frob.com>
3791 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3792 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3793 * nptl/sysdeps/x86_64/Makefile: Moved ...
3794 * sysdeps/x86_64/nptl/Makefile: ... here.
3795 * nptl/sysdeps/x86_64/configure: Moved ...
3796 * sysdeps/x86_64/nptl/configure: ... here.
3797 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3798 * sysdeps/x86_64/nptl/configure.ac: ... here.
3799 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3800 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3801 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3802 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3803 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3804 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3805 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3806 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3807 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3808 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3809 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3810 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3811 * nptl/sysdeps/x86_64/tls.h: Moved ...
3812 * sysdeps/x86_64/nptl/tls.h: ... here.
3813 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3814 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3815 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3816 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3818 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3820 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3824 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3826 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3828 [POSIX] (off_t): Likewise.
3829 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3830 [POSIX] (S_ISBLK): Require macro.
3831 [POSIX] (S_ISCHR): Likewise.
3832 [POSIX] (S_ISDIR): Likewise.
3833 [POSIX] (S_ISFIFO): Likewise.
3834 [POSIX] (S_ISREG): Likewise.
3835 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3837 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3839 [POSIX] (time_t): Likewise.
3840 [POSIX] (timer_t): Likewise.
3842 2014-06-11 Florian Weimer <fweimer@redhat.com>
3845 * posix/spawn_int.h (struct __spawn_action): Make the path string
3846 non-const to support deallocation.
3847 * posix/spawn_faction_addopen.c
3848 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3849 * posix/spawn_faction_destroy.c
3850 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3851 path in all spawn_do_open actions.
3852 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3853 posix_spawn_file_actions_addopen.
3855 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3857 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3858 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3859 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3860 conditional code always true.
3861 (__libc_vfork): New alias.
3863 2014-06-11 Roland McGrath <roland@hack.frob.com>
3865 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3866 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3868 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3870 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3871 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3873 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3874 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3876 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3877 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3879 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3881 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3882 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3883 multiarch strcmp for PPC64.
3884 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3885 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3887 multiarch optimizations.
3888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3889 (__libc_ifunc_impl_list): Likewise.
3891 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3893 * benchtests/scripts/validate_benchout.py: New script.
3894 * benchtests/Makefile (bench-func): Call it.
3895 * benchtests/scripts/benchout.schema.json: New file.
3897 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3899 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3900 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3901 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3902 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3903 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3904 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3905 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3906 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3907 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3908 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3909 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3910 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3911 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3912 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3913 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3914 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4019 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4021 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4024 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4027 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4033 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4035 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4040 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4043 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4048 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4052 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4053 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4054 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4056 2014-06-10 Wilco <wdijkstr@arm.com>
4058 * math/test-fenv-return.c: New file.
4059 * math/Makefile: Add new test test-fenv-return.
4061 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4066 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4067 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4068 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4069 0.0L for an argument of 1.0L.
4070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4072 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4073 value when x - 1 is zero.
4074 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4078 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4081 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4083 2014-06-09 Roland McGrath <roland@hack.frob.com>
4085 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4086 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4088 2014-06-09 Roland McGrath <roland@hack.frob.com>
4090 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4091 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4093 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4094 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4096 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4097 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4099 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4100 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4102 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4103 if not already defined.
4104 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4105 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4106 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4107 (TLS_INIT_TP): Use it.
4108 (TLS_DEFINE_INIT_TP): New macro.
4109 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4111 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4113 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4115 [POSIX] (IXANY): Likewise.
4116 [POSIX] (OLCUC): Likewise.
4117 [POSIX || POSIX2008] (CBAUD): Do not allow.
4118 [POSIX || POSIX2008] (DEFECHO): Likewise.
4119 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4120 [POSIX || POSIX2008] (ECHOKE): Likewise.
4121 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4122 [POSIX || POSIX2008] (EXTA): Likewise.
4123 [POSIX || POSIX2008] (EXTB): Likewise.
4124 [POSIX || POSIX2008] (FLUSHO): Likewise.
4125 [POSIX || POSIX2008] (LOBLK): Likewise.
4126 [POSIX || POSIX2008] (PENDIN): Likewise.
4127 [POSIX || POSIX2008] (SWTCH): Likewise.
4128 [POSIX || POSIX2008] (VDISCARD): Likewise.
4129 [POSIX || POSIX2008] (VDSUSP): Likewise.
4130 [POSIX || POSIX2008] (VLNEXT): Likewise.
4131 [POSIX || POSIX2008] (VREPRINT): Likewise.
4132 [POSIX || POSIX2008] (VSTATUS): Likewise.
4133 [POSIX || POSIX2008] (VWERASE): Likewise.
4134 (B*): Change to B[0123456789]*.
4135 * conform/data/time.h-data [POSIX || UNIX98]
4136 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4137 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4138 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4139 [POSIX] (tm_*): Do not allow.
4141 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4143 * Makefile (install): Don't set LANGUAGE.
4144 * Makefile.in (install): Likewise.
4145 * assert/Makefile (test-assert-ENV): Remove variable.
4146 (test-assert-perr-ENV): Likewise.
4147 * elf/Makefile (neededtest4-ENV): Likewise.
4148 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4149 [$(cross-compiling) = no]: Don't set LANGUAGE.
4150 * io/ftwtest-sh (LANG): Remove variable.
4151 * libio/Makefile (tst-widetext-ENV): Likewise.
4152 * manual/install.texi (Running make install): Don't refer to
4153 environment settings for make install.
4154 * INSTALL: Regenerated.
4155 * nptl/tst-tls6.sh: Don't set LANG.
4156 * posix/globtest.sh (LANG): Remove variable.
4157 * string/Makefile (tester-ENV): Likewise.
4158 (inl-tester-ENV): Likewise.
4159 (noinl-tester-ENV): Likewise.
4160 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4161 [$(cross-compiling) = no]: Don't set LANGUAGE.
4162 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4163 without explicit environment settings.
4165 2014-06-06 Roland McGrath <roland@hack.frob.com>
4167 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4168 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4170 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4172 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4174 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4175 other files in the crypt directory.
4176 * crypt/crypt.c: Remove duplicate includes.
4177 * crypt/crypt-entry.c: Likewise.
4178 * crypt/crypt_util.c: Likewise.
4180 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4182 * Makeconfig (run-program-env): New variable.
4183 (run-program-prefix-before-env): Likewise.
4184 (run-program-prefix-after-env): Likewise.
4185 (run-program-prefix): Define in terms of new variables.
4186 (built-program-cmd-before-env): New variable.
4187 (built-program-cmd-after-env): Likewise.
4188 (built-program-cmd): Define in terms of new variables.
4189 (test-program-prefix-before-env): New variable.
4190 (test-program-prefix-after-env): Likewise.
4191 (test-program-prefix): Define in terms of new variables.
4192 (test-program-cmd-before-env): New variable.
4193 (test-program-cmd-after-env): Likewise.
4194 (test-program-cmd): Define in terms of new variables.
4195 * Rules (make-test-out): Use $(run-program-env).
4196 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4197 (help): Do not mention environment variables. Mention
4198 --timeoutfactor option.
4199 (timeoutfactor): New variable.
4200 (blacklist_exports): Remove function.
4201 (exports): Remove variable.
4202 (command): Do not include ${exports}.
4203 * manual/install.texi (Configuring and compiling): Do not mention
4204 test wrappers preserving environment variables. Mention that last
4205 assignment to a variable must take precedence.
4206 * INSTALL: Regenerated.
4207 * benchtests/Makefile (run-bench): Use $(run-program-env).
4208 * catgets/Makefile ($(objpfx)test1.cat): Use
4209 $(built-program-cmd-before-env), $(run-program-env) and
4210 $(built-program-cmd-after-env).
4211 ($(objpfx)test2.cat): Do not specify environment variables
4213 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4214 $(run-program-env) and $(built-program-cmd-after-env).
4215 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4216 $(run-program-env) and $(test-program-cmd-after-env).
4217 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4219 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4220 run_program_env and test_program_cmd_after_env arguments.
4221 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4222 * elf/tst-pathopt.sh: Use run_program_env argument.
4223 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4224 $(test-wrapper-env) and $(run-program-env).
4225 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4226 run_program_env arguments.
4227 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4228 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4229 $(test-program-prefix-before-env), $(run-program-env) and
4230 $(test-program-prefix-after-env).
4231 ($(objpfx)tst-gettext2.out): Likewise.
4232 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4233 run_program_env and test_program_prefix_after_env arguments.
4234 * intl/tst-gettext2.sh: Likewise.
4235 * intl/tst-gettext4.sh: Do not set environment variables
4237 * intl/tst-gettext6.sh: Likewise.
4238 * intl/tst-translit.sh: Likewise.
4239 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4240 $(test-program-prefix-before-env), $(run-program-env) and
4241 $(test-program-prefix-after-env).
4242 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4243 run_program_env and test_program_prefix_after_env arguments.
4244 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4245 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4246 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4247 explicitly with each use of ${test_wrapper_env}.
4248 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4249 $(test-program-prefix-before-env), $(run-program-env) and
4250 $(test-program-prefix-after-env).
4251 * posix/tst-getconf.sh: Do not set environment variables
4253 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4254 run_program_env and test_program_prefix_after_env arguments.
4255 * stdio-common/tst-printf.sh: Do not set environment variables
4257 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4258 $(test-program-prefix-before-env), $(run-program-env) and
4259 $(test-program-prefix-after-env).
4260 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4261 run_program_env and test_program_prefix_after_env arguments.
4262 Split $test calls into $test_pre and $test.
4263 * timezone/Makefile (build-testdata): Use
4264 $(built-program-cmd-before-env), $(run-program-env) and
4265 $(built-program-cmd-after-env).
4267 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4270 strlen for non SHARED builds.
4272 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4274 * nptl/allocatestack.c (check_list): Inlined function...
4275 (__reclaim_stacks): ... here.
4277 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4280 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4283 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4285 * Rules (make-test-out): Include
4286 LOCPATH=$(common-objpfx)localedata in default environment.
4287 * debug/Makefile (tst-chk1-ENV): Remove variable.
4288 (tst-chk2-ENV): Likewise.
4289 (tst-chk3-ENV): Likewise.
4290 (tst-chk4-ENV): Likewise.
4291 (tst-chk5-ENV): Likewise.
4292 (tst-chk6-ENV): Likewise.
4293 (tst-lfschk1-ENV): Likewise.
4294 (tst-lfschk2-ENV): Likewise.
4295 (tst-lfschk3-ENV): Likewise.
4296 (tst-lfschk4-ENV): Likewise.
4297 (tst-lfschk5-ENV): Likewise.
4298 (tst-lfschk6-ENV): Likewise.
4299 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4300 (tst-iconv7-ENV): Likewise.
4301 * intl/Makefile (LOCPATH-ENV): Likewise.
4302 (tst-codeset-ENV): Likewise.
4303 (tst-gettext3-ENV): Likewise.
4304 (tst-gettext5-ENV): Likewise.
4305 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4306 (tst-fopenloc-ENV): Likewise.
4307 (tst-fgetws-ENV): Remove variable.
4308 (tst-ungetwc1-ENV): Likewise.
4309 (tst-ungetwc2-ENV): Likewise.
4310 (bug-ungetwc2-ENV): Likewise.
4311 (tst-swscanf-ENV): Likewise.
4312 (bug-ftell-ENV): Likewise.
4313 (tst-fgetwc-ENV): Likewise.
4314 (tst-fseek-ENV): Likewise.
4315 (tst-ftell-partial-wide-ENV): Likewise.
4316 (tst-ftell-active-handler-ENV): Likewise.
4317 (tst-ftell-append-ENV): Likewise.
4318 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4319 (tst-regexloc-ENV): Likewise.
4320 (bug-regex1-ENV): Likewise.
4321 (tst-regex-ENV): Likewise.
4322 (tst-regex2-ENV): Likewise.
4323 (bug-regex5-ENV): Likewise.
4324 (bug-regex6-ENV): Likewise.
4325 (bug-regex17-ENV): Likewise.
4326 (bug-regex18-ENV): Likewise.
4327 (bug-regex19-ENV): Likewise.
4328 (bug-regex20-ENV): Likewise.
4329 (bug-regex22-ENV): Likewise.
4330 (bug-regex23-ENV): Likewise.
4331 (bug-regex25-ENV): Likewise.
4332 (bug-regex26-ENV): Likewise.
4333 (bug-regex30-ENV): Likewise.
4334 (bug-regex32-ENV): Likewise.
4335 (bug-regex33-ENV): Likewise.
4336 (bug-regex34-ENV): Likewise.
4337 (bug-regex35-ENV): Likewise.
4338 (tst-rxspencer-ENV): Likewise.
4339 (tst-rxspencer-no-utf8-ENV): Likewise.
4340 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4341 (tst-sscanf-ENV): Likewise.
4342 (tst-swprintf-ENV): Likewise.
4343 (tst-swscanf-ENV): Likewise.
4344 (test-vfprintf-ENV): Likewise.
4345 (scanf13-ENV): Likewise.
4346 (bug14-ENV): Likewise.
4347 (tst-grouping-ENV): Likewise.
4348 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4349 (tst-strtod3-ENV): Likewise.
4350 (tst-strtod4-ENV): Likewise.
4351 (tst-strtod5-ENV): Likewise.
4352 (testmb2-ENV): Likewise./
4353 * string/Makefile (tst-strxfrm-ENV): Likewise.
4354 (tst-strxfrm2-ENV): Likewise.
4355 (bug-strcoll1-ENV): Likewise.
4356 (test-strcasecmp-ENV): Likewise.
4357 (test-strncasecmp-ENV): Likewise.
4358 * time/Makefile (tst-strptime-ENV): Likewise.
4359 (tst-ftime_l-ENV): Likewise.
4360 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4361 (tst-mbrtowc-ENV): Likewise.
4362 (tst-wcrtomb-ENV): Likewise.
4363 (tst-mbrtowc2-ENV): Likewise.
4364 (tst-c16c32-1-ENV): Likewise.
4365 (tst-mbsnrtowcs-ENV): Likewise.
4367 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4369 * manual/resource.texi (How to get information about the memory
4370 subsystem?): Fix typo.
4371 Reported by Peon de la Parra Ivan <peon@keba.com>
4373 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4376 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4377 (pthread_spin_lock): Branch out of spin loop to proper location.
4378 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4379 (pthread_spin_lock): Likewise.
4381 * nptl/tst-spin4.c: New test.
4382 * nptl/Makefile (tests): Add tst-spin4.
4384 2014-06-03 Andreas Schwab <schwab@suse.de>
4387 * resolv/res_send.c (send_dg): Reload file descriptor after
4390 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4392 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4394 2014-06-03 Richard Henderson <rth@redhat.com>
4396 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4397 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4398 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4399 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4400 in the SAVE_PID block.
4401 (__libc_vfork): New alias.
4402 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4404 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4405 child in registers, not on the stack. Remove RESET_PID conditionals.
4406 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4408 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4410 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4412 2014-06-03 Wilco <wdijkstr@arm.com>
4414 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4415 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4416 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4417 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4418 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4421 2014-06-03 Wilco <wdijkstr@arm.com>
4423 * sysdeps/aarch64/fpu/math_private.h
4424 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4425 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4426 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4427 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4430 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4432 * crypt/crypt-private.h: Include ufc-crypt.h.
4433 (__b64_from_24bit): Declare extern.
4434 * crypt/crypt_util.c(__b64_from_24bit): New function.
4435 (b64t): New static const variable.
4436 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4437 (b64t): Remove variable.
4438 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4439 * crypt/sha256-crypt.c: Include crypt-private.h.
4440 (b64t): Remove variable.
4441 (__sha256_crypt_r): Remove b64_from_24bit and replace
4442 with __b64_from_24bit.
4443 * crypt/sha512-crypt.c: Likewise.
4445 2014-06-02 Roland McGrath <roland@hack.frob.com>
4447 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4448 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4449 Label the code __libc_vfork rather than __vfork.
4450 [!NOT_IN_libc] (vfork): Define as weak alias.
4451 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4452 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4453 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4455 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4457 * malloc/malloc.c (malloc_info): Fix format specifier for
4460 2014-06-02 Wilco <wdijkstr@arm.com>
4462 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4465 2014-06-02 Wilco <wdijkstr@arm.com>
4468 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4469 Rewrite to reduce FPCR/FPSR accesses.
4471 2014-06-01 David S. Miller <davem@davemloft.net>
4473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4475 2014-05-31 David S. Miller <davem@davemloft.net>
4477 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4478 to occur in round to nearest mode when |x| >= 2.0
4480 2014-05-30 Richard Henderson <rth@twiddle.net>
4482 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4483 (PSEUDO_RET_NOERRNO): Remove.
4484 (ret): Don't redefine.
4485 (ret_NOERRNO): Define in terms of ret.
4486 (ret_ERRVAL): Likewise.
4488 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4489 use of PSEUDO_RET; perform the error check directly.
4491 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4493 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4496 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4498 * malloc/malloc (malloc_info): Fix formatting.
4500 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4501 Roland McGrath <roland@hack.frob.com>
4503 * malloc/malloc (malloc_info): Also print mmapped statistics.
4505 2014-05-30 Roland McGrath <roland@hack.frob.com>
4507 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4508 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4510 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4512 * malloc/malloc.c (malloc_info): Inline mi_arena.
4514 2014-05-29 Richard Henderson <rth@twiddle.net>
4516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4517 Remove comma before expanding ASM_ARGS_##nr.
4518 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4519 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4521 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4522 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4523 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4524 (ASM_ARGS_1): Add leading comma.
4526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4527 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4528 to __errno_location.
4529 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4530 Remove the expected plt for __errno_location.
4532 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4533 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4537 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4538 it and break it down.
4539 (DOCARGS_0, DOCARGS_1): Do nothing.
4540 (DOCARGS_2): Update to store into the new stack frame.
4541 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4542 (UNDOCARGS_1): Update to restore from the new stack frame.
4543 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4544 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4547 (SINGLE_THREAD_P): New parameter for result regno.
4548 (PSEUDO): Update to match; use cbz instead of beq.
4550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4551 Use ENTRY to define the _nocancel entry point. Share the syscall
4552 and syscall error check paths with the cancel path.
4555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4556 whitespace; tabs before and after asm mnemonics.
4558 2014-05-29 Eric Wong <normalperson@yhbt.net>
4561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4562 Call fstat64 or stat64 internally, depending on arguments passed.
4563 Replace stat buffer argument with file descriptor argument.
4564 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4565 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4566 Pass fd to __internal_statvfs instead of calling fstat64.
4567 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4568 Pass fd to __internal_statvfs64 instead of calling fstat64.
4569 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4570 Pass -1 to __internal_statvfs instead of calling stat64.
4571 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4572 Pass -1 to __internal_statvfs64 instead of calling stat64.
4574 2014-05-28 Roland McGrath <roland@hack.frob.com>
4576 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4577 that was previously under [RESET_PID].
4578 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4580 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4581 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4583 2014-05-27 Roland McGrath <roland@hack.frob.com>
4585 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4587 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4588 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4590 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4592 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4594 2014-05-27 Andreas Schwab <schwab@suse.de>
4596 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4598 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4599 * elf/rtld.c (init_tls, dl_main): Likewise.
4600 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4601 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4602 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4603 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4604 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4605 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4606 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4607 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4608 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4609 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4610 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4611 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4612 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4613 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4614 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4615 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4616 * sysdeps/generic/tls.h: Update description.
4618 2014-05-27 Will Newton <will.newton@linaro.org>
4621 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4622 and restore r2 rather than just restoring.
4624 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 * libio/tst-ftell-append.c: New test case.
4628 * libio/Makefile (tests): Add test case.
4629 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4631 * libio/wfileops.c (do_ftell_wide): Likewise.
4633 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4637 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4641 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4642 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4643 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4644 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4645 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4646 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4654 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4656 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4659 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4662 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4666 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4668 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4670 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4671 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4673 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4696 conditional [RESET_PID].
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4705 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4706 (__libc_vfork): New strong alias.
4707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4714 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4715 (__libc_vfork): New strong alias.
4716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4721 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4723 * malloc/malloc.c (mi_arena): New function.
4724 (malloc_info): Remove nested function mi_arena. Call non-nosted
4727 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4731 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4732 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4733 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4734 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4736 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4739 2014-05-26 Andreas Schwab <schwab@suse.de>
4742 * locale/programs/repertoire.c (repertoire_read): Add slash
4743 between I18NPATH element and file name.
4744 * locale/programs/locfile.c (locfile_read): Likewise.
4746 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4748 * nptl/pthread_mutexattr_settype.c
4749 (__pthread_mutexattr_settype):
4750 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4752 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4754 * nptl/tst-mutex5 (do_test):
4755 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4757 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4759 * benchtests/README: Document 'init' directive.
4760 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4762 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4763 (parse_file): Recognize 'init' directive.
4765 2014-05-26 Kyle McMartin <kyle@redhat.com>
4768 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4769 alignment of struct pthread.
4771 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4774 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4775 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4776 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4777 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4779 2014-05-25 Richard Henderson <rth@twiddle.net>
4781 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4782 (SINGLE_THREAD_P_PIC): Remove.
4783 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4784 (SINGLE_THREAD_P_PIC): Remove.
4786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4787 branch to syscall error ...
4789 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4790 from __local_syscall_error to .Lsyscall_error.
4791 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4792 (SYSCALL_ERROR): Update label name.
4794 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4795 Do not use DOARGS/UNDOARGS.
4796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4797 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4798 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4799 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4800 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4805 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4806 define if !NOT_IN_libc.
4807 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4808 define with non-default symbol versions.
4810 2014-05-23 Richard Henderson <rth@twiddle.net>
4812 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4813 (vfork, __vfork): Define via compat_symbol.
4815 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4816 [!HAVE_IFUNC] (vfork_compat): Remove.
4817 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4819 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4822 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4823 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4826 2014-05-23 Richard Henderson <rth@twiddle.net>
4828 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4829 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4830 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4831 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4833 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4834 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4835 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4836 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4838 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4839 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4840 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4841 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4842 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4843 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4844 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4845 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4852 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4853 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4854 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4858 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4866 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4868 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4870 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4872 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4873 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4874 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4875 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4876 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4877 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4878 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4879 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4880 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4882 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4884 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4886 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4888 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4890 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4891 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4892 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4893 before exiting on error.
4894 (__libc_vfork): New strong alias.
4895 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4896 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4898 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4899 that was previously under [RESET_PID].
4900 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4902 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4904 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4907 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4908 value when x - 1 is zero.
4909 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4910 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4911 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4912 0.0L for an argument of 1.0L.
4913 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4915 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4916 value when x - 1 is zero.
4917 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4918 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4923 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4924 alphasort and versionsort.
4926 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4928 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4930 [copysignf]: Likewise.
4932 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4934 * crypt/md5-crypt.c: Fix formatting.
4936 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4938 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4939 (b64_from_24bit): New function.
4941 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4944 libc_hidden_builtin_def to ifunc.
4945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4946 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4948 2014-05-21 Roland McGrath <roland@hack.frob.com>
4950 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4951 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4953 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4955 * nscd/Depend (linuxthreads): Remove.
4957 * resolv/Depend (linuxthreads): Remove.
4958 * rt/Depend (linuxthreads): Remove.
4960 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4961 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4962 $(common-objpfx)elf/.
4963 (link-libc-before-gnulib): Likewise.
4964 (elfobjdir): Remove variable.
4965 * Makefile (install): Use $(elf-objpfx) instead of
4966 $(common-objpfx)elf/.
4967 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4969 (link-libc-deps): Likewise.
4970 ($(common-objpfx)libc.so): Likewise.
4971 ($(common-objpfx)linkobj/libc.so): Likewise.
4972 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4973 instead of $(common-objpfx)elf/.
4974 (symbolic-link-list): Likewise.
4975 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4976 [$(cross-compiling) = no]: Likewise.
4977 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4979 (static-gnulib-arch): Likewise.
4980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4981 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4982 $(common-objpfx)elf/.
4984 2014-05-21 Richard Henderson <rth@redhat.com>
4986 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4987 (SINGLE_THREAD_P): Use the correct width load. Fold
4988 into the ldr offset.
4990 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4991 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4993 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4995 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4996 (libgcc_s_resume): Use __attribute_used__.
4997 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5000 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5003 optimization when used with float constants.
5005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5007 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5010 * locale/nl_langinfo_l.c: Make direct reference to every
5011 _nl_current_CATEGORY symbol.
5012 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5013 (tests-static): Add tst-langinfo-static.
5014 (tests-special): Add tst-langinfo-static.out.
5015 ($(objpfx)tst-langinfo.out): Redirect output.
5016 ($(objpfx)tst-langinfo-static.out): New.
5017 * localedata/tst-langinfo.sh: Send output to stdout.
5018 * localedata/tst-langinfo-static.c: New file.
5021 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5022 when the shift amount is modulo the limb size.
5024 2014-05-20 Richard Henderson <rth@redhat.com>
5027 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5028 Change type of sa_flags from unsigned int to int.
5031 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5033 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5035 2014-05-20 Will Newton <will.newton@linaro.org>
5037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5038 Test the return value of the system call in the nocancel case.
5040 2014-05-20 Will Newton <will.newton@linaro.org>
5041 Yvan Roux <yvan.roux@linaro.org>
5043 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5044 #include of asm/ptrace.h.
5045 (PTRACE_GET_THREAD_AREA): Remove #undef.
5046 (PTRACE_GETHBPREGS): Likewise.
5047 (PTRACE_SETHBPREGS): Likewise.
5048 (struct user_regs_struct): New structure.
5049 (struct user_fpsimd_struct): New structure.
5050 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5051 #include of asm/ptrace.h and second #include of sys/user.h.
5052 (PTRACE_GET_THREAD_AREA): Remove #undef.
5053 (PTRACE_GETHBPREGS): Likewise.
5054 (PTRACE_SETHBPREGS): Likewise.
5055 (ELF_NGREG): Use new struct user_regs_struct.
5056 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5058 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5061 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5063 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5067 membar to avoid block loads/stores to overlap previous stores.
5069 2014-05-17 Richard Henderson <rth@redhat.com>
5071 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5072 Create the __##syscall_name##_nocancel entry point.
5073 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5074 Remove; let the sysdep-cancel.h code create it.
5076 2014-05-17 David S. Miller <davem@davemloft.net>
5078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5079 Protect with __USE_GNU.
5080 (TIOCSET_TEMPT): Likewise.
5081 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5082 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5083 these are already provided in bits/ioctl-types.h
5085 2014-05-16 Roland McGrath <roland@hack.frob.com>
5087 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5088 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5090 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5091 Use wait4 regardless of [__NR_waitpid].
5093 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5096 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5097 (_FP_NANSIGN_Q): Set the quiet bit.
5099 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5101 * benchtests/Makefile
5102 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5103 not $(common-objpfx)math/libm.so.
5104 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5105 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5106 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5107 $(common-objpfx)dlfcn/libdl.so.
5108 ($(objpfx)tst-audit8): Depend on $(libm), not
5109 $(common-objpfx)math/libm.so.
5110 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5111 not $(common-objpfx)dlfcn/libdl.so.
5113 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5114 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5115 [$(build-shared) = yes].
5116 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5117 $(common-objpfx)nptl/libpthread.so.
5118 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5119 $(common-objpfx)math/libm.so$(libm.so-version) or
5120 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5121 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5122 $(common-objpfx)dlfcn/libdl.so.
5123 * setjmp/Makefile (link-libm): Remove variable.
5124 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5125 * stdio-common/Makefile (link-libm): Remove variable.
5126 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5127 * stdlib/Makefile (link-libm): Remove variable.
5128 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5129 ($(objpfx)tst-strtod-round): Likewise.
5130 ($(objpfx)tst-tininess): Likewise.
5131 ($(objpfx)tst-strtod-underflow): Likewise.
5132 ($(objpfx)tst-strtod6): Likewise.
5133 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5134 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5135 $(common-objpfx)dlfcn/libdl.so.
5137 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5139 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5140 BSD terminal modes definitions.
5142 2014-05-16 Roland McGrath <roland@hack.frob.com>
5144 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5145 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5147 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5148 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5149 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5150 Don't do #include_next.
5151 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5152 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5153 Don't do #include_next.
5154 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5155 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5156 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5157 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5159 2014-05-16 Allan McRae <allan@archlinux.org>
5161 * po/sv.po: Update Swedish translation from translation project.
5163 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5166 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5169 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5170 errno if the TIOCGPTN ioctl fails with an error different than
5172 * login/tst-ptsname.c: New file.
5173 * login/Makefile (tests): Add tst-ptsname.
5176 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5179 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5183 herrno to return EAI_AGAIN.
5185 2014-05-14 Roland McGrath <roland@hack.frob.com>
5187 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5188 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5189 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5190 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5192 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5194 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5196 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5198 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5200 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5202 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5203 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5204 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5212 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5213 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5214 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5216 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5218 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5223 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5225 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5227 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5229 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5231 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5235 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5237 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5241 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5243 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5252 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5273 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5275 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5278 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5279 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5280 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5281 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5283 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5285 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5287 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5289 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5291 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5293 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5295 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5297 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5299 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5300 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5301 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5302 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5309 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5310 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5312 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5313 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5314 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5316 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5322 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5325 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5328 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5330 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5335 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5339 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5342 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5347 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5348 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5350 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5353 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5359 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5361 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5367 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5370 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5378 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5380 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5382 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5384 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5387 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5392 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5393 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5395 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5404 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5405 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5406 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5408 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5410 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5416 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5419 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5422 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5424 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5426 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5429 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5430 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5431 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5432 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5435 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5438 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5441 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5443 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5444 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5446 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5455 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5457 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5459 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5460 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5461 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5462 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5463 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5465 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5466 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5468 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5469 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5471 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5472 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5473 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5475 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5477 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5478 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5479 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5480 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5481 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5484 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5485 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5487 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5490 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5495 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5499 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5513 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5515 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5516 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5517 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5519 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5521 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5523 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5526 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5527 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5528 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5529 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5531 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5532 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5534 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5535 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5536 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5537 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5538 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5539 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5540 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5545 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5546 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5548 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5550 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5551 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5552 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5554 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5556 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5558 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5596 that was previously under [RESET_PID].
5597 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5598 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5599 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5601 * sysdeps/i386/nptl/Implies: New file.
5602 * sysdeps/x86_64/nptl/Implies: New file.
5603 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5604 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5606 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5608 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5609 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5610 (__libc_vfork): New strong alias.
5611 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5612 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5614 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5615 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5616 (__libc_vfork): New strong alias.
5617 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5618 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5620 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5621 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5622 (__libc_vfork): New strong alias.
5623 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5624 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5625 * nptl/pt-vfork.c: New file.
5626 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5627 (libpthread: GLIBC_2.20): New version set (empty).
5629 2014-05-14 Will Newton <will.newton@linaro.org>
5631 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5634 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5637 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5638 arguments with exponent 65 or above.
5639 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5640 arguments 0x1p113L or above.
5641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5642 to arguments 0x1p107L or above.
5643 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5644 positive arguments with exponent 65 or above.
5645 * math/auto-libm-test-in: Add more tests of log1p.
5646 * math/auto-libm-test-out: Regenerated.
5649 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5650 non-finite arguments is +0.
5651 * math/s_cacosf.c (__cacosf): Likewise.
5652 * math/s_cacosl.c (__cacosl): Likewise.
5653 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5654 * sysdeps/i386/fpu/libm-test-ulps: Update.
5655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5658 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5660 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5661 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5662 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5663 for explicit high bit of mantissa when testing for argument equal
5665 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5670 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5671 (__erf): Scale by 16 instead of 8 in potentially underflowing
5672 case. Ensure exception if result actually underflows.
5673 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5674 (__erff): Scale by 16 instead of 8 in potentially underflowing
5675 case. Ensure exception if result actually underflows.
5676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5677 (efx8): Remove variable.
5678 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5679 case. Ensure exception if result actually underflows.
5680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5681 (efx8): Remove variable.
5682 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5683 case. Ensure exception if result actually underflows.
5684 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5685 (efx8): Remove variable.
5686 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5687 case. Ensure exception if result actually underflows.
5688 * math/auto-libm-test-in: Add more tests of erf.
5689 * math/auto-libm-test-out: Regenerated.
5691 2014-05-14 Andreas Schwab <schwab@suse.de>
5693 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5694 Remove code conditionalized on USE___THREAD.
5696 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5697 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5700 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5703 Define unconditionally.
5704 (__ASSUME_O_CLOEXEC): Likewise.
5705 (__ASSUME_SOCK_CLOEXEC): Likewise.
5706 (__ASSUME_IN_NONBLOCK): Likewise.
5707 (__ASSUME_PIPE2): Likewise.
5708 (__ASSUME_EVENTFD2): Likewise.
5709 (__ASSUME_SIGNALFD4): Likewise.
5710 (__ASSUME_DUP3): Likewise.
5711 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5712 (__ASSUME_DUP3): Do not define.
5713 (__ASSUME_EVENTFD2): Likewise.
5714 (__ASSUME_IN_NONBLOCK): Likewise.
5715 (__ASSUME_O_CLOEXEC): Likewise.
5716 (__ASSUME_PIPE2): Likewise.
5717 (__ASSUME_SIGNALFD4): Likewise.
5718 (__ASSUME_SOCK_CLOEXEC): Likewise.
5719 (__ASSUME_UTIMES): Undefine.
5720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5721 (__ASSUME_UTIMES): Do not define.
5722 (__ASSUME_O_CLOEXEC): Likewise.
5723 (__ASSUME_SOCK_CLOEXEC): Likewise.
5724 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5725 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5727 (__ASSUME_PIPE2): Likewise.
5728 (__ASSUME_EVENTFD2): Likewise.
5729 (__ASSUME_SIGNALFD4): Likewise.
5730 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5731 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5733 (__ASSUME_EVENTFD2): Likewise.
5734 (__ASSUME_SIGNALFD4): Likewise.
5735 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5736 (__ASSUME_32BITUIDS): Likewise.
5737 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5738 (__ASSUME_IPC64): Likewise.
5739 (__ASSUME_ST_INO_64_BIT): Likewise.
5740 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5741 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5742 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5743 (__ASSUME_UTIMES): Do not define.
5744 (__ASSUME_PSELECT): Likewise.
5745 (__ASSUME_PPOLL): Likewise.
5746 (__ASSUME_O_CLOEXEC): Likewise.
5747 (__ASSUME_SOCK_CLOEXEC): Likewise.
5748 (__ASSUME_IN_NONBLOCK): Likewise.
5749 (__ASSUME_PIPE2): Likewise.
5750 (__ASSUME_EVENTFD2): Likewise.
5751 (__ASSUME_SIGNALFD4): Likewise.
5752 (__ASSUME_DUP3): Likewise.
5753 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5754 (__ASSUME_UTIMES): Likewise.
5755 (__ASSUME_O_CLOEXEC): Likewise.
5756 (__ASSUME_SOCK_CLOEXEC): Likewise.
5757 (__ASSUME_IN_NONBLOCK): Likewise.
5758 (__ASSUME_PIPE2): Likewise.
5759 (__ASSUME_EVENTFD2): Likewise.
5760 (__ASSUME_SIGNALFD4): Likewise.
5761 (__ASSUME_DUP3): Likewise.
5762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5763 (__ASSUME_UTIMES): Likewise.
5764 (__ASSUME_O_CLOEXEC): Likewise.
5765 (__ASSUME_SOCK_CLOEXEC): Likewise.
5766 (__ASSUME_IN_NONBLOCK): Likewise.
5767 (__ASSUME_PIPE2): Likewise.
5768 (__ASSUME_EVENTFD2): Likewise.
5769 (__ASSUME_SIGNALFD4): Likewise.
5770 (__ASSUME_DUP3): Likewise.
5771 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5773 (__ASSUME_UTIMES): Likewise.
5774 (__ASSUME_EVENTFD2): Likewise.
5775 (__ASSUME_SIGNALFD4): Likewise.
5776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5777 (__ASSUME_O_CLOEXEC): Likewise.
5778 (__ASSUME_SOCK_CLOEXEC): Likewise.
5779 (__ASSUME_IN_NONBLOCK): Likewise.
5780 (__ASSUME_PIPE2): Likewise.
5781 (__ASSUME_EVENTFD2): Likewise.
5782 (__ASSUME_SIGNALFD4): Likewise.
5783 (__ASSUME_DUP3): Likewise.
5784 (__ASSUME_UTIMES): Undefine.
5786 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5787 feclearexcept. Remove symbol versioning code.
5788 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5789 symbol versioning code.
5790 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5791 symbol versioning code.
5792 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5793 feupdateenv. Remove symbol versioning code.
5794 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5795 fegetexceptflag. Remove symbol versioning code.
5796 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5797 fesetexceptflag. Remove symbol versioning code.
5798 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5799 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5800 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5801 (__posix_fadvise64_l32): Remove prototype.
5802 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5805 2014-05-13 Roland McGrath <roland@hack.frob.com>
5807 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5808 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5809 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5810 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5812 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5814 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5815 current working directory
5817 2014-05-13 Roland McGrath <roland@hack.frob.com>
5819 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5820 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5821 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5822 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5823 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5824 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5825 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5826 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5830 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5852 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5853 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5854 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5855 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5857 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5858 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5859 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5860 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5862 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5863 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5865 * sysdeps/unix/sysv/linux/arm/Makefile
5866 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5867 Add rt-aeabi_unwind_cpp_pr1.
5868 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5869 Add nptl-aeabi_unwind_cpp_pr1.
5870 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5871 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5872 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5873 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5874 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5875 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5877 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5878 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5879 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5880 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5882 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5883 Deconditionalize the code that was previously under [RESET_PID].
5884 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5886 * sysdeps/generic/exit-thread.h: New file.
5887 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5888 * include/unistd.h (__exit_thread): Remove declaration.
5889 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5890 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5891 * csu/libc-start.c: Include <exit-thread.h>.
5892 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5893 * nptl/pthread_create.c: Include <exit-thread.h>.
5894 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5895 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5896 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5897 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5898 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5899 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5900 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5901 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5902 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5903 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5904 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5905 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5906 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5907 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5908 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5909 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5910 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5912 2014-05-13 Andreas Schwab <schwab@suse.de>
5914 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5916 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5918 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5919 (__ASSUME_UTIMES): Do not condition on kernel version.
5920 (__ASSUME_PSELECT): Define unconditionally.
5921 (__ASSUME_PPOLL): Likewise.
5922 (__ASSUME_ATFCTS): Likewise.
5923 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5924 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5925 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5926 (__ASSUME_UTIMENSAT): Define unconditionally.
5927 (__ASSUME_PRIVATE_FUTEX): Likewise.
5928 (__ASSUME_FALLOCATE): Likewise.
5929 (__ASSUME_O_CLOEXEC): Likewise.
5930 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5931 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5932 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5933 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5934 (__ASSUME_IN_NONBLOCK): Likewise.
5935 (__ASSUME_PIPE2): Likewise.
5936 (__ASSUME_EVENTFD2): Likewise.
5937 (__ASSUME_SIGNALFD4): Likewise.
5938 (__ASSUME_DUP3): Likewise.
5939 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5940 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5941 (__ASSUME_AT_RANDOM): Likewise.
5942 (__ASSUME_PREADV): Likewise.
5943 (__ASSUME_PWRITEV): Likewise.
5944 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5945 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5946 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5948 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5950 (__ASSUME_O_CLOEXEC): Define unconditionally.
5951 (__ASSUME_PSELECT): Do not undefine conditionally.
5952 (__ASSUME_PPOLL): Likewise.
5953 (__ASSUME_ATFCTS): Likewise.
5954 (__ASSUME_SET_ROBUST_LIST): Likewise.
5955 (__ASSUME_UTIMENSAT): Likewise.
5956 (__ASSUME_FDATASYNC): Define unconditionally.
5957 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5958 (__ASSUME_SIGFRAME_V2): Likewise.
5959 )__ASSUME_EVENTFD2): Likewise.
5960 (__ASSUME_SIGNALFD4): Likewise.
5961 (__ASSUME_PSELECT): Do not undefine conditionally.
5962 (__ASSUME_PPOLL): Likewise.
5963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5964 (__ASSUME_PSELECT): Define unconditionally.
5965 (__ASSUME_PPOLL): Likewise.
5966 (__ASSUME_O_CLOEXEC): Likewise.
5967 (__ASSUME_SOCK_CLOEXEC): Likewise.
5968 (__ASSUME_IN_NONBLOCK): Likewise.
5969 (__ASSUME_PIPE2): Likewise.
5970 (__ASSUME_EVENTFD2): Likewise.
5971 (__ASSUME_SIGNALFD4): Likewise.
5972 (__ASSUME_DUP3): Likewise.
5973 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5974 (__ASSUME_O_CLOEXEC): Likewise.
5975 (__ASSUME_SOCK_CLOEXEC): Likewise.
5976 (__ASSUME_IN_NONBLOCK): Likewise.
5977 (__ASSUME_PIPE2): Likewise.
5978 (__ASSUME_EVENTFD2): Likewise.
5979 (__ASSUME_SIGNALFD4): Likewise.
5980 (__ASSUME_DUP3): Likewise.
5981 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5982 (__ASSUME_EVENTFD2): Likewise.
5983 (__ASSUME_SIGNALFD4): Likewise.
5984 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5986 2014-05-12 Andreas Schwab <schwab@suse.de>
5989 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5990 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5991 than maximum RPC packet size.
5992 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5993 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5994 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5995 (_nss_nis_getservbyport_r): Likewise.
5997 2014-05-12 Will Newton <will.newton@linaro.org>
5999 * malloc/Makefile (tests): Add tst-mallopt.
6000 * malloc/tst-mallopt.c: New file.
6002 2014-05-09 Roland McGrath <roland@hack.frob.com>
6004 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6005 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6007 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6010 (tst-tlsmod6.so): Likewise.
6012 2014-05-09 Roland McGrath <roland@hack.frob.com>
6014 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6016 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6020 and <dl-procinfo.h>.
6021 (__fegetenv): Save SSE state in envp->__eip if supported.
6022 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6023 envp->__eip if supported.
6024 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6025 and <dl-procinfo.h>.
6026 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6027 __data_offset and __data_selector in environment to 0. Set SSE
6029 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6031 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6033 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6035 2014-05-09 Will Newton <will.newton@linaro.org>
6037 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6038 and libc_relro_required for ARM.
6039 * sysdeps/arm/preconfigure: Regenerate.
6041 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6042 Stefan Liebler <stli@linux.vnet.ibm.com>
6044 * config.make.in (enable-lock-elision): New Makefile variable.
6045 * configure.ac: Likewise.
6046 * configure: Regenerate.
6047 * sysdeps/s390/configure.ac:
6048 Add check for gcc transactions support.
6049 * sysdeps/s390/configure: Regenerate.
6050 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6051 Build elision files if enabled.
6052 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6053 Add lock elision support for s390.
6054 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6055 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6056 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6057 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6058 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6059 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6068 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6069 (__lll_timedlock_elision, __lll_lock_elision)
6070 (__lll_unlock_elision, __lll_trylock_elision)
6071 (lll_timedlock_elision, lll_lock_elision)
6072 (lll_unlock_elision, lll_trylock_elision): Add.
6073 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6074 (pthread_mutex_t): Add lock elision support for s390.
6076 2014-05-14 Wilco <wdijkstr@arm.com>
6078 * sysdeps/arm/fclrexcpt.c: Cleanup.
6079 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6080 * sysdeps/arm/feenablxcpt.c: Cleanup.
6081 * sysdeps/arm/fegetenv.c: Cleanup.
6082 * sysdeps/arm/fegetexcept.c: Cleanup.
6083 * sysdeps/arm/fegetround.c: Cleanup.
6084 * sysdeps/arm/feholdexcpt.c: Cleanup.
6085 * sysdeps/arm/fesetenv.c: Cleanup.
6086 * sysdeps/arm/fesetround.c: Cleanup.
6087 * sysdeps/arm/feupdateenv.c: Cleanup.
6088 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6089 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6090 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6091 * sysdeps/arm/ftestexcept.c: Cleanup.
6092 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6093 * sysdeps/arm/setfpucw.c: Cleanup.
6095 2014-05-09 Will Newton <will.newton@linaro.org>
6097 * sysdeps/arm/armv7/strcmp.S: New file.
6098 * NEWS: Mention addition of ARMv7 optimized strcmp.
6100 2014-05-08 Roland McGrath <roland@hack.frob.com>
6102 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6103 look for %.ac rather than %.in.
6105 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6106 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6107 * sysdeps/mach/hurd/configure: Regenerated.
6108 * sysdeps/unix/sysv/linux/configure: Regenerated.
6110 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6112 2014-05-07 Steve Ellcey <sellcey@mips.com>
6115 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6119 2014-05-07 Andreas Schwab <schwab@suse.de>
6121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6122 when skipping over non-matching result from nscd.
6124 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6127 * nptl/sockperf.c (client): Check socket return value.
6130 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6131 nscd security class.
6133 2014-05-06 Roland McGrath <roland@hack.frob.com>
6135 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6136 * sysdeps/arm/unwind.h: ... here.
6138 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6141 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6144 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6146 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6147 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6148 multiarch strncpy for PPC64.
6149 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6150 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6152 multiarch optimizations.
6153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6154 (__libc_ifunc_impl_list): Likewise.
6155 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6156 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6157 multiarch stpncpy for PPC64.
6158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6159 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6161 2014-05-06 Andreas Schwab <schwab@suse.de>
6164 * gmon/mcount.c (_MCOUNT_DECL): Use
6165 atomic_compare_and_exchange_bool_acq instead of
6166 catomic_compare_and_exchange_bool_acq.
6168 2014-05-05 Roland McGrath <roland@hack.frob.com>
6170 * elf/Makefile (others, install-bin): Remove pldd.
6171 (pldd-modules): Variable removed.
6172 ($(objpfx)pldd): Target removed.
6173 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6174 (others, install-bin): Append pldd here.
6175 ($(objpfx)pldd): New target.
6177 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6178 to 0, so the first #if test emitted later doesn't see it undefined.
6179 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6180 * sysdeps/gnu/errlist.c: Regenerated.
6182 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6185 [libc_hidden_builtin_def]: Define to empty value.
6186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6187 [libc_hidden_builtin_def]: Likewise.
6188 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6189 [libc_hidden_builtin_def]: Likewise.
6190 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6191 [libc_hidden_builtin_def]: Likewise.
6192 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6193 __redirect_memcpy and define ifunc as default hidden symbol.
6194 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6197 2014-05-04 Adam Conrad <adconrad@0c3.net>
6199 * locale/iso-4217.def: Reintroduce XDR currency.
6201 2014-05-04 Allan McRae <allan@archlinux.org>
6203 * po/eo.po: Update Esperanto translation from translation project.
6205 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6207 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6208 and FEATURE_INDEX_MAX to 1.
6209 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6211 2014-05-01 Steve Ellcey <sellcey@mips.com>
6213 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6214 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6215 * iconvdata/big5.c (ONE_DIRECTION): Define.
6216 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6217 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6218 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6219 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6220 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6221 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6222 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6223 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6224 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6225 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6226 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6227 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6228 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6229 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6230 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6231 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6232 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6233 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6234 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6235 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6236 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6237 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6238 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6239 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6240 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6241 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6242 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6243 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6244 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6245 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6246 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6247 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6248 * iconvdata/johab.c (ONE_DIRECTION): Define.
6249 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6250 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6251 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6252 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6253 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6254 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6255 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6256 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6257 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6258 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6260 2014-05-01 Roland McGrath <roland@hack.frob.com>
6262 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6263 (_IO_JUMPS_OFFSET): Define to 0.
6265 * nptl/sysdeps/pthread/bits/libc-lock.h
6266 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6267 (__libc_lock_define_initialized_recursive): Always define using
6268 initializer. Modern compilers treat uninitialized (implicit zero) and
6269 explicit zero initializers the same (i.e. put the datum in bss).
6271 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6273 * nscd/nscd-client.h: Include <string.h>.
6275 2014-05-01 David S. Miller <davem@davemloft.net>
6278 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6279 multiple zero bytes exist at the end of a string.
6280 Reported by Aurelien Jarno <aurelien@aurel32.net>
6282 * string/test-strcmp.c (check): Add explicit test for situations where
6283 there are multiple zero bytes after the first.
6285 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6288 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6289 when compiling wprintf.
6290 * stdio-common/tstdiomisc.c (t3): New function.
6293 2014-05-01 Steve Ellcey <sellcey@mips.com>
6295 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6296 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6297 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6298 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6300 2014-05-01 Steve Ellcey <sellcey@mips.com>
6302 * stdlib/longlong.h: Updated from GCC.
6304 2014-05-01 Will Newton <will.newton@linaro.org>
6305 Bernard Ogden <bernie.ogden@linaro.org>
6307 * NEWS: Update fixed bug list.
6310 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6312 2014-04-30 David S. Miller <davem@davemloft.net>
6314 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6315 (libc_feholdexcept_setround_sparc_ctx): New function.
6316 (libc_fesetenv_sparc_ctx): Likewise.
6317 (libc_feupdateenv_sparc_ctx): Likewise.
6318 (libc_feholdsetround_sparc_ctx): Likewise.
6319 (libc_feholdexcept_setround_ctx): Define.
6320 (libc_feholdexcept_setroundf_ctx): Likewise.
6321 (libc_feholdexcept_setroundl_ctx): Likewise.
6322 (libc_fesetenv_ctx): Likewise.
6323 (libc_fesetenvf_ctx): Likewise.
6324 (libc_fesetenvl_ctx): Likewise.
6325 (libc_feupdateenv_ctx): Likewise.
6326 (libc_feupdateenvf_ctx): Likewise.
6327 (libc_feupdateenvl_ctx): Likewise.
6328 (libc_feresetround_ctx): Likewise.
6329 (libc_feresetroundf_ctx): Likewise.
6330 (libc_feresetroundl_ctx): Likewise.
6331 (libc_feholdsetround_ctx): Likewise.
6332 (libc_feholdsetroundf_ctx): Likewise.
6333 (libc_feholdsetroundl_ctx): Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6336 with __USE_GNU instead of XOPEN cpp guards.
6338 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6342 with XOPEN cpp guards.
6344 2014-04-30 Julian Brown <julian@codesourcery.com>
6347 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6350 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6353 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6355 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6356 * sysdeps/unix/sysv/linux/configure: Regenerated.
6357 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6358 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6359 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6360 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6361 * README: Update reference to required Linux kernel version.
6362 * manual/install.texi (Linux): Update reference to required Linux
6363 kernel headers version.
6364 * INSTALL: Regenerated.
6366 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6368 [POSIX] (limits.h): Likewise.
6369 [POSIX] (math.h): Likewise.
6370 [POSIX] (sys/wait.h): Likewise.
6371 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6373 [POSIX] (stddef.h): Do not allow header inclusion.
6375 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6377 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6379 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6381 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6382 Return immediately after lll_futex_wake.
6384 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6389 (datahead_init_pos): Call datahead_init_common early.
6390 (datahead_init_neg): Likewise.
6392 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6393 datahead_init_neg): New functions.
6394 * nscd/aicache.c (addhstaiX): Use them.
6395 * nscd/grpcache.c (cache_addgr): Likewise.
6396 * nscd/hstcache.c (cache_addhst): Likewise.
6397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6398 * nscd/netgroupcache.c (do_notfound): Likewise.
6399 (addgetnetgrentX): Likewise.
6400 (addinnetgrX): Likewise.
6401 * nscd/pwdcache.c (cache_addpw): Likewise.
6402 * nscd/servicescache.c (cache_addserv): Likewise.
6404 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6405 Atsushi Onoe <atsushi@onoe.org>
6410 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6411 one response is valid.
6412 * resolv/res_send.c (send_dg): Check for validity of other
6413 response if the current response is a referral.
6415 2014-04-29 Steve Ellcey <sellcey@mips.com>
6417 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6419 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6422 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6423 Always divide by positive zero when computing -Inf result.
6424 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6425 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6427 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6430 FPSCR if value do not change.
6431 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6432 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6433 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6435 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6436 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6439 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6441 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6442 * sysdeps/unix/sysv/linux/hppa: Move directory from
6443 ports/systeps/unix/sysv/linux/hppa.
6444 * README: Update listing for hppa-*-linux-gnu.
6446 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6449 * manual/stdio.texi (Hook functions): Fix types of stream hook
6452 * socket/sys/socket.h: Fix typo in comment.
6454 2014-04-28 Wilco <wdijkstr@arm.com>
6456 * sysdeps/arm/fenv_private.h: New file.
6457 * sysdeps/arm/math_private.h: New file.
6458 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6460 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6462 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6464 (La_x86_64_retval): Likewise.
6466 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6468 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6469 fpsr if value didn't change.
6470 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6471 to fpcr if value didn't change.
6472 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6473 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6474 fpsr or fpcr if value didn't change.
6475 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6476 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6477 fpcr if value didn't change.
6478 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6479 to fpsr if value didn't change.
6481 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6483 * nptl/tst-sem3.c: Use test-skeleton.c
6484 (main): Rename to do_test. Use return instead of
6486 * nptl/tst-sem4.c: Use test-skeleton.c
6487 (main): Rename to do_test.
6489 2014-04-22 David S. Miller <davem@davemloft.net>
6491 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6492 (struct sigaction): New struct member __glibc_reserved0, change
6493 type of sa_flags to int.
6495 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6497 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6498 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6500 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6502 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6503 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6505 2014-04-22 Will Newton <will.newton@linaro.org>
6506 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6508 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6509 (__longjmp): Add longjmp and longjmp_target SystemTap
6511 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6512 (__sigsetjmp): Add setjmp SystemTap probe.
6514 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6516 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6519 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6523 * sysdeps/powerpc/fpu/fenv_private.h
6524 (libc_feholdexcept_setroundl_ctx): Define to
6525 libc_feholdexcept_setround_ppc_ctx.
6526 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6527 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6528 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6529 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6531 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6533 * sysdeps/aarch64/math-tests.h: New file.
6535 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6537 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6540 Check and set bit_AVX2_Usable.
6541 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6543 (bit_AVX2): Likewise.
6544 (index_AVX2_Usable): Likewise.
6545 (CPUID_AVX2): Likewise.
6546 (HAS_AVX2): Likewise.
6548 2014-04-17 Will Newton <will.newton@linaro.org>
6550 * manual/setjmp.texi (System V contexts): Add note that
6551 calling setcontext on a context created by a call to a
6552 signal handler is undefined. Update text to note that
6553 setcontext from a signal handler is possible but not
6557 * stdlib/tst-setcontext.c: Include signal.h.
6558 (main): Check that the signal stack before and
6559 after swapcontext is the same.
6561 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6562 Re-implement to restore registers in user code and avoid
6563 rt_sigreturn system call.
6565 2014-04-17 Wilco <wdijkstr@arm.com>
6567 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6568 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6569 * math/test-fenv.c: Skip exception trap tests on targets which only
6570 support non-stop mode.
6572 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6573 Wilco Dijkstra <wilco.dijkstra@arm.com>
6575 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6576 (libc_feholdsetround_aarch64_ctx)
6577 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6578 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6579 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6580 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6581 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6582 (libc_feresetround_noexl_ctx): Define.
6584 2014-04-16 Richard Henderson <rth@redhat.com>
6586 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6588 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6591 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6592 const from the non-libc, non-ldso copy.
6594 * sysdeps/alpha/libm-test-ulps: Regenerate.
6596 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6597 Wilco Dijkstra <wilco.dijkstra@arm.com>
6599 * sysdeps/aarch64/fpu/math_private.h: New file.
6601 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6603 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6605 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6607 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6608 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6610 Intel MPX bound registers before _dl_profile_fixup.
6611 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6612 registers after _dl_profile_fixup. Save and restore bound
6613 registers bnd0/bnd1 when calling _dl_call_pltexit.
6614 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6615 (LR_BND_OFFSET): Likewise.
6616 (LRV_BND0_OFFSET): Likewise.
6617 (LRV_BND1_OFFSET): Likewise.
6619 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6621 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6623 * sysdeps/mach/hurd/i386/tls.h: ... here.
6624 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6625 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6628 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6630 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6632 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6634 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6636 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6639 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6640 * sysdeps/s390/configure: Regenerate.
6643 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6644 Set round-to-nearest internally to reduce error accumulation.
6646 2014-04-16 Alan Modra <amodra@gmail.com>
6650 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6651 * math/libm-test.inc (frexp_test_data): Add tests.
6652 * NEWS: Update fixed bug list.
6654 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6656 * benchtests/Makefile: Depend on libraries in build directory.
6657 (bench-math): Separate out math tests.
6658 (bench-pthread): Separate out pthread tests.
6659 (bench): Include math and pthread tests.
6661 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6664 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6665 _dl_debug_initialize.
6667 * configure.ac: Remove SELinux header check.
6668 * configure: Regenerate.
6669 * nscd/selinux.c (perms): Array of const char* to permission names.
6670 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6671 default policy. Call string_to_security_class and string_to_av_perm to
6672 translate strings. Enforce default policy and call avs_has_perm with
6673 results of translated strings.
6675 2014-04-13 David S. Miller <davem@davemloft.net>
6677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6679 2014-04-12 Allan McRae <allan@archlinux.org>
6682 * manual/string.texi (Collation Functions): Fix qsort argument
6684 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6686 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6688 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6689 Make the test a no-op if there are no exceptions defined.
6691 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6693 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6694 enable-hardcoded-path-in-tests
6696 2014-04-11 Will Newton <will.newton@linaro.org>
6698 * benchtests/Makefile (extra-objs): Add json-lib.o.
6699 (bench-func): Tidy up JSON output.
6700 * benchtests/bench-skeleton.c: Include json-lib.h.
6701 (main): Use JSON library functions to do output of
6703 * benchtests/bench-timing-type.c (main): Output the
6704 timing type simply, leaving formatting to the user.
6705 * benchtests/json-lib.c: New file.
6706 * benchtests/json-lib.h: Likewise.
6708 2014-04-11 Torvald Riegel <triegel@redhat.com>
6711 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6712 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6713 memory barriers. Add comments.
6714 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6715 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6716 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6717 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6718 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6719 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6721 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6723 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6724 * sysdeps/s390/s390-64/configure.ac: ... this ...
6725 * sysdeps/s390/configure.ac: ... to here.
6726 * sysdeps/s390/s390-32/configure: Delete file.
6727 * sysdeps/s390/s390-64/configure: Delete file.
6728 * sysdeps/s390/configure: Regenerate.
6730 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6732 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6734 2014-04-11 Will Newton <will.newton@linaro.org>
6736 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6737 to zero if it is not defined elsewhere. (mtrim): Test
6738 the value of MALLOC_DEBUG with #if rather than #ifdef.
6740 2014-04-10 Torvald Riegel <triegel@redhat.com>
6742 * benchtests/pthread_once-inputs: New file.
6743 * benchtests/pthread_once-source.c: New file.
6744 * benchtests/README: Update documentation.
6746 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6747 H.J. Lu <hongjiu.lu@intel.com>
6749 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6750 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6751 * sysdeps/x86_64/configure: Regenerated.
6752 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6754 (REGISTER_SAVE_RAX): Likewise.
6755 (REGISTER_SAVE_RCX): Likewise.
6756 (REGISTER_SAVE_RDX): Likewise.
6757 (REGISTER_SAVE_RSI): Likewise.
6758 (REGISTER_SAVE_RDI): Likewise.
6759 (REGISTER_SAVE_R8): Likewise.
6760 (REGISTER_SAVE_R9): Likewise.
6761 (REGISTER_SAVE_BND0): Likewise.
6762 (REGISTER_SAVE_BND1): Likewise.
6763 (REGISTER_SAVE_BND2): Likewise.
6764 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6765 bound registers when calling _dl_fixup.
6767 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6769 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6770 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6772 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6773 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6774 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6775 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6776 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6777 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6778 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6780 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6783 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6784 pathconf(_PC_NAME_MAX).
6786 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6788 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6790 (__PTHREAD_SPINS): Move definition to ...
6791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6792 (__PTHREAD_SPINS): ... here.
6793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6794 (__PTHREAD_SPIN): Likewise.
6795 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6796 (__PTHREAD_SPIN): Likewise.
6797 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6798 (__PTHREAD_SPIN): Likewise.
6799 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6800 (__PTHREAD_SPIN): Likewise.
6801 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6802 (__PTHREAD_SPIN): Likewise.
6803 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6804 (__PTHREAD_SPIN): Likewise.
6805 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6806 (__PTHREAD_SPIN): Likewise.
6807 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6808 (__PTHREAD_SPIN): Likewise.
6809 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6810 (__PTHREAD_SPIN): Likewise.
6811 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6812 (__PTHREAD_SPIN): Likewise.
6813 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6814 (__PTHREAD_SPIN): Likewise.
6815 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6816 (__PTHREAD_SPIN): Likewise.
6818 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6819 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6820 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6821 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6823 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6824 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6825 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6826 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6828 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6829 strlen symbol for non multi-arch builds.
6830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6831 missing hidden_def and weak_alias.
6833 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6835 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6837 2014-04-07 Will Newton <will.newton@linaro.org>
6839 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6840 and contents. [!_LIBC] Remove #ifndef and contents.
6841 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6842 * string/memccpy.c (__memccpy): Use ANSI prototype.
6843 * string/memfrob.c (memfrob): Likewise.
6844 * string/strcoll.c (STRCOLL): Likewise.
6845 * string/strlen.c (strlen): Likewise.
6846 * string/strtok.c (STRTOK): Likewise.
6847 * string/strcat.c: Remove unused #include of memcopy.h.
6848 (strcat): Use ANSI prototype.
6849 * string/strchr.c: Remove unused #include of memcopy.h.
6850 (strchr): Use ANSI prototype.
6851 * string/strcmp.c: Remove unused #include of memcopy.h.
6852 (strcmp): Use ANSI prototype.
6853 * string/strcpy.c: Remove unused #include of memcopy.h.
6854 (strcpy): Use ANSI prototype.
6856 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6858 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6859 * config.make.in (config-extra-cppflags): Set it from
6860 libc_extra_cppflags.
6861 * configure.ac (libc_extra_cflags): Make it accumulate over
6862 configure fragments.
6863 (libc_extra_cppflags): New flag.
6864 * configure. Regenerate.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6866 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6867 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6872 result for FE_DOWNWARD rounding mode.
6873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6877 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6879 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6880 in function argument name.
6882 2014-04-03 David Svoboda <svoboda@cert.org>
6885 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6888 2014-04-03 Roland McGrath <roland@hack.frob.com>
6890 * elf/dl-unmap-segments.h: New file.
6891 * sysdeps/generic/ldsodefs.h
6892 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6893 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6894 * elf/dl-fptr.c: Likewise.
6895 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6896 * sysdeps/aarch64/tlsdesc.c: Likewise.
6897 * sysdeps/arm/tlsdesc.c: Likewise.
6898 * sysdeps/i386/tlsdesc.c: Likewise.
6899 * sysdeps/tile/dl-runtime.c: Likewise.
6900 * sysdeps/x86_64/tlsdesc.c: Likewise.
6901 * elf/dl-load.h: New file.
6902 * elf/dl-load.c: Include it.
6903 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6904 Macros moved to dl-load.h.
6905 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6906 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6907 Use _dl_unmap_segments in place of __munmap.
6908 Break out segment-mapping loop into ...
6909 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6911 2014-04-03 Will Newton <will.newton@linaro.org>
6913 * elf/dl-lookup.c (do_lookup_x): Remove comment
6914 referring to nested function and move variable
6915 declarations down to before first use.
6917 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6921 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6923 * math/s_catanf.c (__catanf): Likewise.
6924 * math/s_catanh.c (__catanh): Likewise.
6925 * math/s_catanhf.c (__catanhf): Likewise.
6926 * math/s_catanhl.c (__catanhl): Likewise.
6927 * math/s_catanl.c (__catanl): Likewise.
6928 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6929 by positive zero when computing -Inf result.
6930 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6931 (catanh_test): Likewise.
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6937 instead of using underflowing value in computing result.
6938 * math/s_clog10.c (__clog10): Likewise.
6939 * math/s_clog10f.c (__clog10f): Likewise.
6940 * math/s_clog10l.c (__clog10l): Likewise.
6941 * math/s_clogf.c (__clogf): Likewise.
6942 * math/s_clogl.c (__clogl): Likewise.
6943 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6944 (clog10_test): Likewise.
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948 2014-04-02 Alan Modra <amodra@gmail.com>
6951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6952 output when value is near a power of two. Use int64_t for lx and
6953 remove casts. Use decimal rather than hex exponent constants.
6954 Don't use long double multiplication when double will suffice.
6955 * math/libm-test.inc (nextafter_test_data): Add tests.
6956 * NEWS: Add 16739 and 16786 to bug list.
6958 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6960 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6962 2014-04-01 Will Newton <will.newton@linaro.org>
6964 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6965 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6967 2014-04-01 Florian Weimer <fweimer@redhat.com>
6970 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6971 * nptl/tst-setuid2.c: New file.
6972 * nptl/Makefile (xtests): Add tst-setuid2.
6974 2014-04-01 Alan Modra <amodra@gmail.com>
6977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6979 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6983 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6984 set errno as appropriate.
6985 * math/w_scalbf.c (__scalbf): Likewise.
6986 * math/w_scalbl.c (__scalbl): Likewise.
6987 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6988 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6989 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6993 * math/w_atan2.c: Include <errno.h>.
6994 (__atan2): Set errno for result underflowing to zero.
6995 * math/w_atan2f.c: Include <errno.h>.
6996 (__atan2f): Set errno for result underflowing to zero.
6997 * math/w_atan2l.c: Include <errno.h>.
6998 (__atan2l): Set errno for result underflowing to zero.
6999 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7001 * math/auto-libm-test-out: Regenerated.
7003 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7005 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7006 Encode instruction correctly in little endian.
7007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7011 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7013 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7016 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7019 * sysdeps/unix/sysv/linux/kernel-features.h
7020 [__sparc__ && !__arch64__ && !__sparc_v9__]
7021 (__ASSUME_SET_ROBUST_LIST): Do not define.
7022 [__sparc__ && !__arch64__ && !__sparc_v9__]
7023 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7024 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7027 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7028 (__ASSUME_REQUEUE_PI): Likewise.
7029 (__ASSUME_SET_ROBUST_LIST): Likewise.
7030 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7031 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7034 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7036 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7040 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7041 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7043 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7044 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7048 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7049 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7050 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7052 2014-03-31 Will Newton <will.newton@linaro.org>
7054 * benchtests/Makefile (bench): Add ffs and ffsll to list
7056 * benchtests/ffs-inputs: New file.
7057 * benchtests/ffsll-inputs: Likewise.
7059 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7062 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7063 too large before casting to int.
7064 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7065 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7066 * math/libm-test.inc (scalb_test_data): Add more tests.
7068 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7070 * benchtests/Makefile (DETAILED_OPT): New make option.
7071 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7073 * benchtests/bench-skeleton.c: Include stdbool.h.
7074 (main): Store and print timings per input.
7075 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7076 member to each argument value.
7077 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7078 (_print_arg_data): Initialize per-input timing to 0.
7080 * benchtests/Makefile (timing-type): New binary.
7081 (bench-clean): Also remove bench-timing-type.
7082 (bench): New target for timing-type.
7083 (bench-func): Print output in JSON format.
7084 * benchtests/bench-skeleton.c (main): Print output in JSON
7086 * benchtests/bench-timing-type.c: New file.
7087 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7088 (TIMING_PRINT_STATS): Remove.
7089 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7092 * benchtests/bench-modf.c: Remove.
7093 * benchtests/modf-inputs: New inputs file.
7095 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7098 * math/s_clog10.c (M_PI_LOG10E): New macro.
7099 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7100 imaginary parts are 0.
7101 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7102 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7103 imaginary parts are 0.
7104 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7105 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7106 imaginary parts are 0.
7107 * math/libm-test.inc (clog10_test_data): Update expected results
7108 for when real and imaginary parts are 0.
7110 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7112 * elf/dl-load.c: Finish conversion of __builtin_expect into
7115 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7119 1+x for argument with exponent below -67.
7120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7122 * math/auto-libm-test-in: Add more tests of exp.
7123 * math/auto-libm-test-out: Regenerated.
7125 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7128 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7129 (nscd_getnetgrent): Use it.
7132 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7135 2014-03-27 Andi Kleen <ak@linux.intel.com>
7137 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7138 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7139 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7140 (lll_robust_unlock): Remove out of line section. Use cfi
7142 (LLL_STUB_UNWIND_INFO*): Remove.
7143 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7144 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7145 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7146 (lll_robust_unlock): Remove out of line section. Use cfi
7148 (LLL_STUB_UNWIND_INFO*): Remove.
7150 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7153 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7156 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7158 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7160 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7163 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7165 * math/test-fenv-preserve.c: New file.
7166 * math/Makefile (tests): Add test-fenv-preserve.
7168 2014-03-26 Will Newton <will.newton@linaro.org>
7170 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7172 2014-03-25 Roland McGrath <roland@hack.frob.com>
7174 * scripts/versionlist.awk: Partition the version sets and emit all
7175 GLIBC_* (sorted) before all others (sorted).
7177 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7179 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7180 GLIBC_2.2.5 version.
7182 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7187 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7192 2014-03-25 Andreas Schwab <schwab@suse.de>
7194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7195 label to be used after in6ailist is initialized.
7197 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7199 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7200 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7202 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7206 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7208 (fp_formats): Update initializers.
7209 (init_fp_formats): Initialize new field.
7210 (output_for_one_input_case): Allow underflow for results up to
7212 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7213 * math/auto-libm-test-in: Don't mark some underflows from asin and
7215 * math/auto-libm-test-out: Regenerated.
7216 * sysdeps/i386/fpu/libm-test-ulps: Update.
7217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7219 2014-03-25 Andreas Schwab <schwab@suse.de>
7221 * libio/Makefile (tst-ftell-partial-wide-ENV)
7222 (tst-ftell-active-handler-ENV): Define.
7224 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7226 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7228 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7230 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7232 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7235 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7236 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7238 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7241 * elf/dl-load.c (open_verify): Add mode parameter.
7242 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7243 (open_path): Change from boolean 'secure' to complete flag 'mode'
7244 (_dl_map_object): Adjust.
7245 * elf/Makefile (tests): Add tst-dlopen-aout.
7246 * elf/tst-dlopen-aout.c: New test.
7248 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7251 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7252 (struct stat): Rename member pad0 to __glibc_reserved0.
7255 * sysdeps/s390/s390-32/bits/wordsize.h
7256 (__WORDSIZE32_SIZE_ULONG): New define.
7257 * sysdeps/s390/s390-64/bits/wordsize.h
7258 (__WORDSIZE32_SIZE_ULONG): Likewise.
7259 * sysdeps/generic/stdint.h (SIZE_MAX):
7260 Define as UL if __WORDSIZE32_SIZE_ULONG.
7263 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7264 (__glibc_reserved0): New variable.
7265 (sa_flags): Change type to int.
7267 * posix/Makefile (before-compile): Use += before-compile instead
7270 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7271 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7273 2014-03-20 Andreas Schwab <schwab@suse.de>
7276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7277 non-matching result from nscd.
7279 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7281 * scripts/bench.py: Moved to ...
7282 * benchtests/scripts/bench.py: ... here.
7283 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7285 2014-03-24 Andreas Schwab <schwab@suse.de>
7288 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7289 alloca_account and account alloca use for struct in6ailist.
7291 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7294 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7295 rounding mode to recompute results that overflow to infinity or
7297 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7299 * math/auto-libm-test-out: Regenerated.
7300 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7301 (ccosh_test): Likewise.
7302 (csin_test_data): Use plus_oflow.
7303 (csin_test): Use ALL_RM_TEST.
7304 (csinh_test_data): Use plus_oflow.
7305 (csinh_test): Use ALL_RM_TEST.
7306 * sysdeps/i386/fpu/libm-test-ulps: Update.
7307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7311 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7312 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7313 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7316 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7318 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7319 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7320 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7323 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7324 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7326 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7327 * sysdeps/i386/fpu/libm-test-ulps: Update.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7332 * scripts/bench.pl: Remove file.
7333 * scripts/bench.py: New benchmark script.
7334 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7335 * benchtests/README: Mention python dependency.
7336 * scripts/pylintrc: New file.
7337 * scripts/pylint: New file.
7339 * bits/mathdef.h: Use #ifdef instead of #if.
7340 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7341 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7342 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7343 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7344 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7345 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7347 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7348 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7350 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7352 and strpbrk-ppc64 objects.
7353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7354 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7355 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7356 multiarch strpbrk for POWER7.
7357 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7358 multiarch strpbrk for PPC64.
7359 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7361 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7364 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7366 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7367 (atan_test): Likewise.
7368 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7369 (atanh_test): Use ALL_RM_TEST.
7370 (atan2_test_data): Likewise.
7371 (cabs_test): Likewise.
7372 (cacosh_test): Likewise.
7373 (carg_test): Likewise.
7374 (casin_test): Likewise.
7375 (casinh_test): Likewise.
7376 (cbrt_test): Likewise.
7377 (csqrt_test): Likewise.
7378 (erf_test): Likewise.
7379 (erfc_test): Likewise.
7380 (pow10_test): Likewise.
7381 (exp2_test): Likewise.
7382 (hypot_test): Likewise.
7383 (j0_test): Likewise.
7384 (j1_test): Likewise.
7385 (lgamma_test): Likewise.
7386 (gamma_test): Likewise.
7387 (sincos_test): Likewise.
7388 (tanh_test): Likewise.
7389 (y0_test): Likewise.
7390 (y1_test): Likewise.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7396 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7398 and strcspn-ppc64 objects.
7399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7400 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7401 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7402 multiarch strcspn for POWER7.
7403 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7404 multiarch strcspn for PPC64.
7405 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7407 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7410 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7412 * math/gen-libm-test.pl (generate_testfile): Expect only function
7413 name as argument to AUTO_TESTS_* and pass results for all rounding
7414 modes to parse_args.
7415 (parse_auto_input): Separate inputs of automatic tests from
7416 outputs before storing in %auto_tests.
7417 * math/libm-test.inc (acos_test_data): Update call to
7419 (acos_test): Use ALL_RM_TEST.
7420 (acos_tonearest_test_data): Remove.
7421 (acos_test_tonearest): Likewise.
7422 (acos_towardzero_test_data): Likewise.
7423 (acos_test_towardzero): Likewise.
7424 (acos_downward_test_data): Likewise.
7425 (acos_test_downward): Likewise.
7426 (acos_upward_test_data): Likewise.
7427 (acos_test_upward): Likewise.
7428 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7429 (asin_test_data): Likewise.
7430 (asin_test): Use ALL_RM_TEST.
7431 (asin_tonearest_test_data): Remove.
7432 (asin_test_tonearest): Likewise.
7433 (asin_towardzero_test_data): Likewise.
7434 (asin_test_towardzero): Likewise.
7435 (asin_downward_test_data): Likewise.
7436 (asin_test_downward): Likewise.
7437 (asin_upward_test_data): Likewise.
7438 (asin_test_upward): Likewise.
7439 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7440 (atan_test_data): Likewise.
7441 (atanh_test_data): Likewise.
7442 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7443 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7444 (carg_test_data): Likewise.
7445 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7446 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7447 (ccosh_test_data): Likewise.
7448 (cexp_test_data): Likewise.
7449 (clog_test_data): Likewise.
7450 (clog10_test_data): Likewise.
7451 (cos_test_data): Update call to AUTO_TESTS_f_f.
7452 (cos_test): Use ALL_RM_TEST.
7453 (cos_tonearest_test_data): Remove.
7454 (cos_test_tonearest): Likewise.
7455 (cos_towardzero_test_data): Likewise.
7456 (cos_test_towardzero): Likewise.
7457 (cos_downward_test_data): Likewise.
7458 (cos_test_downward): Likewise.
7459 (cos_upward_test_data): Likewise.
7460 (cos_test_upward): Likewise.
7461 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7462 (cosh_test): Use ALL_RM_TEST.
7463 (cosh_tonearest_test_data): Remove.
7464 (cosh_test_tonearest): Likewise.
7465 (cosh_towardzero_test_data): Likewise.
7466 (cosh_test_towardzero): Likewise.
7467 (cosh_downward_test_data): Likewise.
7468 (cosh_test_downward): Likewise.
7469 (cosh_upward_test_data): Likewise.
7470 (cosh_test_upward): Likewise.
7471 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7472 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7473 (ctan_test_data): Likewise.
7474 (ctan_test): Use ALL_RM_TEST.
7475 (ctan_tonearest_test_data): Remove.
7476 (ctan_test_tonearest): Likewise.
7477 (ctan_towardzero_test_data): Likewise.
7478 (ctan_test_towardzero): Likewise.
7479 (ctan_downward_test_data): Likewise.
7480 (ctan_test_downward): Likewise.
7481 (ctan_upward_test_data): Likewise.
7482 (ctan_test_upward): Likewise.
7483 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7484 (ctanh_test): Use ALL_RM_TEST.
7485 (ctanh_tonearest_test_data): Remove.
7486 (ctanh_test_tonearest): Likewise.
7487 (ctanh_towardzero_test_data): Likewise.
7488 (ctanh_test_towardzero): Likewise.
7489 (ctanh_downward_test_data): Likewise.
7490 (ctanh_test_downward): Likewise.
7491 (ctanh_upward_test_data): Likewise.
7492 (ctanh_test_upward): Likewise.
7493 (erf_test_data): Update call to AUTO_TESTS_f_f.
7494 (erfc_test_data): Likewise.
7495 (exp_test_data): Likewise.
7496 (exp_test): Use ALL_RM_TEST.
7497 (exp_tonearest_test_data): Remove.
7498 (exp_test_tonearest): Likewise.
7499 (exp_towardzero_test_data): Likewise.
7500 (exp_test_towardzero): Likewise.
7501 (exp_downward_test_data): Likewise.
7502 (exp_test_downward): Likewise.
7503 (exp_upward_test_data): Likewise.
7504 (exp_test_upward): Likewise.
7505 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7506 (exp10_test): Use ALL_RM_TEST.
7507 (exp10_tonearest_test_data): Remove.
7508 (exp10_test_tonearest): Likewise.
7509 (exp10_towardzero_test_data): Likewise.
7510 (exp10_test_towardzero): Likewise.
7511 (exp10_downward_test_data): Likewise.
7512 (exp10_test_downward): Likewise.
7513 (exp10_upward_test_data): Likewise.
7514 (exp10_test_upward): Likewise.
7515 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7516 (expm1_test_data): Likewise.
7517 (expm1_test): Use ALL_RM_TEST.
7518 (expm1_tonearest_test_data): Remove.
7519 (expm1_test_tonearest): Likewise.
7520 (expm1_towardzero_test_data): Likewise.
7521 (expm1_test_towardzero): Likewise.
7522 (expm1_downward_test_data): Likewise.
7523 (expm1_test_downward): Likewise.
7524 (expm1_upward_test_data): Likewise.
7525 (expm1_test_upward): Likewise.
7526 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7527 (fma_test): Use ALL_RM_TEST.
7528 (fma_towardzero_test_data): Remove.
7529 (fma_test_towardzero): Likewise.
7530 (fma_downward_test_data): Likewise.
7531 (fma_test_downward): Likewise.
7532 (fma_upward_test_data): Likewise.
7533 (fma_test_upward): Likewise.
7534 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7535 (j0_test_data): Update call to AUTO_TESTS_f_f.
7536 (j1_test_data): Likewise.
7537 (jn_test_data): Update call to AUTO_TESTS_if_f.
7538 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7539 (log_test_data): Update call to AUTO_TESTS_f_f.
7540 (log10_test_data): Likewise.
7541 (log1p_test_data): Likewise.
7542 (log2_test_data): Likewise.
7543 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7544 (pow_tonearest_test_data): Likewise.
7545 (sin_test_data): Update call to AUTO_TESTS_f_f.
7546 (sin_test): Use ALL_RM_TEST.
7547 (sin_tonearest_test_data): Remove.
7548 (sin_test_tonearest): Likewise.
7549 (sin_towardzero_test_data): Likewise.
7550 (sin_test_towardzero): Likewise.
7551 (sin_downward_test_data): Likewise.
7552 (sin_test_downward): Likewise.
7553 (sin_upward_test_data): Likewise.
7554 (sin_test_upward): Likewise.
7555 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7556 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7557 (sinh_test): Use ALL_RM_TEST.
7558 (sinh_tonearest_test_data): Remove.
7559 (sinh_test_tonearest): Likewise.
7560 (sinh_towardzero_test_data): Likewise.
7561 (sinh_test_towardzero): Likewise.
7562 (sinh_downward_test_data): Likewise.
7563 (sinh_test_downward): Likewise.
7564 (sinh_upward_test_data): Likewise.
7565 (sinh_test_upward): Likewise.
7566 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7567 (sqrt_test): Use ALL_RM_TEST.
7568 (sqrt_tonearest_test_data): Remove.
7569 (sqrt_test_tonearest): Likewise.
7570 (sqrt_towardzero_test_data): Likewise.
7571 (sqrt_test_towardzero): Likewise.
7572 (sqrt_downward_test_data): Likewise.
7573 (sqrt_test_downward): Likewise.
7574 (sqrt_upward_test_data): Likewise.
7575 (sqrt_test_upward): Likewise.
7576 (tan_test_data): Update call to AUTO_TESTS_f_f.
7577 (tan_test): Use ALL_RM_TEST.
7578 (tan_tonearest_test_data): Remove.
7579 (tan_test_tonearest): Likewise.
7580 (tan_towardzero_test_data): Likewise.
7581 (tan_test_towardzero): Likewise.
7582 (tan_downward_test_data): Likewise.
7583 (tan_test_downward): Likewise.
7584 (tan_upward_test_data): Likewise.
7585 (tan_test_upward): Likewise.
7586 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7587 (tgamma_test_data): Likewise.
7588 (y0_test_data): Likewise.
7589 (y1_test_data): Likewise.
7590 (yn_test_data): Update call to AUTO_TESTS_if_f.
7591 (main): Do not call removed functions.
7593 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7595 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7596 (ldexp_test_data): Remove.
7597 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7599 (scalb_test): Use ALL_RM_TEST.
7601 2014-03-19 Andreas Schwab <schwab@suse.de>
7603 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7605 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7610 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7612 (__ASSUME_PREADV): Undefine.
7613 (__ASSUME_PWRITEV): Likewise.
7615 2014-03-18 Roland McGrath <roland@hack.frob.com>
7617 * bits/mman-linux.h: Add comment about non-Linux use.
7618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7619 bits/mman-linux.h resting place.
7621 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7622 * bits/mman-linux.h: ... here.
7624 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7626 * conform/conformtest.pl: Add standard definition when calling C
7627 preprocessor on data files.
7628 (checknamespace): Remove unused variable.
7630 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7632 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7633 minus_oflow, plus_uflow and minus_uflow in expected results.
7634 * math/libm-test.inc (scalbn_test_data): Add more tests of
7635 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7637 (scalbn_test): Use ALL_RM_TEST.
7638 (scalbln_test_data): Add more tests of negative arguments. Use
7639 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7640 (scalbln_test): Use ALL_RM_TEST.
7642 2014-03-18 Roland McGrath <roland@hack.frob.com>
7644 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7646 2014-03-18 Will Newton <will.newton@linaro.org>
7648 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7651 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7653 * Makerules [!subdir] (check-abi): Exit with error status if a
7656 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7658 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7659 for rint. Include results for all rounding modes.
7660 (nearbyint_test): Use ALL_RM_TEST.
7661 (rint_test_data): Include all tests used for nearbyint.
7663 2014-03-17 Will Newton <will.newton@linaro.org>
7665 * nptl/sysdeps/pthread/pthread.h: Revert previous
7668 * sysdeps/generic/ldsodefs.h: Revert previous
7671 * libio/genops.c: Revert previous change.
7672 * libio/libioP.h: Likewise.
7673 * stdio-common/vfprintf.c: Likewise.
7675 * sysdeps/generic/math_private.h: Revert previous
7678 * sysdeps/generic/math_private.h: Check whether
7679 HAVE_RM_CTX is defined with #ifdef rather
7682 * argp/argp-fmtstream.h: Check whether
7683 __STRICT_ANSI__ is defined with #ifdef rather
7685 * argp/argp.h: Likewise.
7687 * libio/genops.c: Check whether
7688 _IO_JUMPS_OFFSET is defined with #ifdef rather
7690 * libio/libioP.h: Likewise.
7691 * stdio-common/vfprintf.c: Likewise.
7693 * sysdeps/generic/ldsodefs.h: Check whether
7694 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7697 * nptl/sysdeps/pthread/pthread.h: Check
7698 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7701 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7703 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7705 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7709 * libio/fileops.c (_IO_file_open): Seek to end of file but
7710 don't cache the offset.
7711 (get_file_offset): Remove function.
7712 (do_ftell): Use cached offset when available.
7713 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7714 don't cache the offset.
7715 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7717 (do_one_test): Call it.
7718 (do_ftell_test): Fix up expected old offset for a+ mode.
7719 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7722 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7723 up test status with function return status.
7724 (do_write_test): Likewise.
7725 (do_append_test): Likewise.
7727 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7728 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7731 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7733 * math/gen-libm-test.pl (parse_args): Handle results specified for
7734 each rounding mode separately.
7735 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7736 tests and results from lrint_tonearest_test_data,
7737 lrint_towardzero_test_data, lrint_downward_test_data and
7738 lrint_upward_test_data.
7739 (lrint_test): Use ALL_RM_TEST.
7740 (lrint_tonearest_test_data): Remove.
7741 (lrint_test_tonearest): Likewise.
7742 (lrint_towardzero_test_data): Likewise.
7743 (lrint_test_towardzero): Likewise.
7744 (lrint_downward_test_data): Likewise.
7745 (lrint_test_downward): Likewise.
7746 (lrint_upward_test_data): Likewise.
7747 (lrint_test_upward): Likewise.
7748 (llrint_test_data): Merge in per-rounding-mode tests and results
7749 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7750 llrint_downward_test_data and llrint_upward_test_data.
7751 (llrint_test): Use ALL_RM_TEST.
7752 (llrint_tonearest_test_data): Remove.
7753 (llrint_test_tonearest): Likewise.
7754 (llrint_towardzero_test_data): Likewise.
7755 (llrint_test_towardzero): Likewise.
7756 (llrint_downward_test_data): Likewise.
7757 (llrint_test_downward): Likewise.
7758 (llrint_upward_test_data): Likewise.
7759 (llrint_test_upward): Likewise.
7760 (rint_test_data): Merge in per-rounding-mode tests and results
7761 from rint_tonearest_test_data, rint_towardzero_test_data,
7762 rint_downward_test_data and rint_upward_test_data. Add
7763 per-rounding-mode results for tests not in those arrays.
7764 (rint_test): Use ALL_RM_TEST.
7765 (rint_tonearest_test_data): Remove.
7766 (rint_test_tonearest): Likewise.
7767 (rint_towardzero_test_data): Likewise.
7768 (rint_test_towardzero): Likewise.
7769 (rint_downward_test_data): Likewise.
7770 (rint_test_downward): Likewise.
7771 (rint_upward_test_data): Likewise.
7772 (rint_test_upward): Likewise.
7773 (main): Don't call removed functions.
7775 2014-03-14 Roland McGrath <roland@hack.frob.com>
7777 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7778 "Compiled on ..." crapola. It is anti-useful.
7780 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7782 * scripts/evaluate-test.sh: Handle fourth argument to determine
7783 whether test run should stop on failure.
7784 * Makeconfig (stop-on-test-failure): New variable.
7785 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7786 $(stop-on-test-failure).
7787 * Makefile (tests): Give a summary of results from testing and
7788 exit with failure status if they include an ERROR or FAIL.
7790 * manual/install.texi (Configuring and compiling): Mention
7791 stop-on-test-failure=y.
7792 * INSTALL: Regenerated.
7794 2014-03-14 Roland McGrath <roland@hack.frob.com>
7796 * scripts/versionlist.awk: New file.
7797 * Makerules [$(build-shared) = yes]
7798 (postclean-generated): Add Versions.def, not Versions.def.v and
7800 ($(common-objpfx)Versions.def.v.i): Target removed.
7801 ($(common-objpfx)Versions.def): New target.
7802 ($(common-objpfx)Versions.all): Depend on that rather that
7803 $(common-objpfx)Versions.def.v.
7804 * Versions.def: File removed.
7806 * Makeconfig (+gccwarn): Add -Wundef.
7807 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7808 a dl-sysdep.h breaking its contract.
7809 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7810 * include/stackinfo.h: New file.
7811 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7812 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7813 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7814 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7815 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7816 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7817 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7818 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7819 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7820 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7821 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7822 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7823 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7824 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7825 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7827 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7830 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7832 * math/libm-test.inc (round_test_data): Add more tests.
7835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7837 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7840 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7842 * math/libm-test.inc (ceil_test_data): Add more tests.
7844 * math/libm-test.inc (trunc_test_data): Add more tests related to
7847 2014-03-14 Roland McGrath <roland@hack.frob.com>
7849 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7850 with #if rather than #ifdef.
7851 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7853 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7855 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7856 first. Disable AVX-512 GCC support if assembler doesn't support
7858 * sysdeps/x86_64/configure: Regenerated.
7860 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7862 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7863 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7864 (__old_pthread_attr_setstack): Likewise.
7865 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7866 [!_STACK_GROWS_DOWN]: Likewise.
7868 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7870 * config.make.in (have-bash2): Delete.
7871 * configure.ac (libc_cv_have_bash2): Delete.
7872 * configure: Regenerate.
7873 * elf/Makefile (common-ldd-rewrite): Rename to ...
7874 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7875 (sh-ldd-rewrite): Delete.
7876 (bash-ldd-rewrite): Delete.
7877 (have-bash2): Delete checks.
7878 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7881 * config.make.in (have-ksh): Delete.
7883 * configure.ac (libc_cv_have_ksh): Delete.
7884 * configure: Regenerate.
7886 * elf/Makefile: Delete $(have-ksh) check.
7887 ($(objpfx)sotruss): Change KSH to BASH.
7888 * elf/sotruss.ksh: Rename to ...
7889 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7890 function style to match POSIX. Drop ksh vim mode setting.
7892 * manual/time.texi (Specifying the Time Zone with TZ): Change
7893 Tuesday to Thursday.
7895 * debug/tst-longjmp_chk2.c: Update header comment.
7896 (stackoverflow_handler): Add comment. Call assert on pass value.
7898 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7900 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7901 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7902 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7903 (La_x86_64_vector): Add zmm.
7904 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7905 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7906 ($(objpfx)tst-audit10): New target.
7907 ($(objpfx)tst-audit10.out): Likewise.
7908 (tst-audit10-ENV): New.
7909 (AVX512-CFLAGS): Likewise.
7910 (CFLAGS-tst-audit10.c): Likewise.
7911 (CFLAGS-tst-auditmod10a.c): Likewise.
7912 (CFLAGS-tst-auditmod10b.c): Likewise.
7913 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7914 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7915 * sysdeps/x86_64/configure: Regenerated.
7916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7917 AVX-512 zmm register support.
7918 (_dl_x86_64_save_sse): Likewise.
7919 (_dl_x86_64_restore_sse): Likewise.
7920 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7921 size vector registers.
7922 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7923 (ZMM_SIZE): Likewise.
7924 * sysdeps/x86_64/tst-audit10.c: New file.
7925 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7926 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7928 2014-03-13 Roland McGrath <roland@hack.frob.com>
7930 * configure.ac (HAVE_EHDR_START): New check.
7931 * configure: Regenerated.
7932 * config.h.in (HAVE_EHDR_START): New #undef.
7933 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7934 assuming the lowest-addressed segment maps the start of the file.
7936 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7938 * INSTALL: Regenerated.
7940 2014-03-13 Will Newton <will.newton@linaro.org>
7942 * manual/setjmp.texi (System V contexts): Improve
7943 clarity and grammar of documentation.
7945 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7948 * elf/Makefile (tests): Add tst-pie2.
7949 (tests-pie): Add tst-pie2.
7950 * elf/tst-pie2.c: New file.
7951 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7953 * elf/rtld.c (map_doit): Load executable as lt_executable.
7954 (dl_main): Likewise.
7956 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7960 (__ASSUME_PSELECT): Undefine.
7962 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7965 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7966 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7969 selector for static builds.
7971 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7974 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7977 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7979 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7980 IFUNC selector for static builds.
7982 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7984 * sysdeps/mips/math_private.h [__mips_hard_float]
7985 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7986 libc_feresetround_mips_ctx.
7987 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7988 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7989 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7992 * math/s_nextafter.c (__nextafter): Do not return value from
7993 overflowing computation.
7994 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7995 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7996 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8000 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8001 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8003 2014-03-11 Roland McGrath <roland@hack.frob.com>
8005 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8006 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8007 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8008 the new mov targetting sp.
8010 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8013 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8014 Define it for static builds as well.
8015 (NO_BZERO_IMPL): Likewise.
8017 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8019 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8020 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8021 multiarch strspn for PPC64.
8022 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8023 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8025 (__libc_ifunc_impl_list): Likewise.
8026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8027 multiarch optimizations
8028 * string/strspn.c (strspn): Using macro to redefine symbol name.
8030 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8031 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8033 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8034 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8035 multiarch strncat for PPC64.
8036 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8037 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8039 (__libc_ifunc_impl_list): Likewise.
8040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8041 multiarch optimizations
8043 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8046 * nscd/nscd.service: Make service type forking.
8048 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8050 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8051 sign in non default rounding modes.
8052 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8054 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8056 * math/libm-test.inc (ALL_RM_TEST): New macro.
8057 (ceil_test): Use ALL_RM_TEST.
8058 (cimag_test): Likewise.
8059 (conj_test): Likewise.
8060 (copysign_test): Likewise.
8061 (cproj_test): Likewise.
8062 (creal_test): Likewise.
8063 (fabs_test): Likewise.
8064 (floor_test): Likewise.
8065 (fmax_test): Likewise.
8066 (fmin_test): Likewise.
8067 (fmod_test): Likewise.
8068 (fpclassify_test): Likewise.
8069 (frexp_test): Likewise.
8070 (ilogb_test): Likewise.
8071 (isfinite_test): Likewise.
8072 (finite_test): Likewise.
8073 (isgreater_test): Likewise.
8074 (isgreaterequal_test): Likewise.
8075 (isinf_test): Likewise.
8076 (isless_test): Likewise.
8077 (islessequal_test): Likewise.
8078 (islessgreater_test): Likewise.
8079 (isnan_test): Likewise.
8080 (isnormal_test): Likewise.
8081 (issignaling_test): Likewise.
8082 (isunordered_test): Likewise.
8083 (logb_test): Likewise.
8084 (logb_downward_test_data): Remove.
8085 (logb_test_downward): Likewise.
8086 (lround_test): Use ALL_RM_TEST.
8087 (llround_test): Likewise.
8088 (modf_test): Likewise.
8089 (nexttoward_test): Likewise.
8090 (remainder_test): Likewise.
8091 (drem_test): Likewise.
8092 (remainder_tonearest_test_data): Likewise.
8093 (remainder_test_tonearest): Likewise.
8094 (drem_test_tonearest): Likewise.
8095 (remainder_towardzero_test_data): Likewise.
8096 (remainder_test_towardzero): Likewise.
8097 (drem_test_towardzero): Likewise.
8098 (remainder_downward_test_data): Likewise.
8099 (remainder_test_downward): Likewise.
8100 (drem_test_downward): Likewise.
8101 (remainder_upward_test_data): Likewise.
8102 (remainder_test_upward): Likewise.
8103 (drem_test_upward): Likewise.
8104 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8105 (round_test): Use ALL_RM_TEST.
8106 (signbit_test): Likewise.
8107 (trunc_test): Likewise.
8108 (significand_test): Likewise.
8109 (main): Don't call removed functions.
8111 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8114 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8116 (ILL_ILLOPN): Likewise.
8117 (ILL_ILLADR): Likewise.
8118 (ILL_ILLTRP): Likewise.
8119 (ILL_PRVOPC): Likewise.
8120 (ILL_PRVREG): Likewise.
8121 (ILL_COPROC): Likewise.
8122 (ILL_BADSTK): Likewise.
8123 (FPE_INTDIV): Likewise.
8124 (FPE_INTOVF): Likewise.
8125 (FPE_FLTDIV): Likewise.
8126 (FPE_FLTOVF): Likewise.
8127 (FPE_FLTUND): Likewise.
8128 (FPE_FLTRES): Likewise.
8129 (FPE_FLTINV): Likewise.
8130 (FPE_FLTSUB): Likewise.
8131 (SEGV_MAPERR): Likewise.
8132 (SEGV_ACCERR): Likewise.
8133 (BUS_ADRALN): Likewise.
8134 (BUS_ADRERR): Likewise.
8135 (BUS_OBJERR): Likewise.
8136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8137 (TRAP_TRACE): Likewise.
8138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8140 (CLD_KILLED): Likewise.
8141 (CLD_DUMPED): Likewise.
8142 (CLD_TRAPPED): Likewise.
8143 (CLD_STOPPED): Likewise.
8144 (CLD_CONTINUED): Likewise.
8145 (POLL_IN): Likewise.
8146 (POLL_OUT): Likewise.
8147 (POLL_MSG): Likewise.
8148 (POLL_ERR): Likewise.
8149 (POLL_PRI): Likewise.
8150 (POLL_HUP): Likewise.
8151 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8153 (ILL_ILLOPN): Likewise.
8154 (ILL_ILLADR): Likewise.
8155 (ILL_ILLTRP): Likewise.
8156 (ILL_PRVOPC): Likewise.
8157 (ILL_PRVREG): Likewise.
8158 (ILL_COPROC): Likewise.
8159 (ILL_BADSTK): Likewise.
8160 (FPE_INTDIV): Likewise.
8161 (FPE_INTOVF): Likewise.
8162 (FPE_FLTDIV): Likewise.
8163 (FPE_FLTOVF): Likewise.
8164 (FPE_FLTUND): Likewise.
8165 (FPE_FLTRES): Likewise.
8166 (FPE_FLTINV): Likewise.
8167 (FPE_FLTSUB): Likewise.
8168 (SEGV_MAPERR): Likewise.
8169 (SEGV_ACCERR): Likewise.
8170 (BUS_ADRALN): Likewise.
8171 (BUS_ADRERR): Likewise.
8172 (BUS_OBJERR): Likewise.
8173 (BUS_MCEERR_AR): Likewise.
8174 (BUS_MCEERR_AO): Likewise.
8175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8176 (TRAP_TRACE): Likewise.
8177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8179 (CLD_KILLED): Likewise.
8180 (CLD_DUMPED): Likewise.
8181 (CLD_TRAPPED): Likewise.
8182 (CLD_STOPPED): Likewise.
8183 (CLD_CONTINUED): Likewise.
8184 (POLL_IN): Likewise.
8185 (POLL_OUT): Likewise.
8186 (POLL_MSG): Likewise.
8187 (POLL_ERR): Likewise.
8188 (POLL_PRI): Likewise.
8189 (POLL_HUP): Likewise.
8190 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8191 (ILL_ILLOPN): Likewise.
8192 (ILL_ILLADR): Likewise.
8193 (ILL_ILLTRP): Likewise.
8194 (ILL_PRVOPC): Likewise.
8195 (ILL_PRVREG): Likewise.
8196 (ILL_COPROC): Likewise.
8197 (ILL_BADSTK): Likewise.
8198 (FPE_INTDIV): Likewise.
8199 (FPE_INTOVF): Likewise.
8200 (FPE_FLTDIV): Likewise.
8201 (FPE_FLTOVF): Likewise.
8202 (FPE_FLTUND): Likewise.
8203 (FPE_FLTRES): Likewise.
8204 (FPE_FLTINV): Likewise.
8205 (FPE_FLTSUB): Likewise.
8206 (SEGV_MAPERR): Likewise.
8207 (SEGV_ACCERR): Likewise.
8208 (BUS_ADRALN): Likewise.
8209 (BUS_ADRERR): Likewise.
8210 (BUS_OBJERR): Likewise.
8211 (BUS_MCEERR_AR): Likewise.
8212 (BUS_MCEERR_AO): Likewise.
8213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8214 (TRAP_TRACE): Likewise.
8215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8217 (CLD_KILLED): Likewise.
8218 (CLD_DUMPED): Likewise.
8219 (CLD_TRAPPED): Likewise.
8220 (CLD_STOPPED): Likewise.
8221 (CLD_CONTINUED): Likewise.
8222 (POLL_IN): Likewise.
8223 (POLL_OUT): Likewise.
8224 (POLL_MSG): Likewise.
8225 (POLL_ERR): Likewise.
8226 (POLL_PRI): Likewise.
8227 (POLL_HUP): Likewise.
8228 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8230 (ILL_ILLOPN): Likewise.
8231 (ILL_ILLADR): Likewise.
8232 (ILL_ILLTRP): Likewise.
8233 (ILL_PRVOPC): Likewise.
8234 (ILL_PRVREG): Likewise.
8235 (ILL_COPROC): Likewise.
8236 (ILL_BADSTK): Likewise.
8237 (ILL_BADIADDR): Likewise.
8238 (ILL_BREAK): Likewise.
8239 (FPE_INTDIV): Likewise.
8240 (FPE_INTOVF): Likewise.
8241 (FPE_FLTDIV): Likewise.
8242 (FPE_FLTOVF): Likewise.
8243 (FPE_FLTUND): Likewise.
8244 (FPE_FLTRES): Likewise.
8245 (FPE_FLTINV): Likewise.
8246 (FPE_FLTSUB): Likewise.
8247 (FPE_DECOVF): Likewise.
8248 (FPE_DECDIV): Likewise.
8249 (FPE_DECERR): Likewise.
8250 (FPE_INVASC): Likewise.
8251 (FPE_INVDEC): Likewise.
8252 (SEGV_MAPERR): Likewise.
8253 (SEGV_ACCERR): Likewise.
8254 (SEGV_PSTKOVF): Likewise.
8255 (BUS_ADRALN): Likewise.
8256 (BUS_ADRERR): Likewise.
8257 (BUS_OBJERR): Likewise.
8258 (BUS_MCEERR_AR): Likewise.
8259 (BUS_MCEERR_AO): Likewise.
8260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8261 (TRAP_TRACE): Likewise.
8262 (TRAP_BRANCH): Likewise.
8263 (TRAP_HWBKPT): Likewise.
8264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8266 (CLD_KILLED): Likewise.
8267 (CLD_DUMPED): Likewise.
8268 (CLD_TRAPPED): Likewise.
8269 (CLD_STOPPED): Likewise.
8270 (CLD_CONTINUED): Likewise.
8271 (POLL_IN): Likewise.
8272 (POLL_OUT): Likewise.
8273 (POLL_MSG): Likewise.
8274 (POLL_ERR): Likewise.
8275 (POLL_PRI): Likewise.
8276 (POLL_HUP): Likewise.
8277 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8278 (ILL_ILLOPN): Likewise.
8279 (ILL_ILLADR): Likewise.
8280 (ILL_ILLTRP): Likewise.
8281 (ILL_PRVOPC): Likewise.
8282 (ILL_PRVREG): Likewise.
8283 (ILL_COPROC): Likewise.
8284 (ILL_BADSTK): Likewise.
8285 (FPE_INTDIV): Likewise.
8286 (FPE_INTOVF): Likewise.
8287 (FPE_FLTDIV): Likewise.
8288 (FPE_FLTOVF): Likewise.
8289 (FPE_FLTUND): Likewise.
8290 (FPE_FLTRES): Likewise.
8291 (FPE_FLTINV): Likewise.
8292 (FPE_FLTSUB): Likewise.
8293 (SEGV_MAPERR): Likewise.
8294 (SEGV_ACCERR): Likewise.
8295 (BUS_ADRALN): Likewise.
8296 (BUS_ADRERR): Likewise.
8297 (BUS_OBJERR): Likewise.
8298 (BUS_MCEERR_AR): Likewise.
8299 (BUS_MCEERR_AO): Likewise.
8300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8301 (TRAP_TRACE): Likewise.
8302 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8304 (CLD_KILLED): Likewise.
8305 (CLD_DUMPED): Likewise.
8306 (CLD_TRAPPED): Likewise.
8307 (CLD_STOPPED): Likewise.
8308 (CLD_CONTINUED): Likewise.
8309 (POLL_IN): Likewise.
8310 (POLL_OUT): Likewise.
8311 (POLL_MSG): Likewise.
8312 (POLL_ERR): Likewise.
8313 (POLL_PRI): Likewise.
8314 (POLL_HUP): Likewise.
8315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8316 (ILL_ILLOPN): Likewise.
8317 (ILL_ILLADR): Likewise.
8318 (ILL_ILLTRP): Likewise.
8319 (ILL_PRVOPC): Likewise.
8320 (ILL_PRVREG): Likewise.
8321 (ILL_COPROC): Likewise.
8322 (ILL_BADSTK): Likewise.
8323 (FPE_INTDIV): Likewise.
8324 (FPE_INTOVF): Likewise.
8325 (FPE_FLTDIV): Likewise.
8326 (FPE_FLTOVF): Likewise.
8327 (FPE_FLTUND): Likewise.
8328 (FPE_FLTRES): Likewise.
8329 (FPE_FLTINV): Likewise.
8330 (FPE_FLTSUB): Likewise.
8331 (SEGV_MAPERR): Likewise.
8332 (SEGV_ACCERR): Likewise.
8333 (BUS_ADRALN): Likewise.
8334 (BUS_ADRERR): Likewise.
8335 (BUS_OBJERR): Likewise.
8336 (BUS_MCEERR_AR): Likewise.
8337 (BUS_MCEERR_AO): Likewise.
8338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8339 (TRAP_TRACE): Likewise.
8340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8342 (CLD_KILLED): Likewise.
8343 (CLD_DUMPED): Likewise.
8344 (CLD_TRAPPED): Likewise.
8345 (CLD_STOPPED): Likewise.
8346 (CLD_CONTINUED): Likewise.
8347 (POLL_IN): Likewise.
8348 (POLL_OUT): Likewise.
8349 (POLL_MSG): Likewise.
8350 (POLL_ERR): Likewise.
8351 (POLL_PRI): Likewise.
8352 (POLL_HUP): Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8354 (ILL_ILLOPN): Likewise.
8355 (ILL_ILLADR): Likewise.
8356 (ILL_ILLTRP): Likewise.
8357 (ILL_PRVOPC): Likewise.
8358 (ILL_PRVREG): Likewise.
8359 (ILL_COPROC): Likewise.
8360 (ILL_BADSTK): Likewise.
8361 (FPE_INTDIV): Likewise.
8362 (FPE_INTOVF): Likewise.
8363 (FPE_FLTDIV): Likewise.
8364 (FPE_FLTOVF): Likewise.
8365 (FPE_FLTUND): Likewise.
8366 (FPE_FLTRES): Likewise.
8367 (FPE_FLTINV): Likewise.
8368 (FPE_FLTSUB): Likewise.
8369 (SEGV_MAPERR): Likewise.
8370 (SEGV_ACCERR): Likewise.
8371 (BUS_ADRALN): Likewise.
8372 (BUS_ADRERR): Likewise.
8373 (BUS_OBJERR): Likewise.
8374 (BUS_MCEERR_AR): Likewise.
8375 (BUS_MCEERR_AO): Likewise.
8376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8377 (TRAP_TRACE): Likewise.
8378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8380 (CLD_KILLED): Likewise.
8381 (CLD_DUMPED): Likewise.
8382 (CLD_TRAPPED): Likewise.
8383 (CLD_STOPPED): Likewise.
8384 (CLD_CONTINUED): Likewise.
8385 (POLL_IN): Likewise.
8386 (POLL_OUT): Likewise.
8387 (POLL_MSG): Likewise.
8388 (POLL_ERR): Likewise.
8389 (POLL_PRI): Likewise.
8390 (POLL_HUP): Likewise.
8391 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8392 (ILL_ILLOPN): Likewise.
8393 (ILL_ILLADR): Likewise.
8394 (ILL_ILLTRP): Likewise.
8395 (ILL_PRVOPC): Likewise.
8396 (ILL_PRVREG): Likewise.
8397 (ILL_COPROC): Likewise.
8398 (ILL_BADSTK): Likewise.
8399 (ILL_DBLFLT): Likewise.
8400 (ILL_HARDWALL): Likewise.
8401 (FPE_INTDIV): Likewise.
8402 (FPE_INTOVF): Likewise.
8403 (FPE_FLTDIV): Likewise.
8404 (FPE_FLTOVF): Likewise.
8405 (FPE_FLTUND): Likewise.
8406 (FPE_FLTRES): Likewise.
8407 (FPE_FLTINV): Likewise.
8408 (FPE_FLTSUB): Likewise.
8409 (SEGV_MAPERR): Likewise.
8410 (SEGV_ACCERR): Likewise.
8411 (BUS_ADRALN): Likewise.
8412 (BUS_ADRERR): Likewise.
8413 (BUS_OBJERR): Likewise.
8414 (BUS_MCEERR_AR): Likewise.
8415 (BUS_MCEERR_AO): Likewise.
8416 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8417 (TRAP_TRACE): Likewise.
8418 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8420 (CLD_KILLED): Likewise.
8421 (CLD_DUMPED): Likewise.
8422 (CLD_TRAPPED): Likewise.
8423 (CLD_STOPPED): Likewise.
8424 (CLD_CONTINUED): Likewise.
8425 (POLL_IN): Likewise.
8426 (POLL_OUT): Likewise.
8427 (POLL_MSG): Likewise.
8428 (POLL_ERR): Likewise.
8429 (POLL_PRI): Likewise.
8430 (POLL_HUP): Likewise.
8431 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8432 (ILL_ILLOPN): Likewise.
8433 (ILL_ILLADR): Likewise.
8434 (ILL_ILLTRP): Likewise.
8435 (ILL_PRVOPC): Likewise.
8436 (ILL_PRVREG): Likewise.
8437 (ILL_COPROC): Likewise.
8438 (ILL_BADSTK): Likewise.
8439 (FPE_INTDIV): Likewise.
8440 (FPE_INTOVF): Likewise.
8441 (FPE_FLTDIV): Likewise.
8442 (FPE_FLTOVF): Likewise.
8443 (FPE_FLTUND): Likewise.
8444 (FPE_FLTRES): Likewise.
8445 (FPE_FLTINV): Likewise.
8446 (FPE_FLTSUB): Likewise.
8447 (SEGV_MAPERR): Likewise.
8448 (SEGV_ACCERR): Likewise.
8449 (BUS_ADRALN): Likewise.
8450 (BUS_ADRERR): Likewise.
8451 (BUS_OBJERR): Likewise.
8452 (BUS_MCEERR_AR): Likewise.
8453 (BUS_MCEERR_AO): Likewise.
8454 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8455 (TRAP_TRACE): Likewise.
8456 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8458 (CLD_KILLED): Likewise.
8459 (CLD_DUMPED): Likewise.
8460 (CLD_TRAPPED): Likewise.
8461 (CLD_STOPPED): Likewise.
8462 (CLD_CONTINUED): Likewise.
8463 (POLL_IN): Likewise.
8464 (POLL_OUT): Likewise.
8465 (POLL_MSG): Likewise.
8466 (POLL_ERR): Likewise.
8467 (POLL_PRI): Likewise.
8468 (POLL_HUP): Likewise.
8469 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8470 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8473 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8474 before #include of <time.h>.
8475 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8476 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8477 (test-xfail-UNIX98/sched.h/conform): Likewise.
8479 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8481 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8482 error absence of trapping exception support.
8483 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8485 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8487 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8488 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8489 * timezone/Makefile (testdata): Move definition above include of
8491 (test-zones): New variable.
8492 (tests-special): Add zone files.
8493 (build-testdata): Use $(evaluate-test).
8495 * elf/Makefile (tests-special): Rename tests to end with .out.
8496 ($(objpfx)noload-mem): Likewise.
8497 ($(objpfx)tst-leaks1-mem): Likewise.
8498 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8499 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8500 $(objpfx)test-iconvconfig.out.
8501 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8502 set -e inside subshell and redirect output to file.
8503 * iconvdata/Makefile (generated): Rename tests to end with .out.
8505 (tests-special): Rename tests to end with .out.
8506 ($(objpfx)mtrace-tst-loading): Likewise.
8507 * intl/Makefile (generated): Likewise.
8508 (tests-special): Likewise.
8509 ($(objpfx)mtrace-tst-gettext): Likewise.
8510 * misc/Makefile (generated): Likewise.
8511 (tests-special): Likewise.
8512 ($(objpfx)tst-error1-mem): Likewise.
8513 * nptl/Makefile (tests-special): Likewise.
8514 ($(objpfx)tst-stack3-mem): Likewise.
8515 (generated): Likewise.
8516 * posix/Makefile (generated): Likewise.
8517 (tests-special): Likewise.
8518 (xtests-special): Likewise.
8519 ($(objpfx)tst-fnmatch-mem): Likewise.
8520 ($(objpfx)bug-regex2-mem): Likewise.
8521 ($(objpfx)bug-regex14-mem): Likewise.
8522 ($(objpfx)bug-regex21-mem): Likewise.
8523 ($(objpfx)bug-regex31-mem): Likewise.
8524 ($(objpfx)tst-vfork3-mem): Likewise.
8525 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8526 ($(objpfx)tst-pcre-mem): Likewise.
8527 ($(objpfx)tst-boost-mem): Likewise.
8528 ($(objpfx)bug-ga2-mem): Likewise.
8529 ($(objpfx)bug-glob2-mem): Likewise.
8530 * resolv/Makefile (generate): Likewise.
8531 (tests-special): Likewise.
8532 (xtests-special): Likewise.
8533 (generated): Likewise.
8534 ($(objpfx)mtrace-tst-leaks): Likewise.
8535 ($(objpfx)mtrace-tst-leaks2): Likewise.
8537 * scripts/merge-test-results.sh: New file.
8538 * Makefile (tests-special-notdir): New variable.
8539 (tests): Run merge-test-results.sh.
8541 * Rules (tests-special-notdir): New variable.
8542 (xtests-special-notdir): Likewise.
8543 (tests): Run merge-test-results.sh
8546 * Makeconfig (test-xfail-name): New variable.
8547 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8548 compute variable name for expected failures.
8549 * conform/Makefile (conformtest-headers-data): New variable.
8550 (conformtest-standards): Likewise.
8551 (conformtest-headers-ISO): Likewise.
8552 (conformtest-headers-ISO99): Likewise.
8553 (conformtest-headers-ISO11): Likewise.
8554 (conformtest-headers-POSIX): Likewise.
8555 (conformtest-headers-XPG3): Likewise.
8556 (conformtest-headers-XPG4): Likewise.
8557 (conformtest-headers-UNIX98): Likewise.
8558 (conformtest-headers-XOPEN2K): Likewise.
8559 (conformtest-headers-POSIX2008): Likewise.
8560 (conformtest-headers-XOPEN2K8): Likewise.
8561 (conformtest-header-list-base): Likewise.
8562 (conformtest-header-list-tests): Likewise.
8563 (conformtest-header-base): Likewise.
8564 (conformtest-header-tests): Likewise.
8565 (tests-special): Add $(conformtest-header-list-tests). If
8566 [$(fast-check) && !$(cross-compiling)], add
8567 $(conformtest-header-tests) instead of
8568 $(objpfx)run-conformtest.out.
8569 (generated): Add $(conformtest-header-list-base). If
8570 [$(fast-check) && !$(cross-compiling)], add
8571 $(conformtest-header-base). Remove previous setting.
8572 ($(conformtest-header-list-tests)): New target.
8573 (test-xfail-run-conformtest): Remove variable.
8574 ($(objpfx)run-conformtest.out): Remove target.
8575 (test-xfail-ISO11/complex.h/conform): New variable.
8576 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8577 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8578 (test-xfail-XPG3/varargs.h/conform): Likewise.
8579 (test-xfail-XPG4/varargs.h/conform): Likewise.
8580 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8581 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8582 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8583 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8584 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8585 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8586 (test-xfail-XPG3/ftw.h/conform): Likewise.
8587 (test-xfail-XPG3/grp.h/conform): Likewise.
8588 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8589 (test-xfail-XPG3/limits.h/conform): Likewise.
8590 (test-xfail-XPG3/pwd.h/conform): Likewise.
8591 (test-xfail-XPG3/search.h/conform): Likewise.
8592 (test-xfail-XPG3/signal.h/conform): Likewise.
8593 (test-xfail-XPG3/stdio.h/conform): Likewise.
8594 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8595 (test-xfail-XPG3/string.h/conform): Likewise.
8596 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8597 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8598 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8599 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8600 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8601 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8602 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8603 (test-xfail-XPG3/termios.h/conform): Likewise.
8604 (test-xfail-XPG3/time.h/conform): Likewise.
8605 (test-xfail-XPG3/unistd.h/conform): Likewise.
8606 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8607 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8608 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8609 (test-xfail-XPG4/netdb.h/conform): Likewise.
8610 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8611 (test-xfail-XPG4/signal.h/conform): Likewise.
8612 (test-xfail-XPG4/stdio.h/conform): Likewise.
8613 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8614 (test-xfail-XPG4/stropts.h/conform): Likewise.
8615 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8616 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8617 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8618 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8619 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8620 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8621 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8622 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8623 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8624 (test-xfail-XPG4/termios.h/conform): Likewise.
8625 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8626 (test-xfail-XPG4/unistd.h/conform): Likewise.
8627 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8628 (test-xfail-POSIX/sched.h/conform): Likewise.
8629 (test-xfail-POSIX/signal.h/conform): Likewise.
8630 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8631 (test-xfail-POSIX/tar.h/conform): Likewise.
8632 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8633 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8634 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8635 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8636 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8637 (test-xfail-UNIX98/sched.h/conform): Likewise.
8638 (test-xfail-UNIX98/signal.h/conform): Likewise.
8639 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8640 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8641 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8642 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8643 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8644 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8645 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8646 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8647 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8648 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8649 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8650 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8651 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8652 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8653 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8654 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8655 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8656 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8657 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8658 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8659 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8660 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8661 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8662 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8663 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8664 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8665 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8666 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8667 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8668 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8669 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8670 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8671 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8672 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8673 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8674 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8675 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8676 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8677 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8678 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8679 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8680 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8681 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8682 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8683 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8684 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8685 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8686 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8687 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8688 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8689 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8690 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8691 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8692 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8693 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8694 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8695 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8696 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8697 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8698 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8699 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8700 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8701 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8702 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8703 (conformtest-cc-flags): Likewise.
8704 ($(conformtest-header-tests): New target.
8705 * conform/check-header-lists.sh: New file.
8706 * conform/run-conformtest.sh: Remove.
8708 * conform/conformtest.pl: Allow ' and \ in values given for
8710 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8712 [POSIX] (sys/types.h): Likewise.
8713 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8715 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8717 * conform/data/signal.h-data (SIGIO): Remove expectation.
8718 [XPG3] (SIGBUS): Do not expect.
8719 [POSIX || XPG3] (SIGPOLL): Likewise.
8720 [POSIX || XPG3] (SIGPROF): Likewise.
8721 [POSIX || XPG3] (SIGSYS): Likewise.
8722 [XPG3] (SIGTRAP): Likewise.
8723 [POSIX || XPG3] (SIGURG): Likewise.
8724 [POSIX || XPG3] (SIGVTALRM): Likewise.
8725 [POSIX || XPG3] (SIGXCPU): Likewise.
8726 [POSIX || XPG3] (SIGXFSZ): Likewise.
8727 [POSIX] (SA_SIGINFO): Expect.
8728 [XPG3] (siginfo_t): Do not expect type or contents.
8729 [POSIX] (si_pid): Do not expect element.
8730 [POSIX] (si_uid): Likewise.
8731 [POSIX] (si_addr): Likewise.
8732 [POSIX] (si_status): Likewise.
8733 [POSIX] (si_band): Likewise.
8734 [XPG4] (si_value): Likewise.
8735 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8736 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8737 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8738 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8739 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8740 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8741 [POSIX || XPG3] (ILL_COPROC): Likewise.
8742 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8743 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8744 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8745 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8746 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8747 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8748 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8749 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8750 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8751 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8752 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8753 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8754 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8755 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8756 [POSIX || XPG3] (CLD_EXITED): Likewise.
8757 [POSIX || XPG3] (CLD_KILLED): Likewise.
8758 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8759 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8760 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8761 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8762 [POSIX || XPG3] (POLL_IN): Likewise.
8763 [POSIX || XPG3] (POLL_OUT): Likewise.
8764 [POSIX || XPG3] (POLL_MSG): Likewise.
8765 [POSIX || XPG3] (POLL_ERR): Likewise.
8766 [POSIX || XPG3] (POLL_PRI): Likewise.
8767 [POSIX || XPG3] (POLL_HUP): Likewise.
8768 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8769 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8770 (SIG*): Do not allow.
8771 [XPG3] (si_*): Likewise.
8772 [XPG3] (SI_*): Likewise.
8773 [XPG3 || XPG4] (sigev_*): Likewise.
8774 [XPG3 || XPG4] (SIGEV_*): Likewise.
8775 [XPG3 || XPG4] (sival_*): Likewise.
8776 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8777 [POSIX || XPG3] (BUS_*): Likewise.
8778 [POSIX || XPG3] (CLD_*): Likewise.
8779 [POSIX || XPG3] (FPE_*): Likewise.
8780 [POSIX || XPG3] (ILL_*): Likewise.
8781 [POSIX || XPG3] (POLL_*): Likewise.
8782 [POSIX || XPG3] (SEGV_*): Likewise.
8783 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8784 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8785 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8786 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8787 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8788 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8789 Specify type and value.
8790 (TVERSLEN): Likewise.
8791 (REGTYPE): Likewise.
8792 (AREGTYPE): Likewise.
8793 (LNKTYPE): Likewise.
8794 (SYMTYPE): Likewise.
8795 (CHRTYPE): Likewise.
8796 (BLKTYPE): Likewise.
8797 (DIRTYPE): Likewise.
8798 (FIFOTYPE): Likewise.
8799 (CONTTYPE): Likewise.
8804 (TUWRITE): Likewise.
8807 (TGWRITE): Likewise.
8810 (TOWRITE): Likewise.
8812 [POSIX] (TSVTX): Expect constant.
8814 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8816 * Makefile (tests): Change dependencies to ....
8817 (tests-special): ... additions to this variable.
8818 (tests): Depend on $(tests-special).
8819 * Makerules (check-abi-list): New variable.
8820 (check-abi): Depend on $(check-abi-list).
8821 [$(subdir) = elf] (tests-special): Add
8822 $(objpfx)check-abi-libc.out.
8823 [$(build-shared) = yes && subdir] (tests-special): Add
8825 [$(build-shared) = yes && subdir] (tests): Do not depend on
8827 * Rules (tests): Depend on $(tests-special).
8828 (xtests): Depend on $(xtests-special).
8829 * catgets/Makefile (tests): Change dependencies to ....
8830 (tests-special): ... additions to this variable.
8831 * conform/Makefile (tests): Change dependencies to ....
8832 (tests-special): ... additions to this variable.
8833 * elf/Makefile (tests): Change dependencies to ....
8834 (tests-special): ... additions to this variable.
8835 * grp/Makefile (tests): Change dependencies to ....
8836 (tests-special): ... additions to this variable.
8837 * iconv/Makefile (xtests): Change dependencies to ....
8838 (xtests-special): ... additions to this variable.
8839 * iconvdata/Makefile (tests): Change dependencies to ....
8840 (tests-special): ... additions to this variable.
8841 * intl/Makefile (tests): Change dependencies to ....
8842 (tests-special): ... additions to this variable. Also add
8843 $(objpfx)tst-gettext.out.
8844 * io/Makefile (tests): Change dependencies to ....
8845 (tests-special): ... additions to this variable.
8846 * libio/Makefile (tests): Change dependencies to ....
8847 (tests-special): ... additions to this variable.
8848 * malloc/Makefile (tests): Change dependencies to ....
8849 (tests-special): ... additions to this variable.
8850 * misc/Makefile (tests): Change dependencies to ....
8851 (tests-special): ... additions to this variable.
8852 * nptl/Makefile (tests): Change dependencies to ....
8853 (tests-special): ... additions to this variable.
8854 * nptl_db/Makefile (tests): Change dependencies to ....
8855 (tests-special): ... additions to this variable.
8856 * posix/Makefile (tests): Change dependencies to ....
8857 (tests-special): ... additions to this variable.
8858 (xtests): Change dependencies to ....
8859 (xtests-special): ... additions to this variable.
8860 * resolv/Makefile (tests): Change dependencies to ....
8861 (tests-special): ... additions to this variable.
8862 (xtests): Change dependencies to ....
8863 (xtests-special): ... additions to this variable.
8864 * stdio-common/Makefile (tests): Change dependencies to ....
8865 (tests-special): ... additions to this variable.
8866 (do-tst-unbputc): Remove target.
8867 (do-tst-printf): Likewise.
8868 * stdlib/Makefile (tests): Change dependencies to ....
8869 (tests-special): ... additions to this variable.
8870 * string/Makefile (tests): Change dependencies to ....
8871 (tests-special): ... additions to this variable.
8872 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8873 (tests-special): ... additions to this variable.
8875 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8877 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8879 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8880 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8882 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8883 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8884 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8885 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8886 * conform/data/libgen.h-data [XPG3]: Likewise.
8887 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8888 * conform/data/ndbm.h-data [XPG3]: Likewise.
8889 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8890 * conform/data/netdb.h-data [XPG3]: Likewise.
8891 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8892 * conform/data/poll.h-data [XPG3]: Likewise.
8893 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8894 * conform/data/strings.h-data [XPG3]: Likewise.
8895 * conform/data/stropts.h-data [XPG3]: Likewise.
8896 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8897 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8898 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8900 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8901 * conform/data/sys/time.h-data [XPG3]: Likewise.
8902 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8903 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8904 * conform/data/sys/un.h-data [XPG3]: Likewise.
8905 * conform/data/syslog.h-data [XPG3]: Likewise.
8906 * conform/data/ucontext.h-data [XPG3]: Likewise.
8907 * conform/data/utmpx.h-data [XPG3]: Likewise.
8908 * conform/data/varargs.h-data [UNIX98]: Enable file.
8910 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8912 * math/libm-test.inc (struct test_f_f_data): Move expected results
8913 into structure for each rounding mode.
8914 (struct test_ff_f_data): Likewise.
8915 (struct test_ff_f_data_nexttoward): Likewise.
8916 (struct test_fi_f_data): Likewise.
8917 (struct test_fl_f_data): Likewise.
8918 (struct test_if_f_data): Likewise.
8919 (struct test_fff_f_data): Likewise.
8920 (struct test_c_f_data): Likewise.
8921 (struct test_f_f1_data): Likewise.
8922 (struct test_fF_f1_data): Likewise.
8923 (struct test_ffI_f1_data): Likewise.
8924 (struct test_c_c_data): Likewise.
8925 (struct test_cc_c_data): Likewise.
8926 (struct test_f_i_data): Likewise.
8927 (struct test_ff_i_data): Likewise.
8928 (struct test_f_l_data): Likewise.
8929 (struct test_f_L_data): Likewise.
8930 (struct test_fFF_11_data): Likewise.
8932 (RM_FE_DOWNWARD): Likewise.
8933 (RM_FE_TONEAREST): Likewise.
8934 (RM_FE_TOWARDZERO): Likewise.
8935 (RM_FE_UPWARD): Likewise.
8936 (RUN_TEST_LOOP_f_f): Update references to expected results.
8937 (RUN_TEST_LOOP_2_f): Likewise.
8938 (RUN_TEST_LOOP_fff_f): Likewise.
8939 (RUN_TEST_LOOP_c_f): Likewise.
8940 (RUN_TEST_LOOP_f_f1): Likewise.
8941 (RUN_TEST_LOOP_fF_f1): Likewise.
8942 (RUN_TEST_LOOP_fI_f1): Likewise.
8943 (RUN_TEST_LOOP_ffI_f1): Likewise.
8944 (RUN_TEST_LOOP_c_c): Likewise.
8945 (RUN_TEST_LOOP_cc_c): Likewise.
8946 (RUN_TEST_LOOP_f_i): Likewise.
8947 (RUN_TEST_LOOP_f_i_tg): Likewise.
8948 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8949 (RUN_TEST_LOOP_f_b): Likewise.
8950 (RUN_TEST_LOOP_f_b_tg): Likewise.
8951 (RUN_TEST_LOOP_f_l): Likewise.
8952 (RUN_TEST_LOOP_f_L): Likewise.
8953 (RUN_TEST_LOOP_fFF_11): Likewise.
8954 * math/gen-libm-test.pl (parse_args): Output four copies of
8955 expected results for each test.
8957 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8958 (__ASSUME_UTIMES): Remove.
8959 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8960 (__ASSUME_UTIMES): Likewise.
8962 * math/gen-auto-libm-tests.c: Update comment on output format.
8963 (output_for_one_input_case): Generate before-rounding and
8964 after-rounding information as conditions on output flags not
8965 floating-point format.
8966 * math/auto-libm-test-out: Regenerated.
8967 * math/gen-libm-test.pl (cond_value): New function.
8968 (or_cond_value): Use cond_value.
8969 (generate_testfile): Handle conditional exceptions.
8971 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8973 * math/libm-test.inc (max_valid_error): New variable.
8974 (init_max_error): Take new argument specifying whether function
8975 results are exactly determined. Set max_valid_error and bound
8976 other variables for errors based on this argument.
8977 (set_max_error): Do not record results above max_valid_error.
8978 (check_float_internal): Only accept errors of up to 0.5ulps if
8979 also at most max_valid_error.
8980 (START): Take new argument EXACT and pass it to init_max_error.
8981 (acos_test): Update call to START.
8982 (acos_test_tonearest): Likewise.
8983 (acos_test_towardzero): Likewise.
8984 (acos_test_downward): Likewise.
8985 (acos_test_upward): Likewise.
8986 (acosh_test): Likewise.
8987 (asin_test): Likewise.
8988 (asin_test_tonearest): Likewise.
8989 (asin_test_towardzero): Likewise.
8990 (asin_test_downward): Likewise.
8991 (asin_test_upward): Likewise.
8992 (asinh_test): Likewise.
8993 (atan_test): Likewise.
8994 (atanh_test): Likewise.
8995 (atan2_test): Likewise.
8996 (cabs_test): Likewise.
8997 (cacos_test): Likewise.
8998 (cacosh_test): Likewise.
8999 (carg_test): Likewise.
9000 (casin_test): Likewise.
9001 (casinh_test): Likewise.
9002 (catan_test): Likewise.
9003 (catanh_test): Likewise.
9004 (cbrt_test): Likewise.
9005 (ccos_test): Likewise.
9006 (ccosh_test): Likewise.
9007 (ceil_test): Likewise.
9008 (cexp_test): Likewise.
9009 (cimag_test): Likewise.
9010 (clog_test): Likewise.
9011 (clog10_test): Likewise.
9012 (conj_test): Likewise.
9013 (copysign_test): Likewise.
9014 (cos_test): Likewise.
9015 (cos_test_tonearest): Likewise.
9016 (cos_test_towardzero): Likewise.
9017 (cos_test_downward): Likewise.
9018 (cos_test_upward): Likewise.
9019 (cosh_test): Likewise.
9020 (cosh_test_tonearest): Likewise.
9021 (cosh_test_towardzero): Likewise.
9022 (cosh_test_downward): Likewise.
9023 (cosh_test_upward): Likewise.
9024 (cpow_test): Likewise.
9025 (cproj_test): Likewise.
9026 (creal_test): Likewise.
9027 (csin_test): Likewise.
9028 (csinh_test): Likewise.
9029 (csqrt_test): Likewise.
9030 (ctan_test): Likewise.
9031 (ctan_test_tonearest): Likewise.
9032 (ctan_test_towardzero): Likewise.
9033 (ctan_test_downward): Likewise.
9034 (ctan_test_upward): Likewise.
9035 (ctanh_test): Likewise.
9036 (ctanh_test_tonearest): Likewise.
9037 (ctanh_test_towardzero): Likewise.
9038 (ctanh_test_downward): Likewise.
9039 (ctanh_test_upward): Likewise.
9040 (erf_test): Likewise.
9041 (erfc_test): Likewise.
9042 (exp_test): Likewise.
9043 (exp_test_tonearest): Likewise.
9044 (exp_test_towardzero): Likewise.
9045 (exp_test_downward): Likewise.
9046 (exp_test_upward): Likewise.
9047 (exp10_test): Likewise.
9048 (exp10_test_tonearest): Likewise.
9049 (exp10_test_towardzero): Likewise.
9050 (exp10_test_downward): Likewise.
9051 (exp10_test_upward): Likewise.
9052 (pow10_test): Likewise.
9053 (exp2_test): Likewise.
9054 (expm1_test): Likewise.
9055 (expm1_test_tonearest): Likewise.
9056 (expm1_test_towardzero): Likewise.
9057 (expm1_test_downward): Likewise.
9058 (expm1_test_upward): Likewise.
9059 (fabs_test): Likewise.
9060 (fdim_test): Likewise.
9061 (floor_test): Likewise.
9062 (fma_test): Likewise.
9063 (fma_test_towardzero): Likewise.
9064 (fma_test_downward): Likewise.
9065 (fma_test_upward): Likewise.
9066 (fmax_test): Likewise.
9067 (fmin_test): Likewise.
9068 (fmod_test): Likewise.
9069 (fpclassify_test): Likewise.
9070 (frexp_test): Likewise.
9071 (hypot_test): Likewise.
9072 (ilogb_test): Likewise.
9073 (isfinite_test): Likewise.
9074 (finite_test): Likewise.
9075 (isgreater_test): Likewise.
9076 (isgreaterequal_test): Likewise.
9077 (isinf_test): Likewise.
9078 (isless_test): Likewise.
9079 (islessequal_test): Likewise.
9080 (islessgreater_test): Likewise.
9081 (isnan_test): Likewise.
9082 (isnormal_test): Likewise.
9083 (issignaling_test): Likewise.
9084 (isunordered_test): Likewise.
9085 (j0_test): Likewise.
9086 (j1_test): Likewise.
9087 (jn_test): Likewise.
9088 (ldexp_test): Likewise.
9089 (lgamma_test): Likewise.
9090 (gamma_test): Likewise.
9091 (lrint_test): Likewise.
9092 (lrint_test_tonearest): Likewise.
9093 (lrint_test_towardzero): Likewise.
9094 (lrint_test_downward): Likewise.
9095 (lrint_test_upward): Likewise.
9096 (llrint_test): Likewise.
9097 (llrint_test_tonearest): Likewise.
9098 (llrint_test_towardzero): Likewise.
9099 (llrint_test_downward): Likewise.
9100 (llrint_test_upward): Likewise.
9101 (log_test): Likewise.
9102 (log10_test): Likewise.
9103 (log1p_test): Likewise.
9104 (log2_test): Likewise.
9105 (logb_test): Likewise.
9106 (logb_test_downward): Likewise.
9107 (lround_test): Likewise.
9108 (llround_test): Likewise.
9109 (modf_test): Likewise.
9110 (nearbyint_test): Likewise.
9111 (nextafter_test): Likewise.
9112 (nexttoward_test): Likewise.
9113 (pow_test): Likewise.
9114 (pow_test_tonearest): Likewise.
9115 (pow_test_towardzero): Likewise.
9116 (pow_test_downward): Likewise.
9117 (pow_test_upward): Likewise.
9118 (remainder_test): Likewise.
9119 (drem_test): Likewise.
9120 (remainder_test_tonearest): Likewise.
9121 (drem_test_tonearest): Likewise.
9122 (remainder_test_towardzero): Likewise.
9123 (drem_test_towardzero): Likewise.
9124 (remainder_test_downward): Likewise.
9125 (drem_test_downward): Likewise.
9126 (remainder_test_upward): Likewise.
9127 (drem_test_upward): Likewise.
9128 (remquo_test): Likewise.
9129 (rint_test): Likewise.
9130 (rint_test_tonearest): Likewise.
9131 (rint_test_towardzero): Likewise.
9132 (rint_test_downward): Likewise.
9133 (rint_test_upward): Likewise.
9134 (round_test): Likewise.
9135 (scalb_test): Likewise.
9136 (scalbn_test): Likewise.
9137 (scalbln_test): Likewise.
9138 (signbit_test): Likewise.
9139 (sin_test): Likewise.
9140 (sin_test_tonearest): Likewise.
9141 (sin_test_towardzero): Likewise.
9142 (sin_test_downward): Likewise.
9143 (sin_test_upward): Likewise.
9144 (sincos_test): Likewise.
9145 (sinh_test): Likewise.
9146 (sinh_test_tonearest): Likewise.
9147 (sinh_test_towardzero): Likewise.
9148 (sinh_test_downward): Likewise.
9149 (sinh_test_upward): Likewise.
9150 (sqrt_test): Likewise.
9151 (sqrt_test_tonearest): Likewise.
9152 (sqrt_test_towardzero): Likewise.
9153 (sqrt_test_downward): Likewise.
9154 (sqrt_test_upward): Likewise.
9155 (tan_test): Likewise.
9156 (tan_test_tonearest): Likewise.
9157 (tan_test_towardzero): Likewise.
9158 (tan_test_downward): Likewise.
9159 (tan_test_upward): Likewise.
9160 (tanh_test): Likewise.
9161 (tgamma_test): Likewise.
9162 (trunc_test): Likewise.
9163 (y0_test): Likewise.
9164 (y1_test): Likewise.
9165 (yn_test): Likewise.
9166 (significand_test): Likewise.
9168 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9169 individual tests in comment.
9170 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9171 (prev_max_error): New variable.
9172 (prev_real_max_error): Likewise.
9173 (prev_imag_max_error): Likewise.
9174 (compare_ulp_data): Don't refer to test names in comment.
9175 (find_test_ulps): Remove function.
9176 (find_function_ulps): Likewise.
9177 (find_complex_function_ulps): Likewise.
9178 (init_max_error): Take function name as argument. Look up ulps
9180 (print_ulps): Remove function.
9181 (print_max_error): Use prev_max_error instead of calling
9183 (print_complex_max_error): Use prev_real_max_error and
9184 prev_imag_max_error instead of calling find_complex_function_ulps.
9185 (check_float_internal): Take max_ulp parameter instead of calling
9186 find_test_ulps. Don't call print_ulps.
9187 (check_float): Update call to check_float_internal.
9188 (check_complex): Update calls to check_float_internal.
9189 (START): Pass argument to init_max_error.
9190 * math/gen-libm-test.pl (%results): Don't include "kind"
9192 (parse_ulps): Don't handle ulps of individual tests.
9193 (print_ulps_file): Likewise.
9194 (output_ulps): Likewise.
9195 * math/README.libm-test: Update.
9196 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9198 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9199 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9200 * sysdeps/arm/libm-test-ulps: Likewise.
9201 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9202 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9203 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9204 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9205 * sysdeps/microblaze/libm-test-ulps: Likewise.
9206 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9207 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9208 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9209 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9211 * sysdeps/sh/libm-test-ulps: Likewise.
9212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9213 * sysdeps/tile/libm-test-ulps: Likewise.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9216 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9218 * math/libm-test.inc (print_complex_max_error): Check separately
9219 whether real and imaginary errors are within allowed range and
9220 pass 0 to print_complex_function_ulps instead of value within
9223 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9225 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9227 (get_handles_fopen): Likewise.
9228 (do_write_test): Likewise.
9230 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9232 * libio/fileops.c (do_ftell): Use cached offset when
9234 * libio/iofwide.c (do_ftell_wide): Likewise.
9235 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9237 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9240 * libio/libioP.h (get_file_offset): New function.
9241 * libio/fileops.c (get_file_offset): Likewise.
9242 (do_ftell): Likewise.
9243 (_IO_new_file_seekoff): Split out ftell logic.
9244 * libio/wfileops.c (do_ftell_wide): Likewise.
9245 (_IO_wfile_seekoff): Split out ftell logic.
9246 * libio/tst-ftell-active-handler.c: New test case.
9247 * libio/Makefile (tests): Add it.
9249 2014-03-03 Roland McGrath <roland@hack.frob.com>
9251 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9252 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9254 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9257 * nscd/connections.c (nscd_init): Call do_exit.
9258 (start_threads): Call do_exit and notify_parent.
9259 (begin_drop_privileges): Call do_exit.
9260 (finish_drop_privileges): Likewise.
9261 * nscd/selinux.c (preserve_capabilities): Likewise.
9262 (install_real_capabilities): Likewise.
9263 (nscd_selinux_enabled): Likewise.
9264 (avc_create_thread): Likewise.
9265 (avc_alloc_lock): Likewise.
9266 (nscd_avc_init): Likewise.
9267 * nscd/nscd.c (parent_fd): New static variable.
9268 (main): Create a pipe between parent and child processes.
9269 Skip closing parent_fd.
9270 (monitor_child): New function.
9271 (do_exit): Likewise.
9272 (notify_parent): Likewise.
9273 * nscd/nscd.h (notify_parent): Likewise.
9274 (do_exit): Likewise.
9276 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9278 * malloc/malloc.c (__libc_calloc): Revert last change.
9280 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9284 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9286 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9290 (__libc_ifunc_impl_list): Likewise.
9291 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9292 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9293 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9294 * string/strrchr.c: Define STRRCHR.
9296 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9298 * benchtest/bench-strtok.c (simple_strtok): Delete.
9299 (strtok_string): Use as benchmark.
9300 * string/strtok (STRTOK): New macro.
9302 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9304 * manual/threads.texi: Add header and standard comments to all
9307 * elf/dl-lookup.c (check_match): New function.
9308 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9309 (do_lookup_x): Remove nested function check_match. Use non-nested
9310 function check_match.
9312 2014-02-28 Roland McGrath <roland@hack.frob.com>
9314 * csu/Makefile (generated, before-compile): Use += rather than =.
9315 * catgets/Makefile (generated, generated-dirs): Likewise.
9316 * debug/Makefile (generated): Likewise.
9317 * dlfcn/Makefile (generated): Likewise.
9318 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9319 * iconvdata/Makefile (before-compile, generated): Likewise.
9320 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9321 * libio/Makefile (generated): Likewise.
9322 * malloc/Makefile (generated): Likewise.
9323 * manual/Makefile (generated, generated-dirs): Likewise.
9324 * misc/Makefile (generated): Likewise.
9325 * posix/Makefile (generated): Likewise.
9326 * resolv/Makefile (generated): Likewise.
9327 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9328 * timezone/Makefile (generated, generated-dirs): Likewise.
9330 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9332 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9335 power8 implementation.
9336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9337 file: POWER8 llround ifunc implementation.
9338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9339 (__lllround): Add POWER8 implementation.
9340 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9341 POWER8 llround implementation.
9343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9344 power8 implementation.
9345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9346 file: POWER8 llrint ifunc implementation.
9347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9348 Add POWER8 implementation.
9349 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9350 POWER8 llrint implementation.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9353 power8 implementation.
9354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9355 file: POWER8 finite ifunc implementation.
9356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9357 Add POWER8 implementation.
9358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9360 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9361 POWER8 finite implementation.
9362 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9365 power8 implementation.
9366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9367 file: POWER8 isinf ifunc implementation.
9368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9369 POWER8 implementation.
9370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9373 isinf implementation.
9374 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9376 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9377 (INIT_ARCH): Add hwcap2 initialization.
9378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9379 power8 implementation.
9380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9381 file: POWER8 isnan ifunc implementation.
9382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9383 POWER8 implementation.
9384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9387 isnan implementation.
9388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9390 2014-02-27 Joey Ye <joey.ye@arm.com>
9392 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9393 (_FP_NANFRAC_Q): Set to zero.
9395 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9398 * math/auto-libm-test-in: New test inputs.
9399 * math/auto-libm-test-out: Regenerate.
9400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9405 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9407 * scripts/evaluate-test.sh: Take new argument indicating whether
9408 failure is expected.
9409 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9410 indicating whether failure is expected.
9411 * conform/Makefile (test-xfail-run-conformtest): New variable.
9412 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9414 * posix/Makefile (test-xfail-annexc): New variable.
9415 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9417 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9419 * argp/Makefile: Include Makeconfig immediately after defining
9421 * assert/Makefile: Likewise.
9422 * benchtests/Makefile: Likewise.
9423 * catgets/Makefile: Likewise.
9424 * conform/Makefile: Likewise.
9425 * crypt/Makefile: Likewise.
9426 * csu/Makefile: Likewise.
9427 (all): Remove target.
9428 * ctype/Makefile: Include Makeconfig immediately after defining
9430 * debug/Makefile: Likewise.
9431 * dirent/Makefile: Likewise.
9432 * dlfcn/Makefile: Likewise.
9433 * gmon/Makefile: Likewise.
9434 * gnulib/Makefile: Likewise.
9435 * grp/Makefile: Likewise.
9436 * gshadow/Makefile: Likewise.
9437 * hesiod/Makefile: Likewise.
9438 * hurd/Makefile: Likewise.
9439 (all): Remove target.
9440 * iconvdata/Makefile: Include Makeconfig immediately after
9442 * inet/Makefile: Likewise.
9443 * intl/Makefile: Likewise.
9444 * io/Makefile: Likewise.
9445 * libio/Makefile: Likewise.
9446 (all): Remove target.
9447 * locale/Makefile: Include Makeconfig immediately after defining
9449 * login/Makefile: Likewise.
9450 * mach/Makefile: Likewise.
9451 (all): Remove target.
9452 * malloc/Makefile: Include Makeconfig immediately after defining
9454 (all): Remove target.
9455 * manual/Makefile: Include Makeconfig immediately after defining
9457 * math/Makefile: Likewise.
9458 * misc/Makefile: Likewise.
9459 * nis/Makefile: Likewise.
9460 * nss/Makefile: Likewise.
9461 * po/Makefile: Likewise.
9462 (all): Remove target.
9463 * posix/Makefile: Include Makeconfig immediately after defining
9465 * pwd/Makefile: Likewise.
9466 * resolv/Makefile: Likewise.
9467 * resource/Makefile: Likewise.
9468 * rt/Makefile: Likewise.
9469 * setjmp/Makefile: Likewise.
9470 * shadow/Makefile: Likewise.
9471 * signal/Makefile: Likewise.
9472 * socket/Makefile: Likewise.
9473 * soft-fp/Makefile: Likewise.
9474 * stdio-common/Makefile: Likewise.
9475 * stdlib/Makefile: Likewise.
9476 * streams/Makefile: Likewise.
9477 * string/Makefile: Likewise.
9478 * sunrpc/Makefile: Likewise.
9479 (all): Remove target.
9480 * sysvipc/Makefile: Include Makeconfig immediately after defining
9482 * termios/Makefile: Likewise.
9483 * time/Makefile: Likewise.
9484 * timezone/Makefile: Likewise.
9485 (all): Remove target.
9486 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9488 * wctype/Makefile: Likewise.
9490 2014-02-26 Steve Ellcey <sellcey@mips.com>
9492 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9493 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9494 (libc_feholdexcept_setround_mips): Ditto.
9495 (libc_feholdsetround): New.
9496 (libc_feholdsetroundf): New.
9497 (libc_feholdsetroundl): New.
9498 (libc_feupdateenv_test_mips): New.
9499 (libc_feupdateenv_test): New.
9500 (libc_feupdateenv_testf): New.
9501 (libc_feupdateenv_testl): New.
9502 (libc_feresetround): New.
9503 (libc_feresetroundf): New.
9504 (libc_feresetroundl): New.
9505 (libc_fetestexcept_mips): New.
9506 (libc_fetestexcept): New.
9507 (libc_fetestexceptf): New.
9508 (libc_fetestexceptl): New.
9510 (libc_feholdexcept_setround_mips_ctx): New.
9511 (libc_feholdexcept_setround_ctx): New.
9512 (libc_feholdexcept_setroundf_ctx): New.
9513 (libc_feholdexcept_setroundl_ctx): New.
9514 (libc_fesetenv_mips_ctx): New.
9515 (libc_fesetenv_ctx): New.
9516 (libc_fesetenv_ctxf): New.
9517 (libc_fesetenv_ctxl): New.
9518 (libc_feupdateenv_mips_ctx): New.
9519 (libc_feupdateenv_ctx): New.
9520 (libc_feupdateenvf_ctx): New.
9521 (libc_feupdateenvl_ctx): New.
9522 (libc_feholdsetround_mips_ctx): New.
9523 (libc_feholdsetround_ctx): New.
9524 (libc_feholdsetroundf_ctx): New.
9525 (libc_feholdsetroundl_ctx): New.
9526 (libc_feresetround_mips_ctx): New.
9527 (libc_feresetround_ctx): New.
9528 (libc_feresetroundf_ctx): New.
9529 (libc_feresetroundl_ctx): New.
9531 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9533 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9535 * manual/ipc.texi: New file.
9536 * manual/Makefile (chapters): Add ipc.
9537 * manual/job.texi: Add "Inter-Process Communication" to next.
9538 * manual/process.texi: Add "Inter-Process Communication" to prev.
9540 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9544 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9546 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9548 * manual/arith.texi: Fix spaces after sentences.
9549 * manual/charset.texi: Likewise.
9550 * manual/errno.texi: Likewise.
9551 * manual/install.texi: Likewise.
9552 * manual/llio.texi: Likewise.
9553 * manual/locale.texi: Likewise.
9554 * manual/maint.texi: Likewise.
9555 * manual/math.texi: Likewise.
9556 * manual/memory.texi: Likewise.
9557 * manual/message.texi: Likewise.
9558 * manual/probes.texi: Likewise.
9559 * manual/resource.texi: Likewise.
9560 * manual/signal.texi: Likewise.
9561 * manual/socket.texi: Likewise.
9562 * manual/stdio.texi: Likewise.
9563 * manual/string.texi: Likewise.
9564 * manual/time.texi: Likewise.
9565 * manual/users.texi: Likewise.
9567 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9570 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9571 _DEFAULT_SOURCE is defined.
9573 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9574 Carlos O'Donell <carlos@redhat.com>
9577 * elf/dl-tls.c (_dl_count_modids): New function.
9578 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9579 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9580 audit library and increment generation counter.
9581 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9582 * elf/tst-audit9.c: New file.
9583 * elf/tst-auditmod9a.c: New file.
9584 * elf/tst-auditmod9b.c: New file.
9585 * elf/Makefile: Add rules to build and run tst-audit9.
9587 2014-02-25 Florian Weimer <fweimer@redhat.com>
9590 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9592 2014-02-25 Will Newton <will.newton@linaro.org>
9594 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9595 (__longjmp): Restore sp and lr before restoring callee
9596 saved registers. Add longjmp and longjmp_target
9597 SystemTap probe point.
9598 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9599 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9600 Define to zero to match jmpbuf layout.
9601 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9602 (__sigsetjmp): Save sp and lr before saving callee
9603 saved registers. Add setjmp SystemTap probe point.
9605 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9609 2014-02-24 Andreas Schwab <schwab@suse.de>
9612 * elf/pldd.c (wait_for_ptrace_stop): New function.
9613 (main): Call it after attaching.
9615 2014-02-22 Roland McGrath <roland@hack.frob.com>
9617 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9618 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9619 Versions files is now verboten.
9620 * hurd/Versions (libc: GLIBC_2.0):
9621 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9622 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9623 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9624 * mach/Versions: Likewise.
9626 * csu/Versions: Remove unused %include.
9627 * resolv/Versions: Likewise.
9629 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9631 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9632 ($(objpfx)check-local-headers.out): Likewise.
9633 ($(objpfx)begin-end-check.out): Likewise.
9634 * Makerules (check-abi-%.out): Likewise.
9635 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9636 ($(objpfx)test2.cat): Likewise.
9637 ($(objpfx)de/libc.cat): Likewise.
9638 ($(objpfx)test-gencat.out): Likewise.
9639 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9640 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9641 ($(objpfx)noload-mem): Likewise.
9642 ($(objpfx)tst-pathopt.out): Likewise.
9643 ($(objpfx)tst-rtld-load-self.out): Likewise.
9644 ($(objpfx)tst-array1-cmp.out): Likewise.
9645 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9646 ($(objpfx)tst-array2-cmp.out): Likewise.
9647 ($(objpfx)tst-array3-cmp.out): Likewise.
9648 ($(objpfx)tst-array4-cmp.out): Likewise.
9649 ($(objpfx)tst-array5-cmp.out): Likewise.
9650 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9651 ($(objpfx)check-textrel.out): Likewise.
9652 ($(objpfx)check-execstack.out): Likewise.
9653 ($(objpfx)check-localplt.out): Likewise.
9654 ($(objpfx)order2-cmp.out): Likewise.
9655 ($(objpfx)tst-leaks1-mem): Likewise.
9656 ($(objpfx)tst-leaks1-static-mem): Likewise.
9657 ($(objpfx)tst-initorder-cmp.out): Likewise.
9658 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9659 ($(objpfx)tst-unused-dep.out): Likewise.
9660 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9661 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9662 * iconv/Makefile (test-iconvconfig): Likewise.
9663 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9664 ($(objpfx)iconv-test.out): Likewise.
9665 ($(objpfx)tst-tables.out): Likewise.
9666 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9667 ($(objpfx)tst-gettext.out): Likewise.
9668 ($(objpfx)tst-translit.out): Likewise.
9669 ($(objpfx)tst-gettext2.out): Likewise.
9670 ($(objpfx)tst-gettext4.out): Likewise.
9671 ($(objpfx)tst-gettext6.out): Likewise.
9672 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9673 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9674 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9675 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9677 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9678 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9679 ($(objpfx)wordexp-tst.out): Likewise.
9680 ($(objpfx)annexc.out): Likewise.
9681 ($(objpfx)tst-fnmatch-mem): Likewise.
9682 ($(objpfx)bug-regex2-mem): Likewise.
9683 ($(objpfx)bug-regex14-mem): Likewise.
9684 ($(objpfx)bug-regex21-mem): Likewise.
9685 ($(objpfx)bug-regex31-mem): Likewise.
9686 ($(objpfx)tst-vfork3-mem): Likewise.
9687 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9688 ($(objpfx)tst-pcre-mem): Likewise.
9689 ($(objpfx)tst-boost-mem): Likewise.
9690 ($(objpfx)tst-getconf.out): Likewise.
9691 ($(objpfx)bug-ga2-mem): Likewise.
9692 ($(objpfx)bug-glob2-mem): Likewise.
9693 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9694 ($(objpfx)mtrace-tst-leaks2): Likewise.
9695 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9696 ($(objpfx)tst-printf.out): Likewise.
9697 ($(objpfx)tst-setvbuf1.out): Likewise.
9698 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9699 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9700 ($(objpfx)tst-fmtmsg.out): Likewise.
9701 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9704 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9705 * bits/sigaction.h [__USE_MISC]: Likewise.
9706 * bits/waitstatus.h: Update #endif comments.
9707 * ctype/ctype.h: Likewise.
9708 * dirent/dirent.h: Likewise.
9709 [__USE_MISC]: Remove redundant conditionals.
9710 * grp/grp.h: Update #endif comments.
9711 [__USE_GNU]: Remove redundant conditionals.
9712 [__USE_MISC]: Likewise.
9713 * inet/netinet/in.h [__USE_GNU]: Likewise.
9714 * io/sys/stat.h [__USE_MISC]: Likewise.
9715 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9716 * libio/bits/stdio.h: Update #endif comments.
9717 [__USE_MISC]: Remove redundant conditionals.
9718 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9719 * libio/stdio.h: Update #endif comments.
9720 [__USE_MISC]: Remove redundant conditionals.
9721 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9722 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9723 * math/math.h: Update #else and #endif comments.
9724 [__USE_MISC]: Remove redundant conditionals.
9725 * misc/sys/uio.h: Update #endif comments.
9726 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9727 * posix/glob.h [__USE_MISC]: Likewise.
9728 * posix/sys/types.h: Update #endif comments.
9729 [__USE_MISC]: Remove redundant conditionals.
9730 * posix/sys/wait.h: Update #endif comments.
9731 [__USE_MISC]: Remove redundant conditionals.
9732 * posix/unistd.h: Update #endif comments.
9733 [__USE_MISC]: Remove redundant conditionals.
9734 * pwd/pwd.h [__USE_GNU]: Likewise.
9735 [__USE_MISC]: Likewise.
9736 * resolv/netdb.h [__USE_GNU]: Likewise.
9737 * signal/signal.h: Update #endif comments.
9738 [__USE_MISC]: Remove redundant conditionals.
9739 * stdlib/stdlib.h: Update #else and #endif comments.
9740 [__USE_MISC]: Remove redundant conditionals.
9741 [__USE_GNU]: Likewise.
9742 * string/bits/string2.h [__USE_MISC]: Likewise.
9743 * string/string.h: Update #endif comments.
9744 [__USE_MISC]: Remove redundant conditionals.
9745 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9747 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9748 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9749 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9751 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9755 [__USE_MISC]: Remove redundant conditionals.
9756 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9757 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9758 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9759 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9760 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9762 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9763 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9765 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9766 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9768 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9770 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9773 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9775 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9776 * sysdeps/x86/bits/string.h: Update #endif comments.
9777 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9779 * time/sys/time.h: Update #endif comments.
9780 * time/time.h: Likewise.
9781 [__USE_MISC]: Remove redundant conditionals.
9783 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9786 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9788 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9790 * Versions.def (librt): Add GLIBC_2.17.
9792 2014-02-21 Adam Conrad <adconrad@0c3.net>
9794 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9795 synonym for _SYS_AUXV_H to allow direct inclusion.
9796 * sysdeps/sparc/bits/hwcap.h: Likewise.
9797 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9798 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9799 * sysdeps/sparc/sysdep.h: Likewise.
9801 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9803 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9805 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9807 * benchtests/bench-strrchr.c: Print length instead of position.
9809 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9812 * sysdeps/unix/sysv/linux/kernel-features.h
9813 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9814 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9815 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9816 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9818 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9819 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9820 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9821 (__ASSUME_SENDMMSG): Define instead of using previous
9822 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9824 (__ASSUME_SENDMMSG_SYSCALL): Define.
9825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9826 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9829 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9831 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9832 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9834 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9835 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9836 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9837 [__ASSUME_SENDMMSG]: Change conditionals to
9838 [__ASSUME_SENDMMSG_SOCKETCALL].
9839 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9840 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9842 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9843 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9845 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9846 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9847 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9848 [!__ASSUME_SENDMMSG]: Change conditional to
9849 [!__ASSUME_SENDMMSG_SOCKETCALL].
9850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9851 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9855 * sysdeps/unix/sysv/linux/kernel-features.h
9856 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9857 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9858 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9859 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9860 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9861 [__i386__ || __sparc__]
9862 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9863 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9864 (__ASSUME_RECVMMSG): Define instead of using previous
9865 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9867 (__ASSUME_RECVMMSG_SYSCALL): Define.
9868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9869 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9877 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9878 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9879 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9880 [__ASSUME_RECVMMSG]: Change condition to
9881 [__ASSUME_RECVMMSG_SOCKETCALL].
9882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9885 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9887 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9889 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9890 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9891 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9892 [!__ASSUME_RECVMMSG]: Change condition to
9893 [!__ASSUME_RECVMMSG_SOCKETCALL].
9894 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9895 (__ASSUME_RECVMMSG_SYSCALL): Define.
9898 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9899 __powerpc__ || __s390__ || __sh__ || __sparc__]
9900 (__ASSUME_SOCKETCALL): Define.
9901 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9902 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9903 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9904 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9905 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9906 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9907 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9908 (__ASSUME_ACCEPT4): Define instead of using previous
9909 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9910 __powerpc__ || __sparc__ || __s390__)] condition.
9911 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9912 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9913 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9914 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9915 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9916 [!__ASSUME_ACCEPT4]: Change condition to
9917 [!__ASSUME_ACCEPT4_SOCKETCALL].
9918 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9919 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9920 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9921 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9922 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9923 __ASSUME_ACCEPT4_SYSCALL.
9924 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9925 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9926 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9927 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9928 __ASSUME_ACCEPT4_SYSCALL.
9929 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9930 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9931 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9932 [__ASSUME_ACCEPT4]: Change condition to
9933 [__ASSUME_ACCEPT4_SOCKETCALL].
9934 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9935 (__ASSUME_SOCKETCALL): Define.
9936 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9938 (__ASSUME_SOCKETCALL): Define.
9939 (__ASSUME_ACCEPT4): Remove.
9940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9943 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9945 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9946 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9948 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9950 (HWCAP_ARM_LPAE): Likewise.
9951 (HWCAP_ARM_EVTSTRM): Likewise.
9952 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9953 Add vpfd32, lpae and evtstrm.
9954 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9957 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9959 * math/auto-libm-test-in: Add tests of clog10.
9960 * math/auto-libm-test-out: Regenerated.
9961 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9962 * sysdeps/i386/fpu/libm-test-ulps: Update.
9963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9965 2014-02-18 Andreas Schwab <schwab@suse.de>
9968 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9969 Store non-zero if the second buffer was newly allocated.
9970 (send_dg): Likewise.
9971 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9972 to send_vc and send_dg.
9973 (res_nsend): Pass NULL for ansp2_malloced.
9974 * resolv/res_query.c (__libc_res_nquery): Add parameter
9975 answerp2_malloced and pass it down to __libc_res_nsend.
9976 (res_nquery): Pass additional NULL to __libc_res_nquery.
9977 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9978 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9979 second answer buffer if answerp2_malloced was set.
9980 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9981 (__libc_res_nquerydomain): Add parameter
9982 answerp2_malloced and pass it down to __libc_res_nquery.
9983 (res_nquerydomain): Pass additional NULL to
9984 __libc_res_nquerydomain.
9985 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9986 additional NULL to __libc_res_nsend and __libc_res_nquery.
9987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9988 additional NULL to __libc_res_nsearch.
9989 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9990 parameter of __libc_res_nsearch to check for separately allocated
9992 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9994 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9995 additional NULL to __libc_res_nquery.
9996 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9998 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9999 * include/resolv.h: Update prototypes of __libc_res_nquery,
10000 __libc_res_nsearch, __libc_res_nsend.
10002 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10004 * math/auto-libm-test-in: Add tests of fma.
10005 * math/auto-libm-test-out: Regenerated.
10006 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10007 (fma_towardzero_test_data): Likewise.
10008 (fma_downward_test_data): Likewise.
10009 (fma_upward_test_data): Likewise.
10010 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10012 (rounding_modes): Add values for new field.
10013 (func_calc_method): Add value mpfr_fff_f.
10014 (func_calc_desc): Add mpfr_fff_f union field.
10015 (test_function): Add field exact_args.
10016 (FUNC): Add macro argument EXACT_ARGS.
10017 (FUNC_mpfr_f_f): Update call to FUNC.
10018 (FUNC_mpfr_f_f): Likewise.
10019 (FUNC_mpfr_ff_f): Likewise.
10020 (FUNC_mpfr_if_f): Likewise.
10021 (FUNC_mpc_c_f): Likewise.
10022 (FUNC_mpc_c_c): Likewise.
10023 (test_functions): Add fma. Update calls to FUNC.
10024 (handle_input_arg): Add argument exact_args.
10025 (add_test): Update call to handle_input_arg.
10026 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10027 (output_for_one_input_case): Update call to calc_generic_results.
10028 Recalculate exact zero results in each rounding mode.
10030 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10031 non-negative before setting low bit.
10032 * math/auto-libm-test-in: Mark one asin test possibly having
10033 spurious underflow.
10034 * math/auto-libm-test-out: Regenerated.
10035 * sysdeps/i386/fpu/libm-test-ulps: Update.
10036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10038 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10040 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10041 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10042 ports/sysdeps/unix/sysv/linux/microblaze.
10043 * README: Add missing listing for microblaze*-*-linux-gnu.
10045 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10047 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10050 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10052 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10053 * sysdeps/unix/sysv/linux/ia64: Move directory from
10054 ports/sysdeps/unix/sysv/linux/ia64.
10055 * README: Update listing for ia64-*-linux-gnu.
10057 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10058 Joseph Myers <joseph@codesourcery.com>
10060 * Makeconfig (test-name): New variable.
10061 (evaluate-test): Likewise.
10062 * Makerules (do-test-clean): Remove .test-result files.
10063 (common-mostlyclean): Likewise.
10064 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10065 * scripts/evaluate-test.sh: New file.
10067 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10069 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10070 separate $(objpfx)tst-fopenloc-cmp.out and
10071 $(objpfx)tst-fopenloc-mem.out targets.
10072 (tests): Update dependencies.
10073 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10074 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10075 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10076 (tst-rxspencer-no-utf8-ARGS): New variable.
10077 (tst-rxspencer-no-utf8-ENV): Likewise.
10078 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10079 instead of $(objpfx)tst-rxspencer-mem.
10080 ($(objpfx)tst-rxspencer-mem): Change target to
10081 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10082 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10083 * posix/tst-rxspencer-no-utf8.c: New file.
10085 * elf/Makefile ($(objpfx)order.out): Remove rule.
10086 [$(run-built-tests) = yes] (tests): Depend on
10087 $(objpfx)order-cmp.out.
10088 ($(objpfx)order-cmp.out): New rule.
10089 [$(run-built-tests) = yes] (tests): Depend on
10090 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10091 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10092 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10093 $(objpfx)tst-array5-static-cmp.out.
10094 ($(objpfx)tst-array1.out): Remove rule.
10095 ($(objpfx)tst-array1-cmp.out): New rule.
10096 ($(objpfx)tst-array1-static.out): Remove rule.
10097 ($(objpfx)tst-array1-static-cmp.out): New rule.
10098 ($(objpfx)tst-array2.out): Remove rule.
10099 ($(objpfx)tst-array2-cmp.out): New rule.
10100 ($(objpfx)tst-array3.out): Remove rule.
10101 ($(objpfx)tst-array3-cmp.out): New rule.
10102 ($(objpfx)tst-array4.out): Remove rule.
10103 ($(objpfx)tst-array4-cmp.out): New rule.
10104 ($(objpfx)tst-array5.out): Remove rule.
10105 ($(objpfx)tst-array5-cmp.out): New rule.
10106 ($(objpfx)tst-array5-static.out): Remove rule.
10107 ($(objpfx)tst-array5-static-cmp.out): New rule.
10108 [$(run-built-tests) = yes] (tests): Depend on
10109 $(objpfx)order2-cmp.out.
10110 ($(objpfx)order2.out): Remove rule.
10111 ($(objpfx)order2-cmp.out): New rule.
10112 ($(objpfx)tst-initorder.out): Remove rule.
10113 [$(run-built-tests) = yes] (tests): Depend on
10114 $(objpfx)tst-initorder-cmp.out.
10115 ($(objpfx)tst-initorder-cmp.out): New rule.
10116 ($(objpfx)tst-initorder2.out): Remove rule.
10117 [$(run-built-tests) = yes] (tests): Depend on
10118 $(objpfx)tst-initorder2-cmp.out.
10119 ($(objpfx)tst-initorder2-cmp.out): New rule.
10120 [$(run-built-tests) = yes] (tests): Depend on
10121 $(objpfx)tst-unused-dep-cmp.out.
10122 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10123 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10124 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10125 on $(objpfx)tst-setvbuf1-cmp.out.
10126 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10127 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10128 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10129 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10130 ($(objpfx)tst-svc.out): Remove rule.
10131 ($(objpfx)tst-svc-cmp.out): New rule.
10133 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10135 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10136 * ctype/ctype.h [__USE_MISC]: Likewise.
10137 * dirent/dirent.h [__USE_MISC]: Likewise.
10138 * grp/grp.h [__USE_MISC]: Likewise.
10139 * io/fcntl.h [__USE_MISC]: Likewise.
10140 * io/sys/stat.h [__USE_MISC]: Likewise.
10141 * libio/stdio.h [__USE_MISC]: Likewise.
10142 * posix/unistd.h [__USE_MISC]: Likewise.
10143 * pwd/pwd.h [__USE_MISC]: Likewise.
10144 * stdlib.h [__USE_MISC]: Likewise.
10145 * string/bits/string2.h [__USE_MISC]: Likewise.
10146 * string/string.h [__USE_MISC]: Likewise.
10147 * time/time.h [__USE_MISC]: Likewise.
10149 2014-02-13 Andreas Schwab <schwab@suse.de>
10152 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10153 second answer buffer if it was separately allocated.
10155 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10157 * sysdeps/mips/math-tests.h: Include <features.h>.
10158 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10159 (ROUNDING_TESTS_long_double): Do not define.
10160 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10161 (EXCEPTION_TESTS_long_double): Likewise.
10162 * sysdeps/mips/mips64/libm-test-ulps: Update.
10164 * include/features.h (__USE_BSD): Remove macro definitions.
10165 (__USE_SVID): Likewise.
10166 (_BSD_SOURCE): Likewise.
10167 (_SVID_SOURCE): Likewise.
10168 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10169 from definition of _DEFAULT_SOURCE.
10170 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10172 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10173 * bits/mman.h [__USE_BSD]: Likewise.
10174 * bits/termios.h [__USE_BSD]: Likewise.
10175 * bits/waitstatus.h [__USE_BSD]: Likewise.
10176 * ctype/ctype.h [__USE_SVID]: Likewise.
10177 * dirent/dirent.h [__USE_BSD]: Likewise.
10178 * grp/grp.h [__USE_SVID]: Likewise.
10179 [__USE_BSD]: Likewise.
10180 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10181 * io/fcntl.h [__USE_BSD]: Likewise.
10182 * io/ftw.h [__USE_BSD]: Likewise.
10183 * io/sys/stat.h [__USE_BSD]: Likewise.
10184 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10185 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10186 * libio/stdio.h [__USE_SVID]: Likewise.
10187 [__USE_BSD]: Likewise.
10188 * math/math.h [__USE_SVID]: Likewise.
10189 [__USE_BSD]: Likewise.
10190 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10191 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10192 * misc/search.h [__USE_SVID]: Likewise.
10193 * misc/sys/mman.h [__USE_BSD]: Likewise.
10194 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10195 * misc/sys/uio.h [__USE_BSD]: Likewise.
10196 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10197 * posix/glob.h [__USE_BSD]: Likewise.
10198 * posix/regex.h [__USE_BSD]: Likewise.
10199 * posix/sys/types.h [__USE_BSD]: Likewise.
10200 [__USE_SVID]: Likewise.
10201 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10202 * posix/sys/wait.h [__USE_BSD]: Likewise.
10203 [__USE_SVID]: Likewise.
10204 * posix/unistd.h [__USE_BSD]: Likewise.
10205 [__USE_SVID]: Likewise.
10206 * pwd/pwd.h [__USE_SVID]: Likewise.
10207 * resolv/netdb.h [__USE_BSD]: Likewise.
10208 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10209 * signal/signal.h [__USE_BSD]: Likewise.
10210 [__USE_SVID]: Likewise.
10211 * socket/sys/socket.h [__USE_BSD]: Likewise.
10212 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10213 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10214 [__USE_SVID]: Likewise.
10215 * string/bits/string2.h [__USE_BSD]: Likewise.
10216 [__USE_SVID]: Likewise.
10217 * string/bits/string3.h [__USE_BSD]: Likewise.
10218 * string/endian.h [__USE_BSD]: Likewise.
10219 * string/string.h [__USE_SVID]: Likewise.
10220 [__USE_BSD]: Likewise.
10221 * string/strings.h [__USE_BSD]: Likewise.
10222 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10223 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10224 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10225 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10226 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10227 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10231 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10232 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10234 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10235 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10237 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10239 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10240 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10243 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10245 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10246 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10247 * termios/termios.h [__USE_BSD]: Likewise.
10248 * time/sys/time.h [__USE_BSD]: Likewise.
10249 * time/time.h [__USE_BSD]: Likewise.
10250 [__USE_SVID]: Likewise.
10252 * Makefile (subdir_targets): Remove subdir_lint.out.
10254 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10255 (do-tst-printf): Likewise.
10256 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10257 $(objpfx)tst-printf.out.
10259 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10261 * Makerules (check-abi-%): Change target to
10262 $(objpfx)check-abi-%.out.
10263 (check-abi target): Update dependencies.
10264 (check-abi-pattern variable): Redirect output of diff to $@.
10265 (check-abi variable): Likewise.
10266 * elf/Makefile (check-abi): Update dependencies.
10268 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10270 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10271 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10273 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10274 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10275 value has largest subnormal exponent.
10276 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10277 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10278 * sysdeps/aarch64/soft-fp/sfp-machine.h
10279 (_FP_TININESS_AFTER_ROUNDING): New macro.
10280 * sysdeps/alpha/soft-fp/sfp-machine.h
10281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10282 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10284 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10285 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10286 * sysdeps/mips/soft-fp/sfp-machine.h
10287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10288 * sysdeps/powerpc/soft-fp/sfp-machine.h
10289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10290 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10293 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10296 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10299 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10302 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10305 2014-02-12 Richard Henderson <rth@redhat.com>
10307 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10308 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10309 * sysdeps/unix/sysv/linux/alpha: Move directory from
10310 ports/sysdeps/unix/sysv/linux/alpha.
10311 * README: Update listing for alpha-*-linux-gnu.
10313 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10315 * include/features.h: Update comment documenting feature test
10317 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10319 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10320 (_SVID_SOURCE): Likewise.
10321 (_DEFAULT_SOURCE): Update description of default features.
10322 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10324 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10325 (S_ISVTX): Likewise.
10326 * manual/math.texi (Mathematical Constants): Likewise.
10327 * manual/signal.texi (Interrupted Primitives): Likewise.
10328 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10329 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10330 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10331 Don't refer to _SVID_SOURCE in warning text.
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10335 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10337 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10338 * sysdeps/mips/dl-lookup.c: Remove.
10339 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10341 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10344 * math/auto-libm-test-in: Add testcase for expl.
10345 * math/auto-libm-test-out: Regenerate.
10346 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10347 calculation of unsafe.
10348 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10350 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10352 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10353 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10354 ports/sysdeps/unix/sysv/linux/aarch64.
10355 * README: Update listing for aarch64*-*-linux-gnu.
10357 2014-02-11 Will Newton <will.newton@linaro.org>
10359 * manual/probes.texi (Mathematical Function Probes): Use
10360 "triggered" instead of "hit".
10362 * manual/probes.texi (Internal Probes): Add documentation
10363 of setjmp, longjmp and longjmp_target probes.
10365 * include/stap-probe.h: Add comment about probe argument
10368 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10369 definition. (tr_where, tr_freehook, tr_mallochook,
10370 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10372 2014-02-11 David S. Miller <davem@davemloft.net>
10374 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10375 processing int_tests.
10377 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10380 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10381 * sysdeps/unix/sysv/linux/mips: Move directory from
10382 ports/sysdeps/unix/sysv/linux/mips.
10383 * README: Update listing for mips-*-linux-gnu and
10384 mips64-*-linux-gnu.
10386 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10388 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10389 * sysdeps/unix/sysv/linux/m68k: Move directory from
10390 ports/sysdeps/unix/sysv/linux/m68k.
10391 * README: Update listing for m68k-*-linux-gnu.
10393 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10395 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10396 * sysdeps/unix/sysv/linux/generic: Move directory from
10397 ports/sysdeps/unix/sysv/linux/generic.
10398 * sysdeps/unix/sysv/linux/tile: Move directory from
10399 ports/sysdeps/unix/sysv/linux/tile.
10400 * README: Update listing for tile*-*-linux-gnu.
10402 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10404 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10406 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10407 * catgets/open_catalog.c (__open_catalog): Likewise.
10408 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10409 * debug/confstr_chk.c: Likewise.
10410 * debug/fread_chk.c (__fread_chk): Likewise.
10411 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10412 * debug/getgroups_chk.c: Likewise.
10413 * debug/mbsnrtowcs_chk.c: Likewise.
10414 * debug/mbsrtowcs_chk.c: Likewise.
10415 * debug/mbstowcs_chk.c: Likewise.
10416 * debug/memcpy_chk.c: Likewise.
10417 * debug/memmove_chk.c: Likewise.
10418 * debug/mempcpy_chk.c: Likewise.
10419 * debug/memset_chk.c: Likewise.
10420 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10421 * debug/strcat_chk.c (__strcat_chk): Likewise.
10422 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10423 * debug/strncat_chk.c (__strncat_chk): Likewise.
10424 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10425 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10426 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10427 * debug/wcpncpy_chk.c: Likewise.
10428 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10429 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10430 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10431 * debug/wcsncpy_chk.c: Likewise.
10432 * debug/wcsnrtombs_chk.c: Likewise.
10433 * debug/wcsrtombs_chk.c: Likewise.
10434 * debug/wcstombs_chk.c: Likewise.
10435 * debug/wmemcpy_chk.c: Likewise.
10436 * debug/wmemmove_chk.c: Likewise.
10437 * debug/wmempcpy_chk.c: Likewise.
10438 * debug/wmemset_chk.c: Likewise.
10439 * dirent/scandirat.c (SCANDIRAT): Likewise.
10440 * dlfcn/dladdr1.c (dladdr1): Likewise.
10441 * dlfcn/dladdr.c (dladdr): Likewise.
10442 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10443 * dlfcn/dlerror.c (__dlerror): Likewise.
10444 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10445 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10446 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10447 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10448 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10449 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10450 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10451 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10453 * elf/dl-conflict.c: Likewise.
10454 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10455 * elf/dl-dst.h: Likewise.
10456 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10457 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10458 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10459 * elf/dl-init.c (call_init, _dl_init): Likewise.
10460 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10461 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10462 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10464 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10466 * elf/dl-minimal.c (__libc_memalign): Likewise.
10467 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10468 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10469 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10470 * elf/dl-sym.c (do_sym): Likewise.
10471 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10472 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10473 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10474 * elf/dl-writev.h (_dl_writev): Likewise.
10475 * elf/ldconfig.c (search_dir): Likewise.
10476 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10477 (dl_main): Likewise.
10478 * elf/setup-vdso.h (setup_vdso): Likewise.
10479 * grp/compat-initgroups.c (compat_call): Likewise.
10480 * grp/fgetgrent.c (fgetgrent): Likewise.
10481 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10482 * grp/putgrent.c (putgrent): Likewise.
10483 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10485 * hurd/hurdinit.c: Likewise.
10486 * iconvdata/8bit-gap.c (struct): Likewise.
10487 * iconvdata/ansi_x3.110.c : Likewise.
10488 * iconvdata/big5.c : Likewise.
10489 * iconvdata/big5hkscs.c : Likewise.
10490 * iconvdata/cp1255.c: Likewise.
10491 * iconvdata/cp1258.c : Likewise.
10492 * iconvdata/cp932.c : Likewise.
10493 * iconvdata/euc-cn.c: Likewise.
10494 * iconvdata/euc-jisx0213.c : Likewise.
10495 * iconvdata/euc-jp.c: Likewise.
10496 * iconvdata/euc-jp-ms.c : Likewise.
10497 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10498 * iconvdata/gb18030.c : Likewise.
10499 * iconvdata/gbbig5.c (const): Likewise.
10500 * iconvdata/gbgbk.c: Likewise.
10501 * iconvdata/gbk.c : Likewise.
10502 * iconvdata/ibm1364.c : Likewise.
10503 * iconvdata/ibm930.c : Likewise.
10504 * iconvdata/ibm932.c: Likewise.
10505 * iconvdata/ibm933.c : Likewise.
10506 * iconvdata/ibm935.c : Likewise.
10507 * iconvdata/ibm937.c : Likewise.
10508 * iconvdata/ibm939.c : Likewise.
10509 * iconvdata/ibm943.c: Likewise.
10510 * iconvdata/iso_11548-1.c: Likewise.
10511 * iconvdata/iso-2022-cn.c : Likewise.
10512 * iconvdata/iso-2022-cn-ext.c : Likewise.
10513 * iconvdata/iso-2022-jp-3.c: Likewise.
10514 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10515 * iconvdata/iso-2022-kr.c : Likewise.
10516 * iconvdata/iso646.c (gconv_end): Likewise.
10517 * iconvdata/iso_6937-2.c : Likewise.
10518 * iconvdata/iso_6937.c : Likewise.
10519 * iconvdata/iso8859-1.c: Likewise.
10520 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10521 * iconvdata/shift_jisx0213.c : Likewise.
10522 * iconvdata/sjis.c : Likewise.
10523 * iconvdata/t.61.c : Likewise.
10524 * iconvdata/tcvn5712-1.c : Likewise.
10525 * iconvdata/tscii.c: Likewise.
10526 * iconvdata/uhc.c : Likewise.
10527 * iconvdata/unicode.c (gconv_end): Likewise.
10528 * iconvdata/utf-16.c (gconv_end): Likewise.
10529 * iconvdata/utf-32.c (gconv_end): Likewise.
10530 * iconvdata/utf-7.c (base64): Likewise.
10531 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10532 * iconv/gconv_close.c (__gconv_close): Likewise.
10533 * iconv/gconv_open.c (__gconv_open): Likewise.
10534 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10535 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10536 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10537 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10538 (ucs4le_internal_loop_single): Likewise.
10539 * iconv/iconv.c (iconv): Likewise.
10540 * iconv/iconv_close.c: Likewise.
10541 * iconv/loop.c (SINGLE): Likewise.
10542 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10543 * include/atomic.h: Likewise.
10544 * inet/inet6_option.c (option_alloc): Likewise.
10545 * intl/bindtextdom.c (set_binding_values): Likewise.
10546 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10547 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10548 * intl/localealias.c (read_alias_file): Likewise.
10549 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10550 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10551 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10552 * libio/fmemopen.c (fmemopen): Likewise.
10553 * libio/iofgets.c (_IO_fgets): Likewise.
10554 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10555 * libio/iofgetws.c (fgetws): Likewise.
10556 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10557 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10558 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10559 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10560 * locale/findlocale.c (_nl_find_locale): Likewise.
10561 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10562 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10564 * locale/setlocale.c (setlocale): Likewise.
10565 * login/programs/pt_chown.c (main): Likewise.
10566 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10567 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10568 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10569 (mmap, mmap64, mremap, munmap): Likewise.
10570 * math/e_exp2l.c: Likewise.
10571 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10572 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10573 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10574 * math/s_catan.c (__catan): Likewise.
10575 * math/s_catanf.c (__catanf): Likewise.
10576 * math/s_catanh.c (__catanh): Likewise.
10577 * math/s_catanhf.c (__catanhf): Likewise.
10578 * math/s_catanhl.c (__catanhl): Likewise.
10579 * math/s_catanl.c (__catanl): Likewise.
10580 * math/s_ccosh.c (__ccosh): Likewise.
10581 * math/s_ccoshf.c (__ccoshf): Likewise.
10582 * math/s_ccoshl.c (__ccoshl): Likewise.
10583 * math/s_cexp.c (__cexp): Likewise.
10584 * math/s_cexpf.c (__cexpf): Likewise.
10585 * math/s_cexpl.c (__cexpl): Likewise.
10586 * math/s_clog10.c (__clog10): Likewise.
10587 * math/s_clog10f.c (__clog10f): Likewise.
10588 * math/s_clog10l.c (__clog10l): Likewise.
10589 * math/s_clog.c (__clog): Likewise.
10590 * math/s_clogf.c (__clogf): Likewise.
10591 * math/s_clogl.c (__clogl): Likewise.
10592 * math/s_csin.c (__csin): Likewise.
10593 * math/s_csinf.c (__csinf): Likewise.
10594 * math/s_csinh.c (__csinh): Likewise.
10595 * math/s_csinhf.c (__csinhf): Likewise.
10596 * math/s_csinhl.c (__csinhl): Likewise.
10597 * math/s_csinl.c (__csinl): Likewise.
10598 * math/s_csqrt.c (__csqrt): Likewise.
10599 * math/s_csqrtf.c (__csqrtf): Likewise.
10600 * math/s_csqrtl.c (__csqrtl): Likewise.
10601 * math/s_ctan.c (__ctan): Likewise.
10602 * math/s_ctanf.c (__ctanf): Likewise.
10603 * math/s_ctanh.c (__ctanh): Likewise.
10604 * math/s_ctanhf.c (__ctanhf): Likewise.
10605 * math/s_ctanhl.c (__ctanhl): Likewise.
10606 * math/s_ctanl.c (__ctanl): Likewise.
10607 * math/w_pow.c: Likewise.
10608 * math/w_powf.c: Likewise.
10609 * math/w_powl.c: Likewise.
10610 * math/w_scalb.c (sysv_scalb): Likewise.
10611 * math/w_scalbf.c (sysv_scalbf): Likewise.
10612 * math/w_scalbl.c (sysv_scalbl): Likewise.
10613 * misc/error.c (error_tail): Likewise.
10614 * misc/pselect.c (__pselect): Likewise.
10615 * nis/nis_callback.c (__nis_create_callback): Likewise.
10616 * nis/nis_call.c (__nisfind_server): Likewise.
10617 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10618 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10620 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10621 * nis/nis_lookup.c (nis_lookup): Likewise.
10622 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10623 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10624 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10625 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10626 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10627 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10628 * nis/nss_compat/compat-initgroups.c (add_group)
10629 (internal_getgrent_r): Likewise.
10630 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10631 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10632 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10633 (internal_getspnam_r): Likewise.
10634 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10635 (_nss_nis_getaliasbyname_r): Likewise.
10636 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10637 (_nss_nis_getntohost_r): Likewise.
10638 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10639 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10640 (_nss_nis_getgrgid_r): Likewise.
10641 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10642 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10643 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10644 (_nss_nis_gethostbyname4_r): Likewise.
10645 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10646 (initgroups_netid): Likewise.
10647 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10648 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10649 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10650 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10651 (_nss_nis_getprotobynumber_r): Likewise.
10652 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10653 (_nss_nis_getsecretkey): Likewise.
10654 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10655 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10656 (_nss_nis_getpwuid_r): Likewise.
10657 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10658 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10659 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10660 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10661 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10662 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10663 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10665 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10666 (_nss_nisplus_getntohost_r): Likewise.
10667 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10668 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10669 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10670 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10672 * nis/nss_nisplus/nisplus-initgroups.c
10673 (_nss_nisplus_initgroups_dyn): Likewise.
10674 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10675 (_nss_nisplus_getnetbyaddr_r): Likewise.
10676 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10677 (_nss_nisplus_getprotobynumber_r): Likewise.
10678 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10679 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10680 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10682 * nis/nss_nisplus/nisplus-service.c
10683 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10684 (_nss_nisplus_getservbyport_r): Likewise.
10685 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10686 (_nss_nisplus_getspnam_r): Likewise.
10687 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10689 * nscd/aicache.c (addhstaiX): Likewise.
10690 * nscd/cache.c (cache_search, prune_cache): Likewise.
10691 * nscd/connections.c (register_traced_file, send_ro_fd)
10692 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10693 (main_loop_epoll): Likewise.
10694 * nscd/grpcache.c (addgrbyX): Likewise.
10695 * nscd/hstcache.c (addhstbyX): Likewise.
10696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10697 * nscd/mem.c (gc, mempool_alloc): Likewise.
10698 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10699 (addinnetgrX): Likewise.
10700 * nscd/nscd-client.h (__nscd_acquire_maplock)
10701 (__nscd_drop_map_ref): Likewise.
10702 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10703 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10704 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10706 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10707 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10708 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10709 (__nscd_get_map_ref): Likewise.
10710 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10711 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10713 * nscd/pwdcache.c (addpwbyX): Likewise.
10714 * nscd/selinux.c (preserve_capabilities): Likewise.
10715 * nscd/servicescache.c (addservbyX): Likewise.
10716 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10717 * posix/fnmatch.c (fnmatch): Likewise.
10718 * posix/getopt.c (_getopt_internal_r): Likewise.
10719 * posix/glob.c (glob, glob_in_dir): Likewise.
10720 * posix/wordexp.c (exec_comm_child): Likewise.
10721 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10722 (getanswer_r, gaih_getanswer_slice): Likewise.
10723 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10724 * resolv/res_init.c: Likewise.
10725 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10726 * resolv/res_query.c (__libc_res_nquery): Likewise.
10727 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10729 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10730 * stdio-common/perror.c (perror): Likewise.
10731 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10732 * stdio-common/tmpnam.c (tmpnam): Likewise.
10733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10734 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10735 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10737 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10738 * stdlib/putenv.c (putenv): Likewise.
10739 * stdlib/setenv.c (__add_to_environ): Likewise.
10740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10741 * stdlib/strtol_l.c (INTERNAL): Likewise.
10742 * string/memmem.c (memmem): Likewise.
10743 * string/strerror.c (strerror): Likewise.
10744 * string/strnlen.c (__strnlen): Likewise.
10745 * string/test-memmem.c (simple_memmem): Likewise.
10746 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10747 * sunrpc/pm_getport.c (__get_socket): Likewise.
10748 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10749 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10750 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10751 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10753 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10754 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10755 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10756 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10757 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10758 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10760 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10762 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10763 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10765 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10766 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10769 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10770 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10772 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10775 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10783 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10784 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10785 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10796 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10798 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10800 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10804 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10806 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10807 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10808 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10809 * sysdeps/posix/sleep.c: Likewise.
10810 * sysdeps/posix/tempname.c: Likewise.
10811 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10812 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10814 * sysdeps/powerpc/powerpc32/dl-machine.h
10815 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10816 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10818 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10819 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10821 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10823 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10824 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10825 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10826 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10827 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10828 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10830 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10832 (elf_machine_lazy_rel): Likewise.
10833 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10835 (elf_machine_lazy_rel): Likewise.
10836 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10837 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10838 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10839 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10840 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10841 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10842 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10845 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10846 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10847 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10848 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10849 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10850 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10851 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10852 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10853 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10854 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10855 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10857 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10858 (__posix_fallocate64_l64): Likewise.
10859 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10860 (posix_fallocate): Likewise.
10861 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10864 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10865 (getifaddrs_internal): Likewise.
10866 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10867 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10868 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10869 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10870 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10871 (__posix_fallocate64_l64): Likewise.
10872 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10874 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10876 (__get_clockfreq): Likewise.
10877 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10878 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10879 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10883 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10884 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10886 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10887 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10888 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10889 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10890 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10891 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10892 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10894 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10895 (posix_fallocate): Likewise.
10896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10897 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10898 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10899 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10900 (elf_machine_rela, elf_machine_rela_relative)
10901 (elf_machine_lazy_rel): Likewise.
10902 * time/asctime.c (asctime_internal): Likewise.
10903 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10904 * time/tzset.c (__tzset_parse_tz): Likewise.
10905 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10906 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10907 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10908 * wcsmbs/wcsmbsload.h: Likewise.
10911 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10913 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10914 (arena_get2): Remove THREAD_STATS conditionals.
10915 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10916 (__malloc_stats, int): Likewise.
10918 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10920 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10921 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10923 * manual/setjmp.texi: Fix typos/grammar errors.
10925 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10926 Only return early when n is <= 0. Delete unused return statement.
10928 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10929 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10930 * debug/tst-longjmp_chk3.c: New file.
10932 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10933 (test_main): Replace code with set_fortify_handler call.
10934 * debug/test-strcpy_chk.c: Likewise.
10935 * debug/tst-chk1.c: Likewise.
10936 * debug/tst-longjmp_chk.c: Likewise.
10937 * test-skeleton.c: Include fcntl.h & paths.h
10938 (set_fortify_handler): Define.
10940 * debug/tst-longjmp_chk.c: Add header comment and include
10941 ../test-skeleton.c.
10942 (do_test): Mark static.
10943 (TEST_FUNCTION): Define.
10945 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10946 (IP_PMTUDISC_INTERFACE): Likewise.
10947 (IP_MULTICAST_IF): Likewise.
10948 (IP_MULTICAST_TTL): Likewise.
10949 (IP_MULTICAST_LOOP): Likewise.
10950 (IP_ADD_MEMBERSHIP): Likewise.
10951 (IP_DROP_MEMBERSHIP): Likewise.
10952 (IP_UNBLOCK_SOURCE): Likewise.
10953 (IP_BLOCK_SOURCE): Likewise.
10954 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10955 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10956 (IP_MSFILTER): Likewise.
10957 (MCAST_JOIN_GROUP): Likewise.
10958 (MCAST_BLOCK_SOURCE): Likewise.
10959 (MCAST_UNBLOCK_SOURCE): Likewise.
10960 (MCAST_LEAVE_GROUP): Likewise.
10961 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10962 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10963 (MCAST_MSFILTER): Likewise.
10964 (IP_MULTICAST_ALL): Likewise.
10965 (IP_UNICAST_IF): Likewise.
10967 * timezone/Makefile: Delete $(have-ksh) check.
10968 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10969 * timezone/tzselect.ksh: Add +x mode bits.
10971 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10972 (ANON_INODE_FS_MAGIC): Likewise.
10973 (BDEVFS_MAGIC): Likewise.
10974 (BINFMTFS_MAGIC): Likewise.
10975 (BTRFS_TEST_MAGIC): Likewise.
10976 (CRAMFS_MAGIC_WEND): Likewise.
10977 (DEBUGFS_MAGIC): Likewise.
10978 (ECRYPTFS_SUPER_MAGIC): Likewise.
10979 (EXT3_SUPER_MAGIC): Likewise.
10980 (EXT4_SUPER_MAGIC): Likewise.
10981 (FUTEXFS_SUPER_MAGIC): Likewise.
10982 (HOSTFS_SUPER_MAGIC): Likewise.
10983 (HUGETLBFS_MAGIC): Likewise.
10984 (MINIX3_SUPER_MAGIC): Likewise.
10985 (MTD_INODE_FS_MAGIC): Likewise.
10986 (NILFS_SUPER_MAGIC): Likewise.
10987 (OPENPROM_SUPER_MAGIC): Likewise.
10988 (PIPEFS_MAGIC): Likewise.
10989 (PSTOREFS_MAGIC): Likewise.
10990 (QNX6_SUPER_MAGIC): Likewise.
10991 (RAMFS_MAGIC): Likewise.
10992 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10993 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10994 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10995 (SECURITYFS_MAGIC): Likewise.
10996 (SELINUX_MAGIC): Likewise.
10997 (SMACK_MAGIC): Likewise.
10998 (SOCKFS_MAGIC): Likewise.
10999 (SQUASHFS_MAGIC): Likewise.
11000 (STACK_END_MAGIC): Likewise.
11001 (TMPFS_MAGIC): Likewise.
11002 (USBDEVICE_SUPER_MAGIC): Likewise.
11003 (V9FS_MAGIC): Likewise.
11004 (XENFS_SUPER_MAGIC): Likewise.
11005 (CRAMFS_MAGIC): Fix typo in comment.
11006 (EXT2_SUPER_MAGIC): Update comment.
11007 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11009 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11011 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11012 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11013 * sysdeps/unix/sysv/linux/arm: Move directory from
11014 ports/sysdeps/unix/sysv/linux/arm.
11015 * README: Update listing for arm-*-linux-gnueabi.
11017 * README: Remove mention of am33.
11019 2014-02-07 Roland McGrath <roland@hack.frob.com>
11021 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11022 than the comma operator, to avoid "rhs of comma has no effect"
11024 (__sigfillset, __sigandset, __sigorset): Likewise.
11025 * include/signal.h (__sigemptyset): Likewise.
11026 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11028 2014-02-07 Allan McRae <allan@archlinux.org>
11030 * version.h (RELEASE): Set to "development".
11031 (VERSION): Set to "2.19.90"
11032 * NEWS: Add 2.20 section.
11034 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11037 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11039 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11041 * manual/contrib.texi: Update entry for Carlos O'Donell,
11042 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11044 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11046 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11048 * sysdeps/unix/sysv/linux/kernel-features.h
11049 [__LINUX_KERNEL_VERSION >= 0x020621]
11050 (__ASSUME_PROC_PID_TASK_COMM): Define.
11052 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11055 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11056 conversion when destination buffer does not have enough space.
11057 * libio/tst-ftell-partial-wide.c: New test case.
11058 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11060 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11061 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11062 Leonard and Allan McRae.
11064 2014-02-04 David S. Miller <davem@davemloft.net>
11066 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11069 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11098 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11100 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11101 * shlib-versions: Likewise.
11103 2014-02-04 Roland McGrath <roland@hack.frob.com>
11104 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11106 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11107 (abilist-pattern): New variable, set to %-le.abilist.
11109 * Makerules (abilist-pattern): New variable.
11110 (vpath): Use $(abilist-pattern) in place of %.abilist.
11111 (check-abi-% pattern rule): Likewise.
11112 (check-abi, update-abi): Likewise.
11114 2014-02-04 Eric Wong <normalperson@yhbt.net>
11116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11118 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11120 * manual/startup.texi: Add next, previous, and top entries for
11121 the `Program Arguments' and `Environment Variables' nodes.
11123 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11125 * manual/macros.texi: Add comments before MTASC-safety macros.
11127 * manual/users.texi: Document MTASC-safety properties.
11129 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11130 (pthread_getspecific, pthread_setspecific): Format with
11131 @deftypefun, and add @safety note.
11132 * manual/signal.texi: Move comments that analyze the above
11133 functions to their home place.
11135 2014-02-03 Allan McRae <allan@archlinux.org>
11137 * po/sl.po: Update Slovenian translation from translation project.
11139 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11141 * manual/time.texi (timegm): Add missing blank after @c.
11142 Reported by Joseph Myers <joseph@codesourcery.com>.
11144 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11146 * manual/check-safety.sh: New.
11147 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11149 * manual/terminal.texi: Document MTASC-safety properties.
11151 * manual/filesys.texi: Document MTASC-safety properties.
11153 * manual/errno.texi: Document MTASC-safety properties.
11155 * manual/intro.texi: Document safety identifiers and
11158 * manual/string.texi (wcstok): Fix prototype.
11159 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11161 * manual/time.texi: Document MTASC-safety properties.
11163 * manual/string.texi: Document MTASC-safety properties.
11165 * manual/threads.texi: Document MTASC-safety properties.
11167 * manual/stdio.texi: Document MTASC-safety properties.
11169 * manual/syslog.texi: Document MTASC-safety properties.
11171 * manual/sysinfo.texi: Document MTASC-safety properties.
11173 * manual/startup.texi: Document MTASC-safety properties.
11175 * manual/socket.texi: Document MTASC-safety properties.
11177 * manual/signal.texi: Document MTASC-safety properties.
11179 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11181 * manual/setjmp.texi: Document MTASC-safety properties.
11183 * manual/search.texi: Document MTASC-safety properties.
11185 * manual/resource.texi: Document MTASC-safety properties.
11187 * manual/process.texi: Document MTASC-safety properties.
11189 * manual/platform.texi: Document MTASC-safety properties.
11191 * manual/pipe.texi: Document MTASC-safety properties.
11193 * manual/pattern.texi: Document MTASC-safety properties.
11195 * manual/message.texi: Document MTASC-safety properties.
11198 * manual/memory.texi: Document MTASC-safety properties.
11200 * manual/math.texi: Document MTASC-safety properties.
11202 * manual/locale.texi: Document MTASC-safety properties.
11204 * manual/llio.texi: Document MTASC-safety properties.
11206 * manual/libdl.texi: New.
11208 * manual/lang.texi: Document MTASC-safety properties.
11210 * manual/job.texi: Document MTASC-safety properties.
11212 * manual/getopt.texi: Document MTASC-safety properties.
11214 * manual/ctype.texi: Document MTASC-safety properties.
11216 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11219 * csu/libc-tls.c (static_map): Remove variable.
11220 (__libc_setup_tls): Use main executable's link map for TLS data.
11221 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11222 casing for LM_ID_BASE and GL(dl_nns).
11223 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11224 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11225 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11226 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11227 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11229 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11232 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11234 * manual/debug.texi: Document MTASC-safety properties.
11236 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11239 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11240 of __x86_64__ when disabling x87 inline functions.
11242 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11244 * manual/charset.texi: Document MTASC-safety properties.
11246 * manual/crypt.texi: Document MTASC-safety properties.
11248 * manual/conf.texi: Document MTASC-safety properties.
11250 * manual/arith.texi: Document MTASC-safety properties.
11252 * manual/argp.texi: Document MTASC-safety properties.
11254 * manual/macros.texi: Introduce macros to document multi
11255 thread, asynchronous signal and asynchronous cancellation
11257 * manual/intro.texi: Introduce the properties themselves.
11259 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11261 * sysdeps/sh/sh4/Makefile: New file.
11263 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11265 * math/gen-libm-test.pl ($srcdir): New variable.
11266 ($auto_input): Use it.
11268 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11272 access beyond array bounds when parsing netgroups file.
11274 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11275 the old buffer before realloc.
11277 2014-01-27 Allan McRae <allan@archlinux.org>
11279 * po/fr.po: Update French translation from translation project.
11281 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11283 * sysdeps/sh/libm-test-ulps: Regenerate.
11285 2014-01-24 David S. Miller <davem@davemloft.net>
11287 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11289 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11292 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11294 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11297 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11298 string pointers after reallocation.
11300 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11302 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11303 __SH4A__ instead of __SH_FPU_ANY__.
11305 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11307 * sysdeps/sh/fpu_control.h: New file.
11308 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11309 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11310 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11311 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11312 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11313 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11314 * sysdeps/sh/sys/ucontext.h: Remove.
11315 * sysdeps/sh/sys: Remove directory.
11317 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11319 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11320 s390/sys/ucontext.h.
11321 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11324 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11327 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11329 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11333 Adjust the vDSO correctly for internal calls.
11334 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11336 2014-01-20 Allan McRae <allan@archlinux.org>
11338 * po/ca.po: Update Catalan translation from translation project.
11340 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11342 * sysdeps/s390/sotruss-lib.c: New file.
11344 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11348 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11349 local calls issues by not having a PLT stub required for IFUNC calls.
11350 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11352 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11354 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11355 * math/test-fpucw-static.c: Likewise.
11357 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11360 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11362 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11365 implementation for powerpc.
11367 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11370 * sysdeps/posix/system.c (__libc_system): Do not enable
11371 asynchronous cancellation.
11373 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11376 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11377 handling only for numbers special also in the IEEE case.
11379 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11381 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11383 2014-01-11 Allan McRae <allan@archlinux.org>
11385 * po/bg.po: Update Bulgarian translation from translation project.
11387 * po/de.po: Update German translation from translation project.
11389 2014-01-10 Roland McGrath <roland@hack.frob.com>
11391 * sysdeps/generic/gcc-compat.h: New file.
11393 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11395 * benchtests/asin-inputs: Correct slow inputs.
11396 * benchtests/acos-inputs: Likewise.
11398 2014-01-10 Allan McRae <allan@archlinux.org>
11400 * po:sv.po: Update Swedish translation from translation project.
11402 * po/vi.po: Update Vietnamese translation from translation project.
11404 * po/eo.po: Update Esperanto translation from translation project.
11406 * po/cs.po: Update Czech translation from translation project.
11408 * po/nl.po: Update Dutch translation from translation project.
11410 * po/pl.po: Update Polish translation from translation project.
11412 * po/ru.po: Update Russian translation from translation project.
11414 * po/uk.po: Update Ukrainian translation from translation project.
11416 2014-01-08 Brooks Moses <bmoses@google.com>
11418 * elf/dl-load.c: Fix comment typo.
11420 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11422 * po/header.pot: Rename to...
11423 * po/pot.header: ... this.
11424 * po/Makefile: Use pot.header.
11426 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11427 Maxim Kuvyrkov <maxim@kugelworks.com>
11430 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11431 SRC and DEST against LEN.
11433 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11436 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11440 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11444 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11447 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11448 for large positive arguments.
11450 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11454 * math/auto-libm-test-in: Mark various tests with
11455 xfail-rounding:ldbl-128ibm.
11456 * math/auto-libm-test-out: Regenerated.
11459 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11460 Increase overflow threshold.
11462 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11465 * stdio-common/vfprintf.c: Check for integer overflow.
11467 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11469 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11470 the first argument and return value of __tls_get_addr_internal.
11472 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11474 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11475 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11477 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11479 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11480 * sysdeps/s390/rtld-global-offsets.sym: New file.
11481 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11483 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11484 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11487 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11488 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11494 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11495 halfs of GPRs for high_gprs contexts.
11496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11497 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11499 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11503 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11504 for high GPRs (uc_high_gprs) and for future extensions
11506 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11507 for future extensions (__reserved).
11508 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11510 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11511 SC_HIGHGPRS offset definition.
11512 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11513 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11515 * Versions.def: Add GLIBC_2.19 for libpthread.
11516 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11517 siglongjmp for libpthread with GLIBC_2.19 symver.
11518 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11519 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11520 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11521 * sysdeps/s390/__longjmp.c: New file.
11522 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11523 * sysdeps/s390/longjmp.c: New file.
11524 * sysdeps/s390/setjmp.S: New file.
11525 * sysdeps/s390/sigjmp.S: New file.
11526 * sysdeps/s390/v1-longjmp.c: New file.
11527 * sysdeps/s390/v1-setjmp.h: New file.
11528 * sysdeps/s390/v1-sigjmp.c: New file.
11529 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11530 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11531 GLIBC_2.19 version.
11532 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11533 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11534 versioned symbols for ____longjmp_chk.
11535 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11545 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11546 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11547 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11548 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11549 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11550 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11551 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11552 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11553 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11554 * sysdeps/s390/rtld-__longjmp.c: New file.
11555 * sysdeps/s390/rtld-setjmp.S: New file.
11557 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11560 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11561 Return -__logl (x) for small positive arguments without evaluating
11564 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11566 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11568 (__ptrace_peeksiginfo_args): ... this.
11569 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11573 2014-01-06 Allan McRae <allan@archlinux.org>
11575 * inet/netinet/in.h: Fix typo in comment.
11577 2014-01-05 Andreas Jaeger <aj@suse.de>
11579 * sysdeps/i386/fpu/libm-test-ulps: Update.
11581 2014-01-05 Allan McRae <allan@archlinux.org>
11583 * po/libc.pot: Regenerated.
11585 * malloc/memusagestat.c: Fix gettext call formatting.
11587 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11589 * nscd/nscd.c: Improve usage() output.
11591 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11593 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11594 * sysdeps/unix/sysv/linux/configure: Regenerated.
11595 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11596 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11598 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11602 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11604 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11607 extra tokens at end of #undef directive.
11608 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11609 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11612 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11614 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11616 * math/auto-libm-test-in: Mark various tests with
11617 xfail-rounding:ldbl-128ibm.
11618 * math/auto-libm-test-out: Regenerated.
11620 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11624 numbers with subnormal high part when calculating exponent.
11627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11633 (__ieee754_acoshl): Use __log1pl not __log1p.
11635 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11637 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11638 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11639 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11640 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11641 (reused_arena, arena_get2): Convert to GNU style.
11642 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11643 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11644 (memalign_check, __malloc_set_state): Likewise.
11645 * malloc/mallocbug.c (main): Likewise.
11646 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11647 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11648 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11649 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11650 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11651 (__posix_memalign, malloc_info): Likewise.
11652 * malloc/malloc.h: Likewise.
11653 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11654 (mallochook, memalignhook, reallochook, mabort): Likewise.
11655 * malloc/mcheck.h: Likewise.
11656 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11657 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11658 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11659 * malloc/morecore.c (__default_morecore): Likewise.
11660 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11661 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11662 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11663 (print_and_abort): Likewise.
11664 * malloc/obstack.h: Likewise.
11665 * malloc/set-freeres.c (__libc_freeres): Likewise.
11666 * malloc/tst-mallocstate.c (main): Likewise.
11667 * malloc/tst-mtrace.c (main): Likewise.
11668 * malloc/tst-realloc.c (do_test): Likewise.
11670 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11673 * nscd/netgroupcache.c (do_notfound): New function.
11674 (addgetnetgrentX): Use it.
11677 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11678 NSS_STATUS_NOTFOUND.
11680 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11682 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11685 2014-01-01 Allan McRae <allan@archlinux.org>
11687 * scripts/update-copyrights: Update configure input file suffix.
11689 * NEWS: Update copyright year.
11690 * catgets/gencat.c: Likewise.
11691 * csu/version.c: Likewise.
11692 * debug/catchsegv.sh: Likewise.
11693 * debug/pcprofiledump.c: Likewise.
11694 * debug/xtrace.sh: Likewise.
11695 * elf/ldconfig.c: Likewise.
11696 * elf/ldd.bash.in: Likewise.
11697 * elf/pldd.c: Likewise.
11698 * elf/sotruss.ksh: Likewise.
11699 * elf/sprof.c: Likewise.
11700 * iconv/iconv_prog.c: Likewise.
11701 * iconv/iconvconfig.c: Likewise.
11702 * locale/programs/locale.c: Likewise.
11703 * locale/programs/localedef.c: Likewise.
11704 * login/programs/pt_chown.c: Likewise.
11705 * malloc/memusage.sh: Likewise.
11706 * malloc/memusagestat.c: Likewise.
11707 * malloc/mtrace.pl: Likewise.
11708 * manual/libc.texinfo: Likewise.
11709 * nscd/nscd.c: Likewise.
11710 * nss/getent.c: Likewise.
11711 * nss/makedb.c: Likewise.
11712 * posix/getconf.c: Likewise.
11713 * scripts/test-installation.pl: Likewise.
11715 * All files with FSF copyright notices: Update copyright dates
11716 using scripts/update-copyrights.
11717 * intl/plural.c: Regenerated.
11718 * locale/programs/charmap-kw.h: Likewise.
11719 * locale/programs/locfile-kw.h: Likewise.
11721 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11723 * sysdeps/unix/sysv/linux/configure: Regenerated.
11724 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11725 the linux/fanotify.h header.
11726 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11727 HAVE_LINUX_FANOTIFY_H is defined.
11729 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11731 * benchtests/cos-inputs: New inputs.
11732 * benchtests/sin-inputs: Likewise.
11734 * benchtests/atan-inputs: New inputs. Fix name of multiple
11735 precision fallback inputs.
11737 * benchtests/atanh-inputs: New inputs.
11738 * benchtests/tanh-inputs: Likewise.
11740 * benchtests/acosh-inputs: New inputs.
11741 * benchtests/asinh-inputs: Likewise.
11743 * benchtests/cosh-inputs: New inputs.
11744 * benchtests/sinh-inputs: Likewise.
11746 * benchtests/acos-inputs: Add more inputs.
11747 * benchtests/asin-inputs: Likewise.
11749 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11752 * manual/arith.texi: Fix spelling.
11753 * manual/charset.texi: Likewise.
11754 * manual/errno.texi: Likewise.
11755 * manual/filesys.texi: Likewise.
11756 * manual/lang.texi: Likewise.
11757 * manual/llio.texi: Likewise.
11758 * manual/locale.texi: Likewise.
11759 * manual/message.texi: Likewise.
11760 * manual/resource.texi: Likewise.
11761 * manual/search.texi: Likewise.
11762 * manual/setjmp.texi: Likewise.
11763 * manual/stdio.texi: Likewise.
11764 * manual/string.texi: Likewise.
11765 * manual/sysinfo.texi: Likewise.
11766 * manual/time.texi: Likewise.
11768 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11770 * po/sl.po: New file.
11772 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11774 * .gitignore: Add core/.gdbinit/.gdb_history.
11776 2013-12-27 Allan McRae <allan@archlinux.org>
11779 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11780 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11782 2013-12-24 Brooks Moses <bmoses@google.com>
11784 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11785 all compilers that claim C++98 compliance, not just GCC.
11786 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11789 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11791 * NEWS: Restore accidentally deleted bug-fix entries.
11793 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11794 Ondřej Bílka <neleai@seznam.cz>
11797 * malloc/malloc.c (_int_free): Perform sanity check only if we
11800 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11803 * manual/stdio.texi (String Input Conversions): Clarify that character
11804 classes are not supported.
11806 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11810 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11814 Calculate results for small negative arguments directly rather
11815 than using reflection formula with special underflow handling.
11817 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11818 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11819 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11820 (fchflags): Likewise.
11821 (revoke): Likewise.
11822 (setlogin): Likewise.
11823 (sigaltstack): Likewise.
11825 (sigblock): Remove.
11826 (sigsetmask): Likewise.
11828 (waitpid): Likewise.
11829 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11830 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11832 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11833 * sysdeps/unix/bsd/Makefile: ... here.
11834 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11835 * sysdeps/unix/bsd/Versions: ... here.
11836 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11837 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11838 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11839 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11840 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11841 * sysdeps/unix/bsd/sigblock.c: ... here.
11842 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11843 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11844 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11845 * sysdeps/unix/bsd/sigvec.c: ... here.
11846 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11847 * sysdeps/unix/bsd/tcdrain.c: ... here.
11848 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11849 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11850 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11851 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11852 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11853 * sysdeps/unix/bsd/wait.c: ... here.
11854 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11855 * sysdeps/unix/bsd/wait3.c: ... here.
11856 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11857 * sysdeps/unix/bsd/waitpid.c: ... here.
11859 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11863 round-to-nearest for [!USE_AS_EXPM1L].
11864 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11865 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11866 more tests of exp and exp10. Expect some exp10 tests to miss
11867 exceptions or fail in directed rounding modes.
11868 * math/auto-libm-test-out: Regenerated.
11869 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11870 (exp10_test_tonearest): New function.
11871 (exp10_towardzero_test_data): New array.
11872 (exp10_test_towardzero): New function.
11873 (exp10_downward_test_data): New array.
11874 (exp10_test_downward): New function.
11875 (exp10_upward_test_data): New array.
11876 (exp10_test_upward): New function.
11877 (main): Call the new functions.
11878 * sysdeps/i386/fpu/libm-test-ulps: Update.
11879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11881 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11883 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11884 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11885 * math/auto-libm-test-out: Regenerated.
11886 * math/libm-test.inc (acosh_test_data): Add more tests.
11887 (atanh_test_data): Likewise.
11888 (ceil_test_data): Likewise.
11889 (copysign_test_data): Likewise.
11890 * sysdeps/i386/fpu/libm-test-ulps: Update.
11891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11893 * timezone/checktab.awk: Update from tzcode 2013i.
11894 * timezone/private.h: Likewise.
11895 * timezone/scheck.c: Likewise.
11896 * timezone/tzfile.h: Likewise.
11897 * timezone/tzselect.ksh: Likewise.
11898 * timezone/zdump.c: Likewise.
11899 * timezone/zic.c: Likewise.
11901 * math/auto-libm-test-in: Add tests of cpow.
11902 * math/auto-libm-test-out: Regenerated.
11903 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11906 (func_calc_desc): Add mpc_cc_c union field.
11907 (test_functions): Add cpow.
11908 (special_fill_2pi): New function.
11909 (special_real_inputs): Add 2pi.
11910 (calc_generic_results): Handle mpc_cc_c.
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11914 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11915 csqrt, ctan and ctanh.
11916 * math/auto-libm-test-out: Regenerated.
11917 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11918 (TEST_COND_x86): Likewise.
11919 (ccos_test_data): Use AUTO_TESTS_c_c.
11920 (ccosh_test_data): Likewise.
11921 (cexp_test_data): Likewise.
11922 (clog_test_data): Likewise.
11923 (csqrt_test_data): Likewise.
11924 (ctan_test_data): Likewise.
11925 (ctan_tonearest_test_data): Likewise.
11926 (ctan_towardzero_test_data): Likewise.
11927 (ctan_downward_test_data): Likewise.
11928 (ctan_upward_test_data): Likewise.
11929 (ctanh_test_data): Likewise.
11930 (ctanh_tonearest_test_data): Likewise.
11931 (ctanh_towardzero_test_data): Likewise.
11932 (ctanh_downward_test_data): Likewise.
11933 (ctanh_upward_test_data): Likewise.
11934 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11936 (func_calc_desc): Add mpc_c_c union field.
11937 (FUNC_mpc_c_c): New macro.
11938 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11939 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11941 (special_fill_min_subnorm_p120): New function.
11942 (special_real_inputs): Add min_subnorm_p120.
11943 (calc_generic_results): Handle mpc_c_c.
11944 * sysdeps/i386/fpu/libm-test-ulps: Update.
11945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11947 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11949 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11950 (do_sin_slow): New functions.
11951 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11952 (cslow2, csloww1, csloww2): Use the new functions.
11954 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11955 Use M to change sign of result instead of X. Assume X is
11957 (csloww1): Likewise.
11961 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11962 arguments A and DA.
11966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11968 (sloww1): Don't adjust sign of DX.
11969 (csloww1): Likewise.
11970 (sloww2): Use X directly and don't adjust sign of DX.
11971 (csloww2): Likewise.
11973 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11975 * math/auto-libm-test-in: Add tests of cabs and carg.
11976 * math/auto-libm-test-out: Regenerated.
11977 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11978 (carg_test_data): Likewise.
11979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11981 (func_calc_desc): Add mpc_c_f union field.
11982 (test_functions): Add cabs and carg.
11983 (calc_generic_results): Handle mpc_c_f.
11985 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11986 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11987 as a macro and a compat symbol.
11988 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11989 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11990 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11991 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11992 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11993 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11999 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12001 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12005 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12006 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12009 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12013 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12015 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12016 trailing whitespace removed.
12017 * scripts/config.guess: Update to version 2013-11-29.
12018 * scripts/config.sub: Update to version 2013-10-01.
12020 * math/auto-libm-test-in: Add tests of sincos.
12021 * math/auto-libm-test-out: Regenerated.
12022 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12025 (func_calc_desc): Add mpfr_f_11 union field.
12026 (test_functions): Add sincos.
12027 (calc_generic_results): Handle mpfr_f_11.
12028 * sysdeps/i386/fpu/libm-test-ulps: Update.
12029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12031 2013-12-19 Andreas Schwab <schwab@suse.de>
12033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12037 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12039 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12041 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12046 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12047 round-to-nearest mode when using frndint.
12048 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12049 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12050 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12052 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12054 * math/auto-libm-test-out: Regenerated.
12055 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12056 (TEST_COND_x86): Likewise.
12057 (expm1_tonearest_test_data): New array.
12058 (expm1_test_tonearest): New function.
12059 (expm1_towardzero_test_data): New array.
12060 (expm1_test_towardzero): New function.
12061 (expm1_downward_test_data): New array.
12062 (expm1_test_downward): New function.
12063 (expm1_upward_test_data): New array.
12064 (expm1_test_upward): New function.
12065 (main): Run the new test functions.
12066 * sysdeps/i386/fpu/libm-test-ulps: Update.
12067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069 * include/features.h: Update comment documenting feature test
12070 macros. Mention _DEFAULT_SOURCE in comment.
12071 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12072 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12073 _BSD_SOURCE and _SVID_SOURCE.
12074 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12075 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12076 !_SVID_SOURCE]: Likewise.
12077 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12078 (__USE_POSIX_IMPLICITLY): Define.
12079 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12080 (_POSIX_SOURCE): Undefine and redefine.
12081 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12082 (_POSIX_C_SOURCE): Likewise.
12083 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12084 (Feature Test Macros): Update documentation of default features.
12086 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12088 * benchtests/Makefile: Add bench-strtok.
12089 * benchtests/bench-strtok.c: New file: strtok benchtest.
12091 2013-12-19 Allan McRae <allan@archlinux.org>
12093 * manual/install.texi: Suppress menu for plain text output.
12094 * INSTALL: Regenerated.
12096 2013-12-18 Brooks Moses <bmoses@google.com>
12099 * misc/getauxval.c: Include errno.h.
12100 (__getauxval): Set errno to ENOENT if the requested type is not
12102 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12103 don't declare with __attribute_const__.
12104 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12105 * manual/startup.texi: Document that getauxval sets errno.
12107 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12109 * math/auto-libm-test-in: Add tests of jn and yn.
12110 * math/auto-libm-test-out: Regenerated.
12111 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12112 (yn_test_data): Likewise.
12113 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12115 (func_calc_desc): Add mpfr_if_f union field.
12116 (FUNC_mpfr_if_f): New macro.
12117 (test_functions): Add jn and yn.
12118 (calc_generic_results): Assert type of second input for
12119 mpfr_ff_f. Handle mpfr_if_f.
12120 (output_for_one_input_case): Disable all checking for arguments
12121 fitting floating-point types in case of an integer argument.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12126 Don't expect fegetround reference in libm.so.
12128 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12130 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12131 $(config-cflags-nofma).
12133 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12135 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12136 * math/auto-libm-test-out: Regenerated.
12139 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12140 to determine exponent and adjust argument to have exponent of -1.
12141 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12143 * math/auto-libm-test-out: Regenerated.
12144 * sysdeps/i386/fpu/libm-test-ulps: Update.
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12149 * manual/probes.texi: Remove cases when per-thread arenas are
12152 2013-12-18 Andreas Schwab <schwab@suse.de>
12154 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12155 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12156 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12157 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12158 * sysdeps/i386/i686/multiarch/Makefile: Update.
12159 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12161 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12163 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12164 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12166 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12169 Support TZ transition times < 00:00:00.
12170 This is needed for version-3 tz-format files; it supports time
12171 stamps past 2037 for America/Godthab (the only entry in the tz
12172 database for which this change is relevant).
12173 * manual/time.texi (TZ Variable): Document transition times
12174 from -167:59:59 through -00:00:01.
12175 * time/tzset.c (tz_rule): Time of day is now signed.
12176 (__tzset_parse_tz): Parse negative time of day.
12178 Document TZ transition times >= 25:00:00.
12179 * manual/time.texi (TZ Variable): Document transition times from
12180 25:00:00 through 167:59:59. These are already supported, and this
12181 support will help with version-3 tz-format files.
12183 * manual/time.texi (TZ Variable): Modernize North America example
12184 to reflect current (i.e., 2007-and-later) daylight saving rules.
12186 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12188 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12191 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12194 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12195 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12196 * sysdeps/unix/bsd/clock.c: Likewise.
12197 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12198 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12199 * sysdeps/unix/bsd/init-posix.c: Likewise.
12200 * sysdeps/unix/bsd/poll.c: Likewise.
12201 * sysdeps/unix/bsd/ptsname.c: Likewise.
12202 * sysdeps/unix/bsd/seekdir.c: Likewise.
12203 * sysdeps/unix/bsd/setegid.c: Likewise.
12204 * sysdeps/unix/bsd/seteuid.c: Likewise.
12205 * sysdeps/unix/bsd/setgid.c: Likewise.
12206 * sysdeps/unix/bsd/setrgid.c: Likewise.
12207 * sysdeps/unix/bsd/setruid.c: Likewise.
12208 * sysdeps/unix/bsd/setsid.c: Likewise.
12209 * sysdeps/unix/bsd/setuid.c: Likewise.
12210 * sysdeps/unix/bsd/sigaction.c: Likewise.
12211 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12212 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12213 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12214 * sysdeps/unix/bsd/telldir.c: Likewise.
12215 * sysdeps/unix/bsd/times.c: Likewise.
12216 * sysdeps/unix/bsd/usleep.c: Likewise.
12218 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12219 ($(objpfx)libbsd-compat.a): Remove rule.
12221 * include/features.h (__FAVOR_BSD): Do not define.
12222 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12223 features conflicting with POSIX.
12224 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12225 (_BSD_SOURCE): Remove description of not being a subset of other
12226 feature test macros.
12227 * manual/job.texi (getpgrp): Do not document BSD version.
12228 (getpgid): Do not document by reference to BSD getpgrp.
12229 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12230 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12231 * signal/signal.h [__FAVOR_BSD]: Likewise.
12232 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12233 instead of making contents conditional on [__FAVOR_BSD].
12234 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12236 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12240 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12243 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12244 values below 2**-450, not 2**-500.
12245 * math/auto-libm-test-in: Don't allow spurious underflow from
12247 * math/auto-libm-test-out: Regenerated.
12251 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12252 values of ha and hb and sort them after adjusting subnormal
12254 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12256 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12257 values of ea and eb and sort them after adjusting subnormal
12259 * math/auto-libm-test-in: Do not expect some hypot tests of
12260 subnormals to fail. Add more hypot tests.
12261 * math/auto-libm-test-out: Regenerated.
12263 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12266 * sysdeps/sh/s_fma.c: New file.
12267 * sysdeps/sh/s_fmaf.c: New file.
12268 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12270 * sysdeps/sh/Implies: Add sh/soft-fp.
12272 2013-12-16 Roland McGrath <roland@hack.frob.com>
12274 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12275 level of indirection to members `objname', `errstring', `malloced'.
12276 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12277 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12278 it as the __longjmp argument (just pass 1 instead).
12279 (_dl_catch_error): Initialize C with argument pointers and address of
12280 volatile local ERRCODE rather than copying values out of C at return.
12282 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12284 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12285 * math/auto-libm-test-out: Regenerated.
12286 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12287 (hypot_test_data): Likewise.
12288 (pow_test_data): Likewise.
12289 (pow_tonearest_test_data): Likewise.
12290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12292 (func_calc_desc): Add mpfr_ff_f union field.
12293 (FUNC_mpfr_ff_f): New macro.
12294 (test_functions): Add atan2, hypot and pow.
12295 (special_fill_min): New function.
12296 (special_fill_minus_min): Likewise.
12297 (special_fill_min_subnorm): Likewise.
12298 (special_fill_minus_min_subnorm): Likewise.
12299 (special_real_inputs): Add min, -min, min_subnorm and
12301 (calc_generic_results): Handle mpfr_ff_f.
12302 * sysdeps/i386/fpu/libm-test-ulps: Update.
12303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12305 2013-12-16 Will Newton <will.newton@linaro.org>
12307 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12308 (Aligned Memory Blocks): Add documentation for aligned_alloc
12309 and suggest it as an alternative to posix_memalign.
12310 (Hooks for Malloc): Document __memalign_hook is also called
12311 for aligned_alloc. (Summary of Malloc): Add summary for
12312 aligned alloc. Document __memalign_hook is also called
12315 2013-12-16 Will Newton <will.newton@linaro.org>
12317 * manual/memory.texi (Malloc Examples): Clarify default
12318 alignment documentation. Suggest posix_memalign rather
12319 than memalign or valloc.
12320 (Aligned Memory Blocks): Remove suggestion to use memalign
12321 or valloc. Remove obsolete comment about BSD.
12322 Document memalign errno values and mark the function obsolete.
12323 Document posix_memalign returned error codes. Mark valloc
12324 as obsolete. (Hooks for Malloc): __memalign_hook is also
12325 called for posix_memalign and valloc.
12326 (Summary of Malloc): Add posix_memalign to function summary.
12327 __memalign_hook is also called for posix_memalign and valloc.
12329 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12335 (sloww): Use mynumber union. Expand ternary operator into
12336 if-else statements.
12337 (cslow): use mynumber union.
12339 2013-12-16 Allan McRae <allan@archlinux.org>
12341 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12342 * configure: Regenerated.
12344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12347 * configure.ac: Added --enable-maintainer-mode. Check for
12348 autoconf when enabled.
12349 * configure: Regenerated.
12351 * nscd/nscd.service: New file.
12352 * nscd/nscd.tmpfiles: New file.
12354 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12357 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12358 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12359 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12360 (strstr): Add __strstr_sse2_unaligned ifunc.
12361 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12362 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12363 (strcasestr): Remove __strcasestr_sse42 ifunc.
12364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12368 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12370 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12371 * sysdeps/sh/bits/fenv.h: ... here.
12372 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12374 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12376 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12379 hypotf multiarch implementations.
12380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12383 multiarch hypot for PPC64.
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12387 multiarch hypotf for PPC64.
12389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12390 modff multiarch implementations.
12391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12394 multiarch modf for PPC64.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12398 multiarch modff for PPC64.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12401 and logl multiarch implementations.
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12405 multiarch logb for PPC64.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12409 multiarch logb for PPC64.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12413 multiarch logb for PPC64.
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12416 isinff multiarch implementation.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12421 multiarch isinf for PPC64.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12425 multiarch isinff for PPC64.
12427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12428 finitef multiarch implementation.
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12433 multiarch finite for PPC64.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12437 multiarch finitef for PPC64.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12440 lrint multiarch implementation.
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12445 multiarch llrint for PPC64.
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12447 multiarch lrint for PPC64.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12450 copysignf multiarch implementation.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12456 multiarch copysign for PPC64.
12457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12458 multiarch copysignf for PPC64.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12461 multiarch implementation.
12462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12470 multiarch llround for PPC64.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12472 multiarch trunc for PPC64.
12473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12474 multiarch truncf for PPC64.
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12477 multiarch implementation.
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12486 multiarch llround for PPC64.
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12488 multiarch round for PPC64.
12489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12490 multiarch roundf for PPC64.
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12493 multiarch implementation.
12494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12502 multiarch llround for PPC64.
12503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12504 multiarch floor for PPC64.
12505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12506 multiarch floorf for PPC64.
12508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12509 multiarch implementation.
12510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12518 multiarch llround for PPC64.
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12520 multiarch ceil for PPC64.
12521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12522 multiarch ceilf for PPC64.
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12525 multiarch implementation.
12526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12533 multiarch llround for PPC64.
12534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12535 multiarch lround for PPC64.
12537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12538 multiarch implementation.
12539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12546 multiarch isnan for PPC64.
12547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12548 multiarch isnanf for PPC64.
12550 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12551 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12552 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12553 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12554 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12557 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12558 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12563 multiarch implementations.
12564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12565 (__libc_ifunc_impl_list): Likewise.
12566 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12567 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12569 multiarch stpcpy for PPC64.
12571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12572 multiarch implementations.
12573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12574 (__libc_ifunc_impl_list): Likewise.
12575 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12576 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12577 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12578 multiarch strcpy for PPC64.
12580 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12581 redefine function name.
12582 (_wordcopy_fwd_dest_aligned): Likewise.
12583 (_wordcopy_bwd_aligned): Likewise.
12584 (_wordcopy_bwd_dest_aligned): Likewise.
12585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12586 multiarch implementations.
12587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12588 (__libc_ifunc_impl_list): Likewise.
12589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12590 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12591 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12593 multiarch wcscpy for PPC64.
12595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12596 multiarch implementations.
12597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12598 (__libc_ifunc_impl_list): Likewise.
12599 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12600 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12602 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12603 multiarch wcscpy for PPC64.
12605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12606 multiarch implementations.
12607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12608 (__libc_ifunc_impl_list): Likewise.
12609 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12613 multiarch wcsrchr for PPC64.
12615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12616 multiarch implementations.
12617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12618 (__libc_ifunc_impl_list): Likewise.
12619 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12620 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12621 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12622 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12623 multiarch wcschr for PPC64.
12625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12626 multiarch implementations.
12627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12628 (__libc_ifunc_impl_list): Likewise.
12629 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12630 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12632 multiarch strchrnul for PPC64.
12634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12637 (__libc_ifunc_impl_list): Likewise.
12638 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12639 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12640 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12641 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12647 (__libc_ifunc_impl_list): Likewise.
12648 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12649 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12650 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12651 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12655 multiarch implementations.
12656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12657 (__libc_ifunc_impl_list): Likewise.
12658 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12659 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12660 strncasecmp for PPC64.
12661 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12662 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12663 multiarch strncasecmp_l for PPC64.
12665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12666 multiarch implementations.
12667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12668 (__libc_ifunc_impl_list): Likewise.
12669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12671 multiarch strcasecmp for PPC64.
12672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12674 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12675 multiarch strcasecmp_l for PPC64.
12677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12680 (__libc_ifunc_impl_list): Likewise.
12681 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12682 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12683 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12689 (__libc_ifunc_impl_list): Likewise.
12690 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12691 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12692 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12698 (__libc_ifunc_impl_list): Likewise.
12699 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12700 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12701 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12702 rawmemrchr for PPC64.
12704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12707 (__libc_ifunc_impl_list): Likewise.
12708 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12709 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12710 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12716 (__libc_ifunc_impl_list): Likewise.
12717 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12718 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12725 (__libc_ifunc_impl_list): Likewise.
12726 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12727 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12728 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12731 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12732 avoid cretion of __bzero symbol.
12733 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12735 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12737 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12740 multiarch implementations.
12741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12742 (__libc_ifunc_impl_list): Likewise.
12743 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12744 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12745 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12746 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12748 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12749 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12750 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12751 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12752 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12754 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12756 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12760 (__libc_ifunc_impl_list): Likewise.
12761 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12762 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12763 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12764 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12768 multiarch for POWER/PPC64.
12769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12770 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12780 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12781 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12782 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12783 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12784 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12785 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12786 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12787 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12788 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12789 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12790 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12791 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12792 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12793 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12794 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12803 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12807 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12809 * benchtests/Makefile (bench): Add exp2 and log2.
12810 (LDLIBS-bench-exp2): Add -lm.
12811 (LDLIBS-bench-log2): Likewise.
12812 * benchtests/exp2-inputs: New inputs file.
12813 * benchtests/log2-inputs: New inputs file.
12814 * benchtests/log-inputs: Add new inputs.
12815 * benchtests/tan-inputs: Likewise.
12817 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12819 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12821 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12822 (csloww2): ... from here.
12824 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12825 instead of structures.
12826 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12827 (POLYNOMIAL): Likewise.
12828 (TAYLOR_SLOW): Likewise.
12834 (sloww1); Likewise.
12835 (sloww2): Likewise.
12836 (bsloww1): Likewise.
12837 (bsloww2): Likewise.
12838 (cslow2): Likewise.
12839 (csloww): Likewise.
12840 (csloww1): Likewise.
12841 (csloww2): Likewise.
12843 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12845 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12846 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12847 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12848 * malloc/hooks.c (realloc_check): Likewise.
12850 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12851 * malloc/arena.c: Remove PER_THREAD conditional.
12852 [!PER_THREAD]: Remove code.
12853 (ptmalloc_unlock_all2): Likewise.
12854 (ptmalloc_init): Likewise.
12855 (_int_new_arena): Likewise.
12856 (arena_get2): Likewise.
12857 * malloc/hooks.c (__malloc_get_state): Likewise.
12858 (__malloc_set_state): Likewise.
12859 * malloc/malloc.c: Likewise.
12860 (struct malloc_state): Likewise.
12861 (struct malloc_par): Likewise.
12862 (__libc_realloc): Likewise.
12863 (__libc_mallopt): Likewise.
12865 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12867 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12869 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12871 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12872 macro to a function. Check for zero perturb_byte.
12873 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12875 * malloc/malloc.c: (force_reg): Remove.
12876 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12877 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12878 force_reg by atomic_forced_read.
12879 * malloc/arena.c (ptmalloc_init): Likewise.
12880 * malloc/hooks.c (top_check): Likewise.
12882 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12886 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12890 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12892 * math/auto-libm-test-in: Add tests of lgamma.
12893 * math/auto-libm-test-out: Regenerated.
12894 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12895 (M_LOG_2_SQRT_PIl): Likewise.
12896 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12897 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12899 (func_calc_desc): Add mpfr_f_f1 union field.
12900 (ARGS1): New macro.
12908 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12909 (test_functions): Add lgamma.
12910 (calc_generic_results): Handle mpfr_f_f1.
12911 * sysdeps/i386/fpu/libm-test-ulps: Update.
12912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12916 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12917 __mpn_add_n for PowerPC64/POWER7.
12918 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12919 __mpn_sub_n for PowerPC64/POWER7.
12921 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12922 __mpn_addmul_1 for PowerPC64.
12923 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12924 __mpn_submul_1 for PowerPC64.
12925 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12927 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12930 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12933 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12935 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12937 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12939 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12940 add multiarch folders.
12941 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12942 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12943 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12944 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12945 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12946 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12947 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12948 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12949 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12950 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12951 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12960 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12966 multiarch __ieee754_hypot for PowerPC32.
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12972 multiarch __ieee754_hypotf for PowerPC32.
12974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12975 long_double_symbol only if __logbl is defined.
12976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12977 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12979 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12981 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12983 path for implementation.
12984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12987 logb, and logbl multiarch implementations for PowerPC32.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12993 multiarch logb for PowerPC32.
12994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12999 multiarch logbf for PowerPC32.
13000 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13004 multiarch logbl implementation for PowerPC32.
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13007 and modff multiarch implementations.
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13013 multiarch modf for PowerPC32.
13014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13019 multiarch modff for PowerPC32.
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13022 and lrintf multiarch implementations.
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13028 multiarch lrint for PowerPC32.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13030 file: multiarch lrintf for PowerPC32.
13032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13033 and lroundf multiarch implementations.
13034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13041 multiarch lround for PowerPC32.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13043 file: multiarch lroundf for PowerPC32.
13045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13046 copysign and copysignf multiarch implementations.
13047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13052 file: multiarch copysign for PowerPC32.
13053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13054 file: multiarch copysignf for PowerPC32.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13057 and truncf multiarch implementations.
13058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13063 multiarch trunc for PowerPC32.
13064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13069 multiarch truncf for PowerPC32.
13071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13072 and roundf multiarch implementations.
13073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13078 multiarch round for PowerPC32.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13084 multiarch roundf for PowerPC32.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13087 and floorf multiarch implementations.
13088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13093 multiarch floor for PowerPC32.
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13099 multiarch floorf for PowerPC32.
13101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13102 and ceilf multiarch implementations.
13103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13108 multiarch ceil for PowerPC32.
13109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13114 multiarch ceilf for PowerPC32.
13116 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13118 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13119 FINITEF is defined.
13120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13121 and finitef multiarch implementations.
13122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13127 multiarch finite for PowerPC32.
13128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13131 file: multiarch finitef for PowerPC32.
13133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13134 and isinff multiarch implementations.
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13140 multiarch isinf for PowerPC32.
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13144 multiarch isinff for PowerPC32.
13146 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13147 alias when __isnan is defined.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13149 and isnanf multiarch implementations.
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13159 multiarch isnan for PowerPC32.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13165 multiarch isnanf for PowerPC32.
13167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13168 and sqrtf multiarch implementations.
13169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13174 multiarch sqrt for PowerPC32.
13175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13180 multiarch sqrtf for PowerPC32.
13182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13183 and llroundf multiarch implementations.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13191 file: multiarch llround for PowerPC32.
13192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13193 file: multiarch llroundf for PowerPC32.
13195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13196 multiarch PowerPC32 fpu implementations.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13202 multiarch llrint for PowerPC32.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13212 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13219 multiarch wordcopy for PPC32.
13220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13223 (__libc_ifunc_impl_list): Likewise.
13224 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13225 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13226 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13227 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13228 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13229 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13231 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13239 multiarch wcscpy for PPC32.
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13243 (__libc_ifunc_impl_list): Likewise.
13244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13245 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13246 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13247 sysdeps/powerpc/power6/wcscpy.c.
13249 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13257 multiarch wcsrchr for PPC32.
13258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13261 (__libc_ifunc_impl_list): Likewise.
13262 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13263 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13264 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13265 sysdeps/powerpc/power6/wcsrchr.c.
13267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13273 multiarch wcschr for PPc32.
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13277 (__libc_ifunc_impl_list): Likewise.
13278 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13279 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13280 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13281 sysdeps/powerpc/power6/wcschr.c.
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13287 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13288 file: multiarch strchr for PPC32.
13289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13292 (__libc_ifunc_impl_list): Likewise.
13294 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13296 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13301 multiarch strchrnul for PPC32.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13305 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13310 multiarch strncasecmp for PPC32.
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13314 multiarch strncasecmp_l for PPC32.
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13316 strncasecmp multiarch objects.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13318 (__libc_ifunc_impl_list): Likewise.
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13323 multiarch strncasecmp for PPC32.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13327 multiarch strcasecmp_l for PPC32.
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13331 (__libc_ifunc_impl_list): Likewise.
13333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13338 multiarch strncmp for PPC32.
13339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13342 (__libc_ifunc_impl_list): Likewise.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13345 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13348 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13352 (__libc_ifunc_impl_list): Likewise.
13354 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13362 (__libc_ifunc_impl_list): Likewise.
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13369 multiarch rawmemchr for PPC32.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13373 (__libc_ifunc_impl_list): Likewise.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13380 file: memrchr multiarch for PPC32.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13384 (__libc_ifunc_impl_list): Likewise.
13386 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13391 multiarch memchr for PPC32.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13395 (__libc_ifunc_impl_list): Likewise.
13397 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13403 file: multiarch mempcpy for PPC32.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13407 (__libc_ifunc_impl_list): Likewise.
13409 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13413 multiarch bzero for PPC32.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13419 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13420 file: multiarch memset for PPC32.
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13423 memset multiarch objects.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13425 (__libc_ifunc_impl_list): Likewise.
13427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13436 (__libc_ifunc_impl_list): Likewise.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13447 multiarch memcpy for PPC32.
13448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13451 (__libc_ifunc_impl_list): Likewise.
13453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13454 support multiarch for POWER/PPC32.
13455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13459 Implies file to make multiarch folder appers before the fpu and
13460 default folder for power4 configuration.
13462 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13464 * scripts/bench.pl: Append volatile keyword to type.
13466 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13468 * sysdeps/sh/sotruss-lib.c: New file.
13469 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13471 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13475 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13478 * math/w_tgamma.c: Include <errno.h>.
13479 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13480 * math/w_tgammaf.c: Include <errno.h>.
13481 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13482 * math/w_tgammal.c: Include <errno.h>.
13483 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13484 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13485 underflow. Add more tgamma tests.
13486 * math/auto-libm-test-out: Regenerated.
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13490 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13491 sin, sinh, tan, tanh, tgamma, y0 and y1.
13492 * math/auto-libm-test-out: Regenerated.
13493 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13494 (TEST_COND_x86): Likewise.
13495 (M_E2l): Remove macro.
13497 (M_2_SQRT_PIl): Likewise.
13498 (M_SQRT_PIl): Likewise.
13499 (M_1_DIV_El): Likewise.
13500 (log_test_data): Use AUTO_TESTS_f_f.
13501 (log10_test_data): Likewise.
13502 (log1p_test_data): Likewise.
13503 (log2_test_data): Likewise.
13504 (sin_test_data): Likewise.
13505 (sin_tonearest_test_data): Likewise.
13506 (sin_towardzero_test_data): Likewise.
13507 (sin_downward_test_data): Likewise.
13508 (sin_upward_test_data): Likewise.
13509 (sinh_test_data): Likewise.
13510 (sinh_tonearest_test_data): Likewise.
13511 (sinh_towardzero_test_data): Likewise.
13512 (sinh_downward_test_data): Likewise.
13513 (sinh_upward_test_data): Likewise.
13514 (tan_test_data): Likewise.
13515 (tan_tonearest_test_data): Likewise.
13516 (tan_towardzero_test_data): Likewise.
13517 (tan_downward_test_data): Likewise.
13518 (tan_upward_test_data): Likewise.
13519 (tanh_test_data): Likewise.
13520 (tgamma_test_data): Likewise.
13521 (y0_test_data): Likewise.
13522 (y1_test_data): Likewise.
13523 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13524 (special_real_inputs): Add pi/4.
13525 * sysdeps/i386/fpu/libm-test-ulps: Update.
13526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13528 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13531 "longjmp_target" static probes.
13532 (__longjmp): Rename to __longjmp_symbol.
13533 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13534 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13535 on which longjmp to generate.
13536 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13539 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13540 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13541 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13543 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13544 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13546 __longjmp_symbol based on which __longjmp to generate.
13547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13549 (setjmp): Rename to setjmp_symbol.
13550 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13551 (_setjmp): Rename to _setjmp_symbol.
13552 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13553 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13554 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13555 which setjmp to generate.
13556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13557 "longjmp_target" static probes.
13559 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13561 * benchtests/README: Add note about output arguments.
13562 * benchtests/bench-sincos.c: Remove file.
13563 * benchtests/sincos-inputs: New file.
13564 * scripts/bench.pl: Identify output arguments and define
13565 static variables for them.
13567 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13570 * Makefile (INSTALL): Add install-plain.texi as the primary
13572 * manual/install-plain.texi: New file.
13573 * manual/install.texi: Include node directive only for
13574 non-plaintext output.
13576 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13578 * stdlib/longlong.h: Update from GCC.
13582 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13583 * math/w_j0f.c (y0f): Likewise.
13584 * math/w_j0l.c (__y0l): Likewise.
13585 * math/w_j1.c (y1): Likewise.
13586 * math/w_j1f.c (y1f): Likewise.
13587 * math/w_j1l.c (__y1l): Likewise
13588 * math/w_jn.c (yn): Likewise.
13589 * math/w_jnf.c (ynf): Likewise.
13590 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13591 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13592 value for Bessel function domain errors outside _SVID_ mode.
13593 Adjust sign of return value for yn (negative integer, 0).
13594 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13595 by zero in return for negative x and set sign appropriately for
13597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13598 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13599 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13600 expectations in error cases.
13601 (y1_test_data): Likewise.
13602 (yn_test_data): Likewise.
13603 * sysdeps/i386/fpu/libm-test-ulps: Update.
13604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13606 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13608 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13609 "64" to "64-v1". Add "64-v2".
13610 (abi-64-options): Rename to ...
13611 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13612 (abi-64-condition): Rename to ...
13613 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13614 (abi-64-ld-soname): Rename to ...
13615 (abi-64-v1-ld-soname): ... this.
13616 (abi-64-v2-options): Define.
13617 (abi-64-v2-condition): Likewise.
13618 (abi-64-v2-ld-soname): Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13620 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13625 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13626 Alan Modra <amodra@gmail.com>
13628 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13629 New versions for use with the ELFv2 ABI.
13630 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13631 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13633 (struct La_ppc64v2_retval): Likewise.
13634 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13635 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13636 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13637 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13638 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13640 Do not save or restore CR.
13641 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13642 (_dl_profile_resolve): Do no save or restore CR. Support extended
13643 return values for ELFv2 ABI. Fix location of FPR return registers.
13644 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13645 updated values for _CALL_ELF == 2.
13646 (La_regs, La_retval, int_retval): Likewise.
13648 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13650 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13651 (FRAME_MIN_SIZE_PARM): Likewise.
13652 (FRAME_BACKCHAIN): Likewise.
13653 (FRAME_CR_SAVE): Likewise.
13654 (FRAME_LR_SAVE): Likewise.
13655 (FRAME_TOC_SAVE): Likewise.
13656 (FRAME_PARM_SAVE): Likewise.
13657 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13658 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13659 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13660 (call_mcount_parm_offset): New macro.
13661 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13662 (PROF): Use symbolic stack frame offsets.
13663 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13665 Redefine in terms of FRAME_MIN_SIZE.
13666 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13667 (_dl_profile_resolve): Likewise. Update comment.
13668 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13669 symbols stack frame offsets.
13670 (__sigsetjmp): Likewise.
13671 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13672 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13673 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13674 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13677 (FRAME_BACKCHAIN): Remove.
13678 (FRAME_CR_SAVE): Likewise.
13679 (FRAME_LR_SAVE): Likewise.
13680 (FRAME_COMPILER_DW): Likewise.
13681 (FRAME_LINKER_DW): 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13688 (CHECK_SP): Use symbolic stack frame offsets.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13690 zone" instead of caller's parameter save area for temp storage.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13692 Likewise. Also, use symbolic stack frame offsets.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13694 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13695 our own stack frame instead of the caller's.
13696 (__socket): Use symbolic stack frame offsets.
13698 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13699 Alan Modra <amodra@gmail.com>
13701 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13703 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13704 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13705 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13707 (elf_machine_fixup_plt): Call it.
13708 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13710 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13712 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13713 r2 before calling target.
13715 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13716 Alan Modra <amodra@gmail.com>
13718 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13719 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13720 versions of macros to support ELFv2 ABI.
13721 (LOCALENTRY): New macro.
13722 (ENTRY, EALIGN): Use it.
13723 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13724 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13725 fall through into ENTRY entry point.
13726 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13727 Only define if _CALL_ELF != 2.
13729 (elf_machine_matches_host): Verify ABI version matches.
13730 (RTLD_START): Use LOCALENTRY.
13731 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13732 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13733 (PLT_ENTRY_WORDS): New macro.
13734 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13735 (elf_machine_runtime_setup): Support ELFv2 ABI.
13736 (elf_machine_fixup_plt): Likewise.
13737 (elf_machine_plt_conflict): Likewise.
13738 (resolve_ifunc): Likewise.
13739 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13743 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13745 (makecontext): Support ELFv2 ABI.
13746 * elf/elf.h (EF_PPC64_ABI): Define.
13748 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13750 * sysdeps/powerpc/powerpc64/sysdep.h
13751 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13752 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13753 (ENTRY) [ASSEMBLER]: ... but instead here ...
13754 (EALIGN) [ASSEMBLER]: ... and here.
13755 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13756 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13757 (ENTRY_2) [!ASSEMBLER]: Use it.
13758 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13759 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13761 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13762 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13764 Use PPC64_LOAD_FUNCPTR.
13766 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13768 2013-12-04 Alan Modra <amodra@gmail.com>
13770 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13771 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13772 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13773 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13776 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13777 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13778 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13779 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13780 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13782 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13785 (__makecontext): Fix incorrect CFI when backtracing out of
13786 context created via makecontext.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13788 (__setcontext): Fix incorrect CFI during switch to new context.
13789 (__novec_setcontext): Likewise.
13791 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13794 * time/strptime_l.c (__strptime_internal): Allow modifiers
13796 * time/tst-strptime.c (day_tests): Add testcase.
13798 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13800 * scripts/bench.pl: Skip over blank lines.
13802 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13805 * manual/time.texi (Calendar Time): Clarify what timezone functions
13808 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13812 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13814 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13816 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13817 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13818 * debug/memset_chk.c (__memset_chk): Likewise.
13819 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13820 * debug/strncpy_chk.c: Likewise.
13822 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13826 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13827 (__ieee754_exp): For possibly underflowing results, check size of
13828 result and force underflow exception if required.
13829 * math/auto-libm-test-in: Add more tests of exp.
13830 * math/auto-libm-test-out: Regenerated.
13831 * sysdeps/i386/fpu/libm-test-ulps: Update.
13832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13835 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13836 * math/w_exp2f.c (__exp2f): Likewise.
13837 * math/w_exp2l.c (__exp2l): Likewise.
13838 * math/auto-libm-test-in: Do not allow missing errno on exp2
13840 * math/auto-libm-test-out: Regenerated.
13842 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13846 handle filename validation.
13847 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13850 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13854 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13855 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13857 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13858 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13859 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13861 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13863 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13864 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13865 Add more erfc tests.
13866 * math/auto-libm-test-out: Regenerated.
13867 * sysdeps/i386/fpu/libm-test-ulps: Update.
13868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13871 exp2, expm1, j0 and j1.
13872 * math/auto-libm-test-out: Regenerated.
13873 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13874 (erfc_test_data): Likewise.
13875 (exp_test_data): Likewise.
13876 (exp_tonearest_test_data): Likewise.
13877 (exp_towardzero_test_data): Likewise.
13878 (exp_downward_test_data): Likewise.
13879 (exp_upward_test_data): Likewise.
13880 (exp10_test_data): Likewise.
13881 (exp2_test_data): Likewise.
13882 (expm1_test_data): Likewise.
13883 (j0_test_data): Likewise.
13884 (j1_test_data): Likewise.
13885 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13886 (input_flag_type): Add flag_xfail_rounding.
13887 (input_flags): Add xfail-rounding.
13888 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13889 (output_for_one_input_case): Handle flag_xfail_rounding.
13890 * sysdeps/i386/fpu/libm-test-ulps: Update.
13891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13893 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13896 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13899 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13902 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13903 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13904 (STAP_PROBE0): New macro.
13905 (STAP_PROBE1): Likewise.
13906 (STAP_PROBE2): Likewise.
13907 (STAP_PROBE3): Likewise.
13908 (STAP_PROBE4): Likewise.
13910 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13912 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13914 2013-12-02 Steve Ellcey <sellcey@mips.com>
13916 * benchtests/Makefile (bench): Add sqrt.
13917 (LDLIBS-bench-sqrt): New.
13918 * benchtests/sqrt-input: New.
13920 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13922 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13923 (GAIH_EAI): Likewise.
13924 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13925 (gaih_inet): Likewise.
13926 (getaddrinfo): Don't use GAIH_EAI.
13928 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13929 (struct gaih): Remove definition.
13931 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13933 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13934 Use HERRNOP directly.
13936 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13940 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13942 * math/gen-auto-libm-tests.c (test_functions): Add more
13943 single-argument functions.
13944 (special_fill_pi_2): New function.
13945 (special_fill_minus_pi_2): Likewise.
13946 (special_fill_pi_6): Likewise.
13947 (special_fill_minus_pi_6): Likewise.
13948 (special_fill_pi_3): Likewise.
13949 (special_fill_2pi_3): Likewise.
13950 (special_fill_e): Likewise.
13951 (special_fill_1_e): Likewise.
13952 (special_fill_e_minus_1): Likewise.
13953 (special_real_inputs): Add more special inputs.
13954 (output_for_one_input_case): Do not require ERANGE on underflow to
13955 zero if round-to-nearest result does not underflow to zero, unless
13956 exact results required.
13957 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13958 atan, atanh, cbrt, cos and cosh.
13959 * math/auto-libm-test-out: Regenerated.
13960 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13961 (acos_tonearest_test_data): Likewise.
13962 (acos_towardzero_test_data): Likewise.
13963 (acos_downward_test_data): Likewise.
13964 (acos_upward_test_data): Likewise.
13965 (acosh_test_data): Likewise.
13966 (asin_test_data): Likewise.
13967 (asin_tonearest_test_data): Likewise.
13968 (asin_towardzero_test_data): Likewise.
13969 (asin_upward_test_data): Likewise.
13970 (asinh_test_data): Likewise.
13971 (atan_test_data): Likewise.
13972 (atanh_test_data): Likewise.
13973 (cbrt_test_data): Likewise.
13974 (cos_test_data): Likewise.
13975 (cos_tonearest_test_data): Likewise.
13976 (cos_towardzero_test_data): Likewise.
13977 (cos_downward_test_data): Likewise.
13978 (cos_upward_test_data): Likewise.
13979 (cosh_test_data): Likewise.
13980 (cosh_tonearest_test_data): Likewise.
13981 (cosh_towardzero_test_data): Likewise.
13982 (cosh_downward_test_data): Likewise.
13983 (cosh_upward_test_data): Likewise.
13984 * sysdeps/i386/fpu/libm-test-ulps: Update.
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13987 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13990 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13991 * math/w_exp10f.c (__exp10f): Likewise.
13992 * math/w_exp10l.c (__exp10l): Likewise.
13993 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13994 errno settings in existing tests.
13997 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13998 precision control set to double precision.
13999 * sysdeps/i386/fpu/w_sqrt.c: New file.
14000 * math/auto-libm-test-in: Add more tests.
14001 * math/auto-libm-test-out: Update.
14003 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14004 (sqrt_test_tonearest): New function.
14005 (sqrt_towardzero_test_data): New variable.
14006 (sqrt_test_towardzero): New function.
14007 (sqrt_downward_test_data): New variable.
14008 (sqrt_test_downward): New function.
14009 (sqrt_upward_test_data): New variable.
14010 (sqrt_test_upward): New function.
14011 (main): Call the new functions.
14013 * math/gen-auto-libm-tests.c: New file.
14014 * math/auto-libm-test-in: Likewise.
14015 * math/auto-libm-test-out: New generated file.
14016 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14018 (%beautify): Add generated representations of zero.
14019 (top level): Set $auto_input and call parse_auto_input.
14020 (beautify): Remove trailing "f" from hex float constants.
14021 (parse_args): Handle XFAIL_TEST.
14022 (convert_condition): New function.
14023 (or_value): Likewise.
14024 (or_cond_value): Likewise.
14025 (generate_testfile): Handle AUTO_TESTS_* lines.
14026 (parse_auto_input): New function.
14027 * math/libm-test.inc (XFAIL_TEST): New macro.
14028 (ERRNO_UNCHANGED): Update value.
14029 (ERRNO_EDOM): Likewise.
14030 (ERRNO_ERANGE): Likewise.
14031 (IGNORE_RESULT): Likewise.
14032 (TEST_COND_flt_32): New macro.
14033 (TEST_COND_dbl_64): Likewise.
14034 (TEST_COND_ldbl_96_intel): Likewise.
14035 (TEST_COND_ldbl_96_m68k): Likewise.
14036 (TEST_COND_ldbl_128): Likewise.
14037 (TEST_COND_ldbl_128ibm): Likewise.
14038 (TEST_COND_long32): Likewise.
14039 (TEST_COND_long64): Likewise.
14040 (TEST_COND_before_rounding): Likewise.
14041 (TEST_COND_after_rounding): Likewise.
14042 (enable_test): Handle XFAIL_TEST flag.
14043 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14044 with finite results.
14045 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14046 auto-libm-test-out.
14048 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14049 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14052 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14053 __tls_get_addr_internal instead of __tls_get_offset in order to
14054 avoid GOT pointer dependency. Make rtld export
14055 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14056 __tls_get_addr since we are a __tls_get_offset platform.
14057 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14058 GOT pointer being set up before.
14059 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14061 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14063 * manual/math.texi (Errors in Math Functions): Document accuracy
14067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14071 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14073 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14077 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14078 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14084 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14085 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14086 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14087 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14088 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14090 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14092 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14094 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14095 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14096 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14097 atomic-feupdateenv and flt-rounds.
14098 * sysdeps/powerpc/nofpu/Versions (libc): Add
14099 __atomic_feholdexcept, __atomic_feclearexcept,
14100 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14101 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14102 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14103 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14104 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14109 * manual/arith.texi (FP Exceptions): Document that exceptions may
14110 not be raised when matherr is used.
14111 (Math Error Reporting): Document overflow in directed rounding
14112 modes. Document that errno may not be set when finite values are
14113 returned on overflow. Document intent to set errno on underflow
14114 only for underflow to zero.
14117 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14118 round-to-nearest then adjust result for other rounding modes.
14119 * include/fenv.h (fegetround): Use libm_hidden_proto.
14120 * math/fegetround.c (fegetround): Use libm_hidden_def.
14121 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14122 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14123 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14126 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14127 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14128 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14129 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14131 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14134 * nss/Versions (libnss_files): Add
14135 _nss_files_gethostbyname3_r.
14136 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14138 (HOST_DB_LOOKUP): Remove macro.
14139 (_nss_files_gethostbyname_r): Implement function without the
14140 HOST_DB_LOOKUP macro.
14141 (_nss_files_gethostbyname2_r): Likewise.
14143 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14145 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14147 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14149 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14150 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14153 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14156 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14157 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14158 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14159 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14160 __fe_nomask_env_priv and attribute_hidden.
14161 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14162 (libc_feupdateenv_test_ppc): Likewise.
14163 (libc_feresetround_ppc): Likewise.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14165 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14166 compat_symbol macro.
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14168 (__fe_nomask_env): Likewise.
14169 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14171 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14173 * string/Makefile: Remove ifunc tests.
14174 * string/test-string.h: Define TEST_IFUNC.
14175 * string/test-bcopy-ifunc.c: Remove.
14176 * string/test-bzero-ifunc.c: Likewise.
14177 * string/test-memccpy-ifunc.c: Likewise.
14178 * string/test-memchr-ifunc.c: Likewise.
14179 * string/test-memcmp-ifunc.c: Likewise.
14180 * string/test-memcpy-ifunc.c: Likewise.
14181 * string/test-memmem-ifunc.c: Likewise.
14182 * string/test-memmove-ifunc.c: Likewise.
14183 * string/test-mempcpy-ifunc.c: Likewise.
14184 * string/test-memrchr-ifunc.c: Likewise.
14185 * string/test-memset-ifunc.c: Likewise.
14186 * string/test-rawmemchr-ifunc.c: Likewise.
14187 * string/test-stpcpy-ifunc.c: Likewise.
14188 * string/test-stpncpy-ifunc.c: Likewise.
14189 * string/test-strcasecmp-ifunc.c: Likewise.
14190 * string/test-strcasestr-ifunc.c: Likewise.
14191 * string/test-strcat-ifunc.c: Likewise.
14192 * string/test-strchr-ifunc.c: Likewise.
14193 * string/test-strchrnul-ifunc.c: Likewise.
14194 * string/test-strcmp-ifunc.c: Likewise.
14195 * string/test-strcpy-ifunc.c: Likewise.
14196 * string/test-strcspn-ifunc.c: Likewise.
14197 * string/test-strlen-ifunc.c: Likewise.
14198 * string/test-strncasecmp-ifunc.c: Likewise.
14199 * string/test-strncat-ifunc.c: Likewise.
14200 * string/test-strncmp-ifunc.c: Likewise.
14201 * string/test-strncpy-ifunc.c: Likewise.
14202 * string/test-strnlen-ifunc.c: Likewise.
14203 * string/test-strpbrk-ifunc.c: Likewise.
14204 * string/test-strrchr-ifunc.c: Likewise.
14205 * string/test-strspn-ifunc.c: Likewise.
14206 * string/test-strstr-ifunc.c: Likewise.
14208 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14210 * benchtests/Makefile: Remove ifunc tests.
14211 * benchtests/bench-string.h: Define TEST_IFUNC.
14212 * benchtests/bench-bcopy-ifunc.c: Remove.
14213 * benchtests/bench-bzero-ifunc.c: Likewise.
14214 * benchtests/bench-memccpy-ifunc.c: Likewise.
14215 * benchtests/bench-memchr-ifunc.c: Likewise.
14216 * benchtests/bench-memcmp-ifunc.c: Likewise.
14217 * benchtests/bench-memcpy-ifunc.c: Likewise.
14218 * benchtests/bench-memmem-ifunc.c: Likewise.
14219 * benchtests/bench-memmove-ifunc.c: Likewise.
14220 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14221 * benchtests/bench-memrchr-ifunc.c: Likewise.
14222 * benchtests/bench-memset-ifunc.c: Likewise.
14223 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14224 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14225 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14226 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14227 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14228 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14229 * benchtests/bench-strcat-ifunc.c: Likewise.
14230 * benchtests/bench-strchr-ifunc.c: Likewise.
14231 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14232 * benchtests/bench-strcmp-ifunc.c: Likewise.
14233 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14234 * benchtests/bench-strcpy-ifunc.c: Likewise.
14235 * benchtests/bench-strcspn-ifunc.c: Likewise.
14236 * benchtests/bench-strlen-ifunc.c: Likewise.
14237 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14238 * benchtests/bench-strncat-ifunc.c: Likewise.
14239 * benchtests/bench-strncmp-ifunc.c: Likewise.
14240 * benchtests/bench-strncpy-ifunc.c: Likewise.
14241 * benchtests/bench-strnlen-ifunc.c: Likewise.
14242 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14243 * benchtests/bench-strrchr-ifunc.c: Likewise.
14244 * benchtests/bench-strsep-ifunc.c: Likewise.
14245 * benchtests/bench-strspn-ifunc.c: Likewise.
14246 * benchtests/bench-strstr-ifunc.c: Likewise.
14248 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14250 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14252 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14254 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14255 * rt/aio.h: Likewise.
14256 * sysdeps/gnu/bits/utmp.h: Likewise.
14257 * sysdeps/gnu/bits/utmpx.h: Likewise.
14258 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14259 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14260 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14261 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14262 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14263 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14264 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14265 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14266 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14267 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14268 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14269 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14270 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14272 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14273 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14274 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14275 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14276 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14277 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14278 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14279 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14280 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14281 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14282 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14285 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14286 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14288 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14289 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14290 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14291 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14292 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14293 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14294 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14296 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14297 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14298 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14299 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14301 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14304 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14305 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14307 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14309 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14310 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14313 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14316 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14317 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14318 (__fesetround): Remove define.
14319 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14320 rounding and exceptions handling.
14321 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14322 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14323 (__fe_nomask_env): Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14325 __fegetround instead of fegetround.
14326 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14329 2013-11-21 Roland McGrath <roland@hack.frob.com>
14331 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14334 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14336 2013-11-21 Meador Inge <meadori@codesourcery.com>
14339 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14340 (encrypt_r): Likewise.
14341 * malloc/obstack.h (obstack_free): Likewise.
14342 * posix/unistd.h (encrypt): Likewise.
14344 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14346 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14347 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14348 DL_CALL_DT_FINI() that call the functions directly.
14349 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14350 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14351 * elf/dl-fini.c: Likewise.
14353 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14355 * malloc/hooks.c (memalign_check): Add alignment rounding.
14356 * malloc/malloc.c (_mid_memalign): New function.
14357 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14358 Implement by calling _mid_memalign.
14359 * manual/probes.texi (Memory Allocation Probes): Remove
14360 memory_valloc_retry and memory_pvalloc_retry.
14362 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14364 * locale/programs/locarchive.c (open_archive): Add const
14365 qualifier to ARCHIVEFNAME and copy default fname to
14369 * libio/tst-widetext.input: Rename Oriya to Odia.
14370 * locale/iso-639.def: Likewise.
14372 * manual/probes.texi (Mathematical Function Probes): Add
14373 documentation for sin, cos, asin and acos probes.
14374 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14375 (__sin32): Add slowasin probe.
14376 (__cos32): Add slowacos probe.
14377 (__mpsin): Add slowsin probe.
14378 (__mpcos): Add slowcos probe.
14380 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14383 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14384 thread-local __sim_exceptions_thread and global
14385 __sim_exceptions_global.
14386 (__sim_disabled_exceptions): Change to thread-local
14387 __sim_disabled_exceptions_thread and global
14388 __sim_disabled_exceptions_global.
14389 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14390 and global __sim_round_mode_global.
14391 (__simulate_exceptions): Use thread-local floating-point state and
14392 set global state from it as needed.
14393 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14394 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14395 __sim_round_mode_thread.
14396 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14397 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14398 and global __sim_exceptions_global.
14399 (__sim_disabled_exceptions): Change to thread-local
14400 __sim_disabled_exceptions_thread and global
14401 __sim_disabled_exceptions_global.
14402 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14403 and global __sim_round_mode_global.
14404 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14405 (SIM_SET_GLOBAL): Likewise.
14406 * sysdeps/powerpc/soft-fp/sfp-machine.h
14407 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14408 __sim_round_mode_thread.
14409 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14410 __sim_disabled_exceptions_thread.
14411 (__sim_exceptions): Change to __sim_exceptions_thread.
14412 (__sim_disabled_exceptions): Change to
14413 __sim_disabled_exceptions_thread.
14414 (__sim_round_mode): Change to __sim_round_mode_thread.
14415 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14416 thread-local floating-point state and set global state from it as
14418 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14419 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14420 (__sim_disabled_exceptions): Remove extern declaration.
14421 (feenableexcept): Use thread-local floating-point state and set
14422 global state from it as needed.
14423 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14424 extern declaration.
14425 (__sim_disabled_exceptions): Likewise.
14426 (__sim_round_mode): Likewise.
14427 (__fegetenv): Use thread-local floating-point state.
14428 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14429 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14430 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14431 floating-point state and set global state from it as needed.
14432 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14433 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14434 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14436 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14437 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14439 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14440 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14441 Use __sim_round_mode_thread.
14442 * math/test-fenv-tls.c: New file.
14443 * math/Makefile (tests): Add test-fenv-tls.
14444 ($(objpfx)test-fenv-tls): Depend on
14445 $(common-objpfx)nptl/libpthread.so.
14447 2013-11-19 Andreas Schwab <schwab@suse.de>
14449 * locale/programs/locale.c (show_info): Decode wordarray elements.
14450 * locale/categories.def (LC_MONETARY): Add element for
14451 _NL_MONETARY_CRNCYSTR.
14452 * locale/C-monetary.c (conversion_rate): New variable.
14453 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14456 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14458 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14459 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14461 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14463 * elf/Makefile (tst-auxv): New test.
14464 * elf/tst-auxv.c: New
14465 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14467 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14469 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14470 (hidden_proto): Caller changed.
14471 (hidden_tls_proto): New macro.
14472 (libc_hidden_tls_proto): Likewise.
14473 (rtld_hidden_tls_proto): Likewise.
14474 (libm_hidden_tls_proto): Likewise.
14475 (libresolv_hidden_tls_proto): Likewise.
14476 (librt_hidden_tls_proto): Likewise.
14477 (libdl_hidden_tls_proto): Likewise.
14478 (libnss_files_hidden_tls_proto): Likewise.
14479 (libnsl_hidden_tls_proto): Likewise.
14480 (libnss_nisplus_hidden_tls_proto): Likewise.
14481 (libutil_hidden_tls_proto): Likewise.
14483 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14486 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14487 (decompose_rpath): Defer expansion to fillin_rpath.
14488 (_dl_init_paths): Pass linkmap to fillin_rpath.
14490 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14492 * benchtests/Makefile: Add strsep.
14493 * benchtests/bench-strsep.c: New file: strsep benchtest.
14494 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14496 2013-11-18 Andreas Schwab <schwab@suse.de>
14498 * locale/programs/locale.c (show_info) [case byte]: Check for
14499 '\377' instead of '\177'.
14500 * locale/C-monetary.c (not_available): Always use "\377".
14501 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14502 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14503 detect unavailable sign_posn locale elements.
14504 * locale/localeconv.c (__localeconv): For grouping and
14505 mon_grouping handle "\177" and "\377" like no grouping.
14506 (INT_ELEM): New macro. Use it to set all numeric members.
14507 * locale/programs/ld-monetary.c (monetary_read)
14508 <tok_mon_grouping>: Normalize single -1 to the empty string.
14509 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14512 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14515 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14516 when we match (nil).
14517 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14519 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14521 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14522 (NO_TEST_INLINE): Update value.
14523 (ERRNO_UNCHANGED): Likewise.
14524 (ERRNO_EDOM): Likewise.
14525 (ERRNO_ERANGE): Likewise.
14526 (IGNORE_RESULT): Likewise.
14527 (check_float_internal): Check signs of NaN results if
14528 TEST_NAN_SIGN used.
14529 (check_complex): Pass TEST_NAN_SIGN flag through to second
14530 check_float_internal call.
14531 (copysign_test_data): Add tests with quiet NaNs as second
14532 argument. Use TEST_NAN_SIGN.
14533 (fabs_test_data): Add test of negative quiet NaN argument. Use
14535 (signbit_test_data): Add tests of quiet NaN argument.
14536 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14538 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14540 (parse_args): Handle function results specified as IGNORE.
14541 * math/libm-test.inc (IGNORE_RESULT): New macro.
14542 (check_float_internal): Do not check numerical result if flag
14544 (check_complex): Pass through IGNORE_RESULT to second
14545 check_float_internal call.
14546 (check_int): Do not check numerical result if flag IGNORE_RESULT
14548 (check_long): Likewise.
14549 (check_bool): Likewise.
14550 (check_longlong): Likewise.
14551 (lrint_test_data): Add tests of infinite and NaN arguments.
14552 (lrint_tonearest_test_data): Likewise.
14553 (lrint_towardzero_test_data): Likewise.
14554 (lrint_downward_test_data): Likewise.
14555 (lrint_upward_test_data): Likewise.
14556 (llrint_test_data): Likewise.
14557 (llrint_tonearest_test_data): Likewise.
14558 (llrint_towardzero_test_data): Likewise.
14559 (llrint_downward_test_data): Likewise.
14560 (llrint_upward_test_data): Likewise.
14561 (lround_test_data): Likewise.
14562 (llround_test_data): Likewise.
14564 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14565 (ERRNO_UNCHANGED): Update value.
14566 (ERRNO_EDOM): Likewise.
14567 (ERRNO_ERANGE): Likewise.
14568 (NO_TEST_INLINE_FLOAT): New macro.
14569 (NO_TEST_INLINE_DOUBLE): Likewise.
14570 (enable_test): New function.
14571 (RUN_TEST_f_f): Check enable_test before running test.
14572 (RUN_TEST_2_f): Likewise.
14573 (RUN_TEST_fff_f): Likewise.
14574 (RUN_TEST_c_f): Likewise.
14575 (RUN_TEST_f_f1): Likewise.
14576 (RUN_TEST_fF_f1): Likewise.
14577 (RUN_TEST_fI_f1): Likewise.
14578 (RUN_TEST_ffI_f1): Likewise.
14579 (RUN_TEST_c_c): Likewise.
14580 (RUN_TEST_cc_c): Likewise.
14581 (RUN_TEST_f_i): Likewise.
14582 (RUN_TEST_f_i_tg): Likewise.
14583 (RUN_TEST_ff_i_tg): Likewise.
14584 (RUN_TEST_f_b): Likewise.
14585 (RUN_TEST_f_b_tg): Likewise.
14586 (RUN_TEST_f_l): Likewise.
14587 (RUN_TEST_f_L): Likewise.
14588 (RUN_TEST_fFF_11): Likewise.
14589 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14591 (cosh_test_data): Likewise.
14592 (exp_test_data): Likewise.
14593 (expm1_test_data): Likewise.
14594 (hypot_test_data): Likewise.
14595 (pow_test_data): Likewise.
14596 (sinh_test_data): Likewise.
14597 (tanh_test_data): Likewise.
14598 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14601 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14602 tests with quiet NaN input and output.
14603 (acosh_test_data): Likewise.
14604 (asin_test_data): Likewise.
14605 (asinh_test_data): Likewise.
14606 (atan_test_data): Likewise.
14607 (atanh_test_data): Likewise.
14608 (atan2_test_data): Likewise.
14609 (cbrt_test_data): Likewise.
14610 (cos_test_data): Likewise.
14611 (cosh_test_data): Likewise.
14612 (erf_test_data): Likewise.
14613 (erfc_test_data): Likewise.
14614 (exp_test_data): Likewise.
14615 (exp10_test_data): Likewise.
14616 (exp2_test_data): Likewise.
14617 (expm1_test_data): Likewise.
14618 (hypot_test_data): Likewise.
14619 (j0_test_data): Likewise.
14620 (j1_test_data): Likewise.
14621 (jn_test_data): Likewise.
14622 (lgamma_test_data): Likewise.
14623 (log_test_data): Likewise.
14624 (log10_test_data): Likewise.
14625 (log1p_test_data): Likewise.
14626 (log2_test_data): Likewise.
14627 (pow_test_data): Likewise.
14628 (scalb_test_data): Likewise.
14629 (sin_test_data): Likewise.
14630 (sincos_test_data): Likewise.
14631 (sinh_test_data): Likewise.
14632 (tan_test_data): Likewise.
14633 (tanh_test_data): Likewise.
14634 (tgamma_test_data): Likewise.
14635 (y0_test_data): Likewise.
14636 (y1_test_data): Likewise.
14637 (yn_test_data): Likewise.
14640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14641 argument being NaN and avoid computations with second argument in
14643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14644 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14645 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14647 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14649 * locale/iso-639.def: Add Chitwani Tharu (the).
14651 2013-11-14 Andreas Schwab <schwab@suse.de>
14653 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14654 word instead of empty string.
14656 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14659 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14661 (__fe_nomask_env): Likewise.
14663 2013-11-13 Steve Ellcey <sellcey@mips.com>
14665 * benchtests/bench-timing.h: Include time.h.
14667 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14670 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14672 * sysdeps/unix/sysv/linux/configure: Regenerated.
14674 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14677 * stdlib/strtod_l.c (round_and_return): Do not consider
14678 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14679 exponent one less than half the least subnormal exponent.
14680 * stdlib/test-strtod-round-data: Add more tests.
14681 * stdlib/tst-strtod-round.c (tests): Regenerated.
14683 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14686 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14687 (__fe_mask_env): Likewise.
14688 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14689 libm_hidden_proto and add function prototype.
14690 (__fe_mask_env): Add function prototype.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14692 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14694 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14696 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14698 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14700 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14701 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14703 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14705 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14706 of htab_find_slot().
14708 2013-11-11 David S. Miller <davem@davemloft.net>
14711 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14712 symbol in the non-vis3 case in static builds.
14713 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14714 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14715 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14716 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14718 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14721 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14724 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14726 * benchtests/Makefile: Add bench-strtod.
14727 * benchtests/bench-strtod.c: New file: strtod benchtest
14729 2013-11-11 Andreas Schwab <schwab@suse.de>
14732 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14733 terminating NUL in key length.
14735 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14738 Add artificial ODP entry for vDSO symbol for PPC64.
14739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14740 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14742 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14745 * nss/getent.c (services_keys): Recognize services starting with digit.
14747 2013-11-06 David S. Miller <davem@davemloft.net>
14750 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14751 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14753 2013-11-06 Will Newton <will.newton@linaro.org>
14755 * manual/memory.texi (Malloc Examples): Remove register
14756 keyword from examples.
14758 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14760 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14762 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14765 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14766 depending on [__GCC_IEC_559 > 0].
14767 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14768 depending on [__GCC_IEC_559_COMPLEX > 0].
14770 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14772 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14775 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14777 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14779 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14782 * malloc/malloc (malloc_info): Do not handle first bin as
14785 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14787 * locale/iso-639.def: Add Central Nahuatl (nhn).
14789 2013-11-01 Bruno Haible <bruno@clisp.org>
14792 * manual/math.texi (BSD Random): Specify range upper bound as
14795 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14797 * locale/iso-639.def: Add Meadow Mari (mhr).
14799 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14801 [BZ #14752], [BZ #15763]
14802 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14804 * rt/tst_shm.c: Add test for escaping directory.
14806 2013-10-31 Andreas Schwab <schwab@suse.de>
14809 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14810 followed by 'x' as part of digit sequence.
14811 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14813 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14816 * configure.ac: allow GNU Make 4.0 and greater.
14817 * configure: Regenerated.
14819 2013-10-30 Will Newton <will.newton@linaro.org>
14822 * malloc/hooks.c (memalign_check): Limit alignment to the
14823 maximum representable power of two.
14824 * malloc/malloc.c (__libc_memalign): Likewise.
14825 * malloc/tst-memalign.c (do_test): Add test for very
14826 large alignment values.
14827 * malloc/tst-posix_memalign.c (do_test): Likewise.
14829 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14832 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14833 (munmap_chunk): Likewise.
14834 (mremap_chunk): Likewise.
14836 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14839 * stdlib/div.c (div): Remove obsolete code.
14840 * stdlib/ldiv.c (ldiv): Likewise.
14841 * stdlib/lldiv.c (lldiv): Likewise.
14843 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14846 * nss/nss_files/files-XXX.c (get_contents_ret): New
14848 (get_contents): New function.
14849 (internal_getent): Use it. Expand size of LINEBUFLEN.
14851 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14853 * configure.in: Moved to ...
14854 * configure.ac: ... here. Change reference to configure.in
14856 * sysdeps/arm/preconfigure.ac: ... here.
14857 configure.in to configure.ac.
14858 * sysdeps/gnu/configure.in: Moved to ...
14859 * sysdeps/gnu/configure.ac: ... here.
14860 * sysdeps/i386/configure.in: Moved to ...
14861 * sysdeps/i386/configure.ac: ... here.
14862 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14863 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14864 * sysdeps/mach/configure.in: Moved to ...
14865 * sysdeps/mach/configure.ac: ... here.
14866 * sysdeps/mach/hurd/configure.in: Moved to ...
14867 * sysdeps/mach/hurd/configure.ac: ... here.
14868 * sysdeps/powerpc/configure.in: Moved to ...
14869 * sysdeps/powerpc/configure.ac: ... here.
14870 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14871 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14872 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14873 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14874 * sysdeps/s390/s390-32/configure.in: Moved to ...
14875 * sysdeps/s390/s390-32/configure.ac: ... here.
14876 * sysdeps/s390/s390-64/configure.in: Moved to ...
14877 * sysdeps/s390/s390-64/configure.ac: ... here.
14878 * sysdeps/sh/configure.in: Moved to ...
14879 * sysdeps/sh/configure.ac: ... here.
14880 * sysdeps/sparc/configure.in: Moved to ...
14881 * sysdeps/sparc/configure.ac: ... here.
14882 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14883 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14884 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14885 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14886 * sysdeps/x86_64/configure.in: Moved to ...
14887 * sysdeps/x86_64/configure.ac: ... here.
14888 * sysdeps/x86_64/preconfigure.in: Moved to ...
14889 * sysdeps/x86_64/preconfigure.ac: ... here.
14890 * aclocal.m4: Change reference to configure.in to configure.ac.
14891 * config.h.in: Likewise.
14892 * manual/install.texi: Likewise.
14893 * manual/maint.texi: Likewise.
14894 * Makefile: Likewise.
14895 * malloc/Makefile: Likewise.
14896 * nscd/Makefile: Likewise.
14897 * Makeconfig: Change reference to configure.in and
14898 preconfigure.in to configure.ac and preconfigure.ac
14900 * INSTALL: Regenerated.
14901 * configure: Likewise.
14902 * sysdeps/gnu/configure: Likewise.
14903 * sysdeps/i386/configure: Likewise.
14904 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14905 * sysdeps/mach/configure: Likewise.
14906 * sysdeps/mach/hurd/configure: Likewise.
14907 * sysdeps/powerpc/configure: Likewise.
14908 * sysdeps/powerpc/powerpc32/configure: Likewise.
14909 * sysdeps/powerpc/powerpc64/configure: Likewise.
14910 * sysdeps/s390/s390-32/configure: Likewise.
14911 * sysdeps/s390/s390-64/configure: Likewise.
14912 * sysdeps/sh/configure: Likewise.
14913 * sysdeps/sparc/configure: Likewise.
14914 * sysdeps/unix/sysv/linux/configure: Likewise.
14915 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14916 * sysdeps/x86_64/configure: Likewise.
14917 * sysdeps/x86_64/preconfigure: Likewise.
14919 2013-10-29 Andreas Schwab <schwab@suse.de>
14921 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14923 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14925 * benchtests/pow-inputs: Add new inputs.
14927 * benchtests/exp-inputs: Add new inputs.
14929 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14930 conditional check for return value.
14931 (__cos32): Likewise.
14933 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14935 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14936 to provide a boost for large inputs with word alignment.
14937 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14938 implementation based on optimized PPC64 strcpy.
14939 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14940 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14941 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14942 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14944 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14947 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14949 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14952 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14953 * time/tst-strptime.c (day_tests): Add testcase.
14955 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14958 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14960 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14963 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14964 MAP_FAILED on error.
14966 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14969 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14970 heap for large requests.
14972 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14975 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14976 result if the result has no associated interface.
14977 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14978 interface for all 127.X.Y.Z addresses.
14980 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14982 * locale/iso-639.def: Add Ligurian (lij)
14984 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14987 * sunrpc/rpc_main.c: Document rpcgen -5.
14989 2013-10-19 Michael Stahl <mstahl@redhat.com>
14991 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14993 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14996 * posix/glob.c: Match only directories when trailing slash is present.
14997 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14998 (main): Add testcase.
15000 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15003 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15005 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15007 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15008 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15009 AUTH_DES and cindex for FIPS 140-2.
15010 (DES Encryption): Add cindex FIPS 46-3.
15012 * locale/locarchive.h (struct locarhandle): Add fname.
15013 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15014 if an optional argument was specified to --list-archive,
15016 * locale/programs/locarchive.c (show_archive_content): Take new
15017 argument fname and pass it via ah.fname to open_archive.
15018 * locale/programs/localedef.h: Update decl.
15019 (open_archive): If AH->fname is non-null, open that file
15020 rather than the default file name, and don't ignore ENOENT.
15021 (create_archive): Set AH.fname to NULL.
15022 (delete_locales_from_archive): Likewise.
15023 (add_locales_to_archive): Likewise.
15024 * locale/programs/locfile.c (write_all_categories): Likewise.
15026 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15027 Aldy Hernandez <aldyh@redhat.com>
15029 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15030 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15031 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15032 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15033 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15034 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15035 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15036 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15037 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15038 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15040 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15041 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15042 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15045 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15047 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15049 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15051 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15052 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15054 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15055 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15056 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15057 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15059 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15060 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15061 * sysdeps/powerpc/preconfigure: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15064 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15065 Replace contents of file by #include of <fenv_libc.h>.
15066 * sysdeps/powerpc/soft-fp/sfp-machine.h
15067 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15069 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15082 Allow copysignl PLT reference to be missing.
15084 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15085 Joseph Myers <joseph@codesourcery.com
15088 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15090 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15092 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15094 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15095 * elf/tst-tls1.c: Likewise.
15096 * elf/tst-tls10.h: Likewise.
15097 * elf/tst-tls14.c: Likewise.
15098 * elf/tst-tls2.c: Likewise.
15099 * elf/tst-tls3.c: Likewise.
15100 * elf/tst-tls4.c: Likewise.
15101 * elf/tst-tls5.c: Likewise.
15102 * elf/tst-tls6.c: Likewise.
15103 * elf/tst-tls7.c: Likewise.
15104 * elf/tst-tls8.c: Likewise.
15105 * elf/tst-tls9.c: Likewise.
15106 * elf/tst-tlsmod1.c: Likewise.
15107 * elf/tst-tlsmod13.c: Likewise.
15108 * elf/tst-tlsmod13a.c: Likewise.
15109 * elf/tst-tlsmod14a.c: Likewise.
15110 * elf/tst-tlsmod16a.c: Likewise.
15111 * elf/tst-tlsmod16b.c: Likewise.
15112 * elf/tst-tlsmod2.c: Likewise.
15113 * elf/tst-tlsmod3.c: Likewise.
15114 * elf/tst-tlsmod4.c: Likewise.
15115 * elf/tst-tlsmod5.c: Likewise.
15116 * elf/tst-tlsmod6.c: Likewise.
15118 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15121 * malloc/malloc.c: remove checks for statistics.
15123 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15126 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15127 * inet/tst-network.c: Add testcase.
15129 2013-10-17 Andreas Schwab <schwab@suse.de>
15132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15133 to determine canonical name.
15135 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15137 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15138 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15161 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15162 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15167 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15196 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15199 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15200 make result into a quiet NaN.
15202 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15204 * soft-fp/adddf3.c: Fix horizontal whitespace.
15205 * soft-fp/addsf3.c: Likewise.
15206 * soft-fp/addtf3.c: Likewise.
15207 * soft-fp/divdf3.c: Likewise.
15208 * soft-fp/divsf3.c: Likewise.
15209 * soft-fp/divtf3.c: Likewise.
15210 * soft-fp/double.h: Likewise.
15211 * soft-fp/eqdf2.c: Likewise.
15212 * soft-fp/eqsf2.c: Likewise.
15213 * soft-fp/eqtf2.c: Likewise.
15214 * soft-fp/extenddftf2.c: Likewise.
15215 * soft-fp/extended.h: Likewise.
15216 * soft-fp/extendsfdf2.c: Likewise.
15217 * soft-fp/extendsftf2.c: Likewise.
15218 * soft-fp/extendxftf2.c: Likewise.
15219 * soft-fp/fixdfdi.c: Likewise.
15220 * soft-fp/fixdfsi.c: Likewise.
15221 * soft-fp/fixdfti.c: Likewise.
15222 * soft-fp/fixsfdi.c: Likewise.
15223 * soft-fp/fixsfsi.c: Likewise.
15224 * soft-fp/fixsfti.c: Likewise.
15225 * soft-fp/fixtfdi.c: Likewise.
15226 * soft-fp/fixtfsi.c: Likewise.
15227 * soft-fp/fixtfti.c: Likewise.
15228 * soft-fp/fixunsdfdi.c: Likewise.
15229 * soft-fp/fixunsdfsi.c: Likewise.
15230 * soft-fp/fixunsdfti.c: Likewise.
15231 * soft-fp/fixunssfdi.c: Likewise.
15232 * soft-fp/fixunssfsi.c: Likewise.
15233 * soft-fp/fixunssfti.c: Likewise.
15234 * soft-fp/fixunstfdi.c: Likewise.
15235 * soft-fp/fixunstfsi.c: Likewise.
15236 * soft-fp/fixunstfti.c: Likewise.
15237 * soft-fp/floatdidf.c: Likewise.
15238 * soft-fp/floatdisf.c: Likewise.
15239 * soft-fp/floatditf.c: Likewise.
15240 * soft-fp/floatsidf.c: Likewise.
15241 * soft-fp/floatsisf.c: Likewise.
15242 * soft-fp/floatsitf.c: Likewise.
15243 * soft-fp/floattidf.c: Likewise.
15244 * soft-fp/floattisf.c: Likewise.
15245 * soft-fp/floattitf.c: Likewise.
15246 * soft-fp/floatundidf.c: Likewise.
15247 * soft-fp/floatundisf.c: Likewise.
15248 * soft-fp/floatunditf.c: Likewise.
15249 * soft-fp/floatunsidf.c: Likewise.
15250 * soft-fp/floatunsisf.c: Likewise.
15251 * soft-fp/floatunsitf.c: Likewise.
15252 * soft-fp/floatuntidf.c: Likewise.
15253 * soft-fp/floatuntisf.c: Likewise.
15254 * soft-fp/floatuntitf.c: Likewise.
15255 * soft-fp/fmadf4.c: Likewise.
15256 * soft-fp/fmasf4.c: Likewise.
15257 * soft-fp/fmatf4.c: Likewise.
15258 * soft-fp/gedf2.c: Likewise.
15259 * soft-fp/gesf2.c: Likewise.
15260 * soft-fp/getf2.c: Likewise.
15261 * soft-fp/ledf2.c: Likewise.
15262 * soft-fp/lesf2.c: Likewise.
15263 * soft-fp/letf2.c: Likewise.
15264 * soft-fp/muldf3.c: Likewise.
15265 * soft-fp/mulsf3.c: Likewise.
15266 * soft-fp/multf3.c: Likewise.
15267 * soft-fp/negdf2.c: Likewise.
15268 * soft-fp/negsf2.c: Likewise.
15269 * soft-fp/negtf2.c: Likewise.
15270 * soft-fp/op-1.h: Likewise.
15271 * soft-fp/op-2.h: Likewise.
15272 * soft-fp/op-4.h: Likewise.
15273 * soft-fp/op-8.h: Likewise.
15274 * soft-fp/op-common.h: Likewise.
15275 * soft-fp/quad.h: Likewise.
15276 * soft-fp/single.h: Likewise.
15277 * soft-fp/soft-fp.h: Likewise.
15278 * soft-fp/sqrtdf2.c: Likewise.
15279 * soft-fp/sqrtsf2.c: Likewise.
15280 * soft-fp/sqrttf2.c: Likewise.
15281 * soft-fp/subdf3.c: Likewise.
15282 * soft-fp/subsf3.c: Likewise.
15283 * soft-fp/subtf3.c: Likewise.
15284 * soft-fp/truncdfsf2.c: Likewise.
15285 * soft-fp/trunctfdf2.c: Likewise.
15286 * soft-fp/trunctfsf2.c: Likewise.
15287 * soft-fp/trunctfxf2.c: Likewise.
15288 * soft-fp/unorddf2.c: Likewise.
15289 * soft-fp/unordsf2.c: Likewise.
15290 * soft-fp/unordtf2.c: Likewise.
15292 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15294 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15295 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15297 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15299 * elf/dl-libc.c: Clear initfini list after freeing.
15301 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15303 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15304 * soft-fp/addsf3.c: Likewise.
15305 * soft-fp/addtf3.c: Likewise.
15306 * soft-fp/divdf3.c: Likewise.
15307 * soft-fp/divsf3.c: Likewise.
15308 * soft-fp/divtf3.c: Likewise.
15309 * soft-fp/double.h: Likewise.
15310 * soft-fp/eqdf2.c: Likewise.
15311 * soft-fp/eqsf2.c: Likewise.
15312 * soft-fp/eqtf2.c: Likewise.
15313 * soft-fp/extenddftf2.c: Likewise.
15314 * soft-fp/extended.h: Likewise.
15315 * soft-fp/extendsfdf2.c: Likewise.
15316 * soft-fp/extendsftf2.c: Likewise.
15317 * soft-fp/extendxftf2.c: Likewise.
15318 * soft-fp/fixdfdi.c: Likewise.
15319 * soft-fp/fixdfsi.c: Likewise.
15320 * soft-fp/fixdfti.c: Likewise.
15321 * soft-fp/fixsfdi.c: Likewise.
15322 * soft-fp/fixsfsi.c: Likewise.
15323 * soft-fp/fixsfti.c: Likewise.
15324 * soft-fp/fixtfdi.c: Likewise.
15325 * soft-fp/fixtfsi.c: Likewise.
15326 * soft-fp/fixtfti.c: Likewise.
15327 * soft-fp/fixunsdfdi.c: Likewise.
15328 * soft-fp/fixunsdfsi.c: Likewise.
15329 * soft-fp/fixunsdfti.c: Likewise.
15330 * soft-fp/fixunssfdi.c: Likewise.
15331 * soft-fp/fixunssfsi.c: Likewise.
15332 * soft-fp/fixunssfti.c: Likewise.
15333 * soft-fp/fixunstfdi.c: Likewise.
15334 * soft-fp/fixunstfsi.c: Likewise.
15335 * soft-fp/fixunstfti.c: Likewise.
15336 * soft-fp/floatdidf.c: Likewise.
15337 * soft-fp/floatdisf.c: Likewise.
15338 * soft-fp/floatditf.c: Likewise.
15339 * soft-fp/floatsidf.c: Likewise.
15340 * soft-fp/floatsisf.c: Likewise.
15341 * soft-fp/floatsitf.c: Likewise.
15342 * soft-fp/floattidf.c: Likewise.
15343 * soft-fp/floattisf.c: Likewise.
15344 * soft-fp/floattitf.c: Likewise.
15345 * soft-fp/floatundidf.c: Likewise.
15346 * soft-fp/floatundisf.c: Likewise.
15347 * soft-fp/floatunsidf.c: Likewise.
15348 * soft-fp/floatunsisf.c: Likewise.
15349 * soft-fp/floatuntidf.c: Likewise.
15350 * soft-fp/floatuntisf.c: Likewise.
15351 * soft-fp/floatuntitf.c: Likewise.
15352 * soft-fp/fmadf4.c: Likewise.
15353 * soft-fp/fmasf4.c: Likewise.
15354 * soft-fp/fmatf4.c: Likewise.
15355 * soft-fp/gedf2.c: Likewise.
15356 * soft-fp/gesf2.c: Likewise.
15357 * soft-fp/getf2.c: Likewise.
15358 * soft-fp/ledf2.c: Likewise.
15359 * soft-fp/lesf2.c: Likewise.
15360 * soft-fp/letf2.c: Likewise.
15361 * soft-fp/muldf3.c: Likewise.
15362 * soft-fp/mulsf3.c: Likewise.
15363 * soft-fp/multf3.c: Likewise.
15364 * soft-fp/negdf2.c: Likewise.
15365 * soft-fp/negsf2.c: Likewise.
15366 * soft-fp/negtf2.c: Likewise.
15367 * soft-fp/op-1.h: Likewise.
15368 * soft-fp/op-2.h: Likewise.
15369 * soft-fp/op-4.h: Likewise.
15370 * soft-fp/op-8.h: Likewise.
15371 * soft-fp/op-common.h: Likewise.
15372 * soft-fp/quad.h: Likewise.
15373 * soft-fp/single.h: Likewise.
15374 * soft-fp/soft-fp.h: Likewise.
15375 * soft-fp/sqrtdf2.c: Likewise.
15376 * soft-fp/sqrtsf2.c: Likewise.
15377 * soft-fp/sqrttf2.c: Likewise.
15378 * soft-fp/subdf3.c: Likewise.
15379 * soft-fp/subsf3.c: Likewise.
15380 * soft-fp/subtf3.c: Likewise.
15381 * soft-fp/truncdfsf2.c: Likewise.
15382 * soft-fp/trunctfdf2.c: Likewise.
15383 * soft-fp/trunctfsf2.c: Likewise.
15384 * soft-fp/trunctfxf2.c: Likewise.
15385 * soft-fp/unorddf2.c: Likewise.
15386 * soft-fp/unordsf2.c: Likewise.
15387 * soft-fp/unordtf2.c: Likewise.
15389 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15392 * misc/error.c (error_tail): Fix possible buffer overflow.
15394 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15397 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15400 2013-10-14 P. J. McDermott <pj@pehjota.net>
15403 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15404 testing pipefail option.
15406 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15408 * soft-fp/double.h: Indent preprocessor directives inside #if.
15409 * soft-fp/extended.h: Likewise.
15410 * soft-fp/op-2.h: Likewise.
15411 * soft-fp/op-4.h: Likewise.
15412 * soft-fp/op-common.h: Likewise.
15413 * soft-fp/quad.h: Likewise.
15414 * soft-fp/single.h: Likewise.
15415 * soft-fp/soft-fp.h: Likewise.
15417 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15419 * iconv/iconv_prog.c: Fix typos.
15420 * stdio-common/psiginfo-data.h: Likewise.
15422 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15425 * locale/setlocale.c: Fix typo.
15427 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15430 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15431 signaling NaN arguments.
15432 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15433 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15436 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15437 unordered operands.
15438 * soft-fp/gesf2.c (__gesf2): Likewise.
15439 * soft-fp/getf2.c (__getf2): Likewise.
15440 * soft-fp/ledf2.c (__ledf2): Likewise.
15441 * soft-fp/lesf2.c (__lesf2): Likewise.
15442 * soft-fp/letf2.c (__letf2): Likewise.
15444 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15445 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15446 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15447 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15448 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15449 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15450 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15451 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15452 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15453 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15454 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15455 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15456 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15457 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15458 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15459 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15460 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15461 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15462 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15463 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15464 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15465 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15466 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15467 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15468 * soft-fp/floattidf.c (__floattidf): Likewise.
15469 * soft-fp/floattisf.c (__floattisf): Likewise.
15470 * soft-fp/floattitf.c (__floattitf): Likewise.
15471 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15472 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15473 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15474 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15475 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15476 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15477 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15478 * soft-fp/gesf2.c (__gesf2): Likewise.
15479 * soft-fp/getf2.c (__getf2): Likewise.
15480 * soft-fp/ledf2.c (__ledf2): Likewise.
15481 * soft-fp/lesf2.c (__lesf2): Likewise.
15482 * soft-fp/letf2.c (__letf2): Likewise.
15484 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15485 Undefine and redefine.
15486 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15487 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15488 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15489 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15490 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15491 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15492 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15493 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15494 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15495 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15496 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15497 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15498 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15499 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15500 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15503 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15504 without decrementing exponent if mantissa >= that for the
15505 denominator, not >.
15506 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15507 denominator, not >. Decrement exponent in < case instead of
15508 incrementing in >= case.
15509 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15510 without decrementing exponent if mantissa >= that for the
15511 denominator, not >.
15513 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15514 computing saturated result for unsigned overflow.
15516 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15517 Jeff Law <law@redhat.com>
15519 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15520 (atan2Mp): Add systemtap probe marker.
15521 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15522 (__ieee754_log): Add systemtap probe marker.
15523 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15524 (atanMp): Add systemtap probe marker.
15525 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15526 (tanMp): Add systemtap probe marker.
15527 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15528 (__slowexp): Add systemtap probe marker.
15529 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15530 (__slowpow): Add systemtap probe marker.
15531 * manual/probes.texi: Document probes.
15533 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15536 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15538 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15540 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15541 written to buffer but not flushed.
15542 * libio/iofwrite_u.c: Likewise.
15543 * libio/iopadn.c: Return bytes returned even if EOF was
15545 * libio/iowpadn.c: Likewise.
15546 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15547 if _IO_padn does not write the whole buffer.
15548 [!COMPILE_WPRINTF] (PAD): Likewise.
15550 2013-10-10 David S. Miller <davem@davemloft.net>
15552 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15555 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15557 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15558 instead of FSF address.
15559 * soft-fp/fixdfti.c: Likewise.
15560 * soft-fp/fixsfti.c: Likewise.
15561 * soft-fp/fixtfti.c: Likewise.
15562 * soft-fp/fixunsdfti.c: Likewise.
15563 * soft-fp/fixunssfti.c: Likewise.
15564 * soft-fp/fixunstfti.c: Likewise.
15565 * soft-fp/floattidf.c: Likewise.
15566 * soft-fp/floattisf.c: Likewise.
15567 * soft-fp/floattitf.c: Likewise.
15568 * soft-fp/floatuntidf.c: Likewise.
15569 * soft-fp/floatuntisf.c: Likewise.
15570 * soft-fp/floatuntitf.c: Likewise.
15571 * soft-fp/trunctfxf2.c: Likewise.
15573 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15574 * soft-fp/fixdfti.c: Likewise.
15575 * soft-fp/fixsfti.c: Likewise.
15576 * soft-fp/fixtfti.c: Likewise.
15577 * soft-fp/fixunsdfti.c: Likewise.
15578 * soft-fp/fixunssfti.c: Likewise.
15579 * soft-fp/fixunstfti.c: Likewise.
15580 * soft-fp/floattidf.c: Likewise.
15581 * soft-fp/floattisf.c: Likewise.
15582 * soft-fp/floattitf.c: Likewise.
15583 * soft-fp/floatuntidf.c: Likewise.
15584 * soft-fp/floatuntisf.c: Likewise.
15585 * soft-fp/floatuntitf.c: Likewise.
15586 * soft-fp/trunctfxf2.c: Likewise.
15588 2013-10-10 David S. Miller <davem@davemloft.net>
15590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15592 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15594 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15595 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15596 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15603 for NaNs before doing comparisons on argument.
15604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15607 2013-10-10 Will Newton <will.newton@linaro.org>
15609 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15610 passed to _int_memalign does not overflow.
15612 2013-10-10 Torvald Riegel <triegel@redhat.com>
15614 * scripts/bench.pl: Add include-sources directive.
15615 * benchtests/README: Update documentation.
15617 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15619 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15620 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15621 instead of FP_INIT_ROUNDMODE.
15622 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15623 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15626 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15627 copy class of input value.
15628 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15629 not handle exceptions.
15630 * soft-fp/negsf2.c (__negsf2): Likewise.
15631 * soft-fp/negtf2.c (__negtf2): Likewise.
15632 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15634 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15636 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15637 semicolon. From Linux kernel.
15639 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15641 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15643 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15646 * manual/socket.texi: Added statement about buffer
15647 for gethostbyname2_r.
15649 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15651 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15652 Use .p2align directive instead, throughout.
15653 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15654 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15655 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15659 * sysdeps/x86_64/strchr.S: Likewise.
15660 * sysdeps/x86_64/strrchr.S: Likewise.
15662 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15664 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15666 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15668 * sysdeps/generic/math_private.h (__mpsin1): Remove
15670 (__mpcos1): Likewise.
15671 (__mpsin): New argument __range_reduce.
15672 (__mpcos): Likewise.
15673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15674 (slow): Use __mpsin and __mpcos.
15678 (sloww1): Likewise.
15679 (sloww2): Likewise.
15680 (bsloww): Likewise.
15681 (bsloww1): Likewise.
15682 (bsloww2): Likewise.
15683 (cslow2): Likewise.
15684 (csloww): Likewise.
15685 (csloww1): Likewise.
15686 (csloww2): Likewise.
15687 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15688 range_reduce. Merge in __mpsin1.
15689 (__mpcos): Likewise.
15690 (__mpsin1): Remove.
15691 (__mpcos1): Likewise.
15693 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15695 * locale/loadlocale.c (_nl_intern_locale_data): Use
15697 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15698 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15699 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15700 obstack data is appropriately aligned.
15701 (obstack_int32_grow_fast): Likewise.
15702 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15703 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15704 (add_locale_uint32_array): Likewise.
15706 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15708 * benchtests/Makefile: Remove ARGLIST and RET variables.
15709 ($(objpfx)bench-%.c): Pass only function name to the script.
15710 * benchtests/README: Update documentation.
15711 * benchtests/acos-inputs: Add new directives.
15712 * benchtests/acosh-inputs: Likewise.
15713 * benchtests/asin-inputs: Likewise.
15714 * benchtests/asinh-inputs: Likewise.
15715 * benchtests/atan-inputs: Likewise.
15716 * benchtests/atanh-inputs: Likewise.
15717 * benchtests/cos-inputs: Likewise.
15718 * benchtests/cosh-inputs: Likewise.
15719 * benchtests/exp-inputs: Likewise.
15720 * benchtests/log-inputs: Likewise.
15721 * benchtests/pow-inputs: Likewise.
15722 * benchtests/rint-inputs: Likewise.
15723 * benchtests/sin-inputs: Likewise.
15724 * benchtests/sinh-inputs: Likewise.
15725 * benchtests/tan-inputs: Likewise.
15726 * benchtests/tanh-inputs: Likewise.
15727 * scripts/bench.pl: Add support for new directives.
15729 2013-10-07 Alan Modra <amodra@gmail.com>
15731 * README: Fix careless merge.
15733 2013-10-05 Alan Modra <amodra@gmail.com>
15735 * NEWS: Mention powerpc64le support and bugs fixed.
15736 * README: Both big-endian and little-endian powerpc64 supported.
15738 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15740 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15741 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15742 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15743 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15745 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15747 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15750 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15752 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15753 Move -mhard-float appending from
15754 ports/sysdeps/powerpc/powerpc32/Makefile.
15755 [$(with-fp) = yes] (ASFLAGS): Likewise.
15756 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15757 * sysdeps/powerpc/nofpu: Move directory from
15758 ports/sysdeps/powerpc/nofpu.
15759 * sysdeps/powerpc/soft-fp: Move directory from
15760 ports/sysdeps/powerpc/soft-fp.
15761 * sysdeps/powerpc/powerpc32/405: Move directory from
15762 ports/sysdeps/powerpc/powerpc32/405.
15763 * sysdeps/powerpc/powerpc32/440: Move directory from
15764 ports/sysdeps/powerpc/powerpc32/440.
15765 * sysdeps/powerpc/powerpc32/464: Move directory from
15766 ports/sysdeps/powerpc/powerpc32/464.
15767 * sysdeps/powerpc/powerpc32/476: Move directory from
15768 ports/sysdeps/powerpc/powerpc32/476.
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15774 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15776 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15778 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15779 * README: Update for powerpc-*-linux-gnu software floating point
15782 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15783 case to powerpc/powerpc32*.
15784 * sysdeps/unix/sysv/linux/configure: Regenerated.
15786 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15787 (_FPU_MASK_OM): Define as 0x04.
15788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15796 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15799 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15803 and setcontext_e500.
15805 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15807 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15809 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15811 * manual/threads.texi (Default Thread Attributes): Fix typo.
15813 2013-10-04 Will Newton <will.newton@linaro.org>
15815 * malloc/Makefile: Add tst-memalign.
15816 * malloc/tst-memalign.c: New file.
15818 * malloc/tst-posix_memalign.c: Add comments.
15819 (do_test): Add comments and call free on all potentially
15820 allocated pointers. Add space after cast.
15822 * malloc/tst-pvalloc.c: Add comments.
15823 (do_test): Add comments and call free on all potentially
15824 allocated pointers. Remove duplicate check for NULL pointer.
15825 Add space after cast.
15827 * malloc/tst-valloc.c: Add comments.
15828 (do_test): Add comments and call free on all potentially
15829 allocated pointers. Remove duplicate check for NULL pointer.
15830 Add space after cast.
15832 2013-10-04 Alan Modra <amodra@gmail.com>
15834 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15835 Use stdint types in rather than __attribute__((mode())).
15836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15838 2013-10-04 Alan Modra <amodra@gmail.com>
15840 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15841 Correct handling of unaligned relocs for little-endian.
15842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15844 2013-10-04 Alan Modra <amodra@gmail.com>
15846 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15847 * configure: Regenerate.
15848 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15849 * shlib-versions: Likewise.
15851 2013-10-04 Alan Modra <amodra@gmail.com>
15853 * string/tester.c (test_memrchr): Increment reported test cycle.
15855 2013-10-04 Alan Modra <amodra@gmail.com>
15857 * string/test-memcpy.c (do_one_test): When reporting errors, print
15858 string address and don't overrun end of string.
15860 2013-10-04 Alan Modra <amodra@gmail.com>
15862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15863 insrdi. Make better use of reg selection to speed exit slightly.
15864 Schedule entry path a little better. Remove useless "are we done"
15865 checks on entry to main loop. Handle wrapping around zero address.
15866 Correct main loop count. Handle single left-over word from main
15867 loop inline rather than by using loop_small. Remove extra word
15868 case in loop_small caused by wrong loop count. Add little-endian
15870 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15874 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15875 support. Avoid rlwimi.
15876 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15878 2013-10-04 Alan Modra <amodra@gmail.com>
15880 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15881 insrdi. Formatting.
15882 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15883 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15884 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15885 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15886 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15887 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15889 2013-10-04 Alan Modra <amodra@gmail.com>
15891 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15893 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15894 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15895 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15900 use of regs. Use power7 mtocrf. Tidy function tails.
15902 2013-10-04 Alan Modra <amodra@gmail.com>
15904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15905 Formatting. Consistently use rXXX register defines or rN defines.
15906 Use early exit labels that avoid restoring unused non-volatile regs.
15907 Make cr field use more consistent with rWORDn compares. Rename
15908 regs used as shift registers for unaligned loop, using rN defines
15909 for short lifetime/multiple use regs.
15910 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15911 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15912 addi 1,1,64 to pop stack frame. Simplify return value code.
15913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15915 2013-10-04 Alan Modra <amodra@gmail.com>
15917 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15918 support. Correct typos, formatting. Optimize tail. Use insrdi
15919 rather than rlwimi.
15920 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15921 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15922 little-endian support. Correct typos.
15923 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15924 rather than rlwimi.
15925 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15926 in loop and entry code to keep "and." results.
15927 (strchr): Add little-endian support. Comment. Move cntlzd
15929 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15931 2013-10-04 Alan Modra <amodra@gmail.com>
15933 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15934 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15935 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15938 2013-10-04 Alan Modra <amodra@gmail.com>
15940 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15941 (rTMP): Define as r11.
15942 (strcmp): Add little-endian support. Optimise tail.
15943 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15945 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15946 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15951 2013-10-04 Alan Modra <amodra@gmail.com>
15953 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15954 little-endian support. Remove unnecessary "are we done" tests.
15955 Handle "s" wrapping around zero and extremely large "size".
15956 Correct main loop count. Handle single left-over word from main
15957 loop inline rather than by using small_loop. Correct comments.
15958 Delete "zero" tail, use "end_max" instead.
15959 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15961 2013-10-04 Alan Modra <amodra@gmail.com>
15963 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15964 support. Don't branch over align.
15965 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15966 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15967 support. Rearrange tmp reg use to suit. Comment.
15968 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15970 2013-10-04 Alan Modra <amodra@gmail.com>
15972 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15974 2013-10-04 Alan Modra <amodra@gmail.com>
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15977 conditional form of branch and link when obtaining pc.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15980 2013-10-04 Alan Modra <amodra@gmail.com>
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15987 2013-10-04 Alan Modra <amodra@gmail.com>
15989 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15990 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15991 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15997 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15998 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16000 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16001 Alistair Popple <alistair@ozlabs.au.ibm.com>
16002 Alan Modra <amodra@gmail.com>
16005 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16006 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16007 _dl_hwcap access for little-endian.
16008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16009 destroy vmx regs when saving unaligned.
16010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16011 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16012 destroy vmx regs when saving unaligned.
16014 2013-10-04 Alan Modra <amodra@gmail.com>
16016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16017 Don't use a union to pack hi/low value.
16019 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16021 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16023 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16029 2013-10-04 Alan Modra <amodra@gmail.com>
16031 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16032 constants to usual value for .cst8 section, and remove redundant
16034 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16035 constant for 0x1p52. Load little-endian words of double from
16036 correct stack offsets.
16038 2013-10-04 Alan Modra <amodra@gmail.com>
16040 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16041 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16042 words of double from correct stack offsets.
16043 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16044 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16045 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16050 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16055 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16056 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16057 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16058 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16059 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16061 2013-10-04 Alan Modra <amodra@gmail.com>
16063 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16064 64-bit int/double union.
16065 (_FPU_SETCW): Likewise.
16066 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16067 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16069 2013-10-04 Alan Modra <amodra@gmail.com>
16071 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16072 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16074 2013-10-04 Alan Modra <amodra@gmail.com>
16076 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16077 use vector int constants.
16078 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16080 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16082 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16083 array with long long.
16084 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16085 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16086 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16087 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16088 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16089 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16090 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16091 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16092 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16093 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16094 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16095 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16096 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16098 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16100 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16101 (__signbit): Likewise. Correct for little-endian.
16102 (__signbitl): Call __signbit.
16103 (lrint): Correct for little-endian.
16104 (lrintf): Call lrint.
16106 2013-10-04 Alan Modra <amodra@gmail.com>
16108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16109 union 32-bit int array member with 64-bit int array.
16110 (t515, tm256): Double rather than long double.
16111 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16113 2013-10-04 Alan Modra <amodra@gmail.com>
16115 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16117 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16119 version of math_ldbl.h.
16121 2013-10-04 Alan Modra <amodra@gmail.com>
16123 [BZ #15734], [BZ #15735]
16124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16125 all uses of ieee875 long double macros and unions. Simplify test
16126 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16127 ldbl_extract_mantissa value for ix,iy exponents. Properly
16128 normalize after ldbl_extract_mantissa, and don't add hidden bit
16129 already handled. Don't treat low word of ieee854 mantissa like
16130 low word of IBM long double and mask off bit when testing for
16132 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16133 all uses of ieee875 long double macros and unions. Simplify tests
16134 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16135 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16136 two1022, instead use their values. Recognise that tests for large
16137 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16138 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16139 Rewrite all uses of ieee875 long double macros and unions. Simplify
16140 test for 0.0L and nan. Correct negation.
16141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16142 ieee875 long double macros and unions. Correct output for large
16143 magnitude x. Correct absolute value calculation.
16144 (__erfcl): Likewise.
16145 * math/libm-test.inc: Add tests for errors discovered in IBM long
16146 double versions of fmodl, remainderl, erfl and erfcl.
16148 2013-10-04 Alan Modra <amodra@gmail.com>
16150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16151 all uses of ieee854 long double macros and unions. Simplify tests
16152 for long doubles that are fully specified by the high double.
16153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16155 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16156 Remove dead code too.
16157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16158 (__ieee754_ynl): Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16162 Remove dead code too.
16163 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16173 Comment on variable precision.
16174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16177 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16183 2013-10-04 Alan Modra <amodra@gmail.com>
16185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16187 all uses of ieee854 long double macros and unions.
16188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16201 Simplify sign and nan test too.
16202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16203 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16204 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16207 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16208 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16211 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16212 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16213 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16217 2013-10-04 Alan Modra <amodra@gmail.com>
16219 * stdio-common/printf_size.c (__printf_size): Don't use
16220 union ieee854_long_double in fpnum union.
16221 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16222 signbit macro to retrieve sign from long double.
16223 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16224 retrieve sign from long double.
16225 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16226 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16227 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16228 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16229 * math/test-misc.c (main): Don't use union ieee854_long_double.
16231 2013-10-04 Alan Modra <amodra@gmail.com>
16234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16236 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16237 calculation. Remove unnecessary test for denormal exponent.
16238 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16239 Correct handling of denormals. Avoid undefined shift behaviour.
16240 Correct normalisation of low mantissa when low double is denormal.
16241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16242 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16243 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16244 Correct normalisation of low mantissa. Test for overflow of high
16245 mantissa and normalise.
16246 (ldbl_nearbyint): Use more readable constant for two52.
16247 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16248 (__mpn_construct_long_double): Fix test for overflow of high
16249 mantissa and correct normalisation. Avoid undefined shift.
16251 2013-10-04 Alan Modra <amodra@gmail.com>
16253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16254 (union ibm_extended_long_double): Define as an array of ieee754_double.
16255 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16257 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16258 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16262 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16267 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16269 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16270 page size instead of calling getpagesize.
16272 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16273 (LOCFILE_ALIGN_MASK): Likewise.
16274 (LOCFILE_ALIGN_UP): Likewise.
16275 (LOCFILE_ALIGNED_P): Likewise.
16276 * locale/programs/ld-collate.c (collate_output): Use the new
16277 macros instead of __alignof__ (int32_t).
16278 * locale/weight.h (findidx): Likewise.
16280 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16283 * manual/string.texi: Fix strncat and wcsncat.
16285 2013-10-03 Brooks Moses <bmoses@google.com>
16288 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16289 * Makerules: ...here, and adjust associated comments.
16291 2013-10-02 Will Newton <will.newton@linaro.org>
16293 * malloc/Makefile: Add tst-pvalloc.
16294 * malloc/tst-pvalloc.c: New file.
16296 2013-10-02 Will Newton <will.newton@linaro.org>
16298 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16299 improve test coverage.
16301 2013-10-02 Will Newton <will.newton@linaro.org>
16303 * malloc/Makefile: Add tst-posix_memalign.
16304 * malloc/tst-posix_memalign.c: New file.
16306 2013-10-01 Eric Blake <eblake@redhat.com>
16308 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16309 Use __THROWNL rather than __THROW on static functions.
16311 2013-09-30 Petr Machata <pmachata@redhat.com>
16313 * elf/elf.h (R_AARCH64_ABS16): New macro.
16314 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16315 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16316 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16317 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16318 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16319 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16320 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16321 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16322 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16323 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16324 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16325 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16326 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16327 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16328 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16329 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16330 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16331 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16332 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16333 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16334 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16335 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16336 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16337 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16338 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16339 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16340 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16341 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16342 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16343 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16344 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16345 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16346 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16347 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16348 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16349 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16350 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16351 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16352 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16353 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16354 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16355 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16356 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16357 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16358 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16359 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16360 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16361 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16362 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16363 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16364 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16365 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16366 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16367 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16368 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16369 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16370 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16371 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16372 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16373 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16374 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16375 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16376 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16377 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16378 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16379 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16380 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16381 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16382 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16383 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16384 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16385 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16386 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16387 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16388 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16389 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16390 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16391 (R_AARCH64_TLSDESC_LDR): Likewise.
16392 (R_AARCH64_TLSDESC_ADD): Likewise.
16393 (R_AARCH64_TLSDESC_CALL): Likewise.
16395 2013-09-30 Andreas Schwab <schwab@suse.de>
16398 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16399 the nss database lookup.
16400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16403 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16405 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16407 2013-09-28 P. J. McDermott <pj@pehjota.net>
16409 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16410 ${Bash-specific parameter/pattern/string} parameter expansion.
16411 * sysdeps/unix/make-syscalls.sh: Likewise.
16413 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16415 * sysdeps/sh/stackguard-macros.h: New file.
16417 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16421 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16422 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16424 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16426 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16428 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16429 Fix thread ID register.
16431 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16433 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16434 [POSIX || UNIX98]: Require rather than permitting all symbols from
16436 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16437 element of struct sched_param.
16438 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16439 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16440 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16441 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16444 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16446 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16447 argument calculation.
16449 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16451 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16453 [POSIX] (pthread_attr_t): Do not require type.
16454 [POSIX] (pthread_cond_t): Likewise.
16455 [POSIX] (pthread_condattr_t): Likewise.
16456 [POSIX] (pthread_key_t): Likewise.
16457 [POSIX] (pthread_mutex_t): Likewise.
16458 [POSIX] (pthread_mutexattr_t): Likewise.
16459 [POSIX] (pthread_once_t): Likewise.
16460 [POSIX] (pthread_t): Likewise.
16461 [POSIX-based standards] (pthread_atfork): Expect function.
16463 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16464 Richard Sandiford <richard@codesourcery.com>
16466 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16467 (swap_endianness_p): New extern variable.
16468 (set_big_endian): New inline function.
16469 (maybe_swap_uint32): Likewise.
16470 (maybe_swap_uint32_array): Likewise.
16471 (maybe_swap_uint32_obstack): Likewise.
16472 * locale/programs/locfile.c: Include <stdbool.h>.
16473 (swap_endianness_p): New variable.
16474 (add_locale_uint32): Call maybe_swap_uint32.
16475 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16476 (write_locale_data): Call maybe_swap_uint32_array.
16477 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16479 (obstack_int32_grow_fast): Likewise.
16480 (output_weightwc): Call maybe_swap_uint32_obstack.
16481 (collate_output): Likewise.
16482 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16483 (OPT_LITTLE_ENDIAN): Likewise.
16484 (options): Add --little-endian and --big-endian options.
16485 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16486 * locale/programs/locarchive.c: Include "locfile.h".
16490 (create_archive): Use the new macros to access fields of
16491 structures directly mapped from or written to locale archives.
16492 (oldlocrecentcmp): Likewise.
16493 (enlarge_archive): Likewise.
16494 (insert_name): Likewise.
16495 (add_alias): Likewise.
16496 (add_locale): Likewise.
16497 (delete_locales_from_archive): Likewise.
16498 (show_archive_content): Likewise.
16499 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16502 2013-09-24 Roland McGrath <roland@hack.frob.com>
16504 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16505 http://www.gnu.org/doc/freemanuals.texi.
16506 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16508 2013-09-24 Will Newton <will.newton@linaro.org>
16510 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16513 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16515 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16518 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16520 * manual/threads.texi (POSIX Threads): Fix a typo.
16522 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16525 * string/tst-strcoll-overflow.c: New test case.
16526 * string/Makefile (xtests): Add tst-strcoll-overflow.
16527 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16528 cache if string sizes may cause integer overflow.
16531 * string/strcoll_l.c (coll_seq): New members rule, idx,
16532 save_idx and back_us.
16533 (get_next_seq_nocache): New function.
16534 (do_compare_nocache): New function.
16535 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16538 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16541 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16542 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16543 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16546 * elf/Makefile (tests): Add tst-ptrguard1.
16547 (tests-static): Add tst-ptrguard1-static.
16548 (tst-ptrguard1-ARGS): Define.
16549 (tst-ptrguard1-static-ARGS): Define.
16550 * elf/tst-ptrguard1.c: New file.
16551 * elf/tst-ptrguard1-static.c: New file.
16552 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16553 * sysdeps/i386/stackguard-macros.h: Likewise.
16554 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16555 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16556 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16557 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16558 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16559 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16561 2013-09-23 Hector Marco <hecmargi@upv.es>
16562 Ismael Ripoll <iripoll@disca.upv.es>
16563 Carlos O'Donell <carlos@redhat.com>
16566 * sysdeps/generic/stackguard-macros.h: Define
16567 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16568 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16569 Define __pointer_chk_guard_local.
16570 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16571 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16573 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16576 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16578 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16580 * include/string.h (__ffs): Declare as hidden.
16581 * string/ffs.c (__ffs): Define as hidden.
16582 * sysdeps/i386/ffs.c (__ffs): Likewise.
16583 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16584 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16585 * sysdeps/s390/ffs.c (__ffs): Likewise.
16586 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16588 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16590 * NEWS: Mention malloc probes.
16592 * malloc/arena.c (new_heap): New memory_heap_new probe.
16593 (grow_heap): New memory_heap_more probe.
16594 (shrink_heap): New memory_heap_less probe.
16595 (heap_trim): New memory_heap_free probe.
16596 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16597 (systrim): New memory_sbrk_less probe.
16598 * manual/probes.texi: Document them.
16600 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16601 * manual/probes.texi: Document it.
16603 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16604 (__libc_realloc): Add memory_realloc_retry probe.
16605 (__libc_memalign): Add memory_memalign_retry probe.
16606 (__libc_valloc): Add memory_valloc_retry probe.
16607 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16608 (__libc_calloc): Add memory_calloc_retry probe.
16609 * manual/probes.texi: Document them.
16611 * malloc/arena.c (get_free_list): Add probe
16612 memory_arena_reuse_free_list.
16613 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16614 and memory_arena_reuse.
16615 (arena_get2) [!PER_THREAD]: Likewise.
16616 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16617 memory_arena_reuse_realloc.
16618 * manual/probes.texi: Document them.
16620 * malloc/malloc.c (__libc_free): Add
16621 memory_mallopt_free_dyn_thresholds probe.
16622 (__libc_mallopt): Add multiple memory_mallopt probes.
16623 * manual/probes.texi: Document them.
16625 * malloc/malloc.c: Include stap-probe.h.
16626 (__libc_mallopt): Add memory_mallopt probe.
16627 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16628 * manual/probes.texi: New.
16629 * manual/Makefile (chapters): Add probes.
16630 * manual/threads.texi: Set next node.
16632 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16634 [BZ #15963, #13985]
16635 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16636 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16637 Add `Chinese' to `nan' entry name.
16639 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16641 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16642 (POLYNOMIAL): Likewise.
16643 (TAYLOR_SINCOS): Likewise.
16644 (TAYLOR_SLOW): Likewise.
16645 (__sin): Use TAYLOR_SINCOS.
16647 (slow): Use TAYLOR_SLOW.
16649 (bsloww): Likewise.
16650 (csloww): Likewise.
16652 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16654 * stdlib/strtod_l.c: Fix buffer overrun.
16656 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16658 * benchtests/Makefile (bench): Add sincos.
16659 * benchtests/bench-sincos.c: New file.
16661 * math/libm-test.inc (cos_test_data): New test inputs.
16662 (sin_test_data): Likewise.
16664 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16670 (sloww1): Likewise.
16671 (sloww2): Likewise.
16672 (bsloww1): Likewise.
16673 (bsloww2): Likewise.
16674 (cslow2): Likewise.
16675 (csloww1): Likewise.
16676 (csloww2): Likewise.
16678 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16687 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16689 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16690 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16691 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16692 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16693 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16694 * elf/cache.c (print_entry): Handle the new cache flags.
16696 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16697 Aldy Hernandez <aldyh@redhat.com>
16699 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16700 Change condition to [_SOFT_FLOAT].
16701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16713 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16716 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16719 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16721 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16722 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16723 (__longjmp): Use LOAD_GP to load saved GPRs.
16724 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16725 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16726 (__sigsetjmp): Use SAVE_GP to save GPRs.
16728 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16729 Do not append -msoft-float.
16730 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16732 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16734 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16736 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16739 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16740 (_FPU_GETCW): Use initial "__" on variable and field names but not
16741 on macro parameter name.
16742 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16743 parentheses around reference to macro parameter.
16745 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16747 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16749 (ctype_startup): Use uint32_t in cast and sizeof for
16752 2013-09-11 Jia Liu <proljc@gmail.com>
16754 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16756 [__FreeBSD__]: Likewise.
16758 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16761 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16762 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16763 (strchr): Remove __strchr_sse42 ifunc selection.
16764 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16765 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16767 2013-09-11 Will Newton <will.newton@linaro.org>
16769 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16770 parameter to RES. Remove hardcoded 1000 value.
16771 * benchtests/bench-skeleton.c (main): Pass RES parameter
16772 to TIMING_INIT and multiply result by 1000.
16774 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16778 2013-09-11 Andreas Schwab <schwab@suse.de>
16780 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16782 (O_TMPFILE) [__USE_GNU]: Define.
16783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16786 2013-09-11 Will Newton <will.newton@linaro.org>
16789 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16792 2013-09-11 Will Newton <will.newton@linaro.org>
16795 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16798 2013-09-11 Will Newton <will.newton@linaro.org>
16801 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16804 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16806 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16807 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16808 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16812 2013-09-10 Allan McRae <allan@archlinux.org>
16815 * manual/arith.texi (Parsing of Floats): Clarify
16819 * manual/install.texi (Running make install): Mention
16821 * INSTALL: Regenerated.
16823 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16825 * csu/init-first.c (_init): Remove the !SHARED condition around
16826 FPU control word initialization.
16827 * elf/dl-support.c (_dl_fpu_control): New variable.
16828 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16829 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16830 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16831 * math/test-fpucw-static.c: New file.
16832 * math/test-fpucw-ieee.c: New file.
16833 * math/test-fpucw-ieee-static.c: New file.
16834 * math/Makefile (tests): Add `test-fpucw-ieee' and
16836 (tests-static): New variable.
16837 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16839 [($(build-shared),yes)]
16840 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16842 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16845 2013-09-09 Allan McRae <allan@archlinux.org>
16848 * manual/string.texi (Collation Functions): Fix typo in
16850 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16853 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16856 * libio/memstream.c (open_memstream): Fix memory leak.
16857 * libio/wmemstream.c (open_wmemstream): Likewise.
16860 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16862 2013-09-09 Will Newton <will.newton@linaro.org>
16864 * malloc/Makefile: Add tst-realloc to tests.
16865 * malloc/tst-realloc.c: New file.
16867 2013-09-09 Allan McRae <allan@archlinux.org>
16870 * COPYING: Update from GNU website to fix FSF address.
16871 * COPYING.LIB: Likewise.
16873 2013-09-06 David S. Miller <davem@davemloft.net>
16875 * po/zh_TW.po: Update Chinese (traditional) translation from
16876 translation project.
16878 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16879 Joseph Myers <joseph@codesourcery.com>
16881 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16883 (obstack_chunk_alloc): New macro.
16884 (obstack_chunk_free): Likewise.
16885 (record_offset): New function.
16886 (init_locale_data): Likewise.
16887 (align_locale_data): Likewise.
16888 (add_locale_empty): Likewise.
16889 (add_locale_raw_data): Likewise.
16890 (add_locale_raw_obstack): Likewise.
16891 (add_locale_string): Likewise.
16892 (add_locale_wstring): Likewise.
16893 (add_locale_uint32): Likewise.
16894 (add_locale_uint32_array): Likewise.
16895 (add_locale_char): Likewise.
16896 (start_locale_structure): Likewise.
16897 (end_locale_structure): Likewise.
16898 (start_locale_prelude): Likewise.
16899 (end_locale_prelude): Likewise.
16900 (write_locale_data): Take locale_file structure rather than an
16902 * locale/programs/locfile.h: Include "obstack.h".
16903 (struct locale_file): Change to store locale file contents instead
16905 (init_locale_data): New prototype.
16906 (align_locale_data): Likewise.
16907 (add_locale_empty): Likewise.
16908 (add_locale_raw_data): Likewise.
16909 (add_locale_raw_obstack): Likewise.
16910 (add_locale_string): Likewise.
16911 (add_locale_wstring): Likewise.
16912 (add_locale_uint32): Likewise.
16913 (add_locale_uint32_array): Likewise.
16914 (add_locale_char): Likewise.
16915 (start_locale_structure): Likewise.
16916 (end_locale_structure): Likewise.
16917 (start_locale_prelude): Likewise.
16918 (end_locale_prelude): Likewise.
16919 (write_locale_data): Update prototype.
16920 * locale/programs/3level.h (struct TABLE): Remove result field.
16921 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16922 Use new locale_file interface.
16923 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16924 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16925 * locale/programs/ld-address.c (address_output): Use new
16926 locale_file interface.
16927 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16929 (collate_finish): Don't call collseq_table_finalize.
16930 (collate_output): Use new locale_file interface.
16931 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16933 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16934 (TABLE): Move defines earlier in file.
16935 (ELEMENT): Likewise.
16936 (DEFAULT): Likewise.
16937 (wctrans_table_add): Move macro and inline function earlier in
16939 (struct wctype_table): Move type earlier in file.
16940 (add_locale_wctype_table): New static prototype.
16941 (struct locale_ctype_t): Use logical types instead of struct iovec
16942 pointers for members.
16943 (ctype_output): Use new locale_file interface.
16944 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16945 new locale_file interface.
16946 (allocate_arrays): Update for use of new locale_file interface.
16947 * locale/programs/ld-identification.c (identification_output): Use
16948 new locale_file interface.
16949 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16950 * locale/programs/ld-messages.c (messages_output): Likewise.
16951 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16952 * locale/programs/ld-name.c (name_output): Likewise.
16953 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16954 * locale/programs/ld-paper.c (paper_output): Likewise.
16955 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16956 * locale/programs/ld-time.c (time_output): Likewise.
16958 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16960 * benchtests/Makefile: Add memrchr benchmark.
16961 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16962 benchmark as memrchr.
16963 * benchtests/bench-memrchr-ifunc.c: New file.
16964 * benchtests/bench-memrchr.c: New file.
16966 2013-09-06 Will Newton <will.newton@linaro.org>
16968 * benchtests/Makefile (string-bench): Add memcpy.
16970 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16971 Cong Wang <amwang@redhat.com>
16974 * sysdeps/unix/sysv/linux/bits/in.h
16975 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16976 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16977 before __USE_KERNEL_IPV6_DEFS uses.
16978 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16980 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16981 sockaddr_in6, or ipv6_mreq.
16983 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16986 memory access for final bytes in some large inputs.
16987 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16989 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16991 * string/test-memrchr.c: New file.
16992 * string/test-memrchr-ifunc.c: New file.
16993 * string/Makefile: Add new memrchr testcase.
16995 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16997 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16998 fanotify_init returns EPERM.
17000 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17002 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17004 (top level): Treat second token from macro or constant entries for
17005 allowed headers as allowed.
17006 * include/complex.h: Condition internal declarations on
17008 * include/fenv.h: Condition include of <stdbool.h> and internal
17009 declarations on [!_ISOMAC].
17011 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17014 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17016 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17018 * configure.in (--enable-versioning): Remove configure option.
17019 (libc_cv_asm_symver_directive): Remove configure test.
17020 (libc_cv_ld_version_script_option): Likewise.
17021 (VERSIONING): Remove variable and AC_SUBST.
17022 (DO_VERSIONING): Remove AC_DEFINE.
17023 * configure: Regenerated.
17024 * config.h.in (DO_VERSIONING): Remove macro.
17025 * Makerules [$(versioning) = yes]: Change conditionals to
17026 [$(build-shared) = yes].
17027 * config.make.in (versioning): Remove variable.
17028 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17029 [$(build-shared) = yes].
17030 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17031 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17032 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17033 [$(build-shared) = yes].
17034 * extra-lib.mk [$(versioning) = yes]: Likewise.
17035 * hurd/Makefile [$(versioning) = yes]: Likewise.
17036 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17038 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17040 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17041 [SHARED && !NO_HIDDEN].
17042 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17044 [SHARED && DO_VERSIONING]: Likewise..
17045 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17046 [$(build-shared) = yes].
17047 * manual/install.texi (--disable-versioning): Remove
17049 * INSTALL: Regenerated.
17050 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17052 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17053 [$(build-shared) = yes].
17054 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17055 * sysdeps/i386/i686/multiarch/strstr-c.c
17056 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17057 [SHARED && !NO_HIDDEN].
17058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17059 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17060 * sysdeps/powerpc/powerpc32/dl-machine.c
17061 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17062 * sysdeps/powerpc/powerpc32/sysdep.h
17063 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17064 to [SHARED && PIC && !NO_HIDDEN].
17065 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17066 conditional to [SHARED].
17068 2013-09-04 Will Newton <will.newton@linaro.org>
17070 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17071 * benchtests/bench-string.h: Include bench-timing.h instead
17072 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17073 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17074 call to HP_TIMING_DIFF_INIT.
17075 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17076 instead of hp-timing.h macros.
17077 * benchtests/bench-memchr.c: Likewise.
17078 * benchtests/bench-memcmp.c: Likewise.
17079 * benchtests/bench-memcpy.c: Likewise.
17080 * benchtests/bench-memmem.c: Likewise.
17081 * benchtests/bench-memmove.c: Likewise.
17082 * benchtests/bench-memset.c: Likewise.
17083 * benchtests/bench-rawmemchr.c: Likewise.
17084 * benchtests/bench-strcasecmp.c: Likewise.
17085 * benchtests/bench-strcasestr.c: Likewise.
17086 * benchtests/bench-strcat.c: Likewise.
17087 * benchtests/bench-strchr.c: Likewise.
17088 * benchtests/bench-strcmp.c: Likewise.
17089 * benchtests/bench-strcpy.c: Likewise.
17090 * benchtests/bench-strcpy_chk.c: Likewise.
17091 * benchtests/bench-strlen.c: Likewise.
17092 * benchtests/bench-strncasecmp.c: Likewise.
17093 * benchtests/bench-strncat.c: Likewise.
17094 * benchtests/bench-strncmp.c: Likewise.
17095 * benchtests/bench-strncpy.c: Likewise.
17096 * benchtests/bench-strnlen.c: Likewise.
17097 * benchtests/bench-strpbrk.c: Likewise.
17098 * benchtests/bench-strrchr.c: Likewise.
17099 * benchtests/bench-strspn.c: Likewise.
17100 * benchtests/bench-strstr.c: Likewise.
17102 2013-09-04 Will Newton <will.newton@linaro.org>
17104 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17106 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17110 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17111 * math/libm-test.inc (lgamma_test_data): Add more tests.
17112 * sysdeps/i386/fpu/libm-test-ulps: Update.
17113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17115 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17117 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17121 Add strcmp-sse2-unaligned
17122 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17124 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17126 * Versions.def (libc): Add GLIBC_2.19.
17128 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17130 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17131 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17133 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17137 intermediate calculations in recurrence.
17138 (__ieee754_ynf): Likewise.
17139 * math/libm-test.inc (jn_test_data): Do not allow spurious
17140 underflow exception. Add more tests.
17141 (yn_test_data): Add more tests.
17142 * sysdeps/i386/fpu/libm-test-ulps: Update.
17143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17149 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17151 * csu/init-first.c: Fix then/than typos.
17152 * locale/programs/ld-collate.c: Likewise.
17153 * locale/programs/linereader.h: Likewise.
17154 * manual/charset.texi: Likewise.
17155 * manual/filesys.texi: Likewise.
17156 * manual/stdio.texi: Likewise.
17157 * manual/string.texi: Likewise.
17158 * stdlib/fmtmsg.c: Likewise.
17159 * sysdeps/i386/stpncpy.S: Likewise.
17160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17163 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17165 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17167 * elf/dl-open.c: Fix typos.
17168 * iconvdata/gbbig5.c: Likewise.
17169 * iconvdata/iso-2022-jp.c: Likewise.
17170 * iconv/gconv_int.h: Likewise.
17171 * iconv/loop.c: Likewise.
17172 * nis/rpcsvc/nis.h: Likewise.
17173 * resolv/ns_name.c: Likewise.
17174 * stdio-common/vfscanf.c: Likewise.
17175 * streams/stropts.h: Likewise.
17176 * sunrpc/rpc_thread.c: Likewise.
17177 * sysdeps/i386/strpbrk.S: Likewise.
17178 * sysdeps/ieee754/k_standard.c: Likewise.
17179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17181 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17182 * sysdeps/mach/hurd/profil.c: Likewise.
17183 * sysdeps/s390/dl-procinfo.h: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17186 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17187 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17190 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17192 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17195 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17198 aix specific files.
17199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17202 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17203 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17204 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17205 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17206 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17208 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17209 Roland McGrath <roland@hack.frob.com>
17211 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17212 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17214 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17216 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17217 __executable_start symbol instead of _start.
17219 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17221 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17222 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17224 * sysdeps/gnu/ldsodefs.h: ... this new file.
17226 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17227 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17228 instead of ELFOSABI_LINUX.
17230 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17231 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17232 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17233 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17235 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17236 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17239 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17240 (ibm_extended_long_double): Add ieee_nan member.
17241 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17242 (do_test): New function.
17244 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17246 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17247 functions, renamed from truncdfsf_test, trunctfsf_test,
17249 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17251 (do_test): Run all these.
17253 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17255 * argp/argp-help.c: Fix typos.
17256 * argp/argp-parse.c: Likewise.
17257 * debug/backtracesyms.c: Likewise.
17258 * elf/elf.h: Likewise.
17259 * malloc/malloc.c: Likewise.
17260 * nis/nis_print.c: Likewise.
17261 * resolv/res_comp.c: Likewise.
17262 * stdlib/stdlib.h: Likewise.
17263 * sunrpc/clnt_tcp.c: Likewise.
17264 * sunrpc/clnt_udp.c: Likewise.
17265 * sunrpc/clnt_unix.c: Likewise.
17266 * sysdeps/unix/bsd/ptsname.c: Likewise.
17267 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17277 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17279 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17282 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17285 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17286 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17287 ($(objpfx)bug-dl-leaf): New rule.
17288 ($(objpfx)bug-dl-leaf.so): Likewise.
17289 ($(objpfx)bug-dl-leaf.out): Likewise.
17290 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17291 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17292 * dlfcn/bug-dl-leaf.c: New test.
17293 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17294 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17295 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17296 (dlclose): Likewise.
17297 (dlmopen): Likewise.
17299 2013-08-27 Roland McGrath <roland@hack.frob.com>
17301 * include/netdb.h [!_ISOMAC]:
17302 Don't include <tls.h>.
17303 (h_errno, __libc_h_errno): Move declaration and macros out of
17306 * include/resolv.h [_RESOLV_H_]:
17307 Don't include <tls.h>.
17308 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17309 * resolv/res_libc.c: Don't include <tls.h>.
17310 (_res): Use __attribute__ ((nocommon)) in place of
17311 __attribute__ ((section (".bss"))).
17313 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17314 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17316 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17318 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17319 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17321 * resolv/res_mkquery.c: Include <sys/time.h>.
17323 * inet/ifreq.c: Moved to ...
17324 * sysdeps/unix/ifreq.c: ... here.
17325 * inet/ifreq.c: New file, true stub version.
17327 * socket/sa_len.c: New file.
17328 * socket/Makefile (aux): Add it.
17329 * sysdeps/unix/sysv/linux/Makefile
17330 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17331 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17332 and #include <socket/sa_len.c>.
17333 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17334 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17336 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17337 * bits/socket.h: ... here.
17339 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17340 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17341 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17343 2013-08-27 Andreas Schwab <schwab@suse.de>
17346 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17347 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17348 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17349 * string/test-strcasecmp.c (test_main): Run tests in several
17351 * string/test-strncasecmp.c (test_main): Likewise.
17353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17354 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17355 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17357 (__strncasecmp_ssse3) [PIC]: Likewise.
17359 2013-08-26 Roland McGrath <roland@hack.frob.com>
17361 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17363 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17364 instead of explicitly declaring xdecrypt.
17365 * nis/nss_nis/nis-publickey.c: Likewise.
17367 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * nscd/aicache.c: Include res_hconf.h.
17371 (addhstaiX): Initialize res_hconf.
17373 2013-08-26 Andreas Schwab <schwab@suse.de>
17375 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17376 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17378 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17380 * nscd/aicache.c (addhstaiX): Fix indentation.
17382 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17384 * configure.ac: Quote $build_pt_chown test.
17385 * configure: Regenerated.
17387 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17390 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17391 * math/s_cexpf.c (__cexpf): Likewise.
17392 * math/s_cexpl.c (__cexpl): Likewise.
17393 * math/libm-test.inc (cexp_test_data): Correct expected return
17394 value for NaN + i0. Add another test.
17396 2013-08-22 David S. Miller <davem@davemloft.net>
17398 * po/ca.po: Update Catalan translation from translation project.
17399 * po/uk.po: Add Ukrainian translations from translation project.
17401 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17404 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17405 is infinite, not alongside NaN test.
17406 * math/s_fdimf.c (__fdimf): Likewise.
17407 * math/s_fdiml.c (__fdiml): Likewise.
17408 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17409 errno is unchanged.
17411 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17413 * argp/argp-help.c: Fix typos.
17414 * crypt/speeds.c: Likewise.
17415 * csu/check_fds.c: Likewise.
17416 * elf/dl-load.c: Likewise.
17417 * elf/dl-open.c: Likewise.
17418 * elf/reldep3.c: Likewise.
17419 * elf/reldep.c: Likewise.
17420 * elf/sprof.c: Likewise.
17421 * iconv/iconv_charmap.c: Likewise.
17422 * iconv/skeleton.c: Likewise.
17423 * iconv/strtab.c: Likewise.
17424 * io/lockf64.c: Likewise.
17425 * libio/libioP.h: Likewise.
17426 * resolv/gai_notify.c: Likewise.
17427 * resolv/ns_name.c: Likewise.
17428 * resolv/ns_samedomain.c: Likewise.
17429 * resolv/res_send.c: Likewise.
17430 * stdlib/random.c: Likewise.
17431 * sunrpc/rpc/xdr.h: Likewise.
17432 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17434 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17435 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17439 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17440 * sysdeps/mach/hurd/check_fds.c: Likewise.
17441 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17442 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17443 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17445 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17446 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17447 * sysdeps/pthread/aio_notify.c: Likewise.
17448 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17449 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17450 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17452 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17454 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17456 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17457 version if bit_Slow_SSE4_2 is set.
17458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17461 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17464 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17465 trampoline stack frame information.
17466 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17467 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17468 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17469 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17470 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17471 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17472 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17473 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17475 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17476 interrupting a syscall and set with option SA_SIGINFO.
17478 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17481 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17482 argument is infinite.
17483 * math/s_cprojf.c (__cprojf): Likewise.
17484 * math/s_cprojl.c (__cprojl): Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17486 * math/libm-test.inc (cproj_test_data): Add more tests.
17488 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17491 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17492 size. Use __ffs to determine corresponding shift.
17494 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17495 Roland McGrath <roland@hack.frob.com>
17497 * Makefile (INSTALL): Remove trailing blank lines from output of
17500 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17502 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17503 Align 32 bit compat elf_greg to 8 bytes.
17505 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17507 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17509 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17511 * string/strcoll_l.c (coll_seq): New structure.
17512 (get_next_seq_cached): New function.
17513 (get_next_seq): New function.
17514 (do_compare): New function.
17515 (STRCOLL): Use GNU style definition. Simplify implementation
17516 by using get_next_seq, get_next_seq_cached and do_compare.
17518 2013-08-16 Florian Weimer <fweimer@redhat.com>
17522 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17524 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17526 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17527 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17528 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17530 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17531 GETDENTS_64BIT_ALIGNED.
17532 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17533 * manual/filesys.texi (Reading/Closing Directory): Document
17534 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17536 * manual/conf.texi (Limits for Files): Add portability note to
17537 NAME_MAX, PATH_MAX.
17538 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17540 2013-08-13 Andreas Schwab <schwab@suse.de>
17543 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17545 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17546 LDBL_MAX_EXP >= 16384]: Add tests for it.
17548 2013-08-12 David S. Miller <davem@davemloft.net>
17550 * version.h (RELEASE): Set to "development".
17551 (VERSION): Set to "2.18.90".
17552 * NEWS: Add 2.19 section.
17554 2013-08-03 David S. Miller <davem@davemloft.net>
17556 * po/ko.po: Update Korean translation from translation project.
17558 2013-08-01 David S. Miller <davem@davemloft.net>
17560 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17561 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17564 2013-07-30 David S. Miller <davem@davemloft.net>
17566 * po/fr.po: Update French translation from translation project.
17568 2013-07-28 David S. Miller <davem@davemloft.net>
17570 * po/cs.po: Update Czech translation from translation project.
17572 * po/sv.po: Update Swedish translation from translation project.
17574 2013-07-27 David S. Miller <davem@davemloft.net>
17576 * po/eo.po: Update Esperanto translation from translation project.
17578 * po/vi.po: Update Vietnamese translation from translation project.
17580 * po/de.po: Update German translation from translation project.
17582 2013-07-26 David S. Miller <davem@davemloft.net>
17584 * po/bg.po: Update Bulgarian translation from translation project.
17586 * po/nl.po: Update Dutch translation from translation project.
17587 * po/pl.po: Update Polish translation from translation project.
17588 * po/ru.po: Update Russian translation from translation project.
17590 2013-07-24 David S. Miller <davem@davemloft.net>
17592 * po/libc.pot: Update.
17594 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17596 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17597 variable page size.
17598 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17600 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17602 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17604 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17606 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17607 Andreas Schwab <schwab@suse.de>
17608 Roland McGrath <roland@hack.frob.com>
17609 Joseph Myers <joseph@codesourcery.com>
17610 Carlos O'Donell <carlos@redhat.com>
17613 * config.h.in: Define HAVE_PT_CHOWN.
17614 * config.make.in (build-pt-chown): New variable.
17615 * configure.in (--enable-pt_chown): New configure option.
17616 * configure: Regenerate.
17617 * login/Makefile: Include Makeconfig. Build pt_chown only if
17618 build-pt-chown is enabled.
17619 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17620 pt_chown to fix pty ownership.
17621 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17623 * manual/install.texi (Configuring and compiling): Mention
17624 --enable-pt_chown. Add @findex for grantpt.
17625 * INSTALL: Regenerate.
17627 2013-07-20 David S. Miller <davem@davemloft.net>
17629 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17630 difference between 32-bit and 64-bit.
17632 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17635 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17636 Avoid system header dependency with -ffreestanding.
17637 ($(objpfx)bits/syscall%d): Likewise.
17639 2013-07-13 David S. Miller <davem@davemloft.net>
17641 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17642 underflows from atanl/atan2l due to bug 15319.
17643 (casinh_test_data): Likewise.
17645 2013-07-07 David S. Miller <davem@davemloft.net>
17647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17649 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17651 * sysdeps/i386/fpu/libm-test-ulps: Update.
17652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17656 * configure.in (--enable-lock-elision): Fix message text.
17657 * INSTALL: Regenerate.
17658 * configure: Regenerate.
17660 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17664 2013-07-03 Andreas Jaeger <aj@suse.de>
17666 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17668 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17669 (ptrace_peeksiginfo_args): Add.
17670 (__ptrace_peeksiginfo_flags): Add.
17671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17675 2013-07-03 Allan McRae <allan@archlinux.org>
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 2013-07-02 David S. Miller <davem@davemloft.net>
17681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17683 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17687 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17692 2013-07-02 Andi Kleen <ak@linux.intel.com>
17694 * config.h.in (ENABLE_LOCK_ELISION): Add.
17695 * configure.in (--enable-lock-elision): Add option.
17696 * manual/install.texi: Document --enable lock elision.
17697 * configure: Regenerate
17698 * INSTALL: Regenerate.
17700 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17702 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17703 SSE4.2 strcasecmp for libc.a.
17704 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17706 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17709 * soft-fp/op-common.h (_FP_FMA): New macro.
17710 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17711 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17712 (_FP_MUL_MEAT_1_imm): ... here.
17713 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17714 (_FP_MUL_MEAT_1_wide): ... here.
17715 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17716 (_FP_MUL_MEAT_1_hard): ... here.
17717 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17718 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17719 (_FP_MUL_MEAT_2_wide): ... here.
17720 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17721 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17722 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17723 (_FP_MUL_MEAT_2_gmp): ... here.
17724 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17725 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17726 (_FP_MUL_MEAT_4_wide): ... here.
17727 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17728 (_FP_MUL_MEAT_4_gmp): ... here.
17729 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17730 (_FP_WFRACBITS_DW_S): Likewise.
17731 (_FP_WFRACXBITS_DW_S): Likewise.
17732 (_FP_HIGHBIT_DW_S): Likewise.
17733 (FP_FMA_S): Likewise.
17734 (_FP_FRAC_HIGH_DW_S): Likewise.
17735 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17736 (_FP_WFRACBITS_DW_D): Likewise.
17737 (_FP_WFRACXBITS_DW_D): Likewise.
17738 (_FP_HIGHBIT_DW_D): Likewise.
17739 (FP_FMA_D): Likewise.
17740 (_FP_FRAC_HIGH_DW_D): Likewise.
17741 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17742 (_FP_WFRACBITS_DW_E): Likewise.
17743 (_FP_WFRACXBITS_DW_E): Likewise.
17744 (_FP_HIGHBIT_DW_E): Likewise.
17745 (FP_FMA_E): Likewise.
17746 (_FP_FRAC_HIGH_DW_E): Likewise.
17747 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17748 (_FP_WFRACBITS_DW_Q): Likewise.
17749 (_FP_WFRACXBITS_DW_Q): Likewise.
17750 (_FP_HIGHBIT_DW_Q): Likewise.
17751 (FP_FMA_Q): Likewise.
17752 (_FP_FRAC_HIGH_DW_Q): Likewise.
17753 * soft-fp/fmasf4.c: New file.
17754 * soft-fp/fmadf4.c: Likewise.
17755 * soft-fp/fmatf4.c: Likewise.
17757 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17760 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17764 (index_Slow_SSE4_2): Likewise.
17765 (index_Prefer_PMINUB_for_stringop): Likewise.
17766 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17767 bit_Slow_SSE4_2 is set.
17768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17769 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17771 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17773 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17774 rtld_global._dl_hwcap2.
17775 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17778 POWER8 feature descriptions defined in _dl_hwcap2.
17779 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17780 string handling for POWER8 feature bits.
17781 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17782 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17783 _dl_powerpc_cap_flags.
17784 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17785 * sysdeps/powerpc/rtld-global-offsets.sym
17786 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17787 _dl_hwcap2 in the rtld_global_ro structure.
17789 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17791 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17792 hardware capabilities in support of AT_HWCAP2.
17793 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17794 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17796 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17797 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17798 explicitly the unknown a_type display mechanism is used.
17799 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17800 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17802 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17803 to macro prototype for AT_HWCAP2 support.
17804 * sysdeps/i386/dl-procinfo.h: Likewise.
17805 * sysdeps/s390/dl-procinfo.h: Likewise.
17806 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17807 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17808 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17809 return -1 for unknown a_type display fallback.
17810 * sysdeps/sparc/dl-procinfo.h: Likewise.
17811 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17812 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17814 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17816 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17817 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17819 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17822 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17823 mprotect making __stack_prot writable.
17825 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17826 Joseph Myers <joseph@codesourcery.com>
17828 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17829 as being properly aligned.
17831 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17833 * dlfcn/modstatic5.c: New file.
17834 * dlfcn/tststatic5.c: New file.
17835 * dlfcn/Makefile (tests): Add tststatic5.
17836 (tests-static): Likewise.
17837 (modules-names): Add modstatic5.
17838 (tststatic5-ENV): New variable.
17839 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17842 * elf/dl-support.c (_dl_main_map): New variable.
17843 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17844 (_dl_nns, _dl_load_adds): Set to 1.
17845 (_dl_initial_searchlist): Refer to _dl_main_map.
17846 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17847 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17848 call to _dl_get_origin.
17849 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17851 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17852 * dlfcn/modstatic3.c: New file.
17853 * dlfcn/tststatic3.c: New file.
17854 * dlfcn/tststatic4.c: New file.
17855 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17856 (tests-static): Likewise.
17857 (modules-names): Add modstatic3.
17858 (tststatic3-ENV, tststatic4-ENV): New variables.
17859 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17860 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17862 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17864 * configure.in (CC): Require GCC version 4.4 or later.
17865 * configure: Regenerated.
17866 * manual/install.texi (Tools for Compilation): Update GCC version
17868 * INSTALL: Regenerated.
17870 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17873 * string/test-memcmp.c (check2): New.
17874 (main): Call check2.
17876 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17878 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17881 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17883 (dl_open_worker) [!SHARED]: ... here.
17885 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17887 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17889 2013-06-25 Richard Henderson <rth@redhat.com>
17891 * locale/programs/locarchive.c: Include <libc-internal.h>
17893 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17895 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17896 trailing whitespace removed.
17898 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17901 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17902 * locale/programs/locarchive.c: Include libc-mmap.h.
17903 (prepare_address_space): Take two new outputs (the mmap base and len).
17904 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17906 (create_archive): Declare new mmap base and len values for
17907 prepare_address_space, and store the result in ah.
17908 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17909 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17910 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17911 Declare new mmap base and len values for
17912 prepare_address_space, and store the result in new_ah.
17913 (open_archive): Declare new mmap base and len values for
17914 prepare_address_space, and store the result in ah.
17915 (close_archive): If ah->mmap_base is not NULL, use that and
17916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17917 * sysdeps/generic/libc-mmap.h: New file.
17919 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17921 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17922 (ALIGN_UP): Likewise.
17923 (PTR_ALIGN_DOWN): Likewise.
17924 (PTR_ALIGN_UP): Likewise.
17926 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17928 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17929 entry mapped to PPC_PLATFORM_POWER8.
17930 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17932 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17933 (_dl_string_platform): Add case for exporting platform position for
17935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17936 search path to sysdeps/powerpc/powerpc32/power8 directory.
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17938 search path to sysdeps/powerpc/powerpc64/power8 directory.
17939 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17940 power7 directories.
17941 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17942 power7 directories.
17944 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17946 * INSTALL: Regenerate.
17948 * nscd/connections.c (nscd_init): Fix comment.
17950 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17952 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17955 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17956 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17958 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17960 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17962 (DL_DST_REQ_STATIC): Remove macro.
17964 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17967 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17968 with a shift of 0 bits.
17970 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17972 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17975 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17978 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17980 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17982 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17983 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17984 accepts -fno-tree-loop-distribute-patterns.
17985 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17986 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17988 * string/memset.c (memset): Likewise.
17989 * string/test-memmove.c (simple_memmove): Disable loop transformation
17991 * string/test-memset.c (simple_memset): Likewise.
17992 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17993 * benchtests/bench-memset.c (simple_memset): Likewise.
17994 * configure: Regenerated.
17996 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17998 * math/test-misc.c (main): Ignore fesetround failure when failures
17999 of subsequent rounding tests would be ignored.
18002 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18003 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18004 * math/fegetenv.c (__fegetenv): Return 0.
18005 * math/fegetexcept.c (fegetexcept): Return 0.
18006 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18008 * math/feholdexcpt.c (feholdexcept): Return 0.
18009 * math/fesetenv.c (__fesetenv): Return 0.
18010 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18011 argument FE_TONEAREST.
18012 * math/feupdateenv.c (__feupdateenv): Return 0.
18013 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18015 2013-06-18 Roland McGrath <roland@hack.frob.com>
18017 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18018 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18019 ($(objpfx)rtld-%.os rules): Use them.
18021 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18023 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18026 2013-06-17 Roland McGrath <roland@hack.frob.com>
18028 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18029 length of target pattern, then descending length of dependency pattern.
18030 * configure.in (AWK): Require gawk 3.1.2 or newer.
18031 * manual/install.texi (Tools for Compilation): Say that we do.
18032 * configure: Regenerated.
18034 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18035 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18036 * scripts/sysd-rules.awk: ... this new script.
18037 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18038 than a glob-style pattern.
18040 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18042 * math/test-misc.c (main): Do not treat incorrectly rounded
18043 conversions as failure unless ROUNDING_TESTS passes.
18045 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18048 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18049 restore exception state around main square root computation, then
18050 check for inexactness explicitly.
18052 * math/libm-test.inc (fma_test_data): Add another test.
18054 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18056 * manual/threads.texi (Non-POSIX Extensions): New document
18057 node. Document pthread_getattr_default_np and
18058 pthread_setattr_default_np.
18060 * Versions.def (libpthread): Add GLIBC_2.18.
18061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18070 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18081 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18084 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18086 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18087 H.J. Lu <hjl.tools@gmail.com>
18090 * sysdeps/x86_64/rtld-memset.c: Remove file.
18091 * sysdeps/x86_64/rtld-memset.S: New file.
18093 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18095 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18096 (test_in_one_mode): Take arguments for whether the rounding mode
18097 is supported for each floating-point type.
18098 (do_test): Pass new arguments to test_in_one_mode using
18101 2013-06-13 Roland McGrath <roland@hack.frob.com>
18103 * posix/tst-waitid.c (do_test): Distinguish different instances of
18104 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18105 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18106 before entering the kernel for waitpid.
18108 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18110 * NEWS: Fix note on clock function precision. Text by Roland
18113 2013-06-13 Roland McGrath <roland@hack.frob.com>
18115 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18116 it into place only when and if the sanity check passes.
18118 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18120 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18121 output for whether conversion result is exact. Take argument
18122 indicating whether type is IBM long double.
18123 (round_for_all): Change need_exact field to ibm_ld.
18124 * stdlib/tst-strtod-round.c (struct exactness): New type.
18125 (struct test): Change bool ld_ok field to struct exactness exact.
18126 (TEST): Update all definitions for change to field.
18127 (tests): Regenerate array contents.
18128 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18129 field value. Check for IBM long double here.
18130 (do_test): Update calls to test_in_one_mode.
18132 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18135 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18136 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18138 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18141 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18142 generated by the compiler on loop optimizations.
18143 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18144 general definitions.
18146 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18148 * math/bug-nextafter.c: Include <math-tests.h>.
18149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18151 * math/bug-nexttoward.c: Include <math-tests.h>.
18152 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18154 * math/test-misc.c: Include <math-tests.h>.
18155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18158 2013-06-12 Andreas Jaeger <aj@suse.de>
18160 * po/ia.po: Update Interlingua translation from translation
18163 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18165 * include/fenv.h: Include stdbool.h.
18166 (struct rm_ctx): New structure.
18167 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18169 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18170 (SET_RESTORE_ROUNDF): Likewise.
18171 (SET_RESTORE_ROUNDL): Likewise.
18172 (SET_RESTORE_ROUND_NOEX): Likewise.
18173 (SET_RESTORE_ROUND_NOEXF): Likewise.
18174 (SET_RESTORE_ROUND_NOEXL): Likewise.
18175 (SET_RESTORE_ROUND_53BIT): Likewise.
18176 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18177 (libc_feresetround_noexf_ctx): Likewise.
18178 (libc_feresetround_noexl_ctx): Likewise.
18179 (libc_feholdsetround_53bit_ctx): Likewise.
18180 (libc_feresetround_53bit_ctx): Likewise.
18181 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18182 (libc_feholdexcept_setround_sse_ctx): New function.
18183 (libc_fesetenv_sse_ctx): Likewise.
18184 (libc_feupdateenv_sse_ctx): Likewise.
18185 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18186 (libc_feholdexcept_setround_387_ctx): Likewise.
18187 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18188 (libc_feholdsetround_387_prec_ctx): Likewise.
18189 (libc_feholdsetround_387_ctx): Likewise.
18190 (libc_feholdsetround_387_53bit_ctx): Likewise.
18191 (libc_feholdsetround_sse_ctx): Likewise.
18192 (libc_feresetround_sse_ctx): Likewise.
18193 (libc_feresetround_387_ctx): Likewise.
18194 (libc_feupdateenv_387_ctx): Likewise.
18195 (libc_feholdexcept_setroundf_ctx): Define macro.
18196 (libc_fesetenvf_ctx): Likewise.
18197 (libc_feupdateenvf_ctx): Likewise.
18198 (libc_feholdsetroundf_ctx): Likewise.
18199 (libc_feresetroundf_ctx): Likewise.
18200 (libc_feholdexcept_setround_ctx): Likewise.
18201 (libc_fesetenv_ctx): Likewise.
18202 (libc_feupdateenv_ctx): Likewise.
18203 (libc_feholdsetround_ctx): Likewise.
18204 (libc_feresetround_ctx): Likewise.
18205 (libc_feholdexcept_setroundl_ctx): Likewise.
18206 (libc_feupdateenvl_ctx): Likewise.
18207 (libc_feholdsetroundl_ctx): Likewise.
18208 (libc_feresetroundl_ctx): Likewise.
18209 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18210 (libc_feresetround_53bit_ctx): Likewise.
18212 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18214 * locale/iso-639.def: Convert to UTF-8.
18216 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18218 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18219 (EXCEPTION_TESTS_double): Likewise.
18220 (EXCEPTION_TESTS_long_double): Likewise.
18221 (EXCEPTION_TESTS): Likewise.
18222 * math/libm-test.inc (test_exceptions): Only test exceptions if
18223 EXCEPTION_TESTS (FLOAT).
18225 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18227 * benchtests/Makefile (string-bench): Add strcpy_chk and
18229 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18230 * benchtests/bench-stpcpy_chk.c: New file.
18231 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18232 * benchtests/bench-strcpy_chk.c: New file.
18233 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18235 (do_test): Likewise.
18237 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18240 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18241 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18242 with tabs where appropriate.
18243 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18245 [PPC_PLATFORM_PPC440]: Likewise.
18246 [PPC_PLATFORM_PPC464]: Likewise.
18247 [PPC_PLATFORM_PPC476]: Likewise.
18248 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18249 ppc464, and ppc476 platform strings merging from ports/
18252 2013-06-11 Andreas Schwab <schwab@suse.de>
18255 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18256 (from_ucs4_idx): Regenerate.
18257 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18258 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18259 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18260 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18261 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18262 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18263 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18264 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18265 from FROM_LOOP and TO_LOOP specific macros.
18266 (BODY): Handle combining characters.
18267 * iconvdata/BIG5HKSCS.irreversible: Update.
18268 * iconvdata/BIG5HKSCS.precomposed: New file.
18269 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18271 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18273 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18275 * include/sys/time.h: Fix indentation and add copyright header.
18277 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18278 (do_test): Likewise.
18279 * string/test-memchr.c (do_one_test): Likewise.
18280 (do_test): Likewise.
18281 * string/test-memcmp.c (do_one_test): Likewise.
18282 (do_test): Likewise.
18283 * string/test-memcpy.c (do_one_test): Likewise.
18284 (do_test): Likewise.
18285 * string/test-memmem.c (do_one_test): Likewise.
18286 (do_test): Likewise.
18287 (do_random_tests): Likewise.
18288 * string/test-memmove.c (do_one_test): Likewise.
18289 (do_test): Likewise.
18290 * string/test-memset.c (do_one_test): Likewise.
18291 (do_test): Likewise.
18292 * string/test-rawmemchr.c (do_one_test): Likewise.
18293 (do_test): Likewise.
18294 * string/test-strcasecmp.c (do_one_test): Likewise.
18295 (do_test): Likewise.
18296 * string/test-strcasestr.c (do_one_test): Likewise.
18297 (do_test): Likewise.
18298 * string/test-strcat.c (do_one_test): Likewise.
18299 (do_test): Likewise.
18300 * string/test-strchr.c (do_one_test): Likewise.
18301 (do_test): Likewise.
18302 * string/test-strcmp.c (do_one_test): Likewise.
18303 (do_test): Likewise.
18304 * string/test-strcpy.c (do_one_test): Likewise.
18305 (do_test): Likewise.
18306 * string/test-string.h: Likewise.
18307 (test_init): Likewise.
18308 * string/test-strlen.c (do_one_test): Likewise.
18309 (do_test): Likewise.
18310 * string/test-strncasecmp.c (do_one_test): Likewise.
18311 (do_test): Likewise.
18312 * string/test-strncat.c (do_one_test): Likewise.
18313 (do_test): Likewise.
18314 * string/test-strncmp.c (do_one_test): Likewise.
18315 (do_test_limit): Likewise.
18316 (do_test): Likewise.
18317 * string/test-strncpy.c (do_one_test): Likewise.
18318 (do_test): Likewise.
18319 * string/test-strnlen.c (do_one_test): Likewise.
18320 (do_test): Likewise.
18321 * string/test-strpbrk.c (do_one_test): Likewise.
18322 (do_test): Likewise.
18323 * string/test-strrchr.c (do_one_test): Likewise.
18324 (do_test): Likewise.
18325 * string/test-strspn.c (do_one_test): Likewise.
18326 (do_test): Likewise.
18327 * string/test-strstr.c (do_one_test): Likewise.
18328 (do_test): Likewise.
18330 * benchtests/Makefile (string-bench): Add string benchmarks.
18331 * benchtests/bench-bcopy-ifunc.c: New file.
18332 * benchtests/bench-bcopy.c: New file.
18333 * benchtests/bench-bzero-ifunc.c: New file.
18334 * benchtests/bench-bzero.c: New file.
18335 * benchtests/bench-memccpy-ifunc.c: New file.
18336 * benchtests/bench-memccpy.c: New file.
18337 * benchtests/bench-memchr-ifunc.c: New file.
18338 * benchtests/bench-memchr.c: New file.
18339 * benchtests/bench-memcmp-ifunc.c: New file.
18340 * benchtests/bench-memcmp.c: New file.
18341 * benchtests/bench-memmem-ifunc.c: New file.
18342 * benchtests/bench-memmem.c: New file.
18343 * benchtests/bench-memmove-ifunc.c: New file.
18344 * benchtests/bench-memmove.c: New file.
18345 * benchtests/bench-mempcpy-ifunc.c: New file.
18346 * benchtests/bench-mempcpy.c: New file.
18347 * benchtests/bench-memset-ifunc.c: New file.
18348 * benchtests/bench-memset.c: New file.
18349 * benchtests/bench-rawmemchr-ifunc.c: New file.
18350 * benchtests/bench-rawmemchr.c: New file.
18351 * benchtests/bench-stpcpy-ifunc.c: New file.
18352 * benchtests/bench-stpcpy.c: New file.
18353 * benchtests/bench-stpncpy-ifunc.c: New file.
18354 * benchtests/bench-stpncpy.c: New file.
18355 * benchtests/bench-strcasecmp-ifunc.c: New file.
18356 * benchtests/bench-strcasecmp.c: New file.
18357 * benchtests/bench-strcasestr-ifunc.c: New file.
18358 * benchtests/bench-strcasestr.c: New file.
18359 * benchtests/bench-strcat-ifunc.c: New file.
18360 * benchtests/bench-strcat.c: New file.
18361 * benchtests/bench-strchr-ifunc.c: New file.
18362 * benchtests/bench-strchr.c: New file.
18363 * benchtests/bench-strchrnul-ifunc.c: New file.
18364 * benchtests/bench-strchrnul.c: New file.
18365 * benchtests/bench-strcmp-ifunc.c: New file.
18366 * benchtests/bench-strcmp.c: New file.
18367 * benchtests/bench-strcpy-ifunc.c: New file.
18368 * benchtests/bench-strcpy.c: New file.
18369 * benchtests/bench-strcspn-ifunc.c: New file.
18370 * benchtests/bench-strcspn.c: New file.
18371 * benchtests/bench-strlen-ifunc.c: New file.
18372 * benchtests/bench-strlen.c: New file.
18373 * benchtests/bench-strncasecmp-ifunc.c: New file.
18374 * benchtests/bench-strncasecmp.c: New file.
18375 * benchtests/bench-strncat-ifunc.c: New file.
18376 * benchtests/bench-strncat.c: New file.
18377 * benchtests/bench-strncmp-ifunc.c: New file.
18378 * benchtests/bench-strncmp.c: New file.
18379 * benchtests/bench-strncpy-ifunc.c: New file.
18380 * benchtests/bench-strncpy.c: New file.
18381 * benchtests/bench-strnlen-ifunc.c: New file.
18382 * benchtests/bench-strnlen.c: New file.
18383 * benchtests/bench-strpbrk-ifunc.c: New file.
18384 * benchtests/bench-strpbrk.c: New file.
18385 * benchtests/bench-strrchr-ifunc.c: New file.
18386 * benchtests/bench-strrchr.c: New file.
18387 * benchtests/bench-strspn-ifunc.c: New file.
18388 * benchtests/bench-strspn.c: New file.
18389 * benchtests/bench-strstr-ifunc.c: New file.
18390 * benchtests/bench-strstr.c: New file.
18392 * benchtests/Makefile: Disable parallel execution of targets.
18393 (string-bench): Add memcpy.
18394 (benchset): New variable to store a list of benchmark sets.
18395 (bench-func): Renamed from bench.
18396 (bench-set): New target.
18397 (bench): Depend on bench-func and bench-set.
18398 * benchtests/README: Add section on benchmark sets.
18399 * benchtests/bench-memcpy-ifunc.c: New file.
18400 * benchtests/bench-memcpy.c: New file.
18401 * benchtests/bench-string.h: New file.
18403 2013-06-11 Andreas Schwab <schwab@suse.de>
18406 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18407 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18408 values in the triple.
18409 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18410 terminator in the group key.
18412 2013-06-11 Andreas Jaeger <aj@suse.de>
18414 * po/zh_TW.po: Update Chinese (traditional) translation from
18415 translation project.
18417 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18419 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18420 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18421 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18423 (clock_getcpuclockid): Likewise.
18424 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18425 Add weak_alias and libc_hidden_def.
18426 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18427 * rt/clock_gettime.c (clock_gettime): Rename to
18428 __clock_gettime. Add weak_alias and libc_hidden_def.
18429 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18430 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18431 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18432 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18433 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18435 * rt/clock_settime.c (clock_settime): Rename to
18436 __clock_settime. Add weak_alias and libc_hidden_def.
18437 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18439 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18441 * mach/err_boot.sub: Remove trailing whitespace.
18442 * mach/err_ipc.sub: Likewise.
18443 * mach/err_mach.sub: Likewise.
18445 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18446 (ROUNDING_TESTS_double): Likewise.
18447 (ROUNDING_TESTS_long_double): Likewise.
18448 (ROUNDING_TESTS): Likewise.
18449 * math/libm-test.inc: Include <math-tests.h>.
18450 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18451 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18452 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18453 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18455 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18457 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18460 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18462 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18463 otherwise empty TRANS lines.
18464 * sysdeps/gnu/errlist.c: Regenerated.
18466 * catgets/gencat.c (error_print): Use (void) in function
18468 * crypt/crypt_util.c (__init_des): Likewise.
18469 * crypt/speeds.c (Stop): Likewise.
18471 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18472 * inet/ruserpass.c (token): Likewise.
18473 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18474 * intl/localealias.c (extend_alias_table): Likewise.
18475 * intl/plural-exp.c (init_germanic_plural): Likewise.
18476 * libio/fcloseall.c (__fcloseall): Likewise.
18477 * libio/genops.c (_IO_flush_all): Likewise.
18478 (_IO_flush_all_linebuffered): Likewise.
18479 (_IO_cleanup): Likewise.
18480 (_IO_iter_begin): Likewise.
18481 (_IO_iter_end): Likewise.
18482 (_IO_list_lock): Likewise.
18483 (_IO_list_unlock): Likewise.
18484 (_IO_list_resetlock): Likewise.
18485 * libio/getchar.c (getchar): Likewise.
18486 * libio/getchar_u.c (getchar_unlocked): Likewise.
18487 * libio/getwchar.c (getwchar): Likewise.
18488 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18489 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18490 * login/getpt.c (__getpt): Likewise.
18491 * login/tst-utmp.c (main): Likewise.
18492 * malloc/hooks.c (__malloc_check_init): Likewise.
18493 * malloc/malloc.c (__malloc_stats): Likewise.
18494 * malloc/mtrace.c (tr_break): Likewise.
18495 (mtrace): Likewise.
18496 (muntrace): Likewise.
18497 * misc/fstab.c (endfsent): Likewise.
18498 * misc/getclktck.c (__getclktck): Likewise.
18499 * misc/getdtsz.c (__getdtablesize): Likewise.
18500 * misc/gethostid.c (gethostid): Likewise.
18501 * misc/getpagesize.c (__getpagesize): Likewise.
18502 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18503 (__get_nprocs): Likewise.
18504 (__get_phys_pages): Likewise.
18505 (__get_avphys_pages): Likewise.
18506 * misc/getttyent.c (getttyent): Likewise.
18507 (setttyent): Likewise.
18508 (endttyent): Likewise.
18509 * misc/getusershell.c (getusershell): Likewise.
18510 (endusershell): Likewise.
18511 (setusershell): Likewise.
18512 (initshells): Likewise.
18513 * misc/hsearch.c (__hdestroy): Likewise.
18514 * misc/sync.c (sync): Likewise.
18515 * misc/syslog.c (closelog_internal): Likewise.
18516 (closelog): Likewise.
18517 * misc/ttyslot.c (ttyslot): Likewise.
18518 * misc/vhangup.c (vhangup): Likewise.
18519 * posix/fork.c (__fork): Likewise.
18520 * posix/getegid.c (__getegid): Likewise.
18521 * posix/geteuid.c (__geteuid): Likewise.
18522 * posix/getgid.c (__getgid): Likewise.
18523 * posix/getpid.c (__getpid): Likewise.
18524 * posix/getppid.c (__getppid): Likewise.
18525 * posix/getuid.c (__getuid): Likewise.
18526 * posix/pause.c (pause): Likewise.
18527 * posix/setpgrp.c (setpgrp): Likewise.
18528 * posix/setsid.c (__setsid): Likewise.
18529 * posix/test-vfork.c (noop): Likewise.
18530 * resolv/gethnamaddr.c (_endhtent): Likewise.
18531 (_gethtent): Likewise.
18532 (ht_endhostent): Likewise.
18533 (gethostent): Likewise.
18534 (dns_service): Likewise.
18535 * stdlib/drand48.c (drand48): Likewise.
18536 * stdlib/lrand48.c (lrand48): Likewise.
18537 * stdlib/mrand48.c (mrand48): Likewise.
18538 * stdlib/rand.c (rand): Likewise.
18539 * stdlib/random.c (__random): Likewise.
18540 * stdlib/setenv.c (clearenv): Likewise.
18541 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18542 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18543 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18544 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18545 (__get_nprocs): Likewise.
18546 (__get_phys_pages): Likewise.
18547 (__get_avphys_pages): Likewise.
18548 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18549 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18550 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18551 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18552 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18553 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18554 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18555 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18556 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18557 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18558 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18559 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18560 * sysdeps/posix/clock.c (clock): Likewise.
18561 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18562 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18563 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18564 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18565 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18567 (__get_nprocs_conf): Likewise.
18568 (__get_phys_pages): Likewise.
18569 (__get_avphys_pages): Likewise.
18570 * time/clock.c (clock): Likewise.
18571 * time/tzset.c (__tzname_max): Likewise.
18573 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18575 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18576 (__bswap_32): Do not use "register".
18577 * crypt/crypt.c (_ufc_doit_r): Likewise.
18578 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18579 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18580 * gmon/gmon.c (__monstartup): Likewise.
18581 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18582 * hurd/hurdmalloc.c (more_memory): Likewise.
18583 (malloc): Likewise.
18585 (realloc): Likewise.
18586 (malloc_fork_prepare): Likewise.
18587 (malloc_fork_parent): Likewise.
18588 (malloc_fork_child): Likewise.
18589 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18590 (_svcauth_des): Likewise.
18591 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18592 * inet/inet_net.c (inet_network): Likewise.
18593 * inet/inet_netof.c (inet_netof): Likewise.
18594 * inet/rcmd.c (__validuser2_sa): Likewise.
18595 * io/fts.c (fts_open): Likewise.
18596 (fts_load): Likewise.
18597 (fts_close): Likewise.
18598 (fts_read): Likewise.
18599 (fts_children): Likewise.
18600 (fts_build): Likewise.
18601 (fts_stat): Likewise.
18602 (fts_sort): Likewise.
18603 (fts_alloc): Likewise.
18604 (fts_lfree): Likewise.
18605 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18606 (_IO_file_xsgetn): Likewise.
18607 (_IO_file_xsgetn_mmap): Likewise.
18608 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18609 (_IO_cookie_write): Likewise.
18610 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18611 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18612 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18613 * malloc/obstack.c (_obstack_begin): Likewise.
18614 (_obstack_begin_1): Likewise.
18615 (_obstack_newchunk): Likewise.
18616 (_obstack_allocated_p): Likewise.
18617 (obstack_free): Likewise.
18618 (_obstack_memory_used): Likewise.
18619 * misc/getttyent.c (getttynam): Likewise.
18620 (getttyent): Likewise.
18623 * misc/getusershell.c (initshells): Likewise.
18624 * misc/syslog.c (__vsyslog_chk): Likewise.
18625 * misc/ttyslot.c (ttyslot): Likewise.
18626 * nis/nis_hash.c (__nis_hash): Likewise.
18627 * posix/fnmatch_loop.c (FCT): Likewise.
18628 * posix/getconf.c (print_all): Likewise.
18630 * posix/getopt.c (exchange): Likewise.
18631 * posix/glob.c (globfree): Likewise.
18632 (prefix_array): Likewise.
18633 (__glob_pattern_type): Likewise.
18634 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18635 (NS_GET32): Likewise.
18636 (NS_PUT16): Likewise.
18637 (NS_PUT32): Likewise.
18638 * resolv/gethnamaddr.c (getanswer): Likewise.
18639 (gethostbyname2): Likewise.
18640 (gethostbyaddr): Likewise.
18641 (_gethtent): Likewise.
18642 (_gethtbyname2): Likewise.
18643 (_gethtbyaddr): Likewise.
18644 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18645 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18646 * resolv/res_init.c (__res_vinit): Likewise.
18647 (net_mask): Likewise.
18648 * resolv/res_mkquery.c (outchar): Likewise.
18650 * stdio-common/printf_fp.c (outchar): Likewise.
18652 * stdio-common/printf_fphex.c (outchar): Likewise.
18654 * stdio-common/printf_size.c (outchar): Likewise.
18656 * stdio-common/test_rdwr.c (main): Likewise.
18657 * stdio-common/tfformat.c (matches): Likewise.
18658 * stdio-common/vfprintf.c (outchar): Likewise.
18659 (printf_unknown): Likewise.
18660 (buffered_vfprintf): Likewise.
18661 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18662 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18663 (ReadFile): Likewise.
18664 * stdlib/qsort.c (SWAP): Likewise.
18665 (_quicksort): Likewise.
18666 * stdlib/setenv.c (__add_to_environ): Likewise.
18667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18668 * stdlib/strtol_l.c (__strtol_l): Likewise.
18669 * stdlib/tst-strtod.c (main): Likewise.
18670 * stdlib/tst-strtol.c (main): Likewise.
18671 * stdlib/tst-strtoll.c (main): Likewise.
18672 * string/bits/string2.h (__strcmp_cc): Likewise.
18673 (__strcmp_cg): Likewise.
18674 (__strcspn_c1): Likewise.
18675 (__strcspn_c2): Likewise.
18676 (__strcspn_c3): Likewise.
18677 (__strspn_c1): Likewise.
18678 (__strspn_c2): Likewise.
18679 (__strspn_c3): Likewise.
18680 (__strsep_1c): Likewise.
18681 (__strsep_2c): Likewise.
18682 (__strsep_3c): Likewise.
18683 * string/memccpy.c (__memccpy): Likewise.
18684 * string/stpcpy.c (__stpcpy): Likewise.
18685 * string/strcmp.c (strcmp): Likewise.
18686 * string/strrchr.c (strrchr): Likewise.
18687 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18689 * sysdeps/mach/hurd/getcwd.c
18690 (_hurd_canonicalize_directory_name_internal): Likewise.
18691 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18692 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18693 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18694 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18695 Likewise, in both definitions.
18696 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18698 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18699 64] (__bswap_64): Likewise.
18700 * time/test_time.c (main): Likewise.
18701 * time/tzfile.c (__tzfile_read): Likewise.
18702 (__tzfile_compute): Likewise.
18703 * time/tzset.c (__tzset_parse_tz): Likewise.
18704 (tzset_internal): Likewise.
18705 (compute_change): Likewise.
18706 * wcsmbs/wcscat.c (__wcscat): Likewise.
18707 * wcsmbs/wcschr.c (wcschr): Likewise.
18708 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18709 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18710 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18711 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18712 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18713 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18714 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18716 * wcsmbs/wmemset.c (wmemset): Likewise.
18718 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18720 * scripts/config.guess: Update to version 2013-05-16.
18721 * scripts/config.sub: Update to version 2013-04-24.
18722 * scripts/install-sh: Update to version 2011-11-20.07.
18723 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18724 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18726 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18728 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18729 * elf/sln.c: Likewise.
18730 * hurd/hurd/ioctl.h: Likewise.
18731 * hurd/hurdmalloc.c: Likewise.
18732 * hurd/xattr.c: Likewise.
18733 * include/shlib-compat.h: Likewise.
18734 * inet/ruserpass.c: Likewise.
18735 * libio/iofgets_u.c: Likewise.
18736 * libio/iofgetws_u.c: Likewise.
18737 * locale/programs/ld-identification.c: Likewise.
18738 * locale/programs/ld-time.c: Likewise.
18739 * mach/msg-destroy.c: Likewise.
18740 * nss/nss_files/files-netgrp.c: Likewise.
18741 * resolv/res_data.c: Likewise.
18742 * soft-fp/op-1.h: Likewise.
18743 * soft-fp/op-2.h: Likewise.
18744 * soft-fp/op-4.h: Likewise.
18745 * soft-fp/op-common.h: Likewise.
18746 * stdio-common/printf_fphex.c: Likewise.
18747 * stdlib/strtod_l.c: Likewise.
18748 * sunrpc/rpc/clnt.h: Likewise.
18749 * sysdeps/generic/framestate.c: Likewise.
18750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18751 * sysdeps/i386/bsd-setjmp.S: Likewise.
18752 * sysdeps/i386/__longjmp.S: Likewise.
18753 * sysdeps/i386/setjmp.S: Likewise.
18754 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18772 * sysdeps/ieee754/support.c: Likewise.
18773 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18774 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18775 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18776 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18777 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18778 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18779 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18780 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18781 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18782 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18783 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18784 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18785 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18788 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18789 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18792 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18794 * posix/transbug.c: Remove executable mode.
18796 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18798 * crypt/speeds.c: Remove trailing whitespace.
18799 * dlfcn/default.c: Likewise.
18800 * elf/ifuncdep2.c: Likewise.
18801 * elf/ifuncmain1.c: Likewise.
18802 * elf/ifuncmain1vis.c: Likewise.
18803 * elf/testobj.h: Likewise.
18804 * elf/tst-stackguard1.c: Likewise.
18805 * gmon/sys/gmon.h: Likewise.
18806 * hurd/hurdmsg.c: Likewise.
18807 * hurd/new-fd.c: Likewise.
18808 * hurd/ports-get.c: Likewise.
18809 * iconvdata/ibm1008_420.c: Likewise.
18810 * inet/tst-getni1.c: Likewise.
18811 * inet/tst-getni2.c: Likewise.
18812 * libio/ioungetc.c: Likewise.
18813 * libio/wfiledoalloc.c: Likewise.
18814 * manual/libm-err-tab.pl: Likewise.
18815 * math/w_dremf.c: Likewise.
18816 * misc/ftruncate.c: Likewise.
18817 * posix/bug-glob2.c: Likewise.
18818 * posix/tst-pcre.c: Likewise.
18819 * posix/wait4.c: Likewise.
18820 * resolv/README: Likewise.
18821 * resolv/res_debug.h: Likewise.
18822 * resolv/tst-inet_ntop.c: Likewise.
18823 * setjmp/bug269-setjmp.c: Likewise.
18824 * soft-fp/extended.h: Likewise.
18825 * soft-fp/op-1.h: Likewise.
18826 * soft-fp/op-2.h: Likewise.
18827 * soft-fp/op-4.h: Likewise.
18828 * soft-fp/op-8.h: Likewise.
18829 * soft-fp/testit.c: Likewise.
18830 * stdio-common/bug16.c: Likewise.
18831 * stdlib/random.c: Likewise.
18832 * sunrpc/rpcsvc/rquota.x: Likewise.
18833 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18834 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18835 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18836 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18837 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18838 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18839 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18843 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18862 * sysdeps/ieee754/s_lib_version.c: Likewise.
18863 * sysdeps/mach/hurd/check_fds.c: Likewise.
18864 * sysdeps/mach/hurd/getsockname.c: Likewise.
18865 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18866 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18867 * sysdeps/powerpc/bits/link.h: Likewise.
18868 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18869 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18870 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18871 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18872 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18873 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18874 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18875 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18876 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18877 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18878 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18879 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18880 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18882 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18883 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18889 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18893 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18902 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18904 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18905 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18906 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18907 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18908 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18909 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18910 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18916 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18923 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18927 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18932 * sysdeps/powerpc/sysdep.h: Likewise.
18933 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18934 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18935 * sysdeps/sh/dl-trampoline.S: Likewise.
18936 * sysdeps/sh/memset.S: Likewise.
18937 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18938 * sysdeps/sh/strlen.S: Likewise.
18939 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18940 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18941 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18942 * sysdeps/sparc/sparc32/rem.S: Likewise.
18943 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18944 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18945 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18946 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18947 * sysdeps/sparc/sparc32/urem.S: Likewise.
18948 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18949 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18950 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18951 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18953 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18954 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18955 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18956 * sysdeps/unix/bsd/times.c: Likewise.
18957 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18958 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18962 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18963 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18964 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18965 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18966 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18967 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18968 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18969 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18970 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18971 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18972 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18974 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18975 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18976 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18977 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18978 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18980 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18981 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18982 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18983 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18985 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18986 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18987 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18988 * sysdeps/x86_64/strcspn.S: Likewise.
18990 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18992 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18993 generated file. Regenerate properly from gen-translit.pl.
18994 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18995 locale/C-translit.h.
18997 2013-06-05 Andreas Schwab <schwab@suse.de>
19000 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19001 week as 6 instead of -1.
19002 * time/tst-strptime.c (day_tests): Add test case.
19004 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19006 * sysdeps/generic/math_private.h
19007 (libc_feholdexcept_setround_53bit): Replace with
19008 libc_feholdsetround_53bit.
19009 (libc_feupdateenv_53bit): Replace with
19010 libc_feresetround_53bit.
19011 (SET_RESTORE_ROUND_53BIT): Adjust.
19013 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19015 * string/test-strchrnul.c: Add copyright header.
19017 * posix/tst-getaddrinfo4.c: Increase test timeout.
19019 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19022 * math/libm-test.inc (MAX_EXP): Remove
19024 (ulp): Use MIN_EXP - MANT_DIG.
19025 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19027 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19029 * po/be.po: Revert last change.
19030 * po/zh_CN.po: Likewise.
19031 * po/header.pot: Likewise.
19033 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19035 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19036 link-libc-deps to empty as target-specific variable.
19037 * Makerules (link-libc-args): New variable.
19038 (libc-for-link): Likewise.
19039 (link-libc-deps): Likewise.
19040 (lib%.so): Depend on $(link-libc-deps). Link with
19042 (build-module): Link with $(link-libc-args).
19043 (build-module-asneeded): Likewise.
19044 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19046 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19047 target-specific variable.
19048 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19049 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19050 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19052 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19054 ($(objpfx)libpcprofile.so): Likewise.
19055 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19057 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19058 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19061 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19062 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19063 * login/Makefile ($(objpfx)libutil.so): Likewise.
19064 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19065 * math/Makefile ($(objpfx)libm.so): Likewise.
19066 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19067 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19068 variable instead of depending directly on libc.
19069 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19070 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19072 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19074 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19075 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19076 ($(objpfx)libanl.so): Likewise.
19077 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19079 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19081 * sysdeps/i386/fpu/Makefile: Remove file.
19082 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19083 ($(objpfx)libm.so): Remove dependency on ld.so.
19085 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19088 * nis/yp_xdr.c (XDRMAXNAME): Define.
19089 (XDRMAXRECORD): Define.
19090 (xdr_domainname): Use XDRMAXNAME.
19091 (xdr_mapname): Likewise.
19092 (xdr_peername): Likewise.
19093 (xdr_keydat): Use XDRMAXRECORD.
19094 (xdr_valdat): Likewise.
19096 2013-05-30 Jeff Law <law@redhat.com>
19099 * manual/errno.texi (ESTALE): Update to account for more than
19100 just NFS file systems.
19101 * sysdeps/gnu/errlist.c: Regenerated.
19103 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19106 * elf/Makefile (tests): Add tst-null-argv.
19107 (modules-names): Add tst-null-argv-lib.
19108 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19109 (tst-null-argv-ENV): Set environment for tst-null-argv.
19110 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19111 (RTLD_PROGNAME): New macro.
19112 * elf/tst-null-argv.c: New test case.
19113 * elf/tst-null-argv-lib.c: Library for test case.
19114 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19115 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19116 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19117 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19118 * elf/dl-init.c (call_init): Likewise.
19119 (_dl_init): Likewise.
19120 * elf/dl-load.c (print_search_path): Likewise.
19121 (_dl_map_object): Likewise.
19122 * elf/dl-lookup.c (do_lookup_x): Likewise.
19123 (add_dependency): Likewise.
19124 (_dl_lookup_symbol_x): Likewise.
19125 (_dl_debug_bindings): Likewise.
19126 * elf/dl-open.c (_dl_show_scope): Likewise.
19127 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19128 * elf/dl-version.c (match_symbol): Likewise.
19129 (_dl_check_map_versions): Likewise.
19130 * elf/rtld.c (dl_main): Likewise.
19131 (print_unresolved): Use RTLD_PROGNAME.
19132 (print_missing_version): Likewise.
19133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19134 (elf_machine_rela): Likewise.
19135 * sysdeps/powerpc/powerpc32/dl-machine.c
19136 (__process_machine_rela): Likewise.
19137 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19139 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19144 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19148 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19150 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19152 * po/be.po: Add descriptive title.
19153 * po/zh_CN.po: Likewise.
19154 * po/header.pot: Likewise.
19156 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19158 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19160 (enlarge_archive): Likewise.
19162 2013-05-28 Ben North <ben@redfrontdoor.org>
19164 * manual/arith.texi (frexp): It is the magnitude of the return
19165 value which lies in [0.5, 1), not the return value itself.
19167 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19171 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19173 * stdio-common/bug26.c (main): Correct fscanf template.
19175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19176 declare _dl_skip_args.
19178 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19181 * manual/platform.texi: Add missing @end deftypefun.
19183 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19187 bit of mantissa of 2^16382.
19188 * math/libm-test.inc (hypot_test_data): Add more tests.
19190 * math/libm-test.inc: Add drem and pow10 to list of tested
19192 (pow10_test): New function.
19193 (drem_test): Likewise.
19194 (drem_test_tonearest): Likewise.
19195 (drem_test_towardzero): Likewise.
19196 (drem_test_downward): Likewise.
19197 (drem_test_upward): Likewise.
19198 (main): Call the new functions.
19200 * math/libm-test.inc (finite_test_data): Remove.
19201 (finite_test): Run tests from isfinite_test_data.
19202 (gamma_test_data): Remove.
19203 (gamma_test): Run tests from lgamma_test_data.
19204 * sysdeps/i386/fpu/libm-test-ulps: Update.
19205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19207 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19209 * manual/platform.texi: Add PowerPC PPR function set documentation.
19210 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19213 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19215 * math/libm-test.inc (MAX_EXP): Define.
19217 (ulp): New function.
19218 (check_float_internal): Use ULPDIFF.
19219 (cpow_test): Disable failing test.
19220 (check_ulp): Test ulp() implemetnation.
19221 (main): Call check_ulp before starting tests.
19223 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19225 * math/gen-libm-test.pl (generate_testfile): Do not handle
19226 START_DATA and END_DATA.
19227 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19229 (acos_tonearest_test_data): Likewise.
19230 (acos_towardzero_test_data): Likewise.
19231 (acos_downward_test_data): Likewise.
19232 (acos_upward_test_data): Likewise.
19233 (acosh_test_data): Likewise.
19234 (asin_test_data): Likewise.
19235 (asin_tonearest_test_data): Likewise.
19236 (asin_towardzero_test_data): Likewise.
19237 (asin_downward_test_data): Likewise.
19238 (asin_upward_test_data): Likewise.
19239 (asinh_test_data): Likewise.
19240 (atan_test_data): Likewise.
19241 (atanh_test_data): Likewise.
19242 (atan2_test_data): Likewise.
19243 (cabs_test_data): Likewise.
19244 (cacos_test_data): Likewise.
19245 (cacosh_test_data): Likewise.
19246 (carg_test_data): Likewise.
19247 (casin_test_data): Likewise.
19248 (casinh_test_data): Likewise.
19249 (catan_test_data): Likewise.
19250 (catanh_test_data): Likewise.
19251 (cbrt_test_data): Likewise.
19252 (ccos_test_data): Likewise.
19253 (ccosh_test_data): Likewise.
19254 (ceil_test_data): Likewise.
19255 (cexp_test_data): Likewise.
19256 (cimag_test_data): Likewise.
19257 (clog_test_data): Likewise.
19258 (clog10_test_data): Likewise.
19259 (conj_test_data): Likewise.
19260 (copysign_test_data): Likewise.
19261 (cos_test_data): Likewise.
19262 (cos_tonearest_test_data): Likewise.
19263 (cos_towardzero_test_data): Likewise.
19264 (cos_downward_test_data): Likewise.
19265 (cos_upward_test_data): Likewise.
19266 (cosh_test_data): Likewise.
19267 (cosh_tonearest_test_data): Likewise.
19268 (cosh_towardzero_test_data): Likewise.
19269 (cosh_downward_test_data): Likewise.
19270 (cosh_upward_test_data): Likewise.
19271 (cpow_test_data): Likewise.
19272 (cproj_test_data): Likewise.
19273 (creal_test_data): Likewise.
19274 (csin_test_data): Likewise.
19275 (csinh_test_data): Likewise.
19276 (csqrt_test_data): Likewise.
19277 (ctan_test_data): Likewise.
19278 (ctan_tonearest_test_data): Likewise.
19279 (ctan_towardzero_test_data): Likewise.
19280 (ctan_downward_test_data): Likewise.
19281 (ctan_upward_test_data): Likewise.
19282 (ctanh_test_data): Likewise.
19283 (ctanh_tonearest_test_data): Likewise.
19284 (ctanh_towardzero_test_data): Likewise.
19285 (ctanh_downward_test_data): Likewise.
19286 (ctanh_upward_test_data): Likewise.
19287 (erf_test_data): Likewise.
19288 (erfc_test_data): Likewise.
19289 (exp_test_data): Likewise.
19290 (exp_tonearest_test_data): Likewise.
19291 (exp_towardzero_test_data): Likewise.
19292 (exp_downward_test_data): Likewise.
19293 (exp_upward_test_data): Likewise.
19294 (exp10_test_data): Likewise.
19295 (exp2_test_data): Likewise.
19296 (expm1_test_data): Likewise.
19297 (fabs_test_data): Likewise.
19298 (fdim_test_data): Likewise.
19299 (finite_test_data): Likewise.
19300 (floor_test_data): Likewise.
19301 (fma_test_data): Likewise.
19302 (fma_towardzero_test_data): Likewise.
19303 (fma_downward_test_data): Likewise.
19304 (fma_upward_test_data): Likewise.
19305 (fmax_test_data): Likewise.
19306 (fmin_test_data): Likewise.
19307 (fmod_test_data): Likewise.
19308 (fpclassify_test_data): Likewise.
19309 (frexp_test_data): Likewise.
19310 (gamma_test_data): Likewise.
19311 (hypot_test_data): Likewise.
19312 (ilogb_test_data): Likewise.
19313 (isfinite_test_data): Likewise.
19314 (isgreater_test_data): Likewise.
19315 (isgreaterequal_test_data): Likewise.
19316 (isinf_test_data): Likewise.
19317 (isless_test_data): Likewise.
19318 (islessequal_test_data): Likewise.
19319 (islessgreater_test_data): Likewise.
19320 (isnan_test_data): Likewise.
19321 (isnormal_test_data): Likewise.
19322 (issignaling_test_data): Likewise.
19323 (isunordered_test_data): Likewise.
19324 (j0_test_data): Likewise.
19325 (j1_test_data): Likewise.
19326 (jn_test_data): Likewise.
19327 (ldexp_test_data): Likewise.
19328 (lgamma_test_data): Likewise.
19329 (lrint_test_data): Likewise.
19330 (lrint_tonearest_test_data): Likewise.
19331 (lrint_towardzero_test_data): Likewise.
19332 (lrint_downward_test_data): Likewise.
19333 (lrint_upward_test_data): Likewise.
19334 (llrint_test_data): Likewise.
19335 (llrint_tonearest_test_data): Likewise.
19336 (llrint_towardzero_test_data): Likewise.
19337 (llrint_downward_test_data): Likewise.
19338 (llrint_upward_test_data): Likewise.
19339 (log_test_data): Likewise.
19340 (log10_test_data): Likewise.
19341 (log1p_test_data): Likewise.
19342 (log2_test_data): Likewise.
19343 (logb_test_data): Likewise.
19344 (logb_downward_test_data): Likewise.
19345 (lround_test_data): Likewise.
19346 (llround_test_data): Likewise.
19347 (modf_test_data): Likewise.
19348 (nearbyint_test_data): Likewise.
19349 (nextafter_test_data): Likewise.
19350 (nexttoward_test_data): Likewise.
19351 (pow_test_data): Likewise.
19352 (pow_tonearest_test_data): Likewise.
19353 (pow_towardzero_test_data): Likewise.
19354 (pow_downward_test_data): Likewise.
19355 (pow_upward_test_data): Likewise.
19356 (remainder_test_data): Likewise.
19357 (remainder_tonearest_test_data): Likewise.
19358 (remainder_towardzero_test_data): Likewise.
19359 (remainder_downward_test_data): Likewise.
19360 (remainder_upward_test_data): Likewise.
19361 (remquo_test_data): Likewise.
19362 (rint_test_data): Likewise.
19363 (rint_tonearest_test_data): Likewise.
19364 (rint_towardzero_test_data): Likewise.
19365 (rint_downward_test_data): Likewise.
19366 (rint_upward_test_data): Likewise.
19367 (round_test_data): Likewise.
19368 (scalb_test_data): Likewise.
19369 (scalbn_test_data): Likewise.
19370 (scalbln_test_data): Likewise.
19371 (signbit_test_data): Likewise.
19372 (sin_test_data): Likewise.
19373 (sin_tonearest_test_data): Likewise.
19374 (sin_towardzero_test_data): Likewise.
19375 (sin_downward_test_data): Likewise.
19376 (sin_upward_test_data): Likewise.
19377 (sincos_test_data): Likewise.
19378 (sinh_test_data): Likewise.
19379 (sinh_tonearest_test_data): Likewise.
19380 (sinh_towardzero_test_data): Likewise.
19381 (sinh_downward_test_data): Likewise.
19382 (sinh_upward_test_data): Likewise.
19383 (sqrt_test_data): Likewise.
19384 (tan_test_data): Likewise.
19385 (tan_tonearest_test_data): Likewise.
19386 (tan_towardzero_test_data): Likewise.
19387 (tan_downward_test_data): Likewise.
19388 (tan_upward_test_data): Likewise.
19389 (tanh_test_data): Likewise.
19390 (tgamma_test_data): Likewise.
19391 (trunc_test_data): Likewise.
19392 (y0_test_data): Likewise.
19393 (y1_test_data): Likewise.
19394 (yn_test_data): Likewise.
19395 (significand_test_data): Likewise.
19397 * math/gen-libm-test.pl (@functions): Remove variable.
19398 (generate_testfile): Don't handle START and END lines.
19399 * math/libm-test.inc (START): New macro.
19401 (END_COMPLEX): Likewise.
19402 (acos_test): Use END macro without arguments.
19403 (acos_test_tonearest): Likewise.
19404 (acos_test_towardzero): Likewise.
19405 (acos_test_downward): Likewise.
19406 (acos_test_upward): Likewise.
19407 (acosh_test): Likewise.
19408 (asin_test): Likewise.
19409 (asin_test_tonearest): Likewise.
19410 (asin_test_towardzero): Likewise.
19411 (asin_test_downward): Likewise.
19412 (asin_test_upward): Likewise.
19413 (asinh_test): Likewise.
19414 (atan_test): Likewise.
19415 (atanh_test): Likewise.
19416 (atan2_test): Likewise.
19417 (cabs_test): Likewise.
19418 (cacos_test): Use END_COMPLEX macro without arguments.
19419 (cacosh_test): Likewise.
19420 (carg_test): Use END macro without arguments.
19421 (casin_test): Use END_COMPLEX macro without arguments.
19422 (casinh_test): Likewise.
19423 (catan_test): Likewise.
19424 (catanh_test): Likewise.
19425 (cbrt_test): Use END macro without arguments.
19426 (ccos_test): Use END_COMPLEX macro without arguments.
19427 (ccosh_test): Likewise.
19428 (ceil_test): Use END macro without arguments.
19429 (cexp_test): Use END_COMPLEX macro without arguments.
19430 (cimag_test): Use END macro without arguments.
19431 (clog_test): Use END_COMPLEX macro without arguments.
19432 (clog10_test): Likewise.
19433 (conj_test): Likewise.
19434 (copysign_test): Use END macro without arguments.
19435 (cos_test): Likewise.
19436 (cos_test_tonearest): Likewise.
19437 (cos_test_towardzero): Likewise.
19438 (cos_test_downward): Likewise.
19439 (cos_test_upward): Likewise.
19440 (cosh_test): Likewise.
19441 (cosh_test_tonearest): Likewise.
19442 (cosh_test_towardzero): Likewise.
19443 (cosh_test_downward): Likewise.
19444 (cosh_test_upward): Likewise.
19445 (cpow_test): Use END_COMPLEX macro without arguments.
19446 (cproj_test): Likewise.
19447 (creal_test): Use END macro without arguments.
19448 (csin_test): Use END_COMPLEX macro without arguments.
19449 (csinh_test): Likewise.
19450 (csqrt_test): Likewise.
19451 (ctan_test): Likewise.
19452 (ctan_test_tonearest): Likewise.
19453 (ctan_test_towardzero): Likewise.
19454 (ctan_test_downward): Likewise.
19455 (ctan_test_upward): Likewise.
19456 (ctanh_test): Likewise.
19457 (ctanh_test_tonearest): Likewise.
19458 (ctanh_test_towardzero): Likewise.
19459 (ctanh_test_downward): Likewise.
19460 (ctanh_test_upward): Likewise.
19461 (erf_test): Use END macro without arguments.
19462 (erfc_test): Likewise.
19463 (exp_test): Likewise.
19464 (exp_test_tonearest): Likewise.
19465 (exp_test_towardzero): Likewise.
19466 (exp_test_downward): Likewise.
19467 (exp_test_upward): Likewise.
19468 (exp10_test): Likewise.
19469 (exp2_test): Likewise.
19470 (expm1_test): Likewise.
19471 (fabs_test): Likewise.
19472 (fdim_test): Likewise.
19473 (finite_test): Likewise.
19474 (floor_test): Likewise.
19475 (fma_test): Likewise.
19476 (fma_test_towardzero): Likewise.
19477 (fma_test_downward): Likewise.
19478 (fma_test_upward): Likewise.
19479 (fmax_test): Likewise.
19480 (fmin_test): Likewise.
19481 (fmod_test): Likewise.
19482 (fpclassify_test): Likewise.
19483 (frexp_test): Likewise.
19484 (gamma_test): Likewise.
19485 (hypot_test): Likewise.
19486 (ilogb_test): Likewise.
19487 (isfinite_test): Likewise.
19488 (isgreater_test): Likewise.
19489 (isgreaterequal_test): Likewise.
19490 (isinf_test): Likewise.
19491 (isless_test): Likewise.
19492 (islessequal_test): Likewise.
19493 (islessgreater_test): Likewise.
19494 (isnan_test): Likewise.
19495 (isnormal_test): Likewise.
19496 (issignaling_test): Likewise.
19497 (isunordered_test): Likewise.
19498 (j0_test): Likewise.
19499 (j1_test): Likewise.
19500 (jn_test): Likewise.
19501 (ldexp_test): Likewise.
19502 (lgamma_test): Likewise.
19503 (lrint_test): Likewise.
19504 (lrint_test_tonearest): Likewise.
19505 (lrint_test_towardzero): Likewise.
19506 (lrint_test_downward): Likewise.
19507 (lrint_test_upward): Likewise.
19508 (llrint_test): Likewise.
19509 (llrint_test_tonearest): Likewise.
19510 (llrint_test_towardzero): Likewise.
19511 (llrint_test_downward): Likewise.
19512 (llrint_test_upward): Likewise.
19513 (log_test): Likewise.
19514 (log10_test): Likewise.
19515 (log1p_test): Likewise.
19516 (log2_test): Likewise.
19517 (logb_test): Likewise.
19518 (logb_test_downward): Likewise.
19519 (lround_test): Likewise.
19520 (llround_test): Likewise.
19521 (modf_test): Likewise.
19522 (nearbyint_test): Likewise.
19523 (nextafter_test): Likewise.
19524 (nexttoward_test): Likewise.
19525 (pow_test): Likewise.
19526 (pow_test_tonearest): Likewise.
19527 (pow_test_towardzero): Likewise.
19528 (pow_test_downward): Likewise.
19529 (pow_test_upward): Likewise.
19530 (remainder_test): Likewise.
19531 (remainder_test_tonearest): Likewise.
19532 (remainder_test_towardzero): Likewise.
19533 (remainder_test_downward): Likewise.
19534 (remainder_test_upward): Likewise.
19535 (remquo_test): Likewise.
19536 (rint_test): Likewise.
19537 (rint_test_tonearest): Likewise.
19538 (rint_test_towardzero): Likewise.
19539 (rint_test_downward): Likewise.
19540 (rint_test_upward): Likewise.
19541 (round_test): Likewise.
19542 (scalb_test): Likewise.
19543 (scalbn_test): Likewise.
19544 (scalbln_test): Likewise.
19545 (signbit_test): Likewise.
19546 (sin_test): Likewise.
19547 (sin_test_tonearest): Likewise.
19548 (sin_test_towardzero): Likewise.
19549 (sin_test_downward): Likewise.
19550 (sin_test_upward): Likewise.
19551 (sincos_test): Likewise.
19552 (sinh_test): Likewise.
19553 (sinh_test_tonearest): Likewise.
19554 (sinh_test_towardzero): Likewise.
19555 (sinh_test_downward): Likewise.
19556 (sinh_test_upward): Likewise.
19557 (sqrt_test): Likewise.
19558 (tan_test): Likewise.
19559 (tan_test_tonearest): Likewise.
19560 (tan_test_towardzero): Likewise.
19561 (tan_test_downward): Likewise.
19562 (tan_test_upward): Likewise.
19563 (tanh_test): Likewise.
19564 (tgamma_test): Likewise.
19565 (trunc_test): Likewise.
19566 (y0_test): Likewise.
19567 (y1_test): Likewise.
19568 (yn_test): Likewise.
19569 (significand_test): Likewise.
19571 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19574 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19576 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19579 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19580 __ppc_mdoio and __ppc_mdoom.
19581 * manual/platform.texi: Document new functions __ppc_yield,
19582 __ppc_mdoio and __ppc_mdoom.
19584 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19586 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19587 (main): Mention "tls" pseudo-hwcap is legacy.
19588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19590 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19592 * math/gen-libm-test.pl (parse_args): Output only string of
19593 arguments as text for test name, not full call or descriptions of
19594 tests for extra outputs.
19595 (generate_testfile): Do not pass function name to parse_args.
19596 Generate this_func variable from START.
19597 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19599 (struct test_ff_f_data): Likewise.
19600 (test_ff_f_data_nexttoward): Likewise.
19601 (struct test_fi_f_data): Likewise.
19602 (struct test_fl_f_data): Likewise.
19603 (struct test_if_f_data): Likewise.
19604 (struct test_fff_f_data): Likewise.
19605 (struct test_c_f_data): Likewise.
19606 (struct test_f_f1_data): Likewise. Remove field extra_name.
19607 (struct test_fF_f1_data): Likewise.
19608 (struct test_ffI_f1_data): Likewise.
19609 (struct test_c_c_data): Rename test_name field to arg_str.
19610 (struct test_cc_c_data): Likewise.
19611 (struct test_f_i_data): Likewise.
19612 (struct test_ff_i_data): Likewise.
19613 (struct test_f_l_data): Likewise.
19614 (struct test_f_L_data): Likewise.
19615 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19617 (COMMON_TEST_SETUP): New macro.
19618 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19619 (COMMON_TEST_CLEANUP): Likewise.
19620 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19621 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19623 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19624 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19626 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19627 (RUN_TEST_fff_f): Take argument string. Call new setup and
19629 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19630 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19632 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19633 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19635 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19636 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19638 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19639 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19641 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19642 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19644 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19645 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19647 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19648 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19650 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19651 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19653 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19654 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19656 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19657 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19659 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19660 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19662 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19663 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19665 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19666 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19668 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19669 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19671 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19672 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19674 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19676 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19678 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19679 to _sifields.sigfault.
19680 (si_addr_lsb): Define new macro.
19681 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19685 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19688 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19690 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19692 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19693 loading the domain.
19695 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19697 * math/gen-libm-test.pl (parse_args): Do not include expected
19698 result in test name.
19699 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19701 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19702 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19703 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19706 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19708 * benchtests/Makefile: Sort function entries.
19710 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19711 tanh, asinh, acosh, atanh.
19712 * benchtests/acos-inputs: New file.
19713 * benchtests/acosh-inputs: New file.
19714 * benchtests/asin-inputs: New file.
19715 * benchtests/asinh-inputs: New file.
19716 * benchtests/atanh-inputs: New file.
19717 * benchtests/cosh-inputs: New file.
19718 * benchtests/log-inputs: New file.
19719 * benchtests/sinh-inputs: New file.
19720 * benchtests/tanh-inputs: New file.
19722 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19725 * posix/tst-getaddrinfo4.c: New test.
19726 * posix/Makefile (tests): Add it.
19728 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19731 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19732 when no services were used.
19733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19734 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19736 2013-05-21 Andreas Schwab <schwab@suse.de>
19739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19740 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19742 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19743 redundant variable declarations and reallocation of buffer when
19744 parsing as IPv6 address. Always set NSS status when called from
19745 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19746 buffer too small. Correct computation of needed size.
19747 * nss/Makefile (tests): Add test-digits-dots.
19748 * nss/test-digits-dots.c: New test.
19750 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19752 * benchtests/Makefile: Remove instructions for adding
19754 * benchtests/README: New file to explain how to execute and
19755 enhance the benchmark tests.
19757 2013-05-21 Andreas Schwab <schwab@suse.de>
19760 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19761 * setjmp/tst-sigsetjmp.c: New test.
19763 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19765 * sysdeps/x86_64/memset.S (memset): New implementation.
19766 (__bzero): Likewise.
19767 (__memset_tail): New function.
19769 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19771 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19772 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19773 __memcpy_sse2_unaligned ifunc selection.
19774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19775 Add memcpy-sse2-unaligned.S.
19776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19777 Add: __memcpy_sse2_unaligned.
19779 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19782 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19783 math_force_eval before restoring floating-point envrionment.
19784 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19789 (__nearbyintl): Use math_force_eval before restoring
19790 floating-point environment.
19791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19793 * math/gen-libm-test.pl (special_functions): Remove.
19794 (parse_args): Don't handle TEST_extra. Handle functions with no
19796 * math/libm-test.inc (struct test_sincos_data): Replace with
19797 struct test_fFF_11_data.
19798 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19799 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19800 (sincos_test_data): Change element type to struct
19801 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19802 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19803 RUN_TEST_LOOP_sincos.
19804 * math/README.libm-test: Don't mention special handling of
19805 individual functions.
19806 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19809 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19813 * math/gen-libm-test.pl (get_variable): Remove function.
19814 (parse_args): Don't show pointer parameters to call in test
19815 names. Use "extra output N" in test names for extra outputs
19816 rather than naming variables.
19818 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19821 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19822 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19823 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19825 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19827 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19830 * math/gen-libm-test.pl (@tests): Remove variable.
19831 ($count): Likewise.
19832 (new_test): Remove function.
19833 (show_exceptions): New function.
19834 (special_functions): Use show_exceptions instead of new_test.
19835 (parse_args): Likewise.
19836 (generate_testfile): Pass only function name in generated call to
19837 print_max_error or print_complex_max_error.
19838 (get_ulps): Do not handle complex tests specially.
19839 (output_test): Rename to ...
19840 (get_all_ulps_for_test): ... this. Return a string rather than
19841 printing to a file. Require ulps to be present.
19842 (output_ulps): Generate arrays rather than #defines.
19843 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19844 (struct ulp_data): New type.
19845 (BUILD_COMPLEX_ULP): Remove macro.
19846 (compare_ulp_data): New function.
19847 (find_ulps): Likewise.
19848 (find_test_ulps): Likewise.
19849 (find_function_ulps): Likewise.
19850 (find_complex_function_ulps): Likewise.
19851 (print_max_error): Determine allowed ulps using
19852 find_function_ulps.
19853 (print_complex_max_error): Determine allowed ulps using
19854 find_complex_function_ulps.
19855 (check_float_internal): Determine max ulps using find_test_ulps.
19856 (check_float): Do not take max_ulp parameter. Update call to
19857 check_float_internal.
19858 (check_complex): Likewise.
19859 (check_int): Do not take max_ulp parameter.
19860 (check_long): Likewise.
19861 (check_bool): Likewise.
19862 (check_longlong): Likewise.
19863 (struct test_f_f_data): Remove max_ulp field.
19864 (struct test_ff_f_data): Likewise.
19865 (struct test_ff_f_data_nexttoward): Likewise.
19866 (struct test_fi_f_data): Likewise.
19867 (struct test_fl_f_data): Likewise.
19868 (struct test_if_f_data): Likewise.
19869 (struct test_fff_f_data): Likewise.
19870 (struct test_c_f_data): Likewise.
19871 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19872 (struct test_fF_f1_data): Likewise.
19873 (struct test_ffI_f1_data): Likewise.
19874 (struct test_c_c_data): Remove max_ulp field.
19875 (struct test_cc_c_data): Likewise.
19876 (struct test_f_i_data): Likewise.
19877 (struct test_ff_i_data): Likewise.
19878 (struct test_f_l_data): Likewise.
19879 (struct test_f_L_data): Likewise.
19880 (struct test_sincos_data): Likewise.
19881 (RUN_TEST_f_f): Do not handle ulps.
19882 (RUN_TEST_LOOP_f_f): Likewise.
19883 (RUN_TEST_2_f): Likewise.
19884 (RUN_TEST_LOOP_2_f): Likewise.
19885 (RUN_TEST_fff_f): Likewise.
19886 (RUN_TEST_LOOP_fff_f): Likewise.
19887 (RUN_TEST_c_f): Likewise.
19888 (RUN_TEST_LOOP_c_f): Likewise.
19889 (RUN_TEST_f_f1): Likewise.
19890 (RUN_TEST_LOOP_f_f1): Likewise.
19891 (RUN_TEST_fF_f1): Likewise.
19892 (RUN_TEST_LOOP_fF_f1): Likewise.
19893 (RUN_TEST_fI_f1): Likewise.
19894 (RUN_TEST_LOOP_fI_f1): Likewise.
19895 (RUN_TEST_ffI_f1): Likewise.
19896 (RUN_TEST_LOOP_ffI_f1): Likewise.
19897 (RUN_TEST_c_c): Likewise.
19898 (RUN_TEST_LOOP_c_c): Likewise.
19899 (RUN_TEST_cc_c): Likewise.
19900 (RUN_TEST_LOOP_cc_c): Likewise.
19901 (RUN_TEST_f_i): Likewise.
19902 (RUN_TEST_LOOP_f_i): Likewise.
19903 (RUN_TEST_f_i_tg): Likewise.
19904 (RUN_TEST_LOOP_f_i_tg): Likewise.
19905 (RUN_TEST_ff_i_tg): Likewise.
19906 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19907 (RUN_TEST_f_b): Likewise.
19908 (RUN_TEST_LOOP_f_b): Likewise.
19909 (RUN_TEST_f_b_tg): Likewise.
19910 (RUN_TEST_LOOP_f_b_tg): Likewise.
19911 (RUN_TEST_f_l): Likewise.
19912 (RUN_TEST_LOOP_f_l): Likewise.
19913 (RUN_TEST_f_L): Likewise.
19914 (RUN_TEST_LOOP_f_L): Likewise.
19915 (RUN_TEST_sincos): Likewise.
19916 (RUN_TEST_LOOP_sincos): Likewise.
19918 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19923 main case of finite arguments, set rounding mode to FE_TONEAREST
19924 and discard exceptions.
19925 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19927 (remainder_tonearest_test_data): New variable.
19928 (remainder_test_tonearest): New function.
19929 (remainder_towardzero_test_data): New variable.
19930 (remainder_test_towardzero): New function.
19931 (remainder_downward_test_data): New variable.
19932 (remainder_test_downward): New function.
19933 (remainder_upward_test_data): New variable.
19934 (remainder_test_upward): New function.
19935 (main): Call the new test functions.
19937 * math/libm-test.inc (struct test_f_f1_data): Remove field
19939 (struct test_fF_f1_data): Likewise.
19940 (struct test_ffI_f1_data): Likewise.
19941 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19942 based on value of EXTRA_EXPECTED.
19943 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19944 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19945 EXTRA_VAR based on value of EXTRA_EXPECTED.
19946 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19947 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19948 EXTRA_VAR based on value of EXTRA_EXPECTED.
19949 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19950 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19951 EXTRA_VAR based on value of EXTRA_EXPECTED.
19952 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19953 * math/gen-libm-test.pl (parse_args): Don't output initializers
19954 for extra output values.
19956 * math/libm-test.inc (check_int): Expect result to be exactly
19957 equal to expected value and do not handle ulps.
19958 (check_long): Likewise.
19959 (check_longlong): Likewise.
19961 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19963 (cimag_test_data): Likewise.
19964 (conj_test_data): Likewise.
19965 (copysign_test_data): Likewise.
19966 (cproj_test_data): Likewise.
19967 (creal_test_data): Likewise.
19968 (fabs_test_data): Likewise.
19969 (fdim_test_data): Likewise.
19970 (finite_test_data): Likewise.
19971 (floor_test_data): Likewise.
19972 (fmax_test_data): Likewise.
19973 (fmin_test_data): Likewise.
19974 (fmod_test_data): Likewise.
19975 (fpclassify_test_data): Likewise.
19976 (frexp_test_data): Likewise.
19977 (ilogb_test_data): Likewise.
19978 (isfinite_test_data): Likewise.
19979 (isgreater_test_data): Likewise.
19980 (isgreaterequal_test_data): Likewise.
19981 (isinf_test_data): Likewise.
19982 (isless_test_data): Likewise.
19983 (islessequal_test_data): Likewise.
19984 (islessgreater_test_data): Likewise.
19985 (isnan_test_data): Likewise.
19986 (isnormal_test_data): Likewise.
19987 (issignaling_test_data): Likewise.
19988 (isunordered_test_data): Likewise.
19989 (ldexp_test_data): Likewise.
19990 (lrint_test_data): Likewise.
19991 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19992 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19993 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19994 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19995 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19996 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19998 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19999 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20000 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20001 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20003 (lrint_downward_test_data): Test for "inexact" exceptions.
20004 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20005 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20006 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20008 (lrint_upward_test_data): Test for "inexact" exceptions.
20009 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20011 (llrint_test_data): Test for "inexact" exceptions.
20012 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20013 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20014 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20015 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20016 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20017 (llrint_downward_test_data): Test for "inexact" exceptions.
20018 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20019 (llrint_upward_test_data): Test for "inexact" exceptions.
20020 (logb_test_data): Likewise.
20021 (logb_downward_test_data): Likewise.
20022 (nextafter_test_data): Likewise.
20023 (nexttoward_test_data): Likewise.
20024 (remainder_test_data): Likewise.
20025 (remquo_test_data): Likewise.
20026 (scalbn_test_data): Likewise.
20027 (scalbln_test_data): Likewise.
20028 (signbit_test_data): Likewise.
20029 (sqrt_test_data): Likewise.
20030 (significand_test_data): Likewise.
20032 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20035 * benchtests/bench-modf.c (struct args): Mark arg0 as
20037 * scripts/bench.pl: Mark members of struct args as volatile.
20039 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20042 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20043 negative infinity on POWER6 or lower.
20044 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20046 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20049 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20050 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20051 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20052 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20053 (_FP_SETQNAN): New macro.
20054 (_FP_SETQNAN_SEMIRAW): Likewise.
20055 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20056 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20057 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20058 (FP_EXTEND): Use _FP_FRAC_SNANP.
20059 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20060 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20067 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20069 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20070 with DIVIDE_BY_ZERO_EXCEPTION.
20071 (gamma_test_data): Likewise.
20072 (lgamma_test_data): Likewise.
20073 (log_test_data): Likewise.
20074 (log10_test_data): Likewise.
20075 (log2_test_data): Likewise.
20076 (tgamma_test_data): Likewise.
20078 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20079 (acos_test_tonearest): Likewise.
20080 (acos_test_towardzero): Likewise.
20081 (acos_test_downward): Likewise.
20082 (acos_test_upward): Likewise.
20083 (acosh_test): Likewise.
20084 (asin_test): Likewise.
20085 (asin_test_tonearest): Likewise.
20086 (asin_test_towardzero): Likewise.
20087 (asin_test_downward): Likewise.
20088 (asin_test_upward): Likewise.
20089 (asinh_test): Likewise.
20090 (atan_test): Likewise.
20091 (atanh_test): Likewise.
20092 (atan2_test): Likewise.
20093 (cabs_test): Likewise.
20094 (cacos_test): Likewise.
20095 (cacosh_test): Likewise.
20096 (casin_test): Likewise.
20097 (casinh_test): Likewise.
20098 (catan_test): Likewise.
20099 (catanh_test): Likewise.
20100 (cbrt_test): Likewise.
20101 (ccos_test): Likewise.
20102 (ccosh_test): Likewise.
20103 (cexp_test): Likewise.
20104 (clog_test): Likewise.
20105 (clog10_test): Likewise.
20106 (cos_test): Likewise.
20107 (cos_test_tonearest): Likewise.
20108 (cos_test_towardzero): Likewise.
20109 (cos_test_downward): Likewise.
20110 (cos_test_upward): Likewise.
20111 (cosh_test): Likewise.
20112 (cosh_test_tonearest): Likewise.
20113 (cosh_test_towardzero): Likewise.
20114 (cosh_test_downward): Likewise.
20115 (cosh_test_upward): Likewise.
20116 (cpow_test): Likewise.
20117 (csin_test): Likewise.
20118 (csinh_test): Likewise.
20119 (csqrt_test): Likewise.
20120 (ctan_test): Likewise.
20121 (ctan_test_tonearest): Likewise.
20122 (ctan_test_towardzero): Likewise.
20123 (ctan_test_downward): Likewise.
20124 (ctan_test_upward): Likewise.
20125 (ctanh_test): Likewise.
20126 (ctanh_test_tonearest): Likewise.
20127 (ctanh_test_towardzero): Likewise.
20128 (ctanh_test_downward): Likewise.
20129 (ctanh_test_upward): Likewise.
20130 (erf_test): Likewise.
20131 (erfc_test): Likewise.
20132 (exp_test): Likewise.
20133 (exp_test_tonearest): Likewise.
20134 (exp_test_towardzero): Likewise.
20135 (exp_test_downward): Likewise.
20136 (exp_test_upward): Likewise.
20137 (exp10_test): Likewise.
20138 (exp2_test): Likewise.
20139 (expm1_test): Likewise.
20140 (fmod_test): Likewise.
20141 (gamma_test): Likewise.
20142 (hypot_test): Likewise.
20143 (j0_test): Likewise.
20144 (j1_test): Likewise.
20145 (jn_test): Likewise.
20146 (lgamma_test): Likewise.
20147 (log_test): Likewise.
20148 (log10_test): Likewise.
20149 (log1p_test): Likewise.
20150 (log2_test): Likewise.
20151 (logb_test_downward): Likewise.
20152 (pow_test): Likewise.
20153 (pow_test_tonearest): Likewise.
20154 (pow_test_towardzero): Likewise.
20155 (pow_test_downward): Likewise.
20156 (pow_test_upward): Likewise.
20157 (remainder_test): Likewise.
20158 (remquo_test): Likewise.
20159 (sin_test): Likewise.
20160 (sin_test_tonearest): Likewise.
20161 (sin_test_towardzero): Likewise.
20162 (sin_test_downward): Likewise.
20163 (sin_test_upward): Likewise.
20164 (sincos_test): Likewise.
20165 (sinh_test): Likewise.
20166 (sinh_test_tonearest): Likewise.
20167 (sinh_test_towardzero): Likewise.
20168 (sinh_test_downward): Likewise.
20169 (sinh_test_upward): Likewise.
20170 (sqrt_test): Likewise.
20171 (tan_test): Likewise.
20172 (tan_test_tonearest): Likewise.
20173 (tan_test_towardzero): Likewise.
20174 (tan_test_downward): Likewise.
20175 (tan_test_upward): Likewise.
20176 (tanh_test): Likewise.
20177 (tgamma_test): Likewise.
20178 (y0_test): Likewise.
20179 (y1_test): Likewise.
20180 (yn_test): Likewise.
20182 * math/gen-libm-test.pl (adjust_arg): Remove function.
20183 (special_function): Remove argument $in_func. Only handle
20184 generating output for tables of tests, not inside functions.
20185 (parse_args): Likewise.
20186 (generate_testfile): Remove variable $in_func. Update call to
20188 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20189 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20190 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20191 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20192 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20193 (MAX_VALUE_INIT): Rename macro to max_value.
20194 (MIN_VALUE_INIT): Rename macro to min_value.
20195 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20196 (plus_zero): Remove variable.
20197 (minus_zero): Likewise.
20198 (plus_infty): Likewise.
20199 (minus_infty): Likewise.
20200 (qnan_value): Likewise.
20201 (max_value): Likewise.
20202 (min_value): Likewise.
20203 (min_subnorm_value): Likewise.
20205 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20207 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20208 uint64_t or uint32_t usage.
20209 * crypt/sha256-block.c: Likewise.
20210 * crypt/sha256-crypt.c: Likewise.
20211 * crypt/sha256.c: Likewise.
20212 * crypt/sha512-block.c: Likewise.
20213 * crypt/sha512-crypt.c: Likewise.
20214 * crypt/sha512.c: Likewise.
20215 * debug/backtrace-tst.c: Likewise.
20216 * debug/pcprofiledump.c: Likewise.
20217 * elf/cache.c: Likewise.
20218 * elf/dl-cache.c: Likewise.
20219 * elf/dl-misc.c: Likewise.
20220 * elf/dl-profile.c: Likewise.
20221 * elf/dl-support.c: Likewise.
20222 * elf/ldconfig.c: Likewise.
20223 * elf/sprof.c: Likewise.
20224 * iconv/dummy-repertoire.c: Likewise.
20225 * iconv/iconv_charmap.c: Likewise.
20226 * iconv/skeleton.c: Likewise.
20227 * iconvdata/8bit-generic.c: Likewise.
20228 * iconvdata/cp737.h: Likewise.
20229 * iconvdata/cp775.h: Likewise.
20230 * iconvdata/ibm1008.h: Likewise.
20231 * iconvdata/ibm1025.h: Likewise.
20232 * iconvdata/ibm1046.h: Likewise.
20233 * iconvdata/ibm1097.h: Likewise.
20234 * iconvdata/ibm1112.h: Likewise.
20235 * iconvdata/ibm1122.h: Likewise.
20236 * iconvdata/ibm1123.h: Likewise.
20237 * iconvdata/ibm1124.h: Likewise.
20238 * iconvdata/ibm1129.h: Likewise.
20239 * iconvdata/ibm1130.h: Likewise.
20240 * iconvdata/ibm1132.h: Likewise.
20241 * iconvdata/ibm1133.h: Likewise.
20242 * iconvdata/ibm1137.h: Likewise.
20243 * iconvdata/ibm1140.h: Likewise.
20244 * iconvdata/ibm1141.h: Likewise.
20245 * iconvdata/ibm1142.h: Likewise.
20246 * iconvdata/ibm1143.h: Likewise.
20247 * iconvdata/ibm1144.h: Likewise.
20248 * iconvdata/ibm1145.h: Likewise.
20249 * iconvdata/ibm1146.h: Likewise.
20250 * iconvdata/ibm1147.h: Likewise.
20251 * iconvdata/ibm1148.h: Likewise.
20252 * iconvdata/ibm1149.h: Likewise.
20253 * iconvdata/ibm1153.h: Likewise.
20254 * iconvdata/ibm1154.h: Likewise.
20255 * iconvdata/ibm1155.h: Likewise.
20256 * iconvdata/ibm1156.h: Likewise.
20257 * iconvdata/ibm1157.h: Likewise.
20258 * iconvdata/ibm1158.h: Likewise.
20259 * iconvdata/ibm1160.h: Likewise.
20260 * iconvdata/ibm1161.h: Likewise.
20261 * iconvdata/ibm1162.h: Likewise.
20262 * iconvdata/ibm1163.h: Likewise.
20263 * iconvdata/ibm1164.h: Likewise.
20264 * iconvdata/ibm1166.h: Likewise.
20265 * iconvdata/ibm1167.h: Likewise.
20266 * iconvdata/ibm12712.h: Likewise.
20267 * iconvdata/ibm1390.h: Likewise.
20268 * iconvdata/ibm1399.h: Likewise.
20269 * iconvdata/ibm16804.h: Likewise.
20270 * iconvdata/ibm4517.h: Likewise.
20271 * iconvdata/ibm4899.h: Likewise.
20272 * iconvdata/ibm4909.h: Likewise.
20273 * iconvdata/ibm4971.h: Likewise.
20274 * iconvdata/ibm5347.h: Likewise.
20275 * iconvdata/ibm803.h: Likewise.
20276 * iconvdata/ibm856.h: Likewise.
20277 * iconvdata/ibm901.h: Likewise.
20278 * iconvdata/ibm902.h: Likewise.
20279 * iconvdata/ibm9030.h: Likewise.
20280 * iconvdata/ibm9066.h: Likewise.
20281 * iconvdata/ibm921.h: Likewise.
20282 * iconvdata/ibm922.h: Likewise.
20283 * iconvdata/ibm9448.h: Likewise.
20284 * iconvdata/isiri-3342.h: Likewise.
20285 * iconvdata/jis0201.h: Likewise.
20286 * include/link.h: Likewise.
20287 * include/netdb.h: Likewise.
20288 * inet/check_native.c: Likewise.
20289 * inet/check_pf.c: Likewise.
20290 * inet/getipv4sourcefilter.c: Likewise.
20291 * inet/getnameinfo.c: Likewise.
20292 * inet/getsourcefilter.c: Likewise.
20293 * inet/htonl.c: Likewise.
20294 * inet/setipv4sourcefilter.c: Likewise.
20295 * inet/setsourcefilter.c: Likewise.
20296 * inet/test-inet6_opt.c: Likewise.
20297 * inet/tst-network.c: Likewise.
20298 * locale/C-collate.c: Likewise.
20299 * locale/C-ctype.c: Likewise.
20300 * locale/C-time.c: Likewise.
20301 * locale/C-translit.h: Likewise.
20302 * locale/loadarchive.c: Likewise.
20303 * locale/programs/3level.h: Likewise.
20304 * locale/programs/charmap.c: Likewise.
20305 * locale/programs/charmap.h: Likewise.
20306 * locale/programs/ld-address.c: Likewise.
20307 * locale/programs/ld-collate.c: Likewise.
20308 * locale/programs/ld-ctype.c: Likewise.
20309 * locale/programs/ld-identification.c: Likewise.
20310 * locale/programs/ld-measurement.c: Likewise.
20311 * locale/programs/ld-messages.c: Likewise.
20312 * locale/programs/ld-monetary.c: Likewise.
20313 * locale/programs/ld-name.c: Likewise.
20314 * locale/programs/ld-numeric.c: Likewise.
20315 * locale/programs/ld-paper.c: Likewise.
20316 * locale/programs/ld-telephone.c: Likewise.
20317 * locale/programs/ld-time.c: Likewise.
20318 * locale/programs/linereader.c: Likewise.
20319 * locale/programs/locale.c: Likewise.
20320 * locale/programs/locarchive.c: Likewise.
20321 * locale/programs/locfile.h: Likewise.
20322 * locale/programs/repertoire.c: Likewise.
20323 * locale/programs/simple-hash.c: Likewise.
20324 * locale/programs/simple-hash.h: Likewise.
20325 * malloc/memusage.c: Likewise.
20326 * malloc/memusagestat.c: Likewise.
20327 * nis/nis_defaults.c: Likewise.
20328 * nis/nis_hash.c: Likewise.
20329 * nis/nis_print.c: Likewise.
20330 * nis/nis_xdr.c: Likewise.
20331 * nscd/connections.c: Likewise.
20332 * nscd/hstcache.c: Likewise.
20333 * nscd/nscd_gethst_r.c: Likewise.
20334 * nscd/nscd_getserv_r.c: Likewise.
20335 * nscd/nscd_helper.c: Likewise.
20336 * nscd/servicescache.c: Likewise.
20337 * nss/makedb.c: Likewise.
20338 * nss/nss_db/db-XXX.c: Likewise.
20339 * nss/nss_db/db-initgroups.c: Likewise.
20340 * nss/nss_db/db-netgrp.c: Likewise.
20341 * nss/nss_files/files-network.c: Likewise.
20342 * nss/nss_files/files-parse.c: Likewise.
20343 * posix/bug-regex5.c: Likewise.
20344 * posix/fnmatch_loop.c: Likewise.
20345 * posix/regcomp.c: Likewise.
20346 * posix/regexec.c: Likewise.
20347 * posix/tst-rfc3484-2.c: Likewise.
20348 * posix/tst-rfc3484-3.c: Likewise.
20349 * posix/tst-rfc3484.c: Likewise.
20350 * resolv/nss_dns/dns-canon.c: Likewise.
20351 * resolv/nss_dns/dns-network.c: Likewise.
20352 * resolv/res_init.c: Likewise.
20353 * resolv/res_mkquery.c: Likewise.
20354 * resolv/tst-aton.c: Likewise.
20355 * stdlib/cxa_atexit.c: Likewise.
20356 * stdlib/cxa_finalize.c: Likewise.
20357 * stdlib/gen-fpioconst.c: Likewise.
20358 * stdlib/strtol_l.c: Likewise.
20359 * string/tst-endian.c: Likewise.
20360 * sunrpc/auth_des.c: Likewise.
20361 * sunrpc/clnt_udp.c: Likewise.
20362 * sunrpc/rtime.c: Likewise.
20363 * sunrpc/svcauth_des.c: Likewise.
20364 * sunrpc/xdr.c: Likewise.
20365 * sunrpc/xdr_intXX_t.c: Likewise.
20366 * sunrpc/xdr_rec.c: Likewise.
20367 * sysdeps/generic/ldconfig.h: Likewise.
20368 * sysdeps/generic/ldsodefs.h: Likewise.
20369 * sysdeps/generic/memusage.h: Likewise.
20370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20380 * sysdeps/posix/getaddrinfo.c: Likewise.
20381 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20383 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20384 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20385 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20386 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20387 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20388 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20389 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20390 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20391 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20393 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20394 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20395 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20396 * sysdeps/x86_64/dl-tls.h: Likewise.
20397 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20398 * time/alt_digit.c: Likewise.
20399 * time/era.c: Likewise.
20400 * wcsmbs/tst-c16c32-1.c: Likewise.
20402 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20404 * math/libm-test.inc (struct test_sincos_data): New type.
20405 (RUN_TEST_LOOP_sincos): New macro.
20406 (sincos_test_data): New variable.
20407 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20409 2013-05-16 Richard Henderson <rth@redhat.com>
20411 * math/atest-exp2.c (LIMB64): New macro.
20412 (CONSTSZ): New macro.
20413 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20415 (print_mpn_fp): ... to function scope.
20416 (read_mpn_hex): Remove.
20417 (get_log2): Remove.
20418 (exp2_mpn): Use mp_log2.
20419 (main): Use mp_exp1.
20421 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20423 * math/libm-test.inc: Remove comment about not testing "inexact"
20425 (INEXACT_EXCEPTION): New macro.
20426 (NO_INEXACT_EXCEPTION): Likewise.
20427 (INVALID_EXCEPTION_OK): Update value.
20428 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20429 (OVERFLOW_EXCEPTION_OK): Likewise.
20430 (UNDERFLOW_EXCEPTION_OK): Likewise.
20431 (IGNORE_ZERO_INF_SIGN): Likewise.
20432 (ERRNO_UNCHANGED): Likewise.
20433 (ERRNO_EDOM): Likewise.
20434 (ERRNO_ERANGE): Likewise.
20435 (test_exceptions): Handle testing "inexact" exceptions.
20436 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20437 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20438 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20439 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20441 (rint_towardzero_test_data): Likewise.
20442 (rint_downward_test_data): Likewise.
20443 (rint_upward_test_data): Likewise.
20445 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20446 with OVERFLOW_EXCEPTION.
20447 (exp10_test_data): Likewise.
20448 (exp2_test_data): Likewise.
20449 (expm1_test_data): Likewise.
20450 (lgamma_test_data): Likewise.
20451 (pow_test_data): Likewise.
20452 (tgamma_test_data): Likewise.
20453 (yn_test_data): Remove duplicate test of overflow.
20455 * math/libm-test.inc (struct test_cc_c_data): New type.
20456 (RUN_TEST_LOOP_cc_c): New macro.
20457 (cpow_test_data): New variable.
20458 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20460 * math/libm-test.inc (struct test_f_L_data): New type.
20461 (RUN_TEST_LOOP_f_L): New macro.
20462 (llrint_test_data): New variable.
20463 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20464 (llrint_tonearest_test_data): New variable.
20465 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20466 (llrint_towardzero_test_data): New variable.
20467 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20468 (llrint_downward_test_data): New variable.
20469 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20470 (llrint_upward_test_data): New variable.
20471 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20472 (llround_test_data): New variable.
20473 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20475 2013-05-13 Peter Collingbourne <pcc@google.com>
20477 * math/atest-exp2.c (get_log2): Remove const attribute.
20479 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20481 * math/libm-test.inc (struct test_f_l_data): New type.
20482 (RUN_TEST_LOOP_f_l): New macro.
20483 (lrint_test_data): New variable.
20484 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20485 (lrint_tonearest_test_data): New variable.
20486 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20487 (lrint_towardzero_test_data): New variable.
20488 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20489 (lrint_downward_test_data): New variable.
20490 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20491 (lrint_upward_test_data): New variable.
20492 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20493 (lround_test_data): New variable.
20494 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20496 2013-05-15 Peter Collingbourne <pcc@google.com>
20498 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20499 (EXTRACT_WORDS64) Use where appropriate.
20500 (INSERT_WORDS64) Likewise.
20502 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20503 constraints with x constraints.
20504 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20506 * malloc/obstack.c (_obstack_compat): Add initializer.
20508 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20511 si_trapno and add si_addr_lsb to _sifields.sigfault.
20512 (si_trapno): Remove macro.
20513 (si_addr_lsb): Define new macro.
20514 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20516 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20518 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20519 instead of TEST_f_l.
20520 (llrint_test_tonearest): Likewise.
20521 (llrint_test_towardzero): Likewise.
20522 (llrint_test_downward): Likewise.
20523 (llrint_test_upward): Likewise.
20524 (llround_test): Likewise.
20526 * math/libm-test.inc (struct test_f_i_data): Add comment.
20527 (RUN_TEST_LOOP_f_b): New macro.
20528 (RUN_TEST_LOOP_f_b_tg): Likewise.
20529 (finite_test_data): New variable.
20530 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20531 (isfinite_test_data): New variable.
20532 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20533 (isinf_test_data): New variable.
20534 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20535 (isnan_test_data): New variable.
20536 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20537 (isnormal_test_data): New variable.
20538 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20539 (issignaling_test_data): New variable.
20540 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20541 (signbit_test_data): New variable.
20542 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20544 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20545 with INVALID_EXCEPTION.
20546 (acosh_test_data): Likewise.
20547 (asin_test_data): Likewise.
20548 (atanh_test_data): Likewise.
20549 (fmod_test_data): Likewise.
20550 (log_test_data): Likewise.
20551 (log10_test_data): Likewise.
20552 (log2_test_data): Likewise.
20553 (pow_test_data): Likewise.
20554 (sqrt_test_data): Likewise.
20555 (y0_test_data): Likewise.
20556 (y1_test_data): Likewise.
20557 (yn_test_data): Likewise.
20559 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20562 * math/libm-test.inc (struct test_ff_i_data): New type.
20563 (RUN_TEST_LOOP_ff_i_tg): New macro.
20564 (isgreater_test_data): New variable.
20565 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20566 (isgreaterequal_test_data): New variable.
20567 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20568 (isless_test_data): New variable.
20569 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20570 (islessequal_test_data): New variable.
20571 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20572 (islessgreater_test_data): New variable.
20573 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20574 (isunordered_test_data): New variable.
20575 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20577 2013-05-14 David S. Miller <davem@davemloft.net>
20579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20581 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20583 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20585 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20587 (struct test_f_i_data): Change type of max_ulp to int.
20589 * math/libm-test.inc (test_ffI_f1_data): New type.
20590 (RUN_TEST_LOOP_ffI_f1): New macro.
20591 (remquo_test_data): New variable.
20592 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20594 * setjmp/tst-setjmp-fp.c: New file.
20595 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20596 (link-libm): New variable.
20597 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20599 * math/libm-test.inc (struct test_f_i_data): New type.
20600 (RUN_TEST_LOOP_f_i): New macro.
20601 (RUN_TEST_LOOP_f_i_tg): Likewise.
20602 (fpclassify_test_data): New variable.
20603 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20604 (ilogb_test_data): New variable.
20605 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20607 * math/libm-test.inc (scalbln_test): Correct function name in END
20610 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20611 (RUN_TEST_LOOP_fI_f1): New macro.
20612 (frexp_test_data): New variable.
20613 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20615 * math/libm-test.inc (struct test_fF_f1_data): New type.
20616 (RUN_TEST_LOOP_fF_f1): New macro.
20617 (modf_test_data): New variable.
20618 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20620 * math/libm-test.inc (struct test_f_f1_data): New type.
20621 (RUN_TEST_LOOP_f_f1): New macro.
20622 (gamma_test_data): New variable.
20623 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20624 (lgamma_test_data): New variable.
20625 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20627 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20629 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20630 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20631 (main): Comment "tls" pseudo-hwcap.
20633 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20635 * math/libm-test.inc (struct test_fl_f_data): New type.
20636 (RUN_TEST_LOOP_fl_f): New variable.
20637 (scalbln_test_data): New variable.
20638 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20640 * math/libm-test.inc (struct test_fi_f_data): New type.
20641 (RUN_TEST_LOOP_fi_f): New macro.
20642 (ldexp_test_data): New variable.
20643 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20644 (scalbn_test_data): New variable.
20645 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20647 * math/libm-test.inc (struct test_c_f_data): New type.
20648 (RUN_TEST_LOOP_c_f): New macro.
20649 (cabs_test_data): New variable.
20650 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20651 (carg_test_data): New variable.
20652 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20653 (cimag_test_data): New variable.
20654 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20655 (creal_test_data): New variable.
20656 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20658 * math/libm-test.inc (struct test_if_f_data): New type.
20659 (RUN_TEST_LOOP_if_f): New macro.
20660 (jn_test_data): New variable.
20661 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20662 (yn_test_data): New variable.
20663 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20665 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20667 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20670 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20672 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20674 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20675 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20676 (bench-deps): Add bench-timing.h.
20677 * benchtests-bench-skeleton.c: Include bench-timing.h.
20678 (main): Use TIMING_* macros instead of clock_gettime.
20679 * benchtests/bench-timing.h: New file.
20682 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20683 Renamed from _LIB_VERSION.
20684 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20686 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20688 * math/libm-test.inc (struct test_fff_f_data): New type.
20689 (RUN_TEST_LOOP_fff_f): New macro.
20690 (fma_test_data): New variable.
20691 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20692 (fma_towardzero_test_data): New variable.
20693 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20694 (fma_downward_test_data): New variable.
20695 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20696 (fma_upward_test_data): New variable.
20697 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20699 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20700 (struct test_c_c_data): New type.
20701 (RUN_TEST_LOOP_c_c): New macro.
20702 (cacos_test_data): New variable.
20703 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20704 (cacosh_test_data): New variable.
20705 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20706 (casin_test_data): New variable.
20707 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20708 (casinh_test_data): New variable.
20709 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20710 (catan_test_data): New variable.
20711 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20712 (catanh_test_data): New variable.
20713 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20714 (ccos_test_data): New variable.
20715 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20716 (ccosh_test_data): New variable.
20717 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20718 (cexp_test_data): New variable.
20719 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20720 (clog_test_data): New variable.
20721 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20722 (clog10_test_data): New variable.
20723 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20724 (conj_test_data): New variable.
20725 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20726 (cproj_test_data): New variable.
20727 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20728 (csin_test_data): New variable.
20729 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20730 (csinh_test_data): New variable.
20731 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20732 (csqrt_test_data): New variable.
20733 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20734 (ctan_test_data): New variable.
20735 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20736 (ctan_tonearest_test_data): New variable.
20737 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20738 (ctan_towardzero_test_data): New variable.
20739 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20740 (ctan_downward_test_data): New variable.
20741 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20742 (ctan_upward_test_data): New variable.
20743 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20744 (ctanh_test_data): New variable.
20745 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20746 (ctanh_tonearest_test_data): New variable.
20747 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20748 (ctanh_towardzero_test_data): New variable.
20749 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20750 (ctanh_downward_test_data): New variable.
20751 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20752 (ctanh_upward_test_data): New variable.
20753 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20754 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20757 * math/libm-test.inc (struct test_ff_f_data): New type.
20758 (struct test_ff_f_data_nexttoward): Likewise.
20759 (RUN_TEST_LOOP_2_f): New macro.
20760 (RUN_TEST_LOOP_ff_f): Likewise.
20761 (atan2_test_data): New variable.
20762 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20763 (copysign_test_data): New variable.
20764 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20765 (fdim_test_data): New variable.
20766 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20767 (fmax_test_data): New variable.
20768 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20769 (fmin_test_data): New variable.
20770 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20771 (fmod_test_data): New variable.
20772 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20773 (hypot_test_data): New variable.
20774 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20775 (nextafter_test_data): New variable.
20776 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20777 (nexttoward_test_data): New variable.
20778 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20779 (pow_test_data): New variable.
20780 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20781 (pow_tonearest_test_data): New variable.
20782 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20783 (pow_towardzero_test_data): New variable.
20784 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20785 (pow_downward_test_data): New variable.
20786 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20787 (pow_upward_test_data): New variable.
20788 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20789 (remainder_test_data): New variable.
20790 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20791 (scalb_test_data): New variable.
20792 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20793 * sysdeps/i386/fpu/libm-test-ulps: Update.
20795 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20797 * math/libm-test.inc (fma_test): Use max_value instead of local
20799 (nextafter_test): Likewise.
20801 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20802 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20803 (acos_downward_test_data): New variable.
20804 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20805 (acos_upward_test_data): New variable.
20806 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20807 (acosh_test_data): New variable.
20808 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20809 (asin_test_data): New variable.
20810 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20811 (asin_tonearest_test_data): New variable.
20812 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20813 (asin_towardzero_test_data): New variable.
20814 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20815 (asin_downward_test_data): New variable.
20816 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20817 (asin_upward_test_data): New variable.
20818 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20819 (asinh_test_data): New variable.
20820 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20821 (atan_test_data): New variable.
20822 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20823 (atanh_test_data): New variable.
20824 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20825 (cbrt_test_data): New variable.
20826 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20827 (ceil_test_data): New variable.
20828 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20829 (cos_test_data): New variable.
20830 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20831 (cos_tonearest_test_data): New variable.
20832 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20833 (cos_towardzero_test_data): New variable.
20834 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20835 (cos_downward_test_data): New variable.
20836 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20837 (cos_upward_test_data): New variable.
20838 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20839 (cosh_test_data): New variable.
20840 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20841 (cosh_tonearest_test_data): New variable.
20842 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20843 (cosh_towardzero_test_data): New variable.
20844 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20845 (cosh_downward_test_data): New variable.
20846 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20847 (cosh_upward_test_data): New variable.
20848 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20849 (erf_test_data): New variable.
20850 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20851 (erfc_test_data): New variable.
20852 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20853 (exp_test_data): New variable.
20854 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20855 (exp_tonearest_test_data): New variable.
20856 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20857 (exp_towardzero_test_data): New variable.
20858 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20859 (exp_downward_test_data): New variable.
20860 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20861 (exp_upward_test_data): New variable.
20862 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20863 (exp10_test_data): New variable.
20864 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20865 (exp2_test_data): New variable.
20866 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20867 (expm1_test_data): New variable.
20868 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20869 (fabs_test_data): New variable.
20870 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20871 (floor_test_data): New variable.
20872 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20873 (j0_test_data): New variable.
20874 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20875 (j1_test_data): New variable.
20876 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20877 (log_test_data): New variable.
20878 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20879 (log10_test_data): New variable.
20880 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20881 (log1p_test_data): New variable.
20882 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20883 (log2_test_data): New variable.
20884 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20885 (logb_test_data): New variable.
20886 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (logb_downward_test_data): New variable.
20888 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20889 (nearbyint_test_data): New variable.
20890 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20891 (rint_test_data): New variable.
20892 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20893 (rint_tonearest_test_data): New variable.
20894 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20895 (rint_towardzero_test_data): New variable.
20896 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20897 (rint_downward_test_data): New variable.
20898 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20899 (rint_upward_test_data): New variable.
20900 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20901 (round_test_data): New variable.
20902 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20903 (sin_test_data): New variable.
20904 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20905 (sin_tonearest_test_data): New variable.
20906 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20907 (sin_towardzero_test_data): New variable.
20908 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20909 (sin_downward_test_data): New variable.
20910 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20911 (sin_upward_test_data): New variable.
20912 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20913 (sinh_test_data): New variable.
20914 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20915 (sinh_tonearest_test_data): New variable.
20916 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20917 (sinh_towardzero_test_data): New variable.
20918 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20919 (sinh_downward_test_data): New variable.
20920 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20921 (sinh_upward_test_data): New variable.
20922 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20923 (sqrt_test_data): New variable.
20924 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20925 (tan_test_data): New variable.
20926 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20927 (tan_tonearest_test_data): New variable.
20928 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20929 (tan_towardzero_test_data): New variable.
20930 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20931 (tan_downward_test_data): New variable.
20932 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20933 (tan_upward_test_data): New variable.
20934 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20935 (tanh_test_data): New variable.
20936 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20937 (tgamma_test_data): New variable.
20938 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20939 (trunc_test_data): New variable.
20940 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20941 (y0_test_data): New variable.
20942 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20943 (y1_test_data): New variable.
20944 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20945 (significand_test_data): New variable.
20946 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20948 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20951 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20953 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20955 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20957 2013-05-10 Andreas Jaeger <aj@suse.de>
20960 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20961 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20963 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20965 * math/gen-libm-test.pl (adjust_arg): New function.
20966 (special_functions): Handle generating output in both functions
20968 (parse_args): Likewise.
20969 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20970 $in_func argument to parse_args.
20971 * math/libm-test.inc (struct test_f_f_data): New type.
20972 (IF_ROUND_INIT_): New macro.
20973 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20974 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20975 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20976 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20977 (ROUND_RESTORE_): Likewise.
20978 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20979 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20980 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20981 (ROUND_RESTORE_FE_UPWARD): Likewise.
20982 (RUN_TEST_LOOP_f_f): New macro.
20983 (acos_test_data): New variable.
20984 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20985 (acos_tonearest_test_data): New variable.
20986 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20988 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20990 * benchtests/bench-skeleton.c (startup): Fix coding style.
20992 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20995 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20996 negative infinity argument.
20997 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20998 negative infinity argument.
20999 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21000 negative infinity argument.
21001 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21004 2013-05-10 Florian Weimer <fweimer@redhat.com>
21006 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21007 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21008 * iconv/iconv_prog.c (main): Likewise.
21009 * locale/programs/charmap-dir.c (charmap_readdir)
21010 (fopen_uncompressed): Likewise.
21011 * locale/programs/locfile.c (siblings_uncached)
21012 (write_locale_data): Use lstat64 instead of lstat.
21013 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21016 2013-05-10 Andreas Jaeger <aj@suse.de>
21019 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21021 Include <locale.h>.
21023 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21025 * elf/dl-close.c (_dl_close_worker): Add comments.
21027 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21030 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21032 (__ieee754_rem_pio2l): Update comments.
21035 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21037 (__ieee754_rem_pio2l): Update comments.
21039 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21040 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21042 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21045 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21046 (M_PI_34_LOG10El): Likewise.
21047 (M_PI2_LOG10El): Likewise.
21048 (M_PI4_LOG10El): Likewise.
21049 (M_PI_LOG10El): Likewise.
21051 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21055 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21057 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21058 (MINUS_ZERO_INIT): Likewise.
21059 (PLUS_INFTY_INIT): Likewise.
21060 (MINUS_INFTY_INIT): Likewise.
21061 (QNAN_VALUE_INIT): Likewise.
21062 (MAX_VALUE_INIT): Likewise.
21063 (MIN_VALUE_INIT): Likewise.
21064 (MIN_SUBNORM_VALUE_INIT): Likewise.
21065 (plus_zero): Initialize with PLUS_ZERO_INIT.
21066 (minus_zero): Initialize with MINUS_ZERO_INIT.
21067 (plus_infty): Initialize with PLUS_INFTY_INIT.
21068 (minus_infty): Initialize with MINUS_INFTY_INIT.
21069 (qnan_value): Initialize with QNAN_VALUE_INIT.
21070 (max_value): Initialize with MAX_VALUE_INIT.
21071 (min_value): Initialize with MIN_VALUE_INIT.
21072 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21074 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21075 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21076 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21077 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21079 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21080 (RUN_TEST_2_f): Likewise.
21081 (RUN_TEST_ff_f): Likewise.
21082 (RUN_TEST_fi_f): Likewise.
21083 (RUN_TEST_fl_f): Likewise.
21084 (RUN_TEST_fff_f): Likewise.
21085 (RUN_TEST_c_f): Likewise.
21086 (RUN_TEST_f_f1): Likewise.
21087 (RUN_TEST_fF_f1): Likewise.
21088 (RUN_TEST_fI_f1): Likewise.
21089 (RUN_TEST_ffI_f1): Likewise.
21090 (RUN_TEST_c_c): Likewise.
21091 (RUN_TEST_cc_c): Likewise.
21092 (RUN_TEST_f_i): Likewise.
21093 (RUN_TEST_f_i_tg): Likewise.
21094 (RUN_TEST_ff_i_tg): Likewise.
21095 (RUN_TEST_f_b): Likewise.
21096 (RUN_TEST_f_b_tg): Likewise.
21097 (RUN_TEST_f_l): Likewise.
21098 (RUN_TEST_f_L): Likewise.
21099 (RUN_TEST_sincos): Likewise.
21100 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21101 whether to show exceptions. Do not include ");\n" in return
21103 (special_functions): Output call to RUN_TEST_sincos instead of
21104 check_float calls. Update calls to new_test.
21105 (parse_args): Output call to single RUN_TEST_* macro instead of
21106 check_* calls and other assignments. Update calls to new_test.
21112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21113 input to result for tgamma overflow.
21114 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21115 (gamma_coeff): New variable.
21116 (NCOEFF): New macro.
21117 (gamma_positive): New function.
21118 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21119 underflow here. Use gamma_positive instead of exp (lgamma) for
21121 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21122 (gamma_coeff): New variable.
21123 (NCOEFF): New macro.
21124 (gammaf_positive): New function.
21125 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21126 underflow here. Use gamma_positive instead of exp (lgamma) for
21128 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21129 (gamma_coeff): New variable.
21130 (NCOEFF): New macro.
21131 (gammal_positive): New function.
21132 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21133 underflow here. Use gamma_positive instead of exp (lgamma) for
21135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21136 (gamma_coeff): New variable.
21137 (NCOEFF): New macro.
21138 (gammal_positive): New function.
21139 (__ieee754_gammal_r): Handle positive infinity, overflow and
21140 underflow here. Handle NaN the same as positive infinity. Remove
21141 check x < 0xffffffff for negative integers. Use gamma_positive
21142 instead of exp (lgamma) for other arguments.
21143 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21144 (gamma_coeff): New variable.
21145 (NCOEFF): New macro.
21146 (gammal_positive): New function.
21147 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21148 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21152 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21153 * sysdeps/generic/math_private.h (__gamma_productf): New
21155 (__gamma_product): Likewise.
21156 (__gamma_productl): Likewise.
21157 * math/Makefile (libm-calls): Add gamma_product.
21158 * math/libm-test.inc (tgamma_test): Add more tests.
21159 * sysdeps/i386/fpu/libm-test-ulps: Update.
21160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21162 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21164 * benchtests/bench-skeleton.c (main): Preheat CPU.
21166 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21168 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21170 2013-05-07 Roland McGrath <roland@hack.frob.com>
21172 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21173 and _dl_skip_args_internal.
21175 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21177 * manual/message.texi (Message Translation): Talk about users.
21178 Message to key mapping impacts design.
21180 2013-05-06 Roland McGrath <roland@hack.frob.com>
21182 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21184 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21186 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21187 * sysdeps/wordsize-64/glob64.c: ... here.
21189 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21190 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21193 * debug/getlogin_r_chk.c: Moved to ...
21194 * login/getlogin_r_chk.c: ... here.
21195 * debug/Makefile (routines): Move getlogin_r_chk to ...
21196 * login/Makefile (routines): ... here.
21197 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21198 * login/Versions (libc: GLIBC_2.4): ... here.
21200 * io/poll.c (__poll): Renamed from poll.
21201 Add libc_hidden_def.
21202 (poll): Define as weak alias.
21204 * debug/ptsname_r_chk.c: Moved to ...
21205 * login/ptsname_r_chk.c: ... here.
21206 * debug/Makefile (routines): Move ptsname_r_chk to ...
21207 * login/Makefile (routines): ... here.
21208 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21209 * login/Versions (libc: GLIBC_2.4): ... here.
21211 * posix/getlogin.c: Moved to ...
21212 * login/getlogin.c: ... here.
21213 * posix/getlogin_r.c: Moved to ...
21214 * login/getlogin_r.c: ... here.
21215 * posix/getlogin_r.c: Moved to ...
21216 * login/getlogin_r.c: ... here.
21217 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21218 * login/Makefile (routines): ... here.
21219 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21220 * login/Versions (libc: GLIBC_2.0): ... here.
21222 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21223 (setrlimit): Define as weak alias.
21225 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21226 Call __ names for open, ftruncate, and close.
21227 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21228 (truncate): Define as weak alias.
21230 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21232 * math/gen-libm-test.pl (parse_args): Initialize x before each
21233 test of frexp, modf and remquo.
21235 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21236 test signgam value.
21238 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21242 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21246 2013-05-06 Roland McGrath <roland@hack.frob.com>
21248 * elf/dl-writev.h: New file.
21249 * elf/dl-misc.c: Include it.
21250 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21251 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21253 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21255 * math/libm-test.inc (noXFails): Remove variable.
21256 (noXPasses): Likewise.
21257 (BUILD_COMPLEX_INT): Remove macro.
21258 (print_screen): Remove xfail argument.
21259 (print_screen_max_error): Likewise.
21260 (update_stats): Likewise.
21261 (print_max_error): Likewise. Update calls to other affected
21263 (print_complex_max_error): Likewise.
21264 (test_single_exception): Update calls to print_screen.
21265 (test_single_errno): Likewise.
21266 (check_float_internal): Remove xfail argument. Update calls to
21267 other affected functions.
21268 (check_float): Likewise.
21269 (check_complex): Likewise.
21270 (check_int): Likewise.
21271 (check_long): Likewise.
21272 (check_bool): Likewise.
21273 (check_longlong): Likewise.
21274 (main): Don't print noXFails and noXPasses.
21275 * math/gen-libm-test.pl (top level): Don't mention expected
21276 failure handling in comment.
21277 (new_test): Don't handle expected failures.
21278 (parse_args): Don't mention expected failure handling in comment.
21279 (generate_testfile): Don't handle expected failures.
21280 (parse_ulps): Likewise.
21281 (print_ulps_file): Likewise.
21282 (get_failure): Remove function.
21283 (output_test): Don't handle expected failures.
21284 * make/README.libm-test: Don't mention expected failure handling.
21286 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21287 (minus_zero): Likewise.
21288 (plus_infty): Likewise.
21289 (minus_infty): Likewise.
21290 (qnan_value): Likewise.
21291 (max_value): Likewise.
21292 (min_value): Likewise.
21293 (min_subnorm_value): Likewise.
21294 (initialize): Do not initialize those variables dynamically.
21296 2013-05-03 Roland McGrath <roland@hack.frob.com>
21298 * io/open.c (__open_2): Moved to ...
21299 * io/open_2.c: ... this new file.
21300 * io/open64.c (__open64_2): Moved to ...
21301 * io/open64_2.c: ... this new file.
21302 * io/openat.c (__openat_2): Moved to ...
21303 * io/openat_2.c: ... this new file.
21304 * io/openat64.c (__openat64_2): Moved to ...
21305 * io/openat64_2.c: ... this new file.
21306 * io/Makefile (routines): Add them.
21307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21308 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21309 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21310 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21311 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21312 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21313 (__openat64): Add hidden_ver.
21314 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21315 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21317 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21318 Separately conditionalize setting of GLRO(dl_sysinfo) so
21319 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21320 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21322 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21324 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21327 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21328 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21329 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21330 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21331 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21333 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21335 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21336 test signgam value.
21338 * math/libm-test.inc (hypot_test): Do not use
21339 IGNORE_ZERO_INF_SIGN.
21341 2013-05-03 Andreas Jaeger <aj@suse.de>
21343 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21345 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21346 (PF_MAX): Adjust for VSOCK change.
21348 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21352 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21355 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21356 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21357 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21359 2013-05-02 David S. Miller <davem@davemloft.net>
21361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21363 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21365 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21367 2013-05-01 Roland McGrath <roland@hack.frob.com>
21369 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21371 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21374 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21375 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21376 Use __attribute__ ((__gnu_inline__)).
21377 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21378 Don't use __attribute__ ((__gnu_inline__)).
21380 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21383 * math/s_catan.c (__catan): Handle small real or imaginary part of
21384 input specially to avoid spurious underflow.
21385 * math/s_catanf.c (__catanf): Likewise.
21386 * math/s_catanh.c (__catanh): Likewise.
21387 * math/s_catanhf.c (__catanhf): Likewise.
21388 * math/s_catanhl.c (__catanhl): Likewise.
21389 * math/s_catanl.c (__catanl): Likewise.
21390 * math/libm-test.inc (catan_test): Add more tests.
21391 (catanh_test): Likewise.
21392 * sysdeps/i386/fpu/libm-test-ulps: Update.
21393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21395 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21399 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21402 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21403 accurately for denominator in atan2.
21404 * math/s_catanf.c (__catanf): Likewise.
21405 * math/s_catanh.c (__catanh): Likewise.
21406 * math/s_catanhf.c (__catanhf): Likewise.
21407 * math/s_catanhl.c (__catanhl): Likewise.
21408 * math/s_catanl.c (__catanl): Likewise.
21409 * math/libm-test.inc (catan_test): Add more tests.
21410 (catanh_test): Likewise.
21411 * sysdeps/i386/fpu/libm-test-ulps: Update.
21412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21414 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21416 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21418 * benchtests/Makefile (bench): Remove slow benchmarks.
21419 * benchtests/atan-inputs: Add slow benchmark inputs.
21420 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21421 (BENCH_FUNC): Accept variant offset.
21423 * benchtests/bench-skeleton.c (main): Run benchmark for each
21425 * benchtests/cos-inputs: Add slow benchmark inputs.
21426 * benchtests/exp-inputs: Likewise.
21427 * benchtests/pow-inputs: Likewise.
21428 * benchtests/sin-inputs: Likewise.
21429 * benchtests/slowatan-inputs: Remove.
21430 * benchtests/slowatan.c: Remove.
21431 * benchtests/slowcos-inputs: Remove.
21432 * benchtests/slowcos.c: Remove.
21433 * benchtests/slowexp-inputs: Remove.
21434 * benchtests/slowexp.c: Remove.
21435 * benchtests/slowpow-inputs: Remove.
21436 * benchtests/slowpow.c: Remove.
21437 * benchtests/slowsin-inputs: Remove.
21438 * benchtests/slowsin.c: Remove.
21439 * benchtests/slowtan-inputs: Remove.
21440 * benchtests/slowtan.c: Remove.
21441 * benchtests/tan-inputs: Add slow benchmark inputs.
21442 * scripts/bench.pl: Parse comments and directives.
21444 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21446 ($(objpfx)bench-%.c): Remove *-ITER.
21447 * benchtests/bench-modf.c: Remove definition of ITER.
21448 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21449 (main): Loop for DURATION seconds instead of fixed number of
21451 * scripts/bench.pl: Don't expect iterations in parameters.
21453 2013-04-29 Roland McGrath <roland@hack.frob.com>
21455 * io/fchdir.c (__fchdir): Renamed from fchdir.
21456 (fchdir): Define as weak alias.
21458 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21460 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21461 (ERRNO_EDOM): Likewise.
21462 (ERRNO_ERANGE): Likewise.
21463 (noErrnoTests): New variable.
21464 (init_max_error): Set errno to 0.
21465 (test_single_errno): New function.
21466 (test_errno): Likewise.
21467 (check_float_internal): Call test_errno. Set errno to 0.
21468 (check_complex): Refer to errno tests in comment.
21469 (check_int): Call test_errno. Set errno to 0.
21470 (check_long): Likewise.
21471 (check_bool): Likewise.
21472 (check_longlong): Likewise.
21473 (cos_test): Use ERRNO_* flags for errno tests instead of
21475 (expm1_test): Likewise.
21476 (fmod_test): Likewise.
21477 (ilogb_test): Likewise.
21478 (lgamma_test): Likewise.
21479 (pow_test): Likewise.
21480 (remainder_test): Likewise.
21481 (sin_test): Likewise.
21482 (tan_test): Likewise.
21483 (yn_test): Likewise.
21484 (initialize): Set errno to 0.
21485 (main): Print number of errno tests.
21486 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21488 2013-04-29 Andreas Jaeger <aj@suse.de>
21491 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21495 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21496 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21500 * stdlib/random.c (__initstate): Return NULL if
21504 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21505 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21508 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21512 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21514 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21515 of individual tests.
21516 (casin_test): Likewise.
21517 (casinh_test): Likewise.
21519 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21522 * math/s_catan.c (__catan): Handle arguments with large real or
21523 imaginary part separately without squaring.
21524 * math/s_catanf.c (__catanf): Likewise.
21525 * math/s_catanh.c (__catanh): Likewise.
21526 * math/s_catanhf.c (__catanhf): Likewise.
21527 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21529 (__catanhl): Handle arguments with large real or imaginary part
21530 separately without squaring.
21531 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21533 (__catanl): Handle arguments with large real or imaginary part
21534 separately without squaring.
21535 * math/libm-test.inc (catan_test): Add more tests.
21536 (catanh_test): Likewise.
21537 * sysdeps/i386/fpu/libm-test-ulps: Update.
21538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21540 2013-04-27 Andreas Jaeger <aj@suse.de>
21543 * stdlib/stdlib.h: Update guards for qecvt.
21544 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21547 2013-04-27 Allan McRae <allan@archlinux.org>
21549 * sysdeps/i386/fpu/libm-test-ulps: Update.
21551 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21554 * math/s_catan.c: Include <float.h>.
21555 (__catan): Ensure underflow exception occurs for underflowed
21557 * math/s_catanf.c: Include <float.h>.
21558 (__catanf): Ensure underflow exception occurs for underflowed
21560 * math/s_catanh.c: Include <float.h>.
21561 (__catanh): Ensure underflow exception occurs for underflowed
21563 * math/s_catanhf.c: Include <float.h>.
21564 (__catanhf): Ensure underflow exception occurs for underflowed
21566 * math/s_catanhl.c: Include <float.h>.
21567 (__catanhl): Ensure underflow exception occurs for underflowed
21569 * math/s_catanl.c: Include <float.h>.
21570 (__catanl): Ensure underflow exception occurs for underflowed
21572 * math/libm-test.inc (catan_test): Add more tests.
21573 (catanh_test): Likewise.
21576 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21577 underflowed result.
21578 * math/s_ccoshf.c (__ccoshf): Likewise.
21579 * math/s_ccoshl.c (__ccoshl): Likewise.
21580 * math/s_csin.c (__csin): Likewise.
21581 * math/s_csinf.c (__csinf): Likewise.
21582 * math/s_csinh.c (__csinh): Likewise.
21583 * math/s_csinhf.c (__csinhf): Likewise.
21584 * math/s_csinhl.c (__csinhl): Likewise.
21585 * math/s_csinl.c (__csinl): Likewise.
21586 * math/libm-test.inc (ccos_test): Add more tests.
21587 (ccosh_test): Likewise.
21588 (csin_test): Likewise.
21589 (csinh_test): Likewise.
21591 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21593 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21594 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21595 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21596 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21597 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21598 powerpc/power5+/fpu folders.
21599 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21602 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21606 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21608 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21609 additions to variable.
21610 [$(config-machine) = x86_64] (modules-names): Likewise.
21611 ($(objpfx)tst-audit3): Remove dependency.
21612 ($(objpfx)tst-audit3.out): Likewise.
21613 ($(objpfx)tst-audit4): Likewise.
21614 ($(objpfx)tst-audit4.out): Likewise.
21615 ($(objpfx)tst-audit5): Likewise.
21616 ($(objpfx)tst-audit5.out): Likewise.
21617 ($(objpfx)tst-audit6): Likewise.
21618 ($(objpfx)tst-audit6.out): Likewise.
21619 ($(objpfx)tst-audit7): Likewise.
21620 ($(objpfx)tst-audit7.out): Likewise.
21621 (tst-audit3-ENV): Remove variable.
21622 (tst-audit4-ENV): Likewise.
21623 (tst-audit5-ENV): Likewise.
21624 (tst-audit6-ENV): Likewise.
21625 (tst-audit7-ENV): Likewise.
21626 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21627 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21628 addition to variable.
21629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21634 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21635 tst-audit3, tst-audit4 and tst-audit5.
21636 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21637 tst-audit6 and tst-audit7.
21638 [$(subdir) = elf] (modules-names): Add audit modules for those
21640 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21641 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21642 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21643 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21644 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21645 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21646 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21647 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21648 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21649 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21650 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21651 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21652 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21653 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21654 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21655 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21657 [$(subdir) = elf && $(config-cflags-avx) = yes]
21658 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21659 [$(subdir) = elf && $(config-cflags-avx) = yes]
21660 (CFLAGS-tst-auditmod4a.c): Likewise.
21661 [$(subdir) = elf && $(config-cflags-avx) = yes]
21662 (CFLAGS-tst-auditmod4b.c): Likewise.
21663 [$(subdir) = elf && $(config-cflags-avx) = yes]
21664 (CFLAGS-tst-auditmod6b.c): Likewise.
21665 [$(subdir) = elf && $(config-cflags-avx) = yes]
21666 (CFLAGS-tst-auditmod6c.c): Likewise.
21667 [$(subdir) = elf && $(config-cflags-avx) = yes]
21668 (CFLAGS-tst-auditmod7b.c): Likewise.
21669 * elf/tst-audit3.c: Move to ...
21670 * sysdeps/x86_64/tst-audit3.c: ... here.
21671 * elf/tst-audit4.c: Move to ...
21672 * sysdeps/x86_64/tst-audit4.c: ... here.
21673 * elf/tst-audit5.c: Move to ...
21674 * sysdeps/x86_64/tst-audit5.c: ... here.
21675 * elf/tst-audit6.c: Move to ...
21676 * sysdeps/x86_64/tst-audit6.c: ... here.
21677 * elf/tst-audit7.c: Move to ...
21678 * sysdeps/x86_64/tst-audit7.c: ... here.
21679 * elf/tst-auditmod3a.c: Move to ...
21680 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21681 * elf/tst-auditmod3b.c: Move to ...
21682 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21683 * elf/tst-auditmod4a.c: Move to ...
21684 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21685 * elf/tst-auditmod4b.c: Move to ...
21686 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21687 * elf/tst-auditmod5a.c: Move to ...
21688 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21689 * elf/tst-auditmod5b.c: Move to ...
21690 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21691 * elf/tst-auditmod6a.c: Move to ...
21692 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21693 * elf/tst-auditmod6b.c: Move to ...
21694 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21695 * elf/tst-auditmod6c.c: Move to ...
21696 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21697 * elf/tst-auditmod7a.c: Move to ...
21698 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21699 * elf/tst-auditmod7b.c: Move to ...
21700 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21702 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21705 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21706 define unconditionally.
21707 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21708 define unconditionally.
21709 (INT8_C, INT16_C, etc.): Likewise.
21711 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21713 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21714 __ehdr_start with hidden visibility.
21716 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21718 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21720 * math/libm-test.inc (cos_test): Use accurate hex constants.
21721 (sincost_test): Likewise.
21723 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21725 * math/libm-test.inc (catan_test): Add more tests.
21726 (catanh_test): Likewise.
21728 * math/s_catanf.c (__catanf): Use suffixed floating-point
21730 * math/s_catanhf.c (__catanhf): Likewise.
21731 * math/s_catanhl.c (__catanhl): Likewise.
21732 * math/s_catanl.c (__catanl): Likewise.
21735 * math/s_catan.c (__catan): Calculate imaginary part of result
21736 with log1p not log unless computing log of number close to 0.
21737 * math/s_catanf.c (__catanf): Likewise.
21738 * math/s_catanl.c (__catanl): Likewise.
21739 * math/s_catanh.c (__catanh): Calculate real part of result with
21740 log1p not log unless computing log of number close to 0.
21741 * math/s_catanhf.c (__catanhf): Likewise.
21742 * math/s_catanhl.c (__catanhl): Likewise.
21743 * math/libm-test.inc (catan_test): Add more tests.
21744 (catanh_test): Likewise.
21745 * sysdeps/i386/fpu/libm-test-ulps: Update.
21746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21748 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21750 * benchtests/Makefile: Mention files in which fast and slow
21751 paths of math functions are implemented.
21753 2013-04-23 Roland McGrath <roland@hack.frob.com>
21755 * sysdeps/posix/timespec_get.c: New file.
21757 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21759 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21761 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21763 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21764 powerpc/power5/fpu folders.
21765 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21766 * benchtests/Makefile: Add modf testcase.
21767 * benchtests/bench-modf.c: New file: Benchmark test for mo
21769 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21772 * time/Makefile (tests): Add tst-strptime-whitespace.
21773 * time/strptime_l.c (get_number): Use ISSPACE.
21774 (__strptime_internal): Likewise.
21775 * time/tst-strptime-whitespace.c: New test case.
21777 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21779 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21781 (_nss_files_init): Set it here.
21783 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21786 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21789 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21791 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21793 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21798 2013-04-21 David S. Miller <davem@davemloft.net>
21800 * po/ru.po: Update Russion translation from translation project.
21802 2013-04-17 Adam Conrad <adconrad@0c3.net>
21804 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21807 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21809 * configure.in: Remove i386 configure warning. Remove i386 case.
21810 * configure: Regenerate.
21811 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21812 Add example to error message.
21813 * sysdeps/i386/configure: Regenerate.
21815 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21817 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21819 * benchtests/cos-inputs: New file.
21820 * benchtests/slowcos-inputs: New file.
21821 * benchtests/slowcos.c: New file.
21822 * benchtests/slowtan-inputs: New file.
21823 * benchtests/slowtan.c: New file.
21824 * benchtests/tan-inputs: New file.
21826 2013-04-16 Roland McGrath <roland@hack.frob.com>
21828 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21831 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21833 * benchtests/Makefile: Include cppflags-iterator.mk to add
21834 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21836 * Makefile.in (bench-clean): New target.
21837 * benchtests/Makefile (bench-clean): Likewise.
21839 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21841 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21843 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21845 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21847 2013-04-15 Andreas Schwab <schwab@suse.de>
21849 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21851 * nscd/pwdcache.c (cache_addpw): Likewise.
21852 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21855 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21857 * benchtests/Makefile (bench): Write all output to
21858 bench-out.tmp together.
21860 2013-04-15 Andreas Schwab <schwab@suse.de>
21862 * nscd/nscd.c (main): Don't fork again after closing files.
21864 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21866 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21868 * benchtests/Rules (bench-deps): Collect dependencies into a
21869 single variable. Add Makefile to dependencies.
21870 ($(objpfx)bench-%.c): Depend on bench-deps.
21872 2013-04-12 Roland McGrath <roland@hack.frob.com>
21873 Xavier Roche <roche+kml2@exalead.com>
21876 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21877 just that it's a file descriptor.
21878 * manual/llio.texi (Synchronizing AIO Operations): Update description
21879 for EBADF error from aio_fsync.
21881 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21883 * Rules (bench): Move target definition...
21884 * benchtests/Makefile: ... here.
21886 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21888 * math/libm-test.inc (cos_test): Fix PI/2 test.
21889 (sincos_test): Likewise.
21890 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21891 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21893 2013-04-11 Andreas Schwab <schwab@suse.de>
21896 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21897 accept exponent character only when digits were seen.
21898 * stdio-common/Makefile (tests): Add bug26.
21899 * stdio-common/bug26.c: New file.
21902 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21905 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21907 * Makeconfig (rtld-prefix): Define built linker prefix.
21908 * Rules (run-bench): Use it.
21909 * math/Makefile (run-regen-ulps): Likewise.
21911 * Rules (bench): Remove eval.
21913 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21914 Roland McGrath <roland@hack.frob.com>
21915 Ondrej Bilka <neleai@seznam.cz>
21918 * time/getdate.c: Include ctype.h and alloca.h.
21919 (__getdate_r): Trim leading and trailing spaces of input.
21920 * time/tst-getdate.c (tests): Add tests with leading and
21923 2013-04-08 Roland McGrath <roland@hack.frob.com>
21926 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21927 when computing value.
21929 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21931 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21932 Use testrun.sh to run libm tests.
21935 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21937 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21940 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21942 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21944 * Makefile.in (regen-ulps): New target.
21945 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21946 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21947 [ifneq (no,$(PERL)] (regen-ulps): New target.
21948 [ifeq (no,$(PERL)] (regen-ulps): New target.
21949 * math/libm-test.inc (ulps_file_name): Define.
21950 (output_dir): New variable.
21951 (options): Add "output-dir" option.
21952 (parse_opt): Handle 'o' case.
21953 (main): If output_dir is non-NULL use it as a prefix
21955 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21957 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21959 [BZ #10060, #10062]
21960 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21961 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21962 fail configure if __sync_val_compare_and_swap is not inlined.
21963 * sysdeps/i386/configure: Regenerate.
21964 * configure.in: Build for i686 when configured for i386.
21965 * configure: Regenerate.
21966 * README: Remove i386 reference.
21968 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21970 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21973 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21975 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21976 (lmsnanval): New variables.
21977 (F): Add conversion tests.
21978 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21979 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21981 * stdio-common/tstdiomisc.c (F): Properly collect individual
21984 [BZ #14686, #15336]
21985 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21986 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21987 Instead, use input NaN values or generate a qNaN by arithmetic
21988 operation. Also fix bugs to comply with the standard.
21989 * math/libm-test.inc (remainder_test): Add more tests.
21991 [BZ #15335, #15342]
21992 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21994 input NaN values or generate a qNaN by arithmetic operation.
21996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21999 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22002 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22005 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22006 underflowed result.
22007 * math/s_cexpf.c (__cexpf): Likewise.
22008 * math/s_cexpl.c (__cexpl): Likewise.
22009 * math/libm-test.inc (cexp_test): Add more tests.
22011 2013-04-03 Andreas Schwab <schwab@suse.de>
22014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22015 order arrays from heap if bigger than alloca cutoff.
22017 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22019 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22020 (SNAN_TESTS_double): Refer to GCC PR56831.
22021 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22024 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22026 * Rules (bench): Move bench.out after the run is complete.
22028 * Rules (bench): Echo currently running benchmark.
22030 * benchtests/Makefile (bench): Add atan and slowatan.
22031 * benchtests/atan-inputs: New file.
22032 * benchtests/slowatan-inputs: New file.
22033 * benchtests/slowatan.c: New file.
22035 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22040 * sysdeps/unix/sysv/linux/kernel-features.h
22041 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22042 __ASSUME_XFS_RESTRICTED_CHOWN.
22043 * sysdeps/unix/sysv/linux/pathconf.c
22044 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22045 Save and restore errno.
22047 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22050 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22051 arguments using __kernel_casinh.
22052 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22053 arguments using __kernel_casinhf.
22054 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22055 arguments using __kernel_casinhl.
22056 * math/libm-test.inc (cacosh_test): Add more tests.
22057 * sysdeps/i386/fpu/libm-test-ulps: Update.
22058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22062 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22065 * bench/Makefile (bench): Add sin and slowsin.
22066 * benchtests/sin-inputs: New file.
22067 * benchtests/slowsin-inputs: New file.
22068 * benchtests/slowsin.c: New file.
22070 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22071 (bench): Add slowexp and slowpow.
22072 (exp-ITER): Increase iterations.
22073 (pow-ITER): Likewise.
22074 * benchtests/exp-inputs: Change input.
22075 * benchtests/pow-inputs: Likewise.
22076 * benchtests/slowexp-inputs: New file.
22077 * benchtests/slowexp.c: New file.
22078 * benchtests/slowpow-inputs: New file.
22079 * benchtests/slowpow.c: New file.
22081 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22083 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22085 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22086 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22087 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22088 * benchtests/Makefile: Add rint benchtest.
22089 * benchtests/rint-inputs: Input for rint benchtest.
22091 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22093 * Versions.def (libm): Add GLIBC_2.18.
22094 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22095 hidden libm prototypes.
22096 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22097 * math/Makefile (libm-calls): Add s_issignaling.
22098 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22099 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22100 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22102 * math/math.h [__USE_GNU] (issignaling): New macro.
22103 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22104 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22106 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22109 * manual/arith.texi (issignaling): New section.
22110 * manual/libm-err-tab.pl (@all_functions): Update comment.
22111 * math/gen-libm-test.pl (parse_args): Apply special handling for
22113 * math/libm-test.inc (print_float, issignaling_test): New
22115 (check_float_internal): Add issignaling checks.
22116 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22117 default definition.
22118 * sysdeps/powerpc/math-tests.h: New file.
22119 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22121 * math/test-snan.c (TEST_FUNC): Likewise.
22123 2013-03-30 David S. Miller <davem@davemloft.net>
22125 * po/de.po: Update from translation team.
22127 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22130 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22131 imaginary part less than 1.0 and real part less than 0.5
22133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22135 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22136 (cacos_test): Add more tests.
22137 (casin_test): Likewise.
22138 (casinh_test): Likewise.
22139 * sysdeps/i386/fpu/libm-test-ulps: Update.
22140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22142 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22144 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22145 ONE with its value.
22147 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22148 (__pow_mp): Replace ONE and MONE with their values.
22149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22150 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22152 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22154 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22156 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22158 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22159 (__pow_mp): Replace ZERO and MZERO with their values.
22160 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22162 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22164 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22165 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22168 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22170 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22172 2013-03-28 Roland McGrath <roland@hack.frob.com>
22174 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22175 Declare with __attribute__ ((weak)).
22176 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22177 Call __call_tls_dtors only if it's not NULL.
22179 2013-03-28 Roland McGrath <roland@hack.frob.com>
22181 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22182 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22183 magic __ehdr_start linker symbol if it's defined.
22184 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22185 them up here if it was already done.
22187 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22188 (_dl_aux_init): Use const in cast when setting it.
22189 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22190 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22191 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22193 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22195 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22196 * csu/libc-tls.c: Nor here.
22197 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22199 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22200 (__libc_message): Never call vsyslog.
22202 2013-03-28 Alan Modra <amodra@gmail.com>
22204 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22206 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22209 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22216 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22219 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22220 Don't add gid passed as argument.
22222 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22224 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22227 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22228 imaginary part between 1.0 and 1.5 and real part less than 0.5
22230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22232 * math/libm-test.inc (cacos_test): Add more tests.
22233 (casin_test): Likewise.
22234 (casinh_test): Likewise.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22238 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22240 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22243 (denorm): Likewise.
22244 (__dbl_mp): Likewise.
22245 (add_magnitudes): Likewise.
22246 (sub_magnitudes): Likewise.
22254 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22256 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22257 (__dubcos): Likewise.
22258 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22259 (__ieee754_acos): Likewise.
22260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22261 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22262 (__exp1): Likewise.
22263 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22266 (my_log2): Likewise.
22267 (checkint): Likewise.
22268 * sysdeps/ieee754/dbl-64/e_remainder.c
22269 (__ieee754_remainder): Likewise.
22270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22272 (bsloww): Likewise.
22273 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22275 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22276 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22277 MANTISSA_STORE_T to store computations on mantissa. Use
22278 macros for rounding and division.
22279 (denorm): Likewise.
22280 (__dbl_mp): Likewise.
22281 (add_magnitudes): Likewise.
22282 (sub_magnitudes): Likewise.
22285 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22286 powers of two in terms of TWOPOW macro.
22287 (mp_no): Make type of mantissa as MANTISSA_T.
22288 [!RADIXI]: Define RADIXI.
22289 [!TWO52]: Define TWO52.
22290 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22292 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22294 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22295 llroundl symbol when building for PPC32.
22297 2013-03-24 Mark H Weaver <mhw@netris.org>
22299 * manual/arith.texi (Normalization Functions): Fix prototypes for
22300 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22302 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22306 high value to check if expl overflow.
22307 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22308 to check for underflow and overflow.
22309 * math/libm-test.inc: Add exp test.
22311 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22314 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22317 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22319 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22322 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22324 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22325 wrap blocks consisting of several statements.
22327 * sysdeps/generic/math-tests.h: New file.
22328 * sysdeps/i386/fpu/math-tests.h: Likewise.
22329 * math/test-snan.c: Include it.
22330 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22332 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22336 (__ieee754_j0l): Do not improve calculations using cos of twice
22337 input for inputs above LDBL_MAX / 2.0L.
22338 (__ieee754_y0l): Likewise.
22339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22340 (__ieee754_j1l): Do not improve calculations using cos of twice
22341 input for inputs above LDBL_MAX / 2.0L.
22342 (__ieee754_y1l): Likewise.
22343 * math/libm-test.inc (j0_test): Add another test.
22344 (j1_test): Likewise.
22345 (y0_test): Likewise.
22346 (y1_test): Likewise.
22347 * sysdeps/i386/fpu/libm-test-ulps: Update.
22349 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22351 * Rules ($(objpfx)bench-%.c): Include code from a C source
22354 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22357 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22358 imaginary part 1.0 and real part less than 0.5 specially.
22359 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22360 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22361 * math/libm-test.inc (cacos_test): Add more tests.
22362 (casin_test): Likewise.
22363 (casinh_test): Likewise.
22364 * sysdeps/i386/fpu/libm-test-ulps: Update.
22365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22367 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22370 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22372 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22374 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22375 * config.make.in (config-cflags-sse4): Remove variable.
22376 (config-cflags-avx): Likewise.
22377 (config-cflags-sse2avx): Likewise.
22378 (config-cflags-novzeroupper): Likewise.
22379 (config-asflags-i686): Likewise.
22380 (have-mfma4): Likewise.
22381 (have-as-vis3): Likewise.
22383 * configure.in (MIG): Do not AC_SUBST.
22384 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22385 (libc_cv_cc_sse4): Do not AC_SUBST.
22386 (libc_cv_cc_avx): Likewise.
22387 (libc_cv_cc_sse2avx): Likewise.
22388 (libc_cv_cc_novzeroupper): Likewise.
22389 (libc_cv_cc_fma4): Likewise.
22390 (libc_cv_as_i686): Likewise.
22391 (libc_cv_sparc_as_vis3): Likewise.
22392 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22394 (config-asflags-i686): Likewise.
22395 (config-cflags-avx): Likewise.
22396 (config-cflags-sse2avx): Likewise.
22397 (have-mfma4): Likewise.
22398 (config-cflags-novzeroupper): Likewise.
22399 * sysdeps/mach/configure.in (MIG): Likewise.
22400 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22401 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22403 (config-cflags-avx): Likewise.
22404 (config-cflags-sse2avx): Likewise.
22405 (have-mfma4): Likewise.
22406 (config-cflags-novzeroupper): Likewise.
22407 * configure: Regenerated.
22408 * sysdeps/i386/configure: Likewise.
22409 * sysdeps/mach/configure: Likewise.
22410 * sysdeps/sparc/configure: Likewise.
22411 * sysdeps/x86_64/configure: Likewise.
22413 2013-03-20 Roland McGrath <roland@hack.frob.com>
22416 * locale/programs/localedef.c (options): Put N_ translation marker
22417 on argument names, not just descriptions.
22419 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22421 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22423 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22426 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22428 2013-03-19 Roland McGrath <roland@hack.frob.com>
22430 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22431 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22432 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22433 [!BEFORE_ABORT] (before_abort): New function.
22434 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22435 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22436 (writev_for_fatal): New function.
22437 (WRITEV_FOR_FATAL): New macro; call that.
22438 (backtrace_and_maps): New function.
22439 (BEFORE_ABORT): New macro; call that.
22440 (struct str_list): Type removed.
22441 (__libc_message, __libc_fatal): Functions removed.
22442 Include <sysdeps/posix/libc_fatal.c> instead.
22444 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22446 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22448 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22451 2013-03-19 Andreas Schwab <schwab@suse.de>
22453 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22454 * sysdeps/gnu/configure: Regenerate.
22456 * configure.in: Substitute libc_cv_rtlddir.
22457 * configure: Regenerate.
22458 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22459 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22460 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22461 * elf/Makefile (install-others, CFLAGS-interp.c)
22462 (ldso_install, common-ldd-rewrite): Likewise.
22463 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22464 $(inst_slibdir)/$(rtld-installed-name).
22465 * scripts/rellns-sh: Add -p option.
22466 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22469 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22471 * manual/nptl.texi: Renamed to ...
22472 * manual/threads.texi: ... this.
22473 * manual/Makefile (chapters): Update.
22475 2013-03-18 Roland McGrath <roland@hack.frob.com>
22478 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22479 on argument names, not just descriptions.
22480 * malloc/memusagestat.c (options): Likewise.
22481 * nss/getent.c (options): Likewise.
22483 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22486 * iconv/iconv_prog.c (options): Put N_ translation marker
22487 on argument names, not just descriptions.
22488 * iconv/iconvconfig.c (options): Likewise.
22490 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22492 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22493 implementation which is faster on all x86_64 architectures.
22494 Tested on AMD, Intel Nehalem, SNB, IVB.
22495 * sysdeps/x86_64/strnlen.S: Likewise.
22497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22498 Remove all multiarch strlen and strnlen versions.
22499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22500 Remove strlen and strnlen related parts.
22502 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22503 Inline strlen part.
22504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22506 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22507 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22508 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22509 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22510 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22511 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22513 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22515 * manual/memory.texi (Malloc Tunable Parameters):
22516 Sort parameters alphabetically. Add comments for missing entries.
22518 2013-03-17 David S. Miller <davem@davemloft.net>
22520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22522 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22526 for arguments at most half maximum finite value.
22527 * math/libm-test.inc (j0_test): Add more tests.
22528 (j1_test): Likewise.
22529 (y0_test): Likewise.
22530 (y1_test): Likewise.
22531 * sysdeps/i386/fpu/libm-test-ulps: Update.
22532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22535 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22536 1 / x and functions P and Q for arguments above 0x1p256L.
22537 (__ieee754_y0l): Likewise.
22538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22539 (__ieee754_y1l): Likewise.
22540 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22541 (j1_test): Likewise.
22542 (y0_test): Likewise.
22543 (y1_test): Likewise.
22545 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22547 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22550 2013-03-15 Roland McGrath <roland@hack.frob.com>
22552 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22553 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22554 zero since it's initialized to EXEC_PAGESIZE.
22556 * sysdeps/unix/sysv/linux/ldsodefs.h
22557 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22558 * sysdeps/generic/ldsodefs.h: ... here.
22560 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22562 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22564 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22566 * math/test-snan.c: Renamed from
22567 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22568 * math/Makefile (tests): Add test-snan.
22569 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22572 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22573 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22575 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22576 __builtin_nan family of functions.
22577 * math/libm-test.inc (initialize): Initialize qnan_value with
22578 __builtin_nan family of functions.
22579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22581 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22583 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22584 storage class. Initialize qNaN_var and sNaN_var with
22585 __builtin_nan and __builtin_nans families of functions,
22588 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22589 (sqrt_test): Remove duplicate test with qNaN input.
22590 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22591 (round_test, signbit_test, significand_test): Note missing +/-Inf
22592 as well as qNaN tests.
22594 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22595 qNaN_var. Fix a few strings, too.
22596 * math/libm-test.inc (nan_value): Rename to qnan_value.
22597 * math/gen-libm-test.pl (%beautify): Adjust to that.
22598 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22599 * math/test-misc.c (main): Likewise.
22600 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22601 to __qnan_bytes, and __qnan_union, respectively.
22602 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22604 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22605 and lqnanval, respectively.
22606 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22607 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22608 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22609 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22611 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22612 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22615 * math/test-misc.c (main): Fix copy'n'pastos.
22616 * misc/tst-efgcvt.c (special): Likewise.
22618 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22619 Remove declarations.
22621 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22623 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22624 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22625 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22626 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22628 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22631 macro to return vdso values correctly in IFUNC implementations.
22632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22633 Optimization by using IFUNC.
22635 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22636 Richard Henderson <rth@redhat.com>
22637 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22639 * Makefile.in (bench): New target.
22640 * NEWS: Mention the benchmark framework.
22641 * Rules (bench): Likewise.
22642 (binaries-bench): Generate binaries for functions to
22644 * benchtests/Makefile: New makefile for benchmark tests.
22645 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22647 * benchtests/exp-inputs: New input file for EXP function.
22648 * benchtests/pow-inputs: New input file for POW function.
22649 * scripts/bench.pl: New script to generate source files for
22650 benchmark programs.
22652 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22654 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22655 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22656 computations on mantissa. Use macros for rounding and
22658 (denorm): Likewise.
22659 (__dbl_mp): Likewise.
22660 (add_magnitudes): Likewise.
22661 (sub_magnitudes): Likewise.
22664 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22665 powers of two in terms of TWOPOW macro.
22666 (mp_no): Make type of mantissa as MANTISSA_T.
22667 [!RADIXI]: Define RADIXI.
22668 [!TWO52]: Define TWO52.
22669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22671 * manual/nptl.texi (cindex): Modify threads to pthreads.
22673 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22675 * sysdeps/x86_64/preconfigure: Regenerated.
22677 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22680 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22682 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22683 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22685 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22686 * math/libm-test.inc (j0_test): Do not allow one spurious
22687 underflow exception.
22688 (y1_test): Likewise.
22690 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22692 * manual/Makefile (chapters): Add nptl.
22693 * manual/debug.texi (Debugging Support): Add link to Threads
22695 * manual/nptl.texi: New file.
22697 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22699 2013-03-14 Petr Baudis <pasky@ucw.cz>
22701 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22702 for non-NULL pointer before the memory validity test. Pointed
22703 out by Holger Brunck <holger.brunck@keymile.com>.
22705 2013-03-13 Andreas Schwab <schwab@suse.de>
22707 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22710 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22712 * timezone/zic.c: Update from tzcode 2013b.
22714 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22716 * manual/install.texi (Configuring and compiling):
22717 Mention i686 and i586.
22718 * INSTALL: Regenerate.
22720 2013-03-12 Roland McGrath <roland@hack.frob.com>
22722 * sysdeps/init_array/elf-init.c: New file.
22724 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22725 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22727 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22728 __gmon_start__ as global, but as static with a .preinit_array pointer.
22729 * sysdeps/init_array/gmon-start.c: New file. Use that.
22730 * sysdeps/init_array/crti.S: New file, empty except for comments.
22731 * sysdeps/init_array/crtn.S: Likewise.
22733 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22735 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22738 Remove Prefer_SSE_for_memop.
22739 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22740 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22741 HAS_PREFER_SSE_FOR_MEMOP.
22742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22745 Remove bzero, memset ifunc support.
22746 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22747 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22751 2013-03-11 Andreas Schwab <schwab@suse.de>
22754 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22757 (GLIBC_2.16): Remove pthread_atfork.
22759 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22761 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22762 (ptestcases.h): Likewise.
22764 2013-03-08 Roland McGrath <roland@hack.frob.com>
22766 * Makeconfig ($(common-objpfx)config.status): Depend on
22767 sysdeps/*/preconfigure{,.in} too.
22769 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22771 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22772 (__free_hook): Use void * instead of __malloc_ptr_t.
22773 (__malloc_hook): Likewise.
22774 (__realloc_hook): Likewise.
22775 (__memalign_hook): Likewise.
22776 (__after_morecore_hook): Likewise.
22777 * malloc/arena.c (save_malloc_hook): Likewise.
22778 (save_free_hook): Likewise.
22779 * malloc/hooks.c (malloc_hook_ini): Likewise.
22780 (realloc_hook_ini): Likewise.
22781 (memalign_hook_ini): Likewise.
22782 * malloc/malloc.c (malloc_hook_ini): Likewise.
22783 (realloc_hook_ini): Likewise.
22784 (memalign_hook_ini): Likewise.
22785 (__free_hook): Likewise.
22786 (__malloc_hook): Likewise.
22787 (__realloc_hook): Likewise.
22788 (__memalign_hook): Likewise.
22789 (__libc_malloc): Likewise.
22790 (__libc_free): Likewise.
22791 (__libc_realloc): Likewise.
22792 (__libc_memalign): Likewise.
22793 (__libc_valloc): Likewise.
22794 (__libc_pvalloc): Likewise.
22795 (__libc_calloc): Likewise.
22796 (__posix_memalign): Likewise.
22797 * malloc/morecore.c (__sbrk): Likewise.
22798 (__default_morecore): Likewise.
22800 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22802 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22803 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22804 __malloc_ptrdiff_t.
22806 * malloc/malloc.h (__malloc_size_t): Remove macro.
22807 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22809 (old_memalign_hook): Likewise.
22810 (old_realloc_hook): Likewise.
22811 (struct hdr): Likewise.
22813 (mallochook): Likewise.
22814 (memalignhook): Likewise.
22815 (reallochook): Likewise.
22816 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22817 (tr_old_realloc_hook): Likewise.
22818 (tr_old_memalign_hook): Likewise.
22819 (tr_mallochook): Likewise.
22820 (tr_reallochook): Likewise.
22821 (tr_memalignhook): Likewise.
22823 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22826 default_ldbl_pack and using as default implementation.
22827 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22829 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22830 redundant definition.
22831 (ldbl_insert_mantissa): Likewise.
22832 (ldbl_canonicalize): Likewise.
22833 (ldbl_nearbyint): Likewise.
22834 (ldbl_pack): Rename to ldbl_pack_ppc.
22835 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22836 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22837 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22839 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22842 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22843 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22844 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22846 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22847 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22848 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22850 2013-03-07 Andreas Jaeger <aj@suse.de>
22852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22855 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22857 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22858 Include mpa.h and declare __MPEXP.
22859 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22861 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22862 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22864 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22865 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22867 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22868 (__slowpow): Use long double EXPL and LOGL functions to
22870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22871 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22874 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22878 intermediate variable to calculate exponent.
22880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22884 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22885 [!NO__SQR]: Define __sqr.
22886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22887 and NO__SQR. Remove all code except __mul and __sqr. Include
22888 sysdeps/ieee754/dbl-64/mpa.c.
22889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22892 * posix/Makefile (tests): Add tst-pathconf.
22893 * posix/tst-pathconf.c: New test case.
22894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22896 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22898 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22900 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22902 2013-03-06 Andreas Jaeger <aj@suse.de>
22904 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22905 definition via __MAP_ANONYMOUS.
22907 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22908 it's not part of Linux headers.
22910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22911 (MAP_HUGE_MASK): Define.
22913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22919 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22926 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22927 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22929 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22930 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22931 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22937 Handle f2fs and efivarfs.
22939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22942 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22943 (EFIVARFS_MAGIC): Add.
22944 (F2FS_LINK_MAX): Add.
22946 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22948 * stdio-common/vfprintf.c: Replace __builtin_expect with
22951 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22954 * sysdeps/generic/bp-sym.h: Remove file.
22955 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22956 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22957 <bp-sym.h> and <bp-asm.h>.
22958 (__longjmp): Don't use BP_SYM.
22959 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22961 (memcpy): Don't use BP_SYM.
22962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22963 <bp-sym.h> and <bp-asm.h>.
22964 (memcpy): Don't use BP_SYM.
22965 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22967 (memcpy): Don't use BP_SYM.
22968 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22970 (memset): Don't use BP_SYM.
22971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22973 (__bzero): Don't use BP_SYM.
22974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22976 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22977 <bp-sym.h> and <bp-asm.h>.
22978 (memcmp): Don't use BP_SYM. Remove comment about bounded
22980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22981 <bp-sym.h> and <bp-asm.h>.
22982 (memcpy): Don't use BP_SYM.
22983 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22984 <bp-sym.h> and <bp-asm.h>.
22985 (memset): Don't use BP_SYM.
22986 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22987 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22988 (__bzero): Don't use BP_SYM.
22989 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22990 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22991 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22992 <bp-sym.h> and <bp-asm.h>.
22993 (strncmp): Don't use BP_SYM. Remove comment about bounded
22995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22996 <bp-sym.h> and <bp-asm.h>.
22997 (memcpy): Don't use BP_SYM.
22998 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22999 <bp-sym.h> and <bp-asm.h>.
23000 (memset): Don't use BP_SYM.
23001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23003 (__bzero): Don't use BP_SYM.
23004 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23005 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23006 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23007 <bp-sym.h> and <bp-asm.h>.
23008 (__memchr): Don't use BP_SYM.
23009 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (memcmp): Don't use BP_SYM. Remove comment about bounded
23013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23014 <bp-sym.h> and <bp-asm.h>.
23015 (memcpy): Don't use BP_SYM.
23016 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23017 <bp-sym.h> and <bp-asm.h>.
23018 (__mempcpy): Don't use BP_SYM.
23019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23020 <bp-sym.h> and <bp-asm.h>.
23021 (__memrchr): Don't use BP_SYM.
23022 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23023 <bp-sym.h> and <bp-asm.h>.
23024 (memset): Don't use BP_SYM.
23025 (__bzero): Likewise.
23026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23027 <bp-sym.h> and <bp-asm.h>.
23028 (__rawmemchr): Don't use BP_SYM.
23029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23030 <bp-sym.h> and <bp-asm.h>.
23031 (__STRCMP): Don't use BP_SYM.
23032 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23033 <bp-sym.h> and <bp-asm.h>.
23034 (strchr): Don't use BP_SYM.
23035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23036 <bp-sym.h> and <bp-asm.h>.
23037 (__strchrnul): Don't use BP_SYM.
23038 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23039 <bp-sym.h> and <bp-asm.h>.
23040 (strlen): Don't use BP_SYM.
23041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23042 <bp-sym.h> and <bp-asm.h>.
23043 (strncmp): Don't use BP_SYM. Remove comment about bounded
23045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23046 <bp-sym.h> and <bp-asm.h>.
23047 (__strnlen): Don't use BP_SYM.
23048 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23049 <bp-sym.h> and <bp-asm.h>.
23050 (__GI__setjmp): Don't use BP_SYM.
23051 (_setjmp): Likewise.
23052 (__sigsetjmp): Likewise.
23053 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23054 (L(start_addresses)): Don't use BP_SYM.
23055 (_start): Likewise.
23056 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23058 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23059 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23060 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23061 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23062 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23064 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23065 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23066 about bounded pointers.
23067 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23068 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23069 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23071 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23072 about bounded pointers. Remove GKM FIXME comments.
23073 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23074 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23076 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23077 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23078 Remove GKM FIXME comments.
23079 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23080 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23081 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23083 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23084 about bounded pointers. Remove GKM FIXME comment.
23085 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23087 (strncmp): Don't use BP_SYM. Remove comment about bounded
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23090 <bp-sym.h> and <bp-asm.h>.
23091 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23093 <bp-sym.h> and <bp-asm.h>.
23094 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23097 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23099 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23102 2013-03-05 David S. Miller <davem@davemloft.net>
23104 * po/es.po: Update from translation team.
23106 2013-03-05 Andreas Jaeger <aj@suse.de>
23108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23109 <bits/mman-linux.h>.
23110 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23112 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23113 <bits/mman-linux.h> to end of file.
23114 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23117 <bits/mman-linux.h> to end of file.
23118 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23121 <bits/mman-linux.h> to end of file.
23123 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23124 (MCL_CURRENT, MCL_FUTURE): Define here.
23126 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23133 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23136 fourth parameter needed for rt_sigprocmask syscall.
23137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23138 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23140 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23144 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23147 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23148 comment about bounded pointers.
23149 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23150 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23152 2013-03-04 Andreas Jaeger <aj@suse.de>
23154 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23155 common definitions.
23157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23158 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23164 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23168 __ieee754_sqrl instead of __sqrl.
23170 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23172 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23173 * sysdeps/powerpc/fpu_control.h: ... here.
23174 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23175 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23176 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23177 * sysdeps/powerpc/bits/mathinline.h: ... here.
23179 2013-03-01 Roland McGrath <roland@hack.frob.com>
23181 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23182 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23183 to just [NEED_DL_SYSINFO_DSO].
23184 * elf/dl-support.c: Likewise.
23185 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23186 * elf/rtld.c (dl_main): Likewise.
23187 * elf/setup-vdso.h (setup_vdso): Likewise.
23188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23189 * sysdeps/unix/sysv/linux/dl-sysdep.c
23190 (_dl_discover_osversion): Likewise.
23192 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23194 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23195 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23197 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23199 * NEWS: Mention libm performance improvements and non-x86 PI
23202 * csu/libc-start.c (__pthread_initialize_minimal): Change
23203 function arguments.
23204 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23206 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23209 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23210 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23211 <bp-sym.h> and <bp-asm.h>.
23212 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23213 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23215 (memcpy): Don't use BP_SYM.
23216 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23218 (__mpn_add_n): Don't use BP_SYM.
23219 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23220 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23222 (__mpn_addmul_1): Don't use BP_SYM.
23223 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23224 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23226 (_setjmp): Don't use BP_SYM.
23227 (__novmx_setjmp): Likewise.
23228 (__GI__setjmp): Likewise.
23229 (__vmx_setjmp): Likewise.
23230 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23232 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23233 (__bzero): Don't use BP_SYM.
23234 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23235 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23236 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23237 <bp-sym.h> and <bp-asm.h>.
23238 (memcpy): Don't use BP_SYM.
23239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23240 <bp-sym.h> and <bp-asm.h>.
23241 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23242 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23243 <bp-sym.h> and <bp-asm.h>.
23244 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23245 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23247 (__mpn_lshift): Don't use BP_SYM.
23248 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23249 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23251 (memset): Don't use BP_SYM.
23252 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23253 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23254 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23256 (__mpn_mul_1): Don't use BP_SYM.
23257 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23259 <bp-sym.h> and <bp-asm.h>.
23260 (memcmp): Don't use BP_SYM.
23261 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23262 <bp-sym.h> and <bp-asm.h>.
23263 (memcpy): Don't use BP_SYM.
23264 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23265 <bp-sym.h> and <bp-asm.h>.
23266 (memset): Don't use BP_SYM.
23267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23268 <bp-sym.h> and <bp-asm.h>.
23269 (strncmp): Don't use BP_SYM.
23270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23271 <bp-sym.h> and <bp-asm.h>.
23272 (memcpy): Don't use BP_SYM.
23273 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23274 <bp-sym.h> and <bp-asm.h>.
23275 (memset): Don't use BP_SYM.
23276 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23277 <bp-sym.h> and <bp-asm.h>.
23278 (__memchr): Don't use BP_SYM.
23279 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23280 <bp-sym.h> and <bp-asm.h>.
23281 (memcmp): Don't use BP_SYM.
23282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23283 <bp-sym.h> and <bp-asm.h>.
23284 (memcpy): Don't use BP_SYM.
23285 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23286 <bp-sym.h> and <bp-asm.h>.
23287 (__mempcpy): Don't use BP_SYM.
23288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23289 <bp-sym.h> and <bp-asm.h>.
23290 (__memrchr): Don't use BP_SYM.
23291 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23292 <bp-sym.h> and <bp-asm.h>.
23293 (memset): Don't use BP_SYM.
23294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23295 <bp-sym.h> and <bp-asm.h>.
23296 (__rawmemchr): Don't use BP_SYM.
23297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23298 <bp-sym.h> and <bp-asm.h>.
23299 (__STRCMP): Don't use BP_SYM.
23300 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23301 <bp-sym.h> and <bp-asm.h>.
23302 (strchr): Don't use BP_SYM.
23303 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23304 <bp-sym.h> and <bp-asm.h>.
23305 (__strchrnul): Don't use BP_SYM.
23306 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23307 <bp-sym.h> and <bp-asm.h>.
23308 (strlen): Don't use BP_SYM.
23309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23310 <bp-sym.h> and <bp-asm.h>.
23311 (strncmp): Don't use BP_SYM.
23312 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23313 <bp-sym.h> and <bp-asm.h>.
23314 (__strnlen): Don't use BP_SYM.
23315 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23317 (__mpn_rshift): Don't use BP_SYM.
23318 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23320 <bp-sym.h> and <bp-asm.h>.
23321 (__sigsetjmp): Don't use BP_SYM.
23322 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23323 (L(start_addresses)): Don't use BP_SYM.
23324 (_start): Likewise.
23325 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23327 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23328 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23329 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23330 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23332 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23333 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23334 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23335 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23337 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23339 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23340 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23342 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23344 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23345 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23346 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23348 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23350 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23352 (strncmp): Don't use BP_SYM,
23353 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23355 (__mpn_sub_n): Don't use BP_SYM.
23356 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23357 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23359 (__mpn_submul_1): Don't use BP_SYM.
23360 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23362 <bp-sym.h> and <bp-asm.h>.
23363 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23365 <bp-sym.h> and <bp-asm.h>.
23366 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23369 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23372 Use ZK to minimize writes to Z.
23373 (sub_magnitudes): Simplify code a bit.
23374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23375 Use ZK to minimize writes to Z.
23376 (sub_magnitudes): Simplify code a bit.
23378 2013-02-27 Roland McGrath <roland@hack.frob.com>
23380 * csu/gmon-start.c: Add special exception to license text.
23382 2013-02-27 Richard Henderson <rth@redhat.com>
23384 * scripts/config.guess: Update from config.git.
23385 * scripts/config.sub: Likewise.
23387 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23391 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23393 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23395 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23397 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23399 2013-02-26 Roland McGrath <roland@hack.frob.com>
23401 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23402 [$(build-shared = yes].
23404 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23406 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23407 (__mul): Reduce iterations for calculating mantissa.
23409 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23411 (__mpranred): Likewise.
23414 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23415 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23417 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23419 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23420 Define __attribute__.
23422 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23424 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23426 * posix/regex_internal.h (__attribute): Remove.
23427 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23428 (re_string_context_at): Likewise.
23429 (bitset_not): Use __attribute__ and mark function as possibly
23431 (bitset_merge): Likewise.
23432 (bitset_mask): Likewise.
23433 (re_string_char_size_at): Likewise.
23434 (re_string_wchar_at): Likewise.
23435 (re_string_elem_size_at): Likewise.
23437 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23439 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23443 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23447 (denorm): Likewise.
23448 (__dbl_mp): Likewise.
23449 (add_magnitudes): Likewise.
23450 (sub_magnitudes): Likewise.
23454 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23457 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23460 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23464 up changes with default code.
23465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23468 2013-02-24 Allan McRae <allan@archlinux.org>
23470 * manual/socket.texi (The Internet Namespace): Order menu items
23471 to match that in the file.
23473 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23474 node listing of the info page menu.
23476 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23479 * sysdeps/i386/bp-asm.h: Remove file.
23480 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23481 (PARMS): Do not use macros from bp-asm.h.
23485 (__mpn_add_n): Do not use BP_SYM
23486 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23488 (PARMS): Do not use macros from bp-asm.h.
23491 (__mpn_addmul_1): Do not use BP_SYM
23492 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23494 (PARMS): Do not use macros from bp-asm.h.
23495 (SIGMSK): Likewise.
23496 (_setjmp): Likewise. Do not use BP_SYM.
23497 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23499 (PARMS): Do not use macros from bp-asm.h.
23500 (SIGMSK): Likewise.
23501 (setjmp): Likewise. Do not use BP_SYM.
23502 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23504 (PARMS): Do not use macros from bp-asm.h.
23505 (__frexp): Do not use BP_SYM.
23507 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23509 (PARMS): Do not use macros from bp-asm.h.
23510 (__frexpf): Do not use BP_SYM.
23511 (frexpf): Likewise.
23512 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23514 (PARMS): Do not use macros from bp-asm.h.
23515 (__frexpl): Do not use BP_SYM.
23516 (frexpl): Likewise.
23517 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23519 (PARMS): Do not use macros from bp-asm.h.
23520 (__remquo): Do not use BP_SYM.
23521 (remquo): Likewise.
23522 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23524 (PARMS): Do not use macros from bp-asm.h.
23525 (__remquof): Do not use BP_SYM.
23526 (remquof): Likewise.
23527 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23529 (PARMS): Do not use macros from bp-asm.h.
23530 (__remquol): Do not use BP_SYM.
23531 (remquol): Likewise.
23532 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23534 (PARMS): Do not use macros from bp-asm.h.
23537 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23538 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23540 (PARMS): Do not use macros from bp-asm.h.
23541 (strlen): Do not use BP_SYM.
23542 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23544 (PARMS): Do not use macros from bp-asm.h.
23548 (__mpn_add_n): Do not use BP_SYM.
23549 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23551 (PARMS): Do not use macros from bp-asm.h.
23554 (__mpn_addmul_1): Do not use BP_SYM.
23555 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23558 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23560 (PARMS): Do not use macros from bp-asm.h.
23563 (__mpn_lshift): Do not use BP_SYM.
23564 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23566 (PARMS): Do not use macros from bp-asm.h.
23570 (memcpy): Likewise. Do not use BP_SYM.
23571 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23572 libc_hidden_def and weak_alias.
23573 (mempcpy): Do not use BP_SYM in weak_alias.
23574 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23576 (PARMS): Do not use macros from bp-asm.h.
23579 [!BZERO_P] (CHR): Likewise.
23580 (memset): Likewise. Do not use BP_SYM.
23581 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23583 (PARMS): Do not use macros from bp-asm.h.
23586 (__mpn_mul_1): Do not use BP_SYM.
23587 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23589 (PARMS): Do not use macros from bp-asm.h.
23592 (__mpn_rshift): Do not use BP_SYM.
23593 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23595 (PARMS): Do not use macros from bp-asm.h.
23598 (strchr): Likewise. Do not use BP_SYM.
23599 (index): Do not use BP_SYM in weak_alias.
23600 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23602 (PARMS): Do not use macros from bp-asm.h.
23605 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23606 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23608 (PARMS): Do not use macros from bp-asm.h.
23609 (strlen): Do not use BP_SYM.
23610 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23612 (PARMS): Do not use macros from bp-asm.h.
23616 (__mpn_sub_n): Do not use BP_SYM.
23617 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23619 (PARMS): Do not use macros from bp-asm.h.
23622 (__mpn_submul_1): Do not use BP_SYM.
23623 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23625 (PARMS): Do not use macros from bp-asm.h.
23629 (__mpn_add_n): Do not use BP_SYM.
23630 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23633 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23635 (PARMS): Do not use macros from bp-asm.h.
23638 (memcmp): Do not use BP_SYM.
23639 (bcmp): Do not use BP_SYM in weak_alias.
23640 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23642 (PARMS): Do not use macros from bp-asm.h.
23646 (memcpy): Likewise. Do not use BP_SYM.
23647 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23649 (PARMS): Do not use macros from bp-asm.h.
23653 (memmove): Likewise. Do not use BP_SYM.
23654 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23656 (PARMS): Do not use macros from bp-asm.h.
23660 (__mempcpy): Likewise. Do not use BP_SYM.
23661 (mempcpy): Do not use BP_SYM in weak_alias.
23662 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23664 (PARMS): Do not use macros from bp-asm.h.
23667 [!BZERO_P] (CHR): Likewise.
23668 (memset): Likewise. Do not use BP_SYM.
23669 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23671 (PARMS): Do not use macros from bp-asm.h.
23673 (strcmp): Do not use BP_SYM.
23674 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23676 (PARMS): Do not use macros from bp-asm.h.
23679 [USE_AS_STRTOK_R] (SAVE): Likewise.
23680 (FUNCTION): Likewise. Do not use BP_SYM.
23681 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23683 (strtok_r): Likewise.
23684 (__GI___strtok_r): Likewise.
23685 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23686 (PARMS): Do not use macros from bp-asm.h.
23689 (__mpn_lshift): Do not use BP_SYM.
23690 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23691 (PARMS): Do not use macros from bp-asm.h.
23694 (__memchr): Do not use BP_SYM.
23695 (memchr): Do not use BP_SYM in weak_alias.
23696 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23697 (PARMS): Do not use macros from bp-asm.h.
23700 (memcmp): Do not use BP_SYM.
23701 (bcmp): Do not use BP_SYM in weak_alias.
23702 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23703 (PARMS): Do not use macros from bp-asm.h.
23706 (__mpn_mul_1): Do not use BP_SYM.
23707 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23709 (PARMS): Do not use macros from bp-asm.h.
23712 (__rawmemchr): Do not use BP_SYM.
23713 (rawmemchr): Do not use BP_SYM in weak_alias.
23714 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23715 (PARMS): Do not use macros from bp-asm.h.
23718 (__mpn_rshift): Do not use BP_SYM.
23719 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23720 (PARMS): Do not use macros from bp-asm.h.
23721 (SIGMSK): Likewise.
23722 (__sigsetjmp): Likewise. Do not use BP_SYM.
23723 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23724 (_start): Do not use BP_SYM.
23725 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23726 (PARMS): Do not use macros from bp-asm.h.
23729 (__stpcpy): Likewise. Do not use BP_SYM.
23730 (stpcpy): Do not use BP_SYM in weak_alias.
23731 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23733 (PARMS): Do not use macros from bp-asm.h.
23737 (__stpncpy): Likewise. Do not use BP_SYM.
23738 (stpncpy): Do not use BP_SYM in weak_alias.
23739 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23740 (PARMS): Do not use macros from bp-asm.h.
23743 (strchr): Likewise. Do not use BP_SYM.
23744 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23746 (PARMS): Do not use macros from bp-asm.h.
23749 (__strchrnul): Likewise. Do not use BP_SYM.
23750 (strchrnul): Do not use BP_SYM in weak_alias.
23751 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23753 (PARMS): Do not use macros from bp-asm.h.
23755 (strcspn): Do not use BP_SYM.
23756 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23758 (PARMS): Do not use macros from bp-asm.h.
23761 (strpbrk): Likewise. Do not use BP_SYM.
23762 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23764 (PARMS): Do not use macros from bp-asm.h.
23767 (strrchr): Likewise. Do not use BP_SYM.
23768 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23769 (PARMS): Do not use macros from bp-asm.h.
23771 (strspn): Do not use BP_SYM.
23772 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23773 (PARMS): Do not use macros from bp-asm.h.
23777 (FUNCTION): Likewise. Do not use BP_SYM.
23778 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23780 (strtok_r): Likewise.
23781 (__GI___strtok_r): Likewise.
23782 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23787 (__mpn_sub_n): Do not use BP_SYM.
23788 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23790 (PARMS): Do not use macros from bp-asm.h.
23793 (__mpn_submul_1): Do not use BP_SYM.
23794 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23796 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23798 (PARMS): Do not use macros from bp-asm.h.
23803 (__clone): Do not use BP_SYM.
23804 (clone): Do not use BP_SYM in weak_alias.
23805 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23807 (PARMS): Do not use macros from bp-asm.h.
23809 (__mmap64): Do not use BP_SYM.
23810 (mmap64): Do not use BP_SYM in weak_alias.
23811 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23812 <bp-sym.h> and <bp-asm.h>.
23813 (PARMS): Do not use macros from bp-asm.h.
23814 (__posix_fadvise64_l64): Do not use BP_SYM.
23815 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23816 (PARMS): Do not use macros from bp-asm.h.
23818 (semtimedop): Do not use BP_SYM.
23819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23822 2013-02-21 Allan McRae <allan@archlinux.org>
23824 * manual/message.texi (Charset conversion in gettext):
23825 Move @end statement to beginning of line.
23827 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23835 (denorm): Likewise.
23836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23839 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23841 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23842 tail-call to the resolved function if pltexit isn't needed.
23844 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23847 or Y being zero as being unlikely.
23848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23851 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23853 * manual/nss.texi (System Databases and Name Service Switch):
23854 Remove frobnicate @pxref.
23856 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23858 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23859 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23861 2013-02-20 Petr Machata <pmachata@redhat.com>
23863 * elf/elf.h (R_ARM_TARGET1): New macro.
23864 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23865 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23866 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23867 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23868 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23869 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23870 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23871 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23872 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23873 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23874 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23875 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23876 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23877 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23878 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23879 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23880 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23881 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23882 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23883 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23884 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23885 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23886 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23887 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23888 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23889 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23890 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23891 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23892 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23893 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23894 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23895 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23896 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23897 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23898 (R_ARM_THM_GOT_BREL12): Likewise.
23899 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23900 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23901 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23902 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23903 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23904 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23905 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23906 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23907 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23909 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23911 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23912 __attribute_used__ to __attribute__ ((unused)).
23914 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23916 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23919 comment formatting.
23920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23922 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23925 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23927 (ENTER): Remove both macro definitions.
23929 (CHECK_BOUNDS_LOW): Likewise.
23930 (CHECK_BOUNDS_HIGH): Likewise.
23931 (CHECK_BOUNDS_BOTH): Likewise.
23932 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23933 (RETURN_BOUNDED_POINTER): Likewise.
23934 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23935 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23936 (POP_ERRNO_LOCATION_RETURN): Likewise.
23937 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23938 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23939 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23941 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23942 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23943 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23944 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23945 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23946 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23947 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23948 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23949 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23950 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23951 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23952 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23953 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23954 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23956 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23957 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23960 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23961 * sysdeps/i386/i586/memset.S (memset): Likewise.
23962 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23963 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23964 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23966 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23967 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23968 Change uses of L(2) to L(out).
23969 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23970 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23971 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23972 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23973 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23976 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23978 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23979 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23980 (RETURN): Do not use macro LEAVE.
23981 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23982 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23983 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23984 * sysdeps/i386/i686/memset.S (memset): Likewise.
23985 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23986 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23987 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23988 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23990 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23991 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23992 L(1_2) and L(1_3) into L(1).
23993 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23994 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23995 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23996 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23997 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23998 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23999 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24000 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24001 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24003 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24005 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24006 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24007 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24008 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24009 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24010 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24011 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24012 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24013 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24014 * sysdeps/i386/strspn.S (strspn): Likewise.
24015 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24017 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24018 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24019 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24020 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24021 L(1_3) into L(1_1).
24022 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24024 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24026 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24028 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24030 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24033 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24035 * math/atest-exp.c (exp_mpn): Remove ROUND.
24036 * math/atest-exp2.c (exp_mpn): Likewise.
24037 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24039 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24040 * stdlib/tst-tls-atexit-lib.c: Likewise.
24041 * stdlib/tst-tls-atexit.c: Likewise.
24043 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24045 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24046 and __attribute_alloc_size__.
24048 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24050 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24051 __attribute_alloc_size__.
24052 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24053 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24055 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24057 * include/programs/xmalloc.h: New file.
24058 * catgets/gencat.c: Include it.
24059 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24060 * elf/pldd.c: Likewise.
24061 * iconv/iconv_charmap.c: Likewise.
24062 * iconv/iconvconfig.c: Likewise.
24063 * iconv/strtab.c: Likewise.
24064 * locale/programs/locale.c: Likewise.
24065 * locale/programs/localedef.h: Likewise.
24066 * locale/programs/simple-hash.c: Likewise.
24067 * nscd/nscd.h: Likewise.
24068 * nss/makedb.c: Likewise.
24069 * sysdeps/generic/ldconfig.h: Likewise.
24071 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24073 * Versions.def: Add GLIBC_2.18.
24074 * include/link.h (struct link_map): New member l_tls_dtor_count.
24075 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24076 (__call_tls_dtors): Likewise.
24077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24078 __cxa_thread_atexit_impl.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24095 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24096 (tests): Add test case tst-tls-atexit.
24097 (modules-names): Add shared library for tst-tls-atexit.
24098 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24099 (GLIBC_PRIVATE): Add __call_tls_dtors.
24100 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24102 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24103 * stdlib/tst-tls-atexit.c: New test case.
24104 * stdlib/tst-tls-atexit-lib.c: New test case.
24106 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24108 * elf/Versions (ld): Add _dl_find_dso_for_object.
24109 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24110 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24111 (dl_open_worker): Use _dl_find_dso_for_object.
24112 * elf/dl-sym.c (do_sym): Likewise.
24113 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24115 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24117 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24118 Syntactic changes only.
24119 (_dl_runtime_profile): Do a tail-call to the resolved function.
24121 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24124 * sysdeps/x86_64/bp-asm.h: Remove file.
24125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24126 <bp-sym.h> and <bp-asm.h>.
24127 (__clone): Do not use BP_SYM.
24128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24129 <bp-sym.h> and <bp-asm.h>.
24130 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24131 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24133 (_setjmp): Do not use BP_SYM.
24134 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24136 (setjmp): Do not use BP_SYM.
24137 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24139 (mempcpy): Do not use BP_SYM in weak_alias.
24140 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24142 (strchr): Do not use BP_SYM.
24143 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24145 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24146 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24147 (_start): Do not use BP_SYM.
24148 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24150 (strcat): Do not use BP_SYM.
24151 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24153 (STRCMP): Do not use BP_SYM.
24154 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24156 (STRCPY): Do not use BP_SYM.
24157 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24159 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24161 (FUNCTION): Do not use BP_SYM.
24162 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24164 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24166 2013-02-17 Andreas Jaeger <aj@suse.de>
24168 * time/Versions: Sort entries.
24169 * string/Versions: Likewise.
24170 * resolv/Versions: Likewise.
24171 * posix/Versions: Likewise.
24172 * iconv/Versions: Likewise.
24173 * elf/Versions: Likewise.
24174 * wcsmbs/Versions: Likewise.
24176 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24179 loop termination condition.
24181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24182 variable to calculate EZ.
24185 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24186 the lower precision input.
24188 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24191 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24192 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24193 (run-via-rtld-prefix): Do not handle %-bp tests.
24194 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24195 (all-object-suffixes): Remove .ob.
24196 (bppfx): Remove variable.
24197 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24198 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24199 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24200 [$(build-bounded) = yes] (libtype.ob): Likewise.
24201 * Makerules (elide-routines.ob): Remove variable.
24202 (do-tests-clean): Do not handle *-bp.out.
24203 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24204 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24205 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24206 (tests): Do not include $(tests-bp.out).
24207 (xtests): Do not include $(xtests-bp.out).
24208 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24209 [$(build-bounded) = yes] ($(addprefix
24210 $(objpfx),$(binaries-bounded))): Remove rule.
24211 ($(objpfx)%-bp.out): Remove rule.
24212 * config.make.in (build-bounded): Remove variable.
24213 * crypt/Makefile [$(build-bounded) = yes]
24214 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24215 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24216 append to variable.
24217 [$(build-bounded) = yes] (install-lib): Likewise.
24218 [$(build-bounded) = yes] (generated): Likewise.
24219 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24221 * intl/Makefile [$(build-bounded) = yes]
24222 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24223 * math/Makefile [$(build-bounded) = yes]
24224 ($(tests:%=$(objpfx)%-bp): Likewise.
24225 * misc/Makefile [$(build-bounded) = yes]
24226 ($(objpfx)tst-tsearch-bp): Likewise.
24227 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24228 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24230 * string/Makefile (o-objects.ob): Remove variable.
24231 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24232 (CFLAGS-.ob): Remove variable.
24233 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24234 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24235 both definitions of variable.
24236 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24237 (ASFLAGS-.ob): Remove variable.
24239 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24242 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24243 Remove __BOUNDED_POINTERS__ from condition.
24244 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24245 * string/bits/string2.h [!__NO_STRING_INLINES &&
24246 !__BOUNDED_POINTERS__]: Likewise.
24247 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24249 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24250 Remove conditional code.
24251 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24252 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24253 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24257 * csu/libc-start.c: Do not include <bp-sym.h>.
24258 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24259 * elf/dl-open.c: Do not include <bp-sym.h>.
24260 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24261 * math/fegetenv.c: Do not include <bp-sym.h>.
24262 (fegetenv): Do not use BP_SYM in versioned symbols.
24263 * nptl/sysdeps/pthread/bits/libc-lockP.h
24264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24267 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24269 (__pthread_mutex_destroy): Likewise.
24270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24271 (__pthread_mutex_lock): Likewise.
24272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24273 (__pthread_mutex_trylock): Likewise.
24274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24275 (__pthread_mutex_unlock): Likewise.
24276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24277 (__pthread_mutexattr_init): Likewise.
24278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24279 (__pthread_mutexattr_destroy): Likewise.
24280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24281 (__pthread_mutexattr_settype): Likewise.
24282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24283 (__pthread_rwlock_init): Likewise.
24284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24285 (__pthread_rwlock_destroy): Likewise.
24286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24287 (__pthread_rwlock_rdlock): Likewise.
24288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24289 (__pthread_rwlock_tryrdlock): Likewise.
24290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24291 (__pthread_rwlock_wrlock): Likewise.
24292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24293 (__pthread_rwlock_trywrlock): Likewise.
24294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24295 (__pthread_rwlock_unlock): Likewise.
24296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24297 (__pthread_key_create): Likewise.
24298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24299 (__pthread_setspecific): Likewise.
24300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24301 (__pthread_getspecific): Likewise.
24302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24305 (_pthread_cleanup_push_defer): Likewise.
24306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24307 (_pthread_cleanup_pop_restore): Likewise.
24308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24309 (pthread_setcancelstate): Likewise.
24310 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24312 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24313 (memchr): Do not use BP_SYM in weak_alias.
24314 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24315 (fegetenv): Do not use BP_SYM in versioned symbols.
24316 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24317 (fesetenv): Do not use BP_SYM in versioned symbols.
24318 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24319 (feupdateenv): Do not use BP_SYM in versioned symbols.
24320 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24321 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24322 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24323 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24324 (open64): Do not use BP_SYM in weak_alias.
24325 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24326 (fegetenv): Do not use BP_SYM in versioned symbols.
24327 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24328 (fesetenv): Do not use BP_SYM in versioned symbols.
24329 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24330 (feupdateenv): Do not use BP_SYM in versioned symbols.
24331 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24332 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24333 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24334 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24335 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24336 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24339 (__libc_start_main): Do not use BP_SYM.
24341 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24344 redundant return line.
24346 (denorm): Likewise.
24347 (dbl_mp): Likewise.
24348 (sub_magnitudes): Likewise.
24354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24356 (denorm): Likewise.
24357 (dbl_mp): Likewise.
24358 (sub_magnitudes): Likewise.
24365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24367 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24368 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24371 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24372 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24374 of __mul for squares.
24375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24382 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24385 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24387 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24388 prototype or function definition. Rename ubp_* variables and
24389 parameters. Remove argv definitions conditional on
24390 [__BOUNDED_POINTERS__].
24391 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24392 * elf/dl-runtime.c (_dl_fixup): Likewise.
24393 * include/set-hooks.h (RUN_HOOK): Likewise.
24394 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24396 * string/strcpy.c (strcpy): Do not use __unbounded.
24397 * sysdeps/generic/frame.h (struct layout): Likewise.
24398 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24399 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24400 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24401 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24402 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24403 (__backtrace): Likewise.
24404 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24406 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24408 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24410 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24411 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24412 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24413 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24414 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24415 Do not use __unbounded.
24416 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24417 Rename __unboundedrlimits parameter to rlimits in prototype.
24418 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24419 Do not use __unbounded.
24420 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24421 not use __ptrvalue.
24422 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24423 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24424 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24426 __ptrvalue or __unbounded.
24427 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24428 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24430 (__new_msgctl): Do not use __ptrvalue.
24431 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24433 (__libc_msgrcv): Do not use __ptrvalue.
24434 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24435 startup_info): Do not use __unbounded.
24436 (__libc_start_main): Likewise. Rename ubp_* variables and
24437 parameters. Remove argv definitions conditional on
24438 [__BOUNDED_POINTERS__].
24439 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24441 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24445 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24447 (__new_shmctl): Do not use __ptrvalue.
24448 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24449 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24451 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24453 (__libc_sigaction): Likewise.
24454 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24457 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24459 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24461 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24463 * string/mempcpy.c: Implement by calling memcpy.
24465 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24473 values in the mantissa.
24475 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24476 minimize writes to Z.
24477 (sub_magnitudes): Simplify code a bit.
24479 2013-02-12 Roland McGrath <roland@hack.frob.com>
24481 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24482 from the message. The linker prefixes all warnings with that already.
24484 2013-02-12 Andreas Schwab <schwab@suse.de>
24487 * posix/regexec.c (extend_buffers): Add parameter min_len.
24488 (check_matching): Pass minimum needed length.
24489 (clean_state_log_if_needed): Likewise.
24490 (get_subexp): Likewise.
24491 * posix/Makefile (tests): Add bug-regex34.
24492 (bug-regex34-ENV): Define.
24493 * posix/bug-regex34.c: New file.
24496 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24497 elements compare against the byte sequence of it, not its name.
24498 * posix/Makefile (tests): Add bug-regex35.
24499 (bug-regex35-ENV): Define.
24500 * posix/bug-regex35.c: New file.
24502 2013-02-11 Tom de Vries <tom@codesourcery.com>
24504 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24506 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24507 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24508 (CHECK_EOL): Add undef.
24510 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24512 * bits/stdlib-bsearch.h: New file.
24513 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24514 * stdlib/stdlib.h: Likewise.
24516 2013-02-11 Roland McGrath <roland@hack.frob.com>
24518 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24519 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24521 * manual/search.texi (Array Search Function): Add missing const in
24523 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24524 declaration to use rlim_t.
24525 (Basic Scheduling Functions): Remove erroneous const from
24526 sched_getparam prototype. Remove erroneous * from
24527 sched_get_priority_max and sched_get_priority_min prototypes.
24528 (Resource Usage): Fix summary @comment on vtimes to refer to
24529 sys/vtimes.h rather than vtimes.h.
24530 Add missing *s in vtimes prototype.
24531 (Limits on Resources): Fix ulimit prototype to return long int.
24532 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24533 prototypes to use long int rather than double.
24534 (BSD Random): Fix initstate and setstate to use char *, not void *.
24535 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24536 prototype to make second argument 'struct aiocb64 *const[]'.
24537 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24538 (Status of AIO Operations): Remove erroneous const in aio_return and
24539 aio_return64 prototypes.
24540 (Synchronizing I/O): Fix sync prototype to return void.
24541 * manual/startup.texi (Suboptions): Remove an erroneous const in
24542 getsubopt prototype.
24543 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24544 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24545 use size_t rather than int.
24546 (Scanning All Users): Likewise for getpwent_r.
24547 (Setting Groups): Add missing const to setgroups prototype.
24548 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24549 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24550 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24551 'const void *' rather than 'const char *'.
24552 (Host Address Functions): Likewise for inet_ntop.
24553 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24554 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24555 ssize_t for return value.
24556 (Sending Data): Likewise for send, sendto, sendmsg.
24557 (Socket Option Functions): Add a missing const in setsockopt prototype.
24558 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24559 use wchar_t for the argument.
24560 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24561 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24563 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24564 double/float/long double for second argument.
24565 Fix return types of significand, significandf, significandl.
24566 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24567 argument in fchmod prototype.
24568 (File Owner): Use uid_t and gid_t in fchown prototype.
24569 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24570 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24571 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24572 use 'const struct dirent **' as argument types to CMP function pointer
24574 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24575 (File Times): Fix summary magic @comment for struct utimbuf and utime
24576 to refer to utime.h, not time.h.
24577 * manual/string.texi (Argz Functions): Add missing const in
24578 argz_extract and argz_next prototypes.
24579 (Finding Tokens in a String): Likewise for basename.
24580 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24581 (Copying and Concatenation): Fix typo in wmemmove prototype.
24582 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24583 (Signal Stack): Remove erroneous const in sigstack prototype.
24584 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24586 (Simple Calendar Time): Likewise for stime.
24587 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24589 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24590 say sys/sysctl.h instead.
24591 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24592 and vsyslog prototypes.
24594 2013-02-11 Tom de Vries <tom@codesourcery.com>
24596 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24599 2013-02-11 Roland McGrath <roland@hack.frob.com>
24601 * misc/sys/mman.h: Fix typo in mremap comment.
24603 2013-02-08 Roland McGrath <roland@hack.frob.com>
24605 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24606 the '\0' terminator.
24608 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24611 * debug/segfault.c: Don't include <bp-checks.h>.
24612 * sysdeps/generic/bp-checks.h: Remove file.
24613 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24614 (__GETDENTS): Don't use CHECK_N.
24615 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24617 (__getgroups): Don't use CHECK_N.
24618 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24619 (setgroups): Don't use CHECK_N.
24620 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24621 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24622 (__libc_msgrcv): Don't use CHECK_N.
24623 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24624 (__libc_msgsnd): Don't use CHECK_N.
24625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24627 (__libc_pread): Don't use CHECK_N.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24629 include <bp-checks.h>.
24630 (__libc_pread64): Don't use CHECK_N.
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24632 include <bp-checks.h>.
24633 (__libc_pwrite): Don't use CHECK_N.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24635 include <bp-checks.h>.
24636 (__libc_pwrite64): Don't use CHECK_N.
24637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24639 (__libc_pread): Don't use CHECK_N.
24640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24641 include <bp-checks.h>.
24642 (__libc_pread64): Don't use CHECK_N.
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24644 include <bp-checks.h>.
24645 (__libc_pwrite): Don't use CHECK_N.
24646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24647 include <bp-checks.h>.
24648 (__libc_pwrite64): Don't use CHECK_N.
24649 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24650 (do_pread): Don't use CHECK_N.
24651 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24652 (do_pread64): Don't use CHECK_N.
24653 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24654 (do_pwrite): Don't use CHECK_N.
24655 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24656 (do_pwrite64): Don't use CHECK_N.
24657 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24658 (__libc_readv): Don't use CHECK_N.
24659 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24660 (semop): Don't use CHECK_N.
24661 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24663 (semtimedop): Don't use CHECK_N.
24664 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24665 (__libc_pread): Don't use CHECK_N.
24666 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24668 (__libc_pread64): Don't use CHECK_N.
24669 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24671 (__libc_pwrite): Don't use CHECK_N.
24672 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24674 (__libc_pwrite64): Don't use CHECK_N.
24675 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24677 (__libc_msgrcv): Don't use CHECK_N.
24678 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24679 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24680 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24681 (__libc_writev): Don't use CHECK_N.
24683 2013-02-08 Roland McGrath <roland@hack.frob.com>
24685 * string/strcpy.c: Removed unused variable.
24687 * Makeconfig (+sysdep-includes): Define with := rather than =.
24688 Use an existing include/ subdir of each sysdeps dir before it.
24690 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24692 * nscd/connection.c (register_traced_file): Comment function.
24693 [HAVE_INOTIFY] (union __inev): Define.
24694 [HAVE_INOTIFY] (inotify_check_files): New function.
24695 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24696 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24698 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24700 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24702 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24703 loaded if not already and that a failure is permanent.
24705 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24708 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24709 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24711 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24714 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24715 (CHECK_1_NULL_OK): Likewise.
24716 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24717 (__fxstat): Do not use CHECK_1.
24718 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24720 (___fxstat64): Do not use CHECK_1.
24721 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24723 (__fxstatat): Do not use CHECK_1.
24724 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24726 (__fxstatat64): Do not use CHECK_1.
24727 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24729 (__fxstat): Do not use CHECK_1.
24730 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24732 (__fxstatat): Do not use CHECK_1.
24733 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24735 (__getresgid): Do not use CHECK_1.
24736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24738 (__getresuid): Do not use CHECK_1.
24739 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24741 (__lxstat): Do not use CHECK_1.
24742 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24744 (__old_msgctl): Do not use CHECK_1.
24745 (__new_msgctl): Likewise.
24746 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24748 (__new_setrlimit): Do not use CHECK_1.
24749 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24751 (__old_shmctl): Do not use CHECK_1.
24752 (__new_shmctl): Likewise.
24753 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24755 (__xstat): Do not use CHECK_1.
24756 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24757 (__lxstat): Do not use CHECK_1.
24758 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24760 (___lxstat64): Do not use CHECK_1.
24761 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24762 (__old_msgctl): Do not use CHECK_1.
24763 (__new_msgctl): Likewise.
24764 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24766 (__gettimeofday): Do not use CHECK_1.
24767 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24768 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24771 (__gettimeofday): Do not use CHECK_1.
24772 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24773 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24774 (__new_shmctl): Do not use CHECK_1.
24775 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24777 (do_sigtimedwait): Do not use CHECK_1.
24778 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24780 (do_sigwaitinfo): Do not use CHECK_1.
24781 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24783 (msgctl): Do not use CHECK_1.
24784 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24786 (shmctl): Do not use CHECK_1.
24787 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24788 (ustat): Do not use CHECK_1.
24789 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24791 (__fxstat): Do not use CHECK_1.
24792 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24794 (__fxstatat): Do not use CHECK_1.
24795 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24797 (__lxstat): Do not use CHECK_1.
24798 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24800 (__xstat): Do not use CHECK_1.
24801 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24802 (__xstat): Do not use CHECK_1.
24803 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24804 (___xstat64): Do not use CHECK_1.
24807 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24809 (CHECK_BOUNDS_HIGH): Likewise.
24810 * string/strcpy.c: Do not include <bp-checks.h>.
24811 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24813 2013-02-07 Roland McGrath <roland@hack.frob.com>
24815 * nscd/nscd-client.h (__nscd_drop_map_ref):
24816 Add __attribute__ ((unused)).
24817 * nis/nss-nisplus.h (niserr2nss): Likewise.
24819 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24820 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24822 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24823 Remove inline keyword.
24824 * include/rounding-mode.h (round_away): Likewise.
24825 * libio/wfileops.c (adjust_wide_data): Likewise.
24826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24827 (__m128i_strloadu_tolower): Likewise.
24828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24829 (__m128i_strloadu_tolower): Likewise.
24830 * time/mktime.c (ydhms_diff): Likewise.
24831 * locale/elem-hash.h (elem_hash): Likewise.
24832 * locale/setlocale.c (setdata): Likewise.
24833 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24834 (re_string_wchar_at): Likewise.
24835 (bitset_not, bitset_merge, bitset_mask): Likewise.
24836 [!(__GNUC__ > 3)] (inline): Remove macro.
24837 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24838 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24839 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24840 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24841 * string/memcmp.c (memcmp_bytes): Likewise.
24842 * locale/programs/locarchive.c (compute_hashval): Likewise.
24843 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24845 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24846 * nss/getent.c (print_rpc, print_protocols): Likewise.
24847 (print_passwd, print_group, print_aliases): Likewise.
24848 * nis/nss-nisplus.h (niserr2nss): Likewise.
24849 * nscd/connections.c (restart_p): Likewise.
24850 Change return type to bool.
24852 2013-02-05 Roland McGrath <roland@hack.frob.com>
24854 * Makeconfig (all-Depend-files): Add existing
24855 $(sorted-subdirs:=/Depend) files.
24856 (all-subdirs): Remove nss.
24857 * sysdeps/unix/inet/Subdirs: Add it here instead.
24858 * hesiod/Depend: New file.
24860 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24861 instead of calling alloca.
24863 * io/lseek.c (__lseek): Rename to __libc_lseek.
24864 Define __lseek as an alias.
24866 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24868 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24870 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24871 else clause and remove check for non-standard endianness.
24873 2013-02-04 David S. Miller <davem@davemloft.net>
24875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24877 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24880 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24881 (__ubp_memchr): Remove prototype.
24882 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24883 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24884 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24885 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24886 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24888 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24889 (__ubp_memchr): Likewise.
24890 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24891 (__ubp_memchr): Likewise.
24892 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24893 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24894 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24895 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24897 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24898 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24899 (__getcwd): Do not use CHECK_STRING.
24900 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24902 (__real_chown): Do not use CHECK_STRING.
24903 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24905 (fchownat): Do not use CHECK_STRING.
24906 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24908 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24910 (__lchown): Do not use CHECK_STRING.
24911 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24912 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24913 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24914 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24916 include <bp-checks.h>.
24917 (truncate64): Do not use CHECK_STRING.
24918 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24920 (__real_chown): Do not use CHECK_STRING.
24921 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24923 (__lchown): Do not use CHECK_STRING.
24924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24926 (__chown): Do not use CHECK_STRING.
24927 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24929 (truncate64): Do not use CHECK_STRING.
24930 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24932 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24933 (__xmknod): Do not use CHECK_STRING.
24934 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24936 (__xmknodat): Do not use CHECK_STRING.
24937 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24938 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24940 2013-02-04 Andreas Schwab <schwab@suse.de>
24943 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24944 * include/netdb.h: Likewise for h_errno.
24945 * elf/tst-stackguard1.c: Include <tls.h>.
24947 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24949 * elf/link.h (struct link_map): Extend the l_addr comment.
24950 * include/link.h (struct link_map): Likewise.
24952 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24956 (BOUNDED_1): Remove macro.
24957 * debug/backtrace.c: Don't include <bp-checks.h>.
24958 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24959 (__backtrace): Likewise.
24960 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24962 (__backtrace): Don't use BOUNDED_1.
24963 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24965 (__backtrace): Don't use BOUNDED_1.
24966 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24967 (__backtrace): Don't use BOUNDED_1.
24968 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24969 (shmat): Don't use BOUNDED_N.
24971 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24974 * sysdeps/generic/bp-start.h: Remove file.
24975 * csu/libc-start.c: Don't include <bp-start.h>.
24976 (LIBC_START_MAIN): Set up __environ directly instead of using
24977 INIT_ARGV_and_ENVIRON.
24978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24982 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24984 (CHECK_FCNTL): Likewise.
24985 (CHECK_N_PAGES): Likewise.
24988 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24990 (CHECK_SIGSET_NULL_OK): Likewise.
24991 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24993 (sigpending): Don't use CHECK_SIGSET.
24994 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24996 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24997 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24999 (do_sigsuspend): Don't use CHECK_SIGSET.
25000 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25002 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25003 (do_sigwait): Don't use CHECK_SIGSET.
25004 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25006 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25007 include <bp-checks.h>.
25008 (sigpending): Don't use CHECK_SIGSET.
25009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25010 include <bp-checks.h>.
25011 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25012 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25014 (sigpending): Don't use CHECK_SIGSET.
25015 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25020 * sysdeps/generic/bp-semctl.h: Remove file.
25021 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25022 <bp-checks.h> and <bp-semctl.h>.
25023 (__old_semctl): Don't use CHECK_SEMCTL.
25024 (__new_semctl): Likewise.
25025 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25027 (__old_semctl): Don't use CHECK_SEMCTL.
25028 (__new_semctl): Likewise.
25029 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25030 <bp-checks.h> and <bp-semctl.h>.
25031 (__old_semctl): Don't use CHECK_SEMCTL.
25032 (__new_semctl): Likewise.
25033 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25034 <bp-checks.h> and <bp-semctl.h>.
25035 (semctl): Don't use CHECK_SEMCTL.
25038 * Makerules (elide-bp-thunks): Remove variable.
25039 (elide-routines.oS): Don't use $(elide-bp-thunks).
25040 (elide-routines.os): Likewise.
25041 (elide-routines.o): Likewise.
25042 (elide-routines.op): Likewise.
25043 (elide-routines.og): Likewise.
25044 (objects): Don't use $(bp-thunks).
25045 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25047 (common-generated): Do not add s-proto-bp.d.
25048 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25051 Do not generate makefile rules for bounded-pointer thunks.
25052 * sysdeps/generic/bp-thunks.h: Remove file.
25053 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25054 * sysdeps/unix/s-proto-bp.S: Likewise.
25057 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25058 parts of result separately when argument is not close to line from
25059 -i to i and one part of argument is small.
25060 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25061 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25062 * math/libm-test.inc (cacos_test): Add more tests.
25063 (casin_test): Likewise.
25064 (casinh_test): Likewise.
25065 * sysdeps/i386/fpu/libm-test-ulps: Update.
25066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25068 2013-01-31 David S. Miller <davem@davemloft.net>
25070 * po/de.po: Update from translation team.
25072 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25074 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25076 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25078 * configure.in (_AC_PROG_CC_C89): New definition.
25079 * configure: Regenerate.
25081 * configure.in (AC_PROG_CPP): New definition.
25082 * configure: Regenerate.
25084 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25086 * debug/tst-backtrace.h: New file.
25087 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25088 (ret): Remove variable.
25090 (FAIL): Remove macro.
25091 (NO_INLINE): Likewise.
25092 (fn1): Use match function instead of strstr.
25093 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25094 (ret): Remove variable.
25096 (FAIL): Remove macro.
25097 (NO_INLINE): Likewise.
25098 (fn): Use match function instead of strstr.
25099 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25100 (ret): Remove variable.
25102 (FAIL): Remove macro.
25103 (NO_INLINE): Likewise.
25104 (handle_signal): Use match function instead of strstr.
25105 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25106 (ret): Remove variable.
25108 (FAIL): Remove macro.
25109 (NO_INLINE): Likewise.
25110 (handle_signal): Use match function instead of strstr.
25112 2013-01-23 Roland McGrath <roland@hack.frob.com>
25114 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25116 2013-01-23 David S. Miller <davem@davemloft.net>
25118 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25119 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25120 argument of CAS if possible.
25121 * sysdeps/sparc/sparc64/bits/atomic.h
25122 (__arch_compare_and_exchange_val_32_acq): Likewise.
25123 (__arch_compare_and_exchange_val_64_acq): Likewise.
25125 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25127 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25128 * sysdeps/posix/ulimit.c: ... this.
25129 Include <limits.h>.
25130 * sysdeps/unix/bsd/ulimit.c: Remove file.
25132 2013-01-23 Adam Conrad <adconrad@0c3.net>
25134 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25135 (LDFLAGS-tst-array5): Likewise.
25137 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25140 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25141 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25142 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25143 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25145 2013-01-21 David S. Miller <davem@davemloft.net>
25147 * sysdeps/sparc/backtrace.c: New file.
25148 * sysdeps/sparc/sparc32/backtrace.h: New file.
25149 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25150 * sysdeps/sparc/sparc64/backtrace.h: New file.
25151 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25152 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25155 2013-01-21 Andreas Schwab <schwab@suse.de>
25158 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25161 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25167 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25168 Mark Mitchell <mark@codesourcery.com>
25169 Tom de Vries <tom@codesourcery.com>
25170 Paul Pluzhnikov <ppluzhnikov@google.com>
25172 * debug/tst-backtrace2.c: New file.
25173 * debug/tst-backtrace3.c: Likewise.
25174 * debug/tst-backtrace4.c: Likewise.
25175 * debug/tst-backtrace5.c: Likewise.
25176 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25177 (CFLAGS-tst-backtrace3.c): Likewise.
25178 (CFLAGS-tst-backtrace4.c): Likewise.
25179 (CFLAGS-tst-backtrace5.c): Likewise.
25180 (LDFLAGS-tst-backtrace2): Likewise.
25181 (LDFLAGS-tst-backtrace3): Likewise.
25182 (LDFLAGS-tst-backtrace4): Likewise.
25183 (LDFLAGS-tst-backtrace5): Likewise.
25184 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25185 tst-backtrace4 and tst-backtrace5.
25187 2013-01-18 Anton Blanchard <anton@samba.org>
25188 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25190 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25191 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25192 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25193 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25195 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25196 "+r" and remove output regs list as redundant. Add explicit inline
25197 asm to specify register of return val to work around compiler codegen
25198 bug. Remove (int) cast on return value. Add return type parameter to
25199 use in macro so that this macro does not truncate return value for
25201 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25202 pass to INTERNAL_VSYSCALL_NCS.
25203 (INLINE_VSYSCALL): Add 'long int' as return type to
25204 INTERNAL_VSYSCALL_NCS macro invocation.
25205 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25206 INTERNAL_VSYSCALL_NCS macro invocation.
25207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25209 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25212 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25213 Fix application of SIMD FP exception mask.
25215 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25216 mp_no from a power of two.
25217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25218 __mpexp_twomm1. Use __pow_mp.
25220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25223 2013-01-17 David S. Miller <davem@davemloft.net>
25225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25227 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25230 * include/complex.h: Condition contents on [!_COMPLEX_H].
25231 (__kernel_casinhf): New prototype.
25232 (__kernel_casinh): Likewise.
25233 (__kernel_casinhl): Likewise.
25234 * math/Makefile (libm_calls): Add k_casinh.
25235 * math/k_casinh.c: New file.
25236 * math/k_casinhf.c: Likewise.
25237 * math/k_casinhl.c: Likewise.
25238 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25239 finite nonzero arguments.
25240 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25241 finite nonzero arguments.
25242 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25243 finite nonzero arguments.
25244 * math/s_casinh.c: Do not include <float.h>.
25245 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25246 * math/s_casinhf.c: Do not include <float.h>.
25247 (__casinhf): Move code for finite nonzero arguments to
25249 * math/s_casinhl.c: Do not include <float.h>.
25250 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25252 (__casinhl): Move code for finite nonzero arguments to
25254 * math/libm-test.inc (cacos_test): Add more tests.
25255 * sysdeps/i386/fpu/libm-test-ulps: Update.
25256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25258 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25260 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25261 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25262 [!HAVE_MREMAP]: Remove [defined linux] case.
25263 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25265 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25267 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25269 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25271 * elf/elf.h (R_386_SIZE32): New relocation.
25272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25274 (elf_machine_rela): Likewise.
25275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25276 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25278 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25280 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25281 (FP_FAST_FMA): Do not define.
25282 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25283 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25284 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25285 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25286 !_SOFT_FLOAT]: Likewise.
25287 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25288 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25291 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25294 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25295 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25298 2013-01-16 Andreas Schwab <schwab@suse.de>
25301 * include/stdlib.h (__mktemp): Add declaration.
25302 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25303 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25305 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25307 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25309 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25310 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25311 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25313 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25314 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25318 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25319 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25322 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25323 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25325 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25327 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25329 2013-01-15 David S. Miller <davem@davemloft.net>
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25332 trunc{,f} to libm-sysdep_routes.
25333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25344 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25345 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25347 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25348 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25351 nearbyint{,f} to libm-sysdep_routes.
25352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25369 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25370 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25373 libc_feholdexcept and libc_fesetenv.
25375 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25377 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25379 2013-01-14 David S. Miller <davem@davemloft.net>
25381 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25382 (SPARC_ASM_VIS2_IFUNC): Likewise.
25383 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25385 use of 'siam' instruction.
25386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25419 routines to libm-sysdep_routines.
25420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25423 fdim/fdimf to libm-sysdep_routines.
25424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25432 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25433 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25434 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25435 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25437 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25439 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25440 to optimize copies.
25442 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25447 local variable MPTWO.
25448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25451 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25453 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25456 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25458 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25460 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25462 * manual/pattern.texi (glob_t): Document gl_flags.
25463 (glob64_t): Likewise.
25465 2013-01-11 David S. Miller <davem@davemloft.net>
25467 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25468 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25469 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25470 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25471 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25472 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25473 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25474 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25475 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25476 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25477 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25478 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25479 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25481 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25482 sparc V9 rather than using V8 code.
25483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25491 2013-01-11 Roland McGrath <roland@hack.frob.com>
25493 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25494 not in the main loop.
25495 * configure: Regenerated.
25497 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25499 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25500 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25502 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25503 [!__GLIBC_HAVE_LONG_LONG] case.
25504 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25505 condition to just #else.
25506 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25507 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25508 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25509 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25511 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25512 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25513 #elif condition to just #else.
25514 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25515 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25516 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25517 #elif condition to just #else.
25519 2013-01-11 Steve Ellcey <sellcey@mips.com>
25521 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25522 (EF_MIPS_ARCH_64): Fix value.
25523 (EF_MIPS_ARCH_32R2): New.
25524 (EF_MIPS_ARCH_64R2): New.
25526 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25528 * Makeconfig (+link-pie-before-libc): New.
25529 (+link-pie-after-libc): Likewise.
25530 (+link-pie-tests): Likewise.
25531 (+link-pie): Rewritten.
25532 (link-before-libc): Remove $(config-LDFLAGS).
25533 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25534 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25535 (config-LDFLAGS): Renamed to ...
25536 (rtld-LDFLAGS): This.
25537 (rtld-tests-LDFLAGS): New macro.
25538 (link-libc-rpath-link): Likewise.
25539 (link-libc-tests-rpath-link): Likewise.
25540 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25541 (link-libc): Prepand $(link-libc-rpath-link).
25542 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25543 (test-program-prefix): New macro.
25544 (test-via-rtld-prefix): Likewise.
25545 (test-program-cmd): Likewise.
25546 (host-test-program-cmd): Likewise.
25547 * Makefile ($(common-objpfx)testrun.sh): Replace
25548 $(run-program-prefix) with $(test-program-prefix).
25549 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25551 ($(common-objpfx)shlib.lds): Likewise.
25552 (build-module-helper): Likewise.
25553 ($(common-objpfx)format.lds): Likewise.
25554 * Rules (binaries-pie-tests): New.
25555 (binaries-pie-notests): Likewise.
25556 (binaries-pie): Rewritten.
25557 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25558 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25559 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25560 (make-test-out): Replace $(host-built-program-cmd) with
25561 $(host-test-program-cmd).
25562 * config.make.in (build-hardcoded-path-in-tests): New variable.
25563 * configure.in (--enable-hardcoded-path-in-tests): New configure
25565 (hardcoded_path_in_tests): New AC_SUBST.
25566 * configure: Regenerated.
25567 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25568 $(built-program-cmd) with $(test-program-cmd).
25569 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25570 (test_program_cmd): This.
25571 * elf/Makefile ($(objpfx)order.out): Run test with
25572 $(test-program-prefix).
25573 ($(objpfx)order2.out): Likewise.
25574 ($(objpfx)tst-initorder.out): Likewise.
25575 ($(objpfx)tst-initorder2.out): Likewise.
25576 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25577 $(test-program-cmd).
25578 ($(objpfx)tst-array1-static.out): Likewise.
25579 ($(objpfx)tst-array2.out): Likewise.
25580 ($(objpfx)tst-array3.out): Likewise.
25581 ($(objpfx)tst-array4.out): Likewise.
25582 ($(objpfx)tst-array5.out): Likewise.
25583 ($(objpfx)tst-array5-static.out): Likewise.
25584 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25585 $(test-program-cmd).
25586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25587 $(run-program-prefix) with $(test-program-prefix).
25588 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25589 (test_program_prefix): This.
25590 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25591 $(run-program-prefix) with $(test-program-prefix).
25592 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25593 (test_program_prefix): This.
25594 * iconvdata/tst-tables.sh: Likewise.
25595 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25596 $(run-program-prefix) with $(test-program-prefix).
25597 ($(objpfx)tst-translit.out): Likewise.
25598 ($(objpfx)tst-gettext2.out): Likewise.
25599 ($(objpfx)tst-gettext4.out): Likewise.
25600 ($(objpfx)tst-gettext6.out): Likewise.
25601 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25602 (test_program_prefix): This.
25603 * intl/tst-gettext2.sh: Likewise.
25604 * intl/tst-gettext4.sh Likewise.
25605 * intl/tst-gettext6.sh: Likewise.
25606 * intl/tst-translit.sh: Likewise.
25607 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25608 with $(test-program-cmd).
25609 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25610 $(run-program-prefix) with $(test-program-prefix).
25611 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25612 (test_program_prefix): This.
25613 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25614 $(run-program-prefix) with $(test-program-prefix).
25615 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25616 (test_program_prefix): This.
25617 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25618 * posix/Makefile ($(objpfx)globtest.out): Replace
25619 $(run-via-rtld-prefix) and $(test-wrapper) with
25620 $(test-program-prefix) and $(test-via-rtld-prefix).
25621 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25622 $(test-program-prefix).
25623 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25624 $(host-test-program-cmd).
25625 (tst-spawn-ARGS): Likewise.
25626 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25627 $(test-program-prefix).
25628 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25629 (test_via_rtld_prefix): This.
25630 (test_wrapper): Renamed to ...
25631 (test_program_prefix): This.
25632 (run_program_prefix): Replaced by test_program_prefix.
25633 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25634 (test_program_prefix): This.
25635 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25636 with $(host-test-program-cmd).
25637 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25638 $(run-program-prefix) with $(test-program-prefix).
25639 ($(objpfx)tst-printf.out): Likewise.
25640 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25641 $(test-program-cmd).
25642 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25643 (test_program_prefix): This.
25644 * stdio-common/tst-unbputc.sh: Likewise.
25645 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25646 $(run-program-prefix) with $(test-program-prefix).
25647 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25648 (test_program_prefix): This.
25649 * string/Makefile ($(objpfx)tst-svc.out): Replace
25650 $(built-program-cmd) with $(test-program-cmd).
25652 2013-01-11 Andreas Jaeger <aj@suse.de>
25655 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25656 value. Sync with Linux 3.7.
25658 2013-01-10 David S. Miller <davem@davemloft.net>
25660 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25664 2013-01-10 Roland McGrath <roland@hack.frob.com>
25666 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25668 * configure: Regenerated.
25670 2013-01-10 David S. Miller <davem@davemloft.net>
25672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25673 sparc V9 rather than using V8 code.
25674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25677 2013-01-10 Roland McGrath <roland@hack.frob.com>
25679 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25680 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25681 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25682 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25683 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25684 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25685 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25686 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25687 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25688 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25689 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25690 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25691 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25692 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25693 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25694 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25695 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25696 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25697 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25698 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25699 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25700 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25701 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25702 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25703 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25704 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25705 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25707 2013-01-10 David S. Miller <davem@davemloft.net>
25709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25711 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25713 * posix/Makefile (tests-static): New variable.
25714 (tests): Add $(tests-static).
25715 (tst-exec-static-ARGS): New variable.
25716 (tst-spawn-static-ARGS): Likewise.
25717 * posix/tst-exec-static.c: New file.
25718 * posix/tst-spawn-static.c: Likewise.
25719 * posix/tst-exec.c: Support run directly.
25720 * posix/tst-spawn.c: Likewise.
25722 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25724 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25726 * math/bits/mathcalls.h (llrint): Likewise.
25727 (llround): Likewise.
25728 * stdlib/stdlib.h (struct drand48_data): Likewise.
25729 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25730 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25731 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25733 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25735 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25736 (elf_greg_t): Likewise.
25737 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25738 (__jmp_buf): Likewise.
25739 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25741 (llrint): Likewise, for all definitions.
25742 (llrintl): Likewise.
25744 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25745 Remove [__GNUC__] condition.
25746 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25747 condition to just [__USE_ISOC99].
25748 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25750 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25753 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25754 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25756 (_POSIX_V6_ILP32_OFF32): Likewise.
25757 (_XBS5_ILP32_OFF32): Likewise.
25758 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25759 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25761 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25763 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25766 doubles __mpexp_twomm1. Adjust usage.
25767 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25770 2013-01-10 Andreas Schwab <schwab@suse.de>
25773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25774 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25776 2013-01-09 David S. Miller <davem@davemloft.net>
25779 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25780 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25781 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25782 (TCP_FASTOPEN): Define.
25783 (tcp_repair_opt): New structure.
25784 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25786 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25787 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25788 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25789 (tcp_cookie_transactions): New structure.
25791 2013-01-09 Anton Blanchard <anton@samba.org>
25793 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25796 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25798 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25800 * include/features.h (__USE_ANSI): Remove.
25802 2013-01-09 Roland McGrath <roland@hack.frob.com>
25804 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25806 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25808 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25810 * sysdeps/s390/fpu/libm-test-ulps: Update.
25812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25814 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25818 (denorm): Likewise.
25819 (__mp_dbl): Likewise.
25820 (__dbl_mp): Likewise.
25821 (add_magnitudes): Likewise.
25822 (sub_magnitudes): Likewise.
25828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25832 (denorm): Likewise.
25833 (__mp_dbl): Likewise.
25834 (__dbl_mp): Likewise.
25835 (add_magnitudes): Likewise.
25836 (sub_magnitudes): Likewise.
25842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25846 (denorm): Likewise.
25847 (__mp_dbl): Likewise.
25848 (__dbl_mp): Likewise.
25849 (add_magnitudes): Likewise.
25850 (sub_magnitudes): Likewise.
25857 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25859 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25860 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25861 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25862 2 && __USE_EXTERN_INLINES]: Likewise.
25864 2013-01-08 Andreas Jaeger <aj@suse.de>
25867 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25869 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25870 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25872 2013-01-07 Anton Blanchard <anton@samba.org>
25874 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25875 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25876 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25878 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25879 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25880 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25881 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25888 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25891 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25892 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25897 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25898 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25899 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25901 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25903 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25904 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25908 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25909 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25918 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25920 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25921 (__MALLOC_PMT): Likewise.
25922 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25923 [__GNUC__], only on [_LIBC].
25924 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25925 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25926 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25927 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25928 forward declaration.
25929 (realloc_hook_ini): Likewise.
25930 (memalign_hook_ini): Likewise.
25931 (__libc_memalign): Do not use __MALLOC_PMT in variable
25933 (__libc_valloc): Likewise.
25934 (__libc_pvalloc): Likewise.
25935 (__libc_calloc): Likewise.
25936 (__posix_memalign): Likewise.
25939 * math/s_casinh.c: Include <float.h>.
25940 (__casinh): Do not do computation with squaring and square root
25941 for large arguments.
25942 * math/s_casinhf.c: Include <float.h>.
25943 (__casinhf): Do not do computation with squaring and square root
25944 for large arguments.
25945 * math/s_casinhl.c: Include <float.h>.
25946 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25947 (__casinhl): Do not do computation with squaring and square root
25948 for large arguments.
25949 * math/libm-test.inc (casin_test): Add more tests.
25950 (casinh_test): Likewise.
25951 * sysdeps/i386/fpu/libm-test-ulps: Update.
25952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25954 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25956 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25957 (__x86_64_raw_data_cache_size): Likewise.
25958 (__x86_64_data_cache_size_half): Likewise.
25959 (__x86_64_raw_data_cache_size_half): Likewise.
25960 (__x86_64_shared_cache_size): Likewise.
25961 (__x86_64_raw_shared_cache_size): Likewise.
25962 (__x86_64_shared_cache_size_half): Likewise.
25963 (__x86_64_raw_shared_cache_size_half): Likewise.
25964 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25966 (__x86_data_cache_size): This.
25967 (__x86_64_raw_data_cache_size): Renamed to ...
25968 (__x86_raw_data_cache_size): This.
25969 (__x86_64_data_cache_size_half): Renamed to ...
25970 (__x86_data_cache_size_half): This.
25971 (__x86_64_raw_data_cache_size_half): Renamed to ...
25972 (__x86_raw_data_cache_size_half): This.
25973 (__x86_64_shared_cache_size): Renamed to ...
25974 (__x86_shared_cache_size): This.
25975 (__x86_64_raw_shared_cache_size): Renamed to ...
25976 (__x86_raw_shared_cache_size): This.
25977 (__x86_64_shared_cache_size_half): Renamed to ...
25978 (__x86_shared_cache_size_half): This.
25979 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25980 (__x86_raw_shared_cache_size_half): This.
25981 * sysdeps/x86_64/memcpy.S: Updated.
25982 * sysdeps/x86_64/memset.S: Likewise.
25983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25987 2013-01-04 David S. Miller <davem@davemloft.net>
25989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25991 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25994 1 to avoid redefinition warning.
25995 (__USE_GNU): Don't define.
25996 (init_signaling_nan): Protoize.
25998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26000 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26002 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26004 (__cpymn): Likewise.
26005 (norm): Remove commented code.
26006 (denorm): Likewise.
26007 (__mp_dbl): Likewise.
26009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26010 (__cpymn): Likewise.
26011 (norm): Remove commented code.
26012 (denorm): Likewise.
26013 (__mp_dbl): Likewise.
26016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26017 mp_no value for 1.0 and 2.0.
26018 (norm): Use RADIXI instead of radixi.d.
26019 (denorm): Likewise.
26020 (__mul): Use 0.0 instead of zero.d.
26021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26022 mp_no value for 1.0 and 2.0.
26023 (norm): Use RADIXI instead of radixi.d.
26024 (denorm): Likewise.
26025 (__mul): Use 0.0 instead of zero.d.
26027 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26030 * math/s_casinh.c (__casinh): Reduce finite argument to first
26031 quadrant then set signs of results at the end.
26032 * math/s_casinhf.c (__casinhf): Likewise.
26033 * math/s_casinhl.c (__casinhl): Likewise.
26034 * math/libm-test.inc (casin_test): Add more tests.
26035 (casinh_test): Likewise.
26036 * sysdeps/i386/fpu/libm-test-ulps: Update.
26037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26039 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26041 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26043 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26045 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26047 (denorm): Likewise.
26048 (__mp_dbl): Likewise.
26051 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26052 and adjust the header comment.
26054 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26055 variable name from declaration.
26057 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26060 Initialize COMMON_CPUID_INDEX_7 element.
26061 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26062 (CPUID_RTM): Likewise.
26063 (HAS_RTM): Likewise.
26064 (COMMON_CPUID_INDEX_7): New enum.
26066 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26069 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26070 size is zero, record memory as freed.
26072 2013-01-03 Andreas Jaeger <aj@suse.de>
26074 * po/ia.po: Add new Interlingua translation.
26076 2012-01-03 Allan McRae <allan@archlinux.org>
26078 * locale/programs/localedef.c: Fix description of '--posix' flag.
26080 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26082 * NEWS: Update dates in second copyright notice.
26083 * README: Update copyright dates in example.
26084 * manual/libc.texinfo: Update copyright dates.
26085 * scripts/test-installation.pl: Update copyright date in --version
26088 * hurd/ctty-input.c: Fix copyright notice formatting.
26089 * hurd/ctty-output.c: Likewise.
26090 * hurd/dtable.c: Likewise.
26091 * hurd/hurd-raise.c: Likewise.
26092 * hurd/hurdprio.c: Likewise.
26093 * hurd/msgportdemux.c: Likewise.
26094 * misc/sys/file.h: Likewise.
26095 * misc/sys/ioctl.h: Likewise.
26096 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26097 * sysdeps/mach/hurd/chdir.c: Likewise.
26098 * sysdeps/mach/hurd/fchdir.c: Likewise.
26099 * sysdeps/mach/hurd/rename.c: Likewise.
26100 * sysdeps/mach/hurd/rmdir.c: Likewise.
26101 * sysdeps/mach/hurd/seekdir.c: Likewise.
26102 * sysdeps/mach/hurd/setsid.c: Likewise.
26103 * sysdeps/posix/wait3.c: Likewise.
26105 * All files with FSF copyright notices: Update copyright dates
26106 using scripts/update-copyrights.
26107 * intl/plural.c: Regenerated.
26108 * locale/programs/charmap-kw.h: Likewise.
26109 * locale/programs/locfile-kw.h: Likewise.
26111 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26113 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26117 calculation loop and add branch prediction.
26119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26120 check access beyond bounds of m1np.
26122 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26124 (__inv): Remove local variable MPTWO to use the global
26126 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26130 MP3HALFS static const.
26132 2013-01-01 David S. Miller <davem@davemloft.net>
26134 * po/ca.po: Update from translation team.
26136 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26138 * scripts/update-copyrights: New file.
26139 * Makeconfig: Reformat copyright notice.
26140 * ctype/ctype.h: Likewise.
26141 * debug/swprintf_chk.c: Likewise.
26142 * elf/dl-cache.c: Likewise.
26143 * elf/dl-debug.c: Likewise.
26144 * elf/dl-object.c: Likewise.
26145 * grp/initgroups.c: Likewise.
26146 * hurd/Makefile: Likewise.
26147 * hurd/hurd/signal.h: Likewise.
26148 * hurd/hurdfault.c: Likewise.
26149 * hurd/hurdioctl.c: Likewise.
26150 * hurd/hurdlookup.c: Likewise.
26151 * hurd/intr-msg.c: Likewise.
26152 * iconv/gconv_open.c: Likewise.
26153 * libio/swprintf.c: Likewise.
26154 * locale/lc-ctype.c: Likewise.
26155 * locale/nl_langinfo.c: Likewise.
26156 * mach/Machrules: Likewise.
26157 * mach/Makefile: Likewise.
26158 * malloc/obstack.h: Likewise.
26159 * manual/Makefile: Likewise.
26160 * manual/tsort.awk: Likewise.
26161 * misc/bits/stab.def: Likewise.
26162 * nis/nis_print_group_entry.c: Likewise.
26163 * nis/nis_table.c: Likewise.
26164 * nis/nss_compat/compat-pwd.c: Likewise.
26165 * nis/nss_compat/compat-spwd.c: Likewise.
26166 * po/Makefile: Likewise.
26167 * posix/fnmatch.c: Likewise.
26168 * posix/regex.h: Likewise.
26169 * resolv/Makefile: Likewise.
26170 * resolv/nss_dns/dns-network.c: Likewise.
26171 * resolv/res_hconf.c: Likewise.
26172 * scripts/gen-sorted.awk: Likewise.
26173 * soft-fp/soft-fp.h: Likewise.
26174 * stdio-common/printf.h: Likewise.
26175 * stdlib/monetary.h: Likewise.
26176 * stdlib/random.c: Likewise.
26177 * stdlib/random_r.c: Likewise.
26178 * sysdeps/generic/Makefile: Likewise.
26179 * sysdeps/gnu/Makefile: Likewise.
26180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26208 * sysdeps/mach/hurd/errnos.awk: Likewise.
26209 * sysdeps/mach/hurd/fork.c: Likewise.
26210 * sysdeps/mach/hurd/getcwd.c: Likewise.
26211 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26212 * sysdeps/mach/hurd/mmap.c: Likewise.
26213 * sysdeps/mach/hurd/utimes.c: Likewise.
26214 * sysdeps/mach/hurd/xmknod.c: Likewise.
26215 * sysdeps/posix/profil.c: Likewise.
26216 * sysdeps/posix/readdir_r.c: Likewise.
26217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26218 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26219 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26220 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26222 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26224 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26226 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26227 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26228 * sysdeps/pthread/lio_listio.c: Likewise.
26229 * sysdeps/sparc/dl-procinfo.h: Likewise.
26230 * sysdeps/unix/i386/sysdep.S: Likewise.
26231 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26232 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26233 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26234 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26236 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26237 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26238 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26239 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26240 * sysdeps/wordsize-32/divdi3.c: Likewise.
26241 * time/sys/time.h: Likewise.
26242 * wcsmbs/Makefile: Likewise.
26244 2013-01-01 David S. Miller <davem@davemloft.net>
26246 * po/fr.po: Update from translation team.
26248 * catgets/gencat.c: Update copyright year.
26249 * csu/version.c: Likewise.
26250 * debug/catchsegv.sh: Likewise.
26251 * debug/pcprofiledump.c: Likewise.
26252 * debug/xtrace.sh: Likewise.
26253 * elf/ldconfig.c: Likewise.
26254 * elf/ldd.bash.in: Likewise.
26255 * elf/pldd.c: Likewise.
26256 * elf/sotruss.ksh: Likewise.
26257 * elf/sprof.c: Likewise.
26258 * iconv/iconv_prog.c: Likewise.
26259 * iconv/iconvconfig.c: Likewise.
26260 * locale/programs/locale.c: Likewise.
26261 * locale/programs/localedef.c: Likewise.
26262 * login/programs/pt_chown.c: Likewise.
26263 * malloc/memusage.sh: Likewise.
26264 * malloc/memusagestat.c: Likewise.
26265 * malloc/mtrace.pl: Likewise.
26266 * nscd/nscd.c: Likewise.
26267 * nss/getent.c: Likewise.
26268 * nss/makedb.c: Likewise.
26269 * posix/getconf.c: Likewise.
26271 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26276 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26278 * math/bits/mathcalls.h (modf): Use __nonnull.
26280 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26283 (split): Use macro CN instead of the bare value.
26284 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26287 instead of the bare value.
26288 (power1): Likewise.
26290 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26294 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26296 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26298 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26300 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26303 2012-12-28 Andreas Jaeger <aj@suse.de>
26305 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26306 values are from Linux 3.7.
26308 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26309 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26311 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26313 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26318 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26319 variables with preprocessor constants.
26320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26321 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26324 2012-12-27 Bruno Haible <bruno@clisp.org>
26327 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26330 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26333 and use variable directly.
26334 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26336 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26338 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26341 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26343 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26344 include directive. Remove local variable MPONE.
26345 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26346 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26349 2012-12-25 David S. Miller <davem@davemloft.net>
26351 * version.h (RELEASE): Set to "development".
26352 (VERSION): Set to "2.17.90".
26353 * NEWS: Add 2.18 section.
26355 2012-12-21 David S. Miller <davem@davemloft.net>
26357 * po/hr.po: Update from translation team.
26359 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26361 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26363 2012-12-19 Steve Ellcey <sellcey@mips.com>
26365 * NEWS: Mention new memcpy for MIPS.
26367 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26369 * manual/contrib.texi (Contributors): Spelling correction.
26371 2012-12-15 David S. Miller <davem@davemloft.net>
26373 * po/ru.po: Update from translation team.
26375 2012-12-13 David S. Miller <davem@davemloft.net>
26377 * NEWS: Mention IFUNC testsuite enhancements.
26379 * po/pl.po: Update from translation team.
26380 * po/bg.po: Likewise.
26382 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26383 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26385 2012-12-11 David S. Miller <davem@davemloft.net>
26387 * po/sv.po: Update from translation team.
26389 * po/vi.po: Update from translation team.
26391 * po/cs.po: Update from translation team.
26393 * po/de.po: Update from translation team.
26394 * po/eo.po: Likewise.
26395 * po/nl.po: Likewise.
26397 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26400 * manual/argp.texi (Argp Helper Functions): Move node to follow
26401 Argp Parsing State.
26404 * manual/conf.texi (Limits on File System Capacity): Mention if
26405 terminating null is included in the max size.
26407 2012-12-10 Andreas Jaeger <aj@suse.de>
26409 * po/cs.po: Update from translation team.
26411 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26413 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26414 void pointer and cast to uintptr_t.
26415 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26417 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26418 * sysdeps/s390/s390-64/memset.S: Likewise.
26420 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26423 * menual/message.texi (Message Translation): Fix typos.
26424 (Helper programs for gettext): Likewise.
26426 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26429 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26432 2012-12-07 David S. Miller <davem@davemloft.net>
26434 * po/libc.pot: Update.
26436 2012-12-07 Richard Henderson <rth@redhat.com>
26439 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26440 normal/normal case to before the switch.
26441 (_FP_DIV): Likewise.
26443 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26444 Mike Frysinger <vapier@gentoo.org>
26446 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26447 check for __NR_fadvise64_64.
26449 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26451 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26452 0, not just to plain "0" as a statement.
26453 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26456 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26458 * NEWS: Use sourceware.org in Bugzilla URL.
26460 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26463 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26465 * stdio-common/tst-put-error.c (do_test): Add newline to the
26466 padded test to ensure flush.
26468 2012-12-05 Jeff Law <law@redhat.com>
26470 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26472 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26474 * README: Don't refer to ports add-on as distributed separately.
26475 Mention AArch64 in list of systems supported in the ports add-on.
26477 * LICENSES: Add more non-FSF copyright and license notices.
26479 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26482 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26484 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26485 10000 as width of padded output.
26487 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26492 variable LX with __attribute__ ((unused)).
26493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26495 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26498 with __attribute__ ((unused)).
26500 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26502 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26504 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26506 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26507 (CFLAGS-nldbl-acos.c): New variable.
26508 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26509 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26510 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26511 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26512 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26513 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26514 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26515 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26516 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26517 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26518 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26519 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26520 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26521 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26522 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26523 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26524 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26525 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26526 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26527 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26528 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26529 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26530 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26531 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26532 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26533 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26534 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26535 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26536 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26537 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26538 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26539 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26540 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26541 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26542 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26543 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26544 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26545 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26546 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26547 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26548 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26549 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26550 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26551 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26552 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26553 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26554 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26555 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26556 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26557 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26558 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26559 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26560 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26561 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26562 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26563 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26564 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26565 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26566 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26567 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26568 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26607 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26611 whole low double instead of just low 47 bits when splitting values
26614 2012-12-03 Allan McRae <allan@archlinux.org>
26616 * manual/stdio.texi (Predefined Printf Handlers): Remove
26617 @hsep and @vsep usage.
26619 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26621 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26622 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26624 2012-12-03 Jeff Law <law@redhat.com>
26626 * time/sys/time.h (settimeofday): Do not mark TV argument
26629 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26631 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26632 when currently writing and seek to current position when not.
26633 * libio/Makefile (tests): Remove bug-fclose1.
26634 * libio/bug-fclose1.c: Delete.
26636 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26638 * manual/arith.texi (feenableexcept): Fix typo.
26639 (fedisableexcept): Likewise.
26641 2012-11-30 Roland McGrath <roland@hack.frob.com>
26643 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26644 second, differently-typed declaration, rather than a cast.
26646 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26648 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26649 * include/rpc/svc.h: ... here.
26651 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26654 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26655 depending n and resplen2 to catch cases where answer
26658 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26660 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26661 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26663 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26665 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26667 2012-11-29 Roland McGrath <roland@hack.frob.com>
26669 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26671 2012-11-28 Jeff Law <law@redhat.com>
26674 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26675 dataset_temporary. Track alloca usage into alloca_used.
26676 If dataset is large allocate and release it via malloc/free.
26678 2012-06-04 Florian Weimer <fweimer@redhat.com>
26681 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26683 2012-11-28 David S. Miller <davem@davemloft.net>
26685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26687 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26690 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26691 of pi/2 rounded to nearest to 64 bits.
26692 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26693 nearest to 64 bits.
26694 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26697 2012-11-28 Jeff Law <law@redhat.com>
26698 Martin Osvald <mosvald@redhat.com>
26701 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26702 * sunrpc/svc.c: Include time.h.
26703 (__svc_accept_failed): New function.
26704 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26705 any reason other than EINTR, call __svc_accept_failed.
26706 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26707 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26709 2012-11-28 Andreas Schwab <schwab@suse.de>
26711 * scripts/abilist.awk: Also handle indirect functions in .opd
26714 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26717 * sysdeps/x86/fpu/powl_helper.c: New file.
26718 * sysdeps/x86/fpu/Makefile: Likewise.
26719 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26721 (__ieee754_powl): Use __powl_helper for finite arguments except
26722 integer exponents below 8.
26723 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26725 (__ieee754_powl): Use __powl_helper for finite arguments except
26726 integer exponents below 8.
26727 * math/libm-test.inc (pow_test): Add more tests and enable some
26728 previously disabled tests.
26729 * sysdeps/i386/fpu/libm-test-ulps: Update.
26730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26732 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26733 Carlos O'Donell <carlos_odonell@mentor.com>
26735 * nss/makedb.c (is_prime): Assert that input is odd and greater
26736 than 4. Note that fact in a comment too.
26737 (next_prime): Add 4 to input.
26739 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26742 * libio/Makefile (tests): Add test case tst-fwrite-error.
26743 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26744 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26745 * libio/tst-fwrite-error.c: New test case.
26747 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26749 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26750 before casting to void *.
26751 * include/libc-internal.h (__pointer_type): New macro.
26752 (__integer_if_pointer_type_sub): Likewise.
26753 (__integer_if_pointer_type): Likewise.
26754 (cast_to_integer): Likewise.
26755 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26756 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26757 before casting to atomic64_t.
26758 (atomic_exchange_acq): Likewise.
26759 (__arch_exchange_and_add_body): Likewise.
26760 (__arch_add_body): Likewise.
26761 (atomic_add_negative): Likewise.
26762 (atomic_add_zero): Likewise.
26764 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26766 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26767 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26768 (add_fdes): Likewise.
26769 (linear_search_fdes): Likewise.
26770 (binary_search_unencoded_fdes): Likewise.
26772 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26774 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26776 2012-11-24 Adam Conrad <adconrad@0c3.net>
26778 * configure.in: Autodetect C++ header directories.
26779 * configure: Regenerated.
26781 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26783 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26785 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26789 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26791 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26792 LDBL_MANT_DIG == 106]: Disable some tests.
26793 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26795 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26800 input for small inputs. Return +/- pi/2 for large inputs.
26801 * math/libm-test.inc (atan_test): Add more tests.
26803 * sysdeps/generic/unwind-dw2-fde-glibc.c
26804 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26805 __attribute__ ((unused)).
26808 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26809 x * y if x and y are nonzero and z is zero.
26812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26813 nonzero exponents with absolute value below 0x1p-117 to +/-
26817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26818 up arguments below 2**-450, not just those below 2**-500.
26819 * math/libm-test.inc (hypot_test): Add another test.
26822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26823 Return a+b for ratio over 2**120, not 2**60.
26824 * math/libm-test.inc (hypot_test): Add another test.
26826 * math/libm-test.inc (clog_test): Use
26827 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26828 (clog10_test): Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26833 2012-11-22 Andreas Schwab <schwab@suse.de>
26835 * sysdeps/i386/fpu/libm-test-ulps: Update.
26837 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26839 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26840 printf output with newline.
26842 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26845 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26846 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26847 -z nodlopen, -z initfirst and -z execstack support.
26848 * configure: Regenerated.
26850 * elf/elf.h (DF_1_NODIRECT): New macro.
26851 (DF_1_IGNMULDEF): Likewise.
26852 (DF_1_NOKSYMS): Likewise.
26853 (DF_1_NOHDR): Likewise.
26854 (DF_1_EDITED): Likewise.
26855 (DF_1_NORELOC): Likewise.
26856 (DF_1_SYMINTPOSE): Likewise.
26857 (DF_1_GLOBAUDIT): Likewise.
26858 (DF_1_SINGLETON): Likewise.
26859 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26860 DT_1_SUPPORTED_MASK bits.
26861 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26863 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26865 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26867 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26869 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26872 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26873 (sendmmsg): Move declarations...
26874 * socket/sys/socket.h: ... here.
26875 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26876 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26878 * socket/recvmmsg.c: ... this new file.
26879 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26880 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26881 definition of __sendmmsg hidden.
26882 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26883 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26884 Move ENOSYS stub into and include it from...
26885 * socket/sendmmsg.c: ... this new file.
26886 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26887 (sysdep_routines): Move recvmmsg and sendmmsg...
26888 * socket/Makefile (routines): ... here.
26889 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26890 (GLIBC_PRIVATE): Add __sendmmsg.
26891 * include/sys/socket.h (__sendmmsg): Add declarations.
26892 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26895 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26898 variable I1 with __attribute__ ((unused)).
26899 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26901 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26903 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26904 DUMMY variables with __attribute__ ((unused)).
26906 * bits/byteswap.h: Include <bits/types.h>.
26907 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26909 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26911 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26912 string_t. Do not manually set errno.
26913 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26914 length with __strnlen. Make sure to both set errno and return it on
26917 2012-11-19 David S. Miller <davem@davemloft.net>
26919 With help from Joseph Myers.
26920 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26921 very large arguments properly.
26922 * math/libm-test.inc (atan_test): New tests.
26923 (atan2_test): New tests.
26924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26927 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26930 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26933 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26934 [POSIX] (EADDRNOTAVAIL): Likewise.
26935 [POSIX] (EAFNOSUPPORT): Likewise.
26936 [POSIX] (EALREADY): Likewise.
26937 [POSIX] (ECONNABORTED): Likewise.
26938 [POSIX] (ECONNREFUSED): Likewise.
26939 [POSIX] (ECONNRESET): Likewise.
26940 [POSIX] (EDESTADDRREQ): Likewise.
26941 [POSIX] (EDQUOT): Likewise.
26942 [POSIX] (EHOSTUNREACH): Likewise.
26943 [POSIX] (EIDRM): Likewise.
26944 [POSIX] (EISCONN): Likewise.
26945 [POSIX] (ELOOP): Likewise.
26946 [POSIX] (EMULTIHOP): Likewise.
26947 [POSIX] (ENETDOWN): Likewise.
26948 [POSIX] (ENETUNREACH): Likewise.
26949 [POSIX] (ENOBUFS): Likewise.
26950 [POSIX] (ENODATA): Likewise.
26951 [POSIX] (ENOLINK): Likewise.
26952 [POSIX] (ENOMSG): Likewise.
26953 [POSIX] (ENOPROTOOPT): Likewise.
26954 [POSIX] (ENOSR): Likewise.
26955 [POSIX] (ENOSTR): Likewise.
26956 [POSIX] (ENOTCONN): Likewise.
26957 [POSIX] (ENOTSOCK): Likewise.
26958 [POSIX] (EOPNOTSUPP): Likewise.
26959 [POSIX] (EOVERFLOW): Likewise.
26960 [POSIX] (EPROTO): Likewise.
26961 [POSIX] (EPROTONOSUPPORT): Likewise.
26962 [POSIX] (EPROTOTYPE): Likewise.
26963 [POSIX] (ESTALE): Likewise.
26964 [POSIX] (ETIME): Likewise.
26965 [POSIX] (ETXTBSY): Likewise.
26966 [POSIX] (EWOULDBLOCK): Likewise.
26967 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26968 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26969 [POSIX] (SEEK_CUR): Likewise.
26970 [POSIX] (SEEK_END): Likewise.
26971 [POSIX || UNIX98] (mode_t): Do not require.
26972 [POSIX] (off_t): Likewise.
26973 [POSIX] (pid_t): Likewise.
26974 [POSIX] (sys/stat.h): Do not allow header.
26975 [POSIX] (unistd.h): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26977 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26978 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26979 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26981 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26982 sigevent): Specify elements.
26983 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26985 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26986 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26988 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26989 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26990 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26991 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26992 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26993 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26994 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26995 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26997 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26998 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27000 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27009 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27010 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27013 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27014 Specify lower bound on value.
27015 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27016 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27017 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27018 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27019 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27020 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27021 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27022 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27024 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27027 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27028 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27029 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27030 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27031 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27032 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27033 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27034 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27035 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27036 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27037 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27038 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27039 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27040 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27041 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27043 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27045 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27048 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27049 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27055 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27057 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27064 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27065 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27066 specify as optional.
27067 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27070 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27071 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27072 [XPG3] (NL_LANGMAX): Likewise.
27073 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27074 [POSIX || XPG3] (NL_NMAX): Likewise.
27075 [POSIX || XPG3] (NL_SETMAX): Likewise.
27076 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27077 [XPG3] (NZERO): Likewise.
27078 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27079 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27080 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27081 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27082 (REG_ERANGE): Expect.
27083 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27085 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27086 Use (void) in prototype.
27087 [POSIX] (*_t): Allow.
27088 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27089 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27090 (WRDE_BADVAL): Expect.
27092 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27094 [XPG3 || XPG4] (O_RSYNC): Likewise.
27095 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27097 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27098 [XPG3 || XPG4] (sigqueue): Likewise.
27099 [XPG3 || XPG4] (sigtimedwait): Likewise.
27100 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27101 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27102 [XPG3 || XPG4] (vsnprintf): Likewise.
27103 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27105 [XPG3 || XPG4] (blksize_t): Likewise.
27106 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27108 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27109 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27110 [XPG3 || XPG4] (struct itimerspec): Likewise.
27111 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27112 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27113 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27114 [XPG3 || XPG4] (clockid_t): Likewise.
27115 [XPG3 || XPG4] (timer_t): Likewise.
27116 [XPG3 || XPG4] (clock_getres): Likewise.
27117 [XPG3 || XPG4] (clock_gettime): Likewise.
27118 [XPG3 || XPG4] (clock_settime): Likewise.
27119 [XPG3 || XPG4] (nanosleep): Likewise.
27120 [XPG3 || XPG4] (timer_create): Likewise.
27121 [XPG3 || XPG4] (timer_delete): Likewise.
27122 [XPG3 || XPG4] (timer_gettime): Likewise.
27123 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27124 [XPG3 || XPG4] (timer_settime): Likewise.
27125 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27126 [XPG3 || XPG4] (getlogin_r): Likewise.
27127 [XPG3 || XPG4] (pread): Likewise.
27128 [XPG3 || XPG4] (pthread_atfork): Likewise.
27129 [XPG3 || XPG4] (pwrite): Likewise.
27132 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27135 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27137 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27138 finalizing MALLSTREAM.
27140 * sysdeps/mach/hurd/syncfs.c: New file.
27142 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27145 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27146 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27147 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27148 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27149 (_nss_dns_gethostbyname4_r): Likewise.
27150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27151 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27153 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27156 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27158 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27160 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27161 * elf/cache.c (print_entry): Print ",AArch64" for
27164 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27165 * elf/cache.c (print_entry): Print ",hard-float" for
27168 2012-11-18 David S. Miller <davem@davemloft.net>
27170 With help from Joseph Myers.
27171 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27173 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27175 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27176 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27178 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27179 * math/libm-test.inc (y0_test): New tests.
27180 (y1_test): New tests.
27181 * sysdeps/i386/fpu/libm-test-ulps: Update.
27182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27185 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27187 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27189 * configure: Regenerated.
27191 2012-11-17 David S. Miller <davem@davemloft.net>
27194 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27195 nonzero exponents with absolute value below 0x1p-128 to +/-
27198 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27200 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27202 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27204 * posix/getconf-speclist.c: New file.
27205 * posix/posix-envs.def: Likewise.
27206 * posix/confstr.c (START_ENV_GROUP): New macro.
27207 (END_ENV_GROUP): Likewise.
27208 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27209 (KNOWN_PRESENT_ENV_STRING): Likewise.
27210 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27211 (UNKNOWN_ENVIRONMENT): Likewise.
27212 (confstr): Include posix-envs.def instead of handling
27213 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27214 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27215 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27216 (END_ENV_GROUP): Likewise.
27217 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27218 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27219 (UNKNOWN_ENVIRONMENT): Likewise.
27220 (__sysconf): Include posix-envs.def instead of handling associated
27221 cases directly here.
27222 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27223 preprocessing getconf-speclist.c rather than running getconf or
27224 generating empty file.
27226 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27228 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27230 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27233 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27235 2012-11-16 David S. Miller <davem@davemloft.net>
27237 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27238 smaller than LDBL_EPSILON/2.0L, just return xm1.
27240 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27242 * elf/tst-array1.c (init): Set constructor priority to 1000.
27243 (fini): Set destructor priority to 1000.
27244 * elf/tst-array2dep.c: Likewise.
27246 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27249 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27250 (_IO_new_file_xsputn): Also return EOF if none of the input
27251 data was written when overflow failed.
27252 * libio/iopadn.c (_IO_padn): Likewise.
27253 * libio/iowpadn.c (_IO_wpadn): Likewise.
27254 * stdio-common/tst-put-error.c: Add copyright notice.
27255 (do_test): Add case for printing padded string.
27256 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27257 _IO_padn returned error.
27258 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27259 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27262 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27264 * libio/libioP.h: Add comment note that the references to C++
27265 bits are now obsolete.
27267 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27269 * math/libm-test.inc (check_complex): Use asprintf.
27271 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27273 * debug/pcprofiledump.c (print_version): Update copyright year.
27274 * malloc/memusagestat.c (print_version): Likewise.
27276 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27279 * elf/Makefile (tests): Add tst-audit8.
27280 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27281 ($(objpfx)tst-audit8.out): New target.
27282 (tst-audit8-ENV): New variable.
27283 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27284 audit if l_reloc_result is NULL.
27285 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27286 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27287 * elf/tst-audit8.c: New file.
27289 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27291 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27292 * misc/Makefile (CFLAGS-select.c): Define.
27293 * posix/Makefile (CFLAGS-pause.c): Define.
27295 2012-11-13 David S. Miller <davem@davemloft.net>
27297 * crypt/Makefile: Move test targets after toplevel Rules
27298 inclusion. Grab any necessary sysdep routines when linking.
27299 * crypt/md5.c (md5_process_block): Remove define, we will always
27300 name it __md5_process_block.
27301 (md5_finish_ctx): Update md5_process_block call.
27302 (md5_stream): Likewise.
27303 (md5_process_bytes): Likewise.
27304 (md5_process_block): Rename to __md5_process_block and move to ...
27305 * crypt/md5-block.c: ... here.
27306 * crypt/sha256.c (sha256_process_block): Move to ...
27307 * crypt/sha256-block.c: ... here.
27308 * crypt/sha512.c (sha512_process_block): Move to ...
27309 * crypt/sha512-block.c: ... here.
27310 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27312 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27313 * sysdeps/sparc/sparc64/multiarch/Makefile
27314 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27316 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27317 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27319 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27320 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27321 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27322 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27323 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27324 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27325 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27326 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27334 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27336 * timezone/tzselect.ksh: Update from tzcode git revision
27337 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27338 * timezone/zdump.c: Likewise.
27339 * timezone/zic.c: Likewise.
27340 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27341 in TZVERSION setting, not $(PKGVERSION).
27342 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27343 REPORT_BUGS_TO settings.
27346 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27349 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27351 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27352 detection to immediately after _FP_ROUND().
27353 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27356 2012-11-11 David S. Miller <davem@davemloft.net>
27358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27360 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27361 __close rather than their public counterparts.
27363 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27365 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27367 [UNIX98] (sem_timedwait): Do not expect.
27368 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27369 [XPG4 || UNIX98] (sockatmark): Do not expect.
27370 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27371 (clock_getcpuclockid): Do not expect.
27372 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27373 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27375 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27376 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27377 [UNIX98] (vwscanf): Likewise.
27378 [UNIX98] (vswscanf): Likewise.
27380 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27382 * timezone/version.h: Remove file.
27383 * timezone/README: Do not refer to version.h.
27384 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27385 $(objpfx)version.h.
27386 ($(objpfx)zdump.o): Likewise.
27387 ($(objpfx)version.h): New target.
27389 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27391 * timezone/README: Don't mention modification to tzselect.ksh.
27392 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27393 work on unmodified tzselect.ksh. Substitute version numbers in
27396 * Makefile (format-me): Remove.
27397 (INSTALL): Adjust indentation. Use commands directly instead of
27398 using $(format-me).
27400 * aclocal.m4 (ACX_PKGVERSION): New macro.
27401 (ACX_BUGURL): Likewise.
27402 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27403 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27404 (REPORT_BUGS_TO): Likewise.
27405 * configure: Regenerated.
27406 * config.h.in (PKGVERSION): New macro.
27407 (REPORT_BUGS_TO): Likewise.
27408 * config.make.in (PKGVERSION): New variable.
27409 (PKGVERSION_TEXI): Likewise.
27410 (REPORT_BUGS_TO): Likewise.
27411 (REPORT_BUGS_TEXI): Likewise.
27412 * Makefile (format-me): Use -I$(common-objpfx)manual.
27413 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27414 ($(common-objpfx)manual/%): New target.
27415 (manual/%): Remove target.
27416 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27417 (print_version): Use PKGVERSION.
27418 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27419 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27420 and REPORT_BUGS_TO.
27421 ($(objpfx)xtrace): Likewise.
27422 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27423 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27424 (print_version): Use PKGVERSION.
27425 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27426 (do_version): Use PKGVERSION.
27427 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27429 (common-ldd-rewrite): Likewise.
27430 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27431 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27432 (print_version): Use PKGVERSION.
27433 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27434 * elf/pldd.c (argp_program_bug_address): Remove variable.
27435 (more_help): New function.
27436 (argp): Use more_help.
27437 (print_version): Use PKGVERSION.
27438 * elf/sln.c (main): Use PKGVERSION.
27439 (usage): Use REPORT_BUGS_TO.
27440 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27441 (top level): Use PKGVERSION.
27442 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27443 (print_version): Use PKGVERSION.
27444 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27445 (print_version): Use PKGVERSION.
27446 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27447 (print_version): Use PKGVERSION.
27448 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27449 (print_version): Use PKGVERSION.
27450 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27451 (print_version): Use PKGVERSION.
27452 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27453 (print_version): Use PKGVERSION.
27454 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27456 ($(objpfx)memusage): Likewise.
27457 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27458 (do_version): Use PKGVERSION.
27459 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27460 (print_version): Use PKGVERSION.
27461 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27462 ($PKGVERSION): New variable.
27463 ($REPORT_BUGS_TO): Likewise.
27464 (usage): Use $REPORT_BUGS_TO.
27465 (top level): Use $PKGVERSION.
27466 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27467 ($(objpfx)pkgvers.texi): New rule.
27468 ($(objpfx)stamp-pkgvers): Likewise.
27469 * manual/install.texi: Include pkgvers.texi.
27470 (--with-pkgversion): Document new configure option.
27471 (--with-bugurl): Likewise.
27472 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27473 than necessarily for this particular distribution. Use
27474 REPORT_BUGS_TO for where to report bugs.
27475 * INSTALL: Regenerated.
27476 * manual/libc.texinfo: Include pkgvers.texi.
27477 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27478 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27479 (print_version): Use PKGVERSION.
27480 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27481 (print_version): Use PKGVERSION.
27482 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27483 (print_version): Use PKGVERSION.
27484 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27485 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27487 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27488 (print_version): Use PKGVERSION.
27489 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27490 (print_version): Use PKGVERSION.
27491 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27494 * timezone/checktab.awk: Update from tzcode 2012i.
27495 * timezone/ialloc.c: Likewise.
27496 * timezone/private.h: Likewise.
27497 * timezone/scheck.c: Likewise.
27498 * timezone/tzfile.h: Likewise.
27499 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27500 (TZVERSION): Hardcode tzcode version number.
27501 * timezone/zdump.c: Update from tzcode 2012i.
27502 * timezone/zic.c: Likewise.
27503 * timezone/version.h: New file.
27504 * timezone/README: Describe version.h. Update upstream location.
27507 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27508 (mktemp): Enable declaration.
27509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27526 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27527 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27528 for copies of such integer values.
27529 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27530 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27532 2012-11-09 Andreas Jaeger <aj@suse.de>
27534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27535 definitions and declarations that are provided by
27536 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27538 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27540 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27541 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27542 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27545 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27547 * elf/elf.h: Update comment before AArch64 relocations.
27549 2012-11-07 David S. Miller <davem@davemloft.net>
27551 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27553 (__start_context): Declare.
27554 (__makecontext_ret): Delete.
27555 (__makecontext): Hook up __start_context instead of
27557 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27558 (sysdep_routines): Add __start_context when in stdlib.
27560 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27563 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27564 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27566 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27567 (READELF): New variable. Use it instead of hardcoded "readelf".
27569 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27571 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27572 * sysdeps/x86/Makefile: Here.
27573 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27574 * sysdeps/x86/tst-xmmymm.sh: This.
27576 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27578 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27580 [UNIX98] (pthread_barrier_t): Do not expect.
27581 [UNIX98] (pthread_barrierattr_t): Likewise.
27582 [UNIX98] (pthread_spinlock_t): Likewise.
27583 [UNIX98] (pthread_barrier_destroy): Likewise.
27584 [UNIX98] (pthread_barrier_init): Likewise.
27585 [UNIX98] (pthread_barrier_wait): Likewise.
27586 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27587 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27588 [UNIX98] (pthread_barrierattr_init): Likewise.
27589 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27590 [UNIX98] (pthread_getcpuclockid): Likewise.
27591 [UNIX98] (pthread_mutex_timedlock): Likewise.
27592 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27593 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27594 [UNIX98] (pthread_sigmask): Likewise.
27595 [UNIX98] (pthread_spin_destroy): Likewise.
27596 [UNIX98] (pthread_spin_init): Likewise.
27597 [UNIX98] (pthread_spin_lock): Likewise.
27598 [UNIX98] (pthread_spin_trylock): Likewise.
27599 [UNIX98] (pthread_spin_unlock): Likewise.
27600 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27602 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27604 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27605 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27606 [XPG3 || XPG4] (pthread_key_t): Likewise.
27607 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27608 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27609 [XPG3 || XPG4] (pthread_once_t): Likewise.
27610 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27611 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27612 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27613 [XPG3 || XPG4] (pthread_t): Likewise.
27615 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27617 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27620 Change function return type to int.
27622 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27623 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27624 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27625 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27626 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27627 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27628 [!POSIX] (posix_madvise): Likewise.
27629 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27631 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27632 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27633 (mode_t): Likewise.
27634 (posix_mem_offset): Likewise.
27635 (posix_typed_mem_get_info): Likewise.
27636 (posix_typed_mem_open): Likewise.
27638 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27639 Change condition to [XOPEN2K8].
27641 * conform/conformtest.pl: Preprocess allow-header data with -x c
27642 instead of from stdin.
27643 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27644 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27645 [C99-based standards] (cerfc): Likewise.
27646 [C99-based standards] (cexp2): Likewise.
27647 [C99-based standards] (cexpm1): Likewise.
27648 [C99-based standards] (clog10): Likewise.
27649 [C99-based standards] (clog1p): Likewise.
27650 [C99-based standards] (clog2): Likewise.
27651 [C99-based standards] (clgamma): Likewise.
27652 [C99-based standards] (ctgamma): Likewise.
27653 [C99-based standards] (cerff): Likewise.
27654 [C99-based standards] (cerfcf): Likewise.
27655 [C99-based standards] (cexp2f): Likewise.
27656 [C99-based standards] (cexpm1f): Likewise.
27657 [C99-based standards] (clog10f): Likewise.
27658 [C99-based standards] (clog1pf): Likewise.
27659 [C99-based standards] (clog2f): Likewise.
27660 [C99-based standards] (clgammaf): Likewise.
27661 [C99-based standards] (ctgammaf): Likewise.
27662 [C99-based standards] (cerfl): Likewise.
27663 [C99-based standards] (cerfcl): Likewise.
27664 [C99-based standards] (cexp2l): Likewise.
27665 [C99-based standards] (cexpm1l): Likewise.
27666 [C99-based standards] (clog10l): Likewise.
27667 [C99-based standards] (clog1pl): Likewise.
27668 [C99-based standards] (clog2l): Likewise.
27669 [C99-based standards] (clgammal): Likewise.
27670 [C99-based standards] (ctgammal): Likewise.
27671 * conform/data/inttypes.h-data [C99-based standards]: Include
27672 stdint.h-data. Remove all expectations for stdint.h contents.
27673 [C99-based standards] (PRI*): Do not allow.
27674 [C99-based standards] (SCN*): Likewise.
27675 [C99-based standards] (*_t): Likewise.
27676 [C99-based-standards] (PRId8): Expect macro.
27677 [C99-based-standards] (PRIi8): Likewise.
27678 [C99-based-standards] (PRIo8): Likewise.
27679 [C99-based-standards] (PRIu8): Likewise.
27680 [C99-based-standards] (PRIx8): Likewise.
27681 [C99-based-standards] (PRIX8): Likewise.
27682 [C99-based-standards] (SCNd8): Likewise.
27683 [C99-based-standards] (SCNi8): Likewise.
27684 [C99-based-standards] (SCNo8): Likewise.
27685 [C99-based-standards] (SCNu8): Likewise.
27686 [C99-based-standards] (SCNx8): Likewise.
27687 [C99-based-standards] (PRIdLEAST8): Likewise.
27688 [C99-based-standards] (PRIiLEAST8): Likewise.
27689 [C99-based-standards] (PRIoLEAST8): Likewise.
27690 [C99-based-standards] (PRIuLEAST8): Likewise.
27691 [C99-based-standards] (PRIxLEAST8): Likewise.
27692 [C99-based-standards] (PRIXLEAST8): Likewise.
27693 [C99-based-standards] (SCNdLEAST8): Likewise.
27694 [C99-based-standards] (SCNiLEAST8): Likewise.
27695 [C99-based-standards] (SCNoLEAST8): Likewise.
27696 [C99-based-standards] (SCNuLEAST8): Likewise.
27697 [C99-based-standards] (SCNxLEAST8): Likewise.
27698 [C99-based-standards] (PRIdFAST8): Likewise.
27699 [C99-based-standards] (PRIiFAST8): Likewise.
27700 [C99-based-standards] (PRIoFAST8): Likewise.
27701 [C99-based-standards] (PRIuFAST8): Likewise.
27702 [C99-based-standards] (PRIxFAST8): Likewise.
27703 [C99-based-standards] (PRIXFAST8): Likewise.
27704 [C99-based-standards] (SCNdFAST8): Likewise.
27705 [C99-based-standards] (SCNiFAST8): Likewise.
27706 [C99-based-standards] (SCNoFAST8): Likewise.
27707 [C99-based-standards] (SCNuFAST8): Likewise.
27708 [C99-based-standards] (SCNxFAST8): Likewise.
27709 [C99-based-standards] (PRId16): Likewise.
27710 [C99-based-standards] (PRIi16): Likewise.
27711 [C99-based-standards] (PRIo16): Likewise.
27712 [C99-based-standards] (PRIu16): Likewise.
27713 [C99-based-standards] (PRIx16): Likewise.
27714 [C99-based-standards] (PRIX16): Likewise.
27715 [C99-based-standards] (SCNd16): Likewise.
27716 [C99-based-standards] (SCNi16): Likewise.
27717 [C99-based-standards] (SCNo16): Likewise.
27718 [C99-based-standards] (SCNu16): Likewise.
27719 [C99-based-standards] (SCNx16): Likewise.
27720 [C99-based-standards] (PRIdLEAST16): Likewise.
27721 [C99-based-standards] (PRIiLEAST16): Likewise.
27722 [C99-based-standards] (PRIoLEAST16): Likewise.
27723 [C99-based-standards] (PRIuLEAST16): Likewise.
27724 [C99-based-standards] (PRIxLEAST16): Likewise.
27725 [C99-based-standards] (PRIXLEAST16): Likewise.
27726 [C99-based-standards] (SCNdLEAST16): Likewise.
27727 [C99-based-standards] (SCNiLEAST16): Likewise.
27728 [C99-based-standards] (SCNoLEAST16): Likewise.
27729 [C99-based-standards] (SCNuLEAST16): Likewise.
27730 [C99-based-standards] (SCNxLEAST16): Likewise.
27731 [C99-based-standards] (PRIdFAST16): Likewise.
27732 [C99-based-standards] (PRIiFAST16): Likewise.
27733 [C99-based-standards] (PRIoFAST16): Likewise.
27734 [C99-based-standards] (PRIuFAST16): Likewise.
27735 [C99-based-standards] (PRIxFAST16): Likewise.
27736 [C99-based-standards] (PRIXFAST16): Likewise.
27737 [C99-based-standards] (SCNdFAST16): Likewise.
27738 [C99-based-standards] (SCNiFAST16): Likewise.
27739 [C99-based-standards] (SCNoFAST16): Likewise.
27740 [C99-based-standards] (SCNuFAST16): Likewise.
27741 [C99-based-standards] (SCNxFAST16): Likewise.
27742 [C99-based-standards] (PRId32): Likewise.
27743 [C99-based-standards] (PRIi32): Likewise.
27744 [C99-based-standards] (PRIo32): Likewise.
27745 [C99-based-standards] (PRIu32): Likewise.
27746 [C99-based-standards] (PRIx32): Likewise.
27747 [C99-based-standards] (PRIX32): Likewise.
27748 [C99-based-standards] (SCNd32): Likewise.
27749 [C99-based-standards] (SCNi32): Likewise.
27750 [C99-based-standards] (SCNo32): Likewise.
27751 [C99-based-standards] (SCNu32): Likewise.
27752 [C99-based-standards] (SCNx32): Likewise.
27753 [C99-based-standards] (PRIdLEAST32): Likewise.
27754 [C99-based-standards] (PRIiLEAST32): Likewise.
27755 [C99-based-standards] (PRIoLEAST32): Likewise.
27756 [C99-based-standards] (PRIuLEAST32): Likewise.
27757 [C99-based-standards] (PRIxLEAST32): Likewise.
27758 [C99-based-standards] (PRIXLEAST32): Likewise.
27759 [C99-based-standards] (SCNdLEAST32): Likewise.
27760 [C99-based-standards] (SCNiLEAST32): Likewise.
27761 [C99-based-standards] (SCNoLEAST32): Likewise.
27762 [C99-based-standards] (SCNuLEAST32): Likewise.
27763 [C99-based-standards] (SCNxLEAST32): Likewise.
27764 [C99-based-standards] (PRIdFAST32): Likewise.
27765 [C99-based-standards] (PRIiFAST32): Likewise.
27766 [C99-based-standards] (PRIoFAST32): Likewise.
27767 [C99-based-standards] (PRIuFAST32): Likewise.
27768 [C99-based-standards] (PRIxFAST32): Likewise.
27769 [C99-based-standards] (PRIXFAST32): Likewise.
27770 [C99-based-standards] (SCNdFAST32): Likewise.
27771 [C99-based-standards] (SCNiFAST32): Likewise.
27772 [C99-based-standards] (SCNoFAST32): Likewise.
27773 [C99-based-standards] (SCNuFAST32): Likewise.
27774 [C99-based-standards] (SCNxFAST32): Likewise.
27775 [C99-based-standards] (PRId64): Likewise.
27776 [C99-based-standards] (PRIi64): Likewise.
27777 [C99-based-standards] (PRIo64): Likewise.
27778 [C99-based-standards] (PRIu64): Likewise.
27779 [C99-based-standards] (PRIx64): Likewise.
27780 [C99-based-standards] (PRIX64): Likewise.
27781 [C99-based-standards] (SCNd64): Likewise.
27782 [C99-based-standards] (SCNi64): Likewise.
27783 [C99-based-standards] (SCNo64): Likewise.
27784 [C99-based-standards] (SCNu64): Likewise.
27785 [C99-based-standards] (SCNx64): Likewise.
27786 [C99-based-standards] (PRIdLEAST64): Likewise.
27787 [C99-based-standards] (PRIiLEAST64): Likewise.
27788 [C99-based-standards] (PRIoLEAST64): Likewise.
27789 [C99-based-standards] (PRIuLEAST64): Likewise.
27790 [C99-based-standards] (PRIxLEAST64): Likewise.
27791 [C99-based-standards] (PRIXLEAST64): Likewise.
27792 [C99-based-standards] (SCNdLEAST64): Likewise.
27793 [C99-based-standards] (SCNiLEAST64): Likewise.
27794 [C99-based-standards] (SCNoLEAST64): Likewise.
27795 [C99-based-standards] (SCNuLEAST64): Likewise.
27796 [C99-based-standards] (SCNxLEAST64): Likewise.
27797 [C99-based-standards] (PRIdFAST64): Likewise.
27798 [C99-based-standards] (PRIiFAST64): Likewise.
27799 [C99-based-standards] (PRIoFAST64): Likewise.
27800 [C99-based-standards] (PRIuFAST64): Likewise.
27801 [C99-based-standards] (PRIxFAST64): Likewise.
27802 [C99-based-standards] (PRIXFAST64): Likewise.
27803 [C99-based-standards] (SCNdFAST64): Likewise.
27804 [C99-based-standards] (SCNiFAST64): Likewise.
27805 [C99-based-standards] (SCNoFAST64): Likewise.
27806 [C99-based-standards] (SCNuFAST64): Likewise.
27807 [C99-based-standards] (SCNxFAST64): Likewise.
27808 [C99-based-standards] (PRIdMAX): Likewise.
27809 [C99-based-standards] (PRIiMAX): Likewise.
27810 [C99-based-standards] (PRIoMAX): Likewise.
27811 [C99-based-standards] (PRIuMAX): Likewise.
27812 [C99-based-standards] (PRIxMAX): Likewise.
27813 [C99-based-standards] (PRIXMAX): Likewise.
27814 [C99-based-standards] (SCNdMAX): Likewise.
27815 [C99-based-standards] (SCNiMAX): Likewise.
27816 [C99-based-standards] (SCNoMAX): Likewise.
27817 [C99-based-standards] (SCNuMAX): Likewise.
27818 [C99-based-standards] (SCNxMAX): Likewise.
27819 [C99-based-standards] (PRIdPTR): Likewise.
27820 [C99-based-standards] (PRIiPTR): Likewise.
27821 [C99-based-standards] (PRIoPTR): Likewise.
27822 [C99-based-standards] (PRIuPTR): Likewise.
27823 [C99-based-standards] (PRIxPTR): Likewise.
27824 [C99-based-standards] (PRIXPTR): Likewise.
27825 [C99-based-standards] (SCNdPTR): Likewise.
27826 [C99-based-standards] (SCNiPTR): Likewise.
27827 [C99-based-standards] (SCNoPTR): Likewise.
27828 [C99-based-standards] (SCNuPTR): Likewise.
27829 [C99-based-standards] (SCNxPTR): Likewise.
27830 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27832 * conform/data/stdint.h-data: Update comments to clarify
27834 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27836 [C99-based standards] (INT8_MAX): Likewise.
27837 [C99-based standards] (INT16_MIN): Likewise.
27838 [C99-based standards] (INT16_MAX): Likewise.
27839 [C99-based standards] (INT32_MIN): Likewise.
27840 [C99-based standards] (INT32_MAX): Likewise.
27841 [C99-based standards] (INT64_MIN): Likewise.
27842 [C99-based standards] (INT64_MAX): Likewise.
27843 [C99-based standards] (UINT8_MAX): Likewise.
27844 [C99-based standards] (UINT16_MAX): Likewise.
27845 [C99-based standards] (UINT32_MAX): Likewise.
27846 [C99-based standards] (UINT64_MAX): Likewise.
27847 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27848 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27849 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27850 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27851 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27852 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27853 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27854 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27855 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27856 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27857 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27858 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27859 [C99-based standards] (INT_FAST8_MIN): Likewise.
27860 [C99-based standards] (INT_FAST8_MAX): Likewise.
27861 [C99-based standards] (INT_FAST16_MIN): Likewise.
27862 [C99-based standards] (INT_FAST16_MAX): Likewise.
27863 [C99-based standards] (INT_FAST32_MIN): Likewise.
27864 [C99-based standards] (INT_FAST32_MAX): Likewise.
27865 [C99-based standards] (INT_FAST64_MIN): Likewise.
27866 [C99-based standards] (INT_FAST64_MAX): Likewise.
27867 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27868 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27869 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27870 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27871 [C99-based standards] (INTPTR_MIN): Likewise.
27872 [C99-based standards] (INTPTR_MAX): Likewise.
27873 [C99-based standards] (UINTPTR_MAX): Likewise.
27874 [C99-based standards] (INTMAX_MIN): Likewise.
27875 [C99-based standards] (INTMAX_MAX): Likewise.
27876 [C99-based standards] (UINTMAX_MAX): Likewise.
27877 [C99-based standards] (PTRDIFF_MIN): Likewise.
27878 [C99-based standards] (PTRDIFF_MAX): Likewise.
27879 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27880 [C99-based standards] (SIZE_MAX): Likewise.
27881 [C99-based standards] (WCHAR_MAX): Likewise.
27882 [C99-based standards] (WINT_MAX): Likewise.
27883 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27884 constraint on value.
27885 [C99-based standards] (WCHAR_MIN): Likewise.
27886 [C99-based standards] (WINT_MIN): Likewise.
27887 [C99-based standards] (*_t): Allow.
27888 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27889 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27890 Include math.h-data and complex.h-data. Remove all expectations
27891 of math.h and complex.h contents.
27892 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27894 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27895 (struct tm): Expect tag.
27896 [C99-based-standards] (wcstof): Expect function.
27897 [C99-based-standards] (wcstold): Likewise.
27898 [C99-based-standards] (wcstoll): Likewise.
27899 [C99-based-standards] (wcstoull): Likewise.
27900 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27901 macro-int-constant. Specify type.
27902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27903 constraint on value.
27904 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27906 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27908 [ISO C standards]: Do not allow headers.
27909 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27910 wcs[abcdefghijklmnopqrstuvwxyz]*.
27911 [ISO C standards] (*_t): Do not allow.
27912 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27914 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27915 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27917 [ISO C standards]: Do not allow headers.
27918 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27919 is[abcdefghijklmnopqrstuvwxyz]*.
27920 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27921 to[abcdefghijklmnopqrstuvwxyz]*.
27922 [ISO C standards] (*_t): Do not allow.
27923 * conform/data/stdalign.h-data: New file.
27924 * conform/data/stdbool.h-data: Likewise.
27925 * conform/data/stdnoreturn.h-data: Likewise.
27927 2012-11-07 Roland McGrath <roland@hack.frob.com>
27930 * manual/filesys.texi (Directory Entries): Typo fix.
27931 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27933 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27935 * elf/elf.h (EM_AARCH64): New macro.
27936 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27937 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27938 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27939 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27940 (R_AARCH64_TLSDESC): Likewise.
27941 (NT_ARM_TLS): Likewise.
27942 (NT_ARM_HW_BREAK): Likewise.
27943 (NT_ARM_HW_WATCH): Likewise.
27945 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27948 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27949 (__ieee754_powl): Saturate nonzero exponents with absolute value
27950 below 0x1p-79 to +/- 0x1p-79.
27951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27952 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27953 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27954 nonzero exponents with absolute value below 0x1p-32 to +/-
27956 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27957 (__ieee754_powl): Saturate nonzero exponents with absolute value
27958 below 0x1p-79 to +/- 0x1p-79.
27959 * math/libm-test.inc (pow_test): Add more tests.
27961 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27963 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27964 _dl_s390_cap_flags with kernel. Increase string length.
27965 (_dl_s390_platforms): Add z196 and zEC12.
27967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27969 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27970 Change XOPEN21K to XOPEN2K.
27972 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27974 * string/memmove.c: Use memcpy when possible.
27976 2012-11-06 Andreas Jaeger <aj@suse.de>
27978 * po/eo.po: Update from translation team.
27980 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27984 exponent and small x and y exponents, scale x or y up. Increase
27985 by 2 the exponent used in scaling up.
27986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27988 * math/libm-test.inc (fma_test): Add more tests.
27989 (fma_test_towardzero): Likewise.
27990 (fma_test_downward): Likewise.
27991 (fma_test_upward): Likewise.
27993 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27996 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28000 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28001 namespace for names of struct fields.
28002 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28004 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28005 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28007 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28010 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28012 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28014 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28018 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28021 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28025 definitely overflow as x * y not x * y + z.
28026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28028 * math/libm-test.inc (fma_test): Add more tests.
28029 (fma_test_towardzero): Likewise.
28030 (fma_test_downward): Likewise.
28031 (fma_test_upward): Likewise.
28033 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28037 * include/stub-tag.h: Remove file.
28038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28040 * manual/maint.texi (Porting): Don't reference it.
28041 * Makerules ($(objpfx)stubs): Likewise.
28042 * dirent/closedir.c: Don't include <stub-tag.h>.
28043 * dirent/dirfd.c: Likewise.
28044 * dirent/fdopendir.c: Likewise.
28045 * dirent/getdents.c: Likewise.
28046 * dirent/getdents64.c: Likewise.
28047 * dirent/opendir.c: Likewise.
28048 * dirent/readdir.c: Likewise.
28049 * dirent/readdir64.c: Likewise.
28050 * dirent/readdir64_r.c: Likewise.
28051 * dirent/readdir_r.c: Likewise.
28052 * dirent/rewinddir.c: Likewise.
28053 * dirent/seekdir.c: Likewise.
28054 * dirent/telldir.c: Likewise.
28055 * gmon/profil.c: Likewise.
28056 * grp/setgroups.c: Likewise.
28057 * inet/if_index.c: Likewise.
28058 * io/access.c: Likewise.
28059 * io/chdir.c: Likewise.
28060 * io/chmod.c: Likewise.
28061 * io/chown.c: Likewise.
28062 * io/close.c: Likewise.
28063 * io/dup.c: Likewise.
28064 * io/dup2.c: Likewise.
28065 * io/dup3.c: Likewise.
28066 * io/euidaccess.c: Likewise.
28067 * io/faccessat.c: Likewise.
28068 * io/fchdir.c: Likewise.
28069 * io/fchmod.c: Likewise.
28070 * io/fchmodat.c: Likewise.
28071 * io/fchown.c: Likewise.
28072 * io/fchownat.c: Likewise.
28073 * io/fcntl.c: Likewise.
28074 * io/flock.c: Likewise.
28075 * io/fstatfs.c: Likewise.
28076 * io/fstatfs64.c: Likewise.
28077 * io/fstatvfs.c: Likewise.
28078 * io/fstatvfs64.c: Likewise.
28079 * io/futimens.c: Likewise.
28080 * io/fxstat.c: Likewise.
28081 * io/fxstat64.c: Likewise.
28082 * io/fxstatat.c: Likewise.
28083 * io/fxstatat64.c: Likewise.
28084 * io/getcwd.c: Likewise.
28085 * io/isatty.c: Likewise.
28086 * io/lchmod.c: Likewise.
28087 * io/lchown.c: Likewise.
28088 * io/link.c: Likewise.
28089 * io/linkat.c: Likewise.
28090 * io/lseek.c: Likewise.
28091 * io/lseek64.c: Likewise.
28092 * io/lxstat64.c: Likewise.
28093 * io/mkdir.c: Likewise.
28094 * io/mkdirat.c: Likewise.
28095 * io/mkfifo.c: Likewise.
28096 * io/mkfifoat.c: Likewise.
28097 * io/open.c: Likewise.
28098 * io/open64.c: Likewise.
28099 * io/openat.c: Likewise.
28100 * io/openat64.c: Likewise.
28101 * io/pipe.c: Likewise.
28102 * io/pipe2.c: Likewise.
28103 * io/poll.c: Likewise.
28104 * io/posix_fadvise.c: Likewise.
28105 * io/posix_fadvise64.c: Likewise.
28106 * io/posix_fallocate.c: Likewise.
28107 * io/posix_fallocate64.c: Likewise.
28108 * io/read.c: Likewise.
28109 * io/readlink.c: Likewise.
28110 * io/readlinkat.c: Likewise.
28111 * io/rmdir.c: Likewise.
28112 * io/sendfile.c: Likewise.
28113 * io/sendfile64.c: Likewise.
28114 * io/statfs.c: Likewise.
28115 * io/statfs64.c: Likewise.
28116 * io/statvfs.c: Likewise.
28117 * io/statvfs64.c: Likewise.
28118 * io/symlink.c: Likewise.
28119 * io/symlinkat.c: Likewise.
28120 * io/ttyname.c: Likewise.
28121 * io/ttyname_r.c: Likewise.
28122 * io/umask.c: Likewise.
28123 * io/unlink.c: Likewise.
28124 * io/unlinkat.c: Likewise.
28125 * io/utime.c: Likewise.
28126 * io/utimensat.c: Likewise.
28127 * io/write.c: Likewise.
28128 * io/xmknod.c: Likewise.
28129 * io/xmknodat.c: Likewise.
28130 * io/xstat.c: Likewise.
28131 * io/xstat64.c: Likewise.
28132 * login/getpt.c: Likewise.
28133 * login/grantpt.c: Likewise.
28134 * login/unlockpt.c: Likewise.
28135 * math/e_acoshl.c: Likewise.
28136 * math/e_acosl.c: Likewise.
28137 * math/e_asinl.c: Likewise.
28138 * math/e_atan2l.c: Likewise.
28139 * math/e_atanhl.c: Likewise.
28140 * math/e_coshl.c: Likewise.
28141 * math/e_expl.c: Likewise.
28142 * math/e_fmodl.c: Likewise.
28143 * math/e_gammal_r.c: Likewise.
28144 * math/e_hypotl.c: Likewise.
28145 * math/e_j0l.c: Likewise.
28146 * math/e_j1l.c: Likewise.
28147 * math/e_jnl.c: Likewise.
28148 * math/e_lgammal_r.c: Likewise.
28149 * math/e_log10l.c: Likewise.
28150 * math/e_log2l.c: Likewise.
28151 * math/e_logl.c: Likewise.
28152 * math/e_powl.c: Likewise.
28153 * math/e_rem_pio2l.c: Likewise.
28154 * math/e_sinhl.c: Likewise.
28155 * math/e_sqrtl.c: Likewise.
28156 * math/fclrexcpt.c: Likewise.
28157 * math/fedisblxcpt.c: Likewise.
28158 * math/feenablxcpt.c: Likewise.
28159 * math/fegetenv.c: Likewise.
28160 * math/fegetexcept.c: Likewise.
28161 * math/fegetround.c: Likewise.
28162 * math/feholdexcpt.c: Likewise.
28163 * math/fesetenv.c: Likewise.
28164 * math/fesetround.c: Likewise.
28165 * math/feupdateenv.c: Likewise.
28166 * math/fgetexcptflg.c: Likewise.
28167 * math/fraiseexcpt.c: Likewise.
28168 * math/fsetexcptflg.c: Likewise.
28169 * math/ftestexcept.c: Likewise.
28170 * math/k_cosl.c: Likewise.
28171 * math/k_rem_pio2l.c: Likewise.
28172 * math/k_sinl.c: Likewise.
28173 * math/k_tanl.c: Likewise.
28174 * math/s_asinhl.c: Likewise.
28175 * math/s_atanl.c: Likewise.
28176 * math/s_cbrtl.c: Likewise.
28177 * math/s_erfl.c: Likewise.
28178 * math/s_expm1l.c: Likewise.
28179 * math/s_log1pl.c: Likewise.
28180 * math/s_tanhl.c: Likewise.
28181 * misc/acct.c: Likewise.
28182 * misc/brk.c: Likewise.
28183 * misc/chflags.c: Likewise.
28184 * misc/chroot.c: Likewise.
28185 * misc/fchflags.c: Likewise.
28186 * misc/fgetxattr.c: Likewise.
28187 * misc/flistxattr.c: Likewise.
28188 * misc/fremovexattr.c: Likewise.
28189 * misc/fsetxattr.c: Likewise.
28190 * misc/fsync.c: Likewise.
28191 * misc/ftruncate.c: Likewise.
28192 * misc/futimes.c: Likewise.
28193 * misc/futimesat.c: Likewise.
28194 * misc/getdomain.c: Likewise.
28195 * misc/getdtsz.c: Likewise.
28196 * misc/gethostid.c: Likewise.
28197 * misc/gethostname.c: Likewise.
28198 * misc/getloadavg.c: Likewise.
28199 * misc/getpagesize.c: Likewise.
28200 * misc/getsysstats.c: Likewise.
28201 * misc/getxattr.c: Likewise.
28202 * misc/gtty.c: Likewise.
28203 * misc/ioctl.c: Likewise.
28204 * misc/lgetxattr.c: Likewise.
28205 * misc/listxattr.c: Likewise.
28206 * misc/llistxattr.c: Likewise.
28207 * misc/lremovexattr.c: Likewise.
28208 * misc/lsetxattr.c: Likewise.
28209 * misc/lutimes.c: Likewise.
28210 * misc/madvise.c: Likewise.
28211 * misc/mincore.c: Likewise.
28212 * misc/mlock.c: Likewise.
28213 * misc/mlockall.c: Likewise.
28214 * misc/mmap.c: Likewise.
28215 * misc/mprotect.c: Likewise.
28216 * misc/msync.c: Likewise.
28217 * misc/munlock.c: Likewise.
28218 * misc/munlockall.c: Likewise.
28219 * misc/munmap.c: Likewise.
28220 * misc/preadv.c: Likewise.
28221 * misc/preadv64.c: Likewise.
28222 * misc/ptrace.c: Likewise.
28223 * misc/pwritev.c: Likewise.
28224 * misc/pwritev64.c: Likewise.
28225 * misc/readv.c: Likewise.
28226 * misc/reboot.c: Likewise.
28227 * misc/remap_file_pages.c: Likewise.
28228 * misc/removexattr.c: Likewise.
28229 * misc/revoke.c: Likewise.
28230 * misc/select.c: Likewise.
28231 * misc/setdomain.c: Likewise.
28232 * misc/setegid.c: Likewise.
28233 * misc/seteuid.c: Likewise.
28234 * misc/sethostid.c: Likewise.
28235 * misc/sethostname.c: Likewise.
28236 * misc/setregid.c: Likewise.
28237 * misc/setreuid.c: Likewise.
28238 * misc/setxattr.c: Likewise.
28239 * misc/sstk.c: Likewise.
28240 * misc/stty.c: Likewise.
28241 * misc/swapoff.c: Likewise.
28242 * misc/swapon.c: Likewise.
28243 * misc/sync.c: Likewise.
28244 * misc/syncfs.c: Likewise.
28245 * misc/syscall.c: Likewise.
28246 * misc/truncate.c: Likewise.
28247 * misc/ualarm.c: Likewise.
28248 * misc/usleep.c: Likewise.
28249 * misc/ustat.c: Likewise.
28250 * misc/utimes.c: Likewise.
28251 * misc/vhangup.c: Likewise.
28252 * misc/writev.c: Likewise.
28253 * posix/_exit.c: Likewise.
28254 * posix/alarm.c: Likewise.
28255 * posix/execve.c: Likewise.
28256 * posix/fexecve.c: Likewise.
28257 * posix/fork.c: Likewise.
28258 * posix/fpathconf.c: Likewise.
28259 * posix/getaddrinfo.c: Likewise.
28260 * posix/getegid.c: Likewise.
28261 * posix/geteuid.c: Likewise.
28262 * posix/getgid.c: Likewise.
28263 * posix/getgroups.c: Likewise.
28264 * posix/getlogin.c: Likewise.
28265 * posix/getlogin_r.c: Likewise.
28266 * posix/getpgid.c: Likewise.
28267 * posix/getpid.c: Likewise.
28268 * posix/getppid.c: Likewise.
28269 * posix/getresgid.c: Likewise.
28270 * posix/getresuid.c: Likewise.
28271 * posix/getsid.c: Likewise.
28272 * posix/getuid.c: Likewise.
28273 * posix/glob64.c: Likewise.
28274 * posix/nanosleep.c: Likewise.
28275 * posix/pathconf.c: Likewise.
28276 * posix/pause.c: Likewise.
28277 * posix/posix_madvise.c: Likewise.
28278 * posix/pread.c: Likewise.
28279 * posix/pread64.c: Likewise.
28280 * posix/pwrite.c: Likewise.
28281 * posix/pwrite64.c: Likewise.
28282 * posix/sched_getaffinity.c: Likewise.
28283 * posix/sched_getp.c: Likewise.
28284 * posix/sched_gets.c: Likewise.
28285 * posix/sched_primax.c: Likewise.
28286 * posix/sched_primin.c: Likewise.
28287 * posix/sched_rr_gi.c: Likewise.
28288 * posix/sched_setaffinity.c: Likewise.
28289 * posix/sched_setp.c: Likewise.
28290 * posix/sched_sets.c: Likewise.
28291 * posix/sched_yield.c: Likewise.
28292 * posix/setgid.c: Likewise.
28293 * posix/setlogin.c: Likewise.
28294 * posix/setpgid.c: Likewise.
28295 * posix/setresgid.c: Likewise.
28296 * posix/setresuid.c: Likewise.
28297 * posix/setsid.c: Likewise.
28298 * posix/setuid.c: Likewise.
28299 * posix/sleep.c: Likewise.
28300 * posix/spawni.c: Likewise.
28301 * posix/sysconf.c: Likewise.
28302 * posix/times.c: Likewise.
28303 * posix/wait.c: Likewise.
28304 * posix/wait3.c: Likewise.
28305 * posix/wait4.c: Likewise.
28306 * posix/waitpid.c: Likewise.
28307 * resolv/gai_sigqueue.c: Likewise.
28308 * resource/getpriority.c: Likewise.
28309 * resource/getrlimit.c: Likewise.
28310 * resource/getrusage.c: Likewise.
28311 * resource/nice.c: Likewise.
28312 * resource/setpriority.c: Likewise.
28313 * resource/setrlimit.c: Likewise.
28314 * resource/ulimit.c: Likewise.
28315 * rt/aio_cancel.c: Likewise.
28316 * rt/aio_fsync.c: Likewise.
28317 * rt/aio_read.c: Likewise.
28318 * rt/aio_sigqueue.c: Likewise.
28319 * rt/aio_suspend.c: Likewise.
28320 * rt/aio_write.c: Likewise.
28321 * rt/clock_getres.c: Likewise.
28322 * rt/clock_gettime.c: Likewise.
28323 * rt/clock_nanosleep.c: Likewise.
28324 * rt/clock_settime.c: Likewise.
28325 * rt/lio_listio.c: Likewise.
28326 * rt/mq_close.c: Likewise.
28327 * rt/mq_getattr.c: Likewise.
28328 * rt/mq_notify.c: Likewise.
28329 * rt/mq_open.c: Likewise.
28330 * rt/mq_receive.c: Likewise.
28331 * rt/mq_send.c: Likewise.
28332 * rt/mq_setattr.c: Likewise.
28333 * rt/mq_timedreceive.c: Likewise.
28334 * rt/mq_timedsend.c: Likewise.
28335 * rt/mq_unlink.c: Likewise.
28336 * rt/shm_open.c: Likewise.
28337 * rt/shm_unlink.c: Likewise.
28338 * rt/timer_create.c: Likewise.
28339 * rt/timer_delete.c: Likewise.
28340 * rt/timer_getoverr.c: Likewise.
28341 * rt/timer_gettime.c: Likewise.
28342 * rt/timer_settime.c: Likewise.
28343 * setjmp/__longjmp.c: Likewise.
28344 * setjmp/setjmp.c: Likewise.
28345 * signal/kill.c: Likewise.
28346 * signal/killpg.c: Likewise.
28347 * signal/raise.c: Likewise.
28348 * signal/sigaction.c: Likewise.
28349 * signal/sigaltstack.c: Likewise.
28350 * signal/sigblock.c: Likewise.
28351 * signal/sigignore.c: Likewise.
28352 * signal/sigintr.c: Likewise.
28353 * signal/signal.c: Likewise.
28354 * signal/sigpause.c: Likewise.
28355 * signal/sigpending.c: Likewise.
28356 * signal/sigqueue.c: Likewise.
28357 * signal/sigreturn.c: Likewise.
28358 * signal/sigset.c: Likewise.
28359 * signal/sigsetmask.c: Likewise.
28360 * signal/sigstack.c: Likewise.
28361 * signal/sigsuspend.c: Likewise.
28362 * signal/sigtimedwait.c: Likewise.
28363 * signal/sigvec.c: Likewise.
28364 * signal/sigwait.c: Likewise.
28365 * signal/sigwaitinfo.c: Likewise.
28366 * signal/sysv_signal.c: Likewise.
28367 * socket/accept.c: Likewise.
28368 * socket/accept4.c: Likewise.
28369 * socket/bind.c: Likewise.
28370 * socket/connect.c: Likewise.
28371 * socket/getpeername.c: Likewise.
28372 * socket/getsockname.c: Likewise.
28373 * socket/getsockopt.c: Likewise.
28374 * socket/isfdtype.c: Likewise.
28375 * socket/listen.c: Likewise.
28376 * socket/recv.c: Likewise.
28377 * socket/recvfrom.c: Likewise.
28378 * socket/recvmsg.c: Likewise.
28379 * socket/send.c: Likewise.
28380 * socket/sendmsg.c: Likewise.
28381 * socket/sendto.c: Likewise.
28382 * socket/setsockopt.c: Likewise.
28383 * socket/shutdown.c: Likewise.
28384 * socket/sockatmark.c: Likewise.
28385 * socket/socket.c: Likewise.
28386 * socket/socketpair.c: Likewise.
28387 * stdio-common/ctermid.c: Likewise.
28388 * stdio-common/cuserid.c: Likewise.
28389 * stdio-common/remove.c: Likewise.
28390 * stdio-common/rename.c: Likewise.
28391 * stdio-common/renameat.c: Likewise.
28392 * stdio-common/tempname.c: Likewise.
28393 * stdlib/getcontext.c: Likewise.
28394 * stdlib/makecontext.c: Likewise.
28395 * stdlib/setcontext.c: Likewise.
28396 * stdlib/swapcontext.c: Likewise.
28397 * stdlib/system.c: Likewise.
28398 * streams/fattach.c: Likewise.
28399 * streams/fdetach.c: Likewise.
28400 * streams/getmsg.c: Likewise.
28401 * streams/getpmsg.c: Likewise.
28402 * streams/putmsg.c: Likewise.
28403 * streams/putpmsg.c: Likewise.
28404 * sysdeps/unix/bsd/getpt.c: Likewise.
28405 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28406 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28407 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28410 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28411 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28412 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28413 * sysvipc/msgctl.c: Likewise.
28414 * sysvipc/msgget.c: Likewise.
28415 * sysvipc/msgrcv.c: Likewise.
28416 * sysvipc/msgsnd.c: Likewise.
28417 * sysvipc/semctl.c: Likewise.
28418 * sysvipc/semget.c: Likewise.
28419 * sysvipc/semop.c: Likewise.
28420 * sysvipc/semtimedop.c: Likewise.
28421 * sysvipc/shmat.c: Likewise.
28422 * sysvipc/shmctl.c: Likewise.
28423 * sysvipc/shmdt.c: Likewise.
28424 * sysvipc/shmget.c: Likewise.
28425 * termios/tcdrain.c: Likewise.
28426 * termios/tcflow.c: Likewise.
28427 * termios/tcflush.c: Likewise.
28428 * termios/tcgetattr.c: Likewise.
28429 * termios/tcgetpgrp.c: Likewise.
28430 * termios/tcsendbrk.c: Likewise.
28431 * termios/tcsetattr.c: Likewise.
28432 * termios/tcsetpgrp.c: Likewise.
28433 * time/adjtime.c: Likewise.
28434 * time/clock.c: Likewise.
28435 * time/getitimer.c: Likewise.
28436 * time/gettimeofday.c: Likewise.
28437 * time/setitimer.c: Likewise.
28438 * time/settimeofday.c: Likewise.
28439 * time/stime.c: Likewise.
28440 * time/time.c: Likewise.
28442 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28444 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28447 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28449 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28451 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28455 FE_TONEAREST before applying Dekker multiplication and Knuth
28456 addition. Clear inexact exceptions and check for exact zero
28457 results afterwards.
28458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28461 * math/libm-test.inc (fma_test): Add more tests.
28462 (fma_test_towardzero): Likewise.
28463 (fma_test_downward): Likewise.
28464 (fma_test_upward): Likewise.
28465 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28467 (libc_fesetround): New macro.
28468 (libc_fesetroundf): Likewise.
28469 (libc_fesetroundl): Likewise.
28470 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28472 (libc_fesetround_387): Likewise.
28473 (libc_fesetroundf): New macro.
28474 (libc_fesetround): Likewise.
28475 (libc_fesetroundl): Likewise.
28476 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28478 (libc_fesetroundf): New macro.
28479 (libc_fesetround): Likewise.
28480 (libc_fesetroundl): Likewise.
28481 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28482 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28483 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28485 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28486 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28488 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28489 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28491 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28495 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28496 integer constant usable in #if and use that to give value to enum
28498 (FE_DIVBYZERO): Likewise.
28499 (FE_UNDERFLOW): Likewise.
28500 (FE_OVERFLOW): Likewise.
28501 (FE_INVALID): Likewise.
28502 (FE_INVALID_SNAN): Likewise.
28503 (FE_INVALID_ISI): Likewise.
28504 (FE_INVALID_IDI): Likewise.
28505 (FE_INVALID_ZDZ): Likewise.
28506 (FE_INVALID_IMZ): Likewise.
28507 (FE_INVALID_COMPARE): Likewise.
28508 (FE_INVALID_SOFTWARE): Likewise.
28509 (FE_INVALID_SQRT): Likewise.
28510 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28511 (FE_TONEAREST): Likewise.
28512 (FE_TOWARDZERO): Likewise.
28513 (FE_UPWARD): Likewise.
28514 (FE_DOWNWARD): Likewise.
28515 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28516 (FE_DIVBYZERO): Likewise.
28517 (FE_OVERFLOW): Likewise.
28518 (FE_UNDERFLOW): Likewise.
28519 (FE_INEXACT): Likewise.
28520 (FE_TONEAREST): Likewise.
28521 (FE_DOWNWARD): Likewise.
28522 (FE_UPWARD): Likewise.
28523 (FE_TOWARDZERO): Likewise.
28524 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28525 (FE_UNDERFLOW): Likewise.
28526 (FE_OVERFLOW): Likewise.
28527 (FE_DIVBYZERO): Likewise.
28528 (FE_INVALID): Likewise.
28529 (FE_TONEAREST): Likewise.
28530 (FE_TOWARDZERO): Likewise.
28531 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28532 (FE_OVERFLOW): Likewise.
28533 (FE_UNDERFLOW): Likewise.
28534 (FE_DIVBYZERO): Likewise.
28535 (FE_INEXACT): Likewise.
28536 (FE_TONEAREST): Likewise.
28537 (FE_TOWARDZERO): Likewise.
28538 (FE_UPWARD): Likewise.
28539 (FE_DOWNWARD): Likewise.
28540 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28541 (FE_DIVBYZERO): Likewise.
28542 (FE_OVERFLOW): Likewise.
28543 (FE_UNDERFLOW): Likewise.
28544 (FE_INEXACT): Likewise.
28545 (FE_TONEAREST): Likewise.
28546 (FE_DOWNWARD): Likewise.
28547 (FE_UPWARD): Likewise.
28548 (FE_TOWARDZERO): Likewise.
28550 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28552 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28554 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28556 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28557 commands. Quote $PWD.
28558 (blacklist_exports): Don't use remove_newlines. Replace "declare
28560 (remove_newlines): Remove.
28562 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28564 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28565 * stdlib/stdlib.h (atof): Moved to ...
28566 * include/bits/stdlib-float.h: Here. New file.
28567 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28568 * stdlib/bits/stdlib-float.h: New file.
28569 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28574 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28576 * conform/conformtest.pl (@headers): Add fenv.h.
28577 * conform/data/fenv.h-data: New file.
28578 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28579 include of <math/fenv.h>.
28581 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28582 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28583 && !UNIX98]. Enables tests for XOPEN2K8.
28584 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28585 POSIX2008]: Likewise.
28587 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28588 (struct rusage): Do not expect type or its members.
28591 * math/math.h (FP_NAN): Define macro to integer constant usable in
28592 #if and use that to give value to enum constant.
28593 (FP_INFINITE): Likewise.
28594 (FP_ZERO): Likewise.
28595 (FP_SUBNORMAL): Likewise.
28596 (FP_NORMAL): Likewise.
28598 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28600 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28601 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28604 2012-11-02 Roland McGrath <roland@hack.frob.com>
28606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28607 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28608 autoconf-time if not.
28609 * configure.in: Remove AC_PREREQ.
28611 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28613 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28614 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28615 of the internal implementation.
28617 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28619 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28620 except include of <misc/sys/syslog.h>.
28622 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28625 function returns with a NULL context exit with zero.
28627 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28629 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28631 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28633 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28634 (run_program_cmd): This.
28635 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28636 (tst_langinfo): New variable. Use it.
28638 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28640 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28641 floating point opcodes.
28643 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28645 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28648 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28650 * sysdeps/mach/hurd/powerpc: Remove directory.
28651 * sysdeps/mach/powerpc: Likewise.
28653 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28655 * scripts/check-local-headers.sh: Ignore c++ headers.
28657 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28659 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28660 __libc_cleanup_region_start argument.
28662 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28667 x * y using scaling, not as x * y + z.
28668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28670 * math/libm-test.inc (fma_test): Add more tests.
28671 (fma_test_towardzero): Likewise.
28672 (fma_test_downward): Likewise.
28673 (fma_test_upward): Likewise.
28675 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28677 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28679 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28684 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28686 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28688 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28695 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28698 Fix the order of the list for glibc 2.17.
28699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28702 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28706 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28710 for low part of x being zero before using __atanl (y).
28711 * math/libm-test.inc (atan2_test): Add another test.
28713 * manual/install.texi (Configuring and compiling): Document
28714 general use of test-wrapper and test-wrapper-env.
28715 * INSTALL: Regenerated.
28717 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28718 (__fma): Do not extract and scale down low bits on after-rounding
28719 systems when result rounded to normal precision would have normal
28721 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28722 (__fmal): Do not extract and scale down low bits on after-rounding
28723 systems when result rounded to normal precision would have normal
28725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28726 (__fmal): Do not extract and scale down low bits on after-rounding
28727 systems when result rounded to normal precision would have normal
28729 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28731 (fma_test): Add more tests.
28732 (fma_test_towardzero): Likewise.
28733 (fma_test_downward): Likewise.
28734 (fma_test_upward): Likewise.
28736 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28738 * sysdeps/i386/tininess.h: Renamed to ...
28739 * sysdeps/x86/tininess.h: This.
28740 * sysdeps/x86_64/tininess.h: Removed.
28742 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28744 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28745 input. Use $(build-program-cmd).
28746 ($(objpfx)tst-array1-static.out): Likewise.
28747 ($(objpfx)tst-array2.out): Likewise.
28748 ($(objpfx)tst-array3.out): Likewise.
28749 ($(objpfx)tst-array4.out): Likewise.
28750 ($(objpfx)tst-array5.out): Likewise.
28751 ($(objpfx)tst-array5-static.out): Likewise.
28753 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28755 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28758 * nss/nsswitch.h (nss_interface_function): Provide new
28759 macro for use with NSS functions.
28760 * grp/initgroups.c: Use new macro.
28761 * nss/getXXbyYY.c: Likewise.
28762 * nss/getXXbyYY_r.c: Likewise.
28763 * nss/getXXent.c: Likewise.
28764 * nss/getXXent_r.c: Likewise.
28765 * sysdeps/posix/getaddrinfo.c: Likewise.
28767 2012-10-30 Andreas Jaeger <aj@suse.de>
28769 * po/ru.po: Update Russion translation from translation project.
28771 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28776 result and shift together with sticky bit instead of replicating
28777 round-to-nearest rounding.
28778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28780 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28781 missing underflow exceptions.
28782 (fma_test_towardzero): Add more tests.
28783 (fma_test_downward): Likewise.
28784 (fma_test_upward): Likewise.
28787 * sysdeps/generic/tininess.h: New file.
28788 * sysdeps/i386/tininess.h: Likewise.
28789 * sysdeps/sh/tininess.h: Likewise.
28790 * sysdeps/x86_64/tininess.h: Likewise.
28791 * stdlib/tst-strtod-underflow.c: Likewise.
28792 * stdlib/tst-tininess.c: Likewise.
28793 * stdlib/strtod_l.c: Include <tininess.h>.
28794 (round_and_return): Do not set errno for exact underflow cases.
28795 Force an underflow exception when setting errno for underflow.
28796 Determine underflow based on rounding to normal precision if
28797 TININESS_AFTER_ROUNDING.
28798 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28799 ERANGE for exact underflow cases.
28800 * stdlib/Makefile (tests): Add tst-tininess and
28801 tst-strtod-underflow.
28802 ($(objpfx)tst-tininess): Use $(link-libm).
28803 ($(objpfx)tst-strtod-underflow): Likewise.
28805 2012-10-30 Andreas Jaeger <aj@suse.de>
28808 * elf/Makefile (tests): Remove conditional for have-initfini-array
28809 since this is now always required and the variable does not exist
28811 (tests-static): Likewise.
28812 (modules-names): Likewise.
28814 * po/eo.po: Add Esperanto translation from translation project.
28816 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28817 merged with constructor/destructor.
28818 (init_array): Likewise.
28819 * elf/tst-array2dep.c (fini_array): Likewise.
28820 (init_array): Likewise.
28822 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28824 * manual/message.texi: Delete @cartouche tags.
28826 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28828 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28830 * sysdeps/mach/hurd/fsync.c: Likewise.
28832 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28833 [_POSIX_REALTIME_SIGNALS]: Change condition to
28834 [_POSIX_REALTIME_SIGNALS > 0].
28836 2012-10-27 Andreas Jaeger <aj@suse.de>
28838 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28839 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28841 [__WORDSIZE != 64]: Likewise.
28843 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28845 * iconvdata/tst-table.sh: Remove ${SHELL}.
28846 * iconvdata/tst-tables.sh: Likewise.
28848 2012-10-25 David S. Miller <davem@davemloft.net>
28850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28851 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28857 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28858 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28861 2012-10-25 Roland McGrath <roland@hack.frob.com>
28863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28864 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28867 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28868 Jim Blandy <jimb@codesourcery.com>
28870 * scripts/cross-test-ssh.sh: New file.
28871 * manual/install.texi (Configuring and compiling): Document use of
28873 * INSTALL: Regenerated.
28875 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28877 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28880 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28882 * Makeconfig (run-program-prefix): Fix comment.
28884 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28885 Jim Blandy <jimb@codesourcery.com>
28887 * Makeconfig (test-wrapper): New variable,
28888 (test-wrapper-env): Likewise.
28889 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28890 (run-built-tests): Define to yes.
28891 (run-program-prefix): Use $(test-wrapper).
28892 (built-program-cmd): Likewise.
28893 * Rules (make-test-out): Use $(test-wrapper-env) and
28894 $(host-built-program-cmd).
28895 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28896 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28898 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28899 $(test-wrapper-env) to tst-rtld-load-self.sh.
28900 ($(objpfx)order2.out): Use $(test-wrapper).
28901 ($(objpfx)tst-initorder.out): Likewise.
28902 ($(objpfx)tst-initorder2.out): Likewise.
28903 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28904 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28905 (test_wrapper_env): New variable. Use it to run ld.so.
28906 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28907 Use it to run ld.so.
28908 (test_wrapper_env): Likewise.
28909 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28910 $(test-wrapper) to run-iconv-test.sh.
28911 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28912 (ICONV): Use $test_wrapper.
28913 * posix/Makefile ($(objpfx)globtest.out): Pass
28914 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28915 globtest.sh, not $(run-program-prefix).
28916 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28917 (test_wrapper): Likewise.
28918 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28919 set together with run_via_rtld_prefix.
28920 (run_program_prefix): Define in terms of test_wrapper and
28921 run_via_rtld_prefix.
28923 2012-10-24 Roland McGrath <roland@hack.frob.com>
28925 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28926 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28930 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28931 Declare __clock_getres, __clock_gettime, __clock_settime,
28932 __clock_nanosleep, and __clock_getcpuclockid.
28933 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28934 Remove librt_hidden_def (clock_gettime).
28935 * sysdeps/unix/clock_gettime.c: Likewise.
28936 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28938 * rt/clock_getres.c: Define __clock_getres as an alias.
28939 * sysdeps/posix/clock_getres.c: Likewise.
28940 * rt/clock_settime.c: Define __clock_settime as an alias.
28941 * sysdeps/unix/clock_settime.c: Likewise.
28942 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28943 * sysdeps/unix/clock_nanosleep.c: Likewise.
28944 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28945 * rt/clock-compat.c: New file.
28946 * rt/Makefile (librt-routines): Add clock-compat and move
28947 $(clock-routines) to ...
28948 (routines): ... here, new variable.
28949 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28950 Don't add get_clockfreq here.
28951 * rt/Versions (libc: GLIBC_2.17): New version set.
28952 Add clock_* symbols here.
28953 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28955 (GLIBC_2.17): Add clock_* symbols.
28956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28967 * NEWS: Mention the move.
28969 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28970 Use __open, __read, __close rather than their public counterparts.
28971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28972 (__get_clockfreq_via_cpuinfo): Likewise.
28973 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28974 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28976 * config.h.in (HAVE_IFUNC): New #undef.
28977 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28979 * configure: Regenerated.
28981 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28983 * configure.in: Move READELF check to start of file.
28984 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28985 libc_cv_asm_gnu_indirect_function in the process.
28986 * configure: Regenerated.
28988 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28990 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28991 send the output to /dev/null.
28992 (libc_cv_cc_with_libunwind): Likewise.
28993 (libc_cv_as_noexecstack): Likewise.
28994 * configure: Regenerate.
28996 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28998 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29000 * posix/globtest.sh (TMPDIR): Do not set.
29001 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29002 (testout): Likewise.
29004 2012-10-24 Andreas Jaeger <aj@suse.de>
29006 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29007 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29008 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29009 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29010 posix_fadvise64, posix_fallocate64.
29012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29013 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29014 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29016 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29018 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29021 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29022 <bits/fcntl-linux.h>.
29023 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29026 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29027 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29028 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29029 [__WORDSIZE != 64]: Likewise.
29031 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29033 * Makeconfig (run-built-tests): New variable.
29034 * Rules [$(cross-compiling) = yes]: Change condition to
29035 [$(run-built-tests) = no].
29036 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29037 to [$(run-built-tests) = yes].
29038 * elf/Makefile [$(cross-compiling) = no]: Likewise
29039 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29040 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29041 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29042 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29043 * io/Makefile [$(cross-compiling) = no]: Likewise.
29044 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29045 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29046 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29047 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29048 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29049 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29050 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29051 * string/Makefile [$(cross-compiling) = no]: Likewise.
29053 * posix/Makefile ($(objpfx)globtest.out): Pass
29054 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29055 $(rtld-installed-name).
29056 * posix/globtest.sh (elf_objpfx): Remove variable.
29057 (rtld_installed_name): Likewise.
29058 (library_path): Likewise.
29059 (run_program_prefix): New variable. Use for running globtest
29062 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29063 Joseph Myers <joseph@codesourcery.com>
29065 * Makeconfig (host-built-program-cmd): New variable.
29066 * elf/Makefile (tst-stackguard1-ARGS): Use
29067 $(host-built-program-cmd).
29068 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29069 (tst-spawn-ARGS): Likewise.
29070 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29072 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29073 Jim Blandy <jimb@codesourcery.com>
29075 * Makeconfig (run-via-rtld-prefix): New variable.
29076 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29077 (built-program-cmd): Likewise.
29079 2012-10-22 Andreas Jaeger <aj@suse.de>
29081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29082 __O_RSYNC if it exists, otherwise to O_SYNC.
29084 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29085 Joseph Myers <joseph@codesourcery.com>
29087 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29089 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29091 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29094 2012-10-22 Andreas Jaeger <aj@suse.de>
29096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29101 bits/fcntl-linux.h.
29103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29104 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29111 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29112 Joseph Myers <joseph@codesourcery.com>
29114 * config.make.in (NM): New variable.
29116 2012-10-21 Andreas Jaeger <aj@suse.de>
29118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29119 definitions and declarations that are provided by
29120 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29122 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29125 * elf/Makefile (tests-static): Add tst-leaks1-static.
29126 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29127 ($(objpfx)tst-leaks1-static): New rule.
29128 ($(objpfx)tst-leaks1-static-mem): Likewise.
29129 (tst-leaks1-static-ENV): New macro.
29130 * elf/dl-open.c (dl_open_worker): Check the main application
29131 only if SHARED is defined.
29132 * elf/tst-leaks1-static.c: New file.
29134 2012-10-20 Andreas Jaeger <aj@suse.de>
29136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29137 generic values for Linux.
29138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29139 and declarations that are provided by <bits/fcntl-linux.h> and
29140 include <bits/fcntl-linux.h>.
29141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29144 2012-10-20 Roland McGrath <roland@hack.frob.com>
29146 * io/fcntl.h: Move include of <bits/types.h> to the top and
29147 include it unconditionally.
29149 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29151 * wcsmbs/Makefile (tests-ifunc): New variable.
29152 (tests): Add $(tests-ifunc).
29153 * wcsmbs/test-wcschr-ifunc.c: New file.
29154 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29155 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29156 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29157 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29158 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29160 * string/Makefile (tests-ifunc): New variable.
29161 (tests): Add $(tests-ifunc).
29162 * string/test-memccpy.c (TEST_NAME): New macro.
29163 * string/test-memchr.c (TEST_NAME): Likewise.
29164 * string/test-memcmp.c (TEST_NAME): Likewise.
29165 * string/test-memcpy.c (TEST_NAME): Likewise.
29166 * string/test-memmem.c (TEST_NAME): Likewise.
29167 * string/test-memmove.c (TEST_NAME): Likewise.
29168 * string/test-memset.c (TEST_NAME): Likewise.
29169 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29170 * string/test-stpcpy.c (TEST_NAME): Likewise.
29171 * string/test-stpncpy.c (TEST_NAME): Likewise.
29172 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29173 * string/test-strcasestr.c (TEST_NAME): Likewise.
29174 * string/test-strcat.c (TEST_NAME): Likewise.
29175 * string/test-strchr.c (TEST_NAME): Likewise.
29176 * string/test-strcmp.c(TEST_NAME): Likewise.
29177 * string/test-strcpy.c (TEST_NAME): Likewise.
29178 * string/test-strcspn.c (TEST_NAME): Likewise.
29179 * string/test-strlen.c (TEST_NAME): Likewise.
29180 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29181 * string/test-strncmp.c (TEST_NAME): Likewise.
29182 * string/test-strncpy.c (TEST_NAME): Likewise.
29183 * string/test-strnlen.c (TEST_NAME): Likewise.
29184 * string/test-strpbrk.c (TEST_NAME): Likewise.
29185 * string/test-strrchr.c (TEST_NAME): Likewise.
29186 * string/test-strspn.c (TEST_NAME): Likewise.
29187 * string/test-strstr.c (TEST_NAME): Likewise.
29188 * string/test-bcopy-ifunc.c: New file.
29189 * string/test-bzero-ifunc.c: Likewise.
29190 * string/test-memccpy-ifunc.c: Likewise.
29191 * string/test-memchr-ifunc.c: Likewise.
29192 * string/test-memcmp-ifunc.c: Likewise.
29193 * string/test-memcpy-ifunc.c: Likewise.
29194 * string/test-memmem-ifunc.c: Likewise.
29195 * string/test-memmove-ifunc.c: Likewise.
29196 * string/test-mempcpy-ifunc.c: Likewise.
29197 * string/test-memset-ifunc.c: Likewise.
29198 * string/test-rawmemchr-ifunc.c: Likewise.
29199 * string/test-stpcpy-ifunc.c: Likewise.
29200 * string/test-stpncpy-ifunc.c: Likewise.
29201 * string/test-strcasecmp-ifunc.c: Likewise.
29202 * string/test-strcasestr-ifunc.c: Likewise.
29203 * string/test-strcat-ifunc.c: Likewise.
29204 * string/test-strchr-ifunc.c: Likewise.
29205 * string/test-strchrnul-ifunc.c: Likewise.
29206 * string/test-strcmp-ifunc.c: Likewise.
29207 * string/test-strcpy-ifunc.c: Likewise.
29208 * string/test-strcspn-ifunc.c: Likewise.
29209 * string/test-strlen-ifunc.c: Likewise.
29210 * string/test-strncasecmp-ifunc.c: Likewise.
29211 * string/test-strncat-ifunc.c: Likewise.
29212 * string/test-strncmp-ifunc.c: Likewise.
29213 * string/test-strncpy-ifunc.c: Likewise.
29214 * string/test-strnlen-ifunc.c: Likewise.
29215 * string/test-strpbrk-ifunc.c: Likewise.
29216 * string/test-strrchr-ifunc.c: Likewise.
29217 * string/test-strspn-ifunc.c: Likewise.
29218 * string/test-strstr-ifunc.c: Likewise.
29220 * debug/Makefile (tests-ifunc): New variable.
29221 (tests): Add $(tests-ifunc).
29222 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29223 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29224 * debug/test-stpcpy_chk-ifunc.c: New file.
29225 * debug/test-strcpy_chk-ifunc.c: Likewise.
29227 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29230 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29231 header is not read in.
29233 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29235 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29236 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29237 directly. Pass built executable to script as
29238 $(built-program-cmd).
29239 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29240 $testprogram without using LD_LIBRARY_PATH and $ldso.
29242 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29243 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29244 $(rtld-installed-name).
29245 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29246 (rtld_installed_name): Likewise.
29247 (library_path): Likewise.
29248 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29249 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29250 $(run-program-prefix) to tst-tables.sh.
29251 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29252 it to run tst-table-from and tst-table-to.
29253 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29254 Pass it to tst-table.sh.
29255 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29256 $(run-program-prefix) to tst-gettext.sh.
29257 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29259 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29261 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29262 to run tst-gettext.
29263 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29264 to run tst-gettext2.
29265 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29266 to run tst-translit.
29267 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29268 $(run-program-prefix) to tst-mtrace.sh.
29269 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29271 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29272 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29273 $(rtld-installed-name).
29274 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29275 (rtld_installed_name): Likewise.
29276 (run_program_prefix): New variable. Use it to run wordexp-test.
29278 * Makeconfig (ARCH): Remove all definitions.
29279 (machine): Likewise.
29280 [ARCH]: Remove conditional code.
29281 [!objdir]: Give error.
29282 [!objdir] (objpfx): Remove.
29283 [!objdir] (common-objpfx): Likewise.
29284 [!objdir] (common-objdir): Likewise.
29285 * configure.in (config_makefile): Remove. Hardcode Makefile in
29286 AC_CONFIG_FILES call.
29287 * configure: Regenerated.
29290 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29292 (testout): Likewise.
29294 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29295 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29296 $(rtld-installed-name).
29297 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29298 (rtld_installed_name): Likwise.
29299 (runit): Remove function.
29300 (run_getconf): New variable, Use it for running getconf binary.
29302 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29305 * string/test-memmem.c (check_result): New function.
29306 (do_one_test): Use it.
29307 (check1): New function.
29308 (test_main): Use it.
29310 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29312 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29314 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29316 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29317 (_G_LSEEK64): Likewise.
29318 (_G_MMAP64): Likewise.
29319 (_G_FSTAT64): Likewise.
29320 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29321 (_G_LSEEK64): Likewise.
29322 (_G_MMAP64): Likewise.
29323 (_G_FSTAT64): Likewise.
29324 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29325 unconditional. Call __mmap64 directly.
29326 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29327 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29328 __lseek64 directly.
29329 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29330 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29332 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29333 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29334 __lseek64 directly.
29335 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29336 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29337 __lseek64 directly.
29338 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29339 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29340 __lseek64 directly.
29341 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29342 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29343 __fxstat64 directly.
29344 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29345 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29347 (freopen64) [!_G_OPEN64]: Remove conditional code.
29348 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29350 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29351 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29353 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29354 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29356 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29357 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29359 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29360 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29362 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29363 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29365 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29366 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29368 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29370 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29373 * manual/memory.texi (Malloc Tunable Parameters): Add note
29374 about free list pointers overwriting some perturb bytes.
29375 Wording suggested by Roland McGrath.
29377 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29379 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29380 (lgamma_test): Likewise.
29381 (tgamma_test): Likewise.
29383 2012-10-16 Florian Weimer <fweimer@redhat.com>
29386 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29387 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29389 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29391 * NEWS: Mention BZ #14716.
29392 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29393 when removing AVAILABLE1_USES_J macro.
29395 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29397 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29398 (__bswap_64): __uint64_t for unsigned 64-bit int.
29400 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29402 * include/string.h (memmem): Declare libc hidden alias.
29403 * string/memmem.c (memmem): Define libc hidden alias.
29404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29405 __read, __close instead of open, read, close.
29407 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29410 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29412 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29413 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29414 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29416 (__rawmemchr_sse2): Likewise.
29417 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29418 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29419 (__strchr_sse2): Likewise.
29420 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29421 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29422 (__strcasecmp_sse2): Likewise.
29423 (__strncasecmp_sse2): Likewise.
29424 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29425 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29426 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29427 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29428 (__strrchr_sse2): Likewise.
29429 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29431 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29432 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29433 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29435 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29436 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29437 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29438 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29439 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29440 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29441 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29442 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29443 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29444 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29445 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29446 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29447 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29448 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29449 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29450 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29451 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29452 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29453 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29454 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29455 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29457 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29459 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29460 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29462 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29464 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29465 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29466 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29467 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29469 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29471 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29472 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29473 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29474 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29494 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29518 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29519 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29520 * include/ifunc-impl-list.h: New file.
29521 * misc/ifunc-impl-list.c: Likewise.
29522 * misc/Makefile (routines): Add ifunc-impl-list.
29523 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29524 * string/test-string.h: Include <ifunc-impl-list.h>.
29525 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29526 TEST_NAME]: New variables.
29527 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29529 (test_init): Call __libc_ifunc_impl_list to initialize
29530 func_list if TEST_IFUNC and TEST_NAME are defined.
29532 * string/Makefile (strop-tests): Add bcopy and bzero.
29533 * string/test-bcopy.c: New file.
29534 * string/test-bzero.c: Likewise.
29535 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29537 * string/test-memset.c: Support bzero test if TEST_BZERO is
29539 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29541 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29543 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29546 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29548 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29549 * configure: Regenerated.
29551 * Makeconfig (+link-static-before-libc): Don't include
29552 $(link-static-libc).
29554 * libio/libio.h (_IO_pos_t): Remove.
29556 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29558 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29561 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29563 * crypt/crypt-entry.c: Include fips-private.h.
29564 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29565 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29566 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29567 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29569 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29571 * crypt/crypt-private.h: Include stdbool.h.
29572 (_ufc_setup_salt_r): Return bool.
29573 * crypt/crypt-entry.c: Include errno.h.
29574 (__crypt_r): Return NULL with EINVAL for bad salt.
29575 * crypt/crypt_util.c (bad_for_salt): New.
29576 (_ufc_setup_salt_r): Check that salt is long enough and within
29577 the specified alphabet.
29578 * crypt/badsalttest.c: New file.
29579 * crypt/Makefile (tests): Add it.
29580 ($(objpfx)badsalttest): New.
29582 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29584 * NEWS: Add entry for BZ #14602.
29586 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29588 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29590 * math/libm-test.inc: Update comment listing what functions and
29592 (isgreater_test): New function.
29593 (isgreaterequal_test): Likewise.
29594 (isless_test): Likewise.
29595 (islessequal_test): Likewise.
29596 (islessgreater_test): Likewise.
29597 (isunordered_test): Likewise.
29598 (main): Call the new functions.
29600 2012-10-09 Roland McGrath <roland@hack.frob.com>
29602 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29603 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29604 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29605 * sysdeps/i386/configure: Regenerated.
29606 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29607 * sysdeps/mach/configure: Regenerated.
29608 * sysdeps/mach/hurd/configure: Regenerated.
29609 * sysdeps/powerpc/configure: Regenerated.
29610 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29611 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29612 * sysdeps/s390/s390-32/configure: Regenerated.
29613 * sysdeps/s390/s390-64/configure: Regenerated.
29614 * sysdeps/sh/configure: Regenerated.
29615 * sysdeps/sparc/configure: Regenerated.
29616 * sysdeps/unix/sysv/linux/configure: Regenerated.
29617 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29618 * sysdeps/x86_64/configure: Regenerated.
29620 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29621 defined. Don't check if MAP is NULL.
29623 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29625 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29626 (_G_stat64): Likewise.
29627 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29628 (_G_stat64): Likewise.
29629 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29630 instead of struct _G_stat64.
29631 * libio/fileops.c (mmap_remap_check): Likewise.
29632 (decide_maybe_mmap): Likewise.
29633 (_IO_new_file_seekoff): Likewise.
29634 (_IO_file_stat): Likewise.
29635 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29637 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29638 instead of struct _G_stat64.
29639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29641 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29644 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29646 (CHECK_EOL): New macro.
29647 (two_way_short_needle): Check beginning of haystack for EOL. Use
29649 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29650 Replace with CHECK_EOL.
29651 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29652 Replace with CHECK_EOL.
29654 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29656 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29658 * math/libm-test.inc: Update comment listing what functions and
29660 (finite_test): New function.
29661 (isinf_test): Likewise.
29662 (isnan_test): Likewise.
29663 (fpclassify_test): Test subnormal input.
29664 (isfinite_test): Likewise.
29665 (isnormal_test): Likewise.
29666 (main): Call the new functions.
29668 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29671 * Makerules (%.dynsym): Force C locale when running
29672 $(OBJDUMP) --dynamic-syms.
29674 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29676 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29679 2012-10-06 David S. Miller <davem@davemloft.net>
29681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29682 upper 32-bits of the length value in %o2 since we use branch-on-register
29683 tests which consider the entire 64-bit register.
29685 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29687 * string/test-strstr.c (check2): Add a test for page boundary.
29689 2012-10-05 David S. Miller <davem@davemloft.net>
29691 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29692 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29694 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29696 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29697 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29698 and bzero when HWCAP_SPARC_CRYPTO is present.
29700 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29703 * string/test-strstr.c (check2): New function.
29704 (test_main): Call check2.
29706 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29708 * string/bug-strcasestr1.c (do_test): Moved to ...
29709 * string/test-strcasestr.c (check1): Here. New function.
29710 (do_one_test): Break out result checking code into ...
29711 (check_result): This. New function.
29712 (do_one_test): Call check_result.
29713 (test_main): Call check1.
29714 * string/bug-strchr1.c (do_test): Moved to ...
29715 * string/test-strchr.c (check1): Here. New function.
29716 (do_one_test): Break out result checking code into ...
29717 (check_result): This. New function.
29718 (do_one_test): Call check_result.
29719 (test_main): Call check1.
29720 * string/bug-strstr1.c (main): Moved to ...
29721 * string/test-strstr.c (check1): Here. New function.
29722 (do_one_test): Break out result checking code into ...
29723 (check_result): This. New function.
29724 (do_one_test): Call check_result.
29725 (test_main): Call check1.
29726 * string/bug-strcasestr1.c: Removed.
29727 * string/bug-strchr1.c: Likewise.
29728 * string/bug-strstr1.c: Likewise.
29730 * elf/Makefile (dl-routines): Add hwcaps.
29731 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29732 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29733 (_dl_important_hwcaps): Moved to ...
29734 * elf/dl-hwcaps.c: Here. New file.
29735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29738 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29739 if IS_IN_rtld isn't defined.
29741 * elf/dl-support.c (_dl_sysinfo_map): New.
29742 Include "get-dynamic-info.h" and "setup-vdso.h".
29743 (_dl_non_dynamic_init): Call setup_vdso.
29744 * elf/dynamic-link.h: Don't include <assert.h>.
29745 (elf_get_dynamic_info): Moved to ...
29746 * elf/get-dynamic-info.h: Here. New file.
29747 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29748 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29749 * elf/setup-vdso.h: Here. New file.
29750 * elf/rtld.c: Include "setup-vdso.h".
29751 (dl_main): Call setup_vdso.
29753 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29755 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29756 creal in comment listing functions tested. List finite, isinf,
29757 isnan, isless, islessequal, isgreater, isgreaterequal,
29758 islessgreater, isunordered, lgamma_r and pow10 as functions and
29759 macros not tested. Mention which functions not tested are aliases
29760 for other functions. Fix typo. Note that signs of NaNs are not
29763 * scripts/config.guess: Update from config.git.
29764 * scripts/config.sub: Likewise.
29766 2012-10-04 Roland McGrath <roland@hack.frob.com>
29768 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29769 * misc/madvise.c (madvise): Renamed to __madvise.
29770 Make madvise a weak alias.
29771 * include/sys/mman.h: Declare __madvise.
29772 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29773 * sysdeps/unix/syscalls.list
29774 (madvise): Make __madvise the strong name, and madvise a weak alias.
29775 * sysdeps/unix/sysv/linux/syscalls.list
29776 (madvise, mmap): Remove redundant entries.
29777 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29778 * malloc/malloc.c (mtrim): Likewise.
29779 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29781 2012-10-03 Roland McGrath <roland@hack.frob.com>
29783 * sysdeps/mach/hurd/dl-cache.c: File removed.
29784 * config.h.in (USE_LDCONFIG): New #undef.
29785 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29786 * configure: Regenerated.
29787 * elf/Makefile (dl-routines): Add dl-cache only under
29788 [$(use-ldconfig) = yes].
29789 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29790 cache on [USE_LDCONFIG].
29791 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29793 * elf/rtld.c (dl_main): Likewise.
29795 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29797 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29798 _SC_LEVEL4_CACHE_LINESIZE.
29800 2012-10-03 Roland McGrath <roland@hack.frob.com>
29802 * sysdeps/unix/bsd/confstr.h: File removed.
29804 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29806 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29809 2012-10-02 Roland McGrath <roland@hack.frob.com>
29811 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29812 Make 'mapoff' field ElfW(Off) rather than off_t.
29814 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29816 * nscd/Makefile: Remove nscd-cflags and all its users.
29817 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29818 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29821 * malloc.c (malloc_printerr): Clarify error message.
29823 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29827 Set bit_FMA_Usable if FMA is supported.
29828 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29830 (bit_FMA4_Usable): Updated.
29831 (index_FMA_Usable): New macro.
29832 (CPUID_FMA): Likewise
29833 (HAS_FMA): Defined with bit_FMA_Usable.
29835 2012-10-01 Roland McGrath <roland@hack.frob.com>
29837 * bits/types.h (__swblk_t): Type removed.
29838 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29839 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29841 (__SWBLK_T_TYPE): Likewise.
29842 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29843 (__SWBLK_T_TYPE): Likewise.
29844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29845 (__SWBLK_T_TYPE): Likewise.
29846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29847 (__SWBLK_T_TYPE): Likewise.
29849 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29850 Honza Horak <hhorak@redhat.com>
29852 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29853 (xdr_mapname): Use YPMAXMAP as maxsize.
29854 (xdr_peername): Use YPMAXPEER as maxsize.
29855 (xdr_keydat): Use YPAXRECORD as maxsize.
29856 (xdr_valdat): Use YPMAXRECORD as maxsize.
29858 2012-10-01 Roland McGrath <roland@hack.frob.com>
29860 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29862 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29863 * csu/init-first.c: ... here.
29864 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29865 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29866 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29867 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29868 * sysdeps/i386/init-first.c: File removed.
29869 * sysdeps/sh/init-first.c: File removed.
29871 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29875 if x * y might underflow to zero and z is zero.
29876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29878 * math/libm-test.inc (min_subnorm_value): New variable.
29879 (fma_test): Add more tests.
29880 (fma_test_towardzero): Likewise.
29881 (fma_test_downward): Likewise
29882 (fma_test_upward): Likewise.
29883 (initialize): Set min_subnorm_value.
29885 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29891 mode for addition resulting in exact zero.
29892 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29895 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29897 * math/libm-test.inc (fma_test): Add more tests.
29898 (fma_test_towardzero): New function.
29899 (fma_test_downward): Likewise.
29900 (fma_test_upward): Likewise.
29901 (main): Call the new functions.
29903 2012-09-28 David S. Miller <davem@davemloft.net>
29905 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29907 2012-09-28 Roland McGrath <roland@hack.frob.com>
29909 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29910 instead of SIGALRM.
29912 * sysdeps/gnu/_G_config.h: Moved to ...
29913 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29914 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29915 * sysdeps/generic/_G_config.h: ... here.
29917 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29919 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29921 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29922 Conditionalize target on [libnss_test1.so-version].
29924 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29926 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29927 (elfobjdir): Move out of conditionals.
29929 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29930 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29931 (__nss_lookup_function): Conditionalize label remove_from_tree on
29932 [!DO_STATIC_NSS || SHARED], matching its only use.
29934 2012-09-28 David S. Miller <davem@davemloft.net>
29936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29937 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29939 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29943 when HWCAP_SPARC_CRYPTO is present.
29945 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29947 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29949 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29952 * stdio-common/vfprintf.c (process_string_arg): Revert
29955 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29957 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29959 * stdio-common/tst-sprintf.c: Include <locale.h>
29960 (main): Test sprintf's handling of incomplete multibyte
29963 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29965 * elf/dl-runtime.c (VERSYMIDX): Removed.
29966 * elf/dl-version.c (VERSYMIDX): Likewise.
29967 * elf/do-rel.h (VERSYMIDX): Likewise.
29968 (VALIDX): Likewise.
29969 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29970 * elf/rtld.c (VALIDX): Likewise.
29971 (ADDRIDX): Likewise.
29972 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29973 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29974 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29975 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29976 (VALIDX): Likewise.
29977 (ADDRIDX): Likewise.
29979 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29981 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29983 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29986 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29988 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29989 addresses are in the same scope as 192.0.2/24.
29990 * posix/gai.conf: Document new scope table defaults.
29992 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29995 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29996 for ftell. Compute offsets from write pointers instead.
29997 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29999 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30002 * libio/Makefile (tests): New test case tst-fseek.
30003 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30004 combination works in wide mode.
30005 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30006 state when the external buffer state changes.
30008 2012-09-27 David S. Miller <davem@davemloft.net>
30011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30012 pass reloc->r_addend in as the 'high' argument to
30013 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30017 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30019 * rt/tst-aio2.c: Include <pthread.h>.
30020 * rt/tst-aio3.c: Likewise.
30022 2012-09-27 Steve Ellcey <sellcey@mips.com>
30024 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30026 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30028 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30029 contents on [SHARED].
30031 2012-09-26 Marek Polacek <polacek@redhat.com>
30035 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30036 for C++ and GCC <4.3 as well as for non GCC compilers.
30038 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30042 2012-09-25 Roland McGrath <roland@hack.frob.com>
30044 * Makefile.in (all, install): Declare with .PHONY.
30045 Reported by Michael Hope <michael.hope@linaro.org>.
30047 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30049 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30050 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30052 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30054 (sydep_routines): Add the new and the internal functions.
30055 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30056 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30058 (GLIBC_2.17): Add the new function.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30060 (GLIBC_2.17): Likewise.
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30062 (GLIBC_2.17): Likewise.
30063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30064 (GLIBC_2.17): Likewise.
30065 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30067 2012-09-25 Alan Modra <amodra@gmail.com>
30069 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30070 Add release barrier before setting once_control to say
30071 initialisation is done. Add hints on lwarx. Use macro in
30073 (clear_once_control): Add release barrier.
30075 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30078 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30080 * math/s_clog10.c (__clog10): Likewise.
30081 * math/s_clog10f.c (__clog10f): Likewise.
30082 * math/s_clog10l.c (__clog10l): Likewise.
30083 * math/s_clogf.c (__clogf): Likewise.
30084 * math/s_clogl.c (__clogl): Likewise.
30085 * math/Makefile (libm-calls): Add x2y2m1.
30086 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30087 (__x2y2m1): Likewise.
30088 (__x2y2m1l): Likewise.
30089 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30090 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30091 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30092 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30093 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30094 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30095 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30096 * sysdeps/i386/fpu/libm-test-ulps: Update.
30097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30100 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30101 int as type of variable DEPTH.
30102 (glob): Use size_t instead of int as type of variables NEWCOUNT
30105 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30107 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30108 Add s_sincosf-sse2.
30109 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30111 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30112 macros for using routine as __sincosf_ia32.
30113 Use macro for function declaration and weak_alias.
30114 * sysdeps/i386/fpu/libm-test-ulps: Update.
30116 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30119 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30120 subnormal argument.
30121 * math/s_cexpf.c (__cexpf): Likewise.
30122 * math/s_csinf.c (__csinf): Likewise.
30123 * math/s_csinhf.c (__csinhf): Likewise.
30124 * math/s_ctanf.c (__ctanf): Likewise.
30125 * math/s_ctanhf.c (__ctanhf): Likewise.
30126 * math/s_ccosh.c (__ccoshf): Likewise.
30127 * math/s_cexp.c (__cexpl): Likewise.
30128 * math/s_csin.c (__csin): Likewise.
30129 * math/s_csinh.c (__csinh): Likewise.
30130 * math/s_ctan.c (__ctan): Likewise.
30131 * math/s_ctanh.c (ctanh): Likewise.
30132 * math/s_ccoshl.c (__ccoshl): Likewise.
30133 * math/s_cexpl.c (__cexpl): Likewise.
30134 * math/s_csinl.c (__csinl): Likewise.
30135 * math/s_csinhl.c (__csinhl): Likewise.
30136 * math/s_ctanl.c (__ctanl): Likewise.
30137 * math/s_ctanhl.c (__ctanhl): Likewise.
30139 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30141 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30142 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30143 (_IO_off_t): Define to __off_t, not _G_off_t.
30144 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30145 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30146 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30147 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30148 type of __dummy and __dummy2 fields.
30149 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30150 (_G_ssize_t): Likewise.
30151 (_G_off_t): Likewise.
30152 (_G_pid_t): Likewise.
30153 (_G_uid_t): Likewise.
30154 (_G_wchar_t): Likewise.
30155 (_G_wint_t): Likewise.
30156 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30157 (_G_ssize_t): Likewise.
30158 (_G_off_t): Likewise.
30159 (_G_pid_t): Likewise.
30160 (_G_uid_t): Likewise.
30161 (_G_wchar_t): Likewise.
30162 (_G_wint_t): Likewise.
30163 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30164 (_G_ssize_t): Likewise.
30165 (_G_off_t): Likewise.
30166 (_G_pid_t): Likewise.
30167 (_G_uid_t): Likewise.
30168 (_G_wchar_t): Likewise.
30169 (_G_wint_t): Likewise.
30171 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30173 * malloc/arena.c: Include malloc-sysdep.h.
30174 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30175 is sufficient to shrink the heap or an unmap is needed.
30176 * sysdeps/generic/malloc-sysdep.h: New file. Define
30177 new function check_may_shrink_heap.
30178 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30179 new function check_may_shrink_heap.
30181 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30183 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30186 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30188 * catgets/test-gencat.sh: Add "set -e".
30189 * elf/tst-pathopt.sh: Likewise.
30190 * grp/tst_fgetgrent.sh: Likewise.
30191 * iconvdata/run-iconv-test.sh: Likewise.
30192 * intl/tst-gettext.sh: Likewise.
30193 * intl/tst-gettext2.sh: Likewise.
30194 * intl/tst-gettext4.sh: Likewise.
30195 * intl/tst-gettext6.sh: Likewise.
30196 * intl/tst-translit.sh: Likewise.
30197 * io/ftwtest-sh: Likewise.
30198 * libio/test-freopen.sh: Likewise.
30199 * malloc/tst-mtrace.sh: Likewise.
30200 * posix/globtest.sh: Likewise.
30201 * posix/tst-getconf.sh: Likewise.
30202 * posix/wordexp-tst.sh: Likewise.
30203 * stdio-common/tst-printf.sh: Likewise.
30204 * stdio-common/tst-unbputc.sh: Likewise.
30205 * stdlib/tst-fmtmsg.sh: Likewise.
30206 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30207 * catgets/Makefile: Do not specify -e option when running
30208 testsuite shell scripts.
30209 * elf/Makefile: Likewise.
30210 * grp/Makefile: Likewise.
30211 * iconvdata/Makefile: Likewise.
30212 * intl/Makefile: Likewise.
30213 * io/Makefile: Likewise.
30214 * libio/Makefile: Likewise.
30215 * malloc/Makefile: Likewise.
30216 * posix/Makefile: Likewise.
30217 * stdio-common/Makefile: Likewise.
30218 * stdlib/Makefile: Likewise.
30219 * sysdeps/x86_64/Makefile: Likewise.
30221 * io/ftwtest-sh: Add copyright header.
30222 * posix/globtest.sh: Likewise.
30223 * posix/tst-getconf.sh: Likewise.
30224 * posix/wordexp-tst.sh: Likewise.
30225 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30227 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30230 * Makeconfig (+link): Defined as $(+link-static) if
30231 $(build-shared) isn't yes.
30232 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30234 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30236 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30239 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30240 new chunk size with MALLOC_ALIGN_MASK.
30242 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30245 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30247 (__printf_fphex): Determine rounding using get_rounding_mode and
30249 * stdio-common/tst-printf-round.c (struct hex_test): New
30251 (hex_tests): New variable.
30252 (test_hex_in_one_mode): New function.
30253 (do_test): Also run tests for hex float output.
30255 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30257 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30258 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30259 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30260 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30261 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30262 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30263 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30264 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30266 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30268 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30269 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30270 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30271 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30273 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30276 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30278 * elf/tst-rtld-load-self.sh: New test.
30279 * elf/Makefile: Run it.
30281 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30283 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30284 (tst-writev-ENV): Remove.
30285 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30287 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30289 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30291 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30293 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30295 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30297 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30298 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30299 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30302 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30305 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30306 * config.make.in (have-cpp-asm-debuginfo): Removed.
30307 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30308 * configure: Regenerated.
30310 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30313 * stdio-common/printf_fp.c: Include <stdbool.h> and
30315 (___printf_fp): Determine rounding using get_rounding_mode and
30317 * stdio-common/tst-printf-round.c: New file.
30318 * stdio-common/Makefile (tests): Add tst-printf-round.
30319 (link-libm): New variable.
30320 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30322 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30325 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30326 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30328 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30331 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30333 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30334 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30335 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30338 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30341 * include/rounding-mode.h: New file.
30342 * sysdeps/generic/get-rounding-mode.h: Likewise.
30343 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30344 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30345 (MAX_VALUE): New macro.
30346 (MIN_VALUE): Likewise.
30347 (overflow_value): New function.
30348 (underflow_value): Likewise.
30349 (round_and_return): Use overflow_value and underflow_value to
30350 determine return values in overflow and underflow cases. Use
30351 round_away to determine rounding depending on rounding mode.
30352 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30353 determine return values in overflow and underflow cases.
30354 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30355 (struct test_results): New structure.
30356 (struct test): Use struct test_results to store expected results
30357 for all rounding modes.
30358 (TEST): Include expected results for all rounding modes.
30359 (test_in_one_mode): New function.
30360 (do_test): Use test_in_one_mode to compute and check results.
30361 Check results for all rounding modes.
30362 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30365 2012-12-09 Allan McRae <allan@archlinux.org>
30367 * sysdeps/i386/fpu/libm-test-ulps: Update
30369 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30372 (_G_int32_t): Likewise.
30373 (_G_uint16_t): Likewise.
30374 (_G_uint32_t): Likewise.
30375 (_G_HAVE_BOOL): Likewise.
30376 (_G_HAVE_ATEXIT): Likewise.
30377 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30378 (_G_HAVE_IO_FILE_OPEN): Likewise.
30379 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30380 (_G_int32_t): Likewise.
30381 (_G_uint16_t): Likewise.
30382 (_G_uint32_t): Likewise.
30383 (_G_HAVE_BOOL): Likewise.
30384 (_G_HAVE_ATEXIT): Likewise.
30385 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30386 (_G_HAVE_IO_FILE_OPEN): Likewise.
30387 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30388 (_G_int32_t): Likewise.
30389 (_G_uint16_t): Likewise.
30390 (_G_uint32_t): Likewise.
30391 (_G_HAVE_BOOL): Likewise.
30392 (_G_HAVE_ATEXIT): Likewise.
30393 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30394 (_G_HAVE_IO_FILE_OPEN): Likewise.
30396 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30398 * csu/libc-tls.c: Update copyright years.
30400 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30402 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30403 [!_G_USING_THUNKS]: Remove conditional code.
30404 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30405 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30407 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30408 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30409 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30410 (_G_VTABLE_LABEL_PREFIX): Likewise.
30411 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30412 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30414 (_G_VTABLE_LABEL_PREFIX): Likewise.
30415 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30416 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30418 (_G_VTABLE_LABEL_PREFIX): Likewise.
30419 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30421 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30423 * libio/Makefile: Include ../Makeconfig before tests.
30424 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30425 only if $(build-shared) is yes.
30427 * iconv/gconv_db.c: Update copyright years.
30429 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30431 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30432 unwind info if defined PIC. Fix special cases description.
30433 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30435 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30437 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30439 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30441 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30443 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30446 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30447 (LDLIBS-tst-chk4): This.
30448 (LDFLAGS-tst-chk5): Renamed to ...
30449 (LDLIBS-tst-chk5): This.
30450 (LDFLAGS-tst-chk6): Renamed to ...
30451 (LDLIBS-tst-chk6): This.
30452 (LDFLAGS-tst-lfschk4): Renamed to ...
30453 (LDLIBS-tst-lfschk4): This.
30454 (LDFLAGS-tst-lfschk5): Renamed to ...
30455 (LDLIBS-tst-lfschk5): This.
30456 (LDFLAGS-tst-lfschk6): Renamed to ...
30457 (LDLIBS-tst-lfschk6): This.
30459 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30460 on $(common-objpfx)soversions.mk.
30462 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30465 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30468 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30470 * malloc/arena.c (arena_get_retry): New function that gets
30471 another arena for the caller to try its request on.
30472 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30473 current arena cannot fulfill the request.
30474 (__libc_memalign): Likewise.
30475 (__libc_memalign): Likewise.
30476 (__libc_pvalloc): Likewise.
30477 (__libc_calloc): Likewise.
30479 2012-09-05 John Tobey <john.tobey@gmail.com>
30482 * manual/arith.texi (Operations on Complex): Fix description
30483 of carg branch cut.
30485 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30488 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30492 * manual/memory.texi (Memory): Make order of menu items match
30495 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30497 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30498 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30499 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30501 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30503 * csu/libc-tls.c (static_dtv): Renamed to ...
30504 (_dl_static_dtv): This. Make it global.
30505 (_dl_initial_dtv): Removed.
30506 (__libc_setup_tls): Updated.
30507 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30508 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30511 2012-09-06 Petr Machata <pmachata@redhat.com>
30513 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30514 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30515 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30516 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30518 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30521 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30522 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30525 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30528 * Makeconfig (link-static-before-libc): Replace $(+prector)
30530 (link-static-after-libc): Replace $(+postctor) with
30532 (link-bounded): Replace $(+prector)/$(+postctor) with
30533 $(+prectorT)/$(+postctorT).
30534 (+prectorT): New macro.
30535 (+postctorT): Likewise.
30537 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30539 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30540 (round_str): Handle values above the maximum for IBM long double
30542 * stdlib/tst-strtod-round.c (tests): Regenerated.
30544 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30546 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30548 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30549 zarch_nohighgprs around the zarch optimized routines.
30550 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30551 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30555 2012-09-05 David S. Miller <davem@davemloft.net>
30557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30559 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30560 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30561 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30562 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30565 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30567 * malloc/arena.c: Fold copyright years.
30568 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30570 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30572 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30576 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30580 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30581 change internal state upon failure.
30583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30585 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30586 * malloc/memusage.c (mmap): Likewise.
30587 (mmap64, mremap): Likewise. Adjust name in comment.
30589 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30591 * libio/fileops.c: Fix typos in comments.
30592 * libio/oldfileops.c: Likewise.
30593 * libio/wfileops.c: Likewise.
30595 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30598 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30599 (tst-malloc-usable-ENV): Set environment for test case.
30600 * malloc/hooks.c (malloc_check_get_size): New function to get
30602 * malloc/malloc.c (musable): Use malloc_check_get_size.
30603 * malloc/tst-malloc-usable.c: New test case.
30605 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30607 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30609 2012-09-05 Allan McRae <allan@archlinux.org>
30612 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30613 determine header location.
30614 * configure: Regenerated.
30616 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30618 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30620 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30621 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30623 (test): Regenerate.
30625 2012-09-04 David S. Miller <davem@davemloft.net>
30627 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30628 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30631 2012-09-04 Florian Weimer <fweimer@redhat.com>
30633 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30636 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30638 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30641 * libio/iogetdelim.c: Include <limits.h>.
30642 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30643 + len + 1 would overflow.
30645 2012-09-03 Andreas Jaeger <aj@suse.de>
30647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30648 * sysdeps/i386/fpu/libm-test-ulps: Update.
30650 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30652 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30653 Add s_sinf-sse2, s_conf-sse2.
30655 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30656 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30657 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30658 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30660 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30661 for using routine as __sinf_ia32.
30662 Use macro for function declaration and weak_alias.
30663 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30664 for using routine as __cosf_ia32.
30665 Use macro for function declaration and weak_alias.
30667 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30668 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30670 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30671 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30674 * math/libm-test.inc (cos_test): Add more test cases.
30675 (sin_test): Likewise.
30676 (sincos_test): Likewise.
30678 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30681 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30685 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30688 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30689 first element of the GOT.
30690 (elf_machine_load_address): Return the difference between
30691 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30693 2012-09-01 Allan McRae <allan@archlinux.org>
30696 * configure.in (AWK): Require gawk version 3.0 or later.
30697 * configure: Regenerated.
30699 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30701 * sysdeps/unix/sysv/linux/kernel-features.h
30702 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30704 [__NR_clock_getres]: Make code unconditional.
30705 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30706 (clock_getcpuclockid): Remove code left unreachable by removal of
30708 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30709 code unconditional.
30710 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30712 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30713 Make code unconditional.
30714 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30715 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30716 * sysdeps/unix/sysv/linux/clock_settime.c
30717 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30719 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30722 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30725 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30726 scripts/test-installation.pl.
30728 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30729 and $ld_so_version if it is set.
30731 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30734 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30735 failure if reading from procfs failed.
30736 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30738 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30740 * sysdeps/unix/sysv/linux/kernel-features.h
30741 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30742 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30743 Remove conditional code.
30744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30745 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30746 Remove conditional code.
30747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30748 * sysdeps/unix/sysv/linux/i386/fxstat.c
30749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30751 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30754 * sysdeps/unix/sysv/linux/i386/lxstat.c
30755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30757 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30758 Remove conditional code.
30759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30760 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30761 Remove conditional code.
30762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30763 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30764 <kernel-features.h>.
30765 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30767 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30768 Remove conditional code.
30769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30770 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30771 Remove conditional.
30773 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30776 * NEWS: Add fixed bug number.
30778 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30781 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30782 underflowing exponent in case of negative sign.
30783 * stdlib/tst-strtod-round-data: Add more tests.
30784 * stdlib/tst-strtod-round.c (tests): Regenerated.
30787 * stdlib/strtod_l.c (NDIG): Remove.
30788 (HEXNDIG): Likewise.
30789 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30790 smallest representable value.
30791 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30792 lie within an exact representation of 1/2 ulp of the result.
30793 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30795 (TENS_P9_IDX): Define unconditionally.
30796 (TENS_P9_SIZE): Likewise.
30797 (TENS_P10_IDX): Likewise.
30798 (TENS_P10_SIZE): Likewise.
30799 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30800 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30801 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30802 entries for 10^2^13 and 10^2^14.
30803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30804 (TENS_P13_IDX): Define.
30805 (TENS_P13_SIZE): Likewise.
30806 (TENS_P14_IDX): Likewise.
30807 (TENS_P14_SIZE): Likewise.
30808 (_fpioconst_pow10): Change array size to
30809 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30811 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30812 1024]: Add entries for 10^2^13 and 10^2^14.
30813 [LAST_POW10 > _LAST_POW10]: Remove #error.
30814 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30815 (_fpioconst_pow10): Change array size to
30816 FPIOCONST_POW10_ARRAY_SIZE.
30817 * stdlib/gen-fpioconst.c: New file.
30818 * stdlib/gen-tst-strtod-round.c: Likewise.
30819 * stdlib/tst-strtod-round-data: Likewise.
30820 * stdlib/tst-strtod-round.c: Likewise.
30821 * stdlib/Makefile (tests): Add tst-strtod-round.
30824 * stdlib/strtod_l.c: Include <stdint.h>.
30825 (NDEBUG): Do not define.
30826 (round_and_return): Change EXPONENT parameter to type intmax_t.
30827 Rearrange calculations to avoid internal overflow possibilities.
30828 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30829 Rearrange calculations to avoid internal overflow possibilities.
30830 Assert that number fits inside MPNSIZE limbs.
30831 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30832 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30833 calculations and add assertions to avoid internal overflow
30834 possibilities. Add casts to avoid signed/unsigned operations.
30835 * stdlib/tst-strtod-overflow.c: New file.
30836 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30838 2012-08-25 Marek Polacek <polacek@redhat.com>
30840 * time/time.h: Fix some typos in comments.
30842 2012-08-23 Roland McGrath <roland@hack.frob.com>
30844 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30845 * posix/tst-rfc3484-2.c: Likewise.
30846 * posix/tst-rfc3484-3.c: Likewise.
30848 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30850 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30851 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30853 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30855 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30856 #include of fxstatat64.c.
30858 2012-08-22 Roland McGrath <roland@hack.frob.com>
30860 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30861 * shadow/getspent_r.c: Likewise.
30862 * shadow/getspnam.c: Likewise.
30863 * shadow/getspnam_r.c: Likewise.
30864 * gshadow/getsgent.c: Likewise.
30865 * gshadow/getsgent_r.c: Likewise.
30866 * gshadow/getsgnam.c: Likewise.
30867 * gshadow/getsgnam_r.c: Likewise.
30868 * inet/getnetbyad.c: Likewise.
30869 * inet/getnetbyad_r.c: Likewise.
30870 * inet/getnetbynm.c: Likewise.
30871 * inet/getnetbynm_r.c: Likewise.
30872 * inet/getnetent.c: Likewise.
30873 * inet/getnetent_r.c: Likewise.
30874 * inet/getproto.c: Likewise.
30875 * inet/getproto_r.c: Likewise.
30876 * inet/getprtent.c: Likewise.
30877 * inet/getprtent_r.c: Likewise.
30878 * inet/getprtname.c: Likewise.
30879 * inet/getprtname_r.c: Likewise.
30880 * inet/getrpcbyname.c: Likewise.
30881 * inet/getrpcbyname_r.c: Likewise.
30882 * inet/getrpcbynumber.c: Likewise.
30883 * inet/getrpcbynumber_r.c: Likewise.
30884 * inet/getrpcent.c: Likewise.
30885 * inet/getrpcent_r.c: Likewise.
30886 * inet/getaliasent.c: Likewise.
30887 * inet/getaliasent_r.c: Likewise.
30888 * inet/getaliasname.c: Likewise.
30889 * inet/getaliasname_r.c: Likewise.
30890 * nscd/getgrgid_r.c: Likewise.
30891 * nscd/getgrnam_r.c: Likewise.
30892 * nscd/gethstbyad_r.c: Likewise.
30893 * nscd/gethstbynm3_r.c: Likewise.
30894 * nscd/getpwnam_r.c: Likewise.
30895 * nscd/getpwuid_r.c: Likewise.
30896 * nscd/getsrvbynm_r.c: Likewise.
30897 * nscd/getsrvbypt_r.c: Likewise.
30898 * nscd/gai.c: Likewise.
30900 * configure.in (build_nscd): New substituted variable, set
30901 by --disable-build-nscd and defaults to $use_nscd.
30902 * configure: Regenerated.
30903 * config.make.in (build-nscd): New substituted variable.
30904 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30905 Change conditional to require [$(build-nscd) = yes] as well.
30906 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30909 * configure.in (use_nscd): New substituted variable, set by
30910 --disable-nscd. If enabled, define USE_NSCD.
30911 * configure: Regenerated.
30912 * config.h.in: Add USE_NSCD.
30913 * config.make.in (use-nscd): New substituted variable.
30914 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30915 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30916 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30917 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30918 (CFLAGS-getgrnam_r.c): Likewise.
30919 (CFLAGS-initgroups.c): Likewise.
30920 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30921 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30923 * inet/getnetgrent_r.c
30924 (nscd_setnetgrent): New function, broken out of ...
30925 (setnetgrent): ... here. Call it.
30926 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30927 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30928 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30929 * nscd/Makefile (routines, aux): Move definitions after include of
30930 Makeconfig. Conditionalize on [$(use-nscd) != no].
30931 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30932 Conditionalize on [USE_NSCD].
30933 (is_nscd, nscd_init_cb): Likewise.
30934 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30935 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30936 * nss/nss_db/db-init.c: Likewise.
30937 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30939 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30940 (make_request): Use it.
30941 (cache_valid_p): New function.
30942 (__check_pf): Use it.
30943 * NEWS: Add item for --disable-nscd.
30945 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30947 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30948 to support sed >= 4.2.1-20-ga9bf076.
30949 * configure: Regenerated.
30951 2012-08-22 Roland McGrath <roland@hack.frob.com>
30953 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30954 Conditionalize whole body on [IREL].
30956 2012-08-22 Jeff Law <law@redhat.com>
30959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30960 if the family is PF_UNSPEC.
30962 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30964 * Makerules (lib-version): Rename from V.
30965 (install-lib-nosubdir): Change V to lib-version.
30967 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30970 * powerpc32/power6/wcschr.c: New file.
30971 * powerpc32/power6/wcscpy.c: New file.
30972 * powerpc32/power6/wcsrchr.c: New file.
30973 * powerpc64/power6/wcschr.c: New file.
30974 * powerpc64/power6/wcscpy.c: New file.
30975 * powerpc64/power6/wcsrchr.c: New file.
30977 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30979 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30980 (two_way_short_needle): Use it.
30981 * string/strstr.c (AVAILABLE1_USES_J): Define.
30982 * string/strcasestr.c: Likewise.
30984 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30986 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30989 * NEWS: Add an entry.
30990 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30991 define their defaults.
30992 (two_way_short_needle): Detect end-of-string on-the-fly.
30993 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30994 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30995 * string/bug-strcasestr1.c: New test.
30996 * string/Makefile: Run it.
30998 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31001 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31002 the first character.
31004 2012-08-21 Roland McGrath <roland@hack.frob.com>
31006 * csu/elf-init.c (__libc_csu_irel): Function removed.
31007 * csu/libc-start.c (apply_irel): New function.
31008 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31010 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31012 * sysdeps/unix/sysv/linux/kernel-features.h
31013 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31014 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31015 <kernel-features.h>.
31016 [__NR_fadvise64_64]: Make code unconditional.
31017 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31018 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31019 !__NR_fadvise64_64)]: Likewise.
31020 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31021 !__NR_fadvise64_64))]: Likewise.
31022 [__NR_fadvise64]: Make code unconditional.
31023 [!__NR_fadvise64]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31025 <kernel-features.h>.
31026 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31028 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31031 not include <kernel-features.h>.
31032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31036 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31037 include <kernel-features.h>.
31038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31043 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31046 slight instruction rearrangements per scrollpipe analysis.
31047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31049 2012-08-20 Roland McGrath <roland@hack.frob.com>
31051 * manual/syslog.texi (syslog; vsyslog, closelog):
31052 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31053 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31055 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31056 DSOCAPS to match condition on defining it.
31058 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31060 * sysdeps/unix/sysv/linux/kernel-features.h
31061 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31072 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31073 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31075 * sysdeps/unix/sysv/linux/kernel-features.h
31076 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31077 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31079 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31081 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31082 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31083 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31084 Make code unconditional.
31085 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31086 (__mmap64) [!__NR_mmap2]: Likewise.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31088 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31089 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31090 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31091 [__NR_mmap2]: Make code unconditional.
31092 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31093 (__mmap64) [!__NR_mmap2]: Likewise.
31095 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31097 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31099 2012-08-18 Andreas Jaeger <aj@suse.de>
31101 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31103 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31105 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31106 * include/unistd.h (__have_sock_cloexec): Likewise.
31107 (__have_pipe2): Likewise.
31108 (__have_dup3): Likewise.
31110 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31113 * include/unistd.h (__have_pipe2): Change define into an extern int.
31114 (__have_dup3): Likewise.
31115 * socket/have_sock_cloexec.c: Include fcntl.h.
31116 (__have_pipe2): New variable.
31117 (__have_dup3): Likewise.
31119 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31121 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31123 2012-08-17 Marek Polacek <polacek@redhat.com>
31125 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31126 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31128 2012-08-17 Roland McGrath <roland@hack.frob.com>
31130 * configure.in: Add AC_SUBST for sysheaders.
31131 * configure: Regenerated.
31132 * config.make.in (sysheaders): New substituted variable.
31134 * sysdeps/unix/mkfifo.c: Moved ...
31135 * sysdeps/posix/mkfifo.c: ... here.
31136 * sysdeps/unix/mkfifoat.c: Moved ...
31137 * sysdeps/posix/mkfifoat.c: ... here.
31139 * sysdeps/unix/utime.c: Moved ...
31140 * sysdeps/posix/utime.c: ... here.
31142 * sysdeps/unix/time.c: Moved ...
31143 * sysdeps/posix/time.c: ... here.
31144 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31147 * sysdeps/unix/nice.c: Moved ...
31148 * sysdeps/posix/nice.c: ... here.
31150 * sysdeps/unix/alarm.c: Moved ...
31151 * sysdeps/posix/alarm.c: ... here.
31153 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31155 2012-08-17 Jeff Law <law@redhat.com>
31157 * intl/Makefile (codeset_mo): New variable.
31158 ($(codeset_mo)): New target.
31159 (tst-codeset.out): Depend on that. Remove explicit rule.
31160 (tst-gettext3.out, tst-gettext5.out): Likewise.
31161 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31162 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31163 * intl/tst-codeset.sh: Remove.
31164 * intl/tst-gettext3.sh: Likewise.
31165 * intl/tst-gettext5.sh: Likewise.
31167 2012-08-17 Roland McGrath <roland@hack.frob.com>
31169 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31170 * sysdeps/unix/syscalls.list: ... here.
31172 * sysdeps/posix/getaddrinfo.c
31173 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31174 (gaiconf_init, gaiconf_reload): Use them.
31175 [!_STATBUF_ST_NSEC]
31176 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31177 Define using time_t rather than struct timespec.
31179 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31180 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31182 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31184 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31185 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31188 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31189 __libc_cleanup_push argument.
31191 * bits/param.h: New file.
31192 * misc/sys/param.h: New file.
31193 * include/sys/param.h: New file.
31194 * misc/Makefile (headers): Add bits/param.h.
31195 * sysdeps/generic/sys/param.h: File removed.
31196 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31197 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31198 * sysdeps/mach/hurd/bits/param.h: New file.
31199 * sysdeps/mach/hurd/sys/param.h: File removed.
31201 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31204 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31206 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31207 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31210 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31211 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31212 rather than -D_IO_MTSAFE_IO conditionally.
31213 * stdio-common/Makefile (CPPFLAGS): Likewise.
31214 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31215 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31216 Use $(libio-mtsafe).
31217 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31218 of -D_IO_MTSAFE_IO.
31219 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31220 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31221 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31222 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31223 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31224 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31225 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31226 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31227 (CFLAGS-fread_u_chk.c): Likewise.
31228 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31229 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31230 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31231 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31232 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31233 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31234 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31235 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31236 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31238 * libio/Makefile: Test [$(libc-reentrant) = yes]
31239 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31242 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31243 * sysdeps/pthread/configure: File removed.
31244 * sysdeps/pthread/Makeconfig: New file.
31245 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31246 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31248 2012-08-16 Gary Benson <gbenson@redhat.com>
31250 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31251 unmapping the first object in a namespace.
31253 2012-08-16 Roland McGrath <roland@hack.frob.com>
31255 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31256 (__internal_setnetgrent): ... this. Add internal_function to
31257 definition. Add libc_hidden_def.
31258 (setnetgrent): Update caller.
31259 (internal_endnetgrent): Renamed to ...
31260 (__internal_endnetgrent): ... this. Add internal_function to
31261 definition. Add libc_hidden_def.
31262 (endnetgrent): Update caller.
31263 (internal_getnetgrent_r): Renamed to ...
31264 (__internal_getnetgrent_r): ... this. Add internal_function to
31265 definition. Add libc_hidden_def.
31266 (__getnetgrent_r): Update caller.
31267 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31269 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31271 * stdlib/longlong.h: Update from GCC.
31273 2012-08-16 Roland McGrath <roland@hack.frob.com>
31275 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31276 on _QL, which is set by umul_ppmm but never used.
31277 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31278 variables, which are set by GMP macros but never used.
31279 * stdio-common/_itowa.c (_itowa): Likewise.
31280 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31281 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31283 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31285 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31286 struct La_sh_regs is not constant.
31287 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31288 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31289 and struct La_sparc64_regs are not constant.
31291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31293 * sysdeps/unix/sysv/linux/kernel-features.h
31294 (__ASSUME_POSIX_TIMERS): Remove.
31295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31297 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31298 Make code unconditional.
31299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31300 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31301 Make code unconditional.
31302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31303 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31304 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31306 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31307 Make code unconditional.
31308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31309 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31310 (__libc_missing_posix_timers): Remove.
31312 2012-08-15 Roland McGrath <roland@hack.frob.com>
31314 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31315 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31317 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31319 * elf/dl-sym.c: Include <stdlib.h>.
31321 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31322 constants, which avoids warnings in 32-bit builds.
31324 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31325 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31327 * misc/lseek.c: File moved to ...
31328 * io/lseek.c: ... here.
31330 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31332 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31333 shifting LEN more than 31 bits at once.
31335 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31338 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31339 segmentation fault for a case of two empty input strings.
31340 * string/test-strncasecmp.c (check1): Renamed to...
31341 (bz12205): ...this.
31342 (bz14195): Add new testcase for two empty input strings and N > 0.
31343 (test_main): Call new testcase, adapt for renamed function.
31345 2012-08-15 Andreas Jaeger <aj@suse.de>
31348 * crypt/md5test2.c: New test, based on test supplied by Serge
31349 Belyshev <belyshev@depni.sinp.msu.ru>.
31350 * crypt/Makefile (xtests): Add md5test-giant..
31351 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31353 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31356 * crypt/md5.c (md5_process_block): Don't assume the buffer
31357 length is less than 2**32.
31358 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31359 length is less than 2**64.
31361 2012-08-15 Roland McGrath <roland@hack.frob.com>
31363 * string/str-two-way.h: Include <sys/param.h>.
31364 (MAX): Macro removed.
31366 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31367 Move #define and #undef of memmove to just before and after
31368 including <string.h>.
31370 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31371 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31372 and after including <string.h>. Move declarations of
31373 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31374 to before #include "string/memmove.c".
31376 * include/dirent.h: Declare __getdirentries.
31378 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31379 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31381 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31383 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31384 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31385 * sysdeps/i386/configure: Regenerated.
31386 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31387 STABS_CURRENT_FILE, and STABS_FUN.
31388 (END): Remove call to STABS_FUN_END.
31389 (STABS_CURRENT_FILE1): Delete.
31390 (STABS_CURRENT_FILE): Likewise.
31391 (STABS_FUN): Likewise.
31392 (STABS_FUN_END): Likewise.
31393 (STABS_FUN2): Likewise.
31394 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31395 * sysdeps/x86_64/configure: Regenerated.
31397 2012-08-14 Roland McGrath <roland@hack.frob.com>
31399 * elf/dl-open.c: Include <atomic.h>.
31400 * elf/dl-lookup.c: Likewise.
31402 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31404 * sysdeps/unix/sysv/linux/kernel-features.h
31405 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31406 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31408 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31410 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31411 condition on __ASSUME_CLONE_THREAD_FLAGS.
31413 2012-08-14 Andreas Jaeger <aj@suse.de>
31415 * sysdeps/i386/fpu/libm-test-ulps: Update.
31417 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31419 * include/atomic.h (atomic_exchange_and_add): Split into ...
31420 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31423 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31427 2012-08-13 Jeff Law <law@redhat.com>
31429 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31430 null byte in the output string.
31432 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31434 * sysdeps/unix/sysv/linux/kernel-features.h
31435 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31436 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31437 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31438 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31439 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31440 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31441 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31443 2012-08-09 Jeff Law <law@redhat.com>
31446 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31447 When avoid_arena is set, don't retry in the that arena. Pick the
31448 next one, whatever it might be.
31449 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31450 (arena_lock): Pass in new parameter to arena_get2.
31451 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31453 (__libc_malloc): Unify retrying after main arena failure with
31454 __libc_memalign version.
31455 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31457 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31460 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31461 to __redirect_strstr.
31462 (__strstr_sse42): Use typeof __redirect_strstr.
31463 (__strstr_ia32): Likewise.
31464 (__libc_strstr): New prototype.
31465 (strstr): Renamed to ...
31466 (__libc_strstr): This.
31467 (strstr): New strong alias of __libc_strstr.
31468 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31472 (__libc_time): New prototype.
31473 (time_ifunc): Replace time with __libc_time.
31474 (time): New strong alias and hidden definition of __libc_time.
31475 (__GI_time): Remove strong alias.
31476 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31477 Include <stddef.h>.
31478 (memmove): Redefined to __redirect_memmove.
31479 (__memmove_sse2): Use typeof __redirect_memmove.
31480 (__memmove_ssse3): Likewise.
31481 (__memmove_ssse3_back): Likewise.
31482 (__libc_memmove): New prototype.
31483 (memmove): Renamed to ...
31484 (__libc_memmove): This.
31485 (memmove): New strong alias of __libc_memmove.
31487 2012-08-08 Mark Salter <msalter@redhat.com>
31490 (R_MN10300_TLS_GD): Define.
31491 (R_MN10300_TLS_LD): Likewise.
31492 (R_MN10300_TLS_LDO): Likewise.
31493 (R_MN10300_TLS_GOTIE): Likewise.
31494 (R_MN10300_TLS_IE): Likewise.
31495 (R_MN10300_TLS_LE): Likewise.
31496 (R_MN10300_TLS_DTPMOD): Likewise.
31497 (R_MN10300_TLS_DTPOFF): Likewise.
31498 (R_MN10300_TLS_TPOFF): Likewise.
31499 (R_MN10300_SYM_DIFF): Likewise.
31500 (R_MN10300_ALIGN): Likewise.
31501 (R_MN10300_NUM): Update.
31503 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31508 2012-08-08 Roland McGrath <roland@hack.frob.com>
31510 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31512 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31513 sysdeps/unix -> sysdeps/posix move.
31514 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31516 2012-08-07 Allan McRae <allan@archlinux.org>
31519 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31520 (SUNOS_CPP): Likewise.
31521 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31523 (open_input): Call CPP using execvp.
31525 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31527 * sysdeps/unix/sysv/linux/kernel-features.h
31528 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31529 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31530 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31531 (__ASSUME_WAITID_SYSCALL): Likewise.
31532 * sysdeps/unix/sysv/linux/dl-execstack.c
31533 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31534 code unconditional.
31535 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31537 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31538 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31539 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31541 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31543 [__ASSUME_WAITID_SYSCALL]: Likewise.
31544 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31546 2012-08-07 Roland McGrath <roland@hack.frob.com>
31548 * sysdeps/unix/closedir.c: Renamed to ...
31549 * sysdeps/posix/closedir.c: ... here.
31550 * sysdeps/unix/dirfd.c: Renamed to ...
31551 * sysdeps/posix/dirfd.c: ... here.
31552 * sysdeps/unix/dirstream.h: Renamed to ...
31553 * sysdeps/posix/dirstream.h: ... here.
31554 * sysdeps/unix/fdopendir.c: Renamed to ...
31555 * sysdeps/posix/fdopendir.c: ... here.
31556 * sysdeps/unix/opendir.c: Renamed to ...
31557 * sysdeps/posix/opendir.c: ... here.
31558 * sysdeps/unix/readdir.c: Renamed to ...
31559 * sysdeps/posix/readdir.c: ... here.
31560 * sysdeps/unix/readdir_r.c: Renamed to ...
31561 * sysdeps/posix/readdir_r.c: ... here.
31562 * sysdeps/unix/rewinddir.c: Renamed to ...
31563 * sysdeps/posix/rewinddir.c: ... here.
31564 * sysdeps/unix/seekdir.c: Renamed to ...
31565 * sysdeps/posix/seekdir.c: ... here.
31566 * sysdeps/unix/telldir.c: Renamed to ...
31567 * sysdeps/posix/telldir.c: ... here.
31568 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31569 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31570 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31571 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31573 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31574 * bits/fcntl.h: ... here.
31576 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31578 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31579 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31580 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31581 (struct flock): Move l_start, l_len to the beginning.
31582 Use __pid_t for l_pid.
31583 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31584 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31585 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31586 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31587 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31588 [__USE_LARGEFILE64] (struct flock64): New type.
31589 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31591 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31592 * bits/dirent.h: ... here.
31594 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31595 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31597 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31600 Change from 2.6.0 to 2.6.16.
31601 * sysdeps/unix/sysv/linux/configure: Regenerated.
31602 * sysdeps/unix/sysv/linux/kernel-features.h
31603 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31604 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31606 (__ASSUME_UTIMES): Likewise.
31607 (__ASSUME_CLONE_STOPPED): Remove.
31608 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31609 architectures, not kernel version.
31610 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31611 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31612 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31613 (__ASSUME_WAITID_SYSCALL): Likewise.
31614 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31615 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31616 * README: State 2.6.16 as minimum Linux kernel version. Do not
31617 refer to older versions.
31619 2012-08-06 Roland McGrath <roland@hack.frob.com>
31621 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31622 Define alphasort64 as an alias.
31623 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31624 Define versionsort64 as an alias.
31625 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31626 Define scandir64 as an alias.
31627 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31628 Define scandirat64 as an alias.
31629 * dirent/alphasort64.c (alphasort64):
31630 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31631 * dirent/versionsort64.c: Likewise.
31632 * dirent/scandir64.c: Likewise.
31633 * dirent/scandirat64.c: Likewise.
31634 * sysdeps/wordsize-64/alphasort.c: File removed.
31635 * sysdeps/wordsize-64/alphasort64.c: File removed.
31636 * sysdeps/wordsize-64/scandir.c: File removed.
31637 * sysdeps/wordsize-64/scandir64.c: File removed.
31638 * sysdeps/wordsize-64/scandirat.c: File removed.
31639 * sysdeps/wordsize-64/scandirat64.c: File removed.
31640 * sysdeps/wordsize-64/versionsort.c: File removed.
31641 * sysdeps/wordsize-64/versionsort64.c: File removed.
31642 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31644 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31646 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31651 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31653 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31655 [defined __arch64__ || defined __sparcv9]
31656 (__INO_T_MATCHES_INO64_T): New macro.
31657 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31658 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31659 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31660 * sysdeps/unix/sysv/linux/bits/dirent.h
31661 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31662 (_DIRENT_MATCHES_DIRENT64): New macro.
31664 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31665 Define lockf64 as an alias.
31666 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31667 Define fseeko64 as an alias.
31668 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31669 Define ftello64 as an alias.
31670 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31671 Define _IO_fgetpos64 and fgetpos64 as aliases.
31672 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31673 Define _IO_fsetpos64 and fsetpos64 as aliases.
31674 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31675 Conditionalize body on this.
31676 * libio/fseeko64.c: Likewise.
31677 * libio/ftello64.c: Likewise.
31678 * libio/iofgetpos64.c: Likewise.
31679 * libio/iofsetpos64.c: Likewise.
31680 * sysdeps/wordsize-64/lockf.c: File removed.
31681 * sysdeps/wordsize-64/lockf64.c: File removed.
31682 * sysdeps/wordsize-64/fseeko.c: File removed.
31683 * sysdeps/wordsize-64/fseeko64.c: File removed.
31684 * sysdeps/wordsize-64/ftello.c: File removed.
31685 * sysdeps/wordsize-64/ftello64.c: File removed.
31686 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31687 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31688 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31689 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31701 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31703 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31705 [defined __arch64__ || defined __sparcv9]
31706 (__OFF_T_MATCHES_OFF64_T): New macro.
31707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31708 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31710 (__OFF_T_MATCHES_OFF64_T): New macro.
31712 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31714 * stdlib/secure-getenv.c (__secure_getenv): Replace
31715 GLIBC_2_16 with GLIBC_2_17.
31717 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31719 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31722 2012-08-03 David S. Miller <davem@davemloft.net>
31724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31726 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31728 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31730 (__ASSUME_CORRECT_SI_PID): Likewise.
31731 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31732 (__ASSUME_TMPFS_NAME): Likewise.
31733 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31734 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31735 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31736 (HAVE_AUX_SECURE): Make definition unconditional.
31737 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31738 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31740 2012-08-03 Roland McGrath <roland@hack.frob.com>
31742 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31743 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31744 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31745 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31746 __eloop_threshold instead of SYMLOOP_MAX.
31748 * sysdeps/generic/eloop-threshold.h: New file.
31749 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31751 * elf/chroot_canon.c (chroot_canon): Likewise.
31753 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31757 Change to 2.6.0 everywhere.
31758 * sysdeps/unix/sysv/linux/configure: Regenerated.
31759 * sysdeps/unix/sysv/linux/kernel-features.h
31760 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31761 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31763 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31764 (__ASSUME_FUTEX_REQUEUE): Remove.
31765 (__ASSUME_STATFS64): Define unconditionally.
31766 (__ASSUME_AT_SECURE): Likewise.
31767 (__ASSUME_CORRECT_SI_PID): Likewise.
31768 (__ASSUME_TGKILL): Define without depending on kernel version for
31770 (__ASSUME_UTIMES): Likewise.
31771 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31773 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31774 (__ASSUME_TMPFS_NAME): Likewise.
31775 * README: Update reference to Linux kernel versions.
31777 2012-08-02 Marek Polacek <polacek@redhat.com>
31780 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31781 libc_cv_asm_type_prefix with %.
31782 * configure: Regenerated.
31783 * include/libc-symbols.h: Remove comment about
31784 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31785 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31786 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31787 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31788 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31789 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31790 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31791 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31792 * elf/tst-unique2mod1.c: Likewise.
31793 * elf/tst-unique1mod2.c: Likewise.
31794 * elf/tst-unique1mod1.c: Likewise.
31795 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31796 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31797 Replace ASM_TYPE_DIRECTIVE with .type.
31798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31799 * sysdeps/i386/sysdep.h: Likewise.
31800 * sysdeps/x86_64/sysdep.h: Likewise.
31801 * sysdeps/sh/sysdep.h: Likewise.
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31803 Do not define ASM_TYPE_DIRECTIVE.
31804 * sysdeps/powerpc/sysdep.h: Likewise.
31805 * sysdeps/powerpc/powerpc32/sysdep.h:
31806 Replace ASM_TYPE_DIRECTIVE with .type.
31807 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31808 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31809 * sysdeps/i386/fpu/e_powf.S: Likewise.
31810 * sysdeps/i386/fpu/e_expl.S: Likewise.
31811 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31813 * sysdeps/i386/fpu/e_pow.S: Likewise.
31814 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31815 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31816 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31817 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31818 * sysdeps/i386/fpu/e_log2.S: Likewise.
31819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31820 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31821 * sysdeps/i386/fpu/e_powl.S: Likewise.
31822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31824 * sysdeps/i386/fpu/e_logl.S: Likewise.
31825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31830 * sysdeps/i386/fpu/e_log.S: Likewise.
31831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31832 * sysdeps/i386/fpu/e_logf.S: Likewise.
31833 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31834 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31835 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31836 * sysdeps/i386/fpu/e_log10.S: Likewise.
31837 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31838 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31839 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31840 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31842 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31843 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31844 * sysdeps/i386/i686/strtok.S: Likewise.
31845 * sysdeps/i386/i386-mcount.S: Likewise.
31846 * sysdeps/i386/strtok.S: Likewise.
31847 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31851 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31853 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31854 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31856 * sysdeps/x86_64/_mcount.S: Likewise.
31857 * sysdeps/x86_64/strtok.S: Likewise.
31858 * sysdeps/sh/_mcount.S: Likewise.
31860 2012-08-01 Roland McGrath <roland@hack.frob.com>
31862 * libio/iofopen.c: Include <fcntl.h>.
31863 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31864 (_IO_fopen64, fopen64): Define as aliases.
31865 * libio/iofopen64.c: Include <fcntl.h>.
31866 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31867 Conditionalize body on this.
31868 * sysdeps/wordsize-64/iofopen.c: File removed.
31869 * sysdeps/wordsize-64/iofopen64.c: File removed.
31871 2012-08-01 Marek Polacek <polacek@redhat.com>
31873 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31874 Use dlfcn directly instead of a variable.
31875 (binfmt-subdir): Do not define.
31878 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31881 Remove all definitions.
31882 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31883 <kernel-features.h>.
31884 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31885 (miss_F_GETOWN_EX): Remove all definitions.
31886 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31888 [!__ASSUME_FCNTL64]: Remove conditional code.
31889 [__ASSUME_FCNTL64]: Make code unconditional.
31890 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31891 <kernel-features.h>.
31892 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31893 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31894 (lockf64) [__NR_fcntl64]: Make code unconditional.
31895 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31897 * sysdeps/unix/sysv/linux/kernel-features.h
31898 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31899 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31900 Make code unconditional.
31901 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31902 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31904 [__NR_vfork]: Make code unconditional.
31905 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31906 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31908 [__NR_vfork]: Make code unconditional.
31909 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31910 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31912 2012-08-01 Roland McGrath <roland@hack.frob.com>
31914 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31915 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31917 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31918 Define mkstemp64 as an alias.
31919 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31920 Define mkstemps64 as an alias.
31921 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31922 Define mkostemp64 as an alias.
31923 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31924 Define mkostemps64 as an alias.
31925 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31926 Conditionalize body on this.
31927 * misc/mkostemp64.c: Likewise.
31928 * misc/mkostemps64.c: Likewise.
31929 * misc/mkstemps64.c: Likewise.
31930 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31931 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31932 * sysdeps/wordsize-64/mkostemp.c: File removed.
31933 * sysdeps/wordsize-64/mkstemp.c: File removed.
31934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31935 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31940 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31941 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31942 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31943 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31945 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31946 compat_symbol macros from <shlib-compat.h> rather than the underlying
31947 default_symbol_version and symbol_version macros, so that DEFAULT
31948 lines in shlib-versions are respected.
31949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31951 2012-08-01 Florian Weimer <fweimer@redhat.com>
31953 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31954 Declare with warn_unused_result.
31955 (setgid, setregid, setegid, setresgid): Likewise.
31956 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31958 * WUR-REPORT: Remove set*id functions.
31960 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31962 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31964 2012-07-31 Roland McGrath <roland@hack.frob.com>
31967 * include/sys/socket.h (__libc_accept, __libc_accept4):
31968 Add attribute_hidden.
31969 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31971 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31973 * inet/getnetgrent_r.c (setup): Likewise.
31975 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31977 2012-07-31 David S. Miller <davem@davemloft.net>
31979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31981 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31984 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31985 value between 1.0 and 2.0 and smaller part has absolute value less
31987 * math/s_clog10.c (__clog10): Likewise.
31988 * math/s_clog10f.c (__clog10f): Likewise.
31989 * math/s_clog10l.c (__clog10l): Likewise.
31990 * math/s_clogf.c (__clogf): Likewise.
31991 * math/s_clogl.c (__clogl): Likewise.
31992 * math/libm-test.inc (clog_test): Add more tests.
31993 (clog10_test): Likewise.
31994 * sysdeps/i386/fpu/libm-test-ulps: Update.
31995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31997 2012-07-31 Florian Weimer <fweimer@redhat.com>
31999 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32000 Exit with zero in case no suitable GID is found, and write a
32001 message to standard error.
32003 2012-07-30 Roland McGrath <roland@hack.frob.com>
32005 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32007 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32008 (MAXPATHLEN): Removed.
32009 (NOGROUP, NODEV): New macros.
32010 (setbit, clrbit, isset, isclr): New macros.
32011 (howmany, roundup, powerof2): New macros.
32012 (DEV_BSIZE): New macro.
32014 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32015 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32017 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32018 definition on [!__NO_LONG_DOUBLE_MATH].
32020 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32021 PTR_MANGLE and PTR_DEMANGLE.
32023 * socket/accept4.c (accept4): Rename to __libc_accept4.
32024 Define accept4 as a weak alias.
32026 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32027 on [_DIRENT_HAVE_D_TYPE].
32028 * io/ftw.c (ftw_dir): Likewise.
32030 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32032 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32034 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32035 Use the BSD numbers rather than the arbitrary ones we had.
32036 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32037 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32038 (SIGXCPU, SIGXFSZ): New macros.
32041 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32042 initializer on [_LIBC_REENTRANT].
32044 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32045 definitions inside [_POSIX_MAPPED_FILES].
32047 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32049 * dirent/opendir.c: Include <fcntl.h>.
32051 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32052 (__libc_getspecific): Likewise.
32053 (__libc_key_create): Likewise.
32055 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32056 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32057 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32058 (tmpfile64): Define as alias.
32059 * sysdeps/wordsize-64/tmpfile.c: File removed.
32060 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32061 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32064 * stdio-common/vfscanf.c: Include <stdbool.h>.
32065 * nss/makedb.c: Likewise.
32066 * stdio-common/_i18n_number.h: Likewise.
32067 * argp/argp-help.c: Likewise.
32068 * posix/wordexp.c: Likewise.
32069 * sysdeps/posix/spawni.c: Likewise.
32070 * nss/nss_files/files-initgroups.c: Likewise.
32071 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32072 * nss/nss_files/files-initgroups.c: Likewise.
32073 * nss/nss_db/db-netgrp.c: Likewise.
32074 * nss/nss_db/db-initgroups.c: Likewise.
32075 * io/fchmodat.c: Include <sys/stat.h>.
32077 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32078 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32080 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32083 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32084 Add multiple inclusion protection.
32086 2012-07-27 David S. Miller <davem@davemloft.net>
32088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32090 2012-07-27 Gary Benson <gbenson@redhat.com>
32093 * elf/rtld.c: Include <stap-probe.h>.
32094 (dl_main): Added static probes "init_start" and "init_complete".
32095 * elf/dl-load.c: Include <stap-probe.h>.
32096 (lose): Take new parameter "nsid".
32097 Added static probe "map_failed".
32098 (_dl_map_object_from_fd): Pass namespace id to lose.
32099 Added static probe "map_start".
32100 (open_verify): Pass namespace id to lose.
32101 * elf/dl-open.c: Include <stap-probe.h>.
32102 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32103 and "reloc_complete".
32104 * elf/dl-close.c: Include <stap-probe.h>.
32105 (_dl_close_worker): Added static probes "unmap_start" and
32107 * elf/rtld-debugger-interface.txt: New file documenting the above.
32109 2012-07-26 Roland McGrath <roland@hack.frob.com>
32111 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32112 rather than a string variable.
32113 * sunrpc/rpc_main.c (h_output): Likewise.
32114 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32116 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32118 * inet/check_native.c: New file.
32120 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32123 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32124 if larger part has absolute value 1.0.
32125 * math/s_clog10.c (__clog10): Likewise.
32126 * math/s_clog10f.c (__clog10f): Likewise.
32127 * math/s_clog10l.c (__clog10l): Likewise.
32128 * math/s_clogf.c (__clogf): Likewise.
32129 * math/s_clogl.c (__clogl): Likewise.
32130 * math/libm-test.inc (clog_test): Add more tests.
32131 (clog10_test): Likewise.
32132 * sysdeps/i386/fpu/libm-test-ulps: Update.
32133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32135 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32136 (pltexit): Likewise.
32137 (La_regs): Likewise.
32138 (La_retval): Likewise.
32139 (int_retval): Likewise.
32140 Update #error for removed macros to refer only to definitions in
32142 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32144 (pltexit): Likewise.
32145 (La_regs): Likewise.
32146 (La_retval): Likewise.
32147 (int_retval): Likewise.
32148 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32150 (pltexit): Likewise.
32151 (La_regs): Likewise.
32152 (La_retval): Likewise.
32153 (int_retval): Likewise.
32154 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32156 (pltexit): Likewise.
32157 (La_regs): Likewise.
32158 (La_retval): Likewise.
32159 (int_retval): Likewise.
32160 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32162 (pltexit): Likewise.
32163 (La_regs): Likewise.
32164 (La_retval): Likewise.
32165 (int_retval): Likewise.
32166 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32168 (pltexit): Likewise.
32169 (La_regs): Likewise.
32170 (La_retval): Likewise.
32171 (int_retval): Likewise.
32172 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32174 (pltexit): Likewise.
32175 (La_regs): Likewise.
32176 (La_retval): Likewise.
32177 (int_retval): Likewise.
32178 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32179 macro definitions in tst-audit.h.
32180 * sysdeps/i386/tst-audit.h: New file.
32181 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32182 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32183 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32184 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32185 * sysdeps/sh/tst-audit.h: Likewise.
32186 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32187 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32188 * sysdeps/x86_64/tst-audit.h: Likewise.
32190 2012-07-26 Andreas Jaeger <aj@suse.de>
32192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32195 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32196 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32197 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32199 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32200 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32201 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32203 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32206 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32208 (si_call_addr, si_syscall, si_arch): Define new macro.
32209 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32211 (si_call_addr, si_syscall, si_arch): Define new marcro.
32212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32214 (si_call_addr, si_syscall, si_arch): Define new macro.
32215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32217 (si_call_addr, si_syscall, si_arch): Define new macro.
32219 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32223 Change to 2.4.21 where previously 2.4.1.
32224 * sysdeps/unix/sysv/linux/configure: Regenerated.
32225 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32226 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32227 Linux kernel version.
32228 (__ASSUME_STD_AUXV): Remove.
32229 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32231 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32232 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32233 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32234 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32235 (__ASSUME_NETLINK_SUPPORT): Likewise.
32236 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32237 (__no_netlink_support): Remove conditional definition.
32238 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32240 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32241 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32242 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32243 (if_nameindex_ioctl): Remove.
32244 (if_nameindex_netlink): Do not handle __no_netlink_support.
32245 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32247 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32248 Remove conditional code.
32249 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32251 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32253 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32254 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32255 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32257 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32258 [!__ASSUME_STD_AUXV]: Remove conditional code.
32259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32260 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32261 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32263 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32264 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32266 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32268 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32269 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32271 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32273 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32276 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32279 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32280 code unconditional.
32281 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32283 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32285 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32288 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32290 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32293 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32294 code unconditional.
32295 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32297 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32299 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32302 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32303 code unconditional.
32304 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32306 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32308 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32311 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32313 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32315 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32316 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32317 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32318 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32319 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32320 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32321 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32322 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32323 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32324 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32325 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32326 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32327 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32328 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32330 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32334 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32337 2012-07-25 Florian Weimer <fweimer@redhat.com>
32339 * Versions.def: Add GLIBC_2.17.
32340 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32341 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32342 Introduce __libc_secure_getenv.
32343 * stdlib/Versions (2.17): Add secure_getenv
32344 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32345 * stdlib/secure-getenv.c: Rename __secure_getenv to
32346 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32347 symbol __secure_getenv for GLIBC_2.0.
32348 * stdlib/tst-secure-getenv.c: New.
32349 * stdlib/Makefile (tests): Add testcase.
32350 * manual/startup.texi (Environment Access): Document
32352 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32353 __libc_secure_getenv.
32354 * inet/ruserpass.c (ruserpass): Likewise.
32355 * malloc/mtrace.c (mtrace): Likewise.
32356 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32357 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32358 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32359 * sysdeps/posix/tempname.c: Likewise. Evaluate
32360 HAVE_SECURE_GETENV.
32361 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32362 __secure_getenv to __libc_secure_getenv.
32363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32376 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32378 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32379 (struct La_i86_retval): Likewise.
32380 (struct La_x86_64_regs): Likewise.
32381 (struct La_x86_64_retval): Likewise.
32382 (struct La_x32_regs): Likewise.
32383 (struct La_x32_retval): Likewise.
32384 (struct La_ppc32_regs): Likewise.
32385 (struct La_ppc32_retval): Likewise.
32386 (struct La_ppc64_regs): Likewise.
32387 (struct La_ppc64_retval): Likewise.
32388 (struct La_sh_regs): Likewise.
32389 (struct La_sh_retval): Likewise.
32390 (struct La_s390_32_regs): Likewise.
32391 (struct La_s390_32_retval): Likewise.
32392 (struct La_s390_64_regs): Likewise.
32393 (struct La_s390_64_retval): Likewise.
32394 (struct La_sparc32_regs): Likewise.
32395 (struct La_sparc32_retval): Likewise.
32396 (struct La_sparc64_regs): Likewise.
32397 (struct La_sparc64_retval): Likewise.
32398 (struct audit_ifaces): Remove architecture-specific pltenter and
32400 * sysdeps/i386/ldsodefs.h: New file.
32401 * sysdeps/powerpc/ldsodefs.h: Likewise.
32402 * sysdeps/s390/ldsodefs.h: Likewise.
32403 * sysdeps/sh/ldsodefs.h: Likewise.
32404 * sysdeps/sparc/ldsodefs.h: Likewise.
32405 * sysdeps/x86_64/ldsodefs.h: Likewise.
32407 2012-07-25 Marek Polacek <polacek@redhat.com>
32410 * math/libm-test.inc (yn_test): Add another test.
32411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32412 to ERANGE when the result is +-Inf.
32413 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32414 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32415 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32418 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32420 * conform/data/time.h-data (NULL): Use macro-constant. Require
32422 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32424 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32426 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32428 * configure.in <sysdeps resolving>: Correct printing
32430 * configure: Regenerate.
32432 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32434 * math/w_ilogb.c: Include <limits.h>.
32435 * math/w_ilogbl.c: Likewise.
32437 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32439 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32440 va_copy. Document allowing for unavailable va_copy only as
32441 pre-C99 compatibility.
32442 * manual/string.texi (Copying and Concatenation): Use va_copy
32443 instead of __va_copy in concat example.
32445 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32447 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32448 (__sendto): Use create_address_port. Initialize APORT and deallocate
32451 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32452 with O_NOLINK passed to __file_name_lookup.
32454 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32455 with O_NOLINK passed to __file_name_lookup.
32457 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32458 negative N or less than NGIDS.
32460 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32461 type to string_t. Set ERANGE as errno and return it if NAME is not big
32462 enough. Use memcpy instead of strncpy.
32464 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32466 * elf/Makefile (check-data): Remove.
32467 (localplt.data): New vpath directive.
32468 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32469 instead of $(check-data).
32470 * scripts/data/localplt-generic.data: Move to ...
32471 * sysdeps/generic/localplt.data: ... here.
32472 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32473 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32474 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32477 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32480 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32483 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32486 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32489 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32493 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32495 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32496 PPC32 and PPC64 files.
32497 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32498 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32500 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32502 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32503 __makecontext_ret to ...
32504 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32505 ... here and call exit if uc_link is NULL. New file.
32506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32507 __makecontext_ret.S.
32508 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32509 __makecontext_ret to ...
32510 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32511 ... here and call exit if uc_link is NULL. New file.
32512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32513 __makecontext_ret.S.
32515 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32517 * elf/elf.h (R_390_IRELATIVE): New definition.
32518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32519 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32520 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32522 (elf_machine_lazy_rel): Likewise.
32523 * sysdeps/s390/dl-irel.h: New file.
32524 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32525 * sysdeps/s390/s390-64/memset.S: New asm code.
32526 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32527 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32528 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32529 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32530 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32531 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32533 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32534 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32535 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32536 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32537 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32538 * sysdeps/s390/s390-32/memset.S: New asm code.
32539 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32541 2012-07-17 Marek Polacek <polacek@redhat.com>
32544 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32545 * sysdeps/s390/s390-64/configure.in: Likewise.
32546 * sysdeps/sparc/configure.in: Likewise.
32547 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32548 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32549 * sysdeps/i386/configure.in: Likewise.
32550 * sysdeps/x86_64/configure.in: Likewise.
32551 * sysdeps/sh/configure.in: Likewise.
32552 * sysdeps/s390/s390-32/configure: Regenerated.
32553 * sysdeps/s390/s390-64/configure: Likewise.
32554 * sysdeps/x86_64/configure: Likewise.
32555 * sysdeps/sh/configure: Likewise.
32556 * sysdeps/powerpc/powerpc64/configure: Likewise.
32557 * sysdeps/powerpc/powerpc32/configure: Likewise.
32558 * sysdeps/sparc/configure: Likwise.
32559 * sysdeps/i386/configure: Likewise.
32561 * elf/dl-open.c: Comment fixes.
32563 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32565 * Makefile [CXX] (check-data): Remove.
32566 [CXX] (c++-types.data): New vpath directive.
32567 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32568 vpath. Do not allow for C++ type data being missing.
32569 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32570 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32571 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32572 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32573 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32574 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32575 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32578 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32581 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32584 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32587 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32590 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32593 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32596 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32599 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32600 definitions to architecture-specific files.
32601 (TLS_IE): Likewise.
32602 (TLS_LD): Likewise.
32603 (TLS_GD): Likewise.
32604 * sysdeps/i386/tls-macros.h: New file.
32605 * sysdeps/powerpc/tls-macros.h: Likewise.
32606 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32607 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32608 * sysdeps/sh/tls-macros.h: Likewise.
32609 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32610 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32611 * sysdeps/x86_64/tls-macros.h: Likewise.
32613 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32616 zero value for regular exit case.
32618 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32619 (__start_context): Preserve zero value for regular exit case.
32621 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32622 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32624 * manual/setjmp.texi (setcontext): Clarify normal process
32625 termination when uc_link is the null pointer.
32626 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32629 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32631 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32632 preprocessor. Test for each exception mask separately.
32634 2012-07-16 Andreas Jaeger <aj@suse.de>
32636 * po/ru.po: Update from translation team.
32638 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32640 * conform/data/string.h-data (NULL): Use macro-constant. Require
32642 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32644 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32645 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32648 2012-07-13 Andreas Jaeger <aj@suse.de>
32650 * po/fr.po: Update from translation team.
32652 2012-07-12 Marek Polacek <polacek@redhat.com>
32655 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32656 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32659 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32663 Change to 2.4.1 where previously 2.4.0.
32664 * sysdeps/unix/sysv/linux/configure: Regenerated.
32665 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32666 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32668 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32669 (__ASSUME_AT_CLKTCK): Remove.
32670 (__ASSUME_AT_PAGESIZE): Likewise.
32671 (__ASSUME_AT_XID): Likewise.
32672 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32673 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32674 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32676 (HAVE_AUX_PAGESIZE): Likewise.
32677 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32678 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32679 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32681 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32685 the temporary buffer used to invoke __gethostbyname2_r,
32686 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32687 host_data / struct gaih_addrtuple.
32688 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32689 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32690 header file nss/nsswitch.h.
32691 * nss/nsswitch.h (global scope): Add definition of implementation
32692 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32693 resolv/nss_dns/dns-host.c).
32695 2012-07-11 Andreas Jaeger <aj@suse.de>
32697 * po/fr.po: Update from translation team.
32699 * po/sv.po: Update from translation team
32700 * po/fr.po: Another update from translation team.
32702 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32704 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32705 for subnormals or multiply small sinh result by itself.
32706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32709 2012-07-11 David S. Miller <davem@davemloft.net>
32711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32713 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32716 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32717 (INTERNAL_MARK): Shift it here.
32719 2012-07-10 Marek Polacek <polacek@redhat.com>
32722 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32723 libc_cv_asm_global_directive with .globl.
32724 * configure: Regenerated.
32725 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32727 * sysdeps/i386/configure: Regenerated.
32728 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32730 * sysdeps/x86_64/configure: Regenerated.
32731 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32732 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32733 * elf/tst-unique2mod2.c: Likewise.
32734 * elf/tst-unique2mod1.c: Likewise.
32735 * elf/tst-unique1mod2.c: Likewise.
32736 * elf/tst-unique1mod1.c: Likewise.
32737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32740 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32741 * sysdeps/mach/sysdep.h: Likewise.
32742 * sysdeps/i386/sysdep.h: Likewise.
32743 * sysdeps/i386/i386-mcount.S: Likewise.
32744 * sysdeps/x86_64/_mcount.S: Likewise.
32745 * sysdeps/x86_64/sysdep.h: Likewise.
32746 * sysdeps/sh/_mcount.S: Likewise.
32747 * sysdeps/sh/sysdep.h: Likewise.
32748 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32749 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32750 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32751 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32752 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32753 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32754 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32755 * locale/localeinfo.h: Likewise.
32756 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32757 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32759 2012-07-09 Roland McGrath <roland@hack.frob.com>
32762 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32764 * manual/message.texi (The Uniforum approach): Likewise.
32765 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32766 (glibc iconv Implementation): Likewise.
32768 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32771 * math/s_clog.c (__clog): Avoid scaling a value down where that
32772 could result in underflow.
32773 * math/s_clog10.c (__clog10): Likewise.
32774 * math/s_clog10f.c (__clog10f): Likewise.
32775 * math/s_clog10l.c (__clog10l): Likewise.
32776 * math/s_clogf.c (__clogf): Likewise.
32777 * math/s_clogl.c (__clogl): Likewise.
32778 * math/libm-test.inc (clog_test): Add more tests.
32779 (clog10_test): Likewise.
32780 * sysdeps/i386/fpu/libm-test-ulps: Update.
32781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32783 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32786 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32787 by 7 not 8 to examine high bit of fractional part.
32790 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32791 for call to __mcount_internal.
32792 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32793 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32794 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32796 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32799 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32800 approximation for values within 0x1p-13f of an odd multiple of
32802 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32803 exception. Add more tests.
32804 * sysdeps/i386/fpu/libm-test-ulps: Update.
32807 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32808 inputs and return -1 for them. Do not check for +Inf in case not
32809 reachable for +Inf.
32810 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32811 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32813 and return -1 for them. Do not check for +Inf in case not
32814 reachable for +Inf.
32815 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32818 and return -1 for them. Do not check for +Inf in case not
32819 reachable for +Inf.
32820 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32821 spurious underflow.
32822 * sysdeps/i386/fpu/libm-test-ulps: Update.
32823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32825 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32827 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32829 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32833 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32834 could result in spurious underflow. Scale down values above
32835 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32836 * math/s_csqrtf.c (__csqrtf): Likewise.
32837 * math/s_csqrtl.c (__csqrtl): Likewise.
32838 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32839 spurious underflow.
32840 * sysdeps/i386/fpu/libm-test-ulps: Update.
32841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32843 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32845 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32847 * catgets/xopen-msg.awk: New file.
32848 * catgets/xopen-msg.sed: Removed.
32850 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32852 * intl/po2test.awk: New file.
32853 * intl/po2test.sed: Removed.
32855 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32858 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32859 or multiply small sinh result by itself.
32860 * math/s_ctanf.c (__ctanf): Likewise.
32861 * math/s_ctanh.c (__ctanh): Likewise.
32862 * math/s_ctanhf.c (__ctanhf): Likewise.
32863 * math/s_ctanhl.c (__ctanhl): Likewise.
32864 * math/s_ctanl.c (__ctanl): Likewise.
32865 * math/libm-test.inc (ctan_test_tonearest): New function.
32866 (ctan_test_towardzero): Likewise.
32867 (ctan_test_downward): Likewise.
32868 (ctan_test_upward): Likewise.
32869 (ctanh_test_tonearest): Likewise.
32870 (ctanh_test_towardzero): Likewise.
32871 (ctanh_test_downward): Likewise.
32872 (ctanh_test_upward): Likewise.
32873 (main): Call these new functions.
32874 * sysdeps/i386/fpu/libm-test-ulps: Update.
32875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32879 * .gitignore: Delete /ports entry.
32881 2012-07-03 Andreas Jaeger <aj@suse.de>
32883 * po/bg.po: Update from translation team.
32884 * po/cs.po: Likewise.
32885 * po/de.po: Likewise.
32886 * po/hr.po: Likewise.
32887 * po/nl.pl: Likewise.
32888 * po/pl.po: Likewise.
32889 * po/vi.po: Likewise.
32891 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32893 * Makeconfig [!+link] (+link-before-libc): New variable.
32894 [!+link] (+link-after-libc): Likewise.
32895 [!+link] (+link-tests): Likewise.
32896 [!+link] (+link): Define in terms of $(+link-before-libc) and
32897 $(+link-after-libc).
32898 [!+link-static] (+link-static-before-libc): New variable.
32899 [!+link-static] (+link-static-after-libc): Likewise.
32900 [!+link-static] (+link-static-tests): Likewise.
32901 [!+link-static] (+link-static): Define in terms of
32902 $(+link-static-before-libc) and $(+link-static-after-libc).
32903 [build-shared] (link-libc-before-gnulib): New variable.
32904 [build-shared] (link-libc-tests): Likewise.
32905 [build-shared] (link-libc): Define in terms of
32906 $(link-libc-before-gnulib).
32907 [!build-shared] (link-libc-tests): New variable.
32908 (link-libc-static-tests): New variable.
32909 [!gnulib] (gnulib-arch): New variable.
32910 [!gnulib] (gnulib-tests): Likewise.
32911 [!gnulib] (static-gnulib-arch): Likewise.
32912 [!gnulib] (static-gnulib-tests): Likewise.
32913 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32914 Define with "=" instead of ":=".
32915 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32916 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32917 * Rules (binaries-all-notests): New variable.
32918 (binaries-all-tests): Likewise.
32919 (binaries-static-notests): Likewise.
32920 (binaries-static-tests): Likewise.
32921 (binaries-all): Define using $(binaries-all-notests) and
32922 $(binaries-all-tests).
32923 (binaries-static): Define using $(binaries-static-notests) and
32924 $(binaries-static-tests).
32925 (binaries-shared-tests): New variable.
32926 (binaries-shared-notests): Likewise.
32927 (binaries-shared): Remove variable.
32928 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32929 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32930 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32931 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32932 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32933 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32934 * elf/Makefile (sln-modules): New variable.
32935 (extra-objs): Add $(sln-modules:=.o).
32936 (ldconfig-modules): Add static-stubs.
32937 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32938 * elf/static-stubs.c: New file.
32941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32942 by 7 not 8 to examine high bit of fractional part. Use volatile
32943 variables when splitting into final array of floats if
32944 __FLT_EVAL_METHOD__ != 0.
32945 * math/libm-test.inc (cos_test): Add another test.
32946 (sin_test): Likewise.
32947 * sysdeps/i386/fpu/libm-test-ulps: Update.
32950 * math/libm-test.inc (cosh_test): Add more tests.
32952 * version.h (RELEASE): Set to "development".
32953 (VERSION): Set to "2.16.90".
32955 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32957 * NEWS: Update copyright. Remove last-updated date.
32958 Mention math library bug fixes and timezone data changes.
32959 * README: Mention GNU/Hurd, x32, and HPPA support status.
32961 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32963 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32965 2012-06-27 Andreas Jaeger <aj@suse.de>
32967 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32969 2012-06-25 Andreas Jaeger <aj@suse.de>
32971 * sysdeps/s390/fpu/libm-test-ulps: Update.
32973 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32974 Thomas Schwinge <thomas@codesourcery.com>
32976 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32977 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32981 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32983 * sysdeps/mach/start.c: Remove file.
32984 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32985 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32986 * sysdeps/sh/init-first.c: Likewise.
32988 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32989 registers for frame unwinding purposes, add CFI directives.
32990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32991 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32992 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32995 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32996 __fortify_fail returning.
32997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33000 sysdeps/sh/____longjmp_chk.S.
33001 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33002 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33003 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33004 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33006 * sysdeps/sh/abort-instr.h: New file.
33007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33008 process in case exit returns.
33010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33011 initialize the GOT register before use.
33013 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33014 calculation of ARGC > 4.
33016 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33017 meaningful names to some local labels.
33019 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33020 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33022 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33023 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33024 (__arch_compare_and_exchange_val_16_acq): Likewise.
33025 (__arch_compare_and_exchange_val_32_acq): Likewise.
33026 (atomic_exchange_and_add): Fix gUSA sequence.
33027 (atomic_add): Likewise.
33028 (atomic_add_negative): Likewise.
33029 (atomic_add_zero): Likewise.
33030 (atomic_bit_test_set): Likewise.
33032 2012-06-22 Andreas Schwab <schwab@redhat.com>
33035 * include/link.h (struct link_map): Add l_free_initfini.
33036 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33038 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33039 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33040 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33043 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33045 * configure.in: Use AC_LANG_SOURCE.
33046 * configure: Regenerate.
33048 2012-06-22 Roland McGrath <roland@hack.frob.com>
33050 * configure.in (libc_cv_localstatedir): New substituted variable.
33051 * configure: Regenerated.
33052 * config.make.in (localstatedir): New variable, substituted from
33053 libc_cv_localstatedir.
33054 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33055 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33056 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33057 * sysdeps/gnu/configure: Regenerated.
33059 2012-06-21 Jeff Law <law@redhat.com>
33062 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33063 free. Simplify list management for _LIBC case.
33065 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33069 Clear sign bit of 64-bit integer value before comparing against
33072 * sysdeps/mach/configure: Regenerated.
33074 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33079 2012-06-21 Jeff Law <law@redhat.com>
33082 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33083 uint16_t for elements in the "seen" array to avoid char overflows.
33084 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33085 * elf/dl-open.c (dl_open_worker): Likewise.
33087 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33089 * scripts/list-sources.sh: Scan PORTS for translations.
33090 * po/libc.pot: Regenerated.
33092 2012-06-21 Andreas Jaeger <aj@suse.de>
33095 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33097 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33098 * bits/byteswap-16.h (__bswap_16): Likewise.
33099 * bits/byteswap.h (__bswap_constant_16): Likewise.
33101 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33104 * sysdeps/i386/fpu_control.h: Removed.
33105 * sysdeps/x86_64/fpu_control.h: Moved to ...
33106 * sysdeps/x86/fpu_control.h: Here.
33108 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33109 (_FPU_SETCW): Likewise.
33111 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33114 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33115 * sysdeps/x86/fpu/bits/mathinline.h: This.
33116 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33120 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33121 functions if __x86_64__ is defined.
33123 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33125 * string/endian.h: Add !__ASSEMBLER__ condition for including
33126 conversion interfaces.
33128 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33132 of ABS(x) in calculating zero to negative powers other than odd
33134 * math/libm-test.inc (pow_test): Add more tests.
33136 2012-06-15 Andreas Jaeger <aj@suse.de>
33138 * manual/contrib.texi (Contributors): Update entry of Liubov
33139 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33142 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33144 * string/string.h: Add __wur to GNU version of strerror_r.
33146 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33149 * string/Makefile (tests): Add tst-strtok_r.
33150 * string/tst-strtok_r.c: New file.
33151 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33152 RAX_LP/RDX_LP on SAVE_PTR.
33154 2012-06-14 Roland McGrath <roland@hack.frob.com>
33156 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33158 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33160 * libm_test.inc (csqrt_test): Allow more spurious underflow
33162 (j0_test): Likewise.
33163 (j1_test): Likewise.
33164 (y0_test): Likewise.
33165 (y1_test): Likewise.
33167 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33169 * po/Makefile (libc.pot): Use UTF-8 charset.
33171 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33174 Suppress sign-conversion warning from FD_SET.
33175 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33176 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33177 not unsigned long int.
33178 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33180 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33184 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33185 __extern_always_inline instead of __extern_inline.
33186 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33187 (__signbit): Likewise.
33188 (__signbitl): Support C++ namespace.
33189 (lrintf): New inline function.
33191 (llrintf): Likewise.
33192 (llrint): Likewise.
33202 (floorf): Likewise.
33203 (nearbyint): Likewise.
33204 (nearbyintf): Likewise.
33206 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33209 non-default versions.
33211 2012-06-11 Roland McGrath <roland@hack.frob.com>
33214 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33216 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33218 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33219 (FE_UPWARD, FE_DOWNWARD): Don't define.
33220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33221 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33223 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33225 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33228 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33231 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33233 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33235 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33238 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33239 * sysdeps/i386/fpu/Implies: New file.
33240 * sysdeps/x86_64/fpu/Implies: Likewise.
33241 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33242 * sysdeps/x86/fpu/bits/fenv.h: This.
33244 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33247 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33250 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33251 character 0xffff that matches the last element of the
33254 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33259 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33262 values higher than 25.6283.
33264 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33267 subnormal exponent extraction and add some __builtin_expect.
33268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33269 Fix for subnormal mantissa calculation.
33271 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33273 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33274 cpu2 is -1 and errno is not ENOSYS.
33276 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33279 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33280 * sysdeps/x86/bits/string.h: This.
33281 * sysdeps/x86_64/bits/string.h: Removed.
33283 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33284 if not compiling for x86-64, but compiling for >= i486.
33286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33287 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33290 New macro from Linux kernel 3.4.0.
33291 (FP_XSTATE_MAGIC2): Likewise.
33292 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33293 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33294 (struct _fpx_sw_bytes): New struct.
33295 (struct _xsave_hdr): Likewise.
33296 (struct _ymmh_state): Likewise.
33297 (struct _xstate): Likewise.
33299 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33300 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33301 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33302 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33304 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33306 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33307 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33308 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33309 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33310 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33311 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33313 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33316 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33317 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33318 (sysdep_headers): Include sys/platform/ppc.h.
33319 * sysdeps/powerpc/test-gettimebase.c: Test for
33320 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33321 * manual/Makefile (appendices): Include platform.texi.
33322 * manual/contrib.texi (Contributors): Update @node pointers.
33323 * manual/maint.texi (Maintenance): Likewise.
33324 (Platform): New node.
33325 * manual/platform.texi: New file. Document the new features.
33327 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33328 Jakub Jelinek <jakub@redhat.com>
33331 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33332 where __builtin_expect is unavailable.
33334 2012-06-03 David S. Miller <davem@davemloft.net>
33336 * stdlib/longlong.h: Updated from GCC.
33338 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33341 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33342 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33345 (GLIBC_2.16): Likewise.
33347 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33349 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33351 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33354 (default-abi): New variable.
33355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33356 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33358 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33360 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33362 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33365 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33366 definition. Document in comment.
33368 2012-06-01 David S. Miller <davem@davemloft.net>
33370 * stdlib/longlong.h: Updated from GCC.
33372 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33375 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33376 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33377 sys/debugreg.h sys/io.h here.
33378 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33379 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33381 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33382 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33383 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33384 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33385 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33386 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33388 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33389 Define only if __x86_64__ is defined.
33391 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33394 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33395 Use int64_t for variable i.
33396 * math/libm-test.inc (fmod_test): Add more tests.
33398 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33399 z computation is not scheduled after fetestexcept.
33400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33401 Use math_force_eval instead of asm to ensure calculation scheduled
33402 before exception test.
33403 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33404 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33406 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33409 computation is not scheduled after fetestexcept.
33411 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33414 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33415 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33417 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33419 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33420 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33422 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33425 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33427 (__WCHAR_MIN): Support __WORDSIZE == 64.
33428 (__WCHAR_MAX): Likewise.
33430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33435 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33438 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33441 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33442 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33445 Defined to 1 if __x86_64__ isn't defined.
33446 (_STAT_VER_LINUX_OLD): New.
33447 (st_atime): Remove duplicate.
33448 (st_mtime): Likewise.
33449 (st_ctime): Likewise.
33451 2012-05-31 David S. Miller <davem@davemloft.net>
33453 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33456 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33458 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33462 * elf/dl-reloc.c: Include <_itoa.h>.
33463 (_dl_reloc_bad_type): Remove use of INTUSE.
33464 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33465 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33466 * stdio-common/psiginfo.c (psiginfo): Likewise.
33467 * stdio-common/psignal.c (psignal): Likewise.
33468 * string/strsignal.c (strsignal): Likewise.
33469 * include/signal.h (_sys_siglist): Declare hidden proto.
33470 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33471 INTVARDEF with libc_hidden_data_def.
33472 * stdio-common/itoa-udigits.c: Likewise.
33473 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33474 (_itoa_lower_digits_internal): Remove declaration.
33475 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33476 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33477 (_sys_sigabbrev_internal): Remove aliases.
33478 (_sys_siglist): Define hidden alias.
33480 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33485 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33489 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33491 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33492 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33493 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33494 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33496 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33498 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33499 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33500 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33502 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33510 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33511 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33512 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33514 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33515 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33517 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33518 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33519 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33522 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33524 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33525 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33531 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33532 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33534 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33536 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33537 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33538 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33540 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33542 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33544 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33546 * math/math.h (M_El): Use two more decimal places.
33547 (M_LOG2El): Likewise.
33548 (M_LOG10El): Likewise.
33549 (M_LN2l): Likewise.
33550 (M_LN10l): Likewise.
33552 (M_PI_2l): Likewise.
33553 (M_PI_4l): Likewise.
33554 (M_1_PIl): Likewise.
33555 (M_2_PIl): Likewise.
33556 (M_2_SQRTPIl): Likewise.
33557 (M_SQRT2l): Likewise.
33558 (M_SQRT1_2l): Likewise.
33560 2012-05-31 David S. Miller <davem@davemloft.net>
33562 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33563 values between float registers.
33564 * sysdeps/sparc/sparc64/memset.S: Likewise.
33565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33567 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33569 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33570 -D_FORTIFY_SOURCE=1.
33571 (CPPFLAGS-tst-longjmp_chk.c): Define.
33572 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33573 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33574 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33575 CFLAGS-tst-wchar-h.c.
33577 2012-05-31 Marek Polacek <polacek@redhat.com>
33580 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33581 __endmntent_internal): Remove declaration.
33582 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33583 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33584 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33586 2012-05-30 David S. Miller <davem@davemloft.net>
33588 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33589 (___Q_simulate_exceptions): Use real FP ops rather than writing
33591 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33594 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33598 * sysdeps/x86/bits/xtitypes.h: This.
33600 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33601 * sysdeps/x86/bits/wordsize.h: This.
33603 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33604 * sysdeps/x86/bits/huge_vall.h: This.
33606 * sysdeps/i386/bits/select.h: Removed.
33607 * sysdeps/x86_64/bits/select.h: Renamed to ...
33608 * sysdeps/x86/bits/select.h: This.
33610 * sysdeps/i386/bits/setjmp.h: Removed.
33611 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33612 * sysdeps/x86/bits/setjmp.h: This.
33614 * sysdeps/i386/bits/mathdef.h: Removed.
33615 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33616 * sysdeps/x86/bits/mathdef.h: This.
33618 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33621 * include/sys/socket.h (__connect_internal)
33622 (__libc_sa_len_internal): Remove declaration.
33623 (__connect, __libc_sa_len): Declare hidden_proto.
33624 (SA_LEN): Remove use of INTUSE.
33625 * socket/connect.c: Add libc_hidden_def.
33626 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33627 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33628 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33630 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33631 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33632 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33633 of adding _internal alias.
33635 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33638 * sysdeps/i386/bits/link.h: Removed.
33639 * sysdeps/i386/bits/linkmap.h: Likewise.
33640 * sysdeps/x86_64/bits/link.h: Renamed to ...
33641 * sysdeps/x86/bits/link.h: This.
33642 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33643 * sysdeps/x86/bits/linkmap.h: This.
33645 * sysdeps/i386/bits/endian.h: Removed.
33646 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33647 * sysdeps/x86/bits/endian.h: This.
33649 * sysdeps/i386/bits/byteswap.h: Removed.
33650 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33651 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33652 * sysdeps/x86/bits/byteswap.h: This.
33653 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33654 * sysdeps/x86/bits/byteswap-16.h: This.
33655 * sysdeps/i386/Implies: Add x86.
33656 * sysdeps/x86_64/Implies: Likewise.
33658 2012-05-30 David S. Miller <davem@davemloft.net>
33660 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33661 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33662 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33663 (FP_TRAPPING_EXCEPTIONS): Define.
33664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33665 (FP_TRAPPING_EXCEPTIONS): Define.
33666 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33667 subnormals only when inexact has been signalled or underflow
33668 exceptions are enabled.
33669 (_FP_PACK_CANONICAL): Likewise.
33671 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33675 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33677 2012-05-30 Richard Henderson <rth@twiddle.net>
33679 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33680 with #ifndef NOT_IN_libc.
33682 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33683 marked to avoid plt entry.
33685 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33688 * Makeconfig (default-abi): New macro.
33689 (abi-includes): Likewise.
33690 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33691 $(abi-$(default-abi)-lib-soname) for soname if defined.
33692 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33694 * Makefile (installed-stubs): Likewise.
33695 * include/stubs-biarch.h: Removed.
33696 * scripts/lib-names.awk: Only handle one library at a time.
33697 * scripts/soversions.awk: Remove WORDSIZE support.
33698 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33700 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33702 (syscall-list-default-condition): Likewise.
33703 (syscall-list-default-condition): Likewise.
33704 (syscall-list-includes): Likewise.
33705 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33706 syscall-list-* with abi-*. Handle undefined abi-variants.
33707 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33708 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33709 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33710 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33712 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33714 (syscall-list-32-options): Likewise.
33715 (syscall-list-32-condition): Likewise.
33716 (syscall-list-64-options): Likewise.
33717 (syscall-list-64-condition): Likewise.
33718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33720 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33723 (abi-64-ld-soname): New macro.
33724 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33725 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33728 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33729 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33731 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33733 * sysdeps/unix/sysv/linux/kernel-features.h
33734 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33735 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33736 include <kernel-features.h>.
33737 [!__NR_ftruncate64]: Remove conditional code.
33738 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33739 [__NR_ftruncate64]: Make code unconditional.
33740 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33741 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33742 include <kernel-features.h>.
33743 [!__NR_ftruncate64]: Remove conditional code.
33744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33745 [__NR_ftruncate64]: Make code unconditional.
33746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33748 include <kernel-features.h>.
33749 [!__NR_ftruncate64]: Remove conditional code.
33750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33751 [__NR_ftruncate64]: Make code unconditional.
33752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33754 include <kernel-features.h>.
33755 [!__NR_ftruncate64]: Remove conditional code.
33756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33757 [__NR_ftruncate64]: Make code unconditional.
33758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33760 * configure.in (libc_cv_fpie): Weaken to a compile test using
33761 LIBC_TRY_CC_OPTION.
33762 * configure: Regenerated.
33764 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33779 2012-05-27 David S. Miller <davem@davemloft.net>
33781 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33783 (__Q_simulate_exceptions): Return void. Change to simulate
33784 exceptions by writing into the %fsr.
33785 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33786 (__Qp_handle_exceptions): Likewise.
33788 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33789 __Qp_handle_exceptions.
33790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33791 __Qp_handle_exceptions.
33792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33793 as unused and give dummy FP_RND_NEAREST initializer.
33794 (FP_INHIBIT_RESULTS): Define.
33795 (___Q_simulate_exceptions): Update declaration.
33796 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33798 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33799 as unused and give dummy FP_RND_NEAREST initializer.
33800 (__Qp_handle_exceptions): Update declaration.
33801 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33804 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33806 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33807 the temporary FPU control word.
33808 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33809 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33811 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33812 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33813 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33814 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33816 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33817 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33818 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33820 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33822 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33825 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33827 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33828 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33829 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33830 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33832 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33833 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33836 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33838 * po/h.po: Update from translation team.
33840 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33842 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33844 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33845 handling of denormals.
33846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33847 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33848 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33855 2012-05-26 Marek Polacek <polacek@redhat.com>
33858 * math/libm-test.inc (fma_test): Don't always expect underflow
33861 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33864 * elf/tst-execstack.c: Include stackinfo.h.
33865 (do_test): Adjust test case to ensure that pthread_getattr_np
33866 behaviour remains the same after marking stack executable.
33868 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33870 * sysdeps/unix/sysv/linux/kernel-features.h
33871 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33874 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33875 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33876 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33878 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33879 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33881 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33883 * configure.in: Define the default includes to being none.
33884 * configure: Regenerated.
33886 2012-05-25 Roland McGrath <roland@hack.frob.com>
33888 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33889 * sysdeps/x86_64/setjmp.S: Likewise.
33890 * sysdeps/i386/bsd-setjmp.S: Likewise.
33891 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33892 * sysdeps/i386/setjmp.S: Likewise.
33893 * sysdeps/i386/__longjmp.S: Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33895 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33897 * include/stap-probe.h: New file.
33898 * configure.in: Handle --enable-systemtap.
33899 * configure: Regenerated.
33900 * config.h.in (USE_STAP_PROBE): New #undef.
33901 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33902 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33903 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33905 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33909 to 2.4.0 where earlier.
33910 * sysdeps/unix/sysv/linux/configure: Regenerated.
33911 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33912 <kernel-features.h>.
33913 [__ASSUME_32BITUIDS]: Make code unconditional.
33914 [!__ASSUME_32BITUIDS]: Remove conditional code.
33915 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33916 <kernel-features.h>.
33917 [__ASSUME_32BITUIDS]: Make code unconditional.
33918 [!__ASSUME_32BITUIDS]: Remove conditional code.
33919 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33920 [__ASSUME_32BITUIDS]: Make code unconditional.
33921 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33922 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33923 <kernel-features.h>.
33924 [__ASSUME_32BITUIDS]: Make code unconditional.
33925 [!__ASSUME_32BITUIDS]: Remove conditional code.
33926 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33927 <kernel-features.h>.
33928 [__ASSUME_32BITUIDS]: Make code unconditional.
33929 [!__ASSUME_32BITUIDS]: Remove conditional code.
33930 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33931 <kernel-features.h>.
33932 [__ASSUME_32BITUIDS]: Make code unconditional.
33933 [!__ASSUME_32BITUIDS]: Remove conditional code.
33934 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33935 <kernel-features.h>.
33936 [__ASSUME_32BITUIDS]: Make code unconditional.
33937 [!__ASSUME_32BITUIDS]: Remove conditional code.
33938 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
33947 <kernel-features.h>.
33948 [__ASSUME_32BITUIDS]: Make code unconditional.
33949 [!__ASSUME_32BITUIDS]: Remove conditional code.
33950 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33951 <kernel-features.h>.
33952 [__ASSUME_32BITUIDS]: Make code unconditional.
33953 [!__ASSUME_32BITUIDS]: Remove conditional code.
33954 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33955 <kernel-features.h>.
33956 [__ASSUME_32BITUIDS]: Make code unconditional.
33957 [!__ASSUME_32BITUIDS]: Remove conditional code.
33958 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33959 <kernel-features.h>.
33960 [__ASSUME_32BITUIDS]: Make code unconditional.
33961 [!__ASSUME_32BITUIDS]: Remove conditional code.
33962 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33963 <kernel-features.h>.
33964 [__NR_setresgid] (__setresgid): Do not declare.
33965 [__ASSUME_32BITUIDS]: Make code unconditional.
33966 [!__ASSUME_32BITUIDS]: Remove conditional code.
33967 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33968 <kernel-features.h>.
33969 [__NR_setresuid] (__setresuid): Do not declare.
33970 [__ASSUME_32BITUIDS]: Make code unconditional.
33971 [!__ASSUME_32BITUIDS]: Remove conditional code.
33972 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33973 <kernel-features.h>.
33974 [__ASSUME_32BITUIDS]: Make code unconditional.
33975 [!__ASSUME_32BITUIDS]: Remove conditional code.
33976 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33977 <kernel-features.h>.
33978 [__ASSUME_32BITUIDS]: Make code unconditional.
33979 [!__ASSUME_32BITUIDS]: Remove conditional code.
33980 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33981 <kernel-features.h>.
33982 [__ASSUME_32BITUIDS]: Make code unconditional.
33983 [!__ASSUME_32BITUIDS]: Remove conditional code.
33984 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33985 <kernel-features.h>.
33986 [__ASSUME_32BITUIDS]: Make code unconditional.
33987 [!__ASSUME_32BITUIDS]: Remove conditional code.
33988 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33989 <kernel-features.h>.
33990 [__ASSUME_32BITUIDS]: Make code unconditional.
33991 [!__ASSUME_32BITUIDS]: Remove conditional code.
33992 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33993 <kernel-features.h>.
33994 [__ASSUME_32BITUIDS]: Make code unconditional.
33995 [!__ASSUME_32BITUIDS]: Remove conditional code.
33996 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33997 <kernel-features.h>.
33998 [__ASSUME_32BITUIDS]: Make code unconditional.
33999 [!__ASSUME_32BITUIDS]: Remove conditional code.
34000 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34001 <kernel-features.h>.
34002 [__ASSUME_32BITUIDS]: Make code unconditional.
34003 [!__ASSUME_32BITUIDS]: Remove conditional code.
34004 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34005 <kernel-features.h>.
34006 [__ASSUME_32BITUIDS]: Make code unconditional.
34007 [!__ASSUME_32BITUIDS]: Remove conditional code.
34008 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34009 <kernel-features.h>.
34010 [__ASSUME_32BITUIDS]: Make code unconditional.
34011 [!__ASSUME_32BITUIDS]: Remove conditional code.
34012 * sysdeps/unix/sysv/linux/kernel-features.h
34013 (__ASSUME_SETRESUID_SYSCALL): Remove.
34014 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34015 (__ASSUME_32BITUIDS): Likewise.
34016 (__ASSUME_LDT_WORKS): Likewise.
34017 (__ASSUME_O_DIRECTORY): Likewise.
34018 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34019 architecture but not kernel version.
34020 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34021 (__ASSUME_MMAP2_SYSCALL): Likewise.
34022 (__ASSUME_STAT64_SYSCALL): Likewise.
34023 (__ASSUME_IPC64): Likewise.
34024 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34025 <kernel-features.h>.
34026 [__ASSUME_32BITUIDS]: Make code unconditional.
34027 [!__ASSUME_32BITUIDS]: Remove conditional code.
34028 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34029 <kernel-features.h>.
34030 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34031 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34032 132096]: Remove conditional code.
34033 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34034 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34035 <kernel-features.h>.
34036 [__ASSUME_32BITUIDS]: Make code unconditional.
34037 [!__ASSUME_32BITUIDS]: Remove conditional code.
34038 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34039 <kernel-features.h>.
34040 [__ASSUME_32BITUIDS]: Make code unconditional.
34041 [!__ASSUME_32BITUIDS]: Remove conditional code.
34042 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34043 <kernel-features.h>.
34044 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34046 (__setresgid): Do not declare.
34047 [__ASSUME_32BITUIDS]: Make code unconditional.
34048 [!__ASSUME_32BITUIDS]: Remove conditional code.
34049 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34050 <kernel-features.h>.
34051 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34053 (__setresuid): Do not declare.
34054 [__ASSUME_32BITUIDS]: Make code unconditional.
34055 [!__ASSUME_32BITUIDS]: Remove conditional code.
34056 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34057 <kernel-features.h>.
34058 [__ASSUME_32BITUIDS]: Make code unconditional.
34059 [!__ASSUME_32BITUIDS]: Remove conditional code.
34060 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34061 <kernel-features.h>.
34062 [__ASSUME_32BITUIDS]: Make code unconditional.
34063 [!__ASSUME_32BITUIDS]: Remove conditional code.
34065 2012-05-25 Richard Henderson <rth@twiddle.net>
34067 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34068 dl_hwcap to ifunc resolver.
34069 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34071 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34072 dl_hwcap to ifunc resolver.
34073 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34075 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34078 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34079 for |x| <= 2**-26, not 2**-57.
34080 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34083 2012-05-24 Jeff Law <law@redhat.com>
34085 * stdio-common/Makefile (tests): Add bug25.
34086 * stdio-common/bug25.c: New test.
34088 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34091 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34092 multiple of MALLOC_ALIGNMENT in size.
34093 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34095 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34097 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34099 (FILENAME_MAX): Use macro-int-constant.
34100 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34101 (_IOFBF): Use macro-int-constant.
34102 (_IOLBF): Likewise.
34103 (_IONBF): Likewise.
34104 (SEEK_CUR): Likewise.
34105 (SEEK_END): Likewise.
34106 (SEEK_SET): Likewise.
34107 (TMP_MAX): Likewise.
34108 (EOF): Use macro-int-constant. Require < 0.
34109 (NULL): Use macro-constant. Require == 0.
34110 (stdin): Require type to be FILE *.
34111 (stdout): Likewise.
34112 (stderr): Likewise.
34113 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34114 macro-int-constant.
34115 (EXIT_SUCCESS): Likewise.
34116 (NULL): Use macro-constant. Require == 0.
34117 (RAND_MAX): Use macro-int-constant.
34118 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34119 [C99-based standards] (strtof): Require function.
34120 [C99-based standards] (strtold): Likewise.
34121 [C99-based standards] (strtoll): Likewise.
34122 [C99-based standards] (strtoull): Likewise.
34123 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34124 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34125 [ISO || ISO99 || ISO11] (math.h): Likewise.
34126 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34127 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34130 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34133 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34134 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34135 * intl/dgettext.c (DCGETTEXT): Likewise.
34136 * intl/gettext.c (DCGETTEXT): Likewise.
34137 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34138 * posix/regex_internal.h (gettext): Likewise.
34139 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34140 Remove declaration.
34141 * include/argz.h (__argz_count_internal)
34142 (__argz_stringify_internal): Remove declaration.
34143 (__argz_count, __argz_stringify): Declare hidden proto.
34144 * intl/dcgettext.c: Remove use of INTDEF.
34145 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34146 * string/argz-stringify.c: Likewise.
34147 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34148 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34149 Declare hidden proto.
34150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34152 Declare hidden proto.
34153 * include/stdio.h (__asprintf_internal): Don't declare.
34154 (__asprintf): Don't define as macro. Declare hidden proto.
34155 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34156 (__fsetlocking): Declare hidden proto.
34157 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34158 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34160 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34161 (_IO_setlinebuf): Remove use of INTUSE.
34162 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34163 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34164 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34165 Remove declaration.
34166 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34167 (_IO_do_flush): Remove use of INTUSE.
34168 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34169 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34170 (_IO_adjust_column, _IO_least_wmarker)
34171 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34172 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34173 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34174 (_IO_default_doallocate, _IO_wdefault_doallocate)
34175 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34176 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34177 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34178 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34179 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34180 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34181 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34182 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34183 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34184 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34185 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34186 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34187 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34189 (_IO_flush_all_internal, _IO_adjust_column_internal)
34190 (_IO_default_uflow_internal, _IO_default_finish_internal)
34191 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34192 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34193 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34194 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34195 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34196 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34197 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34198 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34199 (_IO_file_close_internal, _IO_file_close_it_internal)
34200 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34201 (_IO_file_init_internal, _IO_file_attach_internal)
34202 (_IO_file_fopen_internal, _IO_file_read_internal)
34203 (_IO_file_sync_internal, _IO_file_seek_internal)
34204 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34205 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34206 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34207 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34208 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34209 (_IO_list_all_internal, _IO_link_in_internal)
34210 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34211 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34212 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34213 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34214 (_IO_do_write_internal, _IO_padn_internal)
34215 (_IO_getline_info_internal, _IO_getline_internal)
34216 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34217 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34218 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34219 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34220 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34221 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34222 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34223 with libc_hidden_ver, remove use of INTUSE.
34224 * libio/genops.c: Likewise.
34225 * libio/freopen.c: Likewise.
34226 * libio/freopen64.c: Likewise.
34227 * libio/iofclose.c: Likewise.
34228 * libio/iofdopen.c: Likewise.
34229 * libio/iofflush.c: Likewise.
34230 * libio/iofflush_u.c: Likewise.
34231 * libio/iofgets.c: Likewise.
34232 * libio/iofgets_u.c: Likewise.
34233 * libio/iofopen.c: Likewise.
34234 * libio/iofopncook.c: Likewise.
34235 * libio/iofread.c: Likewise.
34236 * libio/iofread_u.c: Likewise.
34237 * libio/ioftell.c: Likewise.
34238 * libio/iofwrite.c: Likewise.
34239 * libio/iogetline.c: Likewise.
34240 * libio/iogets.c: Likewise.
34241 * libio/iogetwline.c: Likewise.
34242 * libio/iopadn.c: Likewise.
34243 * libio/iopopen.c: Likewise.
34244 * libio/ioseekoff.c: Likewise.
34245 * libio/ioseekpos.c: Likewise.
34246 * libio/iosetbuffer.c: Likewise.
34247 * libio/iosetvbuf.c: Likewise.
34248 * libio/ioungetc.c: Likewise.
34249 * libio/ioungetwc.c: Likewise.
34250 * libio/iovdprintf.c: Likewise.
34251 * libio/iovsprintf.c: Likewise.
34252 * libio/iovsscanf.c: Likewise.
34253 * libio/memstream.c: Likewise.
34254 * libio/obprintf.c: Likewise.
34255 * libio/oldfileops.c: Likewise.
34256 * libio/oldiofclose.c: Likewise.
34257 * libio/oldiofdopen.c: Likewise.
34258 * libio/oldiofopen.c: Likewise.
34259 * libio/oldiopopen.c: Likewise.
34260 * libio/oldstdfiles.c: Likewise.
34261 * libio/putc.c: Likewise.
34262 * libio/setbuf.c: Likewise.
34263 * libio/setlinebuf.c: Likewise.
34264 * libio/stdfiles.c: Likewise.
34265 * libio/strops.c: Likewise.
34266 * libio/vasprintf.c: Likewise.
34267 * libio/vscanf.c: Likewise.
34268 * libio/vsnprintf.c: Likewise.
34269 * libio/vswprintf.c: Likewise.
34270 * libio/wfiledoalloc.c: Likewise.
34271 * libio/wfileops.c: Likewise.
34272 * libio/wgenops.c: Likewise.
34273 * libio/wmemstream.c: Likewise.
34274 * libio/wstrops.c: Likewise.
34275 * libio/__fpurge.c: Likewise.
34276 * libio/__fsetlocking.c: Likewise.
34277 * assert/assert.c: Likewise.
34278 * debug/fgets_chk.c: Likewise.
34279 * debug/fgets_u_chk.c: Likewise.
34280 * debug/fread_chk.c: Likewise.
34281 * debug/fread_u_chk.c: Likewise.
34282 * debug/gets_chk.c: Likewise.
34283 * debug/obprintf_chk.c: Likewise.
34284 * debug/vasprintf_chk.c: Likewise.
34285 * debug/vdprintf_chk.c: Likewise.
34286 * debug/vsnprintf_chk.c: Likewise.
34287 * debug/vsprintf_chk.c: Likewise.
34288 * malloc/mtrace.c: Likewise.
34289 * misc/error.c: Likewise.
34290 * misc/syslog.c: Likewise.
34291 * stdio-common/asprintf.c: Likewise.
34292 * stdio-common/fxprintf.c: Likewise.
34293 * stdio-common/getw.c: Likewise.
34294 * stdio-common/isoc99_fscanf.c: Likewise.
34295 * stdio-common/isoc99_scanf.c: Likewise.
34296 * stdio-common/isoc99_vfscanf.c: Likewise.
34297 * stdio-common/isoc99_vscanf.c: Likewise.
34298 * stdio-common/isoc99_vsscanf.c: Likewise.
34299 * stdio-common/printf-prs.c: Likewise.
34300 * stdio-common/printf_fp.c: Likewise.
34301 * stdio-common/printf_fphex.c: Likewise.
34302 * stdio-common/printf_size.c: Likewise.
34303 * stdio-common/putw.c: Likewise.
34304 * stdio-common/scanf.c: Likewise.
34305 * stdio-common/sprintf.c: Likewise.
34306 * stdio-common/tmpfile.c: Likewise.
34307 * stdio-common/vfprintf.c: Likewise.
34308 * stdio-common/vfscanf.c: Likewise.
34309 * stdlib/strfmon_l.c: Likewise.
34310 * sunrpc/openchild.c: Likewise.
34311 * sunrpc/xdr_stdio.c: Likewise.
34312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34313 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34315 2012-05-24 Roland McGrath <roland@hack.frob.com>
34317 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34319 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34320 in the third column, to generate for the shared library an IFUNC
34321 that uses _dl_vdso_vsym.
34322 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34323 * Makeconfig (object-suffixes-noshared): New variable.
34325 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34326 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34327 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34328 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34331 * include/sys/time.h (__gettimeofday): Remove macro.
34332 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34333 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34335 (__gettimeofday): Add libc_hidden_def.
34336 (gettimeofday): Add libc_hidden_weak.
34337 * sysdeps/mach/gettimeofday.c: Likewise.
34338 * sysdeps/posix/gettimeofday.c: Likewise.
34339 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34340 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34342 (__gettimeofday_internal): Remove strong_alias.
34343 (__gettimeofday): Add libc_hidden_def.
34344 (gettimeofday): Add libc_hidden_weak.
34345 * sysdeps/unix/syscalls.list (gettimeofday):
34346 Remove __gettimeofday_internal alias.
34348 2012-05-24 Daniel Jacobowitz <drow@false.org>
34349 H.J. Lu <hongjiu.lu@intel.com>
34352 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34353 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34354 (largebin_index_32_big): New.
34355 (largebin_index): Use it for 16-byte alignment.
34356 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34357 correction with front_misalign.
34359 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34387 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34388 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34390 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34394 * math/libm-test.inc (exp_test): Add test from bug 14036.
34395 (pow_test): Add test from bug 10846.
34397 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34399 (special_function): Do not include flags in test name.
34400 (parse_args): Likewise.
34401 * sysdeps/i386/fpu/libm-test-ulps: Update.
34402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34409 * math/libm-test.inc ("Philosophy"): Update comment about
34411 (UNDERFLOW_EXCEPTION): New macro.
34412 (UNDERFLOW_EXCEPTION_OK): Likewise.
34413 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34414 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34415 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34416 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34417 (INVALID_EXCEPTION_OK): Update value.
34418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34419 (OVERFLOW_EXCEPTION_OK): Likewise.
34420 (IGNORE_ZERO_INF_SIGN): Likewise.
34421 (test_exceptions): Handle underflow exceptions.
34422 (acos_test): Update for underflow exception expectations.
34423 (cexp_test): Likewise.
34424 (clog_test): Likewise.
34425 (clog10_test): Likewise.
34426 (csqrt_test): Likewise.
34427 (ctan_test): Likewise.
34428 (ctanh_test): Likewise.
34429 (exp_test): Likewise.
34430 (exp10_test): Likewise.
34431 (exp2_test): Likewise.
34432 (expm1_test): Likewise.
34433 (fma_test): Likewise.
34434 (j0_test): Likewise.
34435 (jn_test): Likewise.
34436 (nexttoward_test): Likewise.
34437 (pow_test): Likewise.
34438 (scalbn_test): Likewise.
34439 (scalbln_test): Likewise.
34440 (tan_test): Likewise.
34441 (y1_test): Likewise.
34442 * sysdeps/i386/fpu/libm-test-ulps: Update.
34443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34445 2012-05-23 David S. Miller <davem@davemloft.net>
34447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34448 (__libc_sigaction): Remove unused local variables.
34450 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34454 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34456 mktime: avoid signed integer overflow
34457 * time/mktime.c (__mktime_internal): Do not mishandle the case
34458 where diff == INT_MIN.
34460 mktime: simplify computation of average
34461 * time/mktime.c (ranged_convert): Use new time_t_avg function
34462 instead of rolling our own (probably-slower) code.
34464 mktime: do not assume signed right shift propagates sign bit
34465 * time/mktime.c (isdst_differ): New static function.
34466 (__mktime_internal): No need to normalize tm_isdst now.
34467 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34470 mktime: merge another wrapv change from gnulib
34471 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34472 from some compilers.
34474 mktime: remove incorrect attempt at unusual arithmetics
34475 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34476 The code didn't really work on such machines anyway.
34477 (TYPE_MINIMUM): Assume two's complement.
34478 (twos_complement_arithmetic): Verify that long_int and time_t
34479 are two's complement (or unsigned, in the latter case).
34481 mktime: check signed shifts on long_int and time_t, too
34482 * time/mktime.c (SHR): Check that shifts work as desired
34483 on the types long_int and time_t too, as SHR is used on
34486 mktime: do not assume 'long' is wide enough
34487 * time/mktime.c (verify): Move decl up.
34488 (long_int): New type.
34489 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34490 to remove assumption in the code that 'long' is wide enough to
34491 store year values. This assumption is not true on x32 and on
34492 some non-glibc platforms.
34494 mktime: merge wrapv change from gnulib
34495 * time/mktime.c (WRAPV): New macro.
34496 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34497 (guess_time_tm, __mktime_internal): Do not assume that signed
34498 integer overflow wraps around; modern compilers generate code
34499 where this assumption is no longer valid.
34501 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34503 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34504 Replace "jmp L(pseudo_end)" with "ret".
34505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34508 2012-05-23 Andreas Jaeger <aj@suse.de>
34510 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34511 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34513 2012-05-23 Andreas Jaeger <aj@suse.de>
34514 Maximilian Attems <max@stro.at>
34516 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34519 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34522 code so that pseudo_end is just ret and the stack pointer is
34523 correct also for static library in error case.
34525 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34527 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34528 move to syscalls.list.
34529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34534 * manual/install.texi (Running make install): Do not mention Linux
34535 kernel version for which pt_chown is not needed.
34536 (Linux): Do not mention problems with nscd with 2.0 kernels.
34537 * INSTALL: Regenerated.
34539 2012-05-23 Andreas Jaeger <aj@suse.de>
34541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34542 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34544 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34546 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34548 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34554 * sysdeps/unix/sysv/linux/bits/in.h
34555 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34557 2012-05-22 Roland McGrath <roland@hack.frob.com>
34559 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34560 (PREPARE_VERSION): Just use assert instead, it will be elided
34561 under [NDEBUG] anyway.
34563 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34565 * sysdeps/unix/sysv/linux/Makefile: Include
34566 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34567 (sysdep_routines): Remove sysctl.
34568 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34569 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34570 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34571 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34572 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34574 2012-05-22 Andreas Jaeger <aj@suse.de>
34576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34577 that pseudo_end is just ret and the stack pointer is correct also
34578 for static library in error case.
34580 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34583 * nss/nsswitch.c (defconfig_entries): New variable.
34584 (__nss_database_lookup): Don't leak defconfig entries.
34585 (nss_parse_service_list): Don't leak on error paths.
34586 (free_database_entries): New function.
34587 (free_defconfig): New function.
34588 (free_mem): Move common code to free_database_entries.
34590 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34594 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34596 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34597 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34600 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34601 (INTERNAL_SYSCALL_TYPES): Likewise.
34602 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34603 (LOAD_REGS_TYPES_[1-6]): Likewise.
34604 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34605 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34607 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34609 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34610 copysignl for GLIBC_2_0.
34611 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34612 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34614 logbl for GLIBC_2_0.
34615 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34616 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34626 * time/mktime.c: Update copyright years.
34628 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34630 mktime: merge comment-quoting-style change from gnulib
34631 * time/mktime.c: Quote 'like this' in comments.
34632 The GNU coding standards suggest that we no longer quote `like this',
34633 as "`" and "'" are typically rendered asymmetrically nowadays.
34634 The typical gnulib style is to quote 'like this' when quoting
34635 code, and "like this" when quoting English.
34637 * time/mktime.c (compile-command): Add "-I.".
34639 mktime: merge mktime-internal.h change from gnulib
34640 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34642 mktime: merge time_r change from gnulib
34643 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34645 mktime: merge DEBUG change from gnulib
34646 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34647 case system <time.h> has a #define.
34649 mktime: merge <sys/types.h> change from gnulib
34650 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34651 since <time.t> is now guaranteed to define time_t.
34653 mktime: merge HAVE_CONFIG_H change from gnulib
34654 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34656 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34661 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34663 (struct rusage): Use anonymous union to pad each field to
34666 2012-05-21 David S. Miller <davem@davemloft.net>
34668 * Makefules (o-iterator): Remove .s cases.
34669 (compile-command.s): Delete.
34670 (COMPILE.s): Delete.
34671 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34673 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34675 * configure.in (libc_cv_predef_stack_protector): Only consider
34676 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34677 * configure: Regenerated.
34679 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34682 New macro. Use R*LP on int and pointer.
34683 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34688 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34689 [__WORDSIZE_TIME64_COMPAT32] instead of
34690 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34691 (struct utmp): Likewise.
34692 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34693 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34695 (__WORDSIZE_TIME64_COMPAT32): This.
34696 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34697 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34698 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34699 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34700 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34701 (__WORDSIZE_TIME64_COMPAT32): New macro.
34703 2012-05-21 Andreas Jaeger <aj@suse.de>
34705 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34706 only if [SHARED]. Add prototype for __wcschr_ia32.
34708 2012-05-21 Roland McGrath <roland@hack.frob.com>
34710 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34711 of %rbp unmolested in the jmp_buf while mangling the low bits.
34712 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34713 unmolested high bits of %rbp while demangling the low bits.
34714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34716 2012-05-21 Andreas Jaeger <aj@suse.de>
34718 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34719 * sunrpc/svc_simple.c: Use it for registerrpc.
34720 * sunrpc/xcrypt.c: Use it for passwd2des.
34722 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34724 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34726 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34727 Don't define if [__SYSCALL_WORDSIZE != 32].
34728 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34731 2012-05-21 Bruno Haible <bruno@clisp.org>
34732 Andreas Jaeger <aj@suse.de>
34734 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34735 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34736 inptr and inend for must_buffer_ch.
34737 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34738 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34739 * stdio-common/Makefile (tests): Remove bug15.
34740 (bug15-ENV): Remove macro.
34741 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34744 2012-05-19 Andreas Jaeger <aj@suse.de>
34745 Roland McGrath <roland@hack.frob.com>
34747 * manual/contrib.texi: Completely rewritten. It contains now an
34748 alphabetical list of contributors and their contributions.
34750 2012-05-21 Richard Henderson <rth@twiddle.net>
34752 * misc/getauxval.c (__getauxval): Use unsigned long int.
34753 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34754 (getauxval): Use unsigned long int.
34756 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34760 2012-05-21 Roland McGrath <roland@hack.frob.com>
34762 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34763 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34764 __alignof__ (long double).
34766 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34770 2012-05-20 Richard Henderson <rth@twiddle.net>
34772 * misc/getauxval.c: New file.
34773 * misc/sys/auxv.h: New file.
34774 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34775 (routines): Add getauxval.
34776 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34778 * elf/dl-sysdep.c (_dl_auxv): Remove.
34779 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34780 * elf/dl-support.c (_dl_auxv): New variable.
34781 (_dl_aux_init): Initialize it.
34782 * manual/startup.texi (Auxiliary Vector): New node.
34783 * sysdeps/generic/bits/hwcap.h: New file.
34784 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34785 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34786 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34787 * sysdeps/sparc/sysdep.h: ... here. Include it.
34788 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34801 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34805 2012-05-19 David S. Miller <davem@davemloft.net>
34807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34809 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34812 * math/s_ccosh.c: Include <float.h>
34813 (__ccosh): Avoid internal overflow calculating sinh and cosh
34814 values before multiplying by sin and cos values.
34815 * math/s_ccoshf.c: Likewise.
34816 * math/s_ccoshl.c: Likewise.
34817 * math/s_csin.c: Likewise.
34818 * math/s_csinf.c: Likewise.
34819 * math/s_csinl.c: Likewise.
34820 * math/s_csinh.c: Likewise.
34821 * math/s_csinhf.c: Likewise.
34822 * math/s_csinhl.c: Likewise.
34823 * math/libm-test.inc (ccos_test): Add more tests.
34824 (ccosh_test): Likewise.
34825 (csin_test): Likewise.
34826 (csinh_test): Likewise.
34827 * sysdeps/i386/fpu/libm-test-ulps: Update.
34828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34830 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34832 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34833 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34835 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34837 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34839 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34840 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34841 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34842 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34843 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34844 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34845 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34846 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34847 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34848 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34849 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34850 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34851 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34852 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34853 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34854 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34855 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34856 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34857 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34858 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34859 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34860 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34861 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34862 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34863 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34864 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34865 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34866 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34867 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34868 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34869 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34871 2012-05-18 Andreas Jaeger <aj@suse.de>
34873 * csu/.gitignore: Delete.
34875 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34877 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34878 (timex): Use __syscall_slong_t.
34880 2012-05-18 Andreas Jaeger <aj@suse.de>
34881 Carlos O'Donell <carlos_odonell@mentor.com>
34883 * manual/install.texi (Configuring and compiling): Update
34884 description about files modified in the source directory.
34885 * INSTALL: Regenerated.
34887 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34889 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34890 value. Use "or" to set return value to -1.
34891 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34892 negate return value.
34894 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34896 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34897 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34898 failure if the compiler has Graphite support disabled.
34899 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34901 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34902 (CFLAGS-memmove.c): Likewise.
34903 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34906 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34908 * sysdeps/x86_64/x32/_itoa.h: New file.
34910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34911 getdents system call only if kernel and user dirents have the
34912 same d_ino and d_off.
34914 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34915 LLONG_MAX != LONG_MAX.
34916 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34917 (_fitoa_word): Likewise.
34919 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34921 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34922 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34923 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34925 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34926 include <bits/wordsize.h>. Check __x86_64__ instead of
34928 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34929 if __x86_64__ is defined. Use anonymous union on fpstate.
34931 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34934 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34936 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34937 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34938 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34939 Refer to _rtld_local_ro instead of _rtld_global_ro.
34940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34942 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34944 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34946 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34947 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34948 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34950 * sysdeps/powerpc/powerpc32/dl-machine.c
34951 (__elf_machine_runtime_setup) [PROF]: Don't reference
34954 2012-05-18 Andreas Jaeger <aj@suse.de>
34956 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34957 function only available for GCCs before 3.4 since GCC 3.4
34958 introduced a builtin.
34960 (llrintf): Likewise.
34961 (llrint): Likewise.
34968 (nearbyint): Likewise.
34969 (nearbyintf): Likewise.
34973 (floorf): Likewise.
34975 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34977 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34978 on both fields and cast pointer to __syscall_ulong_t.
34980 * bits/types.h (__fsword_t): New type.
34981 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34982 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34984 (__FSWORD_T_TYPE): Likewise.
34985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34986 (__FSWORD_T_TYPE): Likewise.
34987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34988 (__FSWORD_T_TYPE): Likewise.
34989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34990 (__FSWORD_T_TYPE): Likewise.
34991 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34992 __SWORD_TYPE with __fsword_t.
34993 (statfs64): Likewise.
34995 2012-05-17 David S. Miller <davem@davemloft.net>
34997 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34999 2012-05-17 Andreas Jaeger <aj@suse.de>
35001 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35004 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35006 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35008 2012-05-17 Andreas Jaeger <aj@suse.de>
35010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35013 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35015 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35017 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35019 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35020 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35022 2012-05-17 Andreas Jaeger <aj@suse.de>
35023 Carlos O'Donell <carlos_odonell@mentor.com>
35026 * sysdeps/x86_64/multiarch/init-arch.h
35027 (bit_YMM_Usable): Rename to...
35028 (bit_AVX_Usable): ... this.
35029 (bit_FMA4_Usable): New macro.
35030 (bit_XMM_state): New macro.
35031 (bit_YMM_state): New macro.
35032 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35033 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35034 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35035 (CPUID_OSXSAVE): New macro.
35036 (CPUID_AVX): New macro.
35037 (CPUID_FMA4): New macro.
35038 (index_YMM_Usable): Rename to...
35039 (index_AVX_Usable): ... this.
35040 (HAS_AVX): Use HAS_ARCH_FEATURE.
35041 (HAS_FMA4): Likewise.
35042 (HAS_YMM_USABLE): Remove.
35043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35044 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35046 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35047 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35048 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35049 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35050 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35052 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35054 * math/libm-test.c: Support platforms without multiple rounding modes.
35055 * math/bug-nextafter.c: Support platforms without FP exceptions.
35056 * math/bug-nexttoward.c: Likewise.
35057 * math/test-fenv.c: Likewise.
35058 * math/test-misc.c: Likewise.
35059 * stdlib/bug-getcontext.c: Likewise.
35061 2012-05-17 Andreas Jaeger <aj@suse.de>
35063 * manual/examples/search.c (critter_cmp): Change signature to
35065 * manual/string.texi (Collation Functions): Likewise.
35067 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35069 * bits/types.h: Fold copyright years.
35070 * bits/typesizes.h: Likewise.
35071 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35075 * time/time.h: Likewise.
35077 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35080 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35081 in instead of returning them. Return void.
35082 (__libc_mallinfo): Accumulate over all arenas.
35083 (__malloc_stats): Adjust for change in int_mallinfo interface.
35085 2012-05-16 Roland McGrath <roland@hack.frob.com>
35088 * configure.in (NM): Add AC_CHECK_TOOL for it.
35089 (libc_extra_cflags): New substituted variable.
35090 Check for -fstack-protector being used implicitly.
35091 * configure: Regenerated.
35092 * config.make.in (config-extra-cflags): New variable,
35093 gets @libc_extra_cflags@.
35094 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35097 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35098 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35099 * configure: Regenerated.
35100 * config.make.in (CPPUNDEFS): New substituted variable.
35101 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35102 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35103 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35105 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35107 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35108 (mq_attr): Use __syscall_slong_t.
35110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35112 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35113 Check __x86_64__ instead of __WORDSIZE.
35114 (_STAT_VER_LINUX): Likewise.
35115 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35116 __syscall_ulong_t and __syscall_slong_t.
35117 (stat64): Likewise.
35119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35121 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35125 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35127 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35129 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35132 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35133 include <bits/wordsize.h>. Check __x86_64__ instead of
35135 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35137 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35140 include <bits/wordsize.h>. Check __x86_64__ instead of
35142 (user_regs_struct): Use "__extension__ unsigned long long"
35143 instead of "unsigned long" if __x86_64__ is defined.
35144 (user): Likewise. Pad after pointer field if __ILP32__ is
35147 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35149 * configure.in (makeinfo): Require version 4.5 or later. Allow
35151 * configure: Regenerated.
35152 * manual/install.texi (texinfo): Increase version requirement to
35154 * INSTALL: Regenerated.
35156 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35160 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35162 * sysdeps/x86_64/x32/ffs.c: New file.
35164 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35166 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35167 defined. Use __syscall_ulong_t.
35168 (shminfo): Use __syscall_ulong_t.
35169 (shm_info): Likewise.
35171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35174 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35176 (msgqnum_t): Use __syscall_ulong_t.
35177 (msglen_t): Likewise.
35178 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35181 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35182 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35184 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35186 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35187 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35189 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35192 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35193 include <bits/wordsize.h>. Check __x86_64__ instead of
35196 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35197 "unsigned long long int" if __x86_64__ is defined.
35198 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35201 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35202 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35204 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35206 (GET_PC): Cast to uintptr_t first.
35207 (GET_FRAME): Likewise.
35208 (GET_STACK): Likewise.
35210 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35212 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35214 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35216 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35217 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35218 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35219 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35221 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35223 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35240 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35242 * Makerules (+depfiles): Also collect depfiles from .oS in
35244 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35245 .oS, $(libnldbl-routines)).
35247 * Makerules (native-compile-mkdep-flags): Define.
35248 * sunrpc/Makefile (extra-objs): Add $(addprefix
35249 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35250 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35251 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35252 calling $(make-target-directory).
35254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35256 * bits/types.h (__snseconds_t): Removed.
35257 * time/time.h (struct timespec): Replace __snseconds_t with
35259 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35260 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35263 (__SNSECONDS_T_TYPE): Likewise.
35264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35265 (__SNSECONDS_T_TYPE): Likewise.
35266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35267 (__SNSECONDS_T_TYPE): Likewise.
35269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/mach/hurd/bits/typesizes.h
35272 (__SYSCALL_SLONG_TYPE): New macro.
35273 (__SYSCALL_ULONG_TYPE): Likewise.
35275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35277 * bits/types.h (__syscall_slong_t): New type.
35278 (__syscall_ulong_t): Likewise.
35280 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35281 (__SYSCALL_ULONG_TYPE): Likewise.
35282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35283 (__SYSCALL_SLONG_TYPE): Likewise.
35284 (__SYSCALL_ULONG_TYPE): Likewise.
35285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35286 (__SYSCALL_SLONG_TYPE): Likewise.
35287 (__SYSCALL_ULONG_TYPE): Likewise.
35288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35289 (__SYSCALL_SLONG_TYPE): Likewise.
35290 (__SYSCALL_ULONG_TYPE): Likewise.
35292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35294 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35295 Add sigaltstack-offsets.sym.
35296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35297 <sigaltstack-offsets.h>.
35298 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35299 longjmp_msg pointer.
35300 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35301 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35303 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35305 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35307 * elf/stackguard-macros.h: Remove file.
35308 * sysdeps/generic/stackguard-macros.h: New file.
35309 * sysdeps/i386/stackguard-macros.h: Likewise.
35310 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35311 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35312 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35313 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35314 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35315 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35316 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35317 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35318 <elf/stackguard-macros.h>.
35321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35322 __aligned__ in attribute.
35323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35324 (gregset_t): Likewise.
35326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35328 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35329 * sysdeps/x86_64/64/Implies-after: Here. New file.
35330 * sysdeps/x86_64/x32/Implies-after: New file.
35332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35334 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35335 and access return value for _dl_profile_fixup. Use R10_LP to
35338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35340 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35344 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35345 * sysdeps/x86_64/x32/sysdep.h: New file.
35347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35349 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35350 * sysdeps/x86_64/setjmp.S: Likewise.
35352 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35356 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35358 remove unused global constant.
35360 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35362 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35363 include of <not-cancel.h>.
35365 2012-05-15 Roland McGrath <roland@hack.frob.com>
35367 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35369 2012-05-15 Jeff Law <law@redhat.com>
35370 Andreas Jaeger <aj@suse.de>
35373 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35375 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35376 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35377 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35378 code changing __hst_map_handle.map.
35380 2012-05-15 Roland McGrath <roland@hack.frob.com>
35382 * configure.in (sysnames): Look for Implies-before and Implies-after
35384 * configure: Regenerated.
35386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35389 8-byte data alignment with LP_SIZE alignment.
35391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35393 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35398 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35403 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35410 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35411 (stackinfo_sub_sp): Likewise.
35413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35430 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35434 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35435 into R11_LP and load __x86_64_shared_cache_size_half into
35438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35443 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35452 powerpc32/power7/fpu/s_logb.c via #include.
35453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35454 powerpc32/power7/fpu/s_logbf.c via #include.
35455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35456 powerpc32/power7/fpu/s_logbl.c via #include.
35458 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35460 * README.libm: Remove file.
35462 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35464 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35465 count for x32. Use R*_LP and omit operand-size suffix.
35467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35469 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35470 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35471 * sysdeps/x86_64/x32/shlib-versions: New file.
35473 2012-05-14 Roland McGrath <roland@hack.frob.com>
35475 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35476 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35477 Use _dl_fatal_printf instead.
35479 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35481 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35482 set if not set by the user. Do not allow for being unset.
35483 * sysdeps/unix/sysv/linux/configure: Regenerated.
35485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35487 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35488 the `q' suffix from lea and replace .quad with ASM_ADDR.
35490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35493 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35495 (PTR_DEMANGLE): Likewise.
35497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35499 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35501 (ASM_ADDR): Likewise.
35502 (RAX_LP): Likewise.
35503 (RBP_LP): Likewise.
35504 (RBX_LP): Likewise.
35505 (RCX_LP): Likewise.
35506 (RDI_LP): Likewise.
35507 (RSI_LP): Likewise.
35508 (RSP_LP): Likewise.
35511 (R10_LP): Likewise.
35512 (R10_LP): Likewise.
35513 (R11_LP): Likewise.
35514 (R12_LP): Likewise.
35515 (R13_LP): Likewise.
35516 (R14_LP): Likewise.
35517 (R15_LP): Likewise.
35519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35521 * sysdeps/x86_64/x32/dl-machine.h: New file.
35523 2012-05-14 Andreas Jaeger <aj@suse.de>
35525 * manual/Makefile (subdir): Remove export of subdir.
35526 (all): Remove target.
35527 (.PHONY): Remove all from list.
35528 (mkinstalldirs): Remove.
35529 (.PHONY): Remove installdirs from list.
35530 ($(inst_infodir)/libc.info): Use make-target-directory.
35531 (installdirs): Remove.
35532 (subdir_%): Remove.
35533 (glibc-targets): Remove.
35536 ($(objpfx)stubs ../po/manual.pot): Remove.
35537 ($(objpfx)stamp%): Remove.
35538 (make-target-directory): Remove.
35539 (subdir_install): Remove.
35540 (routines): Remove.
35547 * manual/.gitignore: Remove, it's not needed anymore.
35548 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35550 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35552 (texis): Renamed to $(objpfx)texis.
35553 (texis-path): New, contains path to generated files.
35554 (chapters.%): Use texis-path for complete path, add extra argument
35556 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35557 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35558 (summary,texi, stamp-summary): Use complete path of
35559 files. Generate files in build dir.
35560 (dir-add.texi): Build in build dir.
35561 (libm-err.texi,stamp-libm-err): Likewise.
35562 (version.texi, stamp-version): Likewise.
35563 (.%c.texi): Likewise.
35564 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35565 (mostlyclean): Remove target.
35566 (realclean): Remove target.
35567 (generated): Add new variable with contents from mostlyclean and
35568 realclean, remove entries duplicated in common-mostlyclean, add
35569 stamp-libm-err and stamp-version.
35570 (generated-dirs): Add libc directory.
35571 ($(inst_infodir)/libc.info): Install files from build dir.
35573 * manual/install.texi (Configuring and compiling): Adjust since
35574 the info files are not part of the tar ball anymore.
35576 2012-05-14 Andreas Jaeger <aj@suse.de>
35578 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35581 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35585 to 2.2.0 where earlier.
35586 * sysdeps/unix/sysv/linux/configure: Regenerated.
35587 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35588 Remove conditional code.
35589 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35590 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35591 Remove conditional code.
35592 [!__NR_lchown]: Likewise.
35593 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35594 [__NR_lchown]: Likewise.
35595 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35596 comment referencing __ASSUME_LCHOWN_SYSCALL.
35597 * sysdeps/unix/sysv/linux/i386/sigaction.c
35598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35600 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35601 Remove conditional code.
35602 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35603 (__protocol_available): Remove #if 0 code.
35604 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35606 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35607 * sysdeps/unix/sysv/linux/kernel-features.h
35608 (__ASSUME_GETCWD_SYSCALL): Don't define.
35609 (__ASSUME_REALTIME_SIGNALS): Likewise.
35610 (__ASSUME_PREAD_SYSCALL): Likewise.
35611 (__ASSUME_PWRITE_SYSCALL): Likewise.
35612 (__ASSUME_POLL_SYSCALL): Likewise.
35613 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35614 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35616 (__ASSUME_SIOCGIFNAME): Don't define.
35617 (__ASSUME_MSG_NOSIGNAL): Likewise.
35618 (__ASSUME_SENDFILE): Define unconditionally.
35619 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35620 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35622 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35623 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35624 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35625 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35626 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35628 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35630 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35636 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35653 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35654 Remove conditional code.
35655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35656 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35657 Remove conditional code.
35658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35659 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35660 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35661 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35662 Remove conditional code.
35663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35664 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35665 Remove conditional code.
35666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35667 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35668 Remove conditional code.
35669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35670 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35671 Remove conditional code.
35672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35673 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35674 Remove conditional code.
35675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35676 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35677 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35679 * sysdeps/unix/sysv/linux/sigaction.c
35680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35682 * sysdeps/unix/sysv/linux/sigpending.c
35683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35685 * sysdeps/unix/sysv/linux/sigprocmask.c
35686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35688 * sysdeps/unix/sysv/linux/sigsuspend.c
35689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35692 (__libc_missing_rt_sigs): Remove.
35693 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35694 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35695 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35696 Remove conditional code.
35697 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35698 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35700 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35702 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35705 2012-05-14 Andreas Jaeger <aj@suse.de>
35707 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35708 it's not used in glibc.
35709 (__coshm1): Likewise.
35710 (__acosh1p): Likewise.
35713 * manual/string.texi (Copying and Concatenation): Add missing
35714 variable in concat example.
35715 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35717 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35721 __builtin_clzl with __builtin_clzll.
35723 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35726 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35729 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35731 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35732 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35733 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35734 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35736 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35738 * NEWS: Update ia64 info.
35740 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35742 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35745 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35747 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35748 * sysdeps/unix/syscalls.list (dup3): Likewise.
35749 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35750 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35752 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35754 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35755 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35757 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35759 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35761 (TLS_IE): Use mov/add instead of movq/addq to load thread
35763 (TLS_GD_PREFIX): New.
35766 2012-05-11 David S. Miller <davem@davemloft.net>
35768 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35769 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35770 (_FPU_SETCW): Likewise.
35772 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35774 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35775 is 32-byte aligned.
35777 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35780 * iconvdata/gb18030.c: Update tables.
35781 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35782 characters specially.
35783 (BODY for TO_LOOP): Add encoding of missing ranges.
35785 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35788 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35789 * sysdeps/mach/hurd/dup3.c: Likewise.
35790 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35791 * sysdeps/powerpc/memmove.c:: Likewise.
35793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35796 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35798 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35800 * elf/elf.h (R_X86_64_RELATIVE64): New.
35801 (R_X86_64_NUM): Updated.
35802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35803 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35804 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35805 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35806 tst-quad1pie tst-quad2pie
35807 (modules-names): Add tst-quadmod1 tst-quadmod2.
35808 ($(objpfx)tst-quad1): New dependency.
35809 ($(objpfx)tst-quad2): Likewise.
35810 ($(objpfx)tst-quad1pie): Likewise.
35811 ($(objpfx)tst-quad2pie): Likewise.
35812 * sysdeps/x86_64/tst-quad1.c: New file.
35813 * sysdeps/x86_64/tst-quad1pie.c: New file.
35814 * sysdeps/x86_64/tst-quad2.c: Likewise.
35815 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35816 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35817 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35818 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35819 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35821 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35823 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35824 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35825 * streams/stropts.h (t_scalar_t): Define type.
35827 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35828 (_PATH_PRESERVE): Set to "/var/lib".
35829 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35831 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35834 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35835 if __dir_mkfile succeeded.
35837 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35838 checking for _hurd_dtablesize. Unlock it right after having
35839 finished _hurd_dtable allocation.
35841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35843 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35844 * sysdeps/mach/hurd/configure: Regenerated.
35845 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35846 special-casing to...
35847 * sysdeps/gnu/configure.in: ... this new file.
35848 * sysdeps/unix/sysv/linux/configure: Regenerated.
35849 * sysdeps/gnu/configure: New generated file.
35851 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35852 for Linux: use nsec instead of usec, as well as:
35853 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35854 members of type struct timespec.
35855 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35857 (struct stat64): Likewise.
35858 (_STATBUF_ST_NSEC): New macro.
35859 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35861 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35862 __strtoul_internal rather than strtoul.
35864 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35866 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35869 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35871 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35872 which preserves existing values.
35873 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35875 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35877 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35878 TIMEOUT values. Return EINVAL for NFDS values either negative or
35879 greater than FD_SETSIZE.
35881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35883 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35884 allocated, call __vm_protect to finish enabling the existing space, and
35885 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35886 allocate the remainder.
35888 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35890 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35891 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35895 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35896 sysdeps/mach/hurd/readlink.c.
35898 * posix/tst-sysconf.c (posix_options): Only use
35899 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35900 _POSIX_SYNCHRONIZED_IO when they are defined
35901 * sysdeps/mach/hurd/bits/posix_opt.h:
35902 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35903 (_XOPEN_REALTIME): Undefine macro.
35904 (_XOPEN_REALTIME_THREADS): Undefine macro.
35905 (_XOPEN_SHM): Undefine macro.
35906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35910 (_POSIX_ASYNC_IO): Undefine macro.
35911 (_POSIX_PRIORITIZED_IO): Undefine macro.
35912 (_POSIX_SPIN_LOCKS): Define macro to -1.
35914 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35915 SA_NODEFER, SA_RESETHAND.
35916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35917 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35922 * elf/Makefile (pldd-modules): Define unconditionally.
35924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35926 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35930 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35931 Return ENOENT when name is empty.
35932 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35936 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35938 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35942 Fix mlock in all cases except non-readable pages.
35943 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35944 instead of VM_PROT_ALL as parameter to __vm_wire function.
35946 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35947 (__mkdir): When path is `/', just fail with EEXIST.
35948 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35950 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35952 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35953 <sys/uio.h> (for writev).
35954 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35955 and <sys/param.h> (for MIN).
35957 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35959 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35960 REQUESTED_TIME. Properly set the remaining time and return EINTR
35963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35965 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35966 Depend on against $(link-rpcuserlibs).
35968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35970 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35971 (__libc_stack_end): Do not use attribute_relro.
35972 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35973 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35974 to libthread-provided value.
35975 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35981 * bits/libc-lock.h (__libc_once_get): New macro.
35982 * sysdeps/mach/bits/libc-lock.h: Likewise.
35983 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35985 instead of using implementation details.
35987 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35988 * libio/freopen.c: Likewise.
35989 * libio/freopen64.c: Likewise.
35990 * misc/syslog.c: Likewise.
35991 * nscd/connections.c: Likewise.
35992 * nscd/netgroupcache.c: Likewise.
35993 * sysdeps/posix/getcwd.c: Likewise.
35995 2012-05-10 Roland McGrath <roland@hack.frob.com>
35997 * math/w_ilogbf.c: Add #include <limits.h>.
35999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36001 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36002 path instead of returning without unlocking.
36004 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36005 immediate-write ioctls.
36006 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36008 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36010 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36011 __builtin_frame_address instead of making assumptions about the
36012 location of the return address relative to DATA. Force early load of
36013 the return address.
36014 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36015 __builtin_frame_address.
36018 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36019 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36020 implement dup3 and do some further code clean-ups.
36021 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36022 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36026 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36028 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36029 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36030 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36031 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36032 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36035 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36036 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36037 when handler == SIG_ERR, not when handler != SIG_ERR.
36039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36041 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36042 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36045 accept4 for GNU Hurd.
36046 * include/sys/socket.h (__libc_accept4): New prototype.
36047 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36048 to implement __libc_accept4.
36049 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36051 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36053 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36054 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36055 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36056 signal-defines.sym.
36058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36060 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36064 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36065 assertion on O_CLOEXEC flag.
36066 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36067 * hurd/intern-fd.c: Likewise.
36068 * hurd/port2fd.c: Likewise.
36070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36073 * bits/in.h (IPV6_PKTINFO): Define new macro.
36074 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36076 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36081 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36083 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36084 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36086 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36087 * math/libm-test.inc (logb_test) : Additional logb tests.
36089 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36090 Andreas Jaeger <aj@suse.de>
36092 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36093 * configure: Regenerated.
36094 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36095 * config.make.in (link-obsolete-rpc): New substituted variable.
36096 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36097 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36098 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36099 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36100 so that libc.a contains the symbols.
36101 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36102 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36103 * sunrpc/auth_none.c: Likewise.
36104 * sunrpc/auth_unix.c: Likewise.
36105 * sunrpc/authdes_prot.c: Likewise.
36106 * sunrpc/authuxprot.c: Likewise.
36107 * sunrpc/clnt_gen.c: Likewise.
36108 * sunrpc/clnt_perr.c: Likewise.
36109 * sunrpc/clnt_raw.c: Likewise.
36110 * sunrpc/clnt_simp.c: Likewise.
36111 * sunrpc/clnt_tcp.c: Likewise.
36112 * sunrpc/clnt_udp.c: Likewise.
36113 * sunrpc/clnt_unix.c: Likewise.
36114 * sunrpc/des_crypt.c: Likewise.
36115 * sunrpc/des_soft.c: Likewise.
36116 * sunrpc/get_myaddr.c: Likewise.
36117 * sunrpc/key_call.c: Likewise.
36118 * sunrpc/key_prot.c: Likewise.
36119 * sunrpc/netname.c: Likewise.
36120 * sunrpc/pm_getmaps.c: Likewise.
36121 * sunrpc/pm_getport.c: Likewise.
36122 * sunrpc/pmap_clnt.c: Likewise.
36123 * sunrpc/pmap_prot.c: Likewise.
36124 * sunrpc/pmap_prot2.c: Likewise.
36125 * sunrpc/pmap_rmt.c: Likewise.
36126 * sunrpc/publickey.c: Likewise.
36127 * sunrpc/rpc_cmsg.c: Likewise.
36128 * sunrpc/rpc_common.c: Likewise.
36129 * sunrpc/rpc_dtable.c: Likewise.
36130 * sunrpc/rpc_prot.c: Likewise.
36131 * sunrpc/rpc_thread.c: Likewise.
36132 * sunrpc/rtime.c: Likewise.
36133 * sunrpc/svc.c: Likewise.
36134 * sunrpc/svc_auth.c: Likewise.
36135 * sunrpc/svc_raw.c: Likewise.
36136 * sunrpc/svc_run.c: Likewise.
36137 * sunrpc/svc_tcp.c: Likewise.
36138 * sunrpc/svc_udp.c: Likewise.
36139 * sunrpc/svc_unix.c: Likewise.
36140 * sunrpc/svcauth_des.c: Likewise.
36141 * sunrpc/xcrypt.c: Likewise.
36142 * sunrpc/xdr.c: Likewise.
36143 * sunrpc/xdr_array.c: Likewise.
36144 * sunrpc/xdr_float.c: Likewise.
36145 * sunrpc/xdr_intXX_t.c: Likewise.
36146 * sunrpc/xdr_mem.c: Likewise.
36147 * sunrpc/xdr_rec.c: Likewise.
36148 * sunrpc/xdr_ref.c: Likewise.
36149 * sunrpc/xdr_sizeof.c: Likewise.
36150 * sunrpc/xdr_stdio.c: Likewise.
36152 2012-05-10 Roland McGrath <roland@hack.frob.com>
36154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36155 change. Update copyright years.
36157 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36159 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36161 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36162 Joseph Myers <joseph@codesourcery.com>
36163 Paul Pluzhnikov <ppluzhnikov@google.com>
36166 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36168 [cross-compiling] (extra-libs): Likewise.
36169 [cross-compiling] (extra-libs-others): Likewise.
36170 [cross-compiling] (librpcsvc-routines): Likewise.
36171 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36172 [cross-compiling] (omit-deps): Likewise.
36173 (sunrpc-CPPFLAGS): New variable.
36174 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36175 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36176 (cross-rpcgen-objs): New variable.
36177 (extra-objs): Append $(cross-rpcgen-objs).
36178 ($(cross-rpcgen-objs)): New rule.
36179 ($(objpfx)cross-rpcgen): Likewise.
36180 (rpcgen-cmd): Define to use $(built-program-file). Expand
36182 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36183 ($(objpfx)x%.stmp): Likewise.
36184 * sunrpc/proto.h [IS_IN_build] (_): Define.
36185 [IS_IN_build] (_libc_intl_domainname): Likewise.
36187 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36190 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36191 and R_X86_64_TPOFF64.
36193 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36195 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36196 sysdeps/unix/sysv/syscalls.list.
36199 * sysdeps/unix/sysv/syscalls.list: Remove file.
36201 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36204 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36205 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36206 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36207 (__LC_IDENTIFICATION): Make these macros useful in #if
36208 expressions, as required by C99.
36210 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36212 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36213 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36216 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36218 * stdlib/longlong.h: Updated from GCC.
36220 2012-05-09 Andreas Jaeger <aj@suse.de>
36222 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36223 default is first entry.
36224 (run_mode): Set type.
36225 (main): Remove informal message about syslog.
36226 (options): Fix typo.
36229 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36232 (llrintf): Likewise.
36233 (llrint): Likewise.
36236 (nearbyint): Likewise.
36237 (nearbyintf): Likewise.
36239 2012-05-09 Andreas Jaeger <aj@suse.de>
36240 Pedro Alves <palves@redhat.com>
36242 * nscd/nscd.c (run_mode): Use enum.
36243 (main): Cleanup coding style issue.
36245 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36246 Andreas Jaeger <aj@suse.de>
36248 * nscd/nscd.c (go_background): Replaced with...
36249 (run_mode): ... this.
36250 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36251 (options): Add -F --foreground.
36252 (main): Implement it.
36253 (parse_opt): Parse it.
36255 2012-05-09 Andreas Jaeger <aj@suse.de>
36258 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36259 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36260 -Wconversion warning.
36261 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36264 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36266 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36268 (LC_ALL): Use macro-int-constant.
36269 (LC_COLLATE): Likewise.
36270 (LC_CTYPE): Likewise.
36271 (LC_MESSAGES): Likewise.
36272 (LC_MONETARY): Likewise.
36273 (LC_NUMERIC): Likewise.
36274 (LC_TIME): Likewise.
36275 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36276 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36278 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36280 [C99-based standards] (float_t): Expect type.
36281 [C99-based standards] (double_t): Expect type.
36282 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36284 [C99-based standards] (HUGE_VALL): Likewise.
36285 [C99-based standards] (INFINITY): Likewise.
36286 [C99-based standards] (NAN): Likewise.
36287 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36288 [C99-based standards] (FP_NAN): Likewise.
36289 [C99-based standards] (FP_NORMAL): Likewise.
36290 [C99-based standards] (FP_SUBNORMAL): Likewise.
36291 [C99-based standards] (FP_ZERO): Likewise.
36292 [C99-based standards] (FP_FAST_FMA): Use
36293 optional-macro-int-constant. Specify type. Require == 1.
36294 [C99-based standards] (FP_FAST_FMAF): Likewise.
36295 [C99-based standards] (FP_FAST_FMAL): Likewise.
36296 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36297 [C99-based standards] (FP_ILOGBNAN): Likewise.
36298 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36300 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36301 [C99-based standards] (math_errhandling): Specify type.
36302 [ISO99 || ISO11] (signgam): Do not allow.
36303 [non-C99-based standards] (copysignf): Do not allow.
36304 [non-C99-based standards] (exp2f): Likewise.
36305 [non-C99-based standards] (log2f): Likewise.
36306 [non-C99-based standards] (modff): Allow.
36307 [non-C99-based standards] (erff): Do not allow.
36308 [non-C99-based standards] (erfcf): Likewise.
36309 [non-C99-based standards] (gammaf): Likewise.
36310 [non-C99-based standards] (hypotf): Likewise.
36311 [non-C99-based standards] (j0f): Likewise.
36312 [non-C99-based standards] (j1f): Likewise.
36313 [non-C99-based standards] (jnf): Likewise.
36314 [non-C99-based standards] (lgammaf): Likewise.
36315 [non-C99-based standards] (tgammaf): Likewise.
36316 [non-C99-based standards] (y0f): Likewise.
36317 [non-C99-based standards] (y1f): Likewise.
36318 [non-C99-based standards] (ynf): Likewise.
36319 [non-C99-based standards] (isnanf): Likewise.
36320 [non-C99-based standards] (acoshf): Likewise.
36321 [non-C99-based standards] (asinhf): Likewise.
36322 [non-C99-based standards] (atanhf): Likewise.
36323 [non-C99-based standards] (cbrtf): Likewise.
36324 [non-C99-based standards] (expm1f): Likewise.
36325 [non-C99-based standards] (ilogbf): Likewise.
36326 [non-C99-based standards] (log1pf): Likewise.
36327 [non-C99-based standards] (logbf): Likewise.
36328 [non-C99-based standards] (nextafterf): Likewise.
36329 [non-C99-based standards] (remainderf): Likewise.
36330 [non-C99-based standards] (rintf): Likewise.
36331 [non-C99-based standards] (scalbf): Likewise.
36332 [non-C99-based standards] (copysignl): Likewise.
36333 [non-C99-based standards] (exp2l): Likewise.
36334 [non-C99-based standards] (log2l): Likewise.
36335 [non-C99-based standards] (modfl): Allow.
36336 [non-C99-based standards] (erfl): Do not allow.
36337 [non-C99-based standards] (erfcl): Likewise.
36338 [non-C99-based standards] (gammal): Likewise.
36339 [non-C99-based standards] (hypotl): Likewise.
36340 [non-C99-based standards] (j0l): Likewise.
36341 [non-C99-based standards] (j1l): Likewise.
36342 [non-C99-based standards] (jnl): Likewise.
36343 [non-C99-based standards] (lgammal): Likewise.
36344 [non-C99-based standards] (tgammal): Likewise.
36345 [non-C99-based standards] (y0l): Likewise.
36346 [non-C99-based standards] (y1l): Likewise.
36347 [non-C99-based standards] (ynl): Likewise.
36348 [non-C99-based standards] (isnanl): Likewise.
36349 [non-C99-based standards] (acoshl): Likewise.
36350 [non-C99-based standards] (asinhl): Likewise.
36351 [non-C99-based standards] (atanhl): Likewise.
36352 [non-C99-based standards] (cbrtl): Likewise.
36353 [non-C99-based standards] (expm1l): Likewise.
36354 [non-C99-based standards] (ilogbl): Likewise.
36355 [non-C99-based standards] (log1pl): Likewise.
36356 [non-C99-based standards] (logbl): Likewise.
36357 [non-C99-based standards] (nextafterl): Likewise.
36358 [non-C99-based standards] (remainderl): Likewise.
36359 [non-C99-based standards] (rintl): Likewise.
36360 [non-C99-based standards] (scalbl): Likewise.
36361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36362 [non-C99-based standards] (FP_*): Do not allow.
36363 [C99-based standards] (FP_*): Change to
36364 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36365 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36367 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36368 (SIG_ERR): Likewise.
36369 [X/Open-based standards] (SIG_HOLD): Likewise.
36370 (SIG_IGN): Likewise.
36371 (SIGABRT): Use macro-int-constant. Specify type. Require
36373 (SIGFPE): Likewise.
36374 (SIGILL): Likewise.
36375 (SIGINT): Likewise.
36376 (SIGSEGV): Likewise.
36377 (SIGTER): Likewise.
36378 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36379 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36380 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36381 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36382 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36383 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36384 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36385 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36386 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36387 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36388 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36389 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36390 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36391 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36392 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36393 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36396 [X/Open-based standards] (SIGTRAP): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36401 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36404 2012-05-08 Ian Wienand <ianw@vmware.com>
36407 * time/tzset.c (__tzset_parse_tz): Update default rules for
36408 daylight time changes in the Energy Policy Act of 2005.
36410 2012-05-09 Andreas Jaeger <aj@suse.de>
36413 * elf/ldconfig.c (parse_conf): Change string to make clear that
36414 ldconfig only issued a warning if ld.so.conf does not exist.
36416 2012-05-08 David S. Miller <davem@davemloft.net>
36418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36419 movxtod instead of popping the value on the stack.
36421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36423 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36425 * config.h.in: Add HAVE_ARM_PCS_VFP.
36427 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36430 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36431 checking but the checks are disabled for any reason.
36433 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36435 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36436 and ELF64_R_TYPE with ELFW(R_TYPE).
36438 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36440 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36441 (ulimit): Likewise.
36443 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36444 (settimeofday): Likewise.
36446 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36448 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36449 a struct th_u2 inside the union, and move tu_block/tu_code into
36450 a new th_u3 union of tu_block/tu_code inside of that. Move
36451 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36452 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36453 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36454 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36455 (th_stuff): Change to th_u1.tu_stuff.
36457 (th_msg): Change to th_u1.th_u2.tu_data.
36459 2012-05-07 David S. Miller <davem@davemloft.net>
36461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36464 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36465 (SETUP_PIC_REG): Use it.
36466 (SETUP_PIC_REG_LEAF): Use it.
36468 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36474 (EXPL_FINITE): Likewise.
36475 (FLDLOG): Likewise.
36476 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36477 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36481 (EXPL_FINITE): Likewise.
36482 (FLDLOG): Likewise.
36483 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36484 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36486 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36487 test of -max_value argument for long double.
36488 * sysdeps/i386/fpu/libm-test-ulps: Update.
36489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36491 2012-05-06 David S. Miller <davem@davemloft.net>
36493 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36494 quad soft-float symbols whose references which are compiler
36496 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36498 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36502 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36504 (EXPL_FINITE): Likewise.
36505 (FLDLOG): Likewise.
36508 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36509 Adjust comments for base varying.
36510 (__expl_finite): Change alias to EXPL_FINITE.
36511 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36513 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36514 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36516 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36517 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36519 (EXPL_FINITE): Likewise.
36520 (FLDLOG): Likewise.
36523 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36524 Adjust comments for base varying.
36525 (__expl_finite): Change alias to EXPL_FINITE.
36526 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36531 * math/libm-test.inc (check_float_internal): Correct ulp
36532 calculation for subnormal expected results.
36534 2012-05-06 Andreas Jaeger <aj@suse.de>
36536 * Makeconfig (+math-flags): New, set to -frounding-math.
36537 (+cflags): Add +math-flags so that all of glibc gets compiled with
36540 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36542 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36544 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36550 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36551 (__ieee754_expl): Allow for and saturate large arguments.
36552 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36553 (u_threshold): Likewise.
36554 (__exp): Call __ieee754_exp before checking for overflow and
36556 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36557 (u_threshold): Likewise.
36558 (__expf): Call __ieee754_expf before checking for overflow and
36560 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36561 (u_threshold): Likewise.
36562 (__expl): Call __ieee754_expl before checking for overflow and
36564 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36565 (__ieee754_expl): Allow for and saturate large arguments.
36566 * math/libm-test.inc (exp_test): Add another test. Do not allow
36567 missing overflow exception on overflow.
36568 (expm1_test): Do not allow missing overflow exception on overflow.
36570 * sysdeps/i386/fpu/e_expl.c: Move to ...
36571 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36572 rather than using inline asm.
36573 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36574 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36575 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36577 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36580 (signal): Likewise.
36584 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36586 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36587 sysdeps/unix/common/syscalls.list.
36588 (fchmod): Likewise.
36589 (fchown): Likewise.
36590 (ftruncate): Likewise.
36591 (getrusage): Likewise.
36592 (gettimeofday): Likewise.
36593 (setpgid): Likewise.
36594 (setregid): Likewise.
36595 (setreuid): Likewise.
36596 (sigaction): Likewise.
36597 (truncate): Likewise.
36598 (vhangup): Likewise.
36599 * sysdeps/unix/common/syscalls.list: Remove file.
36600 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36601 * sysdeps/unix/sysv/linux/Implies: Likewise.
36603 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36605 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36607 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36611 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36614 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36617 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36620 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36623 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36626 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36629 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36633 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36637 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36644 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36648 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36650 * sysdeps/unix/common/bits/dirent.h: Remove file.
36651 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36653 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36654 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36655 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36656 * sysdeps/unix/bsd/isatty.c: Likewise.
36657 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36658 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36659 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36661 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36665 long double comparison inaccuracies.
36666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36669 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36671 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36674 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36677 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36678 nonzero digits before rounding a hex value.
36679 * stdlib/tst-strtod.c (tests): Add another test.
36681 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36683 * sysdeps/s390/fpu/libm-test-ulps: Update.
36685 2012-05-03 Andreas Jaeger <aj@suse.de>
36687 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36688 does not get optimized out.
36689 (malloc_opt_barrier): New.
36691 2012-05-03 Andreas Jaeger <aj@suse.de>
36692 Roland McGrath <roland@hack.frob.com>
36694 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36695 intermediate file deletion.
36696 (generated): Add .symlist files.
36698 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36701 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36702 Redirect under this condition.
36703 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36704 [__USE_GNU] (__dprintf_chk): Not under this condition.
36705 [__USE_GNU] (__vdprintf_chk): Likewise.
36706 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36707 under this condition.
36708 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36709 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36710 [__USE_XOPEN2K8] (vdprintf): Likewise.
36711 [__USE_GNU] (__dprintf_chk): Not under this condition.
36712 [__USE_GNU] (__vdprintf_chk): Likewise.
36713 [__USE_GNU] (dprintf): Likewise.
36714 [__USE_GNU] (vdprintf): Likewise.
36716 2012-05-03 Roland McGrath <roland@hack.frob.com>
36718 * elf/Makefile (common-generated): Set this instead of generated for
36719 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36720 $(all-built-dso)-derived lists.
36722 2012-05-03 Andreas Jaeger <aj@suse.de>
36724 * sysdeps/i386/fpu/libm-test-ulps: Update.
36727 * FAQ.in: Likewise.
36728 * scripts/gen-FAQ.pl: Likewise.
36729 * manual/install.texi (Installation): Point to online location of
36731 * Makefile (files-for-dist): Remove FAQ.
36734 2012-05-02 Allan McRae <allan@archlinux.org>
36736 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36737 (LDFLAGS-reldepmod5.so): Likewise.
36738 (LDFLAGS-reldep6mod1.so): Likewise.
36739 (LDFLAGS-reldep6mod4.so): Likewise.
36740 (LDFLAGS-reldep8mod3.so): Likewise.
36741 (LDFLAGS-unload4mod1.so): Likewise.
36742 (LDFLAGS-unload4mod2.so): Likewise.
36743 (LDFLAGS-tst-initorder): Likewise.
36744 (LDFLAGS-tst-initordera2.so): Likewise.
36745 (LDFLAGS-tst-initordera3.so): Likewise.
36746 (LDFLAGS-tst-initordera4.so): Likewise.
36747 (LDFLAGS-tst-initorderb2.so): Likewise.
36748 (LDFLAGS-noload): Likewise.
36749 (LDFLAGS-next): Likewise.
36750 (LDFLAGS-order2mod1.so): Likewise.
36751 (LDFLAGS-order2mod2.so): Likewise.
36752 (LDFLAGS-tst-initorder2): Likewise.
36753 (LDFLAGS-tst-initorder2a.so): Likewise.
36754 (LDFLAGS-tst-initorder2b.so): Likewise.
36755 (LDFLAGS-tst-initorder2c.so): Likewise.
36756 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36758 2012-05-02 David S. Miller <davem@davemloft.net>
36760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36762 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36765 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36767 2012-05-02 Andreas Jaeger <aj@suse.de>
36769 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36770 since we manipulate rounding mode.
36771 (CPPFLAGS-test-idouble.c): Likewise.
36772 (CPPFLAGS-test-ifloat.c): Likewise.
36773 (CFLAGS-test-ldouble.c): Likewise.
36774 (CFLAGS-test-double.c): Likewise.
36775 (CFLAGS-test-float.c): Likewise.
36776 (CFLAGS-test-misc.c): Likewise.
36777 (CFLAGS-test-test-fenv.c): Likewise.
36779 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36784 comparisons to determine direction to adjust input.
36786 2012-05-01 Roland McGrath <roland@hack.frob.com>
36788 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36789 output to the target.
36791 * scripts/localplt.awk: New file.
36792 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36793 (check-localplt-CFLAGS): Variable removed.
36794 ($(all-built-dso:=.jmprel)): New static pattern rule.
36795 (generated): Add those targets.
36796 (localplt-built-dso): New variable.
36797 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36799 * elf/check-localplt.c: File removed.
36801 * scripts/check-execstack.awk: New file.
36802 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36803 (check-execstack-CFLAGS): Variable removed.
36804 ($(objpfx)check-execstack.h): Target removed.
36805 ($(objpfx)execstack-default): New target.
36806 (generated): Add that instead of check-execstack.h.
36807 ($(all-built-dso:=.phdr)): New static pattern rule.
36808 (generated): Add those targets.
36809 * elf/check-execstack.c: File removed.
36811 * scripts/check-textrel.awk: New file.
36812 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36813 (check-textrel-CFLAGS): Variable removed.
36814 (all-built-dso): Use := to define.o
36815 ($(all-built-dso:=.dyn)): New static pattern rule.
36816 (generated): Add those targets.
36817 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36818 * config.make.in (READELF): New substituted variable.
36819 * elf/check-textrel.c: File removed.
36821 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36823 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36825 * conform/data/ctype.h-data [C99-based standards] (isblank):
36827 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36828 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36830 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36831 Specify type. Require positive value.
36832 (EILSEQ): Likewise.
36833 (ERANGE): Likewise.
36834 [ISO || POSIX] (EILSEQ): Do not expect.
36835 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36836 Specify type. Require positive value.
36837 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36838 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36839 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36840 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36841 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36842 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36843 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36844 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36845 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36846 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36847 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36848 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36849 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36850 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36851 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36852 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36853 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36854 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36855 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36856 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36857 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36858 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36859 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36860 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36864 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36869 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36870 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36871 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36872 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36873 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36874 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36875 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36876 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36877 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36878 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36879 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36880 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36881 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36882 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36883 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36884 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36885 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36886 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36887 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36888 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36889 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36890 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36891 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36892 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36893 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36894 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36895 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36896 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36897 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36911 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36912 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36913 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36915 (FLT_ROUNDS): Expect as macro, not constant.
36916 (FLT_MANT_DIG): Use macro-int-constant.
36917 (DBL_MANT_DIG): Likewise.
36918 (LDBL_MANT_DIG): Likewise.
36919 (FLT_DIG): Likewise.
36920 (DBL_DIG): Likewise.
36921 (LDBL_DIG): Likewise.
36922 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36923 (DBL_MIN_EXP): Likewise.
36924 (LDBL_MIN_EXP): Likewise.
36925 (FLT_MAX_EXP): Use macro-int-constant.
36926 (DBL_MAX_EXP): Likewise.
36927 (LDBL_MAX_EXP): Likewise.
36928 (FLT_MAX_10_EXP): Likewise.
36929 (DBL_MAX_10_EXP): Likewise.
36930 (LDBL_MAX_10_EXP): Likewise.
36931 (FLT_MAX): Use macro-constant.
36932 (DBL_MAX): Likewise.
36933 (LDBL_MAX): Likewise.
36934 (FLT_EPSILON): Use macro-constant. Give upper bound.
36935 (DBL_EPSILON): Likewise.
36936 (LDBL_EPSILON): Likewise.
36937 (FLT_MIN): Likewise.
36938 (DBL_MIN): Likewise.
36939 (LDBL_MIN): Likewise.
36940 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36941 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36942 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36943 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36944 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36945 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36946 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36947 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36948 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36949 [ISO11] (FLT_TRUE_MIN): Likewise.
36950 [ISO11] (LDBL_TRUE_MIN): Likewise.
36951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36952 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36953 (SCHAR_MIN): Use macro-int-constant. Specify type.
36954 (SCHAR_MAX): Likewise.
36955 (UCHAR_MAX): Likewise.
36956 (CHAR_MIN): Likewise.
36957 (CHAR_MAX): Likewise.
36958 (MB_LEN_MAX): Use macro-int-constant.
36959 (SHRT_MIN): Use macro-int-constant. Specify type.
36960 (SHRT_MAX): Likewise.
36961 (USHRT_MAX): Likewise.
36962 (INT_MAX): Likewise.
36963 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36965 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36967 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36969 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36970 bound negative. Suffix upper bound with "L".
36971 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36973 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36975 [C99-based standards] (LLONG_MAX): Likewise.
36976 [C99-based standards] (ULLONG_MAX): Likewise.
36977 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36979 [ISO11] (max_align_t): Require type.
36980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36982 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36983 from $CFLAGS, without defining away __attribute__ calls.
36984 (checknamespace): Use $CFLAGS_namespace.
36986 * conform/conformtest.pl (@keywords): Only include C99 keywords
36987 for standards based on C99 or C11.
36989 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36991 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36994 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36995 usability of symbols in #if.
36997 * conform/conformtest.pl: If macro or constant types start
36998 "promoted:", expect the symbol to be of the following type
36999 promoted by the integer promotions.
37001 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37002 in one place. Also handle "macro-constant".
37004 * conform/conformtest.pl: Only accept expected macro values with
37005 "==". Parse all "macro" lines in one place.
37006 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37008 * conform/conformtest.pl: Handle braced types on "constant" lines
37009 instead of handling "typed-constant".
37010 * conform/data/signal.h-data: Use "constant" instead of
37013 * conform/conformtest.pl: Handle "optional-" at start of lines in
37014 one place rather than duplicating several cases. Handle each
37015 format of "macro" line with initial "optional-".
37017 * conform/conformtest.pl: Only accept expected constant or
37018 optional-constant values with "==". Parse all "constant" lines in
37019 one place. Parse all "optional-constant" lines in one place.
37020 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37021 * conform/data/fmtmsg.h-data: Likewise.
37022 * conform/data/netinet/in.h-data: Likewise.
37023 * conform/data/tar.h-data: Likewise.
37024 * conform/data/limits.h-data: Use "==" form on "constant" and
37025 "optional-constant" lines.
37027 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37028 Use -std=c99 for XOPEN2K.
37029 (@knownproblems): Remove.
37030 (newtoken): Don't check %isknown.
37032 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37033 Do not expect macro.
37034 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37046 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37047 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37064 [XPG3] (acosh): Likewise.
37065 [XPG3] (asinh): Likewise.
37066 [XPG3] (atanh): Likewise.
37067 [XPG3] (cbrt): Likewise.
37068 [XPG3] (expm1): Likewise.
37069 [XPG3] (ilogb): Likewise.
37070 [XPG3] (log1p): Likewise.
37071 [XPG3] (logb): Likewise.
37072 [XPG3] (nextafter): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37075 [XPG3] (remainder): Likewise.
37076 [XPG3] (rint): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37082 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37083 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37084 [UNIX98 || XOPEN2K] (scalb): Expect.
37085 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37086 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37089 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37090 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37223 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37224 _XOPEN_SOURCE_EXTENDED for XPG4.
37226 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37228 * Makeconfig (localtime): Remove variable.
37229 (inst_localtime-file): Likewise.
37231 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37252 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37256 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37257 comparisons to determine direction to adjust input.
37258 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37259 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37266 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37267 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37269 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37271 * math/libm-test.inc (nexttoward_test): Add more tests.
37273 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37277 in version GLIBC_2.1, not GLIBC_2.0.
37278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37281 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37286 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37287 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37288 * math/libm-test.inc (acos_test): Add more tests.
37289 (asin_test): Likewise.
37290 * sysdeps/i386/fpu/libm-test-ulps: Update.
37291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37294 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37296 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37297 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37298 * math/libm-test.inc (acos_test_tonearest): New function.
37299 (acos_test_towardzero): Likewise.
37300 (acos_test_downward): Likewise.
37301 (acos_test_upward): Likewise.
37302 (asin_test_tonearest): Likewise.
37303 (asin_test_towardzero): Likewise.
37304 (asin_test_downward): Likewise.
37305 (asin_test_upward): Likewise.
37306 (main): Call the new functions.
37307 * sysdeps/i386/fpu/libm-test-ulps: Update.
37308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37312 * math/e_exp10.c: Include <float.h>.
37313 (__ieee754_exp10): Handle underflow here rather than multiplying
37314 large negative argument by M_LN10.
37315 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37317 * math/e_exp10l.c: Include <float.h>.
37318 (__ieee754_exp10l): Handle underflow here rather than multiplying
37319 large negative argument by M_LN10l.
37320 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37321 spurious overflow exception on underflow.
37323 2012-04-29 Marek Polacek <polacek@redhat.com>
37325 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37326 (__fortify_function): New macro.
37327 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37328 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37329 __extern_always_inline.
37330 * libio/bits/stdio2.h: Likewise.
37331 * libio/bits/stdio.h: Likewise.
37332 * string/string.h: Likewise.
37333 * string/bits/string3.h: Likewise.
37334 * include/stdio.h: Likewise.
37335 * stdlib/bits/stdlib.h: Likewise.
37336 * stdlib/stdlib.h: Likewise.
37337 * rt/bits/mqueue2.h: Likewise.
37338 * rt/mqueue.h: Likewise.
37339 * posix/bits/unistd.h: Likewise.
37340 * posix/unistd.h: Likewise.
37341 * io/bits/poll2.h: Likewise.
37342 * io/bits/fcntl2.h: Likewise.
37343 * io/fcntl.h: Likewise.
37344 * io/sys/poll.h: Likewise.
37345 * misc/bits/syslog.h: Likewise.
37346 * misc/bits/syslog-ldbl.h: Likewise.
37347 * misc/sys/syslog.h: Likewise.
37348 * socket/bits/socket2.h: Likewise.
37349 * socket/sys/socket.h: Likewise.
37350 * debug/tst-chk1.c: Likewise.
37351 * wcsmbs/bits/wchar2.h: Likewise.
37352 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37353 * wcsmbs/wchar.h: Likewise.
37355 2012-04-29 Andreas Jaeger <aj@suse.de>
37357 * Makerules (tests): Remove enable-check-abi protection.
37358 (check-abi-warn): Remove.
37359 (check-abi-%): Remove check-abi-warn usage.
37361 * configure.in: Remove check-abi configure option.
37362 * configure: Regenerated.
37363 * config.make.in (enable-check-abi): Remove.
37365 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37368 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37369 double functions to double *_finite functions.
37372 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37373 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37375 * stdio-common/Makefile (tests): Add tst-sprintf3.
37376 * stdio-common/tst-sprintf3.c: New file.
37378 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37379 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37381 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37383 * conform/conformtest.pl: Remove duplicate typed-constant
37386 2012-04-28 David S. Miller <davem@davemloft.net>
37388 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37389 (check-abi-%): Remove AWK script prerequisite and explicit
37391 (check-abi): Rewrite to just diff the symlist with the abilist.
37392 (config-tls, config-abi-config): Delete, no longer used.
37393 (update-abi-%): Remove AWK script and explicit abilist directory.
37394 (update-abi): Rewrite to simply compare and conditionally copy the
37395 symlist and the sysdep abilist file. Remove update-abi-config
37397 * abilist/ld.abilist: Remove.
37398 * abilist/libBrokenLocale.abilist: Remove.
37399 * abilist/libanl.abilist: Remove.
37400 * abilist/libcrypt.abilist: Remove.
37401 * abilist/libdl.abilist: Remove.
37402 * abilist/librt.abilist: Remove.
37403 * abilist/libthread_db.abilist: Remove.
37404 * abilist/libutil.abilist: Remove.
37405 * scripts/extract-abilist.awk: Remove.
37406 * scripts/merge-abilist.awk: Remove.
37407 * sysdeps/generic/libcidn.abilist: New file.
37408 * sysdeps/generic/libnss_compat.abilist: New file.
37409 * sysdeps/generic/libnss_db.abilist: New file.
37410 * sysdeps/generic/libnss_dns.abilist: New file.
37411 * sysdeps/generic/libnss_files.abilist: New file.
37412 * sysdeps/generic/libnss_hesiod.abilist: New file.
37413 * sysdeps/generic/libnss_nis.abilist: New file.
37414 * sysdeps/generic/libnss_nisplus.abilist: New file.
37415 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37416 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37417 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37420 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37421 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37422 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37423 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37424 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37425 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37426 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37427 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37429 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37430 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37432 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37435 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37437 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37438 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37439 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37441 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37442 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37443 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37445 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37548 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37549 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37550 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37553 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37554 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37555 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37556 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37558 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37559 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37560 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37561 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37613 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37615 * conform/conformtest.pl: Fix typo in handling typed-constant from
37618 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37620 * README: Cut down references to pre-2.6 Linux kernels and
37621 Linuxthreads. Update lists of configurations in libc and ports
37622 and sort alphabetically. Say "or newer" with Linux kernel version
37625 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37627 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37630 * math/libm-test.inc (logb_test_downward): New test to expose
37631 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37634 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37637 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37639 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37640 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37642 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37644 * sysdeps/unix/i386/brk.S: Remove file.
37645 * sysdeps/unix/i386/dl-brk.S: Likewise.
37646 * sysdeps/unix/i386/pipe.S: Likewise.
37647 * sysdeps/unix/i386/sigreturn.S: Likewise.
37648 * sysdeps/unix/i386/syscall.S: Likewise.
37649 * sysdeps/unix/i386/vfork.S: Likewise.
37650 * sysdeps/unix/i386/wait.S: Likewise.
37652 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37653 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37655 * configure.in (arm*-none*): Do not allow without
37656 --enable-hacker-mode.
37657 (netbsd*): Remove case setting base_os.
37658 (386bsd*): Likewise.
37659 (freebsd*): Likewise.
37662 (sunos*): Likewise.
37663 (ultrix*): Likewise.
37664 (newsos*): Likewise.
37665 (dynix*): Likewise.
37671 (minix*): Likewise.
37672 (irix4*): Likewise.
37673 (irix6*): Likewise.
37674 (solaris[2-9]*): Likewise.
37676 * configure: Regenerated.
37678 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37681 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37682 overflow or cancellation in calculating denominator.
37683 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37685 down expression to avoid unexpected rounding in newer GCCs.
37686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37688 2012-04-26 David S. Miller <davem@davemloft.net>
37690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37691 long-double compat symbols.
37692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37706 2012-04-25 David S. Miller <davem@davemloft.net>
37708 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37709 HWCAP_* values only after the memory barriers have been defined.
37710 (atomic_full_barrier): Define.
37711 (atomic_read_barrier): Define.
37712 (atomic_write_barrier): Define.
37714 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37716 * shlib-versions: Add libgcc_s version information.
37717 * sysdeps/generic/libgcc_s.h: Remove.
37718 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37720 * sysdeps/gnu/unwind-resume.c: Likewise.
37721 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37723 2012-04-25 David S. Miller <davem@davemloft.net>
37725 * sysdeps/unix/sparc/brk.S: Delete.
37726 * sysdeps/unix/sparc/dl-brk.S: Delete.
37727 * sysdeps/unix/sparc/pipe.S: Delete.
37728 * sysdeps/unix/sparc/sysdep.S: Delete.
37729 * sysdeps/unix/sparc/sysdep.h: Delete.
37730 * sysdeps/unix/sparc/vfork.S: Delete.
37731 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37732 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37734 (ret_ERRVAL, r0, r1, MOVE): Define.
37735 (JUMPTARGET): Remove.
37736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37737 sysdeps/unix/sparc/sysdep.h
37738 (ENTRY, END): Remove.
37739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37741 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37743 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37744 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37747 * timezone/README: Update upstream location and email address for
37749 * timezone/zdump.c: Update from tzcode 2012b.
37750 * timezone/zic.c: Likewise.
37752 * configure.in (libc_cv_as_needed): Remove test.
37753 * configure: Regenerated.
37754 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37755 conditional definition.
37756 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37757 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37758 * config.make.in (have-as-needed): Remove variable.
37760 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37761 Paul Pluzhnikov <ppluzhnikov@google.com>
37763 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37766 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37768 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37769 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37770 * sysdeps/sh/strlen.S: Likewise.
37772 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37774 * sysdeps/unix/fork.S: Remove file.
37775 * sysdeps/unix/i386/fork.S: Likewise.
37776 * sysdeps/unix/sparc/fork.S: Likewise.
37778 * sysdeps/unix/system.c: Remove file.
37779 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37781 * sysdeps/unix/getegid.S: Remove file.
37782 * sysdeps/unix/geteuid.S: Likewise.
37784 2012-04-24 Roland McGrath <roland@hack.frob.com>
37786 * scripts/check-localplt.awk: New file.
37787 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37789 * scripts/data/localplt-generic.data: Add a comment.
37791 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37792 NODE when __dir_mkfile failed.
37793 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37794 Reported by Ludovic Courtès <ludo@gnu.org>.
37796 2012-04-24 Andreas Jaeger <aj@suse.de>
37798 * Makerules (common-clean): Also remove gen-as-const-headers
37801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37803 * Makerules (native-compile): Do not change working directory for
37804 build. Use $(OUTPUT_OPTION) in command.
37805 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37807 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37810 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37811 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37812 * math/libm-test.inc (floor_test): Add more tests.
37813 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37817 * sysdeps/unix/getdents.c: Remove file.
37818 * sysdeps/unix/sysv/getdents.c: Likewise.
37819 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37821 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37822 sysdeps/unix/mman/syscalls.list.
37824 (mprotect): Likewise.
37826 (munmap): Likewise.
37827 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37828 * sysdeps/unix/mman/syscalls.list: Remove.
37829 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37831 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37832 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37833 * configure: Regenerated.
37834 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37835 $(libgcc_s_suffix).
37836 * config.make.in (libgcc_s_suffix): Remove variable.
37838 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37840 * sysdeps/unix/sysv/gethostname.c: Move to ...
37841 * sysdeps/posix/gethostname.c: ... here.
37843 * sysdeps/unix/execve.S: Remove file.
37845 * sysdeps/unix/_exit.S: Remove file.
37847 2012-04-23 Andreas Jaeger <aj@suse.de>
37850 * manual/Makefile: Remove make dist support, there's no
37851 need for a stand-alone documentation tar ball.
37852 (TEXI2DVI): Define always, it's not in Makeconfig.
37855 (edition): Removed.
37856 (glibc-doc-$(edition).tar): Removed
37860 (ETAGS): Remove, it's in Makeconfig.
37861 (move-if-change): Remove, it's in Makeconfig.
37863 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37866 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37867 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37868 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37869 (strtod_l, strtof_l, strtold_l): Remove __wur.
37870 It is not necessarily an error to ignore strtol's return value.
37871 One can reliably look at the stored endptr to decide whether
37872 the number had valid syntax.
37874 2012-04-21 Andreas Jaeger <aj@suse.de>
37877 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37879 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37881 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37882 * sysdeps/unix/sysv/Versions: Remove file.
37884 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37889 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37893 version from __vm86.
37895 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37897 * sysdeps/unix/common/lxstat.c: Remove file.
37898 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37900 * sysdeps/unix/sysv/Makefile: Remove file.
37902 * sysdeps/unix/sysv/direct.h: Remove file.
37904 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37905 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37906 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37907 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37908 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37909 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37910 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37912 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37914 * sysdeps/unix/xmknod.c: Remove file.
37915 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37917 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37919 * sysdeps/unix/sysv/i386/time.S: Remove file.
37921 * sysdeps/unix/fxstat.c: Remove file.
37922 * sysdeps/unix/xstat.c: Likewise.
37923 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37925 * sysdeps/unix/sysv/sigaction.c: Remove file.
37927 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37928 (sysdep_headers): Remove variable.
37929 [termio.h not in sysdep_headers] (generated): Likewise.
37930 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37931 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37932 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37933 * sysdeps/unix/sysv/tcflow.c: Likewise.
37934 * sysdeps/unix/sysv/tcflush.c: Likewise.
37935 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37936 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37937 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37938 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37939 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37941 * sysdeps/unix/siglist.c: Remove file.
37943 * sysdeps/unix/getppid.S: Remove file.
37945 * sysdeps/unix/mkdir.c: Remove file.
37946 * sysdeps/unix/rmdir.c: Likewise.
37948 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37950 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37953 errlist-compat value.
37955 2012-04-18 David S. Miller <davem@davemloft.net>
37957 * sysdeps/generic/memcopy.h (reg_char): Delete.
37958 * debug/strcat_chk.c: Use char, not reg_char.
37959 * debug/strcpy_chk.c: Likewise.
37960 * debug/strncat_chk.c: Likewise.
37961 * debug/strncpy_chk.c: Likewise.
37962 * string/memchr.c: Likewise.
37963 * string/memrchr.c: Likewise.
37964 * string/rawmemchr.c: Likewise.
37965 * string/strcat.c: Likewise.
37966 * string/strchr.c: Likewise.
37967 * string/strchrnul.c: Likewise.
37968 * string/strcmp.c: Likewise.
37969 * string/strcpy.c: Likewise.
37970 * string/strncat.c: Likewise.
37971 * string/strncmp.c: Likewise.
37972 * string/strncpy.c: Likewise.
37974 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37976 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37977 __builtin_memcopy is called when src and dest ranges are known to not
37980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37983 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37984 fwd_align_merge macro call.
37985 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37986 bwd_align_merge macro call.
37987 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37989 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37992 bwd_align_merge macros.
37993 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37994 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37995 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37997 2012-04-18 David S. Miller <davem@davemloft.net>
37999 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38001 2012-04-18 Andreas Jaeger <aj@suse.de>
38004 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38005 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38009 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38010 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38012 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38013 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38014 Adjust for changed ldbl-128 files.
38016 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38017 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38020 2012-04-17 David S. Miller <davem@davemloft.net>
38022 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38024 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38026 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38027 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38028 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38029 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38031 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38033 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38036 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38037 * math/libm-test.inc: Add ilogb errno and exception tests.
38038 * math/w_ilogb.c: New file: ilogb wrapper.
38039 * math/w_ilogbf.c: New file: ilogbf wrapper.
38040 * math/w_ilogbl.c: New file: ilogbl wrapper.
38041 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38042 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38043 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38044 exception being thrown with 0.0 as argument.
38045 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38046 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38047 exception being thrown with 0.0 as argument.
38048 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38049 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38050 exception being thrown with 0.0 as argument.
38051 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38052 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38053 exception being thrown with 0.0 as argument.
38054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38055 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38057 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38058 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38060 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38061 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38062 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38064 2012-04-17 Petr Baudis <pasky@ucw.cz>
38066 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38069 2012-04-16 Marek Polacek <polacek@redhat.com>
38071 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38073 2012-04-16 Marek Polacek <polacek@redhat.com>
38075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38076 operands of fdivp instruction.
38078 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38080 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38081 * elf/tst-auditmod3b.c: Likewise.
38082 * elf/tst-auditmod4b.c: Likewise.
38083 * elf/tst-auditmod5b.c: Likewise.
38084 * elf/tst-auditmod6b.c: Likewise.
38085 * elf/tst-auditmod6c.c: Likewise.
38086 * elf/tst-auditmod7b.c: Likewise.
38087 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38088 * sysdeps/x86_64/preconfigure.in: Likewise.
38089 * sysdeps/x86_64/preconfigure: Regenerated.
38091 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38096 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38099 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38101 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38104 * locale/iso-639.def: Fix gl language name. Spotted by
38107 2012-04-12 Roland McGrath <roland@hack.frob.com>
38110 * libio/libio.h (__io_write_fn): Update comment.
38112 2012-04-12 Petr Baudis <pasky@ucw.cz>
38115 * stdio.texi (Hook Functions): The user provided writer function
38116 is not allowed to return -1.
38118 2012-04-11 David S. Miller <davem@davemloft.net>
38120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38122 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38124 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38125 Add a leading slash to rtkaio.
38127 2012-04-11 Jim Meyering <meyering@redhat.com>
38130 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38131 It is not necessarily an error to ignore fwrite's return
38132 value. One can reliably use ferror to test for errors after
38135 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38137 * bits/types.h (__snseconds_t): New type.
38138 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38140 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38142 (__SNSECONDS_T_TYPE): Likewise.
38143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38144 (__SNSECONDS_T_TYPE): Likewise.
38145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38146 (__SNSECONDS_T_TYPE): Likewise.
38148 2012-04-10 Andreas Jaeger <aj@suse.de>
38151 * manual/time.texi (Processor Time): Return type of times is
38152 elapsed real time since an arbitrary point in the past.
38153 (CPU Time): Move CLK_TCK from here...
38154 (Processor Time): ...to here. Correct description.
38155 * manual/conf.texi (Constants for Sysconf): Correct description of
38158 2012-04-10 David S. Miller <davem@davemloft.net>
38161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38162 where the is a gap between DT_REL(A) and DT_JMPREL.
38164 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38167 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38168 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38170 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38172 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38173 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38174 (dl_main): Handle --inhibit-cache.
38175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38177 * elf/dl-load.c (_dl_map_object): Use it.
38178 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38180 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38183 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38184 (__ieee754_powl): Saturate large exponents rather than testing for
38185 overflow of y*log2(x).
38186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38187 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38191 * math/s_ctan.c: Include <float.h>.
38192 (__ctan): Avoid internal overflow or cancellation in calculating
38194 * math/s_ctanf.c: Likewise.
38195 * math/s_ctanl.c: Likewise.
38196 * math/s_ctanh.c: Likewise.
38197 * math/s_ctanhf.c: Likewise.
38198 * math/s_ctanhl.c: Likewise.
38199 * math/libm-test.inc (ctan_test): Add more tests.
38200 (ctanh_test): Likewise.
38201 * sysdeps/i386/fpu/libm-test-ulps: Update.
38202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38204 2012-04-09 Andreas Jaeger <aj@suse.de>
38207 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38208 is an optional BSD extension.
38211 * manual/stdio.texi (Opening Streams): Document additional fopen
38214 2012-04-09 Roland McGrath <roland@hack.frob.com>
38216 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38217 %eax without telling the compiler.
38219 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38222 * manual/install.texi: Use sourceware.org.
38224 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38227 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38228 (__ieee754_pow): Generate overflow and underflow using huge*huge
38229 and tiny*tiny rather than just returning constant infinity or zero
38230 for large exponents.
38231 * math/libm-test.inc (pow_test): Require overflow exceptions for
38232 applicable cases of large exponents.
38235 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38236 (__ieee754_pow): Use iterative multiplication algorithm only for
38237 integer exponents with absolute value below 1024. Check for odd
38238 integer exponents when using algorithm for real exponents.
38239 * math/libm-test.inc (pow_test): Add more tests.
38240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38242 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38245 * math/libm-test.inc (exp_test): Do not allow overflow exception
38248 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38251 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38252 instead of __kernel_standard_f.
38254 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38256 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38257 * sysdeps/x86_64/memset_chk.S: Likewise.
38259 2012-04-08 Andreas Jaeger <aj@suse.de>
38262 * manual/startup.texi (Environment Access): Describe return value
38263 for putenv and setenv.
38266 * manual/filesys.texi (Directory Entries): Add description for
38270 * manual/filesys.texi (Directory Entries): Clarify that it's file
38271 system not operating system in the description of DT_UNKNOWN.
38274 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38276 2012-04-08 Stephen Compall <s11@member.fsf.org>
38279 * manual/llio.texi (Opening and Closing Files): Add cross
38280 reference to explain mode argument.
38282 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38284 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38285 * sysdeps/x86_64/memset_chk.S: Likewise.
38287 2012-04-07 David S. Miller <davem@davemloft.net>
38289 * elf/elf.h (R_SPARC_WDISP10): Define.
38290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38293 R_SPARC_SIZE64 and R_SPARC_H34.
38295 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38298 conditions and remove no longer applicable assertion.
38300 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38302 * bits/byteswap.h: Include <features.h>.
38303 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38304 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38306 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38308 * bits/byteswap.h (__bswap_16): Removed.
38309 Include <bits/byteswap-16.h> to get __bswap_16.
38310 * sysdeps/i386/bits/byteswap.h: Likewise.
38311 * sysdeps/s390/bits/byteswap.h: Likewise.
38312 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38313 * bits/byteswap-16.h: New file.
38314 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38315 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38316 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38317 * string/Makefile (headers): Add bits/byteswap-16.h.
38319 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38322 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38324 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38325 * nss/tst-nss-static.c: New.
38327 2012-04-06 Robert Millan <rmh@gnu.org>
38330 * manual/llio.texi (File Position Primitive): lseek
38331 refers to WHENCE when it really means OFFSET.
38333 2012-04-06 Andreas Jaeger <aj@suse.de>
38335 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38336 strncmp declarations.
38338 * abilist/libc.abilist: Add __poll and __ppoll.
38340 2012-04-05 David S. Miller <davem@davemloft.net>
38342 * scripts/check-local-headers.sh: Accept a host triplet in the
38343 path matched by the exclude regexp.
38345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38347 * sysdeps/powerpc/powerpc32/dl-machine.h
38348 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38349 * sysdeps/s390/s390-32/dl-machine.h
38350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38351 * sysdeps/sparc/sparc32/dl-machine.h
38352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38353 * sysdeps/sparc/sparc64/dl-machine.h
38354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38356 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38358 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38359 undefined symbol errors.
38361 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38364 2012-04-05 Michael Matz <matz@suse.de>
38367 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38369 2012-04-05 Andreas Jaeger <aj@suse.de>
38372 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38375 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38377 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38378 which ROUND is no valid rounding mode.
38380 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38384 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38386 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38388 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38389 an exception using FPU order intentionally.
38391 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38393 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38394 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38395 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38396 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38398 2012-04-05 Simon Josefsson <simon@josefsson.org>
38401 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38402 EINVAL when BUFLEN is too smal.
38404 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38407 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38408 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38410 2012-04-03 Andreas Jaeger <aj@suse.de>
38413 * manual/setjmp.texi (System V contexts): Fix sentence.
38416 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38417 New macro for this case.
38418 [!__GNUC__] (__bswap_64): New inline function for this case.
38419 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38420 * bits/byteswap.h: Likewise.
38421 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38422 ull, guard with __GLIBC_HAVE_LONG_LONG.
38424 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38425 __GLIBC_HAVE_LONG_LONG.
38427 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38428 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38430 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38433 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38434 inptr and inend, rather than using last_ch.
38436 2012-04-02 David S. Miller <davem@davemloft.net>
38438 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38439 * stdio-common/printf-parse.h (read_int): Change return type to
38440 'int', return -1 on INT_MAX overflow.
38441 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38442 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38443 overflows INT_MAX. Check for overflow of in-format-string precision
38444 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38445 SIZE_MAX not INT_MAX for integer overflow test.
38446 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38447 skip the construct in the format string but do not record anything.
38448 * stdio-common/bug22.c: Adjust to test both width/prevision
38449 INT_MAX overflow as well as total length INT_MAX overflow. Check
38450 explicitly for proper errno values.
38452 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38454 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38456 * string/test-strcmp.c [! WIDE]: Likewise.
38457 * time/tst-mktime2.c: Likewise for INT_MAX.
38458 * string/test-string.h: #include <sys/param.h> for MIN.
38460 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38461 * sysdeps/i386/init-first.c (init): Likewise.
38462 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38463 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38464 * sysdeps/sh/init-first.c (init): Likewise.
38466 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38468 * po/ru.po: Update from translation team.
38469 * po/vi.po: Likewise.
38471 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38473 * resolv/nss_dns/dns-host.c: Merge copyright years.
38475 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38478 Optimize memcpy with prefetch if
38479 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38480 src, dst pointers have unequal 16 byte alignments.
38482 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38485 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38486 from a CNAME entry and return the minimum ttl for the query.
38487 (gaih_getanswer_slice): Likewise.
38489 2012-03-30 Jeff Law <law@redhat.com>
38491 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38493 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38494 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38496 * resolv/nss_dns/dns-host.c: Update copyright year.
38498 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38500 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38501 requests to save a system call. Fix check that all bytes are sent.
38503 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38504 comments for sendmmsg.
38506 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38509 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38510 with only 1 character between 0x0041 and 0x01b0.
38511 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38512 * wcsmbs/tst-mbsnrtowcs.c: New file.
38514 2012-03-29 David S. Miller <davem@davemloft.net>
38516 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38517 small copies by hand.
38519 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38522 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38523 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38526 2012-03-28 David S. Miller <davem@davemloft.net>
38528 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38529 that branches into memcpy.
38530 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38533 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38536 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38537 implementation too.
38538 * sysdeps/sparc/mempcpy.S: New file.
38540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38541 the IFUNC routine in the libc case.
38542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38544 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38546 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38547 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38548 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38549 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38550 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38551 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38553 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38554 loop to 256 bytes instead of 64 bytes and fix test signedness.
38556 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38557 * sysdeps/sparc/sparc32/Makefile: rather than here...
38558 * sysdeps/sparc/sparc64/Makefile: and here.
38560 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38562 * malloc/mallocbug.c: Avoid warnings about unused variables.
38564 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38567 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38568 in the right place. Discard and retry query if response is
38569 larger than input buffer size.
38571 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38576 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38577 x for large integer exponent.
38578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38580 sign of result as needed afterwards.
38581 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38583 result for underflowing pow the same as for overflow.
38584 (__kernel_standard_l): Handle powl overflow and underflow here
38585 rather than calling __kernel_standard.
38586 * math/libm-test.inc (pow_test): Add more tests.
38601 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38602 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38603 (__kernel_standard_l): New function.
38604 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38606 * math/w_acosl.c (__acosl): Likewise.
38607 * math/w_asinl.c (__asinl): Likewise.
38608 * math/w_atan2l.c (__atan2l): Likewise.
38609 * math/w_atanhl.c (__atanhl): Likewise.
38610 * math/w_coshl.c (__coshl): Likewise.
38611 * math/w_exp10l.c (__exp10l): Likewise.
38612 * math/w_exp2l.c (__exp2l): Likewise.
38613 * math/w_fmodl.c (__fmodl): Likewise.
38614 * math/w_hypotl.c (__hypotl): Likewise.
38615 * math/w_j0l.c (__j0l, __y0l): Likewise.
38616 * math/w_j1l.c (__j1l, __y1l): Likewise.
38617 * math/w_jnl.c (__jnl, __ynl): Likewise.
38618 * math/w_lgammal.c (__lgammal): Likewise.
38619 * math/w_log10l.c (__log10l): Likewise.
38620 * math/w_log2l.c (__log2l): Likewise.
38621 * math/w_logl.c (__logl): Likewise.
38622 * math/w_powl.c (__powl): Likewise.
38623 * math/w_remainderl.c (__remainderl): Likewise.
38624 * math/w_scalbl.c (sysv_scalbl): Likewise.
38625 * math/w_sinhl.c (__sinhl): Likewise.
38626 * math/w_sqrtl.c (__sqrtl): Likewise.
38627 * math/w_tgammal.c (__tgammal): Likewise.
38628 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38629 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38630 * math/libm-test.inc (acos_test): Add more tests.
38631 (acosh_test): Likewise.
38632 (asin_test): Likewise.
38633 (atanh_test): Likewise.
38634 (exp_test): Likewise.
38635 (exp10_test): Likewise.
38636 (exp2_test): Likewise.
38637 (expm1_test): Likewise.
38638 (lgamma_test): Likewise.
38639 (log_test): Likewise.
38640 (log10_test): Likewise.
38641 (log1p_test): Likewise.
38642 (log2_test): Likewise.
38643 (pow_test): Do not allow some spurious overflow exceptions.
38644 (sqrt_test): Add more tests.
38645 (tgamma_test): Likewise.
38646 (y0_test): Likewise.
38647 (y1_test): Likewise.
38648 (yn_test): Likewise.
38650 2012-03-27 Anton Blanchard <anton@samba.org>
38652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38658 2012-03-27 David S. Miller <davem@davemloft.net>
38660 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38662 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38663 have-as-vis3 check.
38665 2012-03-27 Andreas Jaeger <aj@suse.de>
38667 * sysdeps/x86_64/elf/configure.in: Moved to ...
38668 * sysdeps/x86_64/configure.in: ... here.
38669 * sysdeps/x86_64/elf/start.S: Moved to ...
38670 * sysdeps/x86_64/start.S: ... here.
38671 * sysdeps/x86_64/elf/configure: Delete.
38673 * sysdeps/x86_64/configure.in: Merge contents from
38674 sysdeps/i386/configure.in (without i686 check).
38676 * sysdeps/i386/elf/Versions: Merge into ...
38677 * sysdeps/i386/Versions: ... this.
38678 * sysdeps/i386/elf/Versions: Delete file.
38679 * sysdeps/i386/elf/start.S: Moved to ...
38680 * sysdeps/i386/start.S: ...here.
38681 * sysdeps/i386/elf/configure.in: Merge into...
38682 * sysdeps/i386/configure.in: ...here.
38683 * sysdeps/i386/elf/configure.in: Delete file.
38684 * sysdeps/i386/elf/configure: Delete file.
38686 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38687 * debug/backtracesyms.c: ... here.
38688 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38689 * debug/backtracesymsfd.c: ... here.
38690 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38691 * sysdeps/generic/ifunc-sel.h: ... here.
38693 * sysdeps/unix/i386/start.c: Delete file.
38694 * sysdeps/unix/sparc/start.c: Delete file.
38695 * sysdeps/unix/start.c: Delete file.
38697 * sysdeps/sh/elf/configure.in: Moved to ...
38698 * sysdeps/sh/configure.in: ... here.
38699 * sysdeps/sh/elf/start.S: Moved to ...
38700 * sysdeps/sh/start.S: ... here.
38701 * sysdeps/sh/elf/configure: Delete file.
38703 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38704 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38705 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38706 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38707 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38708 * sysdeps/powerpc/powerpc64/start.S: here.
38709 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38710 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38711 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38712 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38713 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38715 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38716 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38717 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38718 * sysdeps/powerpc/powerpc32/start.S: ... here.
38719 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38720 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38721 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38723 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38724 * sysdeps/powerpc/ifunc-sel.h: ... here.
38725 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38726 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38728 * sysdeps/sparc/elf/configure.in: Moved to ...
38729 * sysdeps/sparc/configure.in: ... here.
38730 * sysdeps/sparc/elf/configure: Delete file.
38731 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38732 * sysdeps/sparc/sparc32/start.S: ... here.
38733 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38734 * sysdeps/sparc/sparc64/start.S: ... here.
38735 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38736 * sysdeps/sparc/sparc32/Makefile: ... this.
38737 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38738 * sysdeps/sparc/sparc64/Makefile: ... this.
38740 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38741 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38742 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38743 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38744 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38745 * sysdeps/s390/s390-32/setjmp.S: ... here.
38746 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38747 * sysdeps/s390/s390-32/configure.in: ... here.
38748 * sysdeps/s390/s390-32/elf/configure: Delete file.
38749 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38750 * sysdeps/s390/s390-32/start.S: ... here.
38752 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38753 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38754 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38755 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38756 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38757 * sysdeps/s390/s390-64/setjmp.S: ... here.
38758 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38759 * sysdeps/s390/s390-64/configure.in: ... here
38760 * sysdeps/s390/s390-64/elf/configure: Delete file.
38761 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38762 * sysdeps/s390/s390-64/start.S: ... here.
38763 * sysdeps/s390/s390-64/elf/configure: Delete.
38765 * configure.in: Remove support for elf directories in sysdeps.
38767 * configure: Regenerated.
38768 * sysdeps/i386/configure: Regenerated.
38769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38771 * sysdeps/s390/s390-32/configure: Regenerated.
38772 * sysdeps/s390/s390-64/configure: Regenerated.
38773 * sysdeps/sh/configure: Regenerated.
38774 * sysdeps/sparc/configure: Regenerated.
38775 * sysdeps/x86_64/configure: Regenerated.
38777 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38782 denormal result into account.
38784 2012-03-25 Roland McGrath <roland@hack.frob.com>
38786 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38787 Reported by Allan McRae <allan@archlinux.org>.
38789 2012-03-23 Jeff Law <law@redhat.com>
38791 * nss/getnssent.c (__nss_getent): Fix typo.
38793 2012-03-23 David S. Miller <davem@davemloft.net>
38795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38797 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38799 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38800 to pad to uint64_t for each field.
38801 (dl_tls_index): Replace unsigned long with uint64_t.
38803 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38804 Paul Pluzhnikov <ppluzhnikov@google.com>
38807 * grp/Makefile (otherlibs): Don't set it.
38808 * inet/Makefile (otherlibs): Likewise.
38809 * login/Makefile (otherlibs): Likewise.
38810 * nscd/Makefile (otherlibs): Likewise.
38811 * posix/Makefile (otherlibs): Likewise.
38812 * pwd/Makefile (otherlibs): Likewise.
38813 * rt/Makefile (otherlibs): Likewise.
38814 * sunrpc/Makefile (otherlibs): Likewise.
38815 * nss/Makefile (otherlibs): Likewise.
38816 Add libnss_files to routines and static-only-routines.
38817 ($(objpfx)getent): Remove rule.
38818 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38819 static-only-routines.
38821 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38824 * math/s_cexp.c: Include <float.h>.
38825 (__cexp): Handle exp result overflowing not necessarily
38826 overflowing both real and imaginary parts of result.
38827 * math/s_cexpf.c: Likewise.
38828 * math/s_cexpl.c: Likewise.
38829 * math/libm-test.inc (cexp_test): Add more tests.
38830 * sysdeps/i386/fpu/libm-test-ulps: Update.
38831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38833 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38835 * include/link.h (ELFW): New macro.
38836 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38837 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38841 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38844 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38846 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38848 (struct La_x32_retval): Likewise.
38850 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38852 * sysdeps/x86_64/preconfigure.in: New file.
38853 * sysdeps/x86_64/preconfigure: New generated file.
38855 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38858 * math/e_exp2l.c: Include <float.h>.
38859 (__ieee754_exp2l): Handle overflow and underflow cases
38860 separately. Only pass fractional part of argument to
38862 * math/libm-test.inc (exp2_test): Add more tests.
38864 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38865 negating x to take absolute value.
38866 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38868 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38871 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38872 computing low part if x was negated.
38873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38875 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38877 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38878 la_x32_gnu_pltexit.
38879 (pltexit): Cast int_retval to ptrdiff_t.
38880 * elf/tst-auditmod3b.c: Likewise.
38881 * elf/tst-auditmod4b.c: Likewise.
38882 * elf/tst-auditmod5b.c: Likewise.
38883 * elf/tst-auditmod6b.c: Likewise.
38884 * elf/tst-auditmod6c.c: Likewise.
38885 * elf/tst-auditmod7b.c: Likewise.
38887 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38888 and x32_gnu_pltexit.
38890 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38891 __ELF_NATIVE_CLASS.
38892 (La_x32_regs): New macro.
38893 (La_x32_retval): Likewise.
38894 (la_x32_gnu_pltenter): New function prototype.
38895 (la_x32_gnu_pltexit): Likewise.
38897 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38904 * configure.in (libc_cv_cc_nofma): Check for option to disable
38905 generation of FMA instructions.
38906 * configure: Regenerate.
38907 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38908 * sysdeps/ieee754/dbl-64/Makefile: New file.
38909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38910 Remove brandred-fma4.
38911 (CFLAGS-brandred-fma4.c): Remove.
38912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38915 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38918 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38921 LLONG_MAX != LONG_MAX.
38922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38923 (_fitoa_word): Likewise.
38924 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38925 LLONG_MAX != LONG_MAX.
38926 * stdio-common/_itowa.h: Include <_itoa.h>.
38927 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38928 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38929 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38930 only if not defined.
38931 (_ITOA_WORD_TYPE): Likewise.
38932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38933 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38935 2012-03-21 David S. Miller <davem@davemloft.net>
38937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38941 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38942 of x86_64 when setting libc_cv_slibdir, libdir and
38944 * sysdeps/unix/sysv/linux/configure: Regenerated.
38946 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38948 * manual/lang.texi (Old Varargs): Remove section.
38949 (How Variadic): Update menu.
38950 (va_start): Do not mention varargs.h.
38952 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38953 Joseph Myers <joseph@codesourcery.com>
38955 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38957 * configure: Regenerated.
38959 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38961 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38962 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38965 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38968 * Makefile (files-for-dist): Remove NOTES.
38969 (NOTES): Remove rule.
38970 * README: Don't refer to NOTES.
38971 * manual/creature.texi: Don't include macros.texi.
38972 * manual/intro.texi (creature.texi): Remove comment referring to
38975 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38976 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38977 * configure: Regenerated.
38978 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38979 LIBC_TRY_CC_OPTION.
38980 (libc_cv_as_i686): Likewise.
38981 (libc_cv_cc_avx): Likewise.
38982 (libc_cv_cc_sse2avx): Likewise.
38983 (libc_cv_cc_fma4): Likewise.
38984 (libc_cv_cc_novzeroupper): Likewise.
38985 * sysdeps/i386/configure: Regenerated.
38988 * sysdeps/i386/fpu/s_cexp.S: Remove.
38989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38990 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38991 * math/libm-test.inc (cexp_test): Add more tests.
38992 * sysdeps/i386/fpu/libm-test-ulps: Update.
38993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38995 2012-03-21 Allan McRae <allan@archlinux.org>
38997 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39002 * math/w_exp2.c: Do not include <float.h>.
39003 (o_threshold, u_threshold): Remove.
39004 (__exp2): Calculate result before checking finiteness and calling
39006 * math/w_exp2f.c: Likewise.
39007 * math/w_exp2l.c: Likewise.
39008 * math/libm-test.inc (exp2_test): Require overflow exception for
39012 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39013 range of signed 64-bit integers before using fistpll. Remove
39014 checks for whether integers fit in mantissa bits.
39015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39016 the range of signed 32-bit integers before using fistpl. Remove
39017 checks for whether integers fit in mantissa bits.
39018 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39019 (__ieee754_powl): Test for y outside the range of signed 64-bit
39020 integers before using fistpll. Reduce 64-bit values to 63-bit
39022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39023 divide-by-zero is raised for zero to large negative powers.
39024 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39025 (__ieee754_powl): Test for y outside the range of signed 64-bit
39026 integers before using fistpll. Reduce 64-bit values to 63-bit
39028 * math/libm-test.inc (pow_test): Add more tests.
39030 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39032 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39033 <stdio-common/_itoa.h>.
39034 * debug/segfault.c: Likewise.
39035 * elf/dl-cache.c: Likewise.
39036 * elf/dl-minimal.c: Likewise.
39037 * elf/dl-misc.c: Likewise.
39038 * elf/dl-sysdep.c: Likewise.
39039 * elf/dl-version.c: Likewise.
39040 * elf/rtld.c: Likewise.
39041 * hurd/hurdsock.c: Likewise.
39042 * hurd/lookup-retry.c: Likewise.
39043 * malloc/malloc.c: Likewise.
39044 * malloc/mtrace.c: Likewise.
39045 * nscd/nscd_getgr_r.c: Likewise.
39046 * nscd/nscd_getpw_r.c: Likewise.
39047 * nscd/nscd_getserv_r.c: Likewise.
39048 * posix/getopt_init.c: Likewise.
39049 * posix/wordexp.c: Likewise.
39050 * stdio-common/_itoa.c: Likewise.
39051 * stdio-common/printf_fphex.c: Likewise.
39052 * stdio-common/vfprintf.c: Likewise.
39053 * string/_strerror.c: Likewise.
39054 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39055 * sysdeps/i386/i686/hp-timing.h: Likewise.
39056 * sysdeps/mach/_strerror.c: Likewise.
39057 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39058 * sysdeps/mach/hurd/sethostid.c: Likewise.
39059 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39060 * sysdeps/mach/xpg-strerror.c: Likewise.
39061 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39063 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39064 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39066 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39068 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39069 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39070 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39071 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39072 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39073 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39074 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39075 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39077 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39078 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39079 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39080 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39081 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39083 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39085 * stdio-common/_itoa.h: Moved to ...
39086 * sysdeps/generic/_itoa.h: Here.
39088 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39090 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39091 instead of "_itoa.h" and "_itowa.h".
39092 * stdio-common/vfprintf.: Likewise.
39094 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39096 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39098 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39099 (__signbit): Likwise.
39100 (llrintf): Likwise.
39103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39105 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39108 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39110 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39111 OVERFLOW_EXCEPTION_OK.
39112 * math/libm-test.inc ("Philosophy"): Update comment about
39114 (OVERFLOW_EXCEPTION): Define.
39115 (OVERFLOW_EXCEPTION_OK): Likewise.
39116 (INVALID_EXCEPTION_OK): Renumber.
39117 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39118 (IGNORE_ZERO_INF_SIGN): Likewise.
39119 (test_exceptions): Handle FE_OVERFLOW.
39120 (exp10_test): Expect overflow exceptions.
39121 (exp2_test): Likewise.
39122 (expm1_test): Likewise.
39123 (nextafter_test): Likewise.
39124 (pow_test): Likewise.
39125 (scalbn_test): Likewise.
39126 (scalbln_test): Likewise.
39128 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39130 * sysdeps/x86_64/bits/atomic.h
39131 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39133 (atomic_exchange_acq): Likewise.
39134 (__arch_exchange_and_add_body): Likewise.
39135 (__arch_add_body): Likewise.
39136 (atomic_add_negative): Likewise.
39137 (atomic_add_zero): Likewise.
39139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39141 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39142 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39146 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39147 Check __x86_64__ instead of __WORDSIZE.
39149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39151 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39153 2012-03-19 David S. Miller <davem@davemloft.net>
39155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39157 * sysdeps/sparc/fpu/fenv_private.h: New file.
39158 * sysdeps/sparc/fpu/math_private.h: Use it.
39159 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39162 (libc_feholdexcept_setroundl): Remove.
39163 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39168 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39170 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39171 int64_t instead of long int.
39172 (INSERT_WORDS64): Likwise.
39174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39176 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39177 _Unwind_GetCFA return to _Unwind_Ptr first.
39179 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39182 * math/s_clog.c: Include <float.h>.
39183 (__clog): Scale large or subnormal inputs.
39184 * math/s_clogf.c: Likewise.
39185 * math/s_clogl.c: Likewise.
39186 * math/s_clog10.c: Include <float.h>.
39187 (M_LOG10_2): Define.
39188 (__clog10): Scale large or subnormal inputs.
39189 * math/s_clog10f.c: Likewise.
39190 * math/s_clog10l.c: Likewise.
39191 * math/libm-test.inc (clog_test): Add more tests.
39192 (clog10_test): Likewise.
39193 * sysdeps/i386/fpu/libm-test-ulps: Update.
39194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39197 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39199 * math/libm-test.inc (atan2_test): Add another test.
39201 * Makerules (common-objdir-compile): Remove.
39202 * sysdeps/unix/Makefile (config-generated): Do not add
39203 $(unix-generated) to variable.
39204 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39205 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39207 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39209 [generic bits/local_lim.h] (before-compile): Do not append to
39211 [generic bits/local_lim.h] (common-generated): Likewise.
39212 [generic sys/param.h] (before-compile): Do not append to variable.
39213 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39214 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39215 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39218 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39219 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39220 [generic sys/param.h] ($(addprefix
39221 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39222 [generic sys/param.h] (common-generated): Do not append to
39224 [generic sys/param.h] (sysdep_headers): Likewise.
39225 [generic bits/errno.h] (before-compile): Do not append to
39227 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39229 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39230 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39231 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39232 [generic bits/errno.h] (common-generated): Do not append to
39234 [generic bits/ioctls.h] (before-compile): Do not append to
39236 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39238 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39239 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39243 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39244 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39245 [generic bits/ioctls.h] (common-generated): Do not append to
39247 [generic sys/syscall.h] (syscall.h): Remove variable.
39248 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39250 [generic sys/syscall.h] (before-compile): Do not append to
39252 [generic sys/syscall.h] (common-generated): Likewise.
39253 * sysdeps/unix/errnos-tmpl.c: Remove file.
39254 * sysdeps/unix/errnos.awk: Likewise.
39255 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39256 * sysdeps/unix/ioctls.awk: Likewise.
39257 * sysdeps/unix/mk-local_lim.c: Likewise.
39258 * sysdeps/unix/snarf-ioctls: Likewise.
39260 2012-03-19 Richard Henderson <rth@twiddle.net>
39262 * sysdeps/i386/fpu/fenv_private.h: New file.
39263 * sysdeps/i386/fpu/math_private.h: Use it.
39264 (math_opt_barrier, math_force_eval): Remove.
39265 (libc_feholdexcept_setround_53bit): Remove.
39266 (libc_feupdateenv_53bit): Remove.
39267 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39268 (math_opt_barrier, math_force_eval): Remove.
39269 (libc_feholdexcept): Remove.
39270 (libc_feholdexcept_setround): Remove.
39271 (libc_fetestexcept, libc_fesetenv): Remove.
39272 (libc_feupdateenv_test): Remove.
39273 (libc_feupdateenv, libc_feholdsetround): Remove.
39274 (libc_feresetround): Remove.
39276 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39277 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39279 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39280 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39281 (libc_feupdateenv_testl): New.
39282 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39283 (libc_feupdateenv_testf): New.
39284 (libc_feupdateenv): Use libc_feupdateenv_test.
39285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39286 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39288 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39289 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39290 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39291 (libc_feresetround_noex): New.
39292 (libc_feresetround_noexf): New.
39293 (libc_feresetround_noexl): New.
39294 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39295 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39296 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39297 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39302 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39304 SET_RESTORE_ROUND_NOEX.
39305 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39306 SET_RESTORE_ROUND_NOEXF.
39307 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39308 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39309 (libc_feholdsetroundf): New.
39310 (libc_feresetround, libc_feresetroundf): New.
39312 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39313 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39314 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39316 * sysdeps/generic/math_private.h: Include <fenv.h>.
39317 (default_libc_feholdexcept): New.
39318 (default_libc_feholdexcept_setround): New.
39319 (default_libc_fesetenv, default_libc_feupdateenv): New.
39320 (libc_feholdexcept): Only define if undefined.
39321 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39323 (libc_feholdexcept_setroundl): Likewise.
39324 (libc_feholdexcept_setround_53bit): Likewise.
39325 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39328 (libc_feupdateenv_53bit): Likewise.
39329 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39330 (libc_feholdexcept): Convert from macro to inline function.
39331 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39332 (libc_fesetenv, libc_feupdateenv): Likewise.
39334 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39335 not previously defined.
39336 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39337 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39338 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39339 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39340 * sysdeps/ieee754/flt-32/math_private.h: New file.
39341 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39342 math_private.h below SET_FLOAT_WORD.
39343 (__isnan, __isinf_ns, __finite): Remove.
39344 (__isnanf, __isinf_nsf, __finitef): Remove.
39346 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39350 2012-03-17 David S. Miller <davem@davemloft.net>
39353 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39356 2012-03-16 David S. Miller <davem@davemloft.net>
39358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39362 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39364 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39365 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39366 sysdep_routines when subdir is sysvipc.
39367 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39368 __getshmlba helper.
39370 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39374 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39377 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39380 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39381 (__lround): Renamed to ...
39382 (__llround): This. Replace long int with long long int.
39383 Define lround functions as aliases of llround functions.
39384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39388 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39389 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39390 adresses to uintptr_t. Replace "long int" and "unsigned long
39391 int" with "greg_t" on va_arg.
39393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39395 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39396 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39398 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39399 Move e_machine check before EI_CLASS check. Handle x32
39400 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39401 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39402 SKIP_EM_IA_64 and include
39403 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39405 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39406 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39407 (add_system_dir): New macro.
39409 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39410 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39412 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39423 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39425 * math/w_j0f.c (j0f): Likewise.
39427 * math/w_j0l.c (__j0l): Likewise.
39429 * math/w_j1.c (j1): Likewise.
39431 * math/w_j1f.c (j1f): Likewise.
39433 * math/w_j1l.c (__j1l): Likewise.
39435 * math/w_jn.c (jn): Likewise.
39437 * math/w_jnf.c (jnf): Likewise.
39439 * math/w_jnl.c (__jnl): Likewise.
39441 * math/libm-test.inc (j0_test): Add more tests.
39442 (j1_test): Likewise.
39443 (jn_test): Likewise. Add trailing semicolon to existing test.
39444 (y0_test): Likewise.
39445 (y1_test): Likewise.
39446 * sysdeps/i386/fpu/libm-test-ulps: Update.
39447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39452 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39453 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39454 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39455 (__tanl): Set errno for infinite argument.
39456 * sysdeps/i386/fpu/mptan.c: Remove.
39457 * sysdeps/i386/fpu/s_tan.S: Likewise.
39458 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39459 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39460 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39461 * math/libm-test.inc (tan_test): Add more tests and enable more
39462 tests for double and long double.
39463 * sysdeps/i386/fpu/libm-test-ulps: Update.
39464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39466 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39468 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39469 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39471 2012-03-16 Roland McGrath <roland@hack.frob.com>
39473 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39474 * configure.in: Use it for both main tree and add-ons.
39475 * configure: Regenerated.
39477 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39479 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39481 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39483 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39487 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39488 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39493 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39495 != 0 for prec == 2.
39496 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39497 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39498 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39499 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39500 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39501 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39502 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39503 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39504 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39505 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39506 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39507 * math/libm-test.inc (cos_test): Add more tests and enable more
39508 tests for long double.
39509 (sin_test): Likewise.
39510 (sincos_test): Likewise.
39511 * sysdeps/i386/fpu/libm-test-ulps: Update.
39512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39514 2012-03-16 David S. Miller <davem@davemloft.net>
39516 * sysdeps/sparc/fpu/math_private.h: New file.
39518 2012-03-15 David S. Miller <davem@davemloft.net>
39520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39534 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39535 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39537 * sysdeps/sparc/sparc-ifunc.h: New file.
39538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39583 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39585 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39589 2012-03-15 Andreas Jaeger <aj@suse.de>
39592 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39593 ieee754/flt-32 implementation for sin, cos and sincos.
39594 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39595 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39596 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39597 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39598 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39599 ieee754/flt-32 implementation for tan.
39601 * math/libm-test.inc (cos_test): Enable some large input tests for
39603 (sin_test): Likewise.
39604 (sincos_test): Likewise.
39605 (tan_test): Add tests for large input.
39607 * sysdeps/i386/fpu/libm-test-ulps: Update.
39609 2012-03-15 Andreas Jaeger <aj@suse.de>
39612 * math/libm-test.inc (cos_test): Add more test cases.
39613 (sin_test): Likewise.
39614 (sincos_test): Likewise.
39616 2012-03-15 Andreas Jaeger <aj@suse.de>
39619 * math/libm-test.inc (cos_test): Add a test case for large input
39621 (sin_test): Likewise.
39622 (sincos_test): Likewise.
39624 2012-03-15 Andreas Jaeger <aj@suse.de>
39625 Joseph Myers <joseph@codesourcery.com>
39628 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39629 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39630 * sysdeps/i386/fpu/branred.c: Likewise.
39631 * sysdeps/i386/fpu/dosincos.c: Likewise.
39632 * sysdeps/i386/fpu/mpa.c: Likewise.
39633 * sysdeps/i386/fpu/s_cos.S: Likewise.
39634 * sysdeps/i386/fpu/s_sin.S: Likewise.
39635 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39636 * sysdeps/i386/fpu/sincos32.c: Likewise.
39638 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39640 (libc_feupdateenv_53bit): Define.
39641 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39643 (libc_feupdateenv_53bit): Define.
39645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39646 53 bit (without extend i386 double precision).
39648 * math/libm-test.inc (sincos_test): Add tests for large input.
39652 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39654 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39658 2012-03-15 David S. Miller <davem@davemloft.net>
39660 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39661 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39662 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39663 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39688 fmin/fmax sysdep routines.
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39691 2012-03-14 David S. Miller <davem@davemloft.net>
39693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39770 * sysdeps/sparc/configure.in: New file.
39771 * sysdeps/sparc/configure: Generate.
39772 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39773 * configure: Regenerate.
39774 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39775 * config.make.in (have-as-vis3): New.
39776 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39777 available use -Av9d instead of -Av9a.
39778 * sysdeps/sparc/sparc64/Makefile: Likewise.
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39794 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39795 fzeros/fnegs to load 0x80000000 into a float register instead of
39797 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39799 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39803 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39804 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39805 ($(inst_includedir)/bits/syscall.h): Remove rule.
39806 ($(objpfx)bits/syscall.d): Include instead of
39807 $(objpfx)syscall-list.d.
39808 (generated): Change syscall-list.h and syscall-list.d to
39809 bits/syscall.h and bits/syscall.d.
39811 2012-03-14 Roland McGrath <roland@hack.frob.com>
39814 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39816 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39819 * math/s_csqrt.c: Include <float.h>.
39820 (__csqrt): Scale large or subnormal inputs.
39821 * math/s_csqrtf.c: Likewise.
39822 * math/s_csqrtl.c: Likewise.
39823 * math/libm-test.inc (csqrt_test): Add more tests.
39824 * sysdeps/i386/fpu/libm-test-ulps: Update.
39825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39828 * math/libm-test.inc (hypot_test): Add more tests.
39830 2012-03-13 David S. Miller <davem@davemloft.net>
39833 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39834 double-precision for the calculation instead of scaling.
39836 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39838 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39839 manipulate bits before adding and subtracting TWO52[sx].
39840 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39841 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39843 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39845 2012-03-13 David S. Miller <davem@davemloft.net>
39847 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39848 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39850 rtld-global-offsets.h
39851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39853 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39856 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39858 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39859 'err' in the ifdef scope in which it is actually used.
39861 * nss/nss_db/db-init.c: Include string.h
39863 2012-03-12 David S. Miller <davem@davemloft.net>
39865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39866 masking out of the most significant byte of random value used.
39867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39868 Fix coding style in previous change.
39870 * sysdeps/unix/sysv/linux/kernel-features.h
39871 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39872 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39874 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39877 2012-03-11 David S. Miller <davem@davemloft.net>
39879 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39880 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39882 for 'resultvar' otherwise things get truncated on 64-bit.
39884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39885 Fix masking out of the most significant byte of random value used.
39887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39889 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39893 2012-03-09 David S. Miller <davem@davemloft.net>
39895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39896 variables with appropriate CPP guards.
39897 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39898 from the frame pointer, not the stack pointer. Correct layout
39899 comments. Fix test on resulting framesize and the management of
39900 the outregs buffer for pltexit. Preserve floating point return
39901 values across _dl_call_pltexit call.
39902 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39903 framesize and the management of the outregs buffer for pltexit.
39904 Preserve floating point return values across _dl_call_pltexit
39906 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39907 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39908 (la_sparc64_gnu_pltexit): New functions.
39909 (print_exit): Fix format string for return register value.
39911 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39913 * sunrpc/Makefile (others): Add rpcgen.
39914 ($(objpfx)rpcgen): Remove special build rule and dependency on
39916 * sunrpc/rpcgen.c: New file.
39918 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39921 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39922 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39923 * sysdeps/i386/crti.S: Likewise.
39924 * sysdeps/i386/crtn.S: Likewise.
39925 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39926 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39927 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39928 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39929 * sysdeps/sh/crti.S: Likewise.
39930 * sysdeps/sh/crtn.S: Likewise.
39931 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39934 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39936 * locale/programs/locfile-kw.gperf: Likewise.
39937 * locale/programs/charmap-kw.h: Regenerated.
39938 * locale/programs/locfile-kw.h: Likewise.
39941 * intl/plural.y: Replace FSF snail mail address with URL.
39942 * intl/plural.c: Regenerated.
39944 2012-03-09 Richard Henderson <rth@twiddle.net>
39946 * include/math_private.h: Remove file.
39947 * math/math_private.h: Move file ...
39948 * sysdeps/generic/math_private.h: ... here.
39950 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39951 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39954 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39955 and <math_private.h>.
39956 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39957 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39958 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39959 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39960 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39961 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40051 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40056 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40068 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40070 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40075 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40076 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40080 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40081 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40083 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40084 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40085 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40086 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40087 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40089 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40090 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40092 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40094 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40099 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40100 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40102 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40104 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40105 * sysdeps/ieee754/k_standard.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40254 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40266 * sysdeps/ieee754/s_lib_version.c: Likewise.
40267 * sysdeps/ieee754/s_matherr.c: Likewise.
40268 * sysdeps/ieee754/s_signgam.c: Likewise.
40269 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40271 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40272 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40273 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40274 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40275 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40276 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40277 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40278 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40279 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40280 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40284 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40286 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40291 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40293 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40294 * sunrpc/rpc_main.c: Likewise.
40295 * sunrpc/rpc_svcout.c: Likewise.
40297 2012-03-09 David S. Miller <davem@davemloft.net>
40299 * include/math_private.h: New file.
40301 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40303 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40304 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40305 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40306 from <bits/socket_type.h>.
40307 (enum __socket_type): Don't define here.
40308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40310 bits/socket_type.h.
40313 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40314 checking __USE_GNU.
40316 * Makerules ($(inst_includedir)/%.h): New rule.
40317 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40318 (install-others): Remove variable setting.
40319 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40321 2012-03-08 Richard Henderson <rth@twiddle.net>
40323 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40324 from macro to inline function; merge with the
40325 !__LIBC_INTERNAL_MATH_INLINES version.
40326 (__ieee754_sqrtf): Likewise.
40328 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40329 to inline function.
40330 (__rintf, __floor, __floorf): Likewise.
40332 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40333 macro to inline function.
40334 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40337 not <math/math_private.h>.
40339 2012-03-08 David S. Miller <davem@davemloft.net>
40341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40343 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40345 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40347 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40349 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40350 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40352 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40354 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40355 be defined individually, they must be defined as a block. Define
40356 S for printing a string instead of hidint the different by using a
40357 macro for adding the 'l'.
40358 * stdio-common/tst-fphex-wide.c: Adjust.
40360 2012-03-07 Marek Polacek <polacek@redhat.com>
40362 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40364 2012-03-08 Marek Polacek <polacek@redhat.com>
40367 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40368 * stdio-common/tst-fphex.c: Define a few macros to make the
40369 test reusable. Use them.
40370 * stdio-common/tst-fphex-wide.c: New file.
40372 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40375 * manual/macros.texi (gnusystems): New macro.
40376 (nongnusystems): Likewise.
40377 (gnulinuxhurdsystems): Likewise.
40378 (gnuhurdsystems): Likewise..
40379 (gnulinuxsystems): Likewise.
40380 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40381 variants of the GNU system, not "GNU system".
40382 * manual/conf.texi: Likewise.
40383 * manual/errno.texi: Likewise. Update example of errno macro
40385 * manual/filesys.texi: Likewise.
40386 (getumask): Document as specific to GNU/Hurd.
40387 * manual/install.texi: Likewise. Reword some references to
40389 * manual/intro.texi: Likewise.
40390 * manual/io.texi: Likewise.
40391 (File Name Portability): Detail which constraints are inapplicable
40392 to all GNU systems and which are only inapplicable to GNU/Hurd.
40393 * manual/job.texi: Likewise.
40394 * manual/llio.texi: Likewise.
40395 (O_NOCTTY): Document as present on GNU/Linux.
40396 * manual/maint.texi: Likewise.
40397 * manual/memory.texi: Likewise.
40398 * manual/pattern.texi: Likewise.
40399 * manual/pipe.texi: Likewise.
40400 * manual/process.texi: Likewise.
40401 * manual/resource.texi: Likewise.
40402 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40404 * manual/setjmp.texi: Likewise.
40405 * manual/signal.texi: Likewise.
40406 * manual/startup.texi: Likewise.
40407 * manual/stdio.texi: Likewise.
40408 * manual/terminal.texi: Likewise.
40409 (ONLCR): Document as POSIX.
40410 (OXTABS): Document availability on GNU/Linux as XTABS.
40411 (ONOEOT): Document availability separately from other bits.
40412 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40413 * manual/time.texi: Likewise.
40414 * manual/users.texi: Likewise.
40415 * INSTALL: Regenerated.
40416 * sysdeps/gnu/errlist.c: Regenerated.
40418 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40419 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40420 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40422 * configure: Regenerated.
40424 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40426 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40427 default includes instead of AC_HEADER_CHECK.
40428 * sysdeps/i386/configure: Regenerated.
40431 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40432 * math/s_cacoshf.c (__cacoshf): Likewise.
40433 * math/s_cacoshl.c (__cacoshl): Likewise.
40434 * math/s_casinh.c (__casinh): Set signs of result from argument.
40435 * math/s_casinhf.c (__casinhf): Likewise.
40436 * math/s_casinhl.c (__casinhl): Likewise.
40437 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40438 (casinh_test): Add more tests.
40439 * sysdeps/i386/fpu/libm-test-ulps: Update.
40440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40442 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40444 * po/zh_TW.po: Update from translation team.
40446 * login/Makefile (distribute): Remove variable.
40447 * catgets/Makefile: Likewise.
40448 * mach/Makefile: Likewise.
40449 * malloc/Makefile: Likewise.
40450 * misc/Makefile: Likewise.
40451 * iconv/Makefile: Likewise.
40452 * nscd/Makefile: Likewise.
40453 * hurd/Makefile: Likewise.
40454 * manual/Makefile: Likewise.
40455 * locale/Makefile: Likewise.
40456 * intl/Makefile: Likewise.
40457 * conform/Makefile: Likewise.
40458 * nss/Makefile: Likewise.
40459 * time/Makefile: Likewise.
40460 * soft-fp/Makefile: Likewise.
40461 * dirent/Makefile: Likewise.
40462 * gmon/Makefile: Likewise.
40463 * po/Makefile: Likewise.
40464 * rt/Makefile: Likewise.
40465 * socket/Makefile: Likewise.
40466 * math/Makefile: Likewise.
40467 * signal/Makefile: Likewise.
40468 * debug/Makefile: Likewise.
40469 * elf/Makefile: Likewise.
40470 * timezone/Makefile: Likewise.
40471 * stdlib/Makefile: Likewise.
40472 * iconvdata/Makefile: Likewise.
40473 * sunrpc/Makefile: Likewise.
40474 * io/Makefile: Likewise.
40475 * argp/Makefile: Likewise.
40476 * inet/Makefile: Likewise.
40477 * hesiod/Makefile: Likewise.
40478 * grp/Makefile: Likewise.
40479 * csu/Makefile: Likewise.
40480 * wctype/Makefile: Likewise.
40481 * crypt/Makefile: Likewise.
40482 * libio/Makefile: Likewise.
40483 * string/Makefile: Likewise.
40484 * nis/Makefile: Likewise.
40485 * resolv/Makefile: Likewise.
40486 * stdio-common/Makefile: Likewise.
40487 * wcsmbs/Makefile: Likewise.
40488 * dlfcn/Makefile: Likewise.
40489 * posix/Makefile: Likewise.
40492 * timezone/Makefile: Don't install timezone files, just the programs
40495 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40497 * nss/databases.def: Add missing gshadow entry.
40499 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40501 2012-03-06 Marek Polacek <polacek@redhat.com>
40504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40506 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40507 * stdio-common/tst-long-dbl-fphex.c: New file.
40509 2012-03-06 David S. Miller <davem@davemloft.net>
40511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40512 (set_obp_int): New function.
40513 (get_obp_int): New function.
40514 (__get_clockfreq_via_dev_openprom): Likewise.
40515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40516 Avoid unused variable warnings on 'val' and use builtin_expect.
40517 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40519 (INLINE_CLONE_SYSCALL): Likewise.
40521 2012-03-05 David S. Miller <davem@davemloft.net>
40523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40525 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40530 only for |x| >= 40.
40531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40533 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40536 Replace gettimeofday with __vdso_gettimeofday.
40538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40539 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40540 __vdso_clock_gettime and __vdso_getcpu.
40542 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40543 time with __vdso_time.
40545 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40547 * manual/lang.texi (size_t): Note types to which size_t may be
40548 equivalent with the GNU C Library, but do not describe when
40549 differences between them are significant.
40551 2012-03-05 Andreas Jaeger <aj@suse.de>
40553 * sysdeps/i386/fpu/libm-test-ulps: Update.
40555 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40558 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40559 (__ieee754_pow): Save and restore rounding mode and use
40560 round-to-nearest for main computations.
40561 * math/libm-test.inc (pow_test_tonearest): New function.
40562 (pow_test_towardzero): Likewise.
40563 (pow_test_downward): Likewise.
40564 (pow_test_upward): Likewise.
40565 (main): Call the new functions.
40566 * sysdeps/i386/fpu/libm-test-ulps: Update.
40567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40570 * math/libm-test.inc (cosh_test_tonearest): New function.
40571 (cosh_test_towardzero): Likewise.
40572 (cosh_test_downward): Likewise.
40573 (cosh_test_upward): Likewise.
40574 (sinh_test_tonearest): Likewise.
40575 (sinh_test_towardzero): Likewise.
40576 (sinh_test_downward): Likewise.
40577 (sinh_test_upward): Likewise.
40578 (main): Call the new functions.
40579 * sysdeps/i386/fpu/libm-test-ulps: Update.
40580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40582 2012-03-05 Tom de Vries <tom@codesourcery.com>
40584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40585 default stack guard is set in last bytes.
40586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40588 2012-03-05 Kees Cook <keescook@chromium.org>
40590 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40593 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40594 possibly allocate from heap instead of stack.
40595 * stdio-common/bug-vfprintf-nargs.c: New file.
40596 * stdio-common/Makefile (tests): Add nargs overflow test.
40598 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40602 2012-03-03 Marek Polacek <polacek@redhat.com>
40604 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40605 * math/math_private.h: Likewise.
40606 * stdlib/tst-strtod.c: Likewise.
40607 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40608 * sysdeps/x86_64/bits/atomic.h: Likewise.
40610 2012-03-02 David S. Miller <davem@davemloft.net>
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40616 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40617 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40618 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40619 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40621 2012-03-02 Roland McGrath <roland@hack.frob.com>
40624 * manual/examples/README: New file, says the example source files
40625 can be used under GPL>=2.
40626 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40627 line containing just "*/".
40628 * manual/examples/add.c: Add copyright header (GPL>=2).
40629 * manual/examples/argp-ex1.c: Likewise.
40630 * manual/examples/argp-ex2.c: Likewise.
40631 * manual/examples/argp-ex3.c: Likewise.
40632 * manual/examples/argp-ex4.c: Likewise.
40633 * manual/examples/atexit.c: Likewise.
40634 * manual/examples/db.c: Likewise.
40635 * manual/examples/dir.c: Likewise.
40636 * manual/examples/dir2.c: Likewise.
40637 * manual/examples/execinfo.c: Likewise.
40638 * manual/examples/filecli.c: Likewise.
40639 * manual/examples/filesrv.c: Likewise.
40640 * manual/examples/fmtmsgexpl.c: Likewise.
40641 * manual/examples/genpass.c: Likewise.
40642 * manual/examples/inetcli.c: Likewise.
40643 * manual/examples/inetsrv.c: Likewise.
40644 * manual/examples/isockad.c: Likewise.
40645 * manual/examples/longopt.c: Likewise.
40646 * manual/examples/memopen.c: Likewise.
40647 * manual/examples/memstrm.c: Likewise.
40648 * manual/examples/mkfsock.c: Likewise.
40649 * manual/examples/mkisock.c: Likewise.
40650 * manual/examples/mygetpass.c: Likewise.
40651 * manual/examples/pipe.c: Likewise.
40652 * manual/examples/popen.c: Likewise.
40653 * manual/examples/rprintf.c: Likewise.
40654 * manual/examples/search.c: Likewise.
40655 * manual/examples/select.c: Likewise.
40656 * manual/examples/setjmp.c: Likewise.
40657 * manual/examples/sigh1.c: Likewise.
40658 * manual/examples/sigusr.c: Likewise.
40659 * manual/examples/stpcpy.c: Likewise.
40660 * manual/examples/strdupa.c: Likewise.
40661 * manual/examples/strftim.c: Likewise.
40662 * manual/examples/strncat.c: Likewise.
40663 * manual/examples/subopt.c: Likewise.
40664 * manual/examples/swapcontext.c: Likewise.
40665 * manual/examples/termios.c: Likewise.
40666 * manual/examples/testopt.c: Likewise.
40667 * manual/examples/testpass.c: Likewise.
40668 * manual/examples/timeval_subtract.c: Likewise.
40671 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40673 * manual/timeval_subtract.c.texi: ... here, new file.
40675 2012-03-02 David S. Miller <davem@davemloft.net>
40677 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40679 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40682 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40683 (__sin): Save and restore rounding mode and use round-to-nearest
40684 for all computations.
40685 (__cos): Save and restore rounding mode and use round-to-nearest
40686 for all computations.
40687 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40689 (tan): Save and restore rounding mode and use round-to-nearest for
40691 * math/libm-test.inc (cos_test_tonearest): New function.
40692 (cos_test_towardzero): Likewise.
40693 (cos_test_downward): Likewise.
40694 (cos_test_upward): Likewise.
40695 (sin_test_tonearest): Likewise.
40696 (sin_test_towardzero): Likewise.
40697 (sin_test_downward): Likewise.
40698 (sin_test_upward): Likewise.
40699 (tan_test_tonearest): Likewise.
40700 (tan_test_towardzero): Likewise.
40701 (tan_test_downward): Likewise.
40702 (tan_test_upward): Likewise.
40703 (main): Call the new functions.
40704 * sysdeps/i386/fpu/libm-test-ulps: Update.
40705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40708 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40709 small n, then large n, before computing and testing k+n.
40710 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40715 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40716 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40723 * math/libm-test.inc (scalbn_test): Add more tests.
40724 (scalbln_test): Likewise.
40726 * manual/filesys.texi (mode_t): Describe constraints on size and
40727 signedness, not exact equivalence to a particular type.
40729 (ino64_t): Likewise.
40731 (nlink_t): Likewise.
40732 (blkcnt_t): Likewise.
40733 (blkcnt64_t): Likewise.
40734 * manual/llio.texi (off_t): Likewise.
40737 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40738 (__ieee754_exp): Save and restore rounding mode and use
40739 round-to-nearest for all computations.
40740 * math/libm-test.inc (exp_test_tonearest): New function.
40741 (exp_test_towardzero): Likewise.
40742 (exp_test_downward): Likewise.
40743 (exp_test_upward): Likewise.
40744 (main): Call the new functions.
40745 * sysdeps/i386/fpu/libm-test-ulps: Update.
40746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40748 2012-03-01 Chris Demetriou <cgd@google.com>
40750 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40751 have predictable order.
40753 2012-03-01 David S. Miller <davem@davemloft.net>
40755 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40757 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40758 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40759 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40760 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40762 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40763 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40766 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40767 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40768 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40769 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40770 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40775 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40776 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40778 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40780 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40786 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40792 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40794 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40795 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40796 * sysdeps/sparc/elf/configure: Regenerated.
40798 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40800 * configure.in (AS, LD): Require binutils 2.20 or later.
40801 * configure: Regenerated.
40802 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40803 as required minimum version.
40804 * INSTALL: Regenerated.
40808 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40809 before squaring exponent.
40810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40811 bottom long double and 27 bits of top long double before squaring
40813 * math/libm-test.inc (erfc_test): Add more tests.
40814 * sysdeps/i386/fpu/libm-test-ulps: Update.
40815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40818 2012-03-01 Kai Tietz <ktietz@redhat.com>
40820 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40821 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40822 containing bit-fields.
40823 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40824 * soft-fp/single.h (_FP_UNION_S): Likewise.
40825 * soft-fp/double.h (_FP_UNION_D): Likewise.
40827 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40830 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40831 not include ../strcmp.S.
40832 [USE_AS_STRNCASECMP_L]: Likewise.
40833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40834 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40835 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40836 (__strncasecmp_l_ia32): Define as alias to
40837 __strncasecmp_l_nonascii.
40840 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40841 * sysdeps/i386/fpu/libm-test-ulps: Update.
40842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40844 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40847 2012-02-29 Jeff Law <law@redhat.com>
40849 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40850 out of bounds read.
40852 2012-02-29 Marek Polacek <polacek@redhat.com>
40855 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40856 * elf/Makefile: Add rules to run tst-unused-dep.out.
40858 2012-02-28 David S. Miller <davem@davemloft.net>
40860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40864 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40865 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40867 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40869 * math/libm-test.inc (llround_test): Move one test from
40870 lround_test. Use TEST_f_L in moved test.
40871 (lround_test): Move misplaced test to llround_test. Add testcase
40874 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40876 * sysdeps/x86_64/fpu/e_expf.S: New file.
40877 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40879 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40882 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40883 of remain_len that may cause incomplete multi-byte character and
40885 * posix/bug-regex33.c: New file.
40886 * posix/Makefile (tests): Add bug-regex33.
40888 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40890 * manual/macros.texi: New file.
40891 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40892 * manual/libc.texinfo: Include macros.texi.
40893 * manual/creatute.texi: Likewise.
40894 * manual/install.texi: Likewise.
40895 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40896 @glibcadj{} in references to the GNU C Library.
40897 * manual/charset.texi: Likewise.
40898 * manual/conf.texi: Likewise.
40899 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40900 when not using those macros.
40901 * manual/creature.texi: Likewise.
40902 * manual/crypt.texi: Likewise.
40903 * manual/errno.texi: Likewise.
40904 * manual/filesys.texi: Likewise.
40905 * manual/header.texi: Likewise.
40906 * manual/install.texi: Likewise.
40907 * manual/intro.texi: Likewise.
40908 * manual/io.texi: Likewise.
40909 * manual/job.texi: Likewise.
40910 * manual/lang.texi: Likewise.
40911 * manual/libc.texiinfo: Likewise.
40912 * manual/llio.texi: Likewise.
40913 * manual/locale.texi: Likewise.
40914 * manual/maint.texi: Likewise.
40915 * manual/math.texi: Likewise.
40916 * manual/memory.texi: Likewise.
40917 * manual/message.texi: Likewise.
40918 * manual/nss.texi: Likewise.
40919 * manual/pattern.texi: Likewise.
40920 * manual/process.texi: Likewise.
40921 * manual/resource.texi: Likewise.
40922 * manual/search.texi: Likewise.
40923 * manual/setjmp.texi: Likewise.
40924 * manual/signal.texi: Likewise.
40925 * manual/socket.texi: Likewise.
40926 * manual/startup.texi: Likewise.
40927 * manual/stdio.texi: Likewise.
40928 * manual/string.texi: Likewise.
40929 * manual/sysinfo.texi: Likewise.
40930 * manual/syslog.texi: Likewise.
40931 * manual/terminal.texi: Likewise.
40932 * manual/time.texi: Likewise.
40933 * manual/users.texi: Likewise.
40934 * INSTALL: Regenerated.
40935 * NOTES: Regenerated.
40936 * sysdeps/gnu/errlist.c: Regenerated.
40938 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40940 * include/dirent.h: Include <dirstream.h> before
40943 2012-02-28 David S. Miller <davem@davemloft.net>
40945 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40946 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40947 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40950 2012-02-27 David S. Miller <davem@davemloft.net>
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40954 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40955 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40958 frame pointer instead of stack pointer relative arg slot.
40959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40963 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40966 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40968 2012-02-27 David S. Miller <davem@davemloft.net>
40970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40976 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40977 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40979 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40981 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40982 later. Allow versions 5-9.
40983 * configure: Regenerated.
40984 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40985 required minimum version and 4.6 as recommended version. Do not
40986 mention bugs in GCC 2.7 and 2.8.
40987 * INSTALL: Regenerated.
40989 2012-02-27 David S. Miller <davem@davemloft.net>
40991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40997 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40998 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41001 manipulate bits before adding and subtracting TWO112[sx].
41002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41004 2012-02-27 Roland McGrath <roland@hack.frob.com>
41007 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41008 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41009 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41010 being in POSIX, because they are in 1003.1-2008.
41012 * rt/tst-aio.c: Include <fcntl.h>.
41013 * rt/tst-aio7.c: Likewise.
41014 * rt/tst-aio64.c: Likewise.
41016 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41018 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41020 * manual/install.texi (--with-headers): Describe headers as
41021 interface headers, not private headers.
41022 (Specific advice for GNU/Linux systems): Describe use of headers
41023 from "make headers_install", not private headers from older
41025 * INSTALL: Regenerated.
41026 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41028 * sysdeps/unix/sysv/linux/configure: Regenerated.
41030 * manual/llio.texi (fclean): Remove documentation.
41032 * manual/Makefile (libc-texi-generated): New variable. Include
41034 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41035 $(libc-texi-generated), not duplicated list of files.
41036 (version.texi, stamp-version): New rules.
41037 (realclean): Remove $(libc-texi-generated), not individual files
41038 from that list. Do not remove dir-add.texinfo.
41039 * manual/libc.texinfo: Comment out uses of edition numbers and
41040 references to printed manual. Remove last-updated dates.
41041 (EDITION): Comment out.
41043 (VERSION, UPDATED): Remove.
41044 (version.texi): Include.
41046 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41048 * sysdeps/posix/spawni.c: Include <signal.h>.
41049 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41050 * sysdeps/pthread/aio_fsync.c: Likewise.
41052 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41054 * conform/Makefile (tests): Run only when not cross-compiling and
41055 when fast-check is not defined.
41057 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41058 * conform/data/limits.h-data: Fixes for POSIX2008.
41059 * conform/run-conformtest.sh: Run all tests.
41060 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41062 * include/bits/dlfcn.h: Likewise.
41063 * include/langinfo.h: Likewise.
41064 * include/monetary.h: Likewise.
41065 * include/sys/poll.h: Likewise.
41067 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41069 * posix/spawn.h: Define __need_sigset_t.
41070 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41071 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41072 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41073 to get sigevent_t only.
41074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41075 only for __USE_GNU.
41076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41077 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41078 process_vm_writev only for __USE_GNU.
41079 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41081 * conform/Makefile: For now ignore errors from run-conformtest.
41082 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41083 POSIX to avoid namespace pollution. Don't prepend headers.
41084 * conform/data/aio.h-data: Fixes for POSIX testing.
41085 * conform/data/fcntl.h-data: Likewise.
41086 * conform/data/glob.h-data: Likewise.
41087 * conform/data/grp.h-data: Likewise.
41088 * conform/data/pthread.h-data: Likewise.
41089 * conform/data/pwd.h-data: Likewise.
41090 * conform/data/signal.h-data: Likewise.
41091 * conform/data/spawn.h-data: Likewise.
41092 * conform/data/stdio.h-data: Likewise.
41093 * conform/data/stdlib.h-data: Likewise.
41094 * conform/data/stropts.h-data: Likewise.
41095 * conform/data/sys/mman.h-data: Likewise.
41096 * conform/data/sys/stat.h-data: Likewise.
41097 * conform/data/sys/types.h-data: Likewise.
41098 * conform/data/sys/wait.h-data: Likewise.
41099 * conform/data/time.h-data: Likewise.
41100 * conform/data/unistd.h-data: Likewise.
41101 * conform/data/utime.h-data: Likewise.
41103 * io/sys/stat.h: fchmod was always in POSIX.
41104 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41105 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41106 * rt/aio.h: Define __need_timespec before including <time.h>.
41107 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41108 struct. Add forward declaration of pthread_attr_t and use it in
41110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41112 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41113 always remove CLK_TCK definition.
41115 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41117 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41119 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41121 * conform/run-conformtest.sh: New file.
41122 * conform/Makefile: Run run-conformtest for tests.
41123 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41126 * conform/data/uchar.h-data: New file.
41127 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41128 * conform/data/arpa/inet.h-data: Likewise.
41129 * conform/data/assert.h-data: Likewise.
41130 * conform/data/complex.h-data: Likewise.
41131 * conform/data/cpio.h-data: Likewise.
41132 * conform/data/ctype.h-data: Likewise.
41133 * conform/data/dirent.h-data: Likewise.
41134 * conform/data/dlfcn.h-data: Likewise.
41135 * conform/data/errno.h-data: Likewise.
41136 * conform/data/fcntl.h-data: Likewise.
41137 * conform/data/float.h-data: Likewise.
41138 * conform/data/fmtmsg.h-data: Likewise.
41139 * conform/data/fnmatch.h-data: Likewise.
41140 * conform/data/ftw.h-data: Likewise.
41141 * conform/data/glob.h-data: Likewise.
41142 * conform/data/grp.h-data: Likewise.
41143 * conform/data/iconv.h-data: Likewise.
41144 * conform/data/inttypes.h-data: Likewise.
41145 * conform/data/langinfo.h-data: Likewise.
41146 * conform/data/libgen.h-data: Likewise.
41147 * conform/data/limits.h-data: Likewise.
41148 * conform/data/locale.h-data: Likewise.
41149 * conform/data/math.h-data: Likewise.
41150 * conform/data/monetary.h-data: Likewise.
41151 * conform/data/mqueue.h-data: Likewise.
41152 * conform/data/ndbm.h-data: Likewise.
41153 * conform/data/net/if.h-data: Likewise.
41154 * conform/data/netdb.h-data: Likewise.
41155 * conform/data/netinet/in.h-data: Likewise.
41156 * conform/data/nl_types.h-data: Likewise.
41157 * conform/data/poll.h-data: Likewise.
41158 * conform/data/pthread.h-data: Likewise.
41159 * conform/data/pwd.h-data: Likewise.
41160 * conform/data/regex.h-data: Likewise.
41161 * conform/data/sched.h-data: Likewise.
41162 * conform/data/search.h-data: Likewise.
41163 * conform/data/semaphore.h-data: Likewise.
41164 * conform/data/setjmp.h-data: Likewise.
41165 * conform/data/signal.h-data: Likewise.
41166 * conform/data/spawn.h-data: Likewise.
41167 * conform/data/stdarg.h-data: Likewise.
41168 * conform/data/stdio.h-data: Likewise.
41169 * conform/data/stdlib.h-data: Likewise.
41170 * conform/data/string.h-data: Likewise.
41171 * conform/data/strings.h-data: Likewise.
41172 * conform/data/stropts.h-data: Likewise.
41173 * conform/data/sys/ipc.h-data: Likewise.
41174 * conform/data/sys/mman.h-data: Likewise.
41175 * conform/data/sys/msg.h-data: Likewise.
41176 * conform/data/sys/resource.h-data: Likewise.
41177 * conform/data/sys/select.h-data: Likewise.
41178 * conform/data/sys/sem.h-data: Likewise.
41179 * conform/data/sys/shm.h-data: Likewise.
41180 * conform/data/sys/socket.h-data: Likewise.
41181 * conform/data/sys/stat.h-data: Likewise.
41182 * conform/data/sys/statvfs.h-data: Likewise.
41183 * conform/data/sys/time.h-data: Likewise.
41184 * conform/data/sys/timeb.h-data: Likewise.
41185 * conform/data/sys/times.h-data: Likewise.
41186 * conform/data/sys/types.h-data: Likewise.
41187 * conform/data/sys/uio.h-data: Likewise.
41188 * conform/data/sys/un.h-data: Likewise.
41189 * conform/data/sys/utsname.h-data: Likewise.
41190 * conform/data/sys/wait.h-data: Likewise.
41191 * conform/data/syslog.h-data: Likewise.
41192 * conform/data/tar.h-data: Likewise.
41193 * conform/data/termios.h-data: Likewise.
41194 * conform/data/utime.h-data: Likewise.
41195 * conform/data/utmpx.h-data: Likewise.
41196 * conform/data/varargs.h-data: Likewise.
41197 * conform/data/wchar.h-data: Likewise.
41198 * conform/data/wctype.h-data: Likewise.
41199 * conform/data/wordexp.h-data: Likewise.
41201 * include/stropts.h: New file.
41202 * include/uchar.h: New file.
41203 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41204 * include/assert.h: Likewise.
41205 * include/ctype.h: Likewise.
41206 * include/dirent.h: Likewise.
41207 * include/dlfcn.h: Likewise.
41208 * include/fcntl.h: Likewise.
41209 * include/fnmatch.h: Likewise.
41210 * include/glob.h: Likewise.
41211 * include/grp.h: Likewise.
41212 * include/libio.h: Likewise.
41213 * include/locale.h: Likewise.
41214 * include/math.h: Likewise.
41215 * include/net/if.h: Likewise.
41216 * include/netdb.h: Likewise.
41217 * include/netinet/in.h: Likewise.
41218 * include/pthread.h: Likewise.
41219 * include/pwd.h: Likewise.
41220 * include/regex.h: Likewise.
41221 * include/sched.h: Likewise.
41222 * include/search.h: Likewise.
41223 * include/setjmp.h: Likewise.
41224 * include/signal.h: Likewise.
41225 * include/stdio.h: Likewise.
41226 * include/stdlib.h: Likewise.
41227 * include/string.h: Likewise.
41228 * include/sys/cdefs.h: Likewise.
41229 * include/sys/mman.h: Likewise.
41230 * include/sys/msg.h: Likewise.
41231 * include/sys/resource.h: Likewise.
41232 * include/sys/select.h: Likewise.
41233 * include/sys/socket.h: Likewise.
41234 * include/sys/stat.h: Likewise.
41235 * include/sys/statvfs.h: Likewise.
41236 * include/sys/time.h: Likewise.
41237 * include/sys/times.h: Likewise.
41238 * include/sys/uio.h: Likewise.
41239 * include/sys/utsname.h: Likewise.
41240 * include/sys/wait.h: Likewise.
41241 * include/termios.h: Likewise.
41242 * include/time.h: Likewise.
41243 * include/ulimit.h: Likewise.
41244 * include/unistd.h: Likewise.
41245 * include/utime.h: Likewise.
41246 * include/wchar.h: Likewise.
41247 * include/wctype.h: Likewise.
41248 * include/wordexp.h: Likewise.
41250 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41252 * time/time.h: TIME_UTC must be a macro.
41253 Make timespec_get available for ISO C11 only as well.
41255 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41257 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41258 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41260 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41262 * configure.in: Use -o not -a in test for unsupported multi-arch.
41264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41266 * manual/texinfo.tex: Update to version 2012-01-19.16.
41268 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41270 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41272 2012-02-24 Roland McGrath <roland@hack.frob.com>
41275 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41276 * manual/fdl-1.3.texi: New file.
41277 * manual/fdl-1.1.texi: File removed.
41280 * manual/libc.texinfo (FDL_VERSION): New @set.
41281 Use it for mention of FDL in cover text.
41282 (Documentation License): Use it in @include file name.
41284 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41285 Roland McGrath <roland@hack.frob.com>
41288 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41289 (not LONG_LONG_MAX and LONG_LONG_MIN.
41290 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41291 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41293 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41295 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41299 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41300 manipulate bits before adding and subtracting TWO23[sx].
41301 * math/libm-test.inc (nearbyint_test): Add more tests.
41303 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41306 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41307 bits before adding and subtracting TWO23[sx].
41308 * math/libm-test.inc (rint_test): Add more tests.
41309 (rint_test_tonearest): Likewise.
41310 (rint_test_towardzero): Likewise.
41311 (rint_test_downward): Likewise.
41312 (rint_test_upward: Likewise.
41314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41317 * include/stdc-predef.h: New file. Extracted from features.h.
41318 * include/features.h: Include stdc-predef.h.
41319 * Makefile (headers): Add stdc-predef.h.
41320 * CONFORMANCE (Compiler limitations): Update.
41322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41324 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41326 2012-02-21 David S. Miller <davem@davemloft.net>
41328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41329 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41331 2012-02-20 David S. Miller <davem@davemloft.net>
41333 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41334 using a normal save/restore sequence, rather than allocating a
41335 dummy stack frame just to store a frame pointer and restore.
41336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41338 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41340 * manual/install.texi: Fix stray word in line-wrapped comment.
41342 2012-02-20 David S. Miller <davem@davemloft.net>
41344 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41345 both binutils and gcc support GOTDATA.
41347 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41348 "rd %pc" in the PIC register setup sequences.
41350 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41351 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41353 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41359 (SYSCALL_ERROR_HANDLER): Likewise.
41360 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41361 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41363 (SYSCALL_ERROR_HANDLER): Likewise.
41365 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41366 (HAVE_GCC_GOTDATA): New.
41367 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41368 relocation support in both binutils and gcc.
41369 * sysdeps/sparc/elf/configure: Regenerate.
41371 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41372 * sysdeps/sparc/sparc32/elf/configure: Delete.
41373 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41374 * sysdeps/sparc/sparc64/elf/configure: Delete.
41375 * sysdeps/sparc/elf/configure.in: New file.
41376 * sysdeps/sparc/elf/configure: Generate.
41378 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41379 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41380 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41381 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41382 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41384 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41386 * manual/install.texi: Do not mention specific glibc version
41388 * manual/libc.texinfo (VERSION, UPDATED): Update.
41389 (@copying): Use @copyright{} and range of years.
41391 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41394 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41395 [crti.S not in sysdirs] (generated): Do not append.
41396 [crti.S not in sysdirs] (omit-deps): Likewise.
41397 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41398 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41399 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41400 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41401 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41403 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41404 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41405 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41406 * csu/defs.awk: Remove file.
41407 * sysdeps/generic/initfini.c: Likewise.
41408 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41410 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41413 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41415 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41416 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41417 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41419 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41420 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41422 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41423 (__EPOLL_PACKED): Define to empty if not defined by
41425 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41429 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41431 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41432 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41433 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41434 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41436 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41440 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41442 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41449 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41454 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41456 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41457 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41459 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41461 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41464 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41466 * math/w_acos.c: Use non-signaling floating-point comparisons.
41467 * math/w_acosf.c: Likewise.
41468 * math/w_acosh.c: Likewise.
41469 * math/w_acoshf.c: Likewise.
41470 * math/w_acoshl.c: Likewise.
41471 * math/w_acosl.c: Likewise.
41472 * math/w_asin.c: Likewise.
41473 * math/w_asinf.c: Likewise.
41474 * math/w_asinl.c: Likewise.
41475 * math/w_atanh.c: Likewise.
41476 * math/w_atanhf.c: Likewise.
41477 * math/w_atanhl.c: Likewise.
41478 * math/w_exp2.c: Likewise.
41479 * math/w_exp2f.c: Likewise.
41480 * math/w_exp2l.c: Likewise.
41481 * math/w_j0.c: Likewise.
41482 * math/w_j0f.c: Likewise.
41483 * math/w_j0l.c: Likewise.
41484 * math/w_j1.c: Likewise.
41485 * math/w_j1f.c: Likewise.
41486 * math/w_j1l.c: Likewise.
41487 * math/w_jn.c: Likewise.
41488 * math/w_jnf.c: Likewise.
41489 * math/w_log.c: Likewise.
41490 * math/w_log10.c: Likewise.
41491 * math/w_log10f.c: Likewise.
41492 * math/w_log10l.c: Likewise.
41493 * math/w_log2.c: Likewise.
41494 * math/w_log2f.c: Likewise.
41495 * math/w_log2l.c: Likewise.
41496 * math/w_logf.c: Likewise.
41497 * math/w_logl.c: Likewise.
41498 * math/w_sqrt.c: Likewise.
41499 * math/w_sqrtf.c: Likewise.
41500 * math/w_sqrtl.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41507 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41510 * manual/string.texi (strnlen): Use correct parameter name in
41511 equivalent expression.
41513 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41516 * manual/users.texi (seteuid): Consistently use neweuid for
41519 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41522 * manual/nss.texi (Services in the NSS configuration): Correct
41523 list of services in example configuration file.
41525 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41528 * manual/arith.texi: Remove statements about negative zero
41529 behaving identically to zero.
41531 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41534 * manual/install.texi: Do not document upgrading from libc5.
41536 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41539 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41541 2012-02-18 David S. Miller <davem@davemloft.net>
41543 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41544 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41545 %o7 across the call.
41546 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41549 SETUP_PIC_REG_LEAF.
41550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41551 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41552 * sysdeps/sparc/crtn.S: Likewise.
41554 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41556 * aout/Makefile: Remove.
41558 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41561 * manual/examples/argp-ex1.c (main): Format definition in GNU
41563 * manual/examples/argp-ex2.c (main): Likewise.
41564 * manual/examples/argp-ex3.c (main): Likewise.
41565 * manual/examples/argp-ex4.c (main): Likewise.
41566 * manual/examples/longopt.c (main): Use new-style prototype
41568 * manual/examples/strncat.c (main): Specify return type and use
41569 (void) for arguments.
41570 * manual/examples/subopt.c (main): Use char **argv argument.
41572 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41575 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41578 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41581 * manual/string.texi (strchr): Change when strchrnul is
41584 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41587 * manual/locale.texi (setlocale): Document LOCPATH.
41589 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41592 * manual/process.texi (execle): Move @dots{} before last argument.
41594 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41597 * manual/charset.texi (Generic Charset Conversion): Fix typo
41598 (LC_TYPE -> LC_CTYPE).
41600 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41603 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41604 (scalbnf): Likewise.
41605 (scalbnl): Likewise.
41606 (scalbln): Likewise.
41607 (scalblnf): Likewise.
41608 (scalblnl): Likewise.
41609 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41610 (vwarnx): Likewise.
41613 * manual/filesys.texi (telldir): Use braces around return type.
41614 * manual/llio.texi (mmap): Add space after comma.
41615 (mmap64): Likewise.
41616 * manual/math.texi (jn): Use @var{} on parameter names.
41622 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41624 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41626 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41627 (sched_get_priority_max): Likewise.
41628 * manual/signal.texi (sigvec): Add space after comma.
41629 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41631 (if_indextoname): Likewise.
41632 (if_freenameindex): Likewise.
41633 (sendto): Use ',' instead of '.' in prototype.
41634 * manual/startup.texi (syscall): Use @dots{} instead of literal
41636 * manual/stdio.texi (__fpending): Separate initial words of
41637 paragraph from @deftypefun line.
41638 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41640 (vsyslog): Use @var{} on parameter names.
41641 * manual/terminal.texi (stty): Use @var{} on parameter names.
41642 * manual/users.texi (getutmp): Use @var{} on parameter names.
41643 (getutmpx): Likewise.
41645 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41648 * manual/stdio.texi (fopen): Fix typos in description of
41651 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41654 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41655 get clock_id definition.
41657 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41660 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41661 (madvise): Cast every argument to void on its own.
41663 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41666 * manual/startup.texi (Exit Status): Fix typo.
41668 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41671 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41672 * manual/examples/argp-ex2.c: Likewise.
41673 * manual/examples/argp-ex3.c: Likewise.
41675 2012-02-16 Richard Henderson <rth@redhat.com>
41677 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41678 * sysdeps/s390/s390-32/initfini.c: Remove.
41679 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41680 * sysdeps/s390/s390-64/initfini.c: Remove.
41682 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41684 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41685 compiler output for sysdeps/generic/initfini.c.
41686 * sysdeps/sh/elf/initfini.c: Remove file.
41688 2012-02-16 David S. Miller <davem@davemloft.net>
41691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41693 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41694 * sysdeps/sparc/crti.S: New file.
41695 * sysdeps/sparc/crtn.S: New file.
41696 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41697 * sysdeps/sparc/sparc64/Makefile: Likewise.
41699 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41702 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41704 2012-02-15 Roland McGrath <roland@hack.frob.com>
41707 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41709 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41710 (write, read, close): Likewise.
41711 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41713 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41715 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41716 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41717 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41718 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41720 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41724 2012-02-14 Marek Polacek <polacek@redhat.com>
41726 * sysdeps/x86_64/crti.S: New file.
41727 * sysdeps/x86_64/crtn.S: New file.
41728 * sysdeps/x86_64/elf/initfini.c: Remove file.
41730 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41732 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41733 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41734 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41735 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41737 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41741 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41743 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41744 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41745 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41746 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41748 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41752 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41754 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41755 __feraiseexcept instead of feraiseexcept.
41757 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41758 nanosleep invocations.
41759 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41760 strings, and add error checking for a nanosleep invocations.
41762 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41764 Replace FSF snail mail address with URLs, as per GNU coding standards.
41765 Most of the snail mail addresses were wrong anyway, and omitting
41766 them makes the source code easier to maintain. Almost all of the
41767 changes are to license notices and to locale LC_IDENTIFICATION
41768 addresses, except for this one:
41769 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41770 not its snail mail address.
41772 2012-02-09 Richard Henderson <rth@twiddle.net>
41774 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41775 of kernel-features.h.
41777 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41779 2012-02-08 Marek Polacek <polacek@redhat.com>
41781 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41782 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41783 * sysdeps/gnu/_G_config.h: Likewise.
41784 * sysdeps/generic/_G_config.h: Likewise.
41786 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41788 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41792 * sysdeps/powerpc/powerpc32/crti.S: New file.
41793 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41794 * sysdeps/powerpc/powerpc64/crti.S: New file.
41795 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41797 * Makeconfig (have-initfini): Don't set.
41798 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41799 * configure.in (nopic_initfini): Don't substitute.
41800 * config.h.in (HAVE_INITFINI): Don't #undef.
41801 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41802 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41804 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41806 Support crti.S and crtn.S provided directly by architectures.
41807 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41808 [crti.S in sysdirs] (omit-deps): Likewise.
41809 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41810 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41811 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41812 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41813 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41814 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41815 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41816 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41817 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41818 compiler output for sysdeps/generic/initfini.c.
41819 * sysdeps/i386/elf/Makefile: Remove file.
41820 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41822 2012-02-07 Marek Polacek <polacek@redhat.com>
41824 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41825 * sysdeps/gnu/_G_config.h: Likewise.
41826 * sysdeps/mach/hurd/_G_config.h: Likewise.
41828 2012-02-07 Marek Polacek <polacek@redhat.com>
41830 * math/Makefile (tests): Add tst-CMPLX2.
41831 * math/tst-CMPLX2.c: New file.
41833 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41837 * math/libm-test.inc (jn_test): Add missing L suffix.
41839 2012-02-06 Marek Polacek <polacek@redhat.com>
41841 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41842 * sysdeps/i386/fpu/e_powf.S: Likewise.
41843 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41844 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41846 * sysdeps/i386/fpu/e_pow.S: Likewise.
41847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41851 * sysdeps/i386/fpu/e_log2.S: Likewise.
41852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41854 * sysdeps/i386/fpu/e_powl.S: Likewise.
41855 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41858 * sysdeps/i386/fpu/e_logl.S: Likewise.
41859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41860 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41861 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41862 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41863 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41865 * sysdeps/i386/fpu/e_log.S: Likewise.
41866 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41867 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41868 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41869 * sysdeps/i386/fpu/e_logf.S: Likewise.
41870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41872 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41875 * sysdeps/i386/fpu/e_log10.S: Likewise.
41876 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41877 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41878 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41879 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41882 * sysdeps/i386/asm-syntax.h: Likewise.
41883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41886 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41887 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41888 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41889 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41890 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41891 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41892 * sysdeps/powerpc/sysdep.h: Likewise.
41893 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41896 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41899 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41901 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41903 * sysdeps/i386/sysdep.h: Include <features.h>.
41904 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41907 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41909 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41911 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41914 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41916 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41917 (SETUP_PIC_REG): Use GET_PC_THUNK.
41918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41921 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41924 for non-PIC compilation.
41925 (SETUP_PIC_REG): Add .p2align directive.
41926 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41927 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41928 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41934 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41935 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41936 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41937 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41938 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41939 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41940 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41941 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41942 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41952 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41956 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41959 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41960 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41968 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41970 * math/tst-CMPLX.c: Include <stdio.h>.
41972 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41974 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41976 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41977 * sysdeps/sparc/bits/mathdef.h: Likewise.
41979 2012-01-31 Marek Polacek <polacek@redhat.com>
41981 * libio/libio.h: Don't define _PARAMS.
41982 * locale/programs/config.h: Don't define PARAMS.
41983 * stdlib/strtol_l.c: Likewise.
41984 (__strtol_l): Remove PARAMS from the prototype.
41986 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41988 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41989 names. Just use the correct names. Remove unnecessary wrapper
41991 * malloc/arena.c: Likewise.
41992 * malloc/hooks.c: Likewise.
41994 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41995 ARENA_TEST says not to. Simplify test for creation of a new arena.
41996 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41998 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42000 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42002 (update_get_addr): New function.
42003 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42004 GET_ADDR_MODULE parameter.
42006 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42008 * crypt/cert.c: Remove __STDC__ conditionals.
42009 * crypt/crypt-entry.c: Likewise.
42010 * crypt/crypt_util.c: Likewise.
42011 * libio/filedoalloc.c: Likewise.
42012 * libio/fileops.c: Likewise.
42013 * libio/genops.c: Likewise.
42014 * libio/iofclose.c: Likewise.
42015 * libio/iofdopen.c: Likewise.
42016 * libio/iofopen.c: Likewise.
42017 * libio/iofopen64.c: Likewise.
42018 * libio/iogetdelim.c: Likewise.
42019 * libio/iopopen.c: Likewise.
42020 * libio/obprintf.c: Likewise.
42021 * libio/oldfileops.c: Likewise.
42022 * libio/oldiofclose.c: Likewise.
42023 * libio/oldiofdopen.c: Likewise.
42024 * libio/oldiofopen.c: Likewise.
42025 * libio/oldiopopen.c: Likewise.
42026 * libio/wfiledoalloc.c: Likewise.
42027 * libio/wgenops.c: Likewise.
42028 * locale/programs/xmalloc.c: Likewise.
42029 * misc/syslog.c: Likewise.
42030 * stdio-common/xbug.c: Likewise.
42031 * string/memchr.c: Likewise.
42032 * string/memcmp.c: Likewise.
42033 * string/memrchr.c: Likewise.
42034 * string/rawmemchr.c: Likewise.
42035 * sysdeps/posix/getcwd.c: Likewise.
42036 * time/strftime_l.c: Likewise.
42038 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42040 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42041 * config.make.in (config-cflags-sse2avx): Define.
42042 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42045 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42047 * scripts/config.guess: Update from upstream config git repository.
42048 * scripts/config.sub: Likewise.
42050 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42052 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42054 (R_TILEPRO_*, R_TILEGX_*): New macros.
42056 * scripts/firstversions.awk: Fix bug in version range handling.
42058 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42060 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42062 * include/sys/epoll.h: New file.
42063 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42066 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42068 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42069 Avoid unnecessary __WORDSIZE == 64 test.
42070 (fmaxf): Use VEX format if possible.
42075 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42076 * math/math_private.h: Remove libc_fegetround* and
42078 * sysdeps/i386/configure.in: Check for -msse2avx.
42079 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42080 also if SSE2AVX is defined.
42081 Remove libc_fegetround* and libc_fesetround*.
42082 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42083 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42087 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42092 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42094 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42100 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42103 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42105 * Makeconfig (libm): Define.
42106 * elf/Makefile: Add rules to build and run tst-relsort1.
42107 * elf/tst-relsort1.c: New file.
42108 * elf/tst-relsort1mod1.c: New file.
42109 * elf/tst-relsort1mod2.c: New file.
42111 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42113 * math/s_ldexp.c: Remove __STDC__ conditionals.
42114 * math/s_ldexpf.c: Likewise.
42115 * math/s_ldexpl.c: Likewise.
42116 * math/s_nextafter.c: Likewise.
42117 * math/s_nexttowardf.c: Likewise.
42118 * math/s_significand.c: Likewise.
42119 * math/s_significandf.c: Likewise.
42120 * math/s_significandl.c: Likewise.
42121 * math/w_jnl.c: Likewise.
42122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42128 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42129 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42150 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42151 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42152 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42153 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42156 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42159 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42160 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42161 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42162 * sysdeps/ieee754/k_standard.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42238 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42242 * sysdeps/ieee754/s_matherr.c: Likewise.
42243 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42248 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42250 * crypt/md5.h: Remove __STDC__ conditionals.
42251 * libio/libioP.h: Likewise.
42252 * locale/programs/config.h: Likewise.
42253 * sysdeps/generic/sysdep.h: Likewise.
42254 * sysdeps/i386/asm-syntax.h: Likewise.
42255 * sysdeps/s390/asm-syntax.h: Likewise.
42256 * sysdeps/unix/sysdep.h: Likewise.
42257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42260 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42262 * libio/libio.h: Remove __STDC__ conditionals.
42263 * malloc/obstack.h: Likewise.
42264 * math/complex.h: Likewise.
42265 * math/math.h: Likewise.
42266 * sysdeps/generic/_G_config.h: Likewise.
42267 * sysdeps/gnu/_G_config.h: Likewise.
42268 * sysdeps/mach/hurd/_G_config.h: Likewise.
42269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42270 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42271 * sysdeps/sparc/bits/mathdef.h: Likewise.
42273 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42277 Clean up HAS_* macros.
42278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42279 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42284 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42286 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42289 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42291 * elf/tst-unique3.cc (gets): Remove declaration.
42292 * elf/tst-unique3lib.cc (gets): Likewise.
42293 * elf/tst-unique3lib2.cc (gets): Likewise.
42294 * elf/tst-unique4.cc (gets): Likewise.
42296 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42298 * include/stdio.h: Add C++ protection. Add gets declarations and
42300 * debug/tst-chk1.c: Don't declare gets here.
42301 * stdio-common/tst-gets.c: Likewise.
42303 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42305 * posix/glob: Remove directory.
42307 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42309 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42311 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42313 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42314 of the non-standard EPFNOSUPPORT.
42316 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42318 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42319 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42320 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42322 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42324 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42326 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42328 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42330 * nscd/grpcache.c (cache_addgr): Likewise.
42331 * nscd/hstcache.c (cache_addhst): Likewise.
42332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42333 * nscd/pwdcache.c (cache_addpw): Likewise.
42334 * nscd/servicescache.c (cache_addserv): Likewise.
42336 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42338 * malloc/malloc.c: Various cleanups.
42339 * malloc/hooks.c: Likewise.
42341 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42342 * stdlib/bug-fmtmsg1.c: New file.
42344 * stdlib/fmtmsg.c (init): Add missing unlock.
42345 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42347 2012-01-12 Marek Polacek <polacek@redhat.com>
42349 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42352 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42354 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42355 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42356 macro to ensure uniqueness of label name.
42357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42360 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42362 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42364 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42365 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42369 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42371 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42373 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42375 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42377 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42380 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42384 * math/bits/math-finite.h: Add ldexp support.
42386 2012-01-10 Marek Polacek <polacek@redhat.com>
42388 * locale/programs/localedef.h (show_archive_content): Add noreturn
42391 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42397 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42399 * io/Makefile (headers): Add bits/poll2.h.
42401 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42404 typo #include statement.
42406 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42408 * include/sys/cdefs.h: Define __attribute_alloc_size.
42409 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42410 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42411 * elf/pldd.c: Likewise.
42412 * iconv/iconv_charmap.c: Likewise.
42413 * iconv/iconvconfig.c: Likewise.
42414 * iconv/strtab.c: Likewise.
42415 * locale/programs/locale.c: Likewise.
42416 * locale/programs/localedef.h: Likewise.
42417 * locale/programs/simple-hash.c: Likewise.
42418 * nscd/nscd.h: Likewise.
42419 * nss/makedb.c: Likewise.
42420 * sysdeps/generic/ldconfig.h: Likewise.
42421 * locale/programs/localedef.c: Remove xmalloc prototype.
42422 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42424 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42429 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42431 * math/Makefile (tests): Add tst-CMPLX.
42432 * math/tst-CMPLX.c: New file.
42434 * math/complex.h (CMPLXL): Fix typo.
42436 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42437 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42439 * debug/tst-chk1.c: Add poll and ppoll tests.
42440 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42441 * include/sys/poll.h: Add hidden proto for ppoll.
42442 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42443 * sysdeps/mach/hurd/ppoll.c: Likewise.
42444 * io/ppoll.c: Likewise.
42445 * debug/poll_chk.c: New file.
42446 * debug/ppoll_chk.c: New file.
42447 * include/bits/poll2.h: New file.
42448 * io/bits/poll2.h: New file.
42451 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42453 * configure.in: static is always set to yes. Remove.
42454 * config.make.in: Don't set build-static.
42455 * Makeconfig: Remove use of build-static.
42456 * dlfcn/Makefile: Likewise.
42457 * elf/Makefile: Likewise.
42458 * math/Makefile: Likewise.
42459 * misc/Makefile: Likewise.
42460 * nptl/Makefile: Likewise.
42461 * sysdeps/mach/hurd/Makefile: Likewise.
42463 * configure.in: PWD_P is not used anymore.
42464 * config.make.in: Remove PWD_P entry.
42466 * configure.in: Remove last remnants of RANLIB.
42467 No need to check for signed size_t anymore.
42468 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42470 Remove __builtin_expect test because we require at least gcc 3.4.
42471 * aclocal.m4: Likewise.
42473 * wcsmbs/mbrtoc16.c: Implement using towc function.
42474 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42475 * wcsmbs/wcsmbsload.c: Likewise.
42476 * iconv/gconv_simple.c: Likewise.
42477 * iconv/gconv_int.h: Likewise.
42478 * iconv/gconv_builtin.h: Likewise.
42479 * iconv/iconv_prog.c: Remove CHAR16 handling.
42481 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42483 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42485 * configure.in: Remove --with-elf and --enable-bounded options.
42486 Dont set base_machine for ia64. More non-ELF conditions removed.
42487 Remove testing and setting of leading underscore information.
42488 * config.make.in (build-bounded): Set to no.
42489 * config.h.in: Remove NO_UNDERSCORES entry.
42490 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42492 * csu/start.c: Remove !NO_UNDERSCORE code.
42493 * locale/localeinfo.h: Likewise.
42494 * sysdeps/generic/machine-gmon.h: Likewise.
42495 * sysdeps/generic/sysdep.h: Likewise.
42496 * sysdeps/i386/sysdep.h: Likewise.
42497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42498 * sysdeps/mach/sysdep.h: Likewise.
42499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42501 * sysdeps/sh/sysdep.h: Likewise.
42502 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42503 * sysdeps/unix/i386/sysdep.S: Likewise.
42504 * sysdeps/unix/sparc/start.c: Likewise.
42505 * sysdeps/unix/sparc/sysdep.S: Likewise.
42506 * sysdeps/unix/sparc/sysdep.h: Likewise.
42507 * sysdeps/unix/start.c: Likewise.
42508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42509 * sysdeps/x86_64/sysdep.h: Likewise.
42511 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42514 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42516 * argp/argp-fmtstream.h: Use const instead __const.
42517 * argp/argp.h: Likewise.
42518 * assert/assert.h: Likewise.
42519 * bits/fenv.h: Likewise.
42520 * bits/sched.h: Likewise.
42521 * bits/sigset.h: Likewise.
42522 * bits/sigthread.h: Likewise.
42523 * catgets/nl_types.h: Likewise.
42524 * conform/data/pthread.h-data: Likewise.
42525 * crypt/crypt-private.h: Likewise.
42526 * crypt/crypt.h: Likewise.
42527 * crypt/crypt_util.c: Likewise.
42528 * ctype/ctype.h: Likewise.
42529 * debug/execinfo.h: Likewise.
42530 * debug/mbsnrtowcs_chk.c: Likewise.
42531 * debug/mbsrtowcs_chk.c: Likewise.
42532 * debug/wcsnrtombs_chk.c: Likewise.
42533 * debug/wcsrtombs_chk.c: Likewise.
42534 * debug/wcstombs_chk.c: Likewise.
42535 * dirent/dirent.h: Likewise.
42536 * dlfcn/dlfcn.h: Likewise.
42537 * elf/neededtest4.c: Likewise.
42538 * grp/grp.h: Likewise.
42539 * gshadow/gshadow.h: Likewise.
42540 * iconv/gconv.h: Likewise.
42541 * iconv/gconv_int.h: Likewise.
42542 * iconv/gconv_simple.c: Likewise.
42543 * iconv/iconv.h: Likewise.
42544 * iconv/loop.c: Likewise.
42545 * iconv/skeleton.c: Likewise.
42546 * include/aio.h: Likewise.
42547 * include/aliases.h: Likewise.
42548 * include/argz.h: Likewise.
42549 * include/arpa/inet.h: Likewise.
42550 * include/assert.h: Likewise.
42551 * include/dirent.h: Likewise.
42552 * include/dlfcn.h: Likewise.
42553 * include/execinfo.h: Likewise.
42554 * include/fcntl.h: Likewise.
42555 * include/fenv.h: Likewise.
42556 * include/glob.h: Likewise.
42557 * include/grp.h: Likewise.
42558 * include/libintl.h: Likewise.
42559 * include/mntent.h: Likewise.
42560 * include/netdb.h: Likewise.
42561 * include/pwd.h: Likewise.
42562 * include/rpc/netdb.h: Likewise.
42563 * include/sched.h: Likewise.
42564 * include/search.h: Likewise.
42565 * include/shadow.h: Likewise.
42566 * include/signal.h: Likewise.
42567 * include/stdio.h: Likewise.
42568 * include/stdlib.h: Likewise.
42569 * include/string.h: Likewise.
42570 * include/sys/socket.h: Likewise.
42571 * include/sys/stat.h: Likewise.
42572 * include/sys/statfs.h: Likewise.
42573 * include/sys/statvfs.h: Likewise.
42574 * include/sys/syslog.h: Likewise.
42575 * include/sys/time.h: Likewise.
42576 * include/sys/uio.h: Likewise.
42577 * include/time.h: Likewise.
42578 * include/unistd.h: Likewise.
42579 * include/utmp.h: Likewise.
42580 * include/wchar.h: Likewise.
42581 * include/wctype.h: Likewise.
42582 * inet/aliases.h: Likewise.
42583 * inet/arpa/inet.h: Likewise.
42584 * inet/netinet/ether.h: Likewise.
42585 * inet/netinet/in.h: Likewise.
42586 * intl/libintl.h: Likewise.
42587 * io/bits/fcntl2.h: Likewise.
42588 * io/fcntl.h: Likewise.
42589 * io/ftw.h: Likewise.
42590 * io/sys/poll.h: Likewise.
42591 * io/sys/stat.h: Likewise.
42592 * io/sys/statfs.h: Likewise.
42593 * io/sys/statvfs.h: Likewise.
42594 * io/utime.h: Likewise.
42595 * libio/bits/stdio.h: Likewise.
42596 * libio/bits/stdio2.h: Likewise.
42597 * libio/libio.h: Likewise.
42598 * libio/libioP.h: Likewise.
42599 * libio/stdio.h: Likewise.
42600 * locale/lc-ctype.c: Likewise.
42601 * locale/locale.h: Likewise.
42602 * login/utmp.h: Likewise.
42603 * malloc/arena.c: Likewise.
42604 * malloc/malloc.c: Likewise.
42605 * malloc/malloc.h: Likewise.
42606 * malloc/mcheck.c: Likewise.
42607 * malloc/mtrace.c: Likewise.
42608 * math/bits/mathcalls.h: Likewise.
42609 * math/fenv.h: Likewise.
42610 * math/math_private.h: Likewise.
42611 * misc/bits/error.h: Likewise.
42612 * misc/bits/syslog.h: Likewise.
42613 * misc/err.h: Likewise.
42614 * misc/error.h: Likewise.
42615 * misc/fstab.h: Likewise.
42616 * misc/mntent.h: Likewise.
42617 * misc/regexp.h: Likewise.
42618 * misc/search.h: Likewise.
42619 * misc/sgtty.h: Likewise.
42620 * misc/sys/mman.h: Likewise.
42621 * misc/sys/syslog.h: Likewise.
42622 * misc/sys/uio.h: Likewise.
42623 * misc/sys/xattr.h: Likewise.
42624 * misc/ttyent.h: Likewise.
42625 * nis/rpcsvc/ypclnt.h: Likewise.
42626 * nss/nss.h: Likewise.
42627 * posix/bits/unistd.h: Likewise.
42628 * posix/fnmatch.h: Likewise.
42629 * posix/glob.h: Likewise.
42630 * posix/sched.h: Likewise.
42631 * posix/spawn.h: Likewise.
42632 * posix/sys/wait.h: Likewise.
42633 * posix/unistd.h: Likewise.
42634 * posix/wordexp.h: Likewise.
42635 * pwd/pwd.h: Likewise.
42636 * resolv/netdb.h: Likewise.
42637 * resource/sys/resource.h: Likewise.
42638 * rt/aio.h: Likewise.
42639 * rt/bits/mqueue2.h: Likewise.
42640 * rt/mqueue.h: Likewise.
42641 * shadow/shadow.h: Likewise.
42642 * signal/signal.h: Likewise.
42643 * socket/send.c: Likewise.
42644 * socket/sendto.c: Likewise.
42645 * socket/sys/socket.h: Likewise.
42646 * stdio-common/printf.h: Likewise.
42647 * stdlib/bits/stdlib.h: Likewise.
42648 * stdlib/fmtmsg.h: Likewise.
42649 * stdlib/monetary.h: Likewise.
42650 * stdlib/stdlib.h: Likewise.
42651 * stdlib/ucontext.h: Likewise.
42652 * streams/stropts.h: Likewise.
42653 * string/argz.h: Likewise.
42654 * string/bits/string2.h: Likewise.
42655 * string/string.h: Likewise.
42656 * string/strings.h: Likewise.
42657 * sunrpc/rpc/auth.h: Likewise.
42658 * sunrpc/rpc/auth_des.h: Likewise.
42659 * sunrpc/rpc/clnt.h: Likewise.
42660 * sunrpc/rpc/netdb.h: Likewise.
42661 * sunrpc/rpc/pmap_clnt.h: Likewise.
42662 * sunrpc/rpc/xdr.h: Likewise.
42663 * sysdeps/generic/inttypes.h: Likewise.
42664 * sysdeps/generic/net/if.h: Likewise.
42665 * sysdeps/generic/sys/swap.h: Likewise.
42666 * sysdeps/gnu/net/if.h: Likewise.
42667 * sysdeps/gnu/utmpx.h: Likewise.
42668 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42669 * sysdeps/i386/i486/bits/string.h: Likewise.
42670 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42671 * sysdeps/s390/bits/string.h: Likewise.
42672 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42673 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42674 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42675 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42676 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42677 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42678 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42679 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42680 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42681 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42682 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42683 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42684 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42685 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42686 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42687 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42688 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42694 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42695 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42696 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42697 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42700 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42702 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42703 * sysvipc/sys/ipc.h: Likewise.
42704 * sysvipc/sys/msg.h: Likewise.
42705 * sysvipc/sys/sem.h: Likewise.
42706 * sysvipc/sys/shm.h: Likewise.
42707 * termios/termios.h: Likewise.
42708 * time/sys/time.h: Likewise.
42709 * time/time.h: Likewise.
42710 * wcsmbs/bits/wchar2.h: Likewise.
42711 * wcsmbs/uchar.h: Likewise.
42712 * wcsmbs/wchar.h: Likewise.
42713 * wctype/wctype.h: Likewise.
42716 * Makeconfig: Remove all but ELF support including AIX support.
42717 * Makerules: Likewise.
42718 * config.h.in: Likewise.
42719 * config.make.in: Likewise.
42720 * configure: Likewise.
42721 * configure.in: Likewise.
42722 * csu/Makefile: Likewise.
42723 * csu/version.c: Likewise.
42724 * debug/Makefile: Likewise.
42725 * dlfcn/Makefile: Likewise.
42726 * elf/Makefile: Likewise.
42727 * extra-lib.mk: Likewise.
42728 * iconv/Makefile: Likewise.
42729 * include/libc-symbols.h: Likewise.
42730 * include/shlib-compat.h: Likewise.
42731 * resolv/Makefile: Likewise.
42732 * resolv/res_libc.c: Likewise.
42733 * rt/Makefile: Likewise.
42734 * sysdeps/i386/asm-syntax.h: Likewise.
42735 * sysdeps/i386/sysdep.h: Likewise.
42736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42737 * sysdeps/mach/sysdep.h: Likewise.
42738 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42739 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42740 * sysdeps/s390/asm-syntax.h: Likewise.
42741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42743 * sysdeps/sh/sysdep.h: Likewise.
42744 * sysdeps/unix/sparc/sysdep.h: Likewise.
42745 * sysdeps/wordsize-32/divdi3.c: Likewise.
42746 * sysdeps/x86_64/sysdep.h: Likewise.
42748 * argp/Versions: Remove _argp_unlock_xxx.
42751 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42752 * abilist/libBrokenLocale.abilist: Likewise.
42753 * abilist/libanl.abilist: Likewise.
42754 * abilist/libc.abilist: Likewise.
42755 * abilist/libcrypt.abilist: Likewise.
42756 * abilist/libdl.abilist: Likewise.
42757 * abilist/libm.abilist: Likewise.
42758 * abilist/libnsl.abilist: Likewise.
42759 * abilist/libpthread.abilist: Likewise.
42760 * abilist/libresolv.abilist: Likewise.
42761 * abilist/librt.abilist: Likewise.
42762 * abilist/libthread_db.abilist: Likewise.
42763 * abilist/libutil.abilist: Likewise.
42764 * abilist/libnss_db.abilist: New file.
42766 * scripts/abilist.awk: Add support for indirect functions.
42768 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42770 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42772 * shlib-versions: Remove entries for ports architectures.
42774 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42776 * elf/stackguard-macros.h: Remove support for IA-64.
42777 * elf/tst-auditmod1.c: Likewise.
42778 * sysdeps/generic/ldsodefs.h: Likewise.
42780 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42781 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42785 * configure.in: Remove --enable-omitfp support.
42787 * config.make.in: Likewise.
42788 * Makeconfig: Likewise.
42789 * manual/install.texi: Likewise.
42791 In case anyone cares, the IA-64 architecture could move to ports.
42792 * sysdeps/ia64/*: Removed.
42793 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42794 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42797 * configure.in: Remove entries for unsupported architectures.
42800 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42801 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42803 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42804 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42805 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42806 fall back to using wcrtomb.
42807 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42808 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42810 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42811 * wcsmbs/tst-c16c32-1.c: New file.
42813 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42816 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42818 * elf/tst-unique3.cc: Add explicit declaration of gets.
42819 * elf/tst-unique3lib.cc: Likewise.
42820 * elf/tst-unique3lib2.cc: Likewise.
42821 * elf/tst-unique4.cc: Likewise.
42823 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42825 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42828 * assert/assert.h (static_assert): Don't define for C++.
42829 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42830 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42832 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42834 * iconv/loop.c (single loop): Fix assertion in storing of
42837 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42839 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42841 * posix/getconf.c: Update copyright year.
42842 * nss/getent.c: Likewise.
42843 * nss/makedb.c: Likewise.
42844 * iconv/iconvconfig.c: Likewise.
42845 * iconv/iconv_prog.c: Likewise.
42846 * elf/ldconfig.c: Likewise.
42847 * elf/pldd.c: Likewise.
42848 * elf/sotruss.ksh: Likewise.
42849 * catgets/gencat.c: Likewise.
42850 * csu/version.c: Likewise.
42851 * elf/ldd.bash.in: Likewise.
42852 * elf/sprof.c (print_version): Likewise.
42853 * locale/programs/locale.c: Likewise.
42854 * locale/programs/localedef.c: Likewise.
42855 * login/programs/pt_chown.c: Likewise.
42856 * nscd/nscd.c (print_version): Likewise.
42857 * debug/xtrace.sh: Likewise.
42858 * malloc/memusage.sh: Likewise.
42859 * malloc/mtrace.pl: Likewise.
42860 * debug/catchsegv.sh: Likewise.
42862 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42864 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42867 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42870 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42871 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42873 * iconv/gconv_int.h: Likewise.
42874 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42875 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42876 from libc for GLIBC_2.16.
42877 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42878 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42879 * wcsmbs/uchar.h: Really define mbstate_t.
42880 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42881 * wcsmbs/c16rtomb.c: New file.
42882 * wcsmbs/mbrtoc16.c: New file.
42883 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42884 for C/POSIX locale.
42885 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42886 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42888 * wcsmbs/wchar.h: Add missing __restrict.
42890 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42893 * time/Makefile (routines): Add timespec_get.
42894 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42895 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42896 timespec for ISO C11.
42897 * time/timespec_get.c: New file.
42898 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42899 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42902 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42903 * stdlib/stdlib.h: Declare aligned_alloc.
42904 * Versions.def: Add GLIBC_2.16 for libc.
42905 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42908 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42911 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42915 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42918 * assert/assert.h (static_assert): Define.
42920 * version.h: Update for 2.16 development version.
42923 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42926 * version.h (RELEASE): Bump for 2.15 release.
42927 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42929 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42930 Patch by Marek Polacek <mpolacek@redhat.com>.
42932 * bits/byteswap.h: Protect long long constants with __extension__.
42933 * sysdeps/i386/bits/byteswap.h: Likewise.
42934 * sysdeps/ia64/bits/byteswap.h: Likewise.
42935 * sysdeps/s390/bits/byteswap.h: Likewise.
42936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42938 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42942 destination buffer.
42943 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42945 2011-12-23 Marek Polacek <polacek@redhat.com>
42947 * elf/dl-addr.c (determine_info): Add inline keyword.
42948 * elf/tst-auditmod4b.c (check_avx): Likewise.
42949 * elf/tst-auditmod6b.c (check_avx): Likewise.
42950 * elf/tst-auditmod6c.c (check_avx): Likewise.
42951 * elf/tst-auditmod7b.c (check_avx): Likewise.
42953 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42955 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42958 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42961 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42962 processing for last bytes.
42964 2011-08-06 Bruno Haible <bruno@clisp.org>
42967 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42968 U+0385, not to U+1FEE.
42971 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42972 entry for U+00A5 U+0301.
42974 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42977 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42978 buffer for the output is too small.
42980 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42984 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42985 SSE flags if possible.
42987 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42991 processing for last bytes.
42993 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42996 (syscall-list-default-options, syscall-list-default-condition)
42997 (syscall-list-includes): Define.
42998 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42999 list of ABIs and options and #if conditions for each ABI. Do not
43000 handle common syscalls between ABIs specially.
43001 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43003 (syscall-list-variants, syscall-list-32bit-options)
43004 (syscall-list-32bit-condition, syscall-list-64bit-options)
43005 (syscall-list-64bit-condition): Define.
43006 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43007 (syscall-list-variants, syscall-list-32bit-options)
43008 (syscall-list-32bit-condition, syscall-list-64bit-options)
43009 (syscall-list-64bit-condition): Define.
43010 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43012 (syscall-list-variants, syscall-list-32bit-options)
43013 (syscall-list-32bit-condition, syscall-list-64bit-options)
43014 (syscall-list-64bit-condition): Define.
43015 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43017 (syscall-list-variants, syscall-list-32bit-options)
43018 (syscall-list-32bit-condition, syscall-list-64bit-options)
43019 (syscall-list-64bit-condition): Define.
43021 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43023 * locale/iso-639.def: Add brx entry.
43026 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43027 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43029 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43030 __feraiseexcept_renamed.
43032 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43035 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43036 EPOLLET with unsigned values.
43037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43040 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43041 to large cancellation.
43042 * math/s_cacoshf.c: Likewise.
43043 * math/s_cacoshl.c: Likewise.
43045 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43049 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43050 * math/s_cacoshf.c: Likewise.
43051 * math/s_cacoshl.c: Likewise.
43053 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43056 * iconv/gconv.h: Define __GCONV_SWAP.
43057 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43058 * iconvdata/utf-16.c: Likewise.
43059 * iconvdata/utf-32.c: Likewise.
43061 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43065 numerator after shifting it by one limb.
43067 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43070 under [__USE_EXTERN_INLINES].
43072 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43075 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43077 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43079 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43080 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43082 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43084 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43085 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43086 for strncasecmp/strncasecmp_l compilation.
43087 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43088 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43090 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43093 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43096 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43099 * time/tzfile.c (__tzfile_read): Check values from file header.
43101 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43103 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43104 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43105 * powerpc/powerpc32/dl-start.S: Likewise.
43106 * powerpc/powerpc32/elf/start.S: Likewise.
43107 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43108 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43109 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43110 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43111 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43112 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43113 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43114 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43115 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43116 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43117 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43118 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43119 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43120 * powerpc/powerpc32/memset.S: Likewise.
43121 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43122 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43123 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43124 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43125 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43126 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43127 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43128 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43129 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43130 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43131 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43135 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43137 * math/libm-test.inc: Added more nearbyint tests.
43138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43143 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43145 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43148 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43150 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43151 Add wcscpy-ssse3 wcscpy-c.
43152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43153 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43154 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43155 * sysdeps/x86_64/wcschr.S: New file.
43156 * sysdeps/x86_64/wcsrchr.S: New file.
43157 * string/test-strcmp.c: Remove checking of wcscmp function for
43159 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43160 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43161 wcsrchr-sse2 wcsrchr-c.
43162 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43163 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43164 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43165 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43166 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43167 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43168 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43169 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43171 * wcsmbc/wcschr.c (WCSCHR): New macro.
43173 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43175 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43176 * wcsmbs/test-wcsrchr.c: New file.
43177 * string/test-strrchr.c: Add wcsrchr support.
43179 * wcsmbs/test-wcscpy.c: New file.
43180 * string/test-strcpy.c: Add wcscpy support.
43183 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43188 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43191 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43193 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43196 Minor optimizations.
43198 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43199 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43200 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43202 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43204 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43205 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43206 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43207 for gcc to avoid warnings.
43208 * inet/Makefile (tests): Add tst-checks.
43209 * inet/tst-checks.c: New file.
43211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43214 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43217 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43218 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43220 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43222 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43224 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43227 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43229 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43232 conditional on GCC version.
43233 (__arch_compare_and_exchange_val_8_acq)
43234 (__arch_compare_and_exchange_val_16_acq)
43235 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43236 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43237 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43239 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43241 * sysdeps/sh/backtrace.c: New file.
43243 2011-12-02 Andreas Schwab <schwab@redhat.com>
43245 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43248 2011-12-01 Andreas Schwab <schwab@redhat.com>
43250 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43251 falling back to utime.
43253 2011-11-30 Andreas Schwab <schwab@redhat.com>
43255 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43256 expectations for float.
43258 2011-11-29 Andreas Schwab <schwab@redhat.com>
43260 * locale/weight.h (findidx): Add parameter len.
43261 * locale/weightwc.h (findidx): Likewise.
43262 * posix/fnmatch_loop.c (FCT): Adjust caller.
43263 * posix/regcomp.c (build_equiv_class): Likewise.
43264 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43265 * posix/regexec.c (check_node_accept_bytes): Likewise.
43266 * string/strcoll_l.c (STRCOLL): Likewise.
43267 * string/strxfrm_l.c (STRXFRM): Likewise.
43269 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43271 * Makefile.in: Remove CVSOPT handling.
43272 * configure.in: Remove use of AC_REVISION.
43273 * iconvdata/Makefile (distribute): No need to filter out CVS.
43274 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43277 2011-11-16 Andreas Schwab <schwab@redhat.com>
43279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43280 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43281 [USE_AS_STRNCASECMP_L]: Likewise.
43282 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43283 NO_TLS_DIRECT_SEG_REFS.
43284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43285 Fix argument offsets for non-PIC.
43286 [USE_AS_STRNCASECMP_L]: Likewise.
43287 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43288 NO_TLS_DIRECT_SEG_REFS.
43290 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43292 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43294 * locale/loadlocale.c (_nl_load_locale): Likewise.
43296 2011-11-15 Andreas Schwab <schwab@redhat.com>
43298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43299 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43301 (SYSCALL_GETTIME): Set errno on error.
43303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43304 count references to noai6ai_cached.
43306 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43308 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43310 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43311 FD_CLOEXEC for /proc/self/maps.
43313 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43314 FD_CLOEXEC for /proc/meminfo.
43316 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43319 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43320 FD_CLOEXEC for given file.
43322 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43324 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43325 FD_CLOEXEC for /etc/hosts.
43326 (_gethtent): Likewise.
43328 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43331 cancellation and set FD_CLOEXEC for /etc/netgroup.
43333 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43334 reading /etc/publickey.
43336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43337 allow cancellation when reading /etc/group.
43339 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43341 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43343 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43344 when using data file.
43346 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43348 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43349 (write_nis_obj): Use "c" and "e" in fopen.
43351 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43353 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43355 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43357 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43359 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43362 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43364 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43366 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43368 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43369 file parsing and set FD_CLOEXEC.
43371 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43373 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43375 2011-11-14 Andreas Schwab <schwab@redhat.com>
43377 * malloc/arena.c (arena_get2): Don't call reused_arena when
43378 _int_new_arena failed.
43380 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43382 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43383 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43388 to compile strcasecmp and strncasecmp.
43389 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43390 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43394 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43397 locale-defines.sym to gen-as-const-headers.
43398 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43399 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43401 to compile strcasecmp and strncasecmp.
43402 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43403 strcasecmp_l and strncasecmp_l.
43404 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43405 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43406 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43407 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43408 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43410 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43411 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43412 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43413 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43414 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43416 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43418 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43419 result of SYSDEP_GETTIME_CPU to retval.
43420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43421 parameter list to macro. Remove trailing semicolon. Adjust users.
43423 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43426 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43430 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43431 from unused variable.
43433 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43435 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43438 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43441 * sunrpc/rpc_prot.c (rejected): Fix case value.
43443 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43444 unsigned long long int to avoid warnings in shift.
43446 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43448 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43451 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43452 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43455 * nis/nis_table.c (nis_list): Use variable of correct type for
43456 result of __follow_path call.
43458 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43460 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43461 of math functions ceil, trunc, floor, round, and sqrt, when
43462 avaliable on the platform.
43463 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43466 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43467 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43469 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43471 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43474 2011-11-11 Roland McGrath <roland@hack.frob.com>
43476 * include/unistd.h: Fix __readlink return type.
43477 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43479 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43481 * stdlib/ucontext.h: Undo last change for makecontext.
43483 2011-11-11 Andreas Schwab <schwab@redhat.com>
43485 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43487 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43488 * setjmp/setjmp.h: Mark functions as non-leaf.
43489 * setjmp/bits/setjmp2.h: Likewise.
43490 * stdlib/ucontext.h: Likewise.
43492 2011-11-10 Andreas Schwab <schwab@redhat.com>
43494 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43495 (reused_arena): Don't check arena limit.
43496 (arena_get2): Atomically check arena limit.
43498 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43500 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43501 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43506 2011-11-07 Andreas Schwab <schwab@redhat.com>
43508 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43509 handler when locking.
43511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43512 Fix size of allocated buffer.
43514 2011-11-04 Andreas Schwab <schwab@redhat.com>
43517 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43518 declarations for long double functions.
43519 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43521 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43523 2011-11-03 Andreas Schwab <schwab@redhat.com>
43525 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43528 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43531 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43533 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43535 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43537 * include/alloca.h (stackinfo_alloca_round): Define.
43538 (extend_alloca): Use it.
43539 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43540 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43543 * scripts/check-local-headers.sh: Ignore libaudit.h.
43545 * nscd/Makefile (extra-objs): Make recursively expanded.
43547 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43549 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43552 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43553 * posix/tst-rfc3484-2.c: Likewise.
43554 * posix/tst-rfc3484-3.c: Likewise.
43556 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43558 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43560 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43561 process_vm_writev from libc using GLIBC_2.15 version.
43563 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43565 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43567 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43570 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43573 * nss/getent.c (initgroups_keys): Show error message in case no group
43576 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43577 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43578 __bump_nl_timestamp.
43579 * nscd/connections (nscd_init): When host database is served open
43580 netlink socket and request notification about configuration changes.
43581 (main_loop_poll): Track netlink file descriptor and bump timestamp
43582 in case data becomes available.
43583 (main_loop_epoll): Likewise.
43584 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43585 (database_pers_head): Add extra_data fileds.
43586 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43588 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43591 in6ai data, call __free_in6ai.
43592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43593 Add -DHAVE_NETLINK.
43594 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43595 interface information. Reuse previous data if netlink timestamp
43597 (__bump_nl_timestamp): New function.
43598 (__free_in6ai): New function.
43600 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43603 close_not_cancel_no_status here.
43604 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43606 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43609 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43612 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43613 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43614 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43616 2011-07-03 Andreas Jaeger <aj@suse.de>
43619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43620 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43621 * math/libm-test.inc (sin_test): Add test case.
43623 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43626 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43627 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43629 * elf/chroot_canon.c (chroot_canon): Cleanups.
43631 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43634 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43635 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43637 * string/test-strchr.c: Make usable for strchrnul testing.
43638 * string/test-strchrnul.c: New file.
43639 * string/Makefile (strop-tests): Add strchrnul.
43641 * po/it.po: Update from translation team.
43642 * po/es.po: Likewise.
43644 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43647 the three constants needed as parameters. Drop the others.
43648 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43649 __m128i_strloadu_tolower.
43650 Create and initialize variable zero and use it in all the places
43651 where _mm_setzero_si128 was used.
43653 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43654 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43655 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43656 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43658 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43659 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43660 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43661 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43663 __mpranred, __mptan.
43664 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43665 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43666 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43667 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43668 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43669 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43671 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43674 2011-10-28 Andreas Schwab <schwab@redhat.com>
43676 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43677 redefine if SHARED.
43678 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43681 wide char related routines to wcsmbs subdir.
43683 2011-10-27 Andreas Schwab <schwab@redhat.com>
43686 * misc/sys/cdefs.h (__THROWNL): Define.
43687 * posix/unistd.h: Use __THREADNL instead of __THREAD
43688 for memory synchronization functions.
43690 2011-10-26 Roland McGrath <roland@hack.frob.com>
43693 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43695 * manual/stdio.texi (Obstack Streams): Node removed.
43697 2011-10-26 Andreas Schwab <schwab@redhat.com>
43699 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43703 * math/math_private.h (math_force_eval): Allow non-addressable
43705 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43707 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43710 file is not needed.
43712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43715 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43719 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43721 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43722 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43723 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43724 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43725 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43726 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43727 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43728 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43731 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43732 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43735 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43736 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43738 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43739 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43741 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43742 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43745 place. Use VEX encoding when compiling for AVX.
43747 2011-10-25 Andreas Schwab <schwab@redhat.com>
43749 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43750 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43752 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43754 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43756 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43757 useless if() expression.
43758 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43759 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43768 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43774 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43778 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43780 2011-10-25 Andreas Schwab <schwab@redhat.com>
43782 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43786 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43788 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43789 .text section. Avoid duplicate constants.
43790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43799 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43802 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43803 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43814 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43821 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43823 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43824 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43825 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43828 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43829 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43836 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43838 * sysdeps/x86_64/dla.h: Move to ...
43839 * sysdeps/x86_64/fpu/dla.h: ...here.
43840 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43841 situations. Use __builtin_fma only for gcc 4.6 and up.
43843 * config.make.in: Add have-mfma4 entry.
43844 * configure.in: Substitute libc_cv_cc_fma4.
43845 * math/Makefile (dbl-only-routines): Add sincostab.
43846 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43847 Use __sincostab not sincos.
43848 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43855 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43856 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43857 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43858 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43861 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43863 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43864 define aliases when function name is a macro.
43865 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43866 sysdeps/ieee754/dbl-64/sincos.tbl.
43867 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43868 fma4-enabled routines.
43869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43874 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43875 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43877 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43879 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43881 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43896 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43897 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43900 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43911 2011-10-24 Andreas Schwab <schwab@redhat.com>
43913 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43915 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43919 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43923 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43924 Remove unused variable magic_bits.
43925 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43927 * string/strnlen.c: Define and use STRNLEN macro.
43928 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43929 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43931 * wcsmbs/wcslen.c: Define and use WCSLEN.
43932 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43933 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43934 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43935 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43936 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43937 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43940 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43943 strnlen-sse2-no-bsf.
43944 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43946 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43947 Add strnlen support.
43948 (USE_AS_STRNLEN): New macro.
43949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43951 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43952 * sysdeps/x86_64/wcslen.S: New file.
43954 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43957 XMM-moves are used for copying on small sizes.
43959 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43961 * wcsmbs/Makefile (strop-tests): Add wcschr.
43962 * wcsmbs/test-wcschr.c: New file.
43963 * string/test-strchr.c: Update.
43964 Add wcschr support.
43967 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43969 * wcsmbs/Makefile (strop-tests): Add wcslen.
43970 * wcsmbs/test-wcslen.c: New file.
43971 * string/test-strlen.c: Update.
43972 Add wcslen support.
43975 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43977 * po/it.po: Update from translation team.
43979 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43981 * sysdeps/x86_64/wcscmp.S: Update.
43982 Fix wrong comparison semantics.
43983 wcscmp shall use signed comparison not unsigned.
43984 Don't use substraction to avoid overflow bug.
43985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43986 * wcsmbc/wcscmp.c: Likewise.
43987 * string/test-strcmp.c: Likewise.
43988 Add new tests to check cases with negative values.
43990 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43992 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43993 * sysdeps/x86_64/dla.h: ...here. New file.
43994 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44004 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44007 __ynl_finite aliases.
44009 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44013 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44015 [DLA_FMA] (EMULV): Use DLA_FMA.
44016 [DLA_FMA] (MUL12): Use EMULV.
44017 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44018 that are not needed.
44019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44027 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44029 * math/s_nan.c: Undef __nan.
44030 * math/s_nanf.c: Undef __nanf.
44031 * math/s_nanl.c: Undef __nanl.
44032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44035 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44037 * math/s_catan.c: Add branch predictions.
44038 * math/s_catanf.c: Likewise.
44039 * math/s_catanh.c: Likewise.
44040 * math/s_catanhf.c: Likewise.
44041 * math/s_catanhl.c: Likewise.
44042 * math/s_catanl.c: Likewise.
44043 * math/s_cexp.c: Likewise.
44044 * math/s_cexpf.c: Likewise.
44045 * math/s_cexpl.c: Likewise.
44046 * math/s_clog.c: Likewise.
44047 * math/s_clog10.c: Likewise.
44048 * math/s_clog10f.c: Likewise.
44049 * math/s_clog10l.c: Likewise.
44050 * math/s_clogf.c: Likewise.
44051 * math/s_clogl.c: Likewise.
44052 * math/s_csqrt.c: Likewise.
44053 * math/s_csqrtf.c: Likewise.
44054 * math/s_csqrtl.c: Likewise.
44055 * math/s_ctanf.c: Likewise.
44056 * math/s_ctanh.c: Likewise.
44057 * math/s_ctanhf.c: Likewise.
44058 * math/s_ctanhl.c: Likewise.
44059 * math/s_ctanl.c: Likewise.
44061 * math/math_private.h: Define __nan, __nanf, __nanl.
44062 * math/s_cacosh.c: Include <math_private.h>.
44063 * math/s_cacoshl.c: Likewise.
44064 * math/s_casinh.c: Likewise.
44065 * math/s_casinhf.c: Likewise.
44066 * math/s_casinhl.c: Likewise.
44067 * math/s_ccos.c: Rely entire on ccosh.
44068 * math/s_ccosf.c: Rely entire on ccoshf.
44069 * math/s_ccosl.c: Rely entirely on ccoshl.
44070 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44071 Remove tests for FE_INVALID.
44072 * math/s_ccoshf.c: Likewise.
44073 * math/s_ccoshl.c: Likewise.
44074 * math/s_csin.c: Likewise.
44075 * math/s_csinf.c: Likewise.
44076 * math/s_csinh.c Likewise.
44077 * math/s_csinhf.c: Likewise.
44078 * math/s_csinhl.c: Likewise.
44079 * math/s_csinl.c: Likewise.
44080 * math/s_ctan.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44082 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44085 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44088 compilation problems.
44090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44093 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44095 * sysdeps/i386/configure.in: Test for -mfma4 option.
44096 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44097 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44098 COMMON_CPUID_INDEX_80000001.
44099 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44100 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44101 use it if FMA3 is not supported.
44102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44104 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44107 2011-10-20 Andreas Schwab <schwab@redhat.com>
44110 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44111 it would create a cycle with a link time dependency.
44113 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44115 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44117 * string/Makefile (strop-tests): Add rawmemchr.
44118 * string/test-rawmemchr.c: New file.
44120 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44122 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44123 when compiling str{,n}casecmp and when AVX is available. Hook up
44124 new optimized code in initializers.
44126 2011-10-19 Andreas Schwab <schwab@redhat.com>
44128 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44129 __feraiseexcept instead of feraiseexcept.
44131 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44133 * math/math_private.h: Define defaults for libc_fetestexcept and
44135 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44140 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44141 libc_fetestexcept and libc_feupdateenv.
44143 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44144 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44145 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44146 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44147 libc_feholdexcept_setround.
44149 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44150 Add s_nearbyint-c and s_nearbyintf-c.
44151 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44152 nearbyintf inlines.
44153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44158 * math/math_private.h: Define defaults for libc_fegetround,
44159 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44160 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44161 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44163 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44164 standard functions.
44165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44166 Remove comments and hacks for old compiler versions.
44167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44168 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44169 libc_feholdexceptl.
44171 2011-10-18 Andreas Schwab <schwab@redhat.com>
44173 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44174 (__feraiseexcept_renamed): Add __NTH.
44175 (feraiseexcept): Add __NTH. Rename local variables to fix
44176 namespace violations.
44178 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44182 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44184 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44185 recently added interfaces.
44186 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44188 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44189 about macro parameter expansion.
44191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44192 __NO_MATH_INLINES is defined. Cleanups.
44194 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44195 and __floorf is target has SSE4.1.
44196 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44197 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44198 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44201 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44203 (floorf): Likewise.
44205 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44207 2011-10-17 Andreas Schwab <schwab@redhat.com>
44209 * misc/sys/cdefs.h: Fix last change.
44211 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44214 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44216 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44218 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44222 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44224 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44226 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44227 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44228 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44229 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44230 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44231 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44232 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44233 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44234 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44235 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44237 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44238 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44239 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44242 ceil, ceilf, floor, floorf.
44244 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44245 Perform IRELATIVE relocations last.
44247 * elf/do-rel.h: Add another parameter nrelative, replacing the
44248 local variable with the same name. Change name of the function
44249 to end in Rel or Rela (uppercase).
44250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44251 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44252 elf_dynamic_do_##reloc function.
44254 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44256 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44257 is sufficient, at least on modern CPUs.
44259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44261 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44264 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44266 * math/bits/math-finite.h: Add entries for exp.
44267 * math/e_expl.c: Add __*_finite alias.
44268 * sysdeps/i386/fpu/e_exp.S: Likewise.
44269 * sysdeps/i386/fpu/e_expf.S: Likewise.
44270 * sysdeps/i386/fpu/e_expl.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44272 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44276 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44279 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44280 is sufficient, at least on modern CPUs.
44282 * ctype/ctype-info.c (__ctype_init): Define.
44283 * include/ctype.h (__ctype_init): Declare.
44284 (__ctype_b_loc): The variable is always initialized.
44285 (__ctype_toupper_loc): Likewise.
44286 (__ctype_tolower_loc): Likewise.
44287 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44288 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44290 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44292 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44294 * configure.in: Also look in $cxxmachine/include for C++ system
44297 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44299 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44300 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44301 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44302 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44304 (USE_AS_WMEMCMP): New macro.
44306 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44307 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44308 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44309 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44311 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44312 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44314 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44315 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44317 (USE_AS_WMEMCMP): New macro.
44318 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44319 * sysdeps/string/test-memcmp.c: Update.
44320 Fix simple_wmemcmp.
44322 * wcsmbs/wmemcmp.c: Update.
44323 (WMEMCMP): New macro.
44326 2011-10-12 Andreas Jaeger <aj@suse.de>
44329 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44331 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44333 * libio/iofwide.c (do_length): Avoid warning.
44335 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44337 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44339 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44341 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44342 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44343 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44344 * sysdeps/i386/i686/fpu/e_log.S: New file.
44345 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44346 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44348 * ctype/ctype.h: Add support for inlined isXXX functions when
44349 compiling C++ code.
44351 2011-10-14 Andreas Schwab <schwab@redhat.com>
44353 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44357 2011-10-13 Roland McGrath <roland@hack.frob.com>
44360 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44362 2011-10-13 Andreas Schwab <schwab@redhat.com>
44364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44365 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44368 * sysdeps/x86_64/memrchr.S: Check for zero size.
44370 * string/stratcliff.c: Add memrchr tests.
44372 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44375 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44376 rawmemchr-sse2 rawmemchr-sse2-bsf.
44377 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44378 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44379 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44380 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44381 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44382 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44383 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44384 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44385 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44387 * string/memrchr.c (MEMRCHR): New macro.
44389 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44391 Add integration with gcc's -ffinite-math-only and optimize wrapper
44393 * Versions.def: Define GLIBC_2.15 version for libm.
44394 * math/Makefile (headers): Add bits/math-finite.h.
44395 * math/bits/math-finite.h: New file.
44396 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44397 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44398 * math/e_acoshl.c: Add __*_finite alias.
44399 * math/e_acosl.c: Likewise.
44400 * math/e_asinl.c: Likewise.
44401 * math/e_atan2l.c: Likewise.
44402 * math/e_atanhl.c: Likewise.
44403 * math/e_coshl.c: Likewise.
44404 * math/e_exp10.c: Likewise.
44405 * math/e_exp10f.c: Likewise.
44406 * math/e_exp10l.c: Likewise.
44407 * math/e_exp2l.c: Likewise.
44408 * math/e_fmodl.c: Likewise.
44409 * math/e_gammal_r.c: Likewise.
44410 * math/e_hypotl.c: Likewise.
44411 * math/e_j0l.c: Likewise.
44412 * math/e_j1l.c: Likewise.
44413 * math/e_jnl.c: Likewise.
44414 * math/e_lgammal_r.c: Likewise.
44415 * math/e_log10l.c: Likewise.
44416 * math/e_log2l.c: Likewise.
44417 * math/e_logl.c: Likewise.
44418 * math/e_powl.c: Likewise.
44419 * math/e_sinhl.c: Likewise.
44420 * math/e_sqrtl.c: Likewise.
44421 * math/e_scalb.c: Completely rewritten and optimized.
44422 * math/e_scalbf.c: Likewise.
44423 * math/e_scalbl.c: Likewise.
44424 * math/w_acos.c: Likewise.
44425 * math/w_acosf.c: Likewise.
44426 * math/w_acosl.c: Likewise.
44427 * math/w_acosh.c: Likewise.
44428 * math/w_acoshf.c: Likewise.
44429 * math/w_acoshl.c: Likewise.
44430 * math/w_asin.c: Likewise.
44431 * math/w_asinf.c: Likewise.
44432 * math/w_asinl.c: Likewise.
44433 * math/w_atan2.c: Likewise.
44434 * math/w_atan2f.c: Likewise.
44435 * math/w_atan2l.c: Likewise.
44436 * math/w_atanh.c: Likewise.
44437 * math/w_atanhf.c: Likewise.
44438 * math/w_atanhl.c: Likewise.
44439 * math/w_exp10.c: Likewise.
44440 * math/w_exp10f.c: Likewise.
44441 * math/w_exp10l.c: Likewise.
44442 * math/w_fmod.c: Likewise.
44443 * math/w_fmodf.c: Likewise.
44444 * math/w_fmodl.c: Likewise.
44445 * math/w_j0.c: Likewise.
44446 * math/w_j0f.c: Likewise.
44447 * math/w_j0l.c: Likewise.
44448 * math/w_j1.c: Likewise.
44449 * math/w_j1f.c: Likewise.
44450 * math/w_j1l.c: Likewise.
44451 * math/w_jn.c: Likewise.
44452 * math/w_jnf.c: Likewise.
44453 * math/w_log.c: Likewise.
44454 * math/w_logf.c: Likewise.
44455 * math/w_logl.c: Likewise.
44456 * math/w_log10.c: Likewise.
44457 * math/w_log10f.c: Likewise.
44458 * math/w_log10l.c: Likewise.
44459 * math/w_log2.c: Likewise.
44460 * math/w_log2f.c: Likewise.
44461 * math/w_log2l.c: Likewise.
44462 * math/w_pow.c: Likewise.
44463 * math/w_powf.c: Likewise.
44464 * math/w_powl.c: Likewise.
44465 * math/w_remainder.c: Likewise.
44466 * math/w_remainderf.c: Likewise.
44467 * math/w_remainderl.c: Likewise.
44468 * math/w_scalb.c: Likewise.
44469 * math/w_scalbf.c: Likewise.
44470 * math/w_scalbl.c: Likewise.
44471 * math/w_sqrt.c: Likewise.
44472 * math/w_sqrtf.c: Likewise.
44473 * math/w_sqrtl.c: Likewise.
44474 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44475 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44477 * math/math_private.h: Declare __kernel_standard_f.
44478 * math/w_cosh.c: Remove cruft and optimize a bit.
44479 * math/w_coshf.c: Likewise.
44480 * math/w_coshl.c: Likewise.
44481 * math/w_exp2.c: Likewise.
44482 * math/w_exp2f.c: Likewise.
44483 * math/w_exp2l.c: Likewise.
44484 * math/w_hypot.c: Likewise.
44485 * math/w_hypotf.c: Likewise.
44486 * math/w_hypotl.c: Likewise.
44487 * math/w_lgamma.c: Likewise.
44488 * math/w_lgamma_r.c: Likewise.
44489 * math/w_lgammaf.c: Likewise.
44490 * math/w_lgammaf_r.c: Likewise.
44491 * math/w_lgammal.c: Likewise.
44492 * math/w_lgammal_r.c: Likewise.
44493 * math/w_sinh.c: Likewise.
44494 * math/w_sinhf.c: Likewise.
44495 * math/w_sinhl.c: Likewise.
44496 * math/w_tgamma.c: Likewise.
44497 * math/w_tgammaf.c: Likewise.
44498 * math/w_tgammal.c: Likewise.
44499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44501 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44502 Minor optimizations. Pretty printing. Remove cruft.
44503 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44505 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44507 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44508 * sysdeps/i386/fpu/e_asin.S: Likewise.
44509 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44510 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44511 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44512 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44516 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44517 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44518 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44519 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44520 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44521 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44522 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44523 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44524 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44525 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44526 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44527 * sysdeps/i386/fpu/e_log.S: Likewise.
44528 * sysdeps/i386/fpu/e_log10.S: Likewise.
44529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44531 * sysdeps/i386/fpu/e_log2.S: Likewise.
44532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44533 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44534 * sysdeps/i386/fpu/e_logf.S: Likewise.
44535 * sysdeps/i386/fpu/e_logl.S: Likewise.
44536 * sysdeps/i386/fpu/e_pow.S: Likewise.
44537 * sysdeps/i386/fpu/e_powf.S: Likewise.
44538 * sysdeps/i386/fpu/e_powl.S: Likewise.
44539 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44540 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44541 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44544 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44545 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44546 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44547 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44548 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44561 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44569 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44572 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44573 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44575 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44576 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44586 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44587 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44588 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44589 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44633 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44634 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44636 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44639 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44641 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44642 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44643 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44644 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44645 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44646 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44647 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44648 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44649 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44650 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44651 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44652 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44653 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44656 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44658 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44659 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44660 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44661 (__isnanf): Likewise.
44662 (__isinf_ns): Likewise.
44663 (__isinf_nsf): Likewise.
44664 (__finite): Likewise.
44665 (__finitef): Likewise.
44666 (__ieee754_sqrt): Define as macro.
44667 (__ieee754_sqrtf): Define as macro.
44668 (__ieee754_sqrtl): Define as macro.
44669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44671 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44672 __FINITE_MATH_ONLY__ consistent.
44673 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44675 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44677 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44682 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44684 * po/ja.po: Update from translation team.
44686 2011-10-08 Roland McGrath <roland@hack.frob.com>
44688 * locale/programs/locarchive.c (prepare_address_space): New function.
44689 (create_archive, enlarge_archive, open_archive): Use it.
44691 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44692 inside [SHARED], where it is used.
44694 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44696 * nss/getent.c (netgroup_keys): Remove unused variable.
44697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44699 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44701 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44705 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44706 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44707 * math/Makefile (libm-calls): Add s_isinf_ns.
44708 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44709 * math/multc3.c: Likewise.
44710 * math/s_casin.c: Likewise.
44711 * math/s_casinf.c: Likewise.
44712 * math/s_casinl.c: Likewise.
44713 * math/s_ccos.c: Likewise.
44714 * math/s_ccosf.c: Likewise.
44715 * math/s_ccosl.c: Likewise.
44716 * math/s_ctan.c: Likewise.
44717 * math/s_ctanf.c: Likewise.
44718 * math/s_ctanh.c: Likewise.
44719 * math/s_ctanhf.c: Likewise.
44720 * math/s_ctanhl.c: Likewise.
44721 * math/s_ctanl.c: Likewise.
44722 * math/w_fmod.c: Likewise.
44723 * math/w_fmodf.c: Likewise.
44724 * math/w_fmodl.c: Likewise.
44725 * math/w_remainder.c: Likewise.
44726 * math/w_remainderf.c: Likewise.
44727 * math/w_remainderl.c: Likewise.
44728 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44729 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44732 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44733 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44734 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44735 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44737 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44739 * stdio-common/printf_fphex.c: Likewise.
44740 * stdio-common/printf_size.c: Likewise.
44742 * math/e_exp10.c: Include math_private.h using <...> not "...".
44743 * math/e_exp10f.c: Likewise.
44744 * math/e_exp10l.c: Likewise.
44745 * math/e_exp2l.c: Likewise.
44746 * math/e_j0l.c: Likewise.
44747 * math/e_j1l.c: Likewise.
44748 * math/e_jnl.c: Likewise.
44749 * math/e_lgammal_r.c: Likewise.
44750 * math/e_rem_pio2l.c: Likewise.
44751 * math/e_scalb.c: Likewise.
44752 * math/e_scalbf.c: Likewise.
44753 * math/e_scalbl.c: Likewise.
44754 * math/k_cosl.c: Likewise.
44755 * math/k_sinl.c: Likewise.
44756 * math/k_tanl.c: Likewise.
44757 * math/s_cacoshf.c: Likewise.
44758 * math/s_catan.c: Likewise.
44759 * math/s_catanf.c: Likewise.
44760 * math/s_catanh.c: Likewise.
44761 * math/s_catanhf.c: Likewise.
44762 * math/s_catanhl.c: Likewise.
44763 * math/s_catanl.c: Likewise.
44764 * math/s_ccosh.c: Likewise.
44765 * math/s_ccoshf.c: Likewise.
44766 * math/s_ccoshl.c: Likewise.
44767 * math/s_cexp.c: Likewise.
44768 * math/s_cexpf.c: Likewise.
44769 * math/s_cexpl.c: Likewise.
44770 * math/s_clog.c: Likewise.
44771 * math/s_clog10.c: Likewise.
44772 * math/s_clog10f.c: Likewise.
44773 * math/s_clog10l.c: Likewise.
44774 * math/s_clogf.c: Likewise.
44775 * math/s_clogl.c: Likewise.
44776 * math/s_csin.c: Likewise.
44777 * math/s_csinf.c: Likewise.
44778 * math/s_csinh.c: Likewise.
44779 * math/s_csinhf.c: Likewise.
44780 * math/s_csinhl.c: Likewise.
44781 * math/s_csinl.c: Likewise.
44782 * math/s_csqrt.c: Likewise.
44783 * math/s_csqrtf.c: Likewise.
44784 * math/s_csqrtl.c: Likewise.
44785 * math/s_ctan.c: Likewise.
44786 * math/s_ctanf.c: Likewise.
44787 * math/s_ctanh.c: Likewise.
44788 * math/s_ctanhf.c: Likewise.
44789 * math/s_ctanhl.c: Likewise.
44790 * math/s_ctanl.c: Likewise.
44791 * math/s_ldexp.c: Likewise.
44792 * math/s_ldexpf.c: Likewise.
44793 * math/s_ldexpl.c: Likewise.
44794 * math/s_significand.c: Likewise.
44795 * math/s_significandf.c: Likewise.
44796 * math/s_significandl.c: Likewise.
44797 * math/w_acos.c: Likewise.
44798 * math/w_acosf.c: Likewise.
44799 * math/w_acosh.c: Likewise.
44800 * math/w_acoshf.c: Likewise.
44801 * math/w_acoshl.c: Likewise.
44802 * math/w_acosl.c: Likewise.
44803 * math/w_asin.c: Likewise.
44804 * math/w_asinf.c: Likewise.
44805 * math/w_asinl.c: Likewise.
44806 * math/w_atan2.c: Likewise.
44807 * math/w_atan2f.c: Likewise.
44808 * math/w_atan2l.c: Likewise.
44809 * math/w_atanh.c: Likewise.
44810 * math/w_atanhf.c: Likewise.
44811 * math/w_atanhl.c: Likewise.
44812 * math/w_cosh.c: Likewise.
44813 * math/w_coshf.c: Likewise.
44814 * math/w_coshl.c: Likewise.
44815 * math/w_dremf.c: Likewise.
44816 * math/w_exp10.c: Likewise.
44817 * math/w_exp10f.c: Likewise.
44818 * math/w_exp10l.c: Likewise.
44819 * math/w_exp2.c: Likewise.
44820 * math/w_exp2f.c: Likewise.
44821 * math/w_fmod.c: Likewise.
44822 * math/w_fmodf.c: Likewise.
44823 * math/w_fmodl.c: Likewise.
44824 * math/w_hypot.c: Likewise.
44825 * math/w_hypotf.c: Likewise.
44826 * math/w_hypotl.c: Likewise.
44827 * math/w_j0.c: Likewise.
44828 * math/w_j0f.c: Likewise.
44829 * math/w_j0l.c: Likewise.
44830 * math/w_j1.c: Likewise.
44831 * math/w_j1f.c: Likewise.
44832 * math/w_j1l.c: Likewise.
44833 * math/w_jn.c: Likewise.
44834 * math/w_jnf.c: Likewise.
44835 * math/w_jnl.c: Likewise.
44836 * math/w_lgamma.c: Likewise.
44837 * math/w_lgamma_r.c: Likewise.
44838 * math/w_lgammaf.c: Likewise.
44839 * math/w_lgammaf_r.c: Likewise.
44840 * math/w_lgammal.c: Likewise.
44841 * math/w_lgammal_r.c: Likewise.
44842 * math/w_log.c: Likewise.
44843 * math/w_log10.c: Likewise.
44844 * math/w_log10f.c: Likewise.
44845 * math/w_log10l.c: Likewise.
44846 * math/w_log2.c: Likewise.
44847 * math/w_log2f.c: Likewise.
44848 * math/w_log2l.c: Likewise.
44849 * math/w_logf.c: Likewise.
44850 * math/w_logl.c: Likewise.
44851 * math/w_pow.c: Likewise.
44852 * math/w_powf.c: Likewise.
44853 * math/w_powl.c: Likewise.
44854 * math/w_remainder.c: Likewise.
44855 * math/w_remainderf.c: Likewise.
44856 * math/w_remainderl.c: Likewise.
44857 * math/w_scalb.c: Likewise.
44858 * math/w_scalbf.c: Likewise.
44859 * math/w_scalbl.c: Likewise.
44860 * math/w_sinh.c: Likewise.
44861 * math/w_sinhf.c: Likewise.
44862 * math/w_sinhl.c: Likewise.
44863 * math/w_sqrt.c: Likewise.
44864 * math/w_sqrtf.c: Likewise.
44865 * math/w_sqrtl.c: Likewise.
44866 * math/w_tgamma.c: Likewise.
44867 * math/w_tgammaf.c: Likewise.
44868 * math/w_tgammal.c: Likewise.
44870 * po/ja.po: Update from translation team.
44872 2011-09-29 Andreas Jaeger <aj@suse.de>
44875 * sunrpc/netname.c (netname2host): Fix logic.
44879 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44881 * math/w_remainder.c (__remainder): Likewise.
44882 * math/w_remainderf.c (__remainderf): Likewise.
44883 * math/libm-test.inc (remainder_test): Add test cases.
44885 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44887 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44890 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44892 * string/test-memcmp.c: Avoid unncessary #defines.
44893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44895 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44897 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44898 Use new sse2 version for core i3 - i7 as it's faster
44899 than sse42 version.
44900 (bit_Prefer_PMINUB_for_stringop): New.
44901 * sysdeps/x86_64/rawmemchr.S: Update.
44902 Replace with faster SSE2 version.
44903 * sysdeps/x86_64/memrchr.S: New file.
44904 * sysdeps/x86_64/memchr.S: Update.
44905 Replace with faster SSE2 version.
44907 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44909 * elf/dl-load.c (lose): Add cast to avoid warning.
44911 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44913 * po/ca.po: Update from translation team.
44915 * inet/getnetgrent_r.c: Hook up nscd.
44916 * nscd/Makefile (routines): Add nscd_netgroup.
44917 (nscd-modules): Add netgroupcache.
44918 (CFLAGS-netgroupcache.c): Define.
44919 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44920 (cache_search): Add const to second parameter.
44921 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44923 (dbs): Add netgrdb entry.
44924 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44925 (verify_persistent_db): Handle netgrdb.
44926 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44927 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44929 (netgroup_response_header): Define.
44930 (innetgroup_response_header): Define.
44931 (datahead): Add netgroup_response_header and innetgroup_response_header
44933 * nscd/nscd.conf: Add entries for netgroup cache.
44934 * nscd/nscd.h (dbtype): Add netgrdb.
44935 (_PATH_NSCD_NETGROUP_DB): Define.
44936 (netgroup_iov_disabled): Declare.
44937 (xmalloc, xcalloc, xrealloc): Move declarations here.
44938 (cache_search): Adjust prototype.
44939 Add netgroup-related prototypes.
44940 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44941 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44942 (__nscd_innetgr): Declare.
44943 * nscd/selinux.c (perms): Use access_vector_t as element type and
44944 add netgroup-related initializers.
44945 * nscd/netgroupcache.c: New file.
44946 * nscd/nscd_netgroup.c: New file.
44947 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44948 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44949 For four parameters use innetgr.
44950 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44951 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44952 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44953 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44955 * nscd/connections.c (register_traced_file): Don't register file
44956 for disabled databases.
44958 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44960 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44962 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44963 from tree and freeing node.
44965 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44967 * nss/nsswitch.c (__nss_database_lookup): Handle
44968 nss_parse_service_list out of memory case.
44970 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44972 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44973 out of memory case.
44975 2011-10-04 Andreas Schwab <schwab@redhat.com>
44977 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44978 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44980 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44981 elf_machine_rela, elf_machine_lazy_rel.
44982 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44983 (ELF_DYNAMIC_DO_REL): Likewise.
44984 (ELF_DYNAMIC_DO_RELA): Likewise.
44985 (ELF_DYNAMIC_RELOCATE): Likewise.
44986 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44987 to ELF_DYNAMIC_DO_REL.
44988 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44989 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44990 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44993 skip_ifunc, don't call ifunc function if non-zero.
44994 (elf_machine_rela): Likewise.
44995 (elf_machine_lazy_rel): Likewise.
44996 (elf_machine_lazy_rela): Likewise.
44997 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44998 (elf_machine_lazy_rel): Likewise.
44999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45001 (elf_machine_lazy_rel): Likewise.
45002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45004 (elf_machine_lazy_rel): Likewise.
45005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45006 (elf_machine_lazy_rel): Likewise.
45007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45008 (elf_machine_lazy_rel): Likewise.
45009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45010 (elf_machine_lazy_rel): Likewise.
45011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45012 (elf_machine_lazy_rel): Likewise.
45013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45014 (elf_machine_lazy_rel): Likewise.
45015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45016 (elf_machine_lazy_rel): Likewise.
45018 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45020 * nss/nss_files/files-init.c (_nss_files_init): Use static
45021 initialization for all the *_traced_file variables.
45023 2011-09-28 Andreas Schwab <schwab@redhat.com>
45025 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45027 2011-09-27 Roland McGrath <roland@hack.frob.com>
45030 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45032 2011-09-27 Andreas Schwab <schwab@redhat.com>
45034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45035 Reread the line before reparsing it.
45037 2011-09-26 Andreas Schwab <schwab@redhat.com>
45039 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45041 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45042 Maxim Kuvyrkov <maxim@codesourcery.com>
45043 Joseph Myers <joseph@codesourcery.com>
45045 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45046 if needed for __stack_chk_guard.
45048 2011-09-19 Roland McGrath <roland@hack.frob.com>
45050 * sysdeps/posix/spawni.c (script_execute): Always define it.
45051 It will be optimized away if unused.
45052 (maybe_script_execute): New function.
45053 (__spawni): Call it.
45055 * Makerules: Don't include tls.make.
45056 (config-tls): Always set to thread.
45057 * tls.make.c: File removed.
45059 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45061 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45062 * config.make.in (CPPFLAGS-config): New substituted variable.
45064 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45069 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45070 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45072 2011-09-15 Roland McGrath <roland@hack.frob.com>
45074 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45075 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45077 (CALL_FAIL): Likewise.
45078 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45079 (CALL_FAIL): Macro removed.
45080 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45082 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45085 for __FINITE_MATH_ONLY__ == 1.
45087 2011-09-15 Andreas Schwab <schwab@redhat.com>
45089 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45090 __ieee754_sqrt instead of sqrt.
45091 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45092 __ieee754_sqrtf instead of sqrtf.
45093 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45094 __floorf instead of floorf.
45095 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45096 __floorf, __truncf instead of floorf, truncf.
45098 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45100 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45102 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45103 __extern_always_inline.
45104 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45107 2011-09-14 Andreas Schwab <schwab@redhat.com>
45109 * elf/rtld.c (dl_main): Also relocate in dependency order when
45110 doing symbol dependency testing.
45112 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45115 Always define `refsym'.
45117 2011-09-13 Andreas Schwab <schwab@redhat.com>
45119 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45120 (__FD_ELT): Renamed from __FDELT.
45121 * misc/bits/select2.h (__FD_ELT): Likewise.
45122 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45123 __FD_MASK instead of __FDELT, __FDMASK.
45124 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45126 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45129 * elf/Makefile (gen-ldd): Fix pattern.
45131 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45132 (init_tls): Likewise.
45134 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45138 2011-09-12 Andreas Schwab <schwab@redhat.com>
45140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45141 `struct cmsghdr *' instead of `void *'.
45142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45145 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45147 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45149 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45150 ldd_rewrite_script.
45152 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45154 * configure.in: Remove --with-tls option.
45155 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45156 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45157 out in case it is missing.
45158 * sysdeps/ia64/elf/configure.in: Likewise.
45159 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45160 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45161 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45162 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45163 * sysdeps/sh/elf/configure.in: Likewise.
45164 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45166 * sysdeps/x86_64/elf/configure.in: Likewise.
45167 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45168 * sysdeps/mach/hurd/tls.h: Likewise.
45171 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45174 * configure.in: Fix use of AC_INIT.
45176 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45178 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45180 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45182 * malloc/hooks.c: Likewise.
45185 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45186 variables statically.
45187 (narenas): Initialize.
45188 (list_lock): Initialize.
45189 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45190 initializtion of main_arena and list_lock. Small cleanups.
45191 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45192 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45193 Add initializers to main_arena and mp_.
45194 (malloc_state): Remove pagesize member. Change all users to use
45197 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45198 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45199 is always initialized.
45201 * malloc/malloc.c: Removed unused configurations and dead code.
45202 * malloc/arena.c: Likewise.
45203 * malloc/hooks.c: Likewise.
45204 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45206 * include/tls.h: Removed. USE___THREAD must always be defined.
45207 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45208 * elf/dl-libc.c: Likewise.
45209 * elf/dl-tsd.c: Likewise.
45210 * include/errno.h: Likewise.
45211 * include/netdb.h: Likewise.
45212 * include/resolv.h: Likewise.
45213 * inet/herrno-loc.c: Likewise.
45214 * inet/herrno.c: Likewise.
45215 * malloc/arena.c: Likewise.
45216 * malloc/hooks.c: Likewise.
45217 * malloc/malloc.c: Likewise.
45218 * resolv/res-state.c: Likewise.
45219 * resolv/res_libc.c: Likewise.
45220 * sysdeps/i386/dl-machine.h: Likewise.
45221 * sysdeps/ia64/dl-machine.h: Likewise.
45222 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45223 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45224 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45225 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45226 * sysdeps/sh/dl-machine.h: Likewise.
45227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45228 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45229 * sysdeps/unix/i386/sysdep.S: Likewise.
45230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45231 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45236 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45241 * sysdeps/x86_64/dl-machine.h: Likewise.
45242 * tls.make.c: Likewise.
45244 * configure.in: Remove --with-__thread option. Make tests for
45245 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45246 tls_model attribute fail if no support is available. Remove
45248 * Makeconfig: Adjust for dropped configure option. All features are
45250 * Makerules: Likewise.
45251 * Versions.def: Likewise.
45252 * argp/argp-fmtstream.c: Likewise.
45253 * argp/argp-fmtstream.h: Likewise.
45254 * argp/argp-help.c: Likewise.
45255 * assert/assert.c: Likewise.
45256 * config.h.in: Likewise.
45257 * config.make.in: Likewise.
45258 * configure: Likewise.
45259 * configure.in: Likewise.
45260 * csu/Versions: Likewise.
45261 * csu/init.c: Likewise.
45262 * elf/tst-audit2.c: Likewise.
45263 * elf/tst-tls10.c: Likewise.
45264 * elf/tst-tls10.h: Likewise.
45265 * elf/tst-tls11.c: Likewise.
45266 * elf/tst-tls12.c: Likewise.
45267 * elf/tst-tls14.c: Likewise.
45268 * elf/tst-tlsmod11.c: Likewise.
45269 * elf/tst-tlsmod12.c: Likewise.
45270 * elf/tst-tlsmod13.c: Likewise.
45271 * elf/tst-tlsmod13a.c: Likewise.
45272 * elf/tst-tlsmod14a.c: Likewise.
45273 * elf/tst-tlsmod15b.c: Likewise.
45274 * elf/tst-tlsmod16a.c: Likewise.
45275 * elf/tst-tlsmod16b.c: Likewise.
45276 * elf/tst-tlsmod7.c: Likewise.
45277 * elf/tst-tlsmod8.c: Likewise.
45278 * elf/tst-tlsmod9.c: Likewise.
45279 * gmon/gmon.c: Likewise.
45280 * grp/fgetgrent_r.c: Likewise.
45281 * grp/putgrent.c: Likewise.
45282 * hurd/fopenport.c: Likewise.
45283 * include/libc-symbols.h: Likewise.
45284 * include/tls.h: Likewise.
45285 * intl/gettextP.h: Likewise.
45286 * intl/loadinfo.h: Likewise.
45287 * locale/global-locale.c: Likewise.
45288 * locale/localeinfo.h: Likewise.
45289 * mach/devstream.c: Likewise.
45290 * malloc/arena.c: Likewise.
45291 * malloc/set-freeres.c: Likewise.
45292 * misc/err.c: Likewise.
45293 * misc/getttyent.c: Likewise.
45294 * misc/mntent_r.c: Likewise.
45295 * posix/getopt.c: Likewise.
45296 * posix/wordexp.c: Likewise.
45297 * pwd/fgetpwent_r.c: Likewise.
45298 * resolv/Versions: Likewise.
45299 * resolv/res_hconf.c: Likewise.
45300 * shadow/fgetspent_r.c: Likewise.
45301 * shadow/putspent.c: Likewise.
45302 * stdio-common/printf_fphex.c: Likewise.
45303 * stdio-common/tmpfile.c: Likewise.
45304 * stdlib/abort.c: Likewise.
45305 * stdlib/fmtmsg.c: Likewise.
45306 * sunrpc/auth_unix.c: Likewise.
45307 * sunrpc/clnt_perr.c: Likewise.
45308 * sunrpc/clnt_tcp.c: Likewise.
45309 * sunrpc/clnt_udp.c: Likewise.
45310 * sunrpc/clnt_unix.c: Likewise.
45311 * sunrpc/openchild.c: Likewise.
45312 * sunrpc/svc_simple.c: Likewise.
45313 * sunrpc/svc_tcp.c: Likewise.
45314 * sunrpc/svc_udp.c: Likewise.
45315 * sunrpc/svc_unix.c: Likewise.
45316 * sunrpc/xdr.c: Likewise.
45317 * sunrpc/xdr_array.c: Likewise.
45318 * sunrpc/xdr_rec.c: Likewise.
45319 * sunrpc/xdr_ref.c: Likewise.
45320 * sunrpc/xdr_stdio.c: Likewise.
45322 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45324 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45326 2011-07-03 Andreas Jaeger <aj@suse.de>
45328 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45329 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45330 regenerate with gen-libm-tests.pl.
45332 2010-05-12 Petr Baudis <pasky@suse.cz>
45335 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45336 around j0() zero points by switching to j1().
45337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45342 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45344 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45349 Patch in part by Pavel Roskin <proski@gnu.org>.
45352 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45354 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45355 Free memory block if necessary.
45358 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45359 be NULL. Don't lock in this case.
45361 2011-09-09 Roland McGrath <roland@hack.frob.com>
45363 * elf/elf.h (ELFOSABI_GNU): New macro.
45364 (ELFOSABI_LINUX): Define to that.
45366 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45368 * string/strncat.c (strncat): Undef the symbol in case it has been
45369 defined in bits/string.h.
45371 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45373 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45378 2011-08-17 Andreas Jaeger <aj@suse.de>
45380 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45382 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45383 Ian Lance Taylor <iant@google.com>
45385 * math/libm-test.inc (lround_test): New testcase.
45386 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45388 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45390 * Makefile: Remove support for automatic cvs check-ins.
45391 * Makerules: Likewise.
45392 * config.make.in: Likewise.
45393 * configure.in: Likewise.
45394 * intl/Makefile: Likewise.
45395 * locale/Makefile: Likewise.
45396 * po/Makefile: Likewise.
45397 * posix/Makefile: Likewise.
45398 * sysdeps/gnu/Makefile: Likewise.
45399 * sysdeps/mach/hurd/Makefile: Likewise.
45400 * sysdeps/sparc/sparc32/Makefile: Likewise.
45403 * posix/Makefile (bug-regex32-ENV): Define.
45404 Patch by John Stanley <jpsinthemix@verizon.net>.
45406 * misc/Makefile (headers): Add bits/select2.h.
45407 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45408 * misc/bits/select2.h: New file.
45409 * include/bits/select2.h: New file.
45410 * debug/Makefile (routines): Add fdelt_chk.
45411 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45412 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45414 * debug/fdelt_chk.c: New file.
45416 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45417 * wcsmbs/test-wmemcmp.c: Likewise.
45418 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45419 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45421 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45423 * string/Makefile (strop-tests): Add memcmp.
45424 * string/test-wmemcmp.c: New file.
45425 * string/test-memcmp.c: Add wmemcmp support.
45427 2011-09-08 Roland McGrath <roland@hack.frob.com>
45430 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45433 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45434 garbage value in a __mach_port_mod_refs call in the cases of the
45435 task-self and thread-self ports.
45437 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45439 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45441 2011-09-08 Andreas Schwab <schwab@redhat.com>
45443 * elf/dl-load.c (lose): Check for non-null L.
45445 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45447 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45449 * elf/dl-libc.c (dlerror_run): Pass back error code from
45453 * elf/dl-load.c (lose): Free l_origin if it is valid.
45455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45461 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45462 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45464 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45466 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45467 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45468 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45470 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45471 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45472 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45473 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45474 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45475 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45477 2011-08-15 Alan Modra <amodra@gmail.com>
45480 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45481 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45482 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45483 ppc_mcount to static-only-routines.
45484 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45486 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45487 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45489 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45492 for finite and infinity parameters.
45494 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45497 and add nop instructions for throughput optimization.
45498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45500 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45503 aligned copy for power7 with vector-scalar instructions.
45504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45506 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45511 2011-09-07 Andreas Schwab <schwab@redhat.com>
45514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45517 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45519 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45520 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45521 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45528 Forgot to demangle the pointer.
45530 * sysdeps/i386/sysdep.h: Define atom_text_section.
45531 * sysdeps/x86_64/sysdep.h: Likewise.
45532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45533 section with atom_text_section.
45534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45542 already be defined. Change to take two parameters and don't assign
45543 result to variable. Adjust all users.
45544 Define INTERNAL_GETTIME if not already defined.
45545 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45548 HAVE_CLOCK_GETTIME_VSYSCALL.
45549 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45552 gettimeofday vsyscall, just use time.
45554 2011-09-06 Andreas Schwab <schwab@redhat.com>
45556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45559 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45561 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45565 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45567 syscall if possible.
45569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45571 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45572 e_ident. Don't pass to find_mapsXX.
45573 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45575 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45578 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45579 * sysdeps/x86_64/multiarch/strchr.S: Update.
45580 Check bit_slow_BSF bit.
45581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45585 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45588 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45590 (tryshell): Define.
45591 (__spawni): Change last parameter to be flag. Test
45592 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45593 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45594 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45595 * posix/spawni.c: Likewise.
45596 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45597 * posix/spawnp.c: Likewise. Change normal version to use
45598 SPAWN_XFLAGS_USE_PATH.
45599 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45600 SPAWN_XFLAGS_TRY_SHELL.
45603 * posix/glob.h: Remove gcc 1.x support.
45606 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45608 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45611 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45613 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45614 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45616 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45620 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45622 * sysdeps/x86_64/wcscmp.S: New file.
45624 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45625 wcscmp-c wcscmp-sse2
45626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45627 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45629 * wcsmbs/wcscmp.c: Allow renaming.
45631 2011-09-05 David S. Miller <davem@davemloft.net>
45633 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45634 stack slot, rather than the struct return pointer slot.
45635 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45636 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45642 * po/ja.po: Update from translation team.
45645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45646 kernel in 64-bit binaries.
45648 2011-09-01 David S. Miller <davem@davemloft.net>
45650 * elf/elf.h (HWCAP_SPARC_*): Move to..
45651 * sysdeps/sparc/sysdep.h: this new file and add new values.
45652 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45653 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45654 _DL_HWCAP_COUNT to 24.
45655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45657 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45658 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45659 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45661 instead of magic constants.
45662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45664 2011-08-31 David S. Miller <davem@davemloft.net>
45666 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45668 Reimplement to do errno handling inline.
45669 (SYSCALL_ERROR_HANDLER): New macro.
45670 (__SYSCALL_STRING): Do not do errno handling in asm.
45671 (__CLONE_SYSCALL_STRING): Delete.
45672 (__INTERNAL_SYSCALL_STRING): Delete.
45673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45674 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45675 (PSEUDO): Reimplement to do errno handling inline.
45676 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45677 (SYSCALL_ERROR_HANDLER): New macro.
45678 (__SYSCALL_STRING): Do not do errno handling in asm.
45679 (__CLONE_SYSCALL_STRING): Delete.
45680 (__INTERNAL_SYSCALL_STRING): Delete.
45681 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45682 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45684 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45685 (inline_syscall*): Add 'err' argument.
45686 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45687 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45688 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45689 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45691 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45694 2011-08-30 Andreas Schwab <schwab@redhat.com>
45696 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45698 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45700 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45703 2011-08-24 David S. Miller <davem@davemloft.net>
45705 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45707 2011-08-24 Andreas Schwab <schwab@redhat.com>
45709 * elf/Makefile: Add rules to build and run unload8 test.
45710 * elf/unload8.c: New file.
45711 * elf/unload8mod1.c: New file.
45712 * elf/unload8mod1x.c: New file.
45713 * elf/unload8mod2.c: New file.
45714 * elf/unload8mod3.c: New file.
45716 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45719 2011-08-23 David S. Miller <davem@davemloft.net>
45721 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45722 subtract stack bias.
45723 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45724 %sp not %fp in calculations.
45725 (_JMPBUF_UNWINDS_ADJ): Likewise.
45727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45728 (aio_suspend): Call it to force an exception region around the
45729 AIO_MISC_WAIT() invocation.
45731 2011-08-23 Andreas Schwab <schwab@redhat.com>
45733 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45736 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45738 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45740 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45741 and <dl-machine.h>.
45742 (Elf64_FuncDesc): Remove.
45744 2011-08-22 David S. Miller <davem@davemloft.net>
45746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45747 sigaltstack check, add missing cfi directives.
45748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45749 missing cfi directives, and sigaltstack handling.
45751 2011-08-16 Andreas Schwab <schwab@redhat.com>
45754 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45755 object is seen twice.
45756 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45758 * elf/Makefile (distribute): Add tst-initorder2.c.
45759 (tests): Add tst-initorder2.
45760 (modules-names): Add tst-initorder2a tst-initorder2b
45761 tst-initorder2c tst-initorder2d. Add rules to build them.
45762 ($(objpfx)tst-initorder2.out): New rule.
45763 * elf/tst-initorder2.c: New file.
45764 * elf/tst-initorder2.exp: New file.
45766 2011-08-22 Andreas Schwab <schwab@redhat.com>
45768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45770 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45771 dependencies back to end of function.
45773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45774 $(elfobjdir)/ld.so.
45776 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45779 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45781 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45782 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45783 of __vdso_gettimeofday.
45784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45785 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45787 (_libc_vdso_platform_setup): Remove initialization of
45788 __vdso_gettimeofday and __vdso_time.
45790 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45792 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45793 and fgetc_unlocked.
45794 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45797 * elf/dl-open.c (add_to_global): Report additions to the global scope
45798 for LD_DEBUG=scopes.
45799 (dl_open_worker): Also print scope of newly loaded dependencies.
45800 (_dl_show_scope): Indicate if there is no scope.
45803 * stdio-common/Makefile (tests): Add bug24.
45804 * stdio-common/bug24.c: New file.
45806 2011-08-19 Andreas Jaeger <aj@suse.de>
45809 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45810 non-existant file when using close-on-exec mode.
45812 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45815 the very first instruction.
45817 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45818 the CFI state in the end.
45819 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45820 inclusion of dl-trampoline.h.
45821 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45823 2011-08-19 Andreas Schwab <schwab@redhat.com>
45825 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45826 expectations for long double.
45828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45829 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45831 2011-08-14 David S. Miller <davem@davemloft.net>
45833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45834 artificual limit depends upon the system page size.
45836 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45838 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45839 * resolv/Makefile: Define CFLAGS-libresolv.
45841 2011-08-17 Andreas Schwab <schwab@redhat.com>
45843 * nss/makedb.c (compute_tables): Make variables used in nested
45846 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45848 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45849 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45850 if buffer was too small.
45852 * elf/pldd.c (main): Attach to all threads in the process.
45853 Rewrite /proc handling to use *at functions.
45855 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45857 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45858 specifies first scope to show.
45859 (dl_open_worker): Update callers. Move printing scope of new
45860 object to before the relocation.
45861 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45862 * sysdeps/generic/ldsodefs.h: Update declaration.
45864 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45865 string for the scope number.
45867 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45869 * nscd/servicescache.c (cache_addserv): Make sure written is always
45872 2011-08-14 Roland McGrath <roland@hack.frob.com>
45874 * sysdeps/i386/i486/bits/atomic.h
45875 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45876 statement expression, so as to suppress "set but not used" warning.
45877 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45879 * string/strncat.c (STRNCAT): Use prototype definition.
45881 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45882 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45884 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45885 (localedef-modules): Add localedef.
45886 (locale-modules): Add locale.
45888 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45889 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45890 to avoid a warning.
45892 2011-08-14 David S. Miller <davem@davemloft.net>
45894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45895 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45897 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45899 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45900 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45901 * elf/rtld.c (dl_main): Set l_name of vDSO.
45902 Call _dl_show_scope when DL_DEBUG_SCOPES.
45903 (process_dl_debug): Recognize scopes flag and also set it for all.
45904 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45905 Declare _dl_show_scope.
45907 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45908 (do_dlopen): Pass caller_dlopen to dl_open.
45909 (__libc_dlopen_mode): Initialize caller_dlopen.
45911 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45912 of libc. Make tolower call locale-independent. Optimize a bit by
45913 using isdigit instead of isalnum.
45914 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45916 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45918 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45919 was a dependency or dynamically loaded.
45921 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45923 * intl/l10nflist.c: Allow architecture-specific pop function.
45924 * sysdeps/x86_64/l10nflist.c: New file.
45926 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45929 2011-08-10 Andreas Schwab <schwab@redhat.com>
45931 * include/dirent.h: Add libc_hidden_proto for scandirat and
45932 scandirat64. Don't declare __scandirat64.
45933 * dirent/scandirat.c: Add libc_hidden_def.
45934 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45935 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45937 2011-08-10 David S. Miller <davem@davemloft.net>
45939 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45945 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45947 * Versions.def [libc]: Add GLIBC_2.15.
45948 * dirent/Makefile (routines): Add scandirat and scandirat64.
45949 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45951 * dirent/dirent.h: Declare scandirat and scandirat64.
45952 * dirent/scandirat.c: New file.
45953 * dirent/scandirat64.c: New file.
45954 * sysdeps/wordsize-64/scandirat.c: New file.
45955 * sysdeps/wordsize-64/scandirat64.c: New file.
45956 * dirent/opendir.c: Define opendirat.
45957 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45959 * dirent/scandir64.c: Adjust for scandir.c change.
45960 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45961 __scandirat64, and __scandir_cancel_handler.
45962 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45963 additional parameter and use openat instead of open (outside of ld.so).
45964 Add new __opendir as wrapper around __opendirat.
45965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45966 here without requiring old scandirat implementation.
45968 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45970 * dirent/scandir.c (cancel_handler): Renamed to
45971 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45972 defined. Adjust users.
45973 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45976 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45978 * string/test-string.h (IMPL): Use __STRING to expand name and then
45981 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45984 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45986 * string/Makefile: Update.
45987 (strop-tests): Append strncat.
45988 * string/test-wcscmp.c: New file.
45989 New comprehensive test for wcscmp.
45990 * string/test-strcmp.c: Update.
45991 (WIDE): New define.
45993 2011-07-22 Andreas Schwab <schwab@redhat.com>
45995 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45998 2011-07-26 Andreas Schwab <schwab@redhat.com>
46000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46001 encoding to ACE if AI_IDN.
46003 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46006 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46008 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46011 Fix overflow bug in strncat.
46012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46014 * string/test-strncat.c: Update.
46015 Add new tests for checking overflow bugs.
46017 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46020 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46021 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46022 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46024 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46025 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46026 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46027 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46030 (USE_AS_STRCAT): Define.
46031 Add strcat and strncat support.
46032 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46034 2011-07-25 Andreas Schwab <schwab@redhat.com>
46036 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46037 __n bigger than INT_MAX+1.
46038 (__strncmp_g): Likewise.
46040 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46042 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46043 * libio/stido.h: Likewise.
46045 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46050 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46057 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46062 (_dl_x86_64_save_sse): Likewise.
46064 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46068 (_dl_x86_64_save_sse): Likewise.
46070 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46072 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46074 2011-07-21 Andreas Schwab <schwab@redhat.com>
46076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46078 (_dl_x86_64_save_sse): Use correct AVX check.
46080 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46083 bug in strncpy/strncat.
46084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46086 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46088 * string/tester.c (test_strcat): Add tests for different alignments
46089 of source and destination.
46090 (test_strncat): Likewise.
46092 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46095 * posix/glob.c (glob): Check passed in values before using them in
46096 expressions to avoid some overflows.
46097 (glob_in_dir): Likewise.
46100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46101 check for AVX enablement so that we don't crash with old kernels and
46103 * elf/tst-audit4.c: Add same checks here.
46104 * elf/tst-audit6.c: Likewise.
46106 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46108 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46110 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46112 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46114 * po/cs.po: Update from translation team.
46115 * po/bg.po: Likewise.
46117 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46119 * misc/sys/cdefs.h: Add support for const attribute.
46120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46121 to gnu_dev_{major,minor,makedev} functions.
46123 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46125 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46127 2011-07-20 Andreas Schwab <schwab@redhat.com>
46129 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46132 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46135 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46136 register in order to avoid conflicts with the soft frame pointer
46137 being held in r11 when necessary.
46138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46139 (INTERNAL_VSYSCALL_NCS): Likewise.
46141 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46143 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46144 * elf/dl-fini.c (_dl_fini): Adjust caller.
46145 * elf/dl-close.c (_dl_close_worker): Likewise.
46146 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46148 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46150 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46151 "aux_cache->nlibs < 0".
46153 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46154 in the reload-count case.
46156 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46159 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46160 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46161 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46162 * sysdeps/x86_64/multiarch/strcat.S: New file.
46163 * sysdeps/x86_64/multiarch/strncat.S: New file.
46164 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46166 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46167 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46169 (USE_AS_STRCAT): Define.
46170 Add strcat and strncat support.
46171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46173 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46174 * string/strncat.c: Update.
46175 (USE_AS_STRNCAT): Define.
46176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46177 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46179 * sysdeps/x86_64/multiarch/init-arch.h
46180 (bit_Prefer_PMINUB_for_stringop): New.
46181 (index_Prefer_PMINUB_for_stringop): Likewise.
46182 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46183 bit_Prefer_PMINUB_for_stringop.
46185 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46187 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46189 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46190 of casting of buffer.
46191 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46192 buffer32 and buffer64.
46193 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46194 writes instead of casting of buffer.
46195 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46197 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46200 2011-07-19 Andreas Schwab <schwab@redhat.com>
46202 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46204 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46206 * nscd/nscd.c (termination_handler): Don't do anything for a database
46207 if it has not yet been initialized.
46209 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46211 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46213 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46215 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46217 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46219 * po/nl.po: Update from translation team.
46220 * po/sv.po: Likewise.
46222 2011-07-16 Roland McGrath <roland@hack.frob.com>
46224 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46225 now disallowed by GCC.
46227 * configure.in (use-default-link): Default to yes if a test -shared
46228 link meets our qualifications.
46229 * configure: Regenerated.
46231 * config.make.in (output-format): New variable.
46232 * configure.in: Check for ld --print-output-format support.
46233 * configure: Regenerated.
46234 * Makerules ($(common-objpfx)format.lds)
46235 [$(output-format) != unknown]: Just use $(output-format),
46236 instead of the linker-script munging.
46238 2011-07-14 Roland McGrath <roland@hack.frob.com>
46240 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46241 of $(common-objpfx)shlib.lds.
46242 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46244 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46245 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46247 * configure.in (-z relro check): Adjust test code to add a large
46248 writable data section after it.
46249 * configure: Regenerated.
46251 2011-07-11 Roland McGrath <roland@hack.frob.com>
46253 * configure.in (-z relro check): Fix test code to make the variable
46255 * configure: Regenerated.
46257 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46259 * nscd/nscd.h (struct traced_file): Define.
46260 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46261 elements. Add traced_files.
46262 (inotify_fd): Declare.
46263 (register_traced_file): Declare.
46264 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46265 (inotify_fd): Export.
46266 (resolv_conf_descr): Remove.
46267 (nscd_init): Move inotify descriptor creation to main.
46268 Don't register files for notification here.
46269 (register_traced_file): New function.
46270 (invalidate_cache): Don't use reset_res to determine whether to call
46271 res_init, go through the list of registered files.
46272 (main_loop_poll): The inotify descriptors are now stored in the
46273 structures for the traced files.
46274 (main_loop_epoll): Likewise
46275 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46276 to __nss_disable_nscd.
46277 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46278 for a database anymore. Check the records for all the registered
46280 * nss/Makefile (libnss_files-routines): Add files-init.
46281 (libnss_db-routines): Add db-init.
46282 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46283 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46284 * nss/nss_db/db-init.c: New file.
46285 * nss/nss_files/files-init.c: New file.
46286 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46287 __nss_lookup_function.
46288 (__nss_lookup_function): Call nss_load_library.
46289 (nss_load_all_libraries): New function.
46290 (__nss_disable_nscd): Take parameter with callback function for files
46291 to register. Set is_nscd. Load all the DSOs for the NSS modules
46292 used for the cached services.
46293 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46294 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46295 options for features to all the files in nscd.
46297 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46299 2011-07-10 Roland McGrath <roland@hack.frob.com>
46301 * csu/elf-init.c (__libc_csu_init): Comment typo.
46303 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46305 * po/pl.po: Update from translation team.
46306 * po/ja.po: Likewise.
46307 * po/ru.po: Likewise.
46308 * po/ko.po: Likewise.
46309 * po/fr.po: Likewise.
46311 2011-07-09 Roland McGrath <roland@hack.frob.com>
46313 * configure.in (.ctors/.dtors header and trailer check):
46314 Use an empirical test on a built program.
46315 * configure: Regenerated.
46317 * configure.in (-z relro check): Use an empirical test on a built DSO.
46318 Detect, but do not require, on ia64.
46319 * configure: Regenerated.
46321 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46322 Update tests that use readelf to use $READELF instead.
46323 * configure: Regenerated.
46325 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46327 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46328 if the result is not used.
46330 2011-07-05 Andreas Jaeger <aj@suse.de>
46333 * stdlib/tst-strtod.c: Add testcase.
46335 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46337 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46338 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46339 The latter has a higher limit. Take additional parameter to pass to
46341 (__pathconf): Pass file to __statfs_link_max.
46342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46344 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46348 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46352 (__statfs_filesize_max): Likewise.
46353 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46355 2011-07-05 Andreas Jaeger <aj@suse.de>
46357 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46359 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46361 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46363 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46366 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46368 * Makefile (strop-tests): Add strncat.
46369 * string/test-strncat.c: New file.
46371 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46373 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46375 2011-06-21 Andreas Jaeger <aj@suse.de>
46377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46378 Copy rule from iconvdata/Makefile.
46380 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46383 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46384 but no long options are defined, just return 'W'.
46386 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46389 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46391 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46393 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46395 (innetgr): Likewise.
46397 2011-07-05 Roland McGrath <roland@hack.frob.com>
46399 * config.make.in (install_root): Default to $(DESTDIR).
46401 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46405 2011-07-02 Roland McGrath <roland@hack.frob.com>
46407 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46409 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46410 containing directory rather than embedding absolute directory names.
46412 * scripts/check-local-headers.sh: Rewritten using awk.
46413 Match by word, not by line. Print error messages for matches.
46414 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46416 * Makerules [shlib-lds-flags empty]:
46417 ($(common-objpfx)libc_pic.opts): New target.
46418 ($(common-objpfx)libc_pic.os.clean): New target.
46419 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46421 * config.make.in (OBJCOPY): New variable.
46422 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46423 * configure: Regenerated.
46425 * config.make.in (use-default-link): New variable.
46426 * configure.in (use_default_link): Grok --with-default-link to set it.
46427 * configure: Regenerated.
46428 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46429 (shlib-lds, shlib-lds-flags): Define to empty.
46431 * Makerules (shlib-lds): New variable.
46432 (shlib-lds-flags): New variable.
46433 (build-shlib, build-moduile, build-module-asneeded): Use it.
46434 ($(common-objpfx)libc.so): Use $(shlib-lds).
46435 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46436 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46438 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46439 DT_FLAGS/DT_FLAGS_1 with zero flags.
46441 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46442 linker script munging.
46444 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46446 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46448 * crypt/sha512.c (sha512_process_block): Perform total addition using
46449 128-bit if possible.
46450 (__sha512_finish_ctx): Likewise.
46451 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46453 * crypt/sha256.c (SWAP64): Define.
46454 (sha256_process_block): Perform total addition using 64-bit if
46456 (__sha256_finish_ctx): Likewise.
46458 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46460 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46462 * nscd/hstcache.c (cache_addhst): Likewise.
46463 * nscd/grpcache.c (cache_addgr): Likewise.
46464 * nscd/aicache.c (addhstaiX): Likewise
46465 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46467 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46469 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46471 * nscd/hstcache.c (cache_addhst): Likewise.
46472 * nscd/grpcache.c (cache_addgr): Likewise.
46473 * nscd/aicache.c (addhstaiX): Likewise
46475 2011-07-01 Andreas Schwab <schwab@redhat.com>
46477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46478 domain only when needed.
46480 2011-06-30 Andreas Schwab <schwab@redhat.com>
46482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46483 is always restored.
46485 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46487 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46488 are re-adding the entry.
46489 * nscd/servicescache.c (cache_addserv): Likewise.
46491 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46493 * sysdeps/generic/dl-irel.h: fix protection against multiple
46495 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46497 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46500 * malloc/memusage.sh: Fix quoting in message.
46501 * debug/xtrace.sh: Likewise.
46503 * configure.in: Remove support for --experimental-malloc option, make
46505 * config.make.in: Likewise.
46506 * malloc/Makefile: Likewise.
46508 2011-06-27 Andreas Schwab <schwab@redhat.com>
46510 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46511 two-byte characters.
46513 2011-06-27 Roland McGrath <roland@hack.frob.com>
46515 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46516 AC_CACHE_CHECK invocation.
46517 * configure: Regenerated.
46519 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46521 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46524 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46525 bit from old_res_options.
46527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46529 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46530 value type for setfct.
46532 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46535 __gettimeofday instead of gettimeofday.
46537 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46539 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46541 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46548 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46551 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46552 strcpy-sse2-unaligned strncpy-sse2-unaligned
46553 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46554 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46555 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46556 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46557 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46560 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46561 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46562 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46563 (STRCPY): Support SSE2 and SSSE3 versions.
46565 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46569 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46570 kernels which artificially limit size of requests.
46572 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46575 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46576 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46577 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46578 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46579 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46580 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46581 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46584 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46585 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46586 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46587 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46588 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46590 Enable unaligned load optimization for Intel Core i3, i5 and i7
46592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46594 (index_Fast_Unaligned_Load): Define.
46595 (HAS_FAST_UNALIGNED_LOAD): Define.
46597 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46599 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46601 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46605 until it is clear that the information is realy needed.
46606 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46608 2011-06-22 Andreas Schwab <schwab@redhat.com>
46610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46612 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46615 /sys/devices/system/cpu/online if it is usable.
46617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46618 reading the information from the /proc filesystem to once a second.
46620 2011-06-21 Andreas Jaeger <aj@suse.de>
46622 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46623 NULL after inclusion of kernel headers.
46625 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46627 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46628 calls to internal_setent.
46631 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46632 addresses using gethostbyname4_r ignore IPv4 addresses.
46634 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46635 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46637 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46639 2011-06-20 David S. Miller <davem@davemloft.net>
46641 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46643 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46645 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46646 (elf_irel): Use it.
46647 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46648 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46649 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46650 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46651 * sysdeps/x86_64/dl-irel.h: Likewise.
46653 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46654 * elf/dl-sym.c: Likewise.
46656 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46658 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46659 need to dereference resplen2.
46661 2011-06-14 Andreas Schwab <schwab@redhat.com>
46663 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46665 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46667 * Makeconfig: Define vardbdir and inst_vardbdir.
46668 * nss/Makefile: Add rules to install db-Makefile.
46670 * nss/nss_db/db-XXX.c: Cleanup.
46672 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46673 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46675 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46676 * nss/makedb.c: Implement -g option to specify that value strings
46677 are generated and should not be added to table iterated over for
46679 * nss/nss_db/db-initgroups.c: New file.
46681 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46684 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46685 (internal_getgrouplist): Adjust to name change.
46686 Update use_initgroups_entry if this is not the first call.
46687 * nss/databases.def: Add initgroups entry.
46689 * nss/makedb.c (compute_tables): Check result of multiple hash table
46690 sizes to minimize maximum chain length.
46692 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46694 * Versions.def: Add entry for libnss_db.
46695 * shlib-versions: Likewise.
46696 * nss/Makefile: Add rules to build libnss_db.
46697 * nss/Versions: Add libnss_db information. Organize libnss_files
46699 * nss/db-Makefile: Add gshadow support. Change rules for the new
46700 makedb progra. Some minor improvements to generate smaller files.
46701 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46703 * nss/makedb.c: ...here.
46704 Improve database format to be smaller and require less memory at
46706 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46708 * nss/nss_db/db-netgrp.c: Likewise.
46709 * nss/nss_db/db-open.c: Likewise.
46710 * nss/nss_files/flies-XXX.x: Adjust comments.
46711 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46712 * nss/nss_files/files-grp.c: Likewise.
46713 * nss/nss_files/files-hosts.c: Likewise.
46714 * nss/nss_files/files-network.c: Likewise.
46715 * nss/nss_files/files-proto.c: Likewise.
46716 * nss/nss_files/files-pwd.c: Likewise.
46717 * nss/nss_files/files-rpc.c: Likewise.
46718 * nss/nss_files/files-service.c: Likewise.
46719 * nss/nss_files/files-sgrp.c: Likewise.
46720 * nss/nss_files/files-spwd.c: Likewise.
46721 * nss/nss_db/db-alias.c: Removed.
46722 * nss/nss_db/dummy-db.h: Removed.
46724 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46726 * nss/makedb.c: Rewritten to not use database library.
46727 * nss/Makefile: Update to build new makedb program.
46729 2011-06-14 Andreas Jaeger <aj@suse.de>
46731 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46732 memset declaration.
46734 2011-06-10 Andreas Schwab <schwab@redhat.com>
46736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46739 2011-06-10 Roland McGrath <roland@hack.frob.com>
46741 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46742 * elf/Makefile ($(objpfx)ld.so): Likewise.
46744 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46745 Don't list ld.so twice in dependencies.
46747 * posix/bug-regex31.c: Include <stdlib.h>.
46749 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46751 * nis/nss_compat/compat-spwd.c
46752 (getspent_next_nss_netgr): Remove unused variable.
46753 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46755 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46756 nonmembers" output to use the right array.
46758 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46760 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46762 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46763 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46764 * catgets/gencat.c (read_input_file): Likewise.
46765 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46767 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46768 variable definition inside #if's controlling its use.
46770 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46772 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46774 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46776 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46779 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46781 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46782 * configure: Regenerated.
46784 * Makerules: Revert last change.
46785 * elf/Makefile: Likewise.
46787 2011-06-09 Roland McGrath <roland@hack.frob.com>
46789 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46790 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46791 (reloc-link): Likewise.
46793 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46795 * elf/Makefile: Add rules to build pldd.
46796 * elf/pldd.c: New file.
46797 * elf/pldd-xx.c: New file.
46799 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46801 * version.h: Update for 2.15 development version.
46803 2011-06-07 David S. Miller <davem@davemloft.net>
46805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46808 elf_machine_lazy_rel): Likewise.
46809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46811 elf_machine_lazy_rel): Likewise.
46812 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46813 dl_hwcap via passed in argument.
46814 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46817 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46819 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46821 2011-06-06 Roland McGrath <roland@hack.frob.com>
46824 * manual/fdl-1.1.texi: New file, verbatim from:
46825 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46826 * manual/lgpl-2.1.texi: New file, verbatim from:
46827 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46828 * manual/Makefile (licenses): New variable, list those new file names.
46830 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46832 * manual/fdl.texi: File removed.
46833 * manual/lesser.texi: File removed.
46834 * manual/libc.texinfo (Copying, Documentation License):
46835 Use new @include file names, put @appendix directive before @include.
46837 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46840 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46841 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46842 (mq_open): Add __NTH.
46844 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46847 Assume Intel Core i3/i5/i7 processor if AVX is available.
46849 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46854 2011-05-31 Andreas Schwab <schwab@redhat.com>
46856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46857 memory. Use alloca_account. Fix memory leak when retrying.
46859 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46861 * version.h (RELEASE): Bump for 2.14 release.
46862 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46864 * config.make.in (RANLIB): Remove entry.
46866 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46868 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46869 (libc.pot): Work around missing support for .ksh extension in xgettext.
46872 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46873 if both request failed.
46874 (send_dg): In case of server errors clear resplen or *resplen2.
46877 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46878 when there are multiple maps.
46879 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46880 (_dl_fini): Remove test here.
46882 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46884 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46887 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46888 bit from old_res_options.
46889 (gaih_inet): Likewise.
46892 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46895 * resolv/res_init.c (res_setoptions): Make the code more compact.
46898 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46902 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46904 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46907 * malloc/malloc.h: Declare malloc hook variables as volatile.
46909 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46913 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46914 raise in the comment.
46915 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46917 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46919 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46922 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46923 grow the buffers more if it already has to be sufficient.
46924 (build_wcs_upper_buffer): Likewise.
46925 * posix/regexec.c (check_matching): Likewise.
46926 (clean_state_log_if_needed): Likewise.
46927 (extend_buffers): Don't enlarge buffers beyond size of the input
46929 Patches mostly by Emil Wojak <emil@wojak.eu>.
46930 * posix/bug-regex32.c: New file.
46931 * posix/Makefile (tests): Add bug-regex32.
46933 * locale/findlocale.c (_nl_find_locale): Return right away if
46934 _nl_explode_name failed.
46935 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46939 * debug/xtrace.sh: Unify messages.
46940 * malloc/memusage.sh: Likewise.
46943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46944 time symbol from vDSO. Substitute with vsyscall if not available.
46945 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46948 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46949 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46950 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46951 Add sendmmsg and internal_sendmmsg.
46952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46954 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46956 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46957 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46958 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46960 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46964 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46970 * iconvdata/Makefile (tests): Add bug-iconv9.
46971 * iconvdata/bug-iconv9.c: New file.
46973 2011-05-27 Andreas Schwab <schwab@redhat.com>
46976 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46978 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46981 (struct user_regs_struct): Change intcs field back to cs.
46983 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46985 * po/ja.po: Update from translation team.
46987 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46990 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46993 2011-05-20 Andreas Schwab <schwab@redhat.com>
46995 * stdlib/longlong.h: Update from GCC.
46997 2011-05-23 Andreas Schwab <schwab@redhat.com>
46999 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47001 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47002 Add parameter name.
47003 (__sysconf): Pass it down.
47005 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47008 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47011 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47012 add in in __libc_use_alloca calls. Adjust callers.
47013 (glob): Use malloc in some situations.
47015 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47016 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47019 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47021 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47022 and CLOCK_BOOTTIME_ALARM.
47025 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47028 * string/_strerror.c (__strerror_r): Print negative errors as signed
47032 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47033 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47034 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47036 * configure.in: Fix typo in redirection and correct removal of test
47037 files in two cases.
47040 * locale/setlocale.c (new_composite_name): Fix test to check for
47041 identical name of all categories.
47044 * libio/filedoalloc.c (local_isatty): New function.
47045 (_IO_file_doallocate): Use local_isatty.
47046 * stdio-common/perror.c (perror): In case a new stream is used
47047 forward the stream error.
47048 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47051 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47056 * include/alloca.h (extend_alloca_account): Define.
47059 * posix/regex.h: Fix comments with documentation of user-accessible
47060 fields after compilation and describe correct free'ing of pattern
47061 after re_compile_pattern.
47062 Patch by Reuben Thomas <rrt@sc3d.org>.
47064 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47066 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47067 and -mno-altivec to prevent the compiler from using Altivec and/or
47068 VSX instructions when the corresponding registers are not available.
47070 2011-05-19 Andreas Schwab <schwab@redhat.com>
47072 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47074 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47076 * libio/freopen.c (freopen): Use __dup2, not dup2.
47077 * libio/freopen64.c (freopen64): Likewise.
47079 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47082 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47083 * math/Makefile (tests): Add test-powl.
47084 (CFLAGS-test-powl.c): Define.
47085 * math/test-powl.c: New file.
47087 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47089 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47091 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47094 * iconvdata/gb18030.c: Update to GB18020-2005.
47096 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47098 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47099 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47100 Patch by Aharon Robbins <arnold@skeeve.com>.
47103 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47107 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47108 through underflows.
47111 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47112 point to strings before performing equality test for error_one_per_line
47116 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47120 (struct user_fpregs_struct): Avoid __uint*_t types.
47123 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47124 symbol info. Use it instead of calling _dl_addr locally.
47125 (lock_and_info): New function.
47126 (tr_freehook): Call lock_and_info and pass symbol info as additional
47127 parameter to tr_where.
47128 (tr_mallochook): Likewise.
47129 (tr_reallochook): Likewise.
47130 (tr_memalignhook): Likewise.
47132 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47133 used and couldn't be at all thread-safe.
47135 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47137 * libio/freopen.c (freopen): Don't close old file descriptor
47138 before the new one is opened. Instead dup the new file descriptor
47139 to the old one after the new stream is created.
47140 * libio/freopen64.c (freopen64): Likewise.
47141 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47142 * libio/fileops.c (_IO_new_file_close_it): Handle new
47143 _IO_FLAGS2_NOCLOSE flag.
47144 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47145 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47146 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47147 _IO_FLAGS2_NOCLOSE flag.
47148 * include/unistd.h: Add hidden_proto for dup3.
47149 Define __have_dup3.
47150 * io/dup3.c: Define hidden symbol.
47151 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47154 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47155 when an incomplete long option is used.
47156 * posix/tst-getopt_long1.c: New file.
47157 * posix/Makefile (tests): Add tst-getopt_long1.
47160 * scripts/config.guess: Update from autoconf-2.68.
47161 * scripts/config.sub: Likewise.
47164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47166 (has_cpuclock): ...this. New function.
47167 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47168 macro here based on has_cpuclock code.
47171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47172 First byte (not low byte) is now always NUL.
47173 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47176 Use non-cancelable interfaces.
47179 * locale/iso-639.def: Add entry for Sorani.
47182 * include/stdlib.h: Move include protection to the right place.
47183 Define abort_msg_s. Declare __abort_msg with it.
47184 * stdlib/abort.c (__abort_msg): Adjust type.
47185 * assert/assert.c (__assert_fail_base): New function. Majority
47186 of code from __assert_fail. Allocate memory for __abort_msg with
47188 (__assert_fail): Now call __assert_fail_base.
47189 * assert/assert-perr.c: Remove bulk of implementation. Use
47190 __assert_fail_base.
47191 * include/assert.hL Declare __assert_fail_base.
47192 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47194 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47196 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47200 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47201 until all modules are registered in the DTV.
47202 * elf/Makefile: Add rules to build and run tst-tls19.
47203 * elf/tst-tls19.c: New file.
47204 * elf/tst-tls19mod1.c: New file.
47205 * elf/tst-tls19mod2.c: New file.
47206 * elf/tst-tls19mod3.c: New file.
47207 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47210 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47214 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47215 two-byte sequence errors.
47216 * iconvdata/Makefile (tests): Add bug-iconv8.
47217 * iconvdata/bug-iconv8.c: New file.
47220 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47223 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47226 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47227 (dummy_getcfa): New function.
47228 (init): Get _Unwind_GetCFA address, use dummy if not found.
47229 (backtrace_helper): In recursion check, also check whether CFA changes.
47230 (__backtrace): Completely initialize arg.
47232 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47233 storing incomplete byte sequence in state object. Avoid testing for
47234 guaranteed too small input if we know there is enough data available.
47236 2011-05-11 Andreas Schwab <schwab@redhat.com>
47238 * Makeconfig (+link-pie): Indent.
47239 * Rules (binaries-pie): Define if $(have-fpie) and
47241 (binaries-shared): Also filter out $(binaries-pie).
47242 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47243 * nscd/Makefile (others-pie): Add nscd.
47244 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47245 ($(objpfx)nscd): Remove command override.
47246 * login/Makefile (others-pie): Add pt_chown.
47247 ($(objpfx)pt_chown): Remove command override.
47248 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47249 remove command overrides.
47251 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47253 * libio/tst_putwc.c: Fix error messages.
47256 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47257 currently writing and seek to current position when not.
47258 * libio/Makefile (tests): Add bug-fclose1.
47259 * libio/bug-fclose1.c: New file.
47261 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47264 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47265 don't set DF_1_NODELETE here.
47266 (do_lookup_x): When entering new entry test for copy relocation
47267 and if necessary set DF_1_NODELETE flag.
47268 * elf/tst-unique4.cc: New file.
47269 * elf/tst-unique4.h: New file.
47270 * elf/tst-unique4lib.cc: New file.
47271 * elf/Makefile: Add rules to build and run tst-unique4.
47272 Patch by Piotr Bury <pbury@goahead.com>.
47274 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47277 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47280 * misc/mntent_r.c (addmntent): Flush the stream after the output
47283 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47284 (is_trusted_path_normalize): Skip initial colon. Append slash
47285 to empty buffer. Duplicate is_trusted_path code but allow
47286 constructed patch to be prefix.
47287 (is_dst): Allow $ORIGIN followed by /.
47288 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47289 Correct testing of result of is_trusted_path_normalize
47290 (decompose_rpath): Fix warning.
47292 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47295 * grp/initgroups.c (internal_getgrouplist): When we found the service
47296 list through the initgroups entry in nsswitch.conf do not always
47297 continue on a successful lookup. Don't always use the
47298 __nss_group_database value if it is set.
47299 * nss/nsswitch.conf (initgroups): Change action for successful db
47300 lookup to continue for compatibility.
47302 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47305 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47307 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47309 * iconvdata/tst-tables.sh: Likewise.
47310 * iconvdata/cp770.c: New file.
47311 * iconvdata/cp771.c: New file.
47312 * iconvdata/cp772.c: New file.
47313 * iconvdata/cp773.c: New file.
47314 * iconvdata/cp774.c: New file.
47315 * iconvdata/testdata/CP770: New file.
47316 * iconvdata/testdata/CP770..UTF8: New file.
47317 * iconvdata/testdata/CP771: New file.
47318 * iconvdata/testdata/CP771..UTF8: New file.
47319 * iconvdata/testdata/CP772: New file.
47320 * iconvdata/testdata/CP772..UTF8: New file.
47321 * iconvdata/testdata/CP773: New file.
47322 * iconvdata/testdata/CP773..UTF8: New file.
47323 * iconvdata/testdata/CP774: New file.
47324 * iconvdata/testdata/CP774..UTF8: New file.
47326 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47328 * iconvdata/gen-8bit-gap.sh: Likewise.
47329 * iconvdata/gen-8bit.sh: Likewise.
47331 * locale/iso-639.def: Add ary entry.
47334 * locale/C-translit.h.in: Add U20A1 transliteration.
47337 * locale/iso-639.def: Add wae entry.
47338 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47341 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47345 * locale/C-translit.h.in: Add entry for U20B9.
47346 Patch by pravin.d.s@gmail.com.
47348 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47351 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47352 ENAMETOOLONG use generic getcwd.
47353 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47354 in rtld. Use *stat64.
47355 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47356 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47357 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47358 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47359 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47360 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47361 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47362 __fstatat64 macros.
47363 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47364 * dirent/rewinddir.c: Add libc_hidden_def.
47365 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47366 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47368 * include/dirent.h (__alloc_dir): Add flags parameter.
47369 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47370 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47372 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47373 from fdopendir if O_CLOEXEC is already set.
47375 2011-03-15 Alan Modra <amodra@gmail.com>
47377 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47378 l_tls_firstbyte_offset non-zero. Save padding offset in
47379 l_tls_firstbyte_offset for later use.
47380 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47381 freeing static tls block.
47383 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47385 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47386 where #ifdef was intended. The intent is to prevent ARG_MAX from
47387 being defined by the kernel headers.
47389 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47392 * resolv/resolv.h: Define RES_NOTLDQUERY.
47393 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47394 no-tld-query and set RES_NOTLDQUERY.
47395 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47396 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47397 modern BIND to search name as TLD unless forbidden.
47399 2011-05-07 Petr Baudis <pasky@suse.cz>
47400 Ulrich Drepper <drepper@gmail.com>
47403 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47404 (is_trusted_path): ...to here.
47405 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47406 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47407 using is_trusted_path_normalize() in setuid scripts.
47409 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47412 __BEGIN/__END_DECLS.
47414 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47417 NSS_STATUS_NOTFOUND if no record was found.
47419 2011-05-05 Andreas Schwab <schwab@redhat.com>
47421 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47422 (headers-not-in-tirpc): Remove rpc/netdb.h
47423 * resolv/netdb.h: Revert last change.
47425 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47427 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47428 circular dependency between libgcc.a and libc.a.
47430 2011-05-05 Andreas Schwab <schwab@redhat.com>
47432 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47433 * nis/Makefile: Don't install rpcsvc/*.
47434 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47435 instead of <rpc/types.h>.
47436 (MAXHOSTNAMELEN): Define.
47438 2011-05-03 Andreas Schwab <schwab@redhat.com>
47440 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47442 2011-04-28 Maciej Babinski <mbabinski@google.com>
47445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47446 gethostbyname4_r when IPv6 results are possible.
47448 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47451 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47452 _PC_PIPE_BUF handling.
47454 2011-04-30 Bruno Haible <bruno@clisp.org>
47457 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47458 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47460 * inet/getnameinfo.c (getnameinfo): Likewise.
47462 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47464 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47465 to groups setting in database lookup.
47466 * nss/nsswitch.conf: Add initgroups entry.
47468 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47471 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47473 Patch by Eric Blake <eblake@redhat.com>.
47475 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47477 * sunrpc/Makefile (need-export-routines): Add svc_run.
47478 (routines): Remove svc_run.
47479 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47480 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47481 * sunrpc/svc_run.c (svc_run): Likewise.
47482 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47484 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47487 problem in reallocation in last patch.
47489 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47491 * sunrpc/Makefile: Move inclusion of Rules.
47493 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47495 * nss/nss_files/files-initgroups.c: New file.
47496 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47497 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47498 _nss_files_initgroups_dyn.
47500 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47502 * elf/elf.h (R_ARM_IRELATIVE): Define.
47504 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47506 * po/ru.po: Update from translation team.
47508 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47510 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47513 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47516 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47517 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47522 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47524 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47530 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47533 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47535 * stdlib/bug-getcontext.c: New file.
47536 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47538 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47540 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47541 instructions into .machine "z9-109".
47542 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47543 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47545 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47547 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47548 between environment variables and auxiliary vector.
47550 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47552 * Makefile: Add rules to build linkobj/libc.so.
47553 * include/libc-symbols.h: Define libc_hidden_nolink.
47554 * include/rpc/auth.h: Mark functions which are to be hidden.
47555 * include/rpc/auth_des.h: Likewise.
47556 * include/rpc/auth_unix.h: Likewise.
47557 * include/rpc/clnt.h: Likewise.
47558 * include/rpc/des_crypt.h: Likewise.
47559 * include/rpc/key_prot.h: Likewise.
47560 * include/rpc/pmap_clnt.h: Likewise.
47561 * include/rpc/pmap_prot.h: Likewise.
47562 * include/rpc/pmap_rmt.h: Likewise.
47563 * include/rpc/rpc_msg.h: Likewise.
47564 * include/rpc/svc.h: Likewise.
47565 * include/rpc/svc_auth.h: Likewise.
47566 * include/rpc/xdr.h: Likewise.
47567 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47568 * nss/Makefile: Likewise.
47569 * sunrpc/Makefile: Don't install headers. Build library with normal
47570 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47571 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47572 for the compat linking library. Remove use of INTDEF/INTUSE.
47573 * sunrpc/auth_none.c: Likewise.
47574 * sunrpc/auth_unix.c: Likewise.
47575 * sunrpc/authdes_prot.c: Likewise.
47576 * sunrpc/authuxprot.c: Likewise.
47577 * sunrpc/clnt_gen.c: Likewise.
47578 * sunrpc/clnt_perr.c: Likewise.
47579 * sunrpc/clnt_raw.c: Likewise.
47580 * sunrpc/clnt_simp.c: Likewise.
47581 * sunrpc/clnt_tcp.c: Likewise.
47582 * sunrpc/clnt_udp.c: Likewise.
47583 * sunrpc/clnt_unix.c: Likewise.
47584 * sunrpc/des_crypt.c: Likewise.
47585 * sunrpc/des_soft.c: Likewise.
47586 * sunrpc/get_myaddr.c: Likewise.
47587 * sunrpc/key_call.c: Likewise.
47588 * sunrpc/key_prot.c: Likewise.
47589 * sunrpc/netname.c: Likewise.
47590 * sunrpc/pm_getmaps.c: Likewise.
47591 * sunrpc/pm_getport.c: Likewise.
47592 * sunrpc/pmap_clnt.c: Likewise.
47593 * sunrpc/pmap_prot.c: Likewise.
47594 * sunrpc/pmap_prot2.c: Likewise.
47595 * sunrpc/pmap_rmt.c: Likewise.
47596 * sunrpc/publickey.c: Likewise.
47597 * sunrpc/rpc_cmsg.c: Likewise.
47598 * sunrpc/rpc_common.c: Likewise.
47599 * sunrpc/rpc_dtable.c: Likewise.
47600 * sunrpc/rpc_prot.c: Likewise.
47601 * sunrpc/rpc_thread.c: Likewise.
47602 * sunrpc/rtime.c: Likewise.
47603 * sunrpc/svc.c: Likewise.
47604 * sunrpc/svc_auth.c: Likewise.
47605 * sunrpc/svc_authux.c: Likewise.
47606 * sunrpc/svc_raw.c: Likewise.
47607 * sunrpc/svc_run.c: Likewise.
47608 * sunrpc/svc_simple.c: Likewise.
47609 * sunrpc/svc_tcp.c: Likewise.
47610 * sunrpc/svc_udp.c: Likewise.
47611 * sunrpc/svc_unix.c: Likewise.
47612 * sunrpc/svcauth_des.c: Likewise.
47613 * sunrpc/xcrypt.c: Likewise.
47614 * sunrpc/xdr.c: Likewise.
47615 * sunrpc/xdr_array.c: Likewise.
47616 * sunrpc/xdr_float.c: Likewise.
47617 * sunrpc/xdr_intXX_t.c: Likewise.
47618 * sunrpc/xdr_mem.c: Likewise.
47619 * sunrpc/xdr_rec.c: Likewise.
47620 * sunrpc/xdr_ref.c: Likewise.
47621 * sunrpc/xdr_sizeof.c: Likewise.
47622 * sunrpc/xdr_stdio.c: Likewise.
47624 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47627 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47628 * sysdeps/ia64/dl-tls.h: Likewise.
47629 * sysdeps/powerpc/dl-tls.h: Likewise.
47630 * sysdeps/s390/dl-tls.h: Likewise.
47631 * sysdeps/sh/dl-tls.h: Likewise.
47632 * sysdeps/sparc/dl-tls.h: Likewise.
47633 * sysdeps/x86_64/dl-tls.h: Likewise.
47634 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47636 2011-03-14 Andreas Schwab <schwab@redhat.com>
47638 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47639 rpath element also skip the following colon.
47640 (expand_dynamic_string_token): Add is_path parameter and pass
47641 down to DL_DST_REQUIRED and _dl_dst_substitute.
47642 (decompose_rpath): Call expand_dynamic_string_token with
47643 non-zero is_path. Ignore empty rpaths.
47644 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47647 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47652 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47655 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47656 Patch by Filipe David Manana <fdmanana@apache.org>.
47658 2011-04-07 Andreas Schwab <schwab@redhat.com>
47660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47661 Maintain aligned stack.
47662 (CHECK_RSP): Remove unused macro.
47664 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47666 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47669 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47671 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47673 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47675 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47678 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47679 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47680 * sysdeps/x86_64/memmove.c: New file.
47681 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47682 (memcpy): Renamed to ...
47683 (__new_memcpy): This.
47684 (memcpy): Provide GLIBC_2_14 memcpy.
47685 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47686 (memcpy): Provide GLIBC_2_2_5 memcpy.
47688 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47691 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47693 2011-03-30 Andreas Schwab <schwab@redhat.com>
47695 * misc/syncfs.c: New file.
47696 * misc/Makefile (routines): Add syncfs.
47697 * posix/unistd.h: Declare syncfs.
47698 * sysdeps/unix/syscalls.list: Add syncfs.
47700 2011-04-01 Andreas Schwab <schwab@redhat.com>
47702 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47709 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47712 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47722 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47723 sync_file_range.c with -fexceptions.
47724 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47725 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47726 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47727 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47728 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47729 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47731 sync_file_range as cancellation point
47732 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47733 now a wrapper around __call_sync_file_range with cancellation handling.
47734 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47735 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47736 function name to __call_sync_file_range.
47737 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47738 Add call_sync_file_range.
47740 2011-04-01 Andreas Schwab <schwab@redhat.com>
47742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47745 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47747 * iconv/iconv.h: Fix typo in comment.
47748 * io/fcntl.h: Likewise.
47749 * libio/stdio.h: Likewise.
47750 * posix/spawn.h: Likewise.
47751 * posix/unistd.h: Likewise.
47752 * stdlib/stdlib.h: Likewise.
47753 * time/time.h: Likewise.
47754 * wcsmbs/wchar.h: Likewise.
47756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47757 open_by_handle): Add.
47758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47759 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47760 Augment a few comments.
47761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47766 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47769 * io/fcntl.h (AT_EMPTY_PATH): Define.
47771 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47773 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47774 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47775 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47777 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47778 * Versions.def: Add GLIBC_2.14.
47779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47782 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47788 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47791 * string/test-strncmp.c (do_page_test): New function.
47792 (check2): Likewise.
47793 (test_main): Call check2.
47794 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47796 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47800 Handle cache information in CPU leaf 4.
47801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47803 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47806 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47807 character representation.
47808 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47810 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47812 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47813 END(__isnan) to END(__isnanf) to match function entry point/label
47814 EALIGN(__isnanf,...).
47816 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47818 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47820 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47823 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47824 copy from the symbol referenced in the relocation to initialize the
47826 Patch by Piotr Bury <pbury@goahead.com>.
47827 * elf/Makefile: Add rules to build and tst-unique3.
47828 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47829 * elf/tst-unique3.cc: New file.
47830 * elf/tst-unique3.h: New file.
47831 * elf/tst-unique3lib.cc: New file.
47832 * elf/tst-unique3lib2.cc: New file.
47834 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47836 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47838 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47839 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47842 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47844 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47845 to-be-loaded object along a path to loader is ld.so.
47847 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47848 Ulrich Drepper <drepper@gmail.com>
47850 * sysdeps/x86_64/memset.S: After aligning destination, code
47851 branches to different locations depending on the value of
47852 misalignment, when multiarch is enabled. Fix this.
47854 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47856 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47857 Set _x86_64_preferred_memory_instruction for AMD processsors.
47858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47859 Set bit_Prefer_SSE_for_memop for AMD processors.
47861 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47863 * libio/fmemopen.c (fmemopen): Optimize a bit.
47865 2011-03-03 Andreas Schwab <schwab@redhat.com>
47867 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47869 2011-03-03 Roland McGrath <roland@redhat.com>
47871 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47873 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47875 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47876 __bzero_ultra1 instead of __memset_ultra1.
47878 2011-02-23 Andreas Schwab <schwab@redhat.com>
47879 Ulrich Drepper <drepper@gmail.com>
47882 * include/link.h (struct link_map): Add l_orig_initfini.
47883 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47884 returning unsuccessfully.
47885 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47886 close of a file loaded at startup, restore the original l_initfini
47888 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47889 list, store the pointer.
47890 * elf/Makefile ($(objpfx)noload-mem): New rule.
47891 (noload-ENV): Define.
47892 (tests): Add $(objpfx)noload-mem.
47893 * elf/noload.c: Include <memcheck.h>.
47894 (main): Call mtrace. Close all opened handles.
47896 2011-02-17 Andreas Schwab <schwab@redhat.com>
47899 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47900 dependencies are missing.
47902 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47904 Fix __if_freereq crash: Unlike the generic version which uses free,
47906 * sysdeps/mach/hurd/ifreq.h: New file.
47908 2011-01-27 Petr Baudis <pasky@suse.cz>
47909 Ulrich Drepper <drepper@gmail.com>
47912 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47913 to extend_alloca().
47914 * stdio-common/bug23.c: New file.
47915 * stdio-common/Makefile (tests): Add bug23.
47917 2010-09-28 Andreas Schwab <schwab@redhat.com>
47918 Ulrich Drepper <drepper@gmail.com>
47921 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47922 before performing relro protection. At old place add assertion
47923 to make sure nothing changed.
47925 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47926 Glauber de Oliveira Costa <glommer@gmail.com>
47928 * elf/elf.h: Add new ARM TLS relocs.
47930 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47933 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47935 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47937 * sysdeps/wordsize-64/tst-writev.c: New file.
47939 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47941 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47942 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47943 insns in _dl_start to prevent a TOC reference before relocs are
47946 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47949 * Makeconfig: Remove RANLIB definition.
47950 * Makerules: Don't use RANLIB.
47951 * aclocal.m4: Remove ranlib test.
47952 * configure.in: No need to check for ranlib.
47953 * elf/rtld-Rules: Don't use RANLIB.
47955 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47957 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47959 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47960 inclusion protection macro.
47962 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47963 SIGRTMIN and SIGRTMAX and print information in that case only when
47964 SIGRTMIN is defined.
47966 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47968 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47969 arginfo fn returning -1.
47971 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47972 and thousands string is zero terminated.
47974 2011-02-03 Andreas Schwab <schwab@redhat.com>
47976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47977 sysdeps/unix/sysv/linux/bits/socket.h.
47979 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47981 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47982 (__CPU_COUNT): Remove old macros.
47983 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47984 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47985 (__CPU_ALLOC, __CPU_FREE): Add macros.
47986 (__sched_cpualloc, __sched_cpufree): Add declarations.
47988 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47990 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47991 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47992 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47993 (readdhstai): Return value of addhstaiX call.
47994 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47995 (addgrbyX): Return value returned by cache_addgr.
47996 (readdgrbyname): Return value returned by addgrbyX.
47997 (readdgrbygid): Likewise.
47998 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47999 (addpwbyX): Return value returned by cache_addpw.
48000 (readdpwbyname): Return value returned by addhstbyX.
48001 (readdpwbyuid): Likewise.
48002 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48003 (addservbyX): Return value returned by cache_addserv.
48004 (readdservbyname): Return value returned by addservbyX:
48005 (readdservbyport): Likewise.
48006 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48007 (addhstbyX): Return value returned by cache_addhst.
48008 (readdhstbyname): Return value returned by addhstbyX.
48009 (readdhstbyaddr): Likewise.
48010 (readdhstbynamev6): Likewise.
48011 (readdhstbyaddrv6): Likewise.
48012 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48013 (readdinitgroups): Return value returned by addinitgroupsX.
48014 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48015 (prune_cache): Keep track of timeout value of re-added entries.
48016 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48017 * nscd/nscd.h: Adjust prototypes of readd* functions.
48019 2011-02-04 Roland McGrath <roland@redhat.com>
48021 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48022 (nis_stats): Likewise.
48023 * nis/nis_modify.c (nis_modify): Likewise.
48024 * nis/nis_remove.c (nis_remove): Likewise.
48025 * nis/nis_add.c (nis_add): Likewise.
48027 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48029 * posix/fnmatch_loop.c: Add some consts.
48031 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48033 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48036 * config.make.in (config-cflags-novzeroupper): Define.
48037 * configure.in: Substitute libc_cv_cc_novzeroupper.
48038 * elf/Makefile (AVX-CFLAGS): Define.
48039 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48040 (CFLAGS-tst-auditmod4a.c): Likewise.
48041 (CFLAGS-tst-auditmod4b.c): Likewise.
48042 (CFLAGS-tst-auditmod6b.c): Likewise.
48043 (CFLAGS-tst-auditmod6c.c): Likewise.
48044 (CFLAGS-tst-auditmod7b.c): Likewise.
48045 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48047 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48049 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48050 function to the callback.
48051 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48053 2011-02-02 Andreas Schwab <schwab@redhat.com>
48055 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48058 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48061 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48063 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48065 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48068 * elf/Makefile: Add rules to build and run new test.
48069 * elf/tst-initorder.c: New file.
48070 * elf/tst-initorder.exp: New file.
48071 * elf/tst-initordera1.c: New file.
48072 * elf/tst-initordera2.c: New file.
48073 * elf/tst-initordera3.c: New file.
48074 * elf/tst-initordera4.c: New file.
48075 * elf/tst-initorderb1.c: New file.
48076 * elf/tst-initorderb2.c: New file.
48077 * elf/tst-order-a1.c: New file.
48078 * elf/tst-order-a2.c: New file.
48079 * elf/tst-order-a3.c: New file.
48080 * elf/tst-order-a4.c: New file.
48081 * elf/tst-order-b1.c: New file.
48082 * elf/tst-order-b2.c: New file.
48083 * elf/tst-order-main.c: New file.
48084 New test case by George Gensure <werkt0@gmail.com>.
48086 2010-10-01 Andreas Schwab <schwab@redhat.com>
48088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48089 decoding ACE if AI_CANONIDN.
48091 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48093 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48095 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48097 * version.h (RELEASE): Bump for 2.13 release.
48098 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48100 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48104 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48111 * posix/getconf.c: Update copyright year.
48112 * catgets/gencat.c: Likewise.
48113 * csu/version.c: Likewise.
48114 * debug/catchsegv.sh: Likewise.
48115 * debug/xtrace.sh: Likewise.
48116 * elf/ldconfig.c: Likewise.
48117 * elf/ldd.bash.in: Likewise.
48118 * elf/sprof.c (print_version): Likewise.
48119 * iconv/iconv_prog.c: Likewise.
48120 * iconv/iconvconfig.c: Likewise.
48121 * locale/programs/locale.c: Likewise.
48122 * locale/programs/localedef.c: Likewise.
48123 * malloc/memusage.sh: Likewise.
48124 * malloc/mtrace.pl: Likewise.
48125 * nscd/nscd.c (print_version): Likewise.
48126 * nss/getent.c: Likewise.
48128 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48129 PF_CAIF, and PF_ALG.
48130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48132 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48134 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48135 (modules-names): Use them.
48136 (ifunc-test-modules, ifunc-pie-tests): Define.
48137 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48138 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48139 (test-extras): Likewise.
48140 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48141 $(compile-command.c).
48142 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48143 (all-built-dso): Define.
48144 (check-textrel.out, check-execstack.out): Depend on it.
48146 * configure.in: Don't override --enable-multi-arch.
48148 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48151 * nscd/hstcache.c (tryagain): Define.
48152 (cache_addhst): Return tryagain not notfound for temporary errors.
48153 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48156 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48160 to make the syscall.
48161 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48164 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48165 and fall back to matching as normal character if the string ends before
48166 the matching ']' is found. This is what POSIX requires.
48167 * posix/testfnm.c: Adjust test result.
48168 * posix/globtest.sh: Adjust test result. Add new test.
48169 * posix/tst-fnmatch.input: Likewise.
48170 * posix/tst-fnmatch2.c: Add new test.
48172 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48174 * elf/Makefile (check-execstack): Revert last change. Depend on
48176 (check-execstack.h): New target.
48177 (generated): Add check-execstack.h.
48178 * elf/check-execstack.c: Include "check-execstack.h".
48179 (main): Revert last change.
48180 (handle_file): Return zero if GNU_STACK is absent and
48181 DEFAULT_STACK_PERMS doesn't include PF_X.
48183 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48185 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48186 in child fails because the descriptor is already closed.
48187 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48188 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48189 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48192 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48196 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48197 temporary buffer used to handle multi lookups locally.
48198 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48200 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48202 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48205 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48207 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48208 alignment for SSE2.
48210 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48213 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48214 characters. When rounding increased number of integer digits recompute
48216 * stdio-common/tst-grouping.c: New file.
48217 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48219 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48221 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48222 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48224 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48226 * bits/select.h: Likewise.
48228 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48230 * po/ja.po: Update from translation team.
48232 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48235 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48236 implementation just like for lxstat, fxstatat, et al.
48238 2010-12-27 Jim Meyering <meyering@redhat.com>
48241 * posix/regexec.c (build_trtable): Return failure indication upon
48242 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48244 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48247 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48248 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48249 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48253 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48256 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48257 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48259 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48261 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48262 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48263 script has SORT_BY_INIT_PRIORITY.
48264 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48265 NO_CTORS_DTORS_SECTIONS is defined.
48266 * elf/soinit.c: Likewise.
48267 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48268 NO_CTORS_DTORS_SECTIONS is defined.
48269 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48270 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48271 * sysdeps/sh/init-first.c: Likewise.
48272 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48274 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48276 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48277 always use the slow path.
48279 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48281 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48282 similar rule which adds the sysdep directories to the header search in
48283 order to pick up the correct platform stackinfo.h.
48284 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48285 perform test if it is, otherwise return successfully without testing.
48286 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48287 DEFAULT_STACK_PERMS define in stackinfo.h.
48288 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48289 defined in stackinfo.h.
48290 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48291 DEFAULT_STACK_PERMS defined in stackinfo.h.
48292 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48293 * sysdeps/ia64/stackinfo.h: Likewise.
48294 * sysdeps/s390/stackinfo.h: Likewise.
48295 * sysdeps/sh/stackinfo.h: Likewise.
48296 * sysdeps/sparc/stackinfo.h: Likewise.
48297 * sysdeps/x86_64/stackinfo.h: Likewise.
48298 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48299 PF_X for powerpc64. Retain PF_X for powerpc32.
48301 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48303 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48305 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48306 GETDENTS_64BIT_ALIGNED.
48308 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48310 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48312 2010-12-10 Andreas Schwab <schwab@redhat.com>
48314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48317 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48318 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48320 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48321 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48323 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48326 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48329 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48331 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48333 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48335 * po/it.po: Update from translation team.
48337 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48342 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48344 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48346 2010-11-24 Andreas Schwab <schwab@redhat.com>
48348 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48350 (gaih_getanswer_slice): Likewise.
48352 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48356 2010-05-31 Petr Baudis <pasky@suse.cz>
48359 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48360 silently even in the chroot mode.
48362 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48365 last patch a bit. Pretty printing
48367 2010-05-31 Petr Baudis <pasky@suse.cz>
48370 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48371 initialization of skip_initgroups_dyn.
48373 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48378 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48380 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48382 2010-11-11 Andreas Schwab <schwab@redhat.com>
48384 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48385 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48386 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48387 ($(objpfx)tst-fnmatch-mem): New rule.
48388 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48389 * posix/tst-fnmatch.c (main): Call mtrace.
48391 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48394 Support Intel processor model 6 and model 0x2c.
48396 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48401 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48404 * string/test-strncasecmp.c (check_result): New function.
48405 (do_one_test): Use it.
48406 (check1): New function.
48407 (test_main): Use it.
48408 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48409 Support strcasecmp and strncasecmp.
48411 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48414 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48417 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48419 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48423 * sysdeps/x86_64/multiarch/bzero.S: New file.
48424 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48425 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48426 * sysdeps/x86_64/multiarch/memset.S: New file.
48427 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48429 Set bit_Prefer_SSE_for_memop for Intel processors.
48430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48432 (index_Prefer_SSE_for_memop): Define.
48433 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48435 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48437 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48438 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48440 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48443 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48444 (__x86_64_raw_data_cache_size_half): Likewise.
48445 (__x86_64_raw_shared_cache_size): Likewise.
48446 (__x86_64_raw_shared_cache_size_half): Likewise.
48448 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48449 (__x86_64_raw_data_cache_size_half): Likewise.
48450 (__x86_64_raw_shared_cache_size): Likewise.
48451 (__x86_64_raw_shared_cache_size_half): Likewise.
48452 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48453 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48454 and __x86_64_raw_shared_cache_size_half. Round
48455 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48456 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48457 to multiple of 256 bytes.
48459 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48463 of inacessible symlinks. Verify result of symlink before returning it.
48464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48465 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48467 2010-10-28 Erich Ritz <erichritz@gmail.com>
48469 * math/math.h (isinf): Fix typo in comment.
48471 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48473 * po/da.po: Update from translation team.
48475 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48477 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48478 is added to the list.
48480 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48481 Ulrich Drepper <drepper@gmail.com>
48483 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48484 the global list here. Move code to...
48485 (_dl_add_to_namespace_list): ...here. New function.
48486 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48487 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48488 * elf/dl-load.c (lose): Don't remove the element from the list.
48489 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48490 (_dl_map_object): Likewise.
48492 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48495 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48496 into all bytes of SSE register.
48497 Patch by Richard Li <richardpku@gmail.com>.
48499 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48502 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48505 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48507 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48508 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48515 2010-10-22 Andreas Schwab <schwab@redhat.com>
48517 * include/dlfcn.h (__RTLD_SECURE): Define.
48518 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48519 mode & __RTLD_SECURE instead.
48520 (open_path): Rename preloaded parameter to secure.
48521 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48522 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48523 * elf/dl-deps.c (openaux): Likewise.
48524 * elf/rtld.c (struct map_args): Remove is_preloaded.
48525 (map_doit): Don't use it.
48526 (dl_main): Likewise.
48527 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48528 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48530 2010-09-09 Andreas Schwab <schwab@redhat.com>
48532 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48533 (sysd-rules-targets): Remove duplicates.
48534 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48535 rtld-%.$o dependency.
48537 2010-10-18 Andreas Schwab <schwab@redhat.com>
48539 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48540 _dl_map_object do it.
48542 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48544 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48545 fast fma builtins, define the macros in the C99 standard.
48546 (FP_FAST_FMAF): Likewise.
48547 (FP_FAST_FMAL): Likewise.
48548 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48550 * bits/mathdef.h: Update copyright year.
48551 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48553 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48555 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48556 builtins, define the macros in the C99 standard.
48557 (FP_FAST_FMAF): Likewise.
48558 (FP_FAST_FMAL): Likewise.
48559 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48561 (FP_FAST_FMAF): Likewise.
48563 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48566 * math/libm-test.inc (fma_test): Some new testcases.
48567 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48569 y and infinite z. Do multiplication by C already in long double.
48570 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48572 y and infinite z. Do bitwise or of inexact bit into u.d.
48573 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48574 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48575 * sysdeps/i386/fpu/s_fma.S: Removed.
48576 * sysdeps/i386/fpu/s_fmal.S: Removed.
48578 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48581 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48583 computation is not scheduled after fetestexcept. Fix value
48584 of minimum denormal long double.
48586 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48589 * math/libm-test.inc (fma_test): Add some more tests.
48590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48593 2010-10-15 Andreas Schwab <schwab@redhat.com>
48595 * scripts/data/localplt-s390-linux-gnu.data: New file.
48596 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48598 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48601 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48602 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48604 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48606 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48608 if one of x and y is very large and the other is subnormal.
48609 * sysdeps/s390/fpu/s_fmaf.c: New file.
48610 * sysdeps/s390/fpu/s_fma.c: New file.
48611 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48612 * sysdeps/powerpc/fpu/s_fma.S: New file.
48613 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48614 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48615 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48617 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48620 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48623 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48624 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48625 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48626 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48627 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48630 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48633 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48634 * posix/bug-regex31.input: Add test case.
48636 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48638 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48639 * posix/bug-regex31.input: New file.
48642 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48643 (parse_sub_exp): Fix last change, use postorder.
48645 * posix/bug-regex31.c: New file.
48646 * posix/Makefile: Add rules to build and run bug-regex31.
48648 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48651 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48654 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48655 to have entries in sys_siglist.
48658 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48661 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48664 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48665 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48666 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48667 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48668 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48669 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48670 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48671 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48672 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48673 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48674 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48675 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48676 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48677 * math/ftestexcept.c (fetestexcept): Likewise.
48678 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48679 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48680 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48681 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48682 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48683 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48686 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48689 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48692 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48694 * string/bug-strstr1.c: New file.
48695 * string/Makefile: Add rules to build and run bug-strstr1.
48697 2010-10-05 Eric Blake <eblake@redhat.com>
48700 * string/str-two-way.h (two_way_long_needle): Always clear memory
48701 when skipping input due to the shift table.
48703 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48706 * malloc/mcheck.c: Handle large requests.
48709 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48710 for strncmp and strncasecmp.
48711 * string/stratcliff.c: Add tests for strcmp and strncmp.
48712 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48714 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48716 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48719 2010-09-30 Andreas Jaeger <aj@suse.de>
48721 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48722 (CGROUP_SUPER_MAGIC): Define.
48723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48724 Handle btrfs and cgroup file systems.
48725 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48728 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48730 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48731 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48733 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48736 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48737 trying to locate the ELF header.
48739 2010-09-27 Andreas Schwab <schwab@redhat.com>
48742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48743 Mask out sign-bit copies when constructing f_fsid.
48745 2010-09-24 Petr Baudis <pasky@suse.cz>
48747 * debug/stack_chk_fail_local.c: Add missing licence exception.
48748 * debug/warning-nop.c: Likewise.
48750 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48753 implementing getdents64 using getdents syscall, set d_type if
48754 __ASSUME_GETDENTS32_D_TYPE.
48756 2010-09-16 Andreas Schwab <schwab@redhat.com>
48758 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48759 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48761 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48764 * posix/unistd.h: Undo change of feature selection for ftruncate from
48767 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48769 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48772 2010-09-20 Andreas Schwab <schwab@redhat.com>
48774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48778 2010-09-14 Andreas Schwab <schwab@redhat.com>
48780 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48781 variables after CHECK_SP call.
48782 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48784 2010-09-13 Andreas Schwab <schwab@redhat.com>
48785 Ulrich Drepper <drepper@redhat.com>
48787 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48788 re-relocationg ld.so.
48789 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48790 _dl_init_paths call.
48791 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48794 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48796 * resolv/res_init.c (__res_vinit): Count the default server we added.
48798 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48799 Ulrich Drepper <drepper@redhat.com>
48802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48803 (____longjmp_chk): Use %ebx for saving value across system call.
48806 2010-09-06 Andreas Schwab <schwab@redhat.com>
48808 * manual/Makefile: Don't mix pattern rules with normal rules.
48810 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48812 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48814 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48815 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48816 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48817 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48821 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48824 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48825 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48827 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48829 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48830 * sysdeps/x86_64/addmul_1.S: Likewise.
48831 * sysdeps/x86_64/lshift.S: Likewise.
48832 * sysdeps/x86_64/mul_1.S: Likewise.
48833 * sysdeps/x86_64/rshift.S: Likewise.
48834 * sysdeps/x86_64/sub_n.S: Likewise.
48835 * sysdeps/x86_64/submul_1.S: Likewise.
48837 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48839 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48840 Define __sched_param instead of SCHED_* and sched_param when
48841 <bits/sched.h> is included with __need_schedparam defined.
48842 * bits/sched.h [__need_schedparam]
48843 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48844 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48845 (__defined_schedparam): Define to 1.
48846 (__sched_param): New structure, identical to sched_param.
48847 (__need_schedparam): Undefine.
48849 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48852 (epoll_create1): Declare.
48854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48856 2010-08-31 Andreas Schwab <schwab@redhat.com>
48859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48860 shifting retval into place.
48862 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48864 * nis/rpcsvc/nis.h: Update copyright notice.
48865 * nis/rpcsvc/nis.x: Likewise.
48866 * nis/rpcsvc/nis_callback.h: Likewise.
48867 * nis/rpcsvc/nis_callback.x: Likewise.
48868 * nis/rpcsvc/nis_object.x: Likewise.
48869 * nis/rpcsvc/nis_tags.h: Likewise.
48870 * nis/rpcsvc/yp.h: Likewise.
48871 * nis/rpcsvc/yp.x: Likewise.
48872 * nis/rpcsvc/ypupd.h: Likewise.
48873 * nis/yp_xdr.c: Likewise.
48874 * nis/ypupdate_xdr.c: Likewise.
48876 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48877 mainly the body of pmap_getport. Add parameters to specify timeouts.
48878 (pmap_getport): Use __libc_rpc_getport.
48879 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48880 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48881 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48883 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48888 2010-08-27 Roland McGrath <roland@redhat.com>
48890 * sysdeps/i386/i686/multiarch/Makefile
48891 (CFLAGS-varshift.c): New variable.
48893 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48895 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48896 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48900 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48902 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48904 * sysdeps/x86_64/strlen.S: Unroll the loop.
48905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48906 strlen-sse2 strlen-sse2-bsf.
48907 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48908 __strlen_no_bsf if bit_Slow_BSF is set.
48909 (__strlen_sse42): Removed.
48910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48911 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48913 2010-08-25 Roland McGrath <roland@redhat.com>
48915 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48916 * sysdeps/x86_64/multiarch/varshift.c: New file.
48917 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48918 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48919 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48920 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48922 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48925 strlen-sse2 strlen-sse2-bsf.
48926 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48927 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48928 (__strlen_sse2): Removed.
48929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48932 bit_Slow_BSF for Atom.
48933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48934 (index_Slow_BSF): Define.
48935 (HAS_SLOW_BSF): Define.
48937 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48940 * resolv/res_init.c (__res_vinit): When no server address at all
48941 is given default to loopback.
48943 2010-08-24 Roland McGrath <roland@redhat.com>
48945 * configure.in: Remove config-name.h generation.
48946 * configure: Regenerated.
48947 * config-name.in: File removed.
48948 * scripts/config-uname.sh: New file.
48949 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48950 ($(objdir)config-name.h): New target.
48952 * sunrpc/rpc_parse.h: Avoid nested comment.
48954 2010-08-24 Richard Henderson <rth@redhat.com>
48955 Ulrich Drepper <drepper@redhat.com>
48956 H.J. Lu <hongjiu.lu@intel.com>
48958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48960 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48961 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48962 _mm_alignr_epi8 with _mm_loadu_si128.
48963 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48964 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48965 (__m128i_shift_right): Removed.
48966 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48967 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48968 * sysdeps/x86_64/multiarch/varshift.h: New file.
48969 * sysdeps/x86_64/multiarch/varshift.S: New file.
48971 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48973 * configure.in: Move assembler checks to before sysdep dir checking.
48975 2010-08-20 Petr Baudis <pasky@suse.cz>
48977 * LICENSES: Sync the sunrpc license.
48979 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48981 * sunrpc/auth_des.c: Update copyright notice once again.
48982 * sunrpc/auth_none.c: Likewise.
48983 * sunrpc/auth_unix.c: Likewise.
48984 * sunrpc/authdes_prot.c: Likewise.
48985 * sunrpc/authuxprot.c: Likewise.
48986 * sunrpc/bindrsvprt.c: Likewise.
48987 * sunrpc/clnt_gen.c: Likewise.
48988 * sunrpc/clnt_perr.c: Likewise.
48989 * sunrpc/clnt_raw.c: Likewise.
48990 * sunrpc/clnt_simp.c: Likewise.
48991 * sunrpc/clnt_tcp.c: Likewise.
48992 * sunrpc/clnt_udp.c: Likewise.
48993 * sunrpc/clnt_unix.c: Likewise.
48994 * sunrpc/des_crypt.c: Likewise.
48995 * sunrpc/des_soft.c: Likewise.
48996 * sunrpc/get_myaddr.c: Likewise.
48997 * sunrpc/getrpcport.c: Likewise.
48998 * sunrpc/key_call.c: Likewise.
48999 * sunrpc/key_prot.c: Likewise.
49000 * sunrpc/openchild.c: Likewise.
49001 * sunrpc/pm_getmaps.c: Likewise.
49002 * sunrpc/pm_getport.c: Likewise.
49003 * sunrpc/pmap_clnt.c: Likewise.
49004 * sunrpc/pmap_prot.c: Likewise.
49005 * sunrpc/pmap_prot2.c: Likewise.
49006 * sunrpc/pmap_rmt.c: Likewise.
49007 * sunrpc/rpc/auth.h: Likewise.
49008 * sunrpc/rpc/auth_unix.h: Likewise.
49009 * sunrpc/rpc/clnt.h: Likewise.
49010 * sunrpc/rpc/des_crypt.h: Likewise.
49011 * sunrpc/rpc/key_prot.h: Likewise.
49012 * sunrpc/rpc/netdb.h: Likewise.
49013 * sunrpc/rpc/pmap_clnt.h: Likewise.
49014 * sunrpc/rpc/pmap_prot.h: Likewise.
49015 * sunrpc/rpc/pmap_rmt.h: Likewise.
49016 * sunrpc/rpc/rpc.h: Likewise.
49017 * sunrpc/rpc/rpc_des.h: Likewise.
49018 * sunrpc/rpc/rpc_msg.h: Likewise.
49019 * sunrpc/rpc/svc.h: Likewise.
49020 * sunrpc/rpc/svc_auth.h: Likewise.
49021 * sunrpc/rpc/types.h: Likewise.
49022 * sunrpc/rpc/xdr.h: Likewise.
49023 * sunrpc/rpc_clntout.c: Likewise.
49024 * sunrpc/rpc_cmsg.c: Likewise.
49025 * sunrpc/rpc_common.c: Likewise.
49026 * sunrpc/rpc_cout.c: Likewise.
49027 * sunrpc/rpc_dtable.c: Likewise.
49028 * sunrpc/rpc_hout.c: Likewise.
49029 * sunrpc/rpc_main.c: Likewise.
49030 * sunrpc/rpc_parse.c: Likewise.
49031 * sunrpc/rpc_parse.h: Likewise.
49032 * sunrpc/rpc_prot.c: Likewise.
49033 * sunrpc/rpc_sample.c: Likewise.
49034 * sunrpc/rpc_scan.c: Likewise.
49035 * sunrpc/rpc_scan.h: Likewise.
49036 * sunrpc/rpc_svcout.c: Likewise.
49037 * sunrpc/rpc_tblout.c: Likewise.
49038 * sunrpc/rpc_util.c: Likewise.
49039 * sunrpc/rpc_util.h: Likewise.
49040 * sunrpc/rpcinfo.c: Likewise.
49041 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49042 * sunrpc/rpcsvc/key_prot.x: Likewise.
49043 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49044 * sunrpc/rpcsvc/mount.x: Likewise.
49045 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49046 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49047 * sunrpc/rpcsvc/rex.x: Likewise.
49048 * sunrpc/rpcsvc/rstat.x: Likewise.
49049 * sunrpc/rpcsvc/rusers.x: Likewise.
49050 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49051 * sunrpc/rpcsvc/spray.x: Likewise.
49052 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49053 * sunrpc/rtime.c: Likewise.
49054 * sunrpc/svc.c: Likewise.
49055 * sunrpc/svc_auth.c: Likewise.
49056 * sunrpc/svc_authux.c: Likewise.
49057 * sunrpc/svc_raw.c: Likewise.
49058 * sunrpc/svc_run.c: Likewise.
49059 * sunrpc/svc_simple.c: Likewise.
49060 * sunrpc/svc_tcp.c: Likewise.
49061 * sunrpc/svc_udp.c: Likewise.
49062 * sunrpc/svc_unix.c: Likewise.
49063 * sunrpc/svcauth_des.c: Likewise.
49064 * sunrpc/xcrypt.c: Likewise.
49065 * sunrpc/xdr.c: Likewise.
49066 * sunrpc/xdr_array.c: Likewise.
49067 * sunrpc/xdr_float.c: Likewise.
49068 * sunrpc/xdr_mem.c: Likewise.
49069 * sunrpc/xdr_rec.c: Likewise.
49070 * sunrpc/xdr_ref.c: Likewise.
49071 * sunrpc/xdr_sizeof.c: Likewise.
49072 * sunrpc/xdr_stdio.c: Likewise.
49074 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49077 2010-08-19 Andreas Schwab <schwab@redhat.com>
49079 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49081 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49083 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49084 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49086 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49088 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49090 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49093 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49095 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49096 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49098 2010-07-26 Anton Blanchard <anton@samba.org>
49100 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49101 * malloc/arena.c (heap_trim): Likewise.
49103 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49105 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49108 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49110 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49112 * sysdeps/i386/elf/Makefile: New file.
49114 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49116 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49117 from fanotify_init.
49118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49121 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49123 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49125 * sysdeps/multiarch/strcmp.S: Likewise.
49127 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49129 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49130 strncase_l-nonascii.
49131 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49132 Add strncase_l-ssse3.
49133 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49134 * sysdeps/x86_64/strcmp.S: Likewise.
49135 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49136 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49137 * sysdeps/x86_64/strncase.S: New file.
49138 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49139 * sysdeps/x86_64/strncase_l.S: New file.
49140 * string/Makefile (strop-tests): Add strncasecmp.
49141 * string/test-strncasecmp.c: New file.
49143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49146 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49149 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49151 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49153 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49155 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49157 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49159 2010-05-01 Alan Modra <amodra@gmail.com>
49161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49162 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49163 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49164 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49165 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49166 tidying. Don't tail-call __sigjmp_save for static lib.
49167 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49169 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49170 (CALL_MCOUNT): Add eh info, and nop after bl.
49171 (TAIL_CALL_SYSCALL_ERROR): New macro.
49172 (PSEUDO_RET): Use it.
49173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49174 Correct save location of integer regs and cr.
49175 (_dl_profile_resolve): Correct cr save location. Delete nops
49176 after bl when SHARED. Reduce cfi size a little by better
49177 placement of cfi directives.
49178 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49179 make a stack frame. Instead use parm save area as a temp.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49181 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49183 Don't make a stack frame for parent, use parm save area.
49184 Increase child stack frame to 112 bytes. Don't save unused reg,
49185 and adjust reg usage. Set up cfi on error recovery and
49186 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49188 (__makecontext): Add dummy nop after jump to exit.
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49190 Use correct parm save area and cr save, reduce stack frame.
49191 Correct cfi for possible PSEUDO_RET frame setup.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49193 Branch to local label emitted by PSEUDO_RET rather than
49196 2010-08-12 Andreas Schwab <schwab@redhat.com>
49199 * locale/programs/locale.c (print_assignment): New function.
49200 (show_locale_vars): Use it.
49202 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49204 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49206 (struct statfs64): Likewise.
49207 (_STATFS_F_FLAGS): Define.
49208 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49210 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49211 (ST_VALID): Define locally.
49212 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49213 __statvfs_getflags, use the provided value.
49214 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49215 __ASSUME_STATFS_F_FLAGS.
49217 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49220 Add sys/fanotify.h.
49221 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49222 fanotify_mask for GLIBC_2.13.
49223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49224 fanotify_init and fanotify_mark.
49225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49226 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49230 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49231 prlimit64 for GLIBC_2.13.
49232 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49242 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49245 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49246 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49248 * nss/Makefile: Add rules to build and run tst-nss-test1.
49249 * shlib-versions: Add entry for libnss_test1.
49250 * nss/nss_test1.c: New file.
49251 * nss/tst-nss-test1.c: New file.
49253 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49254 (__nss_configure_lookup): Set appropriate entry in
49255 __nss_configure_lookup to true.
49256 * nss/nsswitch.h: Define enum with indeces of databases in
49257 databases and __nss_database_custom arrays. Declare
49258 __nss_database_custom.
49259 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49260 to avoid using nscd when custom rules are installed.
49261 * nss/getXXbyYY_r.c: Likewise.
49262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49264 * nss/nss_files/files-parse.c: Whitespace fixes.
49266 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49269 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49270 * posix/fnmatch_loop.c: Likewise.
49272 2010-07-17 Andi Kleen <ak@linux.intel.com>
49274 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49275 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49276 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49277 * Versions.def [GLIBC_2.13]: Add.
49279 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49282 Also fail if tpwd after pwuid call is NULL.
49284 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49286 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49287 when converting to ms.
49289 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49291 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49292 EOPNOTSUPP errors with ENOTTY.
49293 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49294 EOPNOTSUPP errors with ENOTTY.
49296 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49298 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49299 Add strcasecmp_l-ssse3.
49300 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49302 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49303 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49306 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49308 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49310 * string/Makefile (strop-tests): Add strcasecmp.
49311 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49312 strcasecmp_l-nonascii.
49313 (gen-as-const-headers): Add locale-defines.sym.
49314 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49315 * sysdeps/x86_64/strcasecmp.S: New file.
49316 * sysdeps/x86_64/strcasecmp_l.S: New file.
49317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49318 * sysdeps/x86_64/locale-defines.sym: New file.
49319 * string/test-strcasecmp.c: New file.
49321 * string/test-strcasestr.c: Test both ends of the range of characters.
49322 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49324 2010-07-29 Roland McGrath <roland@redhat.com>
49327 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49329 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49331 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49334 2010-07-27 Andreas Schwab <schwab@redhat.com>
49336 * manual/memory.texi (Malloc Tunable Parameters): Document
49339 2010-07-26 Roland McGrath <roland@redhat.com>
49342 * configure.in (-fgnu89-inline check): Set and substitute
49343 gnu89_inline, not libc_cv_gnu89_inline.
49344 * configure: Regenerated.
49345 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49347 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49349 * string/test-strnlen.c: New file.
49350 * string/Makefile (strop-tests): Add strnlen.
49351 * string/tester.c (test_strnlen): Add a few more test cases.
49352 * string/tst-strlen.c: Better error reporting.
49354 * sysdeps/x86_64/strnlen.S: New file.
49356 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49359 lower-latency instructions.
49361 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49363 * string/test-strcasestr.c: New file.
49364 * string/test-strstr.c: New file.
49365 * string/Makefile (strop-tests): Add strstr and strcasestr.
49366 * string/str-two-way.h: Don't undefine MAX.
49367 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49369 2010-07-21 Andreas Schwab <schwab@redhat.com>
49371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49372 strcasestr-nonascii.
49373 (CFLAGS-strcasestr-nonascii.c): Define.
49374 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49376 Remove unused attribute.
49378 2010-07-20 Roland McGrath <roland@redhat.com>
49380 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49381 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49382 ld.so.cache was broken. With it, there is no way to disable dsocaps
49383 like LD_HWCAP_MASK can disable hwcaps.
49385 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49387 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49389 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49391 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49392 call in strcasestr.
49393 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49394 __strcasestr_sse42_nonascii.
49395 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49396 strcasestr-nonascii.c.
49397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49399 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49401 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49403 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49406 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49411 2010-07-06 Andreas Schwab <schwab@redhat.com>
49414 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49417 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49420 _PC_PIPE_BUF using F_GETPIPE_SZ.
49422 2010-07-05 Roland McGrath <roland@redhat.com>
49424 * manual/arith.texi (Rounding Functions): Fix rint description
49425 implicit in round description.
49427 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49429 * elf/Makefile: Fix linking for a few tests to make recent linker
49432 2010-06-30 Andreas Schwab <schwab@redhat.com>
49434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49435 $(common-objpfx)libc_nonshared.a.
49437 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49439 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49440 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49441 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49442 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49443 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49444 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49445 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49446 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49461 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49462 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49463 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49464 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49465 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49466 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49467 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49468 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49469 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49470 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49471 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49472 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49488 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49490 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49491 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49492 * string/memmove.c (memmove): Renamed to ...
49493 (MEMMOVE): ...this. Default to memmove.
49494 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49495 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49498 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49499 mempcpy-ssse3-back memmove-ssse3-back.
49500 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49503 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49504 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49505 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49506 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49507 * sysdeps/x86_64/multiarch/memmove.c: New file.
49508 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49509 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49510 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49511 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49512 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49515 (index_Fast_Copy_Backward): Define.
49516 (HAS_ARCH_FEATURE): Define.
49517 (HAS_FAST_REP_STRING): Define.
49518 (HAS_FAST_COPY_BACKWARD): Define.
49520 2010-06-21 Andreas Schwab <schwab@redhat.com>
49522 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49523 Restore proper fallback handling.
49525 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49528 * posix/group_member.c (__group_member): Correct checking loop.
49530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49531 OOM in getpwuid_r correctly. Return error number when the caller
49532 should return, otherwise -1.
49533 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49534 call returning > 0 value.
49535 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49537 2010-06-07 Andreas Schwab <schwab@redhat.com>
49539 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49540 libc_nonshared.a from targets in modules-names.
49542 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49544 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49547 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49554 2010-06-02 Andreas Schwab <schwab@redhat.com>
49556 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49558 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49569 2010-06-14 Roland McGrath <roland@redhat.com>
49571 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49573 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49575 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49576 __REDIRECT followed by __THROW.
49577 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49578 * posix/getopt.h (getopt): Likewise.
49580 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49582 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49583 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49584 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49586 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49587 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49589 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49593 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49597 Properly check family and model.
49599 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49601 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49603 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49605 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49607 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49609 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49612 2010-05-19 Andreas Schwab <schwab@redhat.com>
49614 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49617 2010-05-21 Andreas Schwab <schwab@redhat.com>
49619 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49620 and internal_recvmmsg.
49621 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49622 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49624 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49626 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49630 2010-05-20 Andreas Schwab <schwab@redhat.com>
49632 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49634 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49636 POWER7 optimizations.
49637 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49638 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49640 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49642 * version.h: Update for 2.13 development version.
49644 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49646 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49647 exceptions. Return 0.
49649 2010-05-07 Roland McGrath <roland@redhat.com>
49651 * elf/ldconfig.c (main): Add a const.
49653 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49655 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49656 (args_options): Add no-idn option.
49657 (ahosts_keys_int): Add idn_flags to ai_flags.
49658 (parse_option): Handle 'i' option to clear idn_flags.
49660 * malloc/malloc.c (_int_free): Possible race in the most recently
49661 added check. Only act on the data if no current modification
49664 See ChangeLog.17 for earlier changes.